1 2013-03-06 Andreas Jaeger <aj@suse.de>
3 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4 (MAP_HUGE_MASK): Define.
6 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30 Handle f2fs and efivarfs.
32 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36 (EFIVARFS_MAGIC): Add.
39 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41 * stdio-common/vfprintf.c: Replace __builtin_expect with
44 2013-03-06 Joseph Myers <joseph@codesourcery.com>
47 * sysdeps/generic/bp-sym.h: Remove file.
48 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50 <bp-sym.h> and <bp-asm.h>.
51 (__longjmp): Don't use BP_SYM.
52 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54 (memcpy): Don't use BP_SYM.
55 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56 <bp-sym.h> and <bp-asm.h>.
57 (memcpy): Don't use BP_SYM.
58 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
60 (memcpy): Don't use BP_SYM.
61 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63 (memset): Don't use BP_SYM.
64 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66 (__bzero): Don't use BP_SYM.
67 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
70 <bp-sym.h> and <bp-asm.h>.
71 (memcmp): Don't use BP_SYM. Remove comment about bounded
73 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
74 <bp-sym.h> and <bp-asm.h>.
75 (memcpy): Don't use BP_SYM.
76 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
77 <bp-sym.h> and <bp-asm.h>.
78 (memset): Don't use BP_SYM.
79 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
80 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
81 (__bzero): Don't use BP_SYM.
82 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
83 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
84 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
85 <bp-sym.h> and <bp-asm.h>.
86 (strncmp): Don't use BP_SYM. Remove comment about bounded
88 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
89 <bp-sym.h> and <bp-asm.h>.
90 (memcpy): Don't use BP_SYM.
91 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
92 <bp-sym.h> and <bp-asm.h>.
93 (memset): Don't use BP_SYM.
94 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
95 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
96 (__bzero): Don't use BP_SYM.
97 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
98 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
99 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
100 <bp-sym.h> and <bp-asm.h>.
101 (__memchr): Don't use BP_SYM.
102 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
103 <bp-sym.h> and <bp-asm.h>.
104 (memcmp): Don't use BP_SYM. Remove comment about bounded
106 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
107 <bp-sym.h> and <bp-asm.h>.
108 (memcpy): Don't use BP_SYM.
109 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
110 <bp-sym.h> and <bp-asm.h>.
111 (__mempcpy): Don't use BP_SYM.
112 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
113 <bp-sym.h> and <bp-asm.h>.
114 (__memrchr): Don't use BP_SYM.
115 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
116 <bp-sym.h> and <bp-asm.h>.
117 (memset): Don't use BP_SYM.
119 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
120 <bp-sym.h> and <bp-asm.h>.
121 (__rawmemchr): Don't use BP_SYM.
122 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
123 <bp-sym.h> and <bp-asm.h>.
124 (__STRCMP): Don't use BP_SYM.
125 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
126 <bp-sym.h> and <bp-asm.h>.
127 (strchr): Don't use BP_SYM.
128 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
129 <bp-sym.h> and <bp-asm.h>.
130 (__strchrnul): Don't use BP_SYM.
131 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
132 <bp-sym.h> and <bp-asm.h>.
133 (strlen): Don't use BP_SYM.
134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (strncmp): Don't use BP_SYM. Remove comment about bounded
138 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
139 <bp-sym.h> and <bp-asm.h>.
140 (__strnlen): Don't use BP_SYM.
141 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
142 <bp-sym.h> and <bp-asm.h>.
143 (__GI__setjmp): Don't use BP_SYM.
145 (__sigsetjmp): Likewise.
146 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
147 (L(start_addresses)): Don't use BP_SYM.
149 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
151 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
152 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
153 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
154 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
155 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
157 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
158 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
159 about bounded pointers.
160 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
161 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
162 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
164 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
165 about bounded pointers. Remove GKM FIXME comments.
166 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
167 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
169 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
170 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
171 Remove GKM FIXME comments.
172 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
173 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
174 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
176 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
177 about bounded pointers. Remove GKM FIXME comment.
178 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
180 (strncmp): Don't use BP_SYM. Remove comment about bounded
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
183 <bp-sym.h> and <bp-asm.h>.
184 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
186 <bp-sym.h> and <bp-asm.h>.
187 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
190 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
192 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
195 2013-03-05 David S. Miller <davem@davemloft.net>
197 * po/es.po: Update from translation team.
199 2013-03-05 Andreas Jaeger <aj@suse.de>
201 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
203 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
206 <bits/mman-linux.h> to end of file.
207 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
209 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
210 <bits/mman-linux.h> to end of file.
211 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
214 <bits/mman-linux.h> to end of file.
216 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
217 (MCL_CURRENT, MCL_FUTURE): Define here.
219 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
222 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
224 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
226 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
228 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
229 fourth parameter needed for rt_sigprocmask syscall.
230 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
231 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
232 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
233 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
234 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
235 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
237 2013-03-04 Joseph Myers <joseph@codesourcery.com>
240 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
241 comment about bounded pointers.
242 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
243 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
245 2013-03-04 Andreas Jaeger <aj@suse.de>
247 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
251 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
252 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
254 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
257 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
260 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
261 __ieee754_sqrl instead of __sqrl.
263 2013-03-01 Joseph Myers <joseph@codesourcery.com>
265 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
266 * sysdeps/powerpc/fpu_control.h: ... here.
267 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
268 * sysdeps/powerpc/bits/fenvinline.h: ... here.
269 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
270 * sysdeps/powerpc/bits/mathinline.h: ... here.
272 2013-03-01 Roland McGrath <roland@hack.frob.com>
274 * elf/dl-hwcaps.c (_dl_important_hwcaps):
275 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
276 to just [NEED_DL_SYSINFO_DSO].
277 * elf/dl-support.c: Likewise.
278 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
279 * elf/rtld.c (dl_main): Likewise.
280 * elf/setup-vdso.h (setup_vdso): Likewise.
281 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
282 * sysdeps/unix/sysv/linux/dl-sysdep.c
283 (_dl_discover_osversion): Likewise.
285 2013-03-01 Carlos O'Donell <carlos@redhat.com>
287 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
288 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
290 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
292 * NEWS: Mention libm performance improvements and non-x86 PI
295 * csu/libc-start.c (__pthread_initialize_minimal): Change
297 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
299 2013-02-28 Joseph Myers <joseph@codesourcery.com>
302 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
303 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
304 <bp-sym.h> and <bp-asm.h>.
305 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
306 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
308 (memcpy): Don't use BP_SYM.
309 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
311 (__mpn_add_n): Don't use BP_SYM.
312 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
313 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
315 (__mpn_addmul_1): Don't use BP_SYM.
316 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
317 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
319 (_setjmp): Don't use BP_SYM.
320 (__novmx_setjmp): Likewise.
321 (__GI__setjmp): Likewise.
322 (__vmx_setjmp): Likewise.
323 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
325 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
326 (__bzero): Don't use BP_SYM.
327 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
328 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
329 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
330 <bp-sym.h> and <bp-asm.h>.
331 (memcpy): Don't use BP_SYM.
332 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
333 <bp-sym.h> and <bp-asm.h>.
334 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
335 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
336 <bp-sym.h> and <bp-asm.h>.
337 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
338 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
340 (__mpn_lshift): Don't use BP_SYM.
341 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
342 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
344 (memset): Don't use BP_SYM.
345 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
346 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
347 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
349 (__mpn_mul_1): Don't use BP_SYM.
350 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
352 <bp-sym.h> and <bp-asm.h>.
353 (memcmp): Don't use BP_SYM.
354 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
355 <bp-sym.h> and <bp-asm.h>.
356 (memcpy): Don't use BP_SYM.
357 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
358 <bp-sym.h> and <bp-asm.h>.
359 (memset): Don't use BP_SYM.
360 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
361 <bp-sym.h> and <bp-asm.h>.
362 (strncmp): Don't use BP_SYM.
363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
364 <bp-sym.h> and <bp-asm.h>.
365 (memcpy): Don't use BP_SYM.
366 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
367 <bp-sym.h> and <bp-asm.h>.
368 (memset): Don't use BP_SYM.
369 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
370 <bp-sym.h> and <bp-asm.h>.
371 (__memchr): Don't use BP_SYM.
372 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
373 <bp-sym.h> and <bp-asm.h>.
374 (memcmp): Don't use BP_SYM.
375 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
376 <bp-sym.h> and <bp-asm.h>.
377 (memcpy): Don't use BP_SYM.
378 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
379 <bp-sym.h> and <bp-asm.h>.
380 (__mempcpy): Don't use BP_SYM.
381 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
382 <bp-sym.h> and <bp-asm.h>.
383 (__memrchr): Don't use BP_SYM.
384 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
385 <bp-sym.h> and <bp-asm.h>.
386 (memset): Don't use BP_SYM.
387 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
388 <bp-sym.h> and <bp-asm.h>.
389 (__rawmemchr): Don't use BP_SYM.
390 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
391 <bp-sym.h> and <bp-asm.h>.
392 (__STRCMP): Don't use BP_SYM.
393 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
394 <bp-sym.h> and <bp-asm.h>.
395 (strchr): Don't use BP_SYM.
396 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
397 <bp-sym.h> and <bp-asm.h>.
398 (__strchrnul): Don't use BP_SYM.
399 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
400 <bp-sym.h> and <bp-asm.h>.
401 (strlen): Don't use BP_SYM.
402 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
403 <bp-sym.h> and <bp-asm.h>.
404 (strncmp): Don't use BP_SYM.
405 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
406 <bp-sym.h> and <bp-asm.h>.
407 (__strnlen): Don't use BP_SYM.
408 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
410 (__mpn_rshift): Don't use BP_SYM.
411 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
412 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
413 <bp-sym.h> and <bp-asm.h>.
414 (__sigsetjmp): Don't use BP_SYM.
415 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
416 (L(start_addresses)): Don't use BP_SYM.
418 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
420 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
421 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
422 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
423 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
425 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
426 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
427 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
428 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
430 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
432 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
433 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
435 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
437 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
438 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
439 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
441 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
443 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
445 (strncmp): Don't use BP_SYM,
446 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
448 (__mpn_sub_n): Don't use BP_SYM.
449 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
450 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
452 (__mpn_submul_1): Don't use BP_SYM.
453 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
455 <bp-sym.h> and <bp-asm.h>.
456 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
458 <bp-sym.h> and <bp-asm.h>.
459 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
462 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
465 Use ZK to minimize writes to Z.
466 (sub_magnitudes): Simplify code a bit.
467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
468 Use ZK to minimize writes to Z.
469 (sub_magnitudes): Simplify code a bit.
471 2013-02-27 Roland McGrath <roland@hack.frob.com>
473 * csu/gmon-start.c: Add special exception to license text.
475 2013-02-27 Richard Henderson <rth@redhat.com>
477 * scripts/config.guess: Update from config.git.
478 * scripts/config.sub: Likewise.
480 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
482 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
484 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
486 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
488 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
490 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
492 2013-02-26 Roland McGrath <roland@hack.frob.com>
494 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
495 [$(build-shared = yes].
497 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
499 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
500 (__mul): Reduce iterations for calculating mantissa.
502 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
504 (__mpranred): Likewise.
507 * malloc/memusagestat.c (main): Draw graphs for heap and stack
508 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
510 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
512 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
513 Define __attribute__.
515 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
517 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
519 * posix/regex_internal.h (__attribute): Remove.
520 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
521 (re_string_context_at): Likewise.
522 (bitset_not): Use __attribute__ and mark function as possibly
524 (bitset_merge): Likewise.
525 (bitset_mask): Likewise.
526 (re_string_char_size_at): Likewise.
527 (re_string_wchar_at): Likewise.
528 (re_string_elem_size_at): Likewise.
530 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
532 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
536 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
541 (__dbl_mp): Likewise.
542 (add_magnitudes): Likewise.
543 (sub_magnitudes): Likewise.
547 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
550 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
553 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
557 up changes with default code.
558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
561 2013-02-24 Allan McRae <allan@archlinux.org>
563 * manual/socket.texi (The Internet Namespace): Order menu items
564 to match that in the file.
566 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
567 node listing of the info page menu.
569 2013-02-21 Joseph Myers <joseph@codesourcery.com>
572 * sysdeps/i386/bp-asm.h: Remove file.
573 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
574 (PARMS): Do not use macros from bp-asm.h.
578 (__mpn_add_n): Do not use BP_SYM
579 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
581 (PARMS): Do not use macros from bp-asm.h.
584 (__mpn_addmul_1): Do not use BP_SYM
585 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
587 (PARMS): Do not use macros from bp-asm.h.
589 (_setjmp): Likewise. Do not use BP_SYM.
590 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
592 (PARMS): Do not use macros from bp-asm.h.
594 (setjmp): Likewise. Do not use BP_SYM.
595 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
597 (PARMS): Do not use macros from bp-asm.h.
598 (__frexp): Do not use BP_SYM.
600 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
602 (PARMS): Do not use macros from bp-asm.h.
603 (__frexpf): Do not use BP_SYM.
605 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
607 (PARMS): Do not use macros from bp-asm.h.
608 (__frexpl): Do not use BP_SYM.
610 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
612 (PARMS): Do not use macros from bp-asm.h.
613 (__remquo): Do not use BP_SYM.
615 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
617 (PARMS): Do not use macros from bp-asm.h.
618 (__remquof): Do not use BP_SYM.
620 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
622 (PARMS): Do not use macros from bp-asm.h.
623 (__remquol): Do not use BP_SYM.
625 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
627 (PARMS): Do not use macros from bp-asm.h.
630 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
631 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
633 (PARMS): Do not use macros from bp-asm.h.
634 (strlen): Do not use BP_SYM.
635 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
637 (PARMS): Do not use macros from bp-asm.h.
641 (__mpn_add_n): Do not use BP_SYM.
642 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
644 (PARMS): Do not use macros from bp-asm.h.
647 (__mpn_addmul_1): Do not use BP_SYM.
648 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
651 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
653 (PARMS): Do not use macros from bp-asm.h.
656 (__mpn_lshift): Do not use BP_SYM.
657 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
659 (PARMS): Do not use macros from bp-asm.h.
663 (memcpy): Likewise. Do not use BP_SYM.
664 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
665 libc_hidden_def and weak_alias.
666 (mempcpy): Do not use BP_SYM in weak_alias.
667 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
669 (PARMS): Do not use macros from bp-asm.h.
672 [!BZERO_P] (CHR): Likewise.
673 (memset): Likewise. Do not use BP_SYM.
674 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
676 (PARMS): Do not use macros from bp-asm.h.
679 (__mpn_mul_1): Do not use BP_SYM.
680 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
682 (PARMS): Do not use macros from bp-asm.h.
685 (__mpn_rshift): Do not use BP_SYM.
686 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
688 (PARMS): Do not use macros from bp-asm.h.
691 (strchr): Likewise. Do not use BP_SYM.
692 (index): Do not use BP_SYM in weak_alias.
693 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
695 (PARMS): Do not use macros from bp-asm.h.
698 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
699 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
701 (PARMS): Do not use macros from bp-asm.h.
702 (strlen): Do not use BP_SYM.
703 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
705 (PARMS): Do not use macros from bp-asm.h.
709 (__mpn_sub_n): Do not use BP_SYM.
710 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
712 (PARMS): Do not use macros from bp-asm.h.
715 (__mpn_submul_1): Do not use BP_SYM.
716 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
718 (PARMS): Do not use macros from bp-asm.h.
722 (__mpn_add_n): Do not use BP_SYM.
723 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
726 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
728 (PARMS): Do not use macros from bp-asm.h.
731 (memcmp): Do not use BP_SYM.
732 (bcmp): Do not use BP_SYM in weak_alias.
733 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
735 (PARMS): Do not use macros from bp-asm.h.
739 (memcpy): Likewise. Do not use BP_SYM.
740 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
742 (PARMS): Do not use macros from bp-asm.h.
746 (memmove): Likewise. Do not use BP_SYM.
747 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
749 (PARMS): Do not use macros from bp-asm.h.
753 (__mempcpy): Likewise. Do not use BP_SYM.
754 (mempcpy): Do not use BP_SYM in weak_alias.
755 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
757 (PARMS): Do not use macros from bp-asm.h.
760 [!BZERO_P] (CHR): Likewise.
761 (memset): Likewise. Do not use BP_SYM.
762 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
764 (PARMS): Do not use macros from bp-asm.h.
766 (strcmp): Do not use BP_SYM.
767 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
769 (PARMS): Do not use macros from bp-asm.h.
772 [USE_AS_STRTOK_R] (SAVE): Likewise.
773 (FUNCTION): Likewise. Do not use BP_SYM.
774 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
776 (strtok_r): Likewise.
777 (__GI___strtok_r): Likewise.
778 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
779 (PARMS): Do not use macros from bp-asm.h.
782 (__mpn_lshift): Do not use BP_SYM.
783 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
784 (PARMS): Do not use macros from bp-asm.h.
787 (__memchr): Do not use BP_SYM.
788 (memchr): Do not use BP_SYM in weak_alias.
789 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
790 (PARMS): Do not use macros from bp-asm.h.
793 (memcmp): Do not use BP_SYM.
794 (bcmp): Do not use BP_SYM in weak_alias.
795 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
796 (PARMS): Do not use macros from bp-asm.h.
799 (__mpn_mul_1): Do not use BP_SYM.
800 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
802 (PARMS): Do not use macros from bp-asm.h.
805 (__rawmemchr): Do not use BP_SYM.
806 (rawmemchr): Do not use BP_SYM in weak_alias.
807 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
808 (PARMS): Do not use macros from bp-asm.h.
811 (__mpn_rshift): Do not use BP_SYM.
812 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
813 (PARMS): Do not use macros from bp-asm.h.
815 (__sigsetjmp): Likewise. Do not use BP_SYM.
816 * sysdeps/i386/start.S: Do not include "bp-sym.h".
817 (_start): Do not use BP_SYM.
818 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
819 (PARMS): Do not use macros from bp-asm.h.
822 (__stpcpy): Likewise. Do not use BP_SYM.
823 (stpcpy): Do not use BP_SYM in weak_alias.
824 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
826 (PARMS): Do not use macros from bp-asm.h.
830 (__stpncpy): Likewise. Do not use BP_SYM.
831 (stpncpy): Do not use BP_SYM in weak_alias.
832 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
833 (PARMS): Do not use macros from bp-asm.h.
836 (strchr): Likewise. Do not use BP_SYM.
837 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
839 (PARMS): Do not use macros from bp-asm.h.
842 (__strchrnul): Likewise. Do not use BP_SYM.
843 (strchrnul): Do not use BP_SYM in weak_alias.
844 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
846 (PARMS): Do not use macros from bp-asm.h.
848 (strcspn): Do not use BP_SYM.
849 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
851 (PARMS): Do not use macros from bp-asm.h.
854 (strpbrk): Likewise. Do not use BP_SYM.
855 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
857 (PARMS): Do not use macros from bp-asm.h.
860 (strrchr): Likewise. Do not use BP_SYM.
861 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
862 (PARMS): Do not use macros from bp-asm.h.
864 (strspn): Do not use BP_SYM.
865 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
866 (PARMS): Do not use macros from bp-asm.h.
870 (FUNCTION): Likewise. Do not use BP_SYM.
871 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
873 (strtok_r): Likewise.
874 (__GI___strtok_r): Likewise.
875 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
876 (PARMS): Do not use macros from bp-asm.h.
880 (__mpn_sub_n): Do not use BP_SYM.
881 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
883 (PARMS): Do not use macros from bp-asm.h.
886 (__mpn_submul_1): Do not use BP_SYM.
887 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
889 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
891 (PARMS): Do not use macros from bp-asm.h.
896 (__clone): Do not use BP_SYM.
897 (clone): Do not use BP_SYM in weak_alias.
898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
900 (PARMS): Do not use macros from bp-asm.h.
902 (__mmap64): Do not use BP_SYM.
903 (mmap64): Do not use BP_SYM in weak_alias.
904 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
905 <bp-sym.h> and <bp-asm.h>.
906 (PARMS): Do not use macros from bp-asm.h.
907 (__posix_fadvise64_l64): Do not use BP_SYM.
908 * sysdeps/unix/sysv/linux/i386/semtimedop.S
909 (PARMS): Do not use macros from bp-asm.h.
911 (semtimedop): Do not use BP_SYM.
912 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
915 2013-02-21 Allan McRae <allan@archlinux.org>
917 * manual/message.texi (Charset conversion in gettext):
918 Move @end statement to beginning of line.
920 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
927 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
932 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
934 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
935 tail-call to the resolved function if pltexit isn't needed.
937 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
940 or Y being zero as being unlikely.
941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
944 2013-02-20 Carlos O'Donell <carlos@redhat.com>
946 * manual/nss.texi (System Databases and Name Service Switch):
947 Remove frobnicate @pxref.
949 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
951 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
952 __attribute__ ((unused)) to __attribute__ ((__unused__)).
954 2013-02-20 Petr Machata <pmachata@redhat.com>
956 * elf/elf.h (R_ARM_TARGET1): New macro.
957 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
958 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
959 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
960 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
961 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
962 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
963 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
964 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
965 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
966 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
967 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
968 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
969 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
970 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
971 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
972 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
973 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
974 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
975 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
976 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
977 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
978 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
979 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
980 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
981 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
982 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
983 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
984 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
985 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
986 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
987 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
988 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
989 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
990 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
991 (R_ARM_THM_GOT_BREL12): Likewise.
992 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
993 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
994 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
995 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
996 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
997 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
998 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
999 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1000 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1002 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1004 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1005 __attribute_used__ to __attribute__ ((unused)).
1007 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1009 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1015 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1018 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1020 (ENTER): Remove both macro definitions.
1022 (CHECK_BOUNDS_LOW): Likewise.
1023 (CHECK_BOUNDS_HIGH): Likewise.
1024 (CHECK_BOUNDS_BOTH): Likewise.
1025 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1026 (RETURN_BOUNDED_POINTER): Likewise.
1027 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1028 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1029 (POP_ERRNO_LOCATION_RETURN): Likewise.
1030 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1031 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1032 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1034 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1035 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1036 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1037 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1038 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1039 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1040 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1041 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1042 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1043 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1044 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1045 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1046 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1047 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1049 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1050 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1052 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1053 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1054 * sysdeps/i386/i586/memset.S (memset): Likewise.
1055 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1056 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1057 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1059 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1060 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1061 Change uses of L(2) to L(out).
1062 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1063 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1064 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1065 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1066 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1068 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1069 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1071 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1072 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1073 (RETURN): Do not use macro LEAVE.
1074 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1075 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1076 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1077 * sysdeps/i386/i686/memset.S (memset): Likewise.
1078 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1079 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1080 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1081 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1083 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1084 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1085 L(1_2) and L(1_3) into L(1).
1086 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1087 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1088 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1089 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1090 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1091 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1092 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1093 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1094 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1096 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1097 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1098 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1099 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1100 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1101 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1102 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1103 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1104 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1105 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1106 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1107 * sysdeps/i386/strspn.S (strspn): Likewise.
1108 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1110 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1111 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1112 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1113 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1115 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1116 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1117 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1119 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1121 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1123 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1126 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1128 * math/atest-exp.c (exp_mpn): Remove ROUND.
1129 * math/atest-exp2.c (exp_mpn): Likewise.
1130 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1132 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1133 * stdlib/tst-tls-atexit-lib.c: Likewise.
1134 * stdlib/tst-tls-atexit.c: Likewise.
1136 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1138 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1139 and __attribute_alloc_size__.
1141 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1143 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1144 __attribute_alloc_size__.
1145 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1146 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1148 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1150 * include/programs/xmalloc.h: New file.
1151 * catgets/gencat.c: Include it.
1152 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1153 * elf/pldd.c: Likewise.
1154 * iconv/iconv_charmap.c: Likewise.
1155 * iconv/iconvconfig.c: Likewise.
1156 * iconv/strtab.c: Likewise.
1157 * locale/programs/locale.c: Likewise.
1158 * locale/programs/localedef.h: Likewise.
1159 * locale/programs/simple-hash.c: Likewise.
1160 * nscd/nscd.h: Likewise.
1161 * nss/makedb.c: Likewise.
1162 * sysdeps/generic/ldconfig.h: Likewise.
1164 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1166 * Versions.def: Add GLIBC_2.18.
1167 * include/link.h (struct link_map): New member l_tls_dtor_count.
1168 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1169 (__call_tls_dtors): Likewise.
1170 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1171 __cxa_thread_atexit_impl.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1188 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1189 (tests): Add test case tst-tls-atexit.
1190 (modules-names): Add shared library for tst-tls-atexit.
1191 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1192 (GLIBC_PRIVATE): Add __call_tls_dtors.
1193 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1195 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1196 * stdlib/tst-tls-atexit.c: New test case.
1197 * stdlib/tst-tls-atexit-lib.c: New test case.
1199 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1201 * elf/Versions (ld): Add _dl_find_dso_for_object.
1202 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1203 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1204 (dl_open_worker): Use _dl_find_dso_for_object.
1205 * elf/dl-sym.c (do_sym): Likewise.
1206 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1208 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1210 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1211 Syntactic changes only.
1212 (_dl_runtime_profile): Do a tail-call to the resolved function.
1214 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1217 * sysdeps/x86_64/bp-asm.h: Remove file.
1218 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1219 <bp-sym.h> and <bp-asm.h>.
1220 (__clone): Do not use BP_SYM.
1221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1222 <bp-sym.h> and <bp-asm.h>.
1223 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1224 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1226 (_setjmp): Do not use BP_SYM.
1227 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1229 (setjmp): Do not use BP_SYM.
1230 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1232 (mempcpy): Do not use BP_SYM in weak_alias.
1233 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1235 (strchr): Do not use BP_SYM.
1236 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1238 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1239 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1240 (_start): Do not use BP_SYM.
1241 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1243 (strcat): Do not use BP_SYM.
1244 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1246 (STRCMP): Do not use BP_SYM.
1247 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1249 (STRCPY): Do not use BP_SYM.
1250 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1252 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1254 (FUNCTION): Do not use BP_SYM.
1255 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1257 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1259 2013-02-17 Andreas Jaeger <aj@suse.de>
1261 * time/Versions: Sort entries.
1262 * string/Versions: Likewise.
1263 * resolv/Versions: Likewise.
1264 * posix/Versions: Likewise.
1265 * iconv/Versions: Likewise.
1266 * elf/Versions: Likewise.
1267 * wcsmbs/Versions: Likewise.
1269 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1271 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1272 loop termination condition.
1274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1275 variable to calculate EZ.
1278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1279 the lower precision input.
1281 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1284 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1285 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1286 (run-via-rtld-prefix): Do not handle %-bp tests.
1287 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1288 (all-object-suffixes): Remove .ob.
1289 (bppfx): Remove variable.
1290 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1291 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1292 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1293 [$(build-bounded) = yes] (libtype.ob): Likewise.
1294 * Makerules (elide-routines.ob): Remove variable.
1295 (do-tests-clean): Do not handle *-bp.out.
1296 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1297 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1298 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1299 (tests): Do not include $(tests-bp.out).
1300 (xtests): Do not include $(xtests-bp.out).
1301 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1302 [$(build-bounded) = yes] ($(addprefix
1303 $(objpfx),$(binaries-bounded))): Remove rule.
1304 ($(objpfx)%-bp.out): Remove rule.
1305 * config.make.in (build-bounded): Remove variable.
1306 * crypt/Makefile [$(build-bounded) = yes]
1307 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1308 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1310 [$(build-bounded) = yes] (install-lib): Likewise.
1311 [$(build-bounded) = yes] (generated): Likewise.
1312 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1314 * intl/Makefile [$(build-bounded) = yes]
1315 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1316 * math/Makefile [$(build-bounded) = yes]
1317 ($(tests:%=$(objpfx)%-bp): Likewise.
1318 * misc/Makefile [$(build-bounded) = yes]
1319 ($(objpfx)tst-tsearch-bp): Likewise.
1320 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1321 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1323 * string/Makefile (o-objects.ob): Remove variable.
1324 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1325 (CFLAGS-.ob): Remove variable.
1326 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1327 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1328 both definitions of variable.
1329 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1330 (ASFLAGS-.ob): Remove variable.
1332 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1335 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1336 Remove __BOUNDED_POINTERS__ from condition.
1337 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1338 * string/bits/string2.h [!__NO_STRING_INLINES &&
1339 !__BOUNDED_POINTERS__]: Likewise.
1340 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1342 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1343 Remove conditional code.
1344 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1345 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1346 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1350 * csu/libc-start.c: Do not include <bp-sym.h>.
1351 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1352 * elf/dl-open.c: Do not include <bp-sym.h>.
1353 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1354 * math/fegetenv.c: Do not include <bp-sym.h>.
1355 (fegetenv): Do not use BP_SYM in versioned symbols.
1356 * nptl/sysdeps/pthread/bits/libc-lockP.h
1357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1360 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1362 (__pthread_mutex_destroy): Likewise.
1363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1364 (__pthread_mutex_lock): Likewise.
1365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1366 (__pthread_mutex_trylock): Likewise.
1367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1368 (__pthread_mutex_unlock): Likewise.
1369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1370 (__pthread_mutexattr_init): Likewise.
1371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1372 (__pthread_mutexattr_destroy): Likewise.
1373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1374 (__pthread_mutexattr_settype): Likewise.
1375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1376 (__pthread_rwlock_init): Likewise.
1377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1378 (__pthread_rwlock_destroy): Likewise.
1379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1380 (__pthread_rwlock_rdlock): Likewise.
1381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1382 (__pthread_rwlock_tryrdlock): Likewise.
1383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1384 (__pthread_rwlock_wrlock): Likewise.
1385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1386 (__pthread_rwlock_trywrlock): Likewise.
1387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1388 (__pthread_rwlock_unlock): Likewise.
1389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1390 (__pthread_key_create): Likewise.
1391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1392 (__pthread_setspecific): Likewise.
1393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1394 (__pthread_getspecific): Likewise.
1395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1398 (_pthread_cleanup_push_defer): Likewise.
1399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1400 (_pthread_cleanup_pop_restore): Likewise.
1401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1402 (pthread_setcancelstate): Likewise.
1403 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1405 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1406 (memchr): Do not use BP_SYM in weak_alias.
1407 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1408 (fegetenv): Do not use BP_SYM in versioned symbols.
1409 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1410 (fesetenv): Do not use BP_SYM in versioned symbols.
1411 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1412 (feupdateenv): Do not use BP_SYM in versioned symbols.
1413 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1414 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1415 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1416 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1417 (open64): Do not use BP_SYM in weak_alias.
1418 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1419 (fegetenv): Do not use BP_SYM in versioned symbols.
1420 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1421 (fesetenv): Do not use BP_SYM in versioned symbols.
1422 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1423 (feupdateenv): Do not use BP_SYM in versioned symbols.
1424 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1425 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1426 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1427 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1428 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1429 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1430 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1432 (__libc_start_main): Do not use BP_SYM.
1434 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1437 redundant return line.
1441 (sub_magnitudes): Likewise.
1447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1451 (sub_magnitudes): Likewise.
1458 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1461 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1464 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1465 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1466 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1467 of __mul for squares.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1472 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1473 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1475 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1478 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1480 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1481 prototype or function definition. Rename ubp_* variables and
1482 parameters. Remove argv definitions conditional on
1483 [__BOUNDED_POINTERS__].
1484 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1485 * elf/dl-runtime.c (_dl_fixup): Likewise.
1486 * include/set-hooks.h (RUN_HOOK): Likewise.
1487 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1489 * string/strcpy.c (strcpy): Do not use __unbounded.
1490 * sysdeps/generic/frame.h (struct layout): Likewise.
1491 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1492 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1493 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1494 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1495 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1496 (__backtrace): Likewise.
1497 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1499 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1500 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1501 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1503 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1504 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1505 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1506 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1507 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1508 Do not use __unbounded.
1509 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1510 Rename __unboundedrlimits parameter to rlimits in prototype.
1511 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1512 Do not use __unbounded.
1513 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1515 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1516 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1517 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1518 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1519 __ptrvalue or __unbounded.
1520 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1521 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1523 (__new_msgctl): Do not use __ptrvalue.
1524 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1526 (__libc_msgrcv): Do not use __ptrvalue.
1527 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1528 startup_info): Do not use __unbounded.
1529 (__libc_start_main): Likewise. Rename ubp_* variables and
1530 parameters. Remove argv definitions conditional on
1531 [__BOUNDED_POINTERS__].
1532 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1534 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1536 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1538 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1540 (__new_shmctl): Do not use __ptrvalue.
1541 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1542 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1544 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1545 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1546 (__libc_sigaction): Likewise.
1547 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1548 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1550 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1552 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1554 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1556 * string/mempcpy.c: Implement by calling memcpy.
1558 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1565 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1566 values in the mantissa.
1568 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1569 minimize writes to Z.
1570 (sub_magnitudes): Simplify code a bit.
1572 2013-02-12 Roland McGrath <roland@hack.frob.com>
1574 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1575 from the message. The linker prefixes all warnings with that already.
1577 2013-02-12 Andreas Schwab <schwab@suse.de>
1580 * posix/regexec.c (extend_buffers): Add parameter min_len.
1581 (check_matching): Pass minimum needed length.
1582 (clean_state_log_if_needed): Likewise.
1583 (get_subexp): Likewise.
1584 * posix/Makefile (tests): Add bug-regex34.
1585 (bug-regex34-ENV): Define.
1586 * posix/bug-regex34.c: New file.
1589 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1590 elements compare against the byte sequence of it, not its name.
1591 * posix/Makefile (tests): Add bug-regex35.
1592 (bug-regex35-ENV): Define.
1593 * posix/bug-regex35.c: New file.
1595 2013-02-11 Tom de Vries <tom@codesourcery.com>
1597 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1599 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1600 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1601 (CHECK_EOL): Add undef.
1603 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1605 * bits/stdlib-bsearch.h: New file.
1606 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1607 * stdlib/stdlib.h: Likewise.
1609 2013-02-11 Roland McGrath <roland@hack.frob.com>
1611 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1612 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1614 * manual/search.texi (Array Search Function): Add missing const in
1616 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1617 declaration to use rlim_t.
1618 (Basic Scheduling Functions): Remove erroneous const from
1619 sched_getparam prototype. Remove erroneous * from
1620 sched_get_priority_max and sched_get_priority_min prototypes.
1621 (Resource Usage): Fix summary @comment on vtimes to refer to
1622 sys/vtimes.h rather than vtimes.h.
1623 Add missing *s in vtimes prototype.
1624 (Limits on Resources): Fix ulimit prototype to return long int.
1625 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1626 prototypes to use long int rather than double.
1627 (BSD Random): Fix initstate and setstate to use char *, not void *.
1628 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1629 prototype to make second argument 'struct aiocb64 *const[]'.
1630 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1631 (Status of AIO Operations): Remove erroneous const in aio_return and
1632 aio_return64 prototypes.
1633 (Synchronizing I/O): Fix sync prototype to return void.
1634 * manual/startup.texi (Suboptions): Remove an erroneous const in
1635 getsubopt prototype.
1636 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1637 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1638 use size_t rather than int.
1639 (Scanning All Users): Likewise for getpwent_r.
1640 (Setting Groups): Add missing const to setgroups prototype.
1641 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1642 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1643 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1644 'const void *' rather than 'const char *'.
1645 (Host Address Functions): Likewise for inet_ntop.
1646 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1647 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1648 ssize_t for return value.
1649 (Sending Data): Likewise for send, sendto, sendmsg.
1650 (Socket Option Functions): Add a missing const in setsockopt prototype.
1651 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1652 use wchar_t for the argument.
1653 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1654 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1656 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1657 double/float/long double for second argument.
1658 Fix return types of significand, significandf, significandl.
1659 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1660 argument in fchmod prototype.
1661 (File Owner): Use uid_t and gid_t in fchown prototype.
1662 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1663 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1664 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1665 use 'const struct dirent **' as argument types to CMP function pointer
1667 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1668 (File Times): Fix summary magic @comment for struct utimbuf and utime
1669 to refer to utime.h, not time.h.
1670 * manual/string.texi (Argz Functions): Add missing const in
1671 argz_extract and argz_next prototypes.
1672 (Finding Tokens in a String): Likewise for basename.
1673 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1674 (Copying and Concatenation): Fix typo in wmemmove prototype.
1675 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1676 (Signal Stack): Remove erroneous const in sigstack prototype.
1677 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1679 (Simple Calendar Time): Likewise for stime.
1680 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1682 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1683 say sys/sysctl.h instead.
1684 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1685 and vsyslog prototypes.
1687 2013-02-11 Tom de Vries <tom@codesourcery.com>
1689 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1692 2013-02-11 Roland McGrath <roland@hack.frob.com>
1694 * misc/sys/mman.h: Fix typo in mremap comment.
1696 2013-02-08 Roland McGrath <roland@hack.frob.com>
1698 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1699 the '\0' terminator.
1701 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1704 * debug/segfault.c: Don't include <bp-checks.h>.
1705 * sysdeps/generic/bp-checks.h: Remove file.
1706 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1707 (__GETDENTS): Don't use CHECK_N.
1708 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1709 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1710 (__getgroups): Don't use CHECK_N.
1711 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1712 (setgroups): Don't use CHECK_N.
1713 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1714 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1715 (__libc_msgrcv): Don't use CHECK_N.
1716 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1717 (__libc_msgsnd): Don't use CHECK_N.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1720 (__libc_pread): Don't use CHECK_N.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1722 include <bp-checks.h>.
1723 (__libc_pread64): Don't use CHECK_N.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1725 include <bp-checks.h>.
1726 (__libc_pwrite): Don't use CHECK_N.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1728 include <bp-checks.h>.
1729 (__libc_pwrite64): Don't use CHECK_N.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1732 (__libc_pread): Don't use CHECK_N.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1734 include <bp-checks.h>.
1735 (__libc_pread64): Don't use CHECK_N.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1737 include <bp-checks.h>.
1738 (__libc_pwrite): Don't use CHECK_N.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1740 include <bp-checks.h>.
1741 (__libc_pwrite64): Don't use CHECK_N.
1742 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1743 (do_pread): Don't use CHECK_N.
1744 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1745 (do_pread64): Don't use CHECK_N.
1746 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1747 (do_pwrite): Don't use CHECK_N.
1748 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1749 (do_pwrite64): Don't use CHECK_N.
1750 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1751 (__libc_readv): Don't use CHECK_N.
1752 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1753 (semop): Don't use CHECK_N.
1754 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1756 (semtimedop): Don't use CHECK_N.
1757 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1758 (__libc_pread): Don't use CHECK_N.
1759 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1761 (__libc_pread64): Don't use CHECK_N.
1762 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1764 (__libc_pwrite): Don't use CHECK_N.
1765 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1767 (__libc_pwrite64): Don't use CHECK_N.
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1770 (__libc_msgrcv): Don't use CHECK_N.
1771 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1772 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1773 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1774 (__libc_writev): Don't use CHECK_N.
1776 2013-02-08 Roland McGrath <roland@hack.frob.com>
1778 * string/strcpy.c: Removed unused variable.
1780 * Makeconfig (+sysdep-includes): Define with := rather than =.
1781 Use an existing include/ subdir of each sysdeps dir before it.
1783 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1785 * nscd/connection.c (register_traced_file): Comment function.
1786 [HAVE_INOTIFY] (union __inev): Define.
1787 [HAVE_INOTIFY] (inotify_check_files): New function.
1788 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1789 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1791 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1793 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1795 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1796 loaded if not already and that a failure is permanent.
1798 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1801 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1802 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1804 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1807 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1808 (CHECK_1_NULL_OK): Likewise.
1809 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1810 (__fxstat): Do not use CHECK_1.
1811 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1813 (___fxstat64): Do not use CHECK_1.
1814 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1816 (__fxstatat): Do not use CHECK_1.
1817 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1819 (__fxstatat64): Do not use CHECK_1.
1820 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1822 (__fxstat): Do not use CHECK_1.
1823 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1825 (__fxstatat): Do not use CHECK_1.
1826 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1828 (__getresgid): Do not use CHECK_1.
1829 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1831 (__getresuid): Do not use CHECK_1.
1832 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1834 (__lxstat): Do not use CHECK_1.
1835 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1837 (__old_msgctl): Do not use CHECK_1.
1838 (__new_msgctl): Likewise.
1839 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1841 (__new_setrlimit): Do not use CHECK_1.
1842 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1844 (__old_shmctl): Do not use CHECK_1.
1845 (__new_shmctl): Likewise.
1846 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1848 (__xstat): Do not use CHECK_1.
1849 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1850 (__lxstat): Do not use CHECK_1.
1851 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1853 (___lxstat64): Do not use CHECK_1.
1854 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1855 (__old_msgctl): Do not use CHECK_1.
1856 (__new_msgctl): Likewise.
1857 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1859 (__gettimeofday): Do not use CHECK_1.
1860 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1861 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1862 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1864 (__gettimeofday): Do not use CHECK_1.
1865 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1866 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1867 (__new_shmctl): Do not use CHECK_1.
1868 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1870 (do_sigtimedwait): Do not use CHECK_1.
1871 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1873 (do_sigwaitinfo): Do not use CHECK_1.
1874 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1876 (msgctl): Do not use CHECK_1.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1879 (shmctl): Do not use CHECK_1.
1880 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1881 (ustat): Do not use CHECK_1.
1882 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1884 (__fxstat): Do not use CHECK_1.
1885 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1887 (__fxstatat): Do not use CHECK_1.
1888 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1890 (__lxstat): Do not use CHECK_1.
1891 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1893 (__xstat): Do not use CHECK_1.
1894 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1895 (__xstat): Do not use CHECK_1.
1896 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1897 (___xstat64): Do not use CHECK_1.
1900 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1902 (CHECK_BOUNDS_HIGH): Likewise.
1903 * string/strcpy.c: Do not include <bp-checks.h>.
1904 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1906 2013-02-07 Roland McGrath <roland@hack.frob.com>
1908 * nscd/nscd-client.h (__nscd_drop_map_ref):
1909 Add __attribute__ ((unused)).
1910 * nis/nss-nisplus.h (niserr2nss): Likewise.
1912 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1913 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1915 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1916 Remove inline keyword.
1917 * include/rounding-mode.h (round_away): Likewise.
1918 * libio/wfileops.c (adjust_wide_data): Likewise.
1919 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1920 (__m128i_strloadu_tolower): Likewise.
1921 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1922 (__m128i_strloadu_tolower): Likewise.
1923 * time/mktime.c (ydhms_diff): Likewise.
1924 * locale/elem-hash.h (elem_hash): Likewise.
1925 * locale/setlocale.c (setdata): Likewise.
1926 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1927 (re_string_wchar_at): Likewise.
1928 (bitset_not, bitset_merge, bitset_mask): Likewise.
1929 [!(__GNUC__ > 3)] (inline): Remove macro.
1930 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1931 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1932 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1933 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1934 * string/memcmp.c (memcmp_bytes): Likewise.
1935 * locale/programs/locarchive.c (compute_hashval): Likewise.
1936 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1937 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1938 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1939 * nss/getent.c (print_rpc, print_protocols): Likewise.
1940 (print_passwd, print_group, print_aliases): Likewise.
1941 * nis/nss-nisplus.h (niserr2nss): Likewise.
1942 * nscd/connections.c (restart_p): Likewise.
1943 Change return type to bool.
1945 2013-02-05 Roland McGrath <roland@hack.frob.com>
1947 * Makeconfig (all-Depend-files): Add existing
1948 $(sorted-subdirs:=/Depend) files.
1949 (all-subdirs): Remove nss.
1950 * sysdeps/unix/inet/Subdirs: Add it here instead.
1951 * hesiod/Depend: New file.
1953 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1954 instead of calling alloca.
1956 * io/lseek.c (__lseek): Rename to __libc_lseek.
1957 Define __lseek as an alias.
1959 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1961 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1963 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1964 else clause and remove check for non-standard endianness.
1966 2013-02-04 David S. Miller <davem@davemloft.net>
1968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1970 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1973 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1974 (__ubp_memchr): Remove prototype.
1975 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1976 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1977 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1978 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1979 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1981 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1982 (__ubp_memchr): Likewise.
1983 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1984 (__ubp_memchr): Likewise.
1985 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1986 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1987 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1988 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1990 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1991 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1992 (__getcwd): Do not use CHECK_STRING.
1993 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1995 (__real_chown): Do not use CHECK_STRING.
1996 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1998 (fchownat): Do not use CHECK_STRING.
1999 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2001 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2003 (__lchown): Do not use CHECK_STRING.
2004 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2005 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2006 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2007 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2009 include <bp-checks.h>.
2010 (truncate64): Do not use CHECK_STRING.
2011 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2013 (__real_chown): Do not use CHECK_STRING.
2014 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2016 (__lchown): Do not use CHECK_STRING.
2017 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2019 (__chown): Do not use CHECK_STRING.
2020 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2022 (truncate64): Do not use CHECK_STRING.
2023 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2025 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2026 (__xmknod): Do not use CHECK_STRING.
2027 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2029 (__xmknodat): Do not use CHECK_STRING.
2030 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2031 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2033 2013-02-04 Andreas Schwab <schwab@suse.de>
2036 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2037 * include/netdb.h: Likewise for h_errno.
2038 * elf/tst-stackguard1.c: Include <tls.h>.
2040 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2042 * elf/link.h (struct link_map): Extend the l_addr comment.
2043 * include/link.h (struct link_map): Likewise.
2045 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2048 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2049 (BOUNDED_1): Remove macro.
2050 * debug/backtrace.c: Don't include <bp-checks.h>.
2051 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2052 (__backtrace): Likewise.
2053 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2055 (__backtrace): Don't use BOUNDED_1.
2056 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2058 (__backtrace): Don't use BOUNDED_1.
2059 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2060 (__backtrace): Don't use BOUNDED_1.
2061 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2062 (shmat): Don't use BOUNDED_N.
2064 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/generic/bp-start.h: Remove file.
2068 * csu/libc-start.c: Don't include <bp-start.h>.
2069 (LIBC_START_MAIN): Set up __environ directly instead of using
2070 INIT_ARGV_and_ENVIRON.
2071 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2075 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2077 (CHECK_FCNTL): Likewise.
2078 (CHECK_N_PAGES): Likewise.
2081 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2083 (CHECK_SIGSET_NULL_OK): Likewise.
2084 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2086 (sigpending): Don't use CHECK_SIGSET.
2087 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2089 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2090 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2092 (do_sigsuspend): Don't use CHECK_SIGSET.
2093 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2095 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2096 (do_sigwait): Don't use CHECK_SIGSET.
2097 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2100 include <bp-checks.h>.
2101 (sigpending): Don't use CHECK_SIGSET.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2103 include <bp-checks.h>.
2104 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2105 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2107 (sigpending): Don't use CHECK_SIGSET.
2108 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2110 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2113 * sysdeps/generic/bp-semctl.h: Remove file.
2114 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2115 <bp-checks.h> and <bp-semctl.h>.
2116 (__old_semctl): Don't use CHECK_SEMCTL.
2117 (__new_semctl): Likewise.
2118 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2120 (__old_semctl): Don't use CHECK_SEMCTL.
2121 (__new_semctl): Likewise.
2122 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2123 <bp-checks.h> and <bp-semctl.h>.
2124 (__old_semctl): Don't use CHECK_SEMCTL.
2125 (__new_semctl): Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2127 <bp-checks.h> and <bp-semctl.h>.
2128 (semctl): Don't use CHECK_SEMCTL.
2131 * Makerules (elide-bp-thunks): Remove variable.
2132 (elide-routines.oS): Don't use $(elide-bp-thunks).
2133 (elide-routines.os): Likewise.
2134 (elide-routines.o): Likewise.
2135 (elide-routines.op): Likewise.
2136 (elide-routines.og): Likewise.
2137 (objects): Don't use $(bp-thunks).
2138 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2140 (common-generated): Do not add s-proto-bp.d.
2141 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2144 Do not generate makefile rules for bounded-pointer thunks.
2145 * sysdeps/generic/bp-thunks.h: Remove file.
2146 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2147 * sysdeps/unix/s-proto-bp.S: Likewise.
2150 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2151 parts of result separately when argument is not close to line from
2152 -i to i and one part of argument is small.
2153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2155 * math/libm-test.inc (cacos_test): Add more tests.
2156 (casin_test): Likewise.
2157 (casinh_test): Likewise.
2158 * sysdeps/i386/fpu/libm-test-ulps: Update.
2159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2161 2013-01-31 David S. Miller <davem@davemloft.net>
2163 * po/de.po: Update from translation team.
2165 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2167 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2169 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2171 * configure.in (_AC_PROG_CC_C89): New definition.
2172 * configure: Regenerate.
2174 * configure.in (AC_PROG_CPP): New definition.
2175 * configure: Regenerate.
2177 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2179 * debug/tst-backtrace.h: New file.
2180 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2181 (ret): Remove variable.
2183 (FAIL): Remove macro.
2184 (NO_INLINE): Likewise.
2185 (fn1): Use match function instead of strstr.
2186 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2187 (ret): Remove variable.
2189 (FAIL): Remove macro.
2190 (NO_INLINE): Likewise.
2191 (fn): Use match function instead of strstr.
2192 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2193 (ret): Remove variable.
2195 (FAIL): Remove macro.
2196 (NO_INLINE): Likewise.
2197 (handle_signal): Use match function instead of strstr.
2198 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2199 (ret): Remove variable.
2201 (FAIL): Remove macro.
2202 (NO_INLINE): Likewise.
2203 (handle_signal): Use match function instead of strstr.
2205 2013-01-23 Roland McGrath <roland@hack.frob.com>
2207 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2209 2013-01-23 David S. Miller <davem@davemloft.net>
2211 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2212 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2213 argument of CAS if possible.
2214 * sysdeps/sparc/sparc64/bits/atomic.h
2215 (__arch_compare_and_exchange_val_32_acq): Likewise.
2216 (__arch_compare_and_exchange_val_64_acq): Likewise.
2218 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2220 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2221 * sysdeps/posix/ulimit.c: ... this.
2223 * sysdeps/unix/bsd/ulimit.c: Remove file.
2225 2013-01-23 Adam Conrad <adconrad@0c3.net>
2227 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2228 (LDFLAGS-tst-array5): Likewise.
2230 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2233 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2234 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2235 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2236 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2238 2013-01-21 David S. Miller <davem@davemloft.net>
2240 * sysdeps/sparc/backtrace.c: New file.
2241 * sysdeps/sparc/sparc32/backtrace.h: New file.
2242 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2243 * sysdeps/sparc/sparc64/backtrace.h: New file.
2244 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2245 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2248 2013-01-21 Andreas Schwab <schwab@suse.de>
2251 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2254 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2260 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2261 Mark Mitchell <mark@codesourcery.com>
2262 Tom de Vries <tom@codesourcery.com>
2263 Paul Pluzhnikov <ppluzhnikov@google.com>
2265 * debug/tst-backtrace2.c: New file.
2266 * debug/tst-backtrace3.c: Likewise.
2267 * debug/tst-backtrace4.c: Likewise.
2268 * debug/tst-backtrace5.c: Likewise.
2269 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2270 (CFLAGS-tst-backtrace3.c): Likewise.
2271 (CFLAGS-tst-backtrace4.c): Likewise.
2272 (CFLAGS-tst-backtrace5.c): Likewise.
2273 (LDFLAGS-tst-backtrace2): Likewise.
2274 (LDFLAGS-tst-backtrace3): Likewise.
2275 (LDFLAGS-tst-backtrace4): Likewise.
2276 (LDFLAGS-tst-backtrace5): Likewise.
2277 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2278 tst-backtrace4 and tst-backtrace5.
2280 2013-01-18 Anton Blanchard <anton@samba.org>
2281 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2283 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2284 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2285 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2286 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2288 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2289 "+r" and remove output regs list as redundant. Add explicit inline
2290 asm to specify register of return val to work around compiler codegen
2291 bug. Remove (int) cast on return value. Add return type parameter to
2292 use in macro so that this macro does not truncate return value for
2294 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2295 pass to INTERNAL_VSYSCALL_NCS.
2296 (INLINE_VSYSCALL): Add 'long int' as return type to
2297 INTERNAL_VSYSCALL_NCS macro invocation.
2298 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2299 INTERNAL_VSYSCALL_NCS macro invocation.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2302 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2305 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2306 Fix application of SIMD FP exception mask.
2308 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2309 mp_no from a power of two.
2310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2311 __mpexp_twomm1. Use __pow_mp.
2313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2316 2013-01-17 David S. Miller <davem@davemloft.net>
2318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2320 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2323 * include/complex.h: Condition contents on [!_COMPLEX_H].
2324 (__kernel_casinhf): New prototype.
2325 (__kernel_casinh): Likewise.
2326 (__kernel_casinhl): Likewise.
2327 * math/Makefile (libm_calls): Add k_casinh.
2328 * math/k_casinh.c: New file.
2329 * math/k_casinhf.c: Likewise.
2330 * math/k_casinhl.c: Likewise.
2331 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2332 finite nonzero arguments.
2333 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2334 finite nonzero arguments.
2335 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2336 finite nonzero arguments.
2337 * math/s_casinh.c: Do not include <float.h>.
2338 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2339 * math/s_casinhf.c: Do not include <float.h>.
2340 (__casinhf): Move code for finite nonzero arguments to
2342 * math/s_casinhl.c: Do not include <float.h>.
2343 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2345 (__casinhl): Move code for finite nonzero arguments to
2347 * math/libm-test.inc (cacos_test): Add more tests.
2348 * sysdeps/i386/fpu/libm-test-ulps: Update.
2349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2351 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2353 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2354 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2355 [!HAVE_MREMAP]: Remove [defined linux] case.
2356 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2358 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2360 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2362 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2364 * elf/elf.h (R_386_SIZE32): New relocation.
2365 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2367 (elf_machine_rela): Likewise.
2368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2369 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2371 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2373 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2374 (FP_FAST_FMA): Do not define.
2375 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2376 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2377 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2378 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2379 !_SOFT_FLOAT]: Likewise.
2380 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2381 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2383 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2384 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2385 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2386 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2387 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2388 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2391 2013-01-16 Andreas Schwab <schwab@suse.de>
2394 * include/stdlib.h (__mktemp): Add declaration.
2395 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2396 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2398 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2400 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2402 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2403 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2404 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2406 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2407 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2409 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2411 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2412 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2413 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2415 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2416 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2418 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2420 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2422 2013-01-15 David S. Miller <davem@davemloft.net>
2424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2425 trunc{,f} to libm-sysdep_routes.
2426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2436 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2437 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2438 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2439 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2440 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2441 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2444 nearbyint{,f} to libm-sysdep_routes.
2445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2456 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2458 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2459 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2461 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2462 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2463 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2465 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2466 libc_feholdexcept and libc_fesetenv.
2468 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2470 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2472 2013-01-14 David S. Miller <davem@davemloft.net>
2474 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2475 (SPARC_ASM_VIS2_IFUNC): Likewise.
2476 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2478 use of 'siam' instruction.
2479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2512 routines to libm-sysdep_routines.
2513 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2516 fdim/fdimf to libm-sysdep_routines.
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2525 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2526 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2527 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2528 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2530 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2532 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2535 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2540 local variable MPTWO.
2541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2544 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2546 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2549 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2551 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2553 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2555 * manual/pattern.texi (glob_t): Document gl_flags.
2556 (glob64_t): Likewise.
2558 2013-01-11 David S. Miller <davem@davemloft.net>
2560 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2561 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2562 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2563 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2564 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2565 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2566 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2567 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2568 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2569 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2570 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2571 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2572 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2575 sparc V9 rather than using V8 code.
2576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2579 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2581 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2584 2013-01-11 Roland McGrath <roland@hack.frob.com>
2586 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2587 not in the main loop.
2588 * configure: Regenerated.
2590 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2592 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2593 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2595 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2596 [!__GLIBC_HAVE_LONG_LONG] case.
2597 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2598 condition to just #else.
2599 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2600 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2601 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2602 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2604 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2605 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2606 #elif condition to just #else.
2607 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2608 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2609 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2610 #elif condition to just #else.
2612 2013-01-11 Steve Ellcey <sellcey@mips.com>
2614 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2615 (EF_MIPS_ARCH_64): Fix value.
2616 (EF_MIPS_ARCH_32R2): New.
2617 (EF_MIPS_ARCH_64R2): New.
2619 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2621 * Makeconfig (+link-pie-before-libc): New.
2622 (+link-pie-after-libc): Likewise.
2623 (+link-pie-tests): Likewise.
2624 (+link-pie): Rewritten.
2625 (link-before-libc): Remove $(config-LDFLAGS).
2626 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2627 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2628 (config-LDFLAGS): Renamed to ...
2629 (rtld-LDFLAGS): This.
2630 (rtld-tests-LDFLAGS): New macro.
2631 (link-libc-rpath-link): Likewise.
2632 (link-libc-tests-rpath-link): Likewise.
2633 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2634 (link-libc): Prepand $(link-libc-rpath-link).
2635 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2636 (test-program-prefix): New macro.
2637 (test-via-rtld-prefix): Likewise.
2638 (test-program-cmd): Likewise.
2639 (host-test-program-cmd): Likewise.
2640 * Makefile ($(common-objpfx)testrun.sh): Replace
2641 $(run-program-prefix) with $(test-program-prefix).
2642 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2644 ($(common-objpfx)shlib.lds): Likewise.
2645 (build-module-helper): Likewise.
2646 ($(common-objpfx)format.lds): Likewise.
2647 * Rules (binaries-pie-tests): New.
2648 (binaries-pie-notests): Likewise.
2649 (binaries-pie): Rewritten.
2650 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2651 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2652 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2653 (make-test-out): Replace $(host-built-program-cmd) with
2654 $(host-test-program-cmd).
2655 * config.make.in (build-hardcoded-path-in-tests): New variable.
2656 * configure.in (--enable-hardcoded-path-in-tests): New configure
2658 (hardcoded_path_in_tests): New AC_SUBST.
2659 * configure: Regenerated.
2660 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2661 $(built-program-cmd) with $(test-program-cmd).
2662 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2663 (test_program_cmd): This.
2664 * elf/Makefile ($(objpfx)order.out): Run test with
2665 $(test-program-prefix).
2666 ($(objpfx)order2.out): Likewise.
2667 ($(objpfx)tst-initorder.out): Likewise.
2668 ($(objpfx)tst-initorder2.out): Likewise.
2669 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2670 $(test-program-cmd).
2671 ($(objpfx)tst-array1-static.out): Likewise.
2672 ($(objpfx)tst-array2.out): Likewise.
2673 ($(objpfx)tst-array3.out): Likewise.
2674 ($(objpfx)tst-array4.out): Likewise.
2675 ($(objpfx)tst-array5.out): Likewise.
2676 ($(objpfx)tst-array5-static.out): Likewise.
2677 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2678 $(test-program-cmd).
2679 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2680 $(run-program-prefix) with $(test-program-prefix).
2681 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2682 (test_program_prefix): This.
2683 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2684 $(run-program-prefix) with $(test-program-prefix).
2685 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2686 (test_program_prefix): This.
2687 * iconvdata/tst-tables.sh: Likewise.
2688 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2689 $(run-program-prefix) with $(test-program-prefix).
2690 ($(objpfx)tst-translit.out): Likewise.
2691 ($(objpfx)tst-gettext2.out): Likewise.
2692 ($(objpfx)tst-gettext4.out): Likewise.
2693 ($(objpfx)tst-gettext6.out): Likewise.
2694 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2695 (test_program_prefix): This.
2696 * intl/tst-gettext2.sh: Likewise.
2697 * intl/tst-gettext4.sh Likewise.
2698 * intl/tst-gettext6.sh: Likewise.
2699 * intl/tst-translit.sh: Likewise.
2700 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2701 with $(test-program-cmd).
2702 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2703 $(run-program-prefix) with $(test-program-prefix).
2704 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2705 (test_program_prefix): This.
2706 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2707 $(run-program-prefix) with $(test-program-prefix).
2708 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2709 (test_program_prefix): This.
2710 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2711 * posix/Makefile ($(objpfx)globtest.out): Replace
2712 $(run-via-rtld-prefix) and $(test-wrapper) with
2713 $(test-program-prefix) and $(test-via-rtld-prefix).
2714 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2715 $(test-program-prefix).
2716 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2717 $(host-test-program-cmd).
2718 (tst-spawn-ARGS): Likewise.
2719 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2720 $(test-program-prefix).
2721 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2722 (test_via_rtld_prefix): This.
2723 (test_wrapper): Renamed to ...
2724 (test_program_prefix): This.
2725 (run_program_prefix): Replaced by test_program_prefix.
2726 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2727 (test_program_prefix): This.
2728 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2729 with $(host-test-program-cmd).
2730 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2731 $(run-program-prefix) with $(test-program-prefix).
2732 ($(objpfx)tst-printf.out): Likewise.
2733 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2734 $(test-program-cmd).
2735 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2736 (test_program_prefix): This.
2737 * stdio-common/tst-unbputc.sh: Likewise.
2738 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2739 $(run-program-prefix) with $(test-program-prefix).
2740 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2741 (test_program_prefix): This.
2742 * string/Makefile ($(objpfx)tst-svc.out): Replace
2743 $(built-program-cmd) with $(test-program-cmd).
2745 2013-01-11 Andreas Jaeger <aj@suse.de>
2748 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2749 value. Sync with Linux 3.7.
2751 2013-01-10 David S. Miller <davem@davemloft.net>
2753 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2754 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2755 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2757 2013-01-10 Roland McGrath <roland@hack.frob.com>
2759 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2761 * configure: Regenerated.
2763 2013-01-10 David S. Miller <davem@davemloft.net>
2765 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2766 sparc V9 rather than using V8 code.
2767 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2768 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2770 2013-01-10 Roland McGrath <roland@hack.frob.com>
2772 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2773 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2774 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2775 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2776 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2777 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2778 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2779 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2780 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2781 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2782 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2783 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2784 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2785 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2786 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2787 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2788 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2789 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2790 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2791 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2792 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2793 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2794 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2795 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2796 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2797 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2798 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2800 2013-01-10 David S. Miller <davem@davemloft.net>
2802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2804 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2806 * posix/Makefile (tests-static): New variable.
2807 (tests): Add $(tests-static).
2808 (tst-exec-static-ARGS): New variable.
2809 (tst-spawn-static-ARGS): Likewise.
2810 * posix/tst-exec-static.c: New file.
2811 * posix/tst-spawn-static.c: Likewise.
2812 * posix/tst-exec.c: Support run directly.
2813 * posix/tst-spawn.c: Likewise.
2815 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2817 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2819 * math/bits/mathcalls.h (llrint): Likewise.
2820 (llround): Likewise.
2821 * stdlib/stdlib.h (struct drand48_data): Likewise.
2822 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2823 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2824 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2826 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2828 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2829 (elf_greg_t): Likewise.
2830 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2831 (__jmp_buf): Likewise.
2832 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2834 (llrint): Likewise, for all definitions.
2835 (llrintl): Likewise.
2837 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2838 Remove [__GNUC__] condition.
2839 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2840 condition to just [__USE_ISOC99].
2841 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2843 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2846 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2847 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2849 (_POSIX_V6_ILP32_OFF32): Likewise.
2850 (_XBS5_ILP32_OFF32): Likewise.
2851 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2852 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2854 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2856 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2859 doubles __mpexp_twomm1. Adjust usage.
2860 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2863 2013-01-10 Andreas Schwab <schwab@suse.de>
2866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2867 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2869 2013-01-09 David S. Miller <davem@davemloft.net>
2872 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2873 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2874 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2875 TCP_FASTOPEN): Define.
2876 (tcp_repair_opt): New structure.
2877 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2879 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2880 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2881 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2882 (tcp_cookie_transactions): New structure.
2884 2013-01-09 Anton Blanchard <anton@samba.org>
2886 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2887 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2888 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2889 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2891 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2893 * include/features.h (__USE_ANSI): Remove.
2895 2013-01-09 Roland McGrath <roland@hack.frob.com>
2897 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2899 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2901 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2903 * sysdeps/s390/fpu/libm-test-ulps: Update.
2905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2907 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2912 (__mp_dbl): Likewise.
2913 (__dbl_mp): Likewise.
2914 (add_magnitudes): Likewise.
2915 (sub_magnitudes): Likewise.
2921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2926 (__mp_dbl): Likewise.
2927 (__dbl_mp): Likewise.
2928 (add_magnitudes): Likewise.
2929 (sub_magnitudes): Likewise.
2935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2940 (__mp_dbl): Likewise.
2941 (__dbl_mp): Likewise.
2942 (add_magnitudes): Likewise.
2943 (sub_magnitudes): Likewise.
2950 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2952 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2953 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2954 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2955 2 && __USE_EXTERN_INLINES]: Likewise.
2957 2013-01-08 Andreas Jaeger <aj@suse.de>
2960 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2962 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2963 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2965 2013-01-07 Anton Blanchard <anton@samba.org>
2967 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2968 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2969 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2970 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2971 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2972 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2973 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2974 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2976 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2977 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2978 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2979 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2980 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2981 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2982 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2983 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2985 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2986 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2987 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2988 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2990 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2991 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2992 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2993 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2994 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2995 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2996 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2997 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2999 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3000 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3001 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3002 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3003 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3004 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3005 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3006 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3007 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3009 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3011 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3013 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3014 (__MALLOC_PMT): Likewise.
3015 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3016 [__GNUC__], only on [_LIBC].
3017 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3018 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3019 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3020 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3021 forward declaration.
3022 (realloc_hook_ini): Likewise.
3023 (memalign_hook_ini): Likewise.
3024 (__libc_memalign): Do not use __MALLOC_PMT in variable
3026 (__libc_valloc): Likewise.
3027 (__libc_pvalloc): Likewise.
3028 (__libc_calloc): Likewise.
3029 (__posix_memalign): Likewise.
3032 * math/s_casinh.c: Include <float.h>.
3033 (__casinh): Do not do computation with squaring and square root
3034 for large arguments.
3035 * math/s_casinhf.c: Include <float.h>.
3036 (__casinhf): Do not do computation with squaring and square root
3037 for large arguments.
3038 * math/s_casinhl.c: Include <float.h>.
3039 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3040 (__casinhl): Do not do computation with squaring and square root
3041 for large arguments.
3042 * math/libm-test.inc (casin_test): Add more tests.
3043 (casinh_test): Likewise.
3044 * sysdeps/i386/fpu/libm-test-ulps: Update.
3045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3047 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3049 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3050 (__x86_64_raw_data_cache_size): Likewise.
3051 (__x86_64_data_cache_size_half): Likewise.
3052 (__x86_64_raw_data_cache_size_half): Likewise.
3053 (__x86_64_shared_cache_size): Likewise.
3054 (__x86_64_raw_shared_cache_size): Likewise.
3055 (__x86_64_shared_cache_size_half): Likewise.
3056 (__x86_64_raw_shared_cache_size_half): Likewise.
3057 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3059 (__x86_data_cache_size): This.
3060 (__x86_64_raw_data_cache_size): Renamed to ...
3061 (__x86_raw_data_cache_size): This.
3062 (__x86_64_data_cache_size_half): Renamed to ...
3063 (__x86_data_cache_size_half): This.
3064 (__x86_64_raw_data_cache_size_half): Renamed to ...
3065 (__x86_raw_data_cache_size_half): This.
3066 (__x86_64_shared_cache_size): Renamed to ...
3067 (__x86_shared_cache_size): This.
3068 (__x86_64_raw_shared_cache_size): Renamed to ...
3069 (__x86_raw_shared_cache_size): This.
3070 (__x86_64_shared_cache_size_half): Renamed to ...
3071 (__x86_shared_cache_size_half): This.
3072 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3073 (__x86_raw_shared_cache_size_half): This.
3074 * sysdeps/x86_64/memcpy.S: Updated.
3075 * sysdeps/x86_64/memset.S: Likewise.
3076 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3078 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3080 2013-01-04 David S. Miller <davem@davemloft.net>
3082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3084 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3086 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3087 1 to avoid redefinition warning.
3088 (__USE_GNU): Don't define.
3089 (init_signaling_nan): Protoize.
3091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3093 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3095 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3097 (__cpymn): Likewise.
3098 (norm): Remove commented code.
3100 (__mp_dbl): Likewise.
3102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3103 (__cpymn): Likewise.
3104 (norm): Remove commented code.
3106 (__mp_dbl): Likewise.
3109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3110 mp_no value for 1.0 and 2.0.
3111 (norm): Use RADIXI instead of radixi.d.
3113 (__mul): Use 0.0 instead of zero.d.
3114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3115 mp_no value for 1.0 and 2.0.
3116 (norm): Use RADIXI instead of radixi.d.
3118 (__mul): Use 0.0 instead of zero.d.
3120 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3123 * math/s_casinh.c (__casinh): Reduce finite argument to first
3124 quadrant then set signs of results at the end.
3125 * math/s_casinhf.c (__casinhf): Likewise.
3126 * math/s_casinhl.c (__casinhl): Likewise.
3127 * math/libm-test.inc (casin_test): Add more tests.
3128 (casinh_test): Likewise.
3129 * sysdeps/i386/fpu/libm-test-ulps: Update.
3130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3132 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3134 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3136 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3138 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3141 (__mp_dbl): Likewise.
3144 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3145 and adjust the header comment.
3147 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3148 variable name from declaration.
3150 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3153 Initialize COMMON_CPUID_INDEX_7 element.
3154 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3155 (CPUID_RTM): Likewise.
3156 (HAS_RTM): Likewise.
3157 (COMMON_CPUID_INDEX_7): New enum.
3159 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3162 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3163 size is zero, record memory as freed.
3165 2013-01-03 Andreas Jaeger <aj@suse.de>
3167 * po/ia.po: Add new Interlingua translation.
3169 2012-01-03 Allan McRae <allan@archlinux.org>
3171 * locale/programs/localedef.c: Fix description of '--posix' flag.
3173 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3175 * NEWS: Update dates in second copyright notice.
3176 * README: Update copyright dates in example.
3177 * manual/libc.texinfo: Update copyright dates.
3178 * scripts/test-installation.pl: Update copyright date in --version
3181 * hurd/ctty-input.c: Fix copyright notice formatting.
3182 * hurd/ctty-output.c: Likewise.
3183 * hurd/dtable.c: Likewise.
3184 * hurd/hurd-raise.c: Likewise.
3185 * hurd/hurdprio.c: Likewise.
3186 * hurd/msgportdemux.c: Likewise.
3187 * misc/sys/file.h: Likewise.
3188 * misc/sys/ioctl.h: Likewise.
3189 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3190 * sysdeps/mach/hurd/chdir.c: Likewise.
3191 * sysdeps/mach/hurd/fchdir.c: Likewise.
3192 * sysdeps/mach/hurd/rename.c: Likewise.
3193 * sysdeps/mach/hurd/rmdir.c: Likewise.
3194 * sysdeps/mach/hurd/seekdir.c: Likewise.
3195 * sysdeps/mach/hurd/setsid.c: Likewise.
3196 * sysdeps/posix/wait3.c: Likewise.
3198 * All files with FSF copyright notices: Update copyright dates
3199 using scripts/update-copyrights.
3200 * intl/plural.c: Regenerated.
3201 * locale/programs/charmap-kw.h: Likewise.
3202 * locale/programs/locfile-kw.h: Likewise.
3204 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3206 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3209 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3210 calculation loop and add branch prediction.
3212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3213 check access beyond bounds of m1np.
3215 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3217 (__inv): Remove local variable MPTWO to use the global
3219 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3220 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3222 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3223 MP3HALFS static const.
3225 2013-01-01 David S. Miller <davem@davemloft.net>
3227 * po/ca.po: Update from translation team.
3229 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3231 * scripts/update-copyrights: New file.
3232 * Makeconfig: Reformat copyright notice.
3233 * ctype/ctype.h: Likewise.
3234 * debug/swprintf_chk.c: Likewise.
3235 * elf/dl-cache.c: Likewise.
3236 * elf/dl-debug.c: Likewise.
3237 * elf/dl-object.c: Likewise.
3238 * grp/initgroups.c: Likewise.
3239 * hurd/Makefile: Likewise.
3240 * hurd/hurd/signal.h: Likewise.
3241 * hurd/hurdfault.c: Likewise.
3242 * hurd/hurdioctl.c: Likewise.
3243 * hurd/hurdlookup.c: Likewise.
3244 * hurd/intr-msg.c: Likewise.
3245 * iconv/gconv_open.c: Likewise.
3246 * libio/swprintf.c: Likewise.
3247 * locale/lc-ctype.c: Likewise.
3248 * locale/nl_langinfo.c: Likewise.
3249 * mach/Machrules: Likewise.
3250 * mach/Makefile: Likewise.
3251 * malloc/obstack.h: Likewise.
3252 * manual/Makefile: Likewise.
3253 * manual/tsort.awk: Likewise.
3254 * misc/bits/stab.def: Likewise.
3255 * nis/nis_print_group_entry.c: Likewise.
3256 * nis/nis_table.c: Likewise.
3257 * nis/nss_compat/compat-pwd.c: Likewise.
3258 * nis/nss_compat/compat-spwd.c: Likewise.
3259 * po/Makefile: Likewise.
3260 * posix/fnmatch.c: Likewise.
3261 * posix/regex.h: Likewise.
3262 * resolv/Makefile: Likewise.
3263 * resolv/nss_dns/dns-network.c: Likewise.
3264 * resolv/res_hconf.c: Likewise.
3265 * scripts/gen-sorted.awk: Likewise.
3266 * soft-fp/soft-fp.h: Likewise.
3267 * stdio-common/printf.h: Likewise.
3268 * stdlib/monetary.h: Likewise.
3269 * stdlib/random.c: Likewise.
3270 * stdlib/random_r.c: Likewise.
3271 * sysdeps/generic/Makefile: Likewise.
3272 * sysdeps/gnu/Makefile: Likewise.
3273 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3281 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3296 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3297 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3298 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3299 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3300 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3301 * sysdeps/mach/hurd/errnos.awk: Likewise.
3302 * sysdeps/mach/hurd/fork.c: Likewise.
3303 * sysdeps/mach/hurd/getcwd.c: Likewise.
3304 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3305 * sysdeps/mach/hurd/mmap.c: Likewise.
3306 * sysdeps/mach/hurd/utimes.c: Likewise.
3307 * sysdeps/mach/hurd/xmknod.c: Likewise.
3308 * sysdeps/posix/profil.c: Likewise.
3309 * sysdeps/posix/readdir_r.c: Likewise.
3310 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3311 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3312 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3313 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3315 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3316 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3317 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3319 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3320 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3321 * sysdeps/pthread/lio_listio.c: Likewise.
3322 * sysdeps/sparc/dl-procinfo.h: Likewise.
3323 * sysdeps/unix/i386/sysdep.S: Likewise.
3324 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3325 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3326 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3327 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3329 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3330 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3331 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3332 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3333 * sysdeps/wordsize-32/divdi3.c: Likewise.
3334 * time/sys/time.h: Likewise.
3335 * wcsmbs/Makefile: Likewise.
3337 2013-01-01 David S. Miller <davem@davemloft.net>
3339 * po/fr.po: Update from translation team.
3341 * catgets/gencat.c: Update copyright year.
3342 * csu/version.c: Likewise.
3343 * debug/catchsegv.sh: Likewise.
3344 * debug/pcprofiledump.c: Likewise.
3345 * debug/xtrace.sh: Likewise.
3346 * elf/ldconfig.c: Likewise.
3347 * elf/ldd.bash.in: Likewise.
3348 * elf/pldd.c: Likewise.
3349 * elf/sotruss.ksh: Likewise.
3350 * elf/sprof.c: Likewise.
3351 * iconv/iconv_prog.c: Likewise.
3352 * iconv/iconvconfig.c: Likewise.
3353 * locale/programs/locale.c: Likewise.
3354 * locale/programs/localedef.c: Likewise.
3355 * login/programs/pt_chown.c: Likewise.
3356 * malloc/memusage.sh: Likewise.
3357 * malloc/memusagestat.c: Likewise.
3358 * malloc/mtrace.pl: Likewise.
3359 * nscd/nscd.c: Likewise.
3360 * nss/getent.c: Likewise.
3361 * nss/makedb.c: Likewise.
3362 * posix/getconf.c: Likewise.
3364 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3366 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3369 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3371 * math/bits/mathcalls.h (modf): Use __nonnull.
3373 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3375 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3376 (split): Use macro CN instead of the bare value.
3377 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3380 instead of the bare value.
3383 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3387 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3389 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3391 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3392 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3393 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3394 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3396 2012-12-28 Andreas Jaeger <aj@suse.de>
3398 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3399 values are from Linux 3.7.
3401 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3402 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3404 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3406 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3409 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3411 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3412 variables with preprocessor constants.
3413 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3414 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3415 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3417 2012-12-27 Bruno Haible <bruno@clisp.org>
3420 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3423 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3426 and use variable directly.
3427 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3429 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3431 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3432 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3434 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3436 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3437 include directive. Remove local variable MPONE.
3438 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3439 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3440 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3442 2012-12-25 David S. Miller <davem@davemloft.net>
3444 * version.h (RELEASE): Set to "development".
3445 (VERSION): Set to "2.17.90".
3446 * NEWS: Add 2.18 section.
3448 2012-12-21 David S. Miller <davem@davemloft.net>
3450 * po/hr.po: Update from translation team.
3452 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3454 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3456 2012-12-19 Steve Ellcey <sellcey@mips.com>
3458 * NEWS: Mention new memcpy for MIPS.
3460 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3462 * manual/contrib.texi (Contributors): Spelling correction.
3464 2012-12-15 David S. Miller <davem@davemloft.net>
3466 * po/ru.po: Update from translation team.
3468 2012-12-13 David S. Miller <davem@davemloft.net>
3470 * NEWS: Mention IFUNC testsuite enhancements.
3472 * po/pl.po: Update from translation team.
3473 * po/bg.po: Likewise.
3475 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3476 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3478 2012-12-11 David S. Miller <davem@davemloft.net>
3480 * po/sv.po: Update from translation team.
3482 * po/vi.po: Update from translation team.
3484 * po/cs.po: Update from translation team.
3486 * po/de.po: Update from translation team.
3487 * po/eo.po: Likewise.
3488 * po/nl.po: Likewise.
3490 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3493 * manual/argp.texi (Argp Helper Functions): Move node to follow
3497 * manual/conf.texi (Limits on File System Capacity): Mention if
3498 terminating null is included in the max size.
3500 2012-12-10 Andreas Jaeger <aj@suse.de>
3502 * po/cs.po: Update from translation team.
3504 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3506 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3507 void pointer and cast to uintptr_t.
3508 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3510 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3511 * sysdeps/s390/s390-64/memset.S: Likewise.
3513 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3516 * menual/message.texi (Message Translation): Fix typos.
3517 (Helper programs for gettext): Likewise.
3519 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3522 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3525 2012-12-07 David S. Miller <davem@davemloft.net>
3527 * po/libc.pot: Update.
3529 2012-12-07 Richard Henderson <rth@redhat.com>
3532 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3533 normal/normal case to before the switch.
3534 (_FP_DIV): Likewise.
3536 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3537 Mike Frysinger <vapier@gentoo.org>
3539 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3540 check for __NR_fadvise64_64.
3542 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3544 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3545 0, not just to plain "0" as a statement.
3546 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3549 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3551 * NEWS: Use sourceware.org in Bugzilla URL.
3553 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3556 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3558 * stdio-common/tst-put-error.c (do_test): Add newline to the
3559 padded test to ensure flush.
3561 2012-12-05 Jeff Law <law@redhat.com>
3563 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3565 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3567 * README: Don't refer to ports add-on as distributed separately.
3568 Mention AArch64 in list of systems supported in the ports add-on.
3570 * LICENSES: Add more non-FSF copyright and license notices.
3572 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3575 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3577 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3578 10000 as width of padded output.
3580 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3582 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3584 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3585 variable LX with __attribute__ ((unused)).
3586 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3588 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3591 with __attribute__ ((unused)).
3593 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3595 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3597 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3599 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3600 (CFLAGS-nldbl-acos.c): New variable.
3601 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3602 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3603 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3604 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3605 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3606 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3607 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3608 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3609 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3610 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3611 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3612 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3613 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3614 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3615 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3616 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3617 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3618 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3619 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3620 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3621 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3622 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3623 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3624 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3625 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3626 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3627 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3628 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3629 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3630 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3631 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3632 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3633 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3634 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3635 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3636 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3637 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3638 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3639 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3640 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3641 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3642 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3643 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3644 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3645 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3646 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3647 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3648 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3649 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3650 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3651 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3652 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3653 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3654 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3655 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3656 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3657 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3658 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3659 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3660 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3661 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3662 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3663 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3664 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3665 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3666 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3667 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3668 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3669 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3670 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3671 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3672 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3673 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3674 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3675 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3676 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3677 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3678 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3679 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3680 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3681 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3682 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3683 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3684 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3685 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3686 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3687 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3688 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3689 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3690 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3691 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3692 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3693 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3694 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3695 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3696 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3697 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3700 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3704 whole low double instead of just low 47 bits when splitting values
3707 2012-12-03 Allan McRae <allan@archlinux.org>
3709 * manual/stdio.texi (Predefined Printf Handlers): Remove
3710 @hsep and @vsep usage.
3712 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3714 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3715 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3717 2012-12-03 Jeff Law <law@redhat.com>
3719 * time/sys/time.h (settimeofday): Do not mark TV argument
3722 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3724 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3725 when currently writing and seek to current position when not.
3726 * libio/Makefile (tests): Remove bug-fclose1.
3727 * libio/bug-fclose1.c: Delete.
3729 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3731 * manual/arith.texi (feenableexcept): Fix typo.
3732 (fedisableexcept): Likewise.
3734 2012-11-30 Roland McGrath <roland@hack.frob.com>
3736 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3737 second, differently-typed declaration, rather than a cast.
3739 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3741 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3742 * include/rpc/svc.h: ... here.
3744 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3747 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3748 depending n and resplen2 to catch cases where answer
3751 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3753 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3754 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3756 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3758 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3760 2012-11-29 Roland McGrath <roland@hack.frob.com>
3762 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3764 2012-11-28 Jeff Law <law@redhat.com>
3767 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3768 dataset_temporary. Track alloca usage into alloca_used.
3769 If dataset is large allocate and release it via malloc/free.
3771 2012-06-04 Florian Weimer <fweimer@redhat.com>
3774 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3776 2012-11-28 David S. Miller <davem@davemloft.net>
3778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3780 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3783 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3784 of pi/2 rounded to nearest to 64 bits.
3785 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3787 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3790 2012-11-28 Jeff Law <law@redhat.com>
3791 Martin Osvald <mosvald@redhat.com>
3794 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3795 * sunrpc/svc.c: Include time.h.
3796 (__svc_accept_failed): New function.
3797 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3798 any reason other than EINTR, call __svc_accept_failed.
3799 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3800 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3802 2012-11-28 Andreas Schwab <schwab@suse.de>
3804 * scripts/abilist.awk: Also handle indirect functions in .opd
3807 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3810 * sysdeps/x86/fpu/powl_helper.c: New file.
3811 * sysdeps/x86/fpu/Makefile: Likewise.
3812 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3814 (__ieee754_powl): Use __powl_helper for finite arguments except
3815 integer exponents below 8.
3816 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3818 (__ieee754_powl): Use __powl_helper for finite arguments except
3819 integer exponents below 8.
3820 * math/libm-test.inc (pow_test): Add more tests and enable some
3821 previously disabled tests.
3822 * sysdeps/i386/fpu/libm-test-ulps: Update.
3823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3825 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3826 Carlos O'Donell <carlos_odonell@mentor.com>
3828 * nss/makedb.c (is_prime): Assert that input is odd and greater
3829 than 4. Note that fact in a comment too.
3830 (next_prime): Add 4 to input.
3832 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3835 * libio/Makefile (tests): Add test case tst-fwrite-error.
3836 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3837 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3838 * libio/tst-fwrite-error.c: New test case.
3840 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3842 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3843 before casting to void *.
3844 * include/libc-internal.h (__pointer_type): New macro.
3845 (__integer_if_pointer_type_sub): Likewise.
3846 (__integer_if_pointer_type): Likewise.
3847 (cast_to_integer): Likewise.
3848 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3849 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3850 before casting to atomic64_t.
3851 (atomic_exchange_acq): Likewise.
3852 (__arch_exchange_and_add_body): Likewise.
3853 (__arch_add_body): Likewise.
3854 (atomic_add_negative): Likewise.
3855 (atomic_add_zero): Likewise.
3857 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3860 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3861 (add_fdes): Likewise.
3862 (linear_search_fdes): Likewise.
3863 (binary_search_unencoded_fdes): Likewise.
3865 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3867 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3869 2012-11-24 Adam Conrad <adconrad@0c3.net>
3871 * configure.in: Autodetect C++ header directories.
3872 * configure: Regenerated.
3874 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3876 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3878 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3882 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3884 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3885 LDBL_MANT_DIG == 106]: Disable some tests.
3886 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3888 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3892 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3893 input for small inputs. Return +/- pi/2 for large inputs.
3894 * math/libm-test.inc (atan_test): Add more tests.
3896 * sysdeps/generic/unwind-dw2-fde-glibc.c
3897 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3898 __attribute__ ((unused)).
3901 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3902 x * y if x and y are nonzero and z is zero.
3905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3906 nonzero exponents with absolute value below 0x1p-117 to +/-
3910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3911 up arguments below 2**-450, not just those below 2**-500.
3912 * math/libm-test.inc (hypot_test): Add another test.
3915 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3916 Return a+b for ratio over 2**120, not 2**60.
3917 * math/libm-test.inc (hypot_test): Add another test.
3919 * math/libm-test.inc (clog_test): Use
3920 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3921 (clog10_test): Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3926 2012-11-22 Andreas Schwab <schwab@suse.de>
3928 * sysdeps/i386/fpu/libm-test-ulps: Update.
3930 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3932 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3933 printf output with newline.
3935 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3938 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3939 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3940 -z nodlopen, -z initfirst and -z execstack support.
3941 * configure: Regenerated.
3943 * elf/elf.h (DF_1_NODIRECT): New macro.
3944 (DF_1_IGNMULDEF): Likewise.
3945 (DF_1_NOKSYMS): Likewise.
3946 (DF_1_NOHDR): Likewise.
3947 (DF_1_EDITED): Likewise.
3948 (DF_1_NORELOC): Likewise.
3949 (DF_1_SYMINTPOSE): Likewise.
3950 (DF_1_GLOBAUDIT): Likewise.
3951 (DF_1_SINGLETON): Likewise.
3952 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3953 DT_1_SUPPORTED_MASK bits.
3954 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3956 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3958 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3960 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3962 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3965 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3966 (sendmmsg): Move declarations...
3967 * socket/sys/socket.h: ... here.
3968 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3969 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3971 * socket/recvmmsg.c: ... this new file.
3972 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3973 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3974 definition of __sendmmsg hidden.
3975 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3976 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3977 Move ENOSYS stub into and include it from...
3978 * socket/sendmmsg.c: ... this new file.
3979 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3980 (sysdep_routines): Move recvmmsg and sendmmsg...
3981 * socket/Makefile (routines): ... here.
3982 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3983 (GLIBC_PRIVATE): Add __sendmmsg.
3984 * include/sys/socket.h (__sendmmsg): Add declarations.
3985 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3988 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3991 variable I1 with __attribute__ ((unused)).
3992 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3994 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3996 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3997 DUMMY variables with __attribute__ ((unused)).
3999 * bits/byteswap.h: Include <bits/types.h>.
4000 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4002 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4004 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4005 string_t. Do not manually set errno.
4006 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4007 length with __strnlen. Make sure to both set errno and return it on
4010 2012-11-19 David S. Miller <davem@davemloft.net>
4012 With help from Joseph Myers.
4013 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4014 very large arguments properly.
4015 * math/libm-test.inc (atan_test): New tests.
4016 (atan2_test): New tests.
4017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4020 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4023 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4026 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4027 [POSIX] (EADDRNOTAVAIL): Likewise.
4028 [POSIX] (EAFNOSUPPORT): Likewise.
4029 [POSIX] (EALREADY): Likewise.
4030 [POSIX] (ECONNABORTED): Likewise.
4031 [POSIX] (ECONNREFUSED): Likewise.
4032 [POSIX] (ECONNRESET): Likewise.
4033 [POSIX] (EDESTADDRREQ): Likewise.
4034 [POSIX] (EDQUOT): Likewise.
4035 [POSIX] (EHOSTUNREACH): Likewise.
4036 [POSIX] (EIDRM): Likewise.
4037 [POSIX] (EISCONN): Likewise.
4038 [POSIX] (ELOOP): Likewise.
4039 [POSIX] (EMULTIHOP): Likewise.
4040 [POSIX] (ENETDOWN): Likewise.
4041 [POSIX] (ENETUNREACH): Likewise.
4042 [POSIX] (ENOBUFS): Likewise.
4043 [POSIX] (ENODATA): Likewise.
4044 [POSIX] (ENOLINK): Likewise.
4045 [POSIX] (ENOMSG): Likewise.
4046 [POSIX] (ENOPROTOOPT): Likewise.
4047 [POSIX] (ENOSR): Likewise.
4048 [POSIX] (ENOSTR): Likewise.
4049 [POSIX] (ENOTCONN): Likewise.
4050 [POSIX] (ENOTSOCK): Likewise.
4051 [POSIX] (EOPNOTSUPP): Likewise.
4052 [POSIX] (EOVERFLOW): Likewise.
4053 [POSIX] (EPROTO): Likewise.
4054 [POSIX] (EPROTONOSUPPORT): Likewise.
4055 [POSIX] (EPROTOTYPE): Likewise.
4056 [POSIX] (ESTALE): Likewise.
4057 [POSIX] (ETIME): Likewise.
4058 [POSIX] (ETXTBSY): Likewise.
4059 [POSIX] (EWOULDBLOCK): Likewise.
4060 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4061 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4062 [POSIX] (SEEK_CUR): Likewise.
4063 [POSIX] (SEEK_END): Likewise.
4064 [POSIX || UNIX98] (mode_t): Do not require.
4065 [POSIX] (off_t): Likewise.
4066 [POSIX] (pid_t): Likewise.
4067 [POSIX] (sys/stat.h): Do not allow header.
4068 [POSIX] (unistd.h): Likewise.
4069 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4070 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4071 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4072 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4074 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4075 sigevent): Specify elements.
4076 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4078 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4079 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4081 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4082 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4083 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4084 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4085 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4086 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4087 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4088 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4089 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4090 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4091 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4092 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4093 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4094 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4096 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4098 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4100 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4102 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4103 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4104 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4105 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4106 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4107 Specify lower bound on value.
4108 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4109 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4110 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4111 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4112 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4113 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4114 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4115 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4117 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4119 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4120 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4121 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4122 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4123 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4124 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4125 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4126 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4127 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4128 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4130 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4131 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4132 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4133 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4134 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4136 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4138 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4139 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4140 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4141 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4142 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4143 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4145 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4146 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4147 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4148 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4149 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4150 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4151 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4153 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4154 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4155 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4156 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4157 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4158 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4159 specify as optional.
4160 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4161 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4162 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4163 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4164 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4165 [XPG3] (NL_LANGMAX): Likewise.
4166 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4167 [POSIX || XPG3] (NL_NMAX): Likewise.
4168 [POSIX || XPG3] (NL_SETMAX): Likewise.
4169 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4170 [XPG3] (NZERO): Likewise.
4171 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4172 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4173 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4174 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4175 (REG_ERANGE): Expect.
4176 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4178 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4179 Use (void) in prototype.
4180 [POSIX] (*_t): Allow.
4181 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4182 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4183 (WRDE_BADVAL): Expect.
4185 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4187 [XPG3 || XPG4] (O_RSYNC): Likewise.
4188 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4190 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4191 [XPG3 || XPG4] (sigqueue): Likewise.
4192 [XPG3 || XPG4] (sigtimedwait): Likewise.
4193 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4194 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4195 [XPG3 || XPG4] (vsnprintf): Likewise.
4196 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4198 [XPG3 || XPG4] (blksize_t): Likewise.
4199 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4201 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4202 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4203 [XPG3 || XPG4] (struct itimerspec): Likewise.
4204 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4205 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4206 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4207 [XPG3 || XPG4] (clockid_t): Likewise.
4208 [XPG3 || XPG4] (timer_t): Likewise.
4209 [XPG3 || XPG4] (clock_getres): Likewise.
4210 [XPG3 || XPG4] (clock_gettime): Likewise.
4211 [XPG3 || XPG4] (clock_settime): Likewise.
4212 [XPG3 || XPG4] (nanosleep): Likewise.
4213 [XPG3 || XPG4] (timer_create): Likewise.
4214 [XPG3 || XPG4] (timer_delete): Likewise.
4215 [XPG3 || XPG4] (timer_gettime): Likewise.
4216 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4217 [XPG3 || XPG4] (timer_settime): Likewise.
4218 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4219 [XPG3 || XPG4] (getlogin_r): Likewise.
4220 [XPG3 || XPG4] (pread): Likewise.
4221 [XPG3 || XPG4] (pthread_atfork): Likewise.
4222 [XPG3 || XPG4] (pwrite): Likewise.
4225 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4228 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4230 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4231 finalizing MALLSTREAM.
4233 * sysdeps/mach/hurd/syncfs.c: New file.
4235 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4238 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4239 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4240 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4241 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4242 (_nss_dns_gethostbyname4_r): Likewise.
4243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4244 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4246 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4249 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4251 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4253 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4254 * elf/cache.c (print_entry): Print ",AArch64" for
4257 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4258 * elf/cache.c (print_entry): Print ",hard-float" for
4261 2012-11-18 David S. Miller <davem@davemloft.net>
4263 With help from Joseph Myers.
4264 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4266 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4268 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4269 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4271 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4272 * math/libm-test.inc (y0_test): New tests.
4273 (y1_test): New tests.
4274 * sysdeps/i386/fpu/libm-test-ulps: Update.
4275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4278 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4280 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4282 * configure: Regenerated.
4284 2012-11-17 David S. Miller <davem@davemloft.net>
4287 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4288 nonzero exponents with absolute value below 0x1p-128 to +/-
4291 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4293 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4295 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4297 * posix/getconf-speclist.c: New file.
4298 * posix/posix-envs.def: Likewise.
4299 * posix/confstr.c (START_ENV_GROUP): New macro.
4300 (END_ENV_GROUP): Likewise.
4301 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4302 (KNOWN_PRESENT_ENV_STRING): Likewise.
4303 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4304 (UNKNOWN_ENVIRONMENT): Likewise.
4305 (confstr): Include posix-envs.def instead of handling
4306 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4307 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4308 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4309 (END_ENV_GROUP): Likewise.
4310 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4311 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4312 (UNKNOWN_ENVIRONMENT): Likewise.
4313 (__sysconf): Include posix-envs.def instead of handling associated
4314 cases directly here.
4315 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4316 preprocessing getconf-speclist.c rather than running getconf or
4317 generating empty file.
4319 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4321 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4323 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4326 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4328 2012-11-16 David S. Miller <davem@davemloft.net>
4330 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4331 smaller than LDBL_EPSILON/2.0L, just return xm1.
4333 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4335 * elf/tst-array1.c (init): Set constructor priority to 1000.
4336 (fini): Set destructor priority to 1000.
4337 * elf/tst-array2dep.c: Likewise.
4339 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4342 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4343 (_IO_new_file_xsputn): Also return EOF if none of the input
4344 data was written when overflow failed.
4345 * libio/iopadn.c (_IO_padn): Likewise.
4346 * libio/iowpadn.c (_IO_wpadn): Likewise.
4347 * stdio-common/tst-put-error.c: Add copyright notice.
4348 (do_test): Add case for printing padded string.
4349 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4350 _IO_padn returned error.
4351 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4352 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4355 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4357 * libio/libioP.h: Add comment note that the references to C++
4358 bits are now obsolete.
4360 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4362 * math/libm-test.inc (check_complex): Use asprintf.
4364 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4366 * debug/pcprofiledump.c (print_version): Update copyright year.
4367 * malloc/memusagestat.c (print_version): Likewise.
4369 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4372 * elf/Makefile (tests): Add tst-audit8.
4373 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4374 ($(objpfx)tst-audit8.out): New target.
4375 (tst-audit8-ENV): New variable.
4376 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4377 audit if l_reloc_result is NULL.
4378 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4379 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4380 * elf/tst-audit8.c: New file.
4382 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4384 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4385 * misc/Makefile (CFLAGS-select.c): Define.
4386 * posix/Makefile (CFLAGS-pause.c): Define.
4388 2012-11-13 David S. Miller <davem@davemloft.net>
4390 * crypt/Makefile: Move test targets after toplevel Rules
4391 inclusion. Grab any necessary sysdep routines when linking.
4392 * crypt/md5.c (md5_process_block): Remove define, we will always
4393 name it __md5_process_block.
4394 (md5_finish_ctx): Update md5_process_block call.
4395 (md5_stream): Likewise.
4396 (md5_process_bytes): Likewise.
4397 (md5_process_block): Rename to __md5_process_block and move to ...
4398 * crypt/md5-block.c: ... here.
4399 * crypt/sha256.c (sha256_process_block): Move to ...
4400 * crypt/sha256-block.c: ... here.
4401 * crypt/sha512.c (sha512_process_block): Move to ...
4402 * crypt/sha512-block.c: ... here.
4403 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4405 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4406 * sysdeps/sparc/sparc64/multiarch/Makefile
4407 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4409 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4410 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4412 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4413 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4414 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4415 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4416 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4417 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4418 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4419 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4420 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4422 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4423 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4425 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4427 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4429 * timezone/tzselect.ksh: Update from tzcode git revision
4430 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4431 * timezone/zdump.c: Likewise.
4432 * timezone/zic.c: Likewise.
4433 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4434 in TZVERSION setting, not $(PKGVERSION).
4435 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4436 REPORT_BUGS_TO settings.
4439 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4442 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4444 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4445 detection to immediately after _FP_ROUND().
4446 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4449 2012-11-11 David S. Miller <davem@davemloft.net>
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4453 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4454 __close rather than their public counterparts.
4456 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4458 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4460 [UNIX98] (sem_timedwait): Do not expect.
4461 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4462 [XPG4 || UNIX98] (sockatmark): Do not expect.
4463 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4464 (clock_getcpuclockid): Do not expect.
4465 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4466 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4468 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4469 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4470 [UNIX98] (vwscanf): Likewise.
4471 [UNIX98] (vswscanf): Likewise.
4473 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4475 * timezone/version.h: Remove file.
4476 * timezone/README: Do not refer to version.h.
4477 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4479 ($(objpfx)zdump.o): Likewise.
4480 ($(objpfx)version.h): New target.
4482 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4484 * timezone/README: Don't mention modification to tzselect.ksh.
4485 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4486 work on unmodified tzselect.ksh. Substitute version numbers in
4489 * Makefile (format-me): Remove.
4490 (INSTALL): Adjust indentation. Use commands directly instead of
4493 * aclocal.m4 (ACX_PKGVERSION): New macro.
4494 (ACX_BUGURL): Likewise.
4495 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4496 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4497 (REPORT_BUGS_TO): Likewise.
4498 * configure: Regenerated.
4499 * config.h.in (PKGVERSION): New macro.
4500 (REPORT_BUGS_TO): Likewise.
4501 * config.make.in (PKGVERSION): New variable.
4502 (PKGVERSION_TEXI): Likewise.
4503 (REPORT_BUGS_TO): Likewise.
4504 (REPORT_BUGS_TEXI): Likewise.
4505 * Makefile (format-me): Use -I$(common-objpfx)manual.
4506 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4507 ($(common-objpfx)manual/%): New target.
4508 (manual/%): Remove target.
4509 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4510 (print_version): Use PKGVERSION.
4511 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4512 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4514 ($(objpfx)xtrace): Likewise.
4515 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4516 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4517 (print_version): Use PKGVERSION.
4518 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4519 (do_version): Use PKGVERSION.
4520 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4522 (common-ldd-rewrite): Likewise.
4523 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4524 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4525 (print_version): Use PKGVERSION.
4526 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4527 * elf/pldd.c (argp_program_bug_address): Remove variable.
4528 (more_help): New function.
4529 (argp): Use more_help.
4530 (print_version): Use PKGVERSION.
4531 * elf/sln.c (main): Use PKGVERSION.
4532 (usage): Use REPORT_BUGS_TO.
4533 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4534 (top level): Use PKGVERSION.
4535 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4536 (print_version): Use PKGVERSION.
4537 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4538 (print_version): Use PKGVERSION.
4539 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4540 (print_version): Use PKGVERSION.
4541 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4542 (print_version): Use PKGVERSION.
4543 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4544 (print_version): Use PKGVERSION.
4545 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4546 (print_version): Use PKGVERSION.
4547 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4549 ($(objpfx)memusage): Likewise.
4550 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4551 (do_version): Use PKGVERSION.
4552 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4553 (print_version): Use PKGVERSION.
4554 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4555 ($PKGVERSION): New variable.
4556 ($REPORT_BUGS_TO): Likewise.
4557 (usage): Use $REPORT_BUGS_TO.
4558 (top level): Use $PKGVERSION.
4559 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4560 ($(objpfx)pkgvers.texi): New rule.
4561 ($(objpfx)stamp-pkgvers): Likewise.
4562 * manual/install.texi: Include pkgvers.texi.
4563 (--with-pkgversion): Document new configure option.
4564 (--with-bugurl): Likewise.
4565 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4566 than necessarily for this particular distribution. Use
4567 REPORT_BUGS_TO for where to report bugs.
4568 * INSTALL: Regenerated.
4569 * manual/libc.texinfo: Include pkgvers.texi.
4570 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4571 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4572 (print_version): Use PKGVERSION.
4573 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4574 (print_version): Use PKGVERSION.
4575 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4576 (print_version): Use PKGVERSION.
4577 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4578 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4580 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4581 (print_version): Use PKGVERSION.
4582 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4583 (print_version): Use PKGVERSION.
4584 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4587 * timezone/checktab.awk: Update from tzcode 2012i.
4588 * timezone/ialloc.c: Likewise.
4589 * timezone/private.h: Likewise.
4590 * timezone/scheck.c: Likewise.
4591 * timezone/tzfile.h: Likewise.
4592 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4593 (TZVERSION): Hardcode tzcode version number.
4594 * timezone/zdump.c: Update from tzcode 2012i.
4595 * timezone/zic.c: Likewise.
4596 * timezone/version.h: New file.
4597 * timezone/README: Describe version.h. Update upstream location.
4600 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4601 (mktemp): Enable declaration.
4602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4604 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4611 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4613 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4619 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4620 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4621 for copies of such integer values.
4622 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4623 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4625 2012-11-09 Andreas Jaeger <aj@suse.de>
4627 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4628 definitions and declarations that are provided by
4629 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4631 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4633 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4634 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4635 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4638 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4640 * elf/elf.h: Update comment before AArch64 relocations.
4642 2012-11-07 David S. Miller <davem@davemloft.net>
4644 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4645 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4646 (__start_context): Declare.
4647 (__makecontext_ret): Delete.
4648 (__makecontext): Hook up __start_context instead of
4650 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4651 (sysdep_routines): Add __start_context when in stdlib.
4653 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4655 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4656 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4657 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4659 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4660 (READELF): New variable. Use it instead of hardcoded "readelf".
4662 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4664 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4665 * sysdeps/x86/Makefile: Here.
4666 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4667 * sysdeps/x86/tst-xmmymm.sh: This.
4669 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4671 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4673 [UNIX98] (pthread_barrier_t): Do not expect.
4674 [UNIX98] (pthread_barrierattr_t): Likewise.
4675 [UNIX98] (pthread_spinlock_t): Likewise.
4676 [UNIX98] (pthread_barrier_destroy): Likewise.
4677 [UNIX98] (pthread_barrier_init): Likewise.
4678 [UNIX98] (pthread_barrier_wait): Likewise.
4679 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4680 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4681 [UNIX98] (pthread_barrierattr_init): Likewise.
4682 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4683 [UNIX98] (pthread_getcpuclockid): Likewise.
4684 [UNIX98] (pthread_mutex_timedlock): Likewise.
4685 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4686 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4687 [UNIX98] (pthread_sigmask): Likewise.
4688 [UNIX98] (pthread_spin_destroy): Likewise.
4689 [UNIX98] (pthread_spin_init): Likewise.
4690 [UNIX98] (pthread_spin_lock): Likewise.
4691 [UNIX98] (pthread_spin_trylock): Likewise.
4692 [UNIX98] (pthread_spin_unlock): Likewise.
4693 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4695 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4696 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4697 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4698 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4699 [XPG3 || XPG4] (pthread_key_t): Likewise.
4700 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4701 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4702 [XPG3 || XPG4] (pthread_once_t): Likewise.
4703 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4704 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4705 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4706 [XPG3 || XPG4] (pthread_t): Likewise.
4708 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4710 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4712 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4713 Change function return type to int.
4715 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4716 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4717 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4718 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4719 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4720 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4721 [!POSIX] (posix_madvise): Likewise.
4722 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4724 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4725 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4727 (posix_mem_offset): Likewise.
4728 (posix_typed_mem_get_info): Likewise.
4729 (posix_typed_mem_open): Likewise.
4731 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4732 Change condition to [XOPEN2K8].
4734 * conform/conformtest.pl: Preprocess allow-header data with -x c
4735 instead of from stdin.
4736 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4737 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4738 [C99-based standards] (cerfc): Likewise.
4739 [C99-based standards] (cexp2): Likewise.
4740 [C99-based standards] (cexpm1): Likewise.
4741 [C99-based standards] (clog10): Likewise.
4742 [C99-based standards] (clog1p): Likewise.
4743 [C99-based standards] (clog2): Likewise.
4744 [C99-based standards] (clgamma): Likewise.
4745 [C99-based standards] (ctgamma): Likewise.
4746 [C99-based standards] (cerff): Likewise.
4747 [C99-based standards] (cerfcf): Likewise.
4748 [C99-based standards] (cexp2f): Likewise.
4749 [C99-based standards] (cexpm1f): Likewise.
4750 [C99-based standards] (clog10f): Likewise.
4751 [C99-based standards] (clog1pf): Likewise.
4752 [C99-based standards] (clog2f): Likewise.
4753 [C99-based standards] (clgammaf): Likewise.
4754 [C99-based standards] (ctgammaf): Likewise.
4755 [C99-based standards] (cerfl): Likewise.
4756 [C99-based standards] (cerfcl): Likewise.
4757 [C99-based standards] (cexp2l): Likewise.
4758 [C99-based standards] (cexpm1l): Likewise.
4759 [C99-based standards] (clog10l): Likewise.
4760 [C99-based standards] (clog1pl): Likewise.
4761 [C99-based standards] (clog2l): Likewise.
4762 [C99-based standards] (clgammal): Likewise.
4763 [C99-based standards] (ctgammal): Likewise.
4764 * conform/data/inttypes.h-data [C99-based standards]: Include
4765 stdint.h-data. Remove all expectations for stdint.h contents.
4766 [C99-based standards] (PRI*): Do not allow.
4767 [C99-based standards] (SCN*): Likewise.
4768 [C99-based standards] (*_t): Likewise.
4769 [C99-based-standards] (PRId8): Expect macro.
4770 [C99-based-standards] (PRIi8): Likewise.
4771 [C99-based-standards] (PRIo8): Likewise.
4772 [C99-based-standards] (PRIu8): Likewise.
4773 [C99-based-standards] (PRIx8): Likewise.
4774 [C99-based-standards] (PRIX8): Likewise.
4775 [C99-based-standards] (SCNd8): Likewise.
4776 [C99-based-standards] (SCNi8): Likewise.
4777 [C99-based-standards] (SCNo8): Likewise.
4778 [C99-based-standards] (SCNu8): Likewise.
4779 [C99-based-standards] (SCNx8): Likewise.
4780 [C99-based-standards] (PRIdLEAST8): Likewise.
4781 [C99-based-standards] (PRIiLEAST8): Likewise.
4782 [C99-based-standards] (PRIoLEAST8): Likewise.
4783 [C99-based-standards] (PRIuLEAST8): Likewise.
4784 [C99-based-standards] (PRIxLEAST8): Likewise.
4785 [C99-based-standards] (PRIXLEAST8): Likewise.
4786 [C99-based-standards] (SCNdLEAST8): Likewise.
4787 [C99-based-standards] (SCNiLEAST8): Likewise.
4788 [C99-based-standards] (SCNoLEAST8): Likewise.
4789 [C99-based-standards] (SCNuLEAST8): Likewise.
4790 [C99-based-standards] (SCNxLEAST8): Likewise.
4791 [C99-based-standards] (PRIdFAST8): Likewise.
4792 [C99-based-standards] (PRIiFAST8): Likewise.
4793 [C99-based-standards] (PRIoFAST8): Likewise.
4794 [C99-based-standards] (PRIuFAST8): Likewise.
4795 [C99-based-standards] (PRIxFAST8): Likewise.
4796 [C99-based-standards] (PRIXFAST8): Likewise.
4797 [C99-based-standards] (SCNdFAST8): Likewise.
4798 [C99-based-standards] (SCNiFAST8): Likewise.
4799 [C99-based-standards] (SCNoFAST8): Likewise.
4800 [C99-based-standards] (SCNuFAST8): Likewise.
4801 [C99-based-standards] (SCNxFAST8): Likewise.
4802 [C99-based-standards] (PRId16): Likewise.
4803 [C99-based-standards] (PRIi16): Likewise.
4804 [C99-based-standards] (PRIo16): Likewise.
4805 [C99-based-standards] (PRIu16): Likewise.
4806 [C99-based-standards] (PRIx16): Likewise.
4807 [C99-based-standards] (PRIX16): Likewise.
4808 [C99-based-standards] (SCNd16): Likewise.
4809 [C99-based-standards] (SCNi16): Likewise.
4810 [C99-based-standards] (SCNo16): Likewise.
4811 [C99-based-standards] (SCNu16): Likewise.
4812 [C99-based-standards] (SCNx16): Likewise.
4813 [C99-based-standards] (PRIdLEAST16): Likewise.
4814 [C99-based-standards] (PRIiLEAST16): Likewise.
4815 [C99-based-standards] (PRIoLEAST16): Likewise.
4816 [C99-based-standards] (PRIuLEAST16): Likewise.
4817 [C99-based-standards] (PRIxLEAST16): Likewise.
4818 [C99-based-standards] (PRIXLEAST16): Likewise.
4819 [C99-based-standards] (SCNdLEAST16): Likewise.
4820 [C99-based-standards] (SCNiLEAST16): Likewise.
4821 [C99-based-standards] (SCNoLEAST16): Likewise.
4822 [C99-based-standards] (SCNuLEAST16): Likewise.
4823 [C99-based-standards] (SCNxLEAST16): Likewise.
4824 [C99-based-standards] (PRIdFAST16): Likewise.
4825 [C99-based-standards] (PRIiFAST16): Likewise.
4826 [C99-based-standards] (PRIoFAST16): Likewise.
4827 [C99-based-standards] (PRIuFAST16): Likewise.
4828 [C99-based-standards] (PRIxFAST16): Likewise.
4829 [C99-based-standards] (PRIXFAST16): Likewise.
4830 [C99-based-standards] (SCNdFAST16): Likewise.
4831 [C99-based-standards] (SCNiFAST16): Likewise.
4832 [C99-based-standards] (SCNoFAST16): Likewise.
4833 [C99-based-standards] (SCNuFAST16): Likewise.
4834 [C99-based-standards] (SCNxFAST16): Likewise.
4835 [C99-based-standards] (PRId32): Likewise.
4836 [C99-based-standards] (PRIi32): Likewise.
4837 [C99-based-standards] (PRIo32): Likewise.
4838 [C99-based-standards] (PRIu32): Likewise.
4839 [C99-based-standards] (PRIx32): Likewise.
4840 [C99-based-standards] (PRIX32): Likewise.
4841 [C99-based-standards] (SCNd32): Likewise.
4842 [C99-based-standards] (SCNi32): Likewise.
4843 [C99-based-standards] (SCNo32): Likewise.
4844 [C99-based-standards] (SCNu32): Likewise.
4845 [C99-based-standards] (SCNx32): Likewise.
4846 [C99-based-standards] (PRIdLEAST32): Likewise.
4847 [C99-based-standards] (PRIiLEAST32): Likewise.
4848 [C99-based-standards] (PRIoLEAST32): Likewise.
4849 [C99-based-standards] (PRIuLEAST32): Likewise.
4850 [C99-based-standards] (PRIxLEAST32): Likewise.
4851 [C99-based-standards] (PRIXLEAST32): Likewise.
4852 [C99-based-standards] (SCNdLEAST32): Likewise.
4853 [C99-based-standards] (SCNiLEAST32): Likewise.
4854 [C99-based-standards] (SCNoLEAST32): Likewise.
4855 [C99-based-standards] (SCNuLEAST32): Likewise.
4856 [C99-based-standards] (SCNxLEAST32): Likewise.
4857 [C99-based-standards] (PRIdFAST32): Likewise.
4858 [C99-based-standards] (PRIiFAST32): Likewise.
4859 [C99-based-standards] (PRIoFAST32): Likewise.
4860 [C99-based-standards] (PRIuFAST32): Likewise.
4861 [C99-based-standards] (PRIxFAST32): Likewise.
4862 [C99-based-standards] (PRIXFAST32): Likewise.
4863 [C99-based-standards] (SCNdFAST32): Likewise.
4864 [C99-based-standards] (SCNiFAST32): Likewise.
4865 [C99-based-standards] (SCNoFAST32): Likewise.
4866 [C99-based-standards] (SCNuFAST32): Likewise.
4867 [C99-based-standards] (SCNxFAST32): Likewise.
4868 [C99-based-standards] (PRId64): Likewise.
4869 [C99-based-standards] (PRIi64): Likewise.
4870 [C99-based-standards] (PRIo64): Likewise.
4871 [C99-based-standards] (PRIu64): Likewise.
4872 [C99-based-standards] (PRIx64): Likewise.
4873 [C99-based-standards] (PRIX64): Likewise.
4874 [C99-based-standards] (SCNd64): Likewise.
4875 [C99-based-standards] (SCNi64): Likewise.
4876 [C99-based-standards] (SCNo64): Likewise.
4877 [C99-based-standards] (SCNu64): Likewise.
4878 [C99-based-standards] (SCNx64): Likewise.
4879 [C99-based-standards] (PRIdLEAST64): Likewise.
4880 [C99-based-standards] (PRIiLEAST64): Likewise.
4881 [C99-based-standards] (PRIoLEAST64): Likewise.
4882 [C99-based-standards] (PRIuLEAST64): Likewise.
4883 [C99-based-standards] (PRIxLEAST64): Likewise.
4884 [C99-based-standards] (PRIXLEAST64): Likewise.
4885 [C99-based-standards] (SCNdLEAST64): Likewise.
4886 [C99-based-standards] (SCNiLEAST64): Likewise.
4887 [C99-based-standards] (SCNoLEAST64): Likewise.
4888 [C99-based-standards] (SCNuLEAST64): Likewise.
4889 [C99-based-standards] (SCNxLEAST64): Likewise.
4890 [C99-based-standards] (PRIdFAST64): Likewise.
4891 [C99-based-standards] (PRIiFAST64): Likewise.
4892 [C99-based-standards] (PRIoFAST64): Likewise.
4893 [C99-based-standards] (PRIuFAST64): Likewise.
4894 [C99-based-standards] (PRIxFAST64): Likewise.
4895 [C99-based-standards] (PRIXFAST64): Likewise.
4896 [C99-based-standards] (SCNdFAST64): Likewise.
4897 [C99-based-standards] (SCNiFAST64): Likewise.
4898 [C99-based-standards] (SCNoFAST64): Likewise.
4899 [C99-based-standards] (SCNuFAST64): Likewise.
4900 [C99-based-standards] (SCNxFAST64): Likewise.
4901 [C99-based-standards] (PRIdMAX): Likewise.
4902 [C99-based-standards] (PRIiMAX): Likewise.
4903 [C99-based-standards] (PRIoMAX): Likewise.
4904 [C99-based-standards] (PRIuMAX): Likewise.
4905 [C99-based-standards] (PRIxMAX): Likewise.
4906 [C99-based-standards] (PRIXMAX): Likewise.
4907 [C99-based-standards] (SCNdMAX): Likewise.
4908 [C99-based-standards] (SCNiMAX): Likewise.
4909 [C99-based-standards] (SCNoMAX): Likewise.
4910 [C99-based-standards] (SCNuMAX): Likewise.
4911 [C99-based-standards] (SCNxMAX): Likewise.
4912 [C99-based-standards] (PRIdPTR): Likewise.
4913 [C99-based-standards] (PRIiPTR): Likewise.
4914 [C99-based-standards] (PRIoPTR): Likewise.
4915 [C99-based-standards] (PRIuPTR): Likewise.
4916 [C99-based-standards] (PRIxPTR): Likewise.
4917 [C99-based-standards] (PRIXPTR): Likewise.
4918 [C99-based-standards] (SCNdPTR): Likewise.
4919 [C99-based-standards] (SCNiPTR): Likewise.
4920 [C99-based-standards] (SCNoPTR): Likewise.
4921 [C99-based-standards] (SCNuPTR): Likewise.
4922 [C99-based-standards] (SCNxPTR): Likewise.
4923 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4925 * conform/data/stdint.h-data: Update comments to clarify
4927 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4929 [C99-based standards] (INT8_MAX): Likewise.
4930 [C99-based standards] (INT16_MIN): Likewise.
4931 [C99-based standards] (INT16_MAX): Likewise.
4932 [C99-based standards] (INT32_MIN): Likewise.
4933 [C99-based standards] (INT32_MAX): Likewise.
4934 [C99-based standards] (INT64_MIN): Likewise.
4935 [C99-based standards] (INT64_MAX): Likewise.
4936 [C99-based standards] (UINT8_MAX): Likewise.
4937 [C99-based standards] (UINT16_MAX): Likewise.
4938 [C99-based standards] (UINT32_MAX): Likewise.
4939 [C99-based standards] (UINT64_MAX): Likewise.
4940 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4941 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4942 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4943 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4944 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4945 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4946 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4947 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4948 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4949 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4950 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4951 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4952 [C99-based standards] (INT_FAST8_MIN): Likewise.
4953 [C99-based standards] (INT_FAST8_MAX): Likewise.
4954 [C99-based standards] (INT_FAST16_MIN): Likewise.
4955 [C99-based standards] (INT_FAST16_MAX): Likewise.
4956 [C99-based standards] (INT_FAST32_MIN): Likewise.
4957 [C99-based standards] (INT_FAST32_MAX): Likewise.
4958 [C99-based standards] (INT_FAST64_MIN): Likewise.
4959 [C99-based standards] (INT_FAST64_MAX): Likewise.
4960 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4961 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4962 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4963 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4964 [C99-based standards] (INTPTR_MIN): Likewise.
4965 [C99-based standards] (INTPTR_MAX): Likewise.
4966 [C99-based standards] (UINTPTR_MAX): Likewise.
4967 [C99-based standards] (INTMAX_MIN): Likewise.
4968 [C99-based standards] (INTMAX_MAX): Likewise.
4969 [C99-based standards] (UINTMAX_MAX): Likewise.
4970 [C99-based standards] (PTRDIFF_MIN): Likewise.
4971 [C99-based standards] (PTRDIFF_MAX): Likewise.
4972 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4973 [C99-based standards] (SIZE_MAX): Likewise.
4974 [C99-based standards] (WCHAR_MAX): Likewise.
4975 [C99-based standards] (WINT_MAX): Likewise.
4976 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4977 constraint on value.
4978 [C99-based standards] (WCHAR_MIN): Likewise.
4979 [C99-based standards] (WINT_MIN): Likewise.
4980 [C99-based standards] (*_t): Allow.
4981 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4982 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4983 Include math.h-data and complex.h-data. Remove all expectations
4984 of math.h and complex.h contents.
4985 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4987 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4988 (struct tm): Expect tag.
4989 [C99-based-standards] (wcstof): Expect function.
4990 [C99-based-standards] (wcstold): Likewise.
4991 [C99-based-standards] (wcstoll): Likewise.
4992 [C99-based-standards] (wcstoull): Likewise.
4993 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4994 macro-int-constant. Specify type.
4995 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4996 constraint on value.
4997 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4999 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5001 [ISO C standards]: Do not allow headers.
5002 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5003 wcs[abcdefghijklmnopqrstuvwxyz]*.
5004 [ISO C standards] (*_t): Do not allow.
5005 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5007 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5008 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5010 [ISO C standards]: Do not allow headers.
5011 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5012 is[abcdefghijklmnopqrstuvwxyz]*.
5013 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5014 to[abcdefghijklmnopqrstuvwxyz]*.
5015 [ISO C standards] (*_t): Do not allow.
5016 * conform/data/stdalign.h-data: New file.
5017 * conform/data/stdbool.h-data: Likewise.
5018 * conform/data/stdnoreturn.h-data: Likewise.
5020 2012-11-07 Roland McGrath <roland@hack.frob.com>
5023 * manual/filesys.texi (Directory Entries): Typo fix.
5024 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5026 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5028 * elf/elf.h (EM_AARCH64): New macro.
5029 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5030 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5031 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5032 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5033 (R_AARCH64_TLSDESC): Likewise.
5034 (NT_ARM_TLS): Likewise.
5035 (NT_ARM_HW_BREAK): Likewise.
5036 (NT_ARM_HW_WATCH): Likewise.
5038 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5041 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5042 (__ieee754_powl): Saturate nonzero exponents with absolute value
5043 below 0x1p-79 to +/- 0x1p-79.
5044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5045 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5046 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5047 nonzero exponents with absolute value below 0x1p-32 to +/-
5049 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5050 (__ieee754_powl): Saturate nonzero exponents with absolute value
5051 below 0x1p-79 to +/- 0x1p-79.
5052 * math/libm-test.inc (pow_test): Add more tests.
5054 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5056 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5057 _dl_s390_cap_flags with kernel. Increase string length.
5058 (_dl_s390_platforms): Add z196 and zEC12.
5060 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5062 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5063 Change XOPEN21K to XOPEN2K.
5065 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5067 * string/memmove.c: Use memcpy when possible.
5069 2012-11-06 Andreas Jaeger <aj@suse.de>
5071 * po/eo.po: Update from translation team.
5073 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5077 exponent and small x and y exponents, scale x or y up. Increase
5078 by 2 the exponent used in scaling up.
5079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5081 * math/libm-test.inc (fma_test): Add more tests.
5082 (fma_test_towardzero): Likewise.
5083 (fma_test_downward): Likewise.
5084 (fma_test_upward): Likewise.
5086 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5089 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5093 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5094 namespace for names of struct fields.
5095 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5097 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5098 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5100 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5103 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5105 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5107 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5111 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5114 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5118 definitely overflow as x * y not x * y + z.
5119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5121 * math/libm-test.inc (fma_test): Add more tests.
5122 (fma_test_towardzero): Likewise.
5123 (fma_test_downward): Likewise.
5124 (fma_test_upward): Likewise.
5126 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5130 * include/stub-tag.h: Remove file.
5131 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5133 * manual/maint.texi (Porting): Don't reference it.
5134 * Makerules ($(objpfx)stubs): Likewise.
5135 * dirent/closedir.c: Don't include <stub-tag.h>.
5136 * dirent/dirfd.c: Likewise.
5137 * dirent/fdopendir.c: Likewise.
5138 * dirent/getdents.c: Likewise.
5139 * dirent/getdents64.c: Likewise.
5140 * dirent/opendir.c: Likewise.
5141 * dirent/readdir.c: Likewise.
5142 * dirent/readdir64.c: Likewise.
5143 * dirent/readdir64_r.c: Likewise.
5144 * dirent/readdir_r.c: Likewise.
5145 * dirent/rewinddir.c: Likewise.
5146 * dirent/seekdir.c: Likewise.
5147 * dirent/telldir.c: Likewise.
5148 * gmon/profil.c: Likewise.
5149 * grp/setgroups.c: Likewise.
5150 * inet/if_index.c: Likewise.
5151 * io/access.c: Likewise.
5152 * io/chdir.c: Likewise.
5153 * io/chmod.c: Likewise.
5154 * io/chown.c: Likewise.
5155 * io/close.c: Likewise.
5156 * io/dup.c: Likewise.
5157 * io/dup2.c: Likewise.
5158 * io/dup3.c: Likewise.
5159 * io/euidaccess.c: Likewise.
5160 * io/faccessat.c: Likewise.
5161 * io/fchdir.c: Likewise.
5162 * io/fchmod.c: Likewise.
5163 * io/fchmodat.c: Likewise.
5164 * io/fchown.c: Likewise.
5165 * io/fchownat.c: Likewise.
5166 * io/fcntl.c: Likewise.
5167 * io/flock.c: Likewise.
5168 * io/fstatfs.c: Likewise.
5169 * io/fstatfs64.c: Likewise.
5170 * io/fstatvfs.c: Likewise.
5171 * io/fstatvfs64.c: Likewise.
5172 * io/futimens.c: Likewise.
5173 * io/fxstat.c: Likewise.
5174 * io/fxstat64.c: Likewise.
5175 * io/fxstatat.c: Likewise.
5176 * io/fxstatat64.c: Likewise.
5177 * io/getcwd.c: Likewise.
5178 * io/isatty.c: Likewise.
5179 * io/lchmod.c: Likewise.
5180 * io/lchown.c: Likewise.
5181 * io/link.c: Likewise.
5182 * io/linkat.c: Likewise.
5183 * io/lseek.c: Likewise.
5184 * io/lseek64.c: Likewise.
5185 * io/lxstat64.c: Likewise.
5186 * io/mkdir.c: Likewise.
5187 * io/mkdirat.c: Likewise.
5188 * io/mkfifo.c: Likewise.
5189 * io/mkfifoat.c: Likewise.
5190 * io/open.c: Likewise.
5191 * io/open64.c: Likewise.
5192 * io/openat.c: Likewise.
5193 * io/openat64.c: Likewise.
5194 * io/pipe.c: Likewise.
5195 * io/pipe2.c: Likewise.
5196 * io/poll.c: Likewise.
5197 * io/posix_fadvise.c: Likewise.
5198 * io/posix_fadvise64.c: Likewise.
5199 * io/posix_fallocate.c: Likewise.
5200 * io/posix_fallocate64.c: Likewise.
5201 * io/read.c: Likewise.
5202 * io/readlink.c: Likewise.
5203 * io/readlinkat.c: Likewise.
5204 * io/rmdir.c: Likewise.
5205 * io/sendfile.c: Likewise.
5206 * io/sendfile64.c: Likewise.
5207 * io/statfs.c: Likewise.
5208 * io/statfs64.c: Likewise.
5209 * io/statvfs.c: Likewise.
5210 * io/statvfs64.c: Likewise.
5211 * io/symlink.c: Likewise.
5212 * io/symlinkat.c: Likewise.
5213 * io/ttyname.c: Likewise.
5214 * io/ttyname_r.c: Likewise.
5215 * io/umask.c: Likewise.
5216 * io/unlink.c: Likewise.
5217 * io/unlinkat.c: Likewise.
5218 * io/utime.c: Likewise.
5219 * io/utimensat.c: Likewise.
5220 * io/write.c: Likewise.
5221 * io/xmknod.c: Likewise.
5222 * io/xmknodat.c: Likewise.
5223 * io/xstat.c: Likewise.
5224 * io/xstat64.c: Likewise.
5225 * login/getpt.c: Likewise.
5226 * login/grantpt.c: Likewise.
5227 * login/unlockpt.c: Likewise.
5228 * math/e_acoshl.c: Likewise.
5229 * math/e_acosl.c: Likewise.
5230 * math/e_asinl.c: Likewise.
5231 * math/e_atan2l.c: Likewise.
5232 * math/e_atanhl.c: Likewise.
5233 * math/e_coshl.c: Likewise.
5234 * math/e_expl.c: Likewise.
5235 * math/e_fmodl.c: Likewise.
5236 * math/e_gammal_r.c: Likewise.
5237 * math/e_hypotl.c: Likewise.
5238 * math/e_j0l.c: Likewise.
5239 * math/e_j1l.c: Likewise.
5240 * math/e_jnl.c: Likewise.
5241 * math/e_lgammal_r.c: Likewise.
5242 * math/e_log10l.c: Likewise.
5243 * math/e_log2l.c: Likewise.
5244 * math/e_logl.c: Likewise.
5245 * math/e_powl.c: Likewise.
5246 * math/e_rem_pio2l.c: Likewise.
5247 * math/e_sinhl.c: Likewise.
5248 * math/e_sqrtl.c: Likewise.
5249 * math/fclrexcpt.c: Likewise.
5250 * math/fedisblxcpt.c: Likewise.
5251 * math/feenablxcpt.c: Likewise.
5252 * math/fegetenv.c: Likewise.
5253 * math/fegetexcept.c: Likewise.
5254 * math/fegetround.c: Likewise.
5255 * math/feholdexcpt.c: Likewise.
5256 * math/fesetenv.c: Likewise.
5257 * math/fesetround.c: Likewise.
5258 * math/feupdateenv.c: Likewise.
5259 * math/fgetexcptflg.c: Likewise.
5260 * math/fraiseexcpt.c: Likewise.
5261 * math/fsetexcptflg.c: Likewise.
5262 * math/ftestexcept.c: Likewise.
5263 * math/k_cosl.c: Likewise.
5264 * math/k_rem_pio2l.c: Likewise.
5265 * math/k_sinl.c: Likewise.
5266 * math/k_tanl.c: Likewise.
5267 * math/s_asinhl.c: Likewise.
5268 * math/s_atanl.c: Likewise.
5269 * math/s_cbrtl.c: Likewise.
5270 * math/s_erfl.c: Likewise.
5271 * math/s_expm1l.c: Likewise.
5272 * math/s_log1pl.c: Likewise.
5273 * math/s_tanhl.c: Likewise.
5274 * misc/acct.c: Likewise.
5275 * misc/brk.c: Likewise.
5276 * misc/chflags.c: Likewise.
5277 * misc/chroot.c: Likewise.
5278 * misc/fchflags.c: Likewise.
5279 * misc/fgetxattr.c: Likewise.
5280 * misc/flistxattr.c: Likewise.
5281 * misc/fremovexattr.c: Likewise.
5282 * misc/fsetxattr.c: Likewise.
5283 * misc/fsync.c: Likewise.
5284 * misc/ftruncate.c: Likewise.
5285 * misc/futimes.c: Likewise.
5286 * misc/futimesat.c: Likewise.
5287 * misc/getdomain.c: Likewise.
5288 * misc/getdtsz.c: Likewise.
5289 * misc/gethostid.c: Likewise.
5290 * misc/gethostname.c: Likewise.
5291 * misc/getloadavg.c: Likewise.
5292 * misc/getpagesize.c: Likewise.
5293 * misc/getsysstats.c: Likewise.
5294 * misc/getxattr.c: Likewise.
5295 * misc/gtty.c: Likewise.
5296 * misc/ioctl.c: Likewise.
5297 * misc/lgetxattr.c: Likewise.
5298 * misc/listxattr.c: Likewise.
5299 * misc/llistxattr.c: Likewise.
5300 * misc/lremovexattr.c: Likewise.
5301 * misc/lsetxattr.c: Likewise.
5302 * misc/lutimes.c: Likewise.
5303 * misc/madvise.c: Likewise.
5304 * misc/mincore.c: Likewise.
5305 * misc/mlock.c: Likewise.
5306 * misc/mlockall.c: Likewise.
5307 * misc/mmap.c: Likewise.
5308 * misc/mprotect.c: Likewise.
5309 * misc/msync.c: Likewise.
5310 * misc/munlock.c: Likewise.
5311 * misc/munlockall.c: Likewise.
5312 * misc/munmap.c: Likewise.
5313 * misc/preadv.c: Likewise.
5314 * misc/preadv64.c: Likewise.
5315 * misc/ptrace.c: Likewise.
5316 * misc/pwritev.c: Likewise.
5317 * misc/pwritev64.c: Likewise.
5318 * misc/readv.c: Likewise.
5319 * misc/reboot.c: Likewise.
5320 * misc/remap_file_pages.c: Likewise.
5321 * misc/removexattr.c: Likewise.
5322 * misc/revoke.c: Likewise.
5323 * misc/select.c: Likewise.
5324 * misc/setdomain.c: Likewise.
5325 * misc/setegid.c: Likewise.
5326 * misc/seteuid.c: Likewise.
5327 * misc/sethostid.c: Likewise.
5328 * misc/sethostname.c: Likewise.
5329 * misc/setregid.c: Likewise.
5330 * misc/setreuid.c: Likewise.
5331 * misc/setxattr.c: Likewise.
5332 * misc/sstk.c: Likewise.
5333 * misc/stty.c: Likewise.
5334 * misc/swapoff.c: Likewise.
5335 * misc/swapon.c: Likewise.
5336 * misc/sync.c: Likewise.
5337 * misc/syncfs.c: Likewise.
5338 * misc/syscall.c: Likewise.
5339 * misc/truncate.c: Likewise.
5340 * misc/ualarm.c: Likewise.
5341 * misc/usleep.c: Likewise.
5342 * misc/ustat.c: Likewise.
5343 * misc/utimes.c: Likewise.
5344 * misc/vhangup.c: Likewise.
5345 * misc/writev.c: Likewise.
5346 * posix/_exit.c: Likewise.
5347 * posix/alarm.c: Likewise.
5348 * posix/execve.c: Likewise.
5349 * posix/fexecve.c: Likewise.
5350 * posix/fork.c: Likewise.
5351 * posix/fpathconf.c: Likewise.
5352 * posix/getaddrinfo.c: Likewise.
5353 * posix/getegid.c: Likewise.
5354 * posix/geteuid.c: Likewise.
5355 * posix/getgid.c: Likewise.
5356 * posix/getgroups.c: Likewise.
5357 * posix/getlogin.c: Likewise.
5358 * posix/getlogin_r.c: Likewise.
5359 * posix/getpgid.c: Likewise.
5360 * posix/getpid.c: Likewise.
5361 * posix/getppid.c: Likewise.
5362 * posix/getresgid.c: Likewise.
5363 * posix/getresuid.c: Likewise.
5364 * posix/getsid.c: Likewise.
5365 * posix/getuid.c: Likewise.
5366 * posix/glob64.c: Likewise.
5367 * posix/nanosleep.c: Likewise.
5368 * posix/pathconf.c: Likewise.
5369 * posix/pause.c: Likewise.
5370 * posix/posix_madvise.c: Likewise.
5371 * posix/pread.c: Likewise.
5372 * posix/pread64.c: Likewise.
5373 * posix/pwrite.c: Likewise.
5374 * posix/pwrite64.c: Likewise.
5375 * posix/sched_getaffinity.c: Likewise.
5376 * posix/sched_getp.c: Likewise.
5377 * posix/sched_gets.c: Likewise.
5378 * posix/sched_primax.c: Likewise.
5379 * posix/sched_primin.c: Likewise.
5380 * posix/sched_rr_gi.c: Likewise.
5381 * posix/sched_setaffinity.c: Likewise.
5382 * posix/sched_setp.c: Likewise.
5383 * posix/sched_sets.c: Likewise.
5384 * posix/sched_yield.c: Likewise.
5385 * posix/setgid.c: Likewise.
5386 * posix/setlogin.c: Likewise.
5387 * posix/setpgid.c: Likewise.
5388 * posix/setresgid.c: Likewise.
5389 * posix/setresuid.c: Likewise.
5390 * posix/setsid.c: Likewise.
5391 * posix/setuid.c: Likewise.
5392 * posix/sleep.c: Likewise.
5393 * posix/spawni.c: Likewise.
5394 * posix/sysconf.c: Likewise.
5395 * posix/times.c: Likewise.
5396 * posix/wait.c: Likewise.
5397 * posix/wait3.c: Likewise.
5398 * posix/wait4.c: Likewise.
5399 * posix/waitpid.c: Likewise.
5400 * resolv/gai_sigqueue.c: Likewise.
5401 * resource/getpriority.c: Likewise.
5402 * resource/getrlimit.c: Likewise.
5403 * resource/getrusage.c: Likewise.
5404 * resource/nice.c: Likewise.
5405 * resource/setpriority.c: Likewise.
5406 * resource/setrlimit.c: Likewise.
5407 * resource/ulimit.c: Likewise.
5408 * rt/aio_cancel.c: Likewise.
5409 * rt/aio_fsync.c: Likewise.
5410 * rt/aio_read.c: Likewise.
5411 * rt/aio_sigqueue.c: Likewise.
5412 * rt/aio_suspend.c: Likewise.
5413 * rt/aio_write.c: Likewise.
5414 * rt/clock_getres.c: Likewise.
5415 * rt/clock_gettime.c: Likewise.
5416 * rt/clock_nanosleep.c: Likewise.
5417 * rt/clock_settime.c: Likewise.
5418 * rt/lio_listio.c: Likewise.
5419 * rt/mq_close.c: Likewise.
5420 * rt/mq_getattr.c: Likewise.
5421 * rt/mq_notify.c: Likewise.
5422 * rt/mq_open.c: Likewise.
5423 * rt/mq_receive.c: Likewise.
5424 * rt/mq_send.c: Likewise.
5425 * rt/mq_setattr.c: Likewise.
5426 * rt/mq_timedreceive.c: Likewise.
5427 * rt/mq_timedsend.c: Likewise.
5428 * rt/mq_unlink.c: Likewise.
5429 * rt/shm_open.c: Likewise.
5430 * rt/shm_unlink.c: Likewise.
5431 * rt/timer_create.c: Likewise.
5432 * rt/timer_delete.c: Likewise.
5433 * rt/timer_getoverr.c: Likewise.
5434 * rt/timer_gettime.c: Likewise.
5435 * rt/timer_settime.c: Likewise.
5436 * setjmp/__longjmp.c: Likewise.
5437 * setjmp/setjmp.c: Likewise.
5438 * signal/kill.c: Likewise.
5439 * signal/killpg.c: Likewise.
5440 * signal/raise.c: Likewise.
5441 * signal/sigaction.c: Likewise.
5442 * signal/sigaltstack.c: Likewise.
5443 * signal/sigblock.c: Likewise.
5444 * signal/sigignore.c: Likewise.
5445 * signal/sigintr.c: Likewise.
5446 * signal/signal.c: Likewise.
5447 * signal/sigpause.c: Likewise.
5448 * signal/sigpending.c: Likewise.
5449 * signal/sigqueue.c: Likewise.
5450 * signal/sigreturn.c: Likewise.
5451 * signal/sigset.c: Likewise.
5452 * signal/sigsetmask.c: Likewise.
5453 * signal/sigstack.c: Likewise.
5454 * signal/sigsuspend.c: Likewise.
5455 * signal/sigtimedwait.c: Likewise.
5456 * signal/sigvec.c: Likewise.
5457 * signal/sigwait.c: Likewise.
5458 * signal/sigwaitinfo.c: Likewise.
5459 * signal/sysv_signal.c: Likewise.
5460 * socket/accept.c: Likewise.
5461 * socket/accept4.c: Likewise.
5462 * socket/bind.c: Likewise.
5463 * socket/connect.c: Likewise.
5464 * socket/getpeername.c: Likewise.
5465 * socket/getsockname.c: Likewise.
5466 * socket/getsockopt.c: Likewise.
5467 * socket/isfdtype.c: Likewise.
5468 * socket/listen.c: Likewise.
5469 * socket/recv.c: Likewise.
5470 * socket/recvfrom.c: Likewise.
5471 * socket/recvmsg.c: Likewise.
5472 * socket/send.c: Likewise.
5473 * socket/sendmsg.c: Likewise.
5474 * socket/sendto.c: Likewise.
5475 * socket/setsockopt.c: Likewise.
5476 * socket/shutdown.c: Likewise.
5477 * socket/sockatmark.c: Likewise.
5478 * socket/socket.c: Likewise.
5479 * socket/socketpair.c: Likewise.
5480 * stdio-common/ctermid.c: Likewise.
5481 * stdio-common/cuserid.c: Likewise.
5482 * stdio-common/remove.c: Likewise.
5483 * stdio-common/rename.c: Likewise.
5484 * stdio-common/renameat.c: Likewise.
5485 * stdio-common/tempname.c: Likewise.
5486 * stdlib/getcontext.c: Likewise.
5487 * stdlib/makecontext.c: Likewise.
5488 * stdlib/setcontext.c: Likewise.
5489 * stdlib/swapcontext.c: Likewise.
5490 * stdlib/system.c: Likewise.
5491 * streams/fattach.c: Likewise.
5492 * streams/fdetach.c: Likewise.
5493 * streams/getmsg.c: Likewise.
5494 * streams/getpmsg.c: Likewise.
5495 * streams/putmsg.c: Likewise.
5496 * streams/putpmsg.c: Likewise.
5497 * sysdeps/unix/bsd/getpt.c: Likewise.
5498 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5499 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5500 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5503 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5504 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5505 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5506 * sysvipc/msgctl.c: Likewise.
5507 * sysvipc/msgget.c: Likewise.
5508 * sysvipc/msgrcv.c: Likewise.
5509 * sysvipc/msgsnd.c: Likewise.
5510 * sysvipc/semctl.c: Likewise.
5511 * sysvipc/semget.c: Likewise.
5512 * sysvipc/semop.c: Likewise.
5513 * sysvipc/semtimedop.c: Likewise.
5514 * sysvipc/shmat.c: Likewise.
5515 * sysvipc/shmctl.c: Likewise.
5516 * sysvipc/shmdt.c: Likewise.
5517 * sysvipc/shmget.c: Likewise.
5518 * termios/tcdrain.c: Likewise.
5519 * termios/tcflow.c: Likewise.
5520 * termios/tcflush.c: Likewise.
5521 * termios/tcgetattr.c: Likewise.
5522 * termios/tcgetpgrp.c: Likewise.
5523 * termios/tcsendbrk.c: Likewise.
5524 * termios/tcsetattr.c: Likewise.
5525 * termios/tcsetpgrp.c: Likewise.
5526 * time/adjtime.c: Likewise.
5527 * time/clock.c: Likewise.
5528 * time/getitimer.c: Likewise.
5529 * time/gettimeofday.c: Likewise.
5530 * time/setitimer.c: Likewise.
5531 * time/settimeofday.c: Likewise.
5532 * time/stime.c: Likewise.
5533 * time/time.c: Likewise.
5535 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5537 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5540 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5542 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5544 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5548 FE_TONEAREST before applying Dekker multiplication and Knuth
5549 addition. Clear inexact exceptions and check for exact zero
5551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5554 * math/libm-test.inc (fma_test): Add more tests.
5555 (fma_test_towardzero): Likewise.
5556 (fma_test_downward): Likewise.
5557 (fma_test_upward): Likewise.
5558 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5560 (libc_fesetround): New macro.
5561 (libc_fesetroundf): Likewise.
5562 (libc_fesetroundl): Likewise.
5563 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5565 (libc_fesetround_387): Likewise.
5566 (libc_fesetroundf): New macro.
5567 (libc_fesetround): Likewise.
5568 (libc_fesetroundl): Likewise.
5569 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5571 (libc_fesetroundf): New macro.
5572 (libc_fesetround): Likewise.
5573 (libc_fesetroundl): Likewise.
5574 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5575 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5576 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5578 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5579 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5581 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5582 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5584 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5588 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5589 integer constant usable in #if and use that to give value to enum
5591 (FE_DIVBYZERO): Likewise.
5592 (FE_UNDERFLOW): Likewise.
5593 (FE_OVERFLOW): Likewise.
5594 (FE_INVALID): Likewise.
5595 (FE_INVALID_SNAN): Likewise.
5596 (FE_INVALID_ISI): Likewise.
5597 (FE_INVALID_IDI): Likewise.
5598 (FE_INVALID_ZDZ): Likewise.
5599 (FE_INVALID_IMZ): Likewise.
5600 (FE_INVALID_COMPARE): Likewise.
5601 (FE_INVALID_SOFTWARE): Likewise.
5602 (FE_INVALID_SQRT): Likewise.
5603 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5604 (FE_TONEAREST): Likewise.
5605 (FE_TOWARDZERO): Likewise.
5606 (FE_UPWARD): Likewise.
5607 (FE_DOWNWARD): Likewise.
5608 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5609 (FE_DIVBYZERO): Likewise.
5610 (FE_OVERFLOW): Likewise.
5611 (FE_UNDERFLOW): Likewise.
5612 (FE_INEXACT): Likewise.
5613 (FE_TONEAREST): Likewise.
5614 (FE_DOWNWARD): Likewise.
5615 (FE_UPWARD): Likewise.
5616 (FE_TOWARDZERO): Likewise.
5617 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5618 (FE_UNDERFLOW): Likewise.
5619 (FE_OVERFLOW): Likewise.
5620 (FE_DIVBYZERO): Likewise.
5621 (FE_INVALID): Likewise.
5622 (FE_TONEAREST): Likewise.
5623 (FE_TOWARDZERO): Likewise.
5624 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5625 (FE_OVERFLOW): Likewise.
5626 (FE_UNDERFLOW): Likewise.
5627 (FE_DIVBYZERO): Likewise.
5628 (FE_INEXACT): Likewise.
5629 (FE_TONEAREST): Likewise.
5630 (FE_TOWARDZERO): Likewise.
5631 (FE_UPWARD): Likewise.
5632 (FE_DOWNWARD): Likewise.
5633 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5634 (FE_DIVBYZERO): Likewise.
5635 (FE_OVERFLOW): Likewise.
5636 (FE_UNDERFLOW): Likewise.
5637 (FE_INEXACT): Likewise.
5638 (FE_TONEAREST): Likewise.
5639 (FE_DOWNWARD): Likewise.
5640 (FE_UPWARD): Likewise.
5641 (FE_TOWARDZERO): Likewise.
5643 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5645 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5647 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5649 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5650 commands. Quote $PWD.
5651 (blacklist_exports): Don't use remove_newlines. Replace "declare
5653 (remove_newlines): Remove.
5655 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5657 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5658 * stdlib/stdlib.h (atof): Moved to ...
5659 * include/bits/stdlib-float.h: Here. New file.
5660 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5661 * stdlib/bits/stdlib-float.h: New file.
5662 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5664 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5667 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5669 * conform/conformtest.pl (@headers): Add fenv.h.
5670 * conform/data/fenv.h-data: New file.
5671 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5672 include of <math/fenv.h>.
5674 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5675 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5676 && !UNIX98]. Enables tests for XOPEN2K8.
5677 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5678 POSIX2008]: Likewise.
5680 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5681 (struct rusage): Do not expect type or its members.
5684 * math/math.h (FP_NAN): Define macro to integer constant usable in
5685 #if and use that to give value to enum constant.
5686 (FP_INFINITE): Likewise.
5687 (FP_ZERO): Likewise.
5688 (FP_SUBNORMAL): Likewise.
5689 (FP_NORMAL): Likewise.
5691 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5693 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5694 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5697 2012-11-02 Roland McGrath <roland@hack.frob.com>
5699 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5700 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5701 autoconf-time if not.
5702 * configure.in: Remove AC_PREREQ.
5704 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5706 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5707 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5708 of the internal implementation.
5710 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5712 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5713 except include of <misc/sys/syslog.h>.
5715 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5718 function returns with a NULL context exit with zero.
5720 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5722 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5724 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5726 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5727 (run_program_cmd): This.
5728 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5729 (tst_langinfo): New variable. Use it.
5731 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5733 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5734 floating point opcodes.
5736 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5738 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5741 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5743 * sysdeps/mach/hurd/powerpc: Remove directory.
5744 * sysdeps/mach/powerpc: Likewise.
5746 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5748 * scripts/check-local-headers.sh: Ignore c++ headers.
5750 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5752 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5753 __libc_cleanup_region_start argument.
5755 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5760 x * y using scaling, not as x * y + z.
5761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5762 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5763 * math/libm-test.inc (fma_test): Add more tests.
5764 (fma_test_towardzero): Likewise.
5765 (fma_test_downward): Likewise.
5766 (fma_test_upward): Likewise.
5768 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5770 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5772 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5774 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5777 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5779 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5781 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5788 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5791 Fix the order of the list for glibc 2.17.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5795 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5799 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5802 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5803 for low part of x being zero before using __atanl (y).
5804 * math/libm-test.inc (atan2_test): Add another test.
5806 * manual/install.texi (Configuring and compiling): Document
5807 general use of test-wrapper and test-wrapper-env.
5808 * INSTALL: Regenerated.
5810 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5811 (__fma): Do not extract and scale down low bits on after-rounding
5812 systems when result rounded to normal precision would have normal
5814 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5815 (__fmal): Do not extract and scale down low bits on after-rounding
5816 systems when result rounded to normal precision would have normal
5818 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5819 (__fmal): Do not extract and scale down low bits on after-rounding
5820 systems when result rounded to normal precision would have normal
5822 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5824 (fma_test): Add more tests.
5825 (fma_test_towardzero): Likewise.
5826 (fma_test_downward): Likewise.
5827 (fma_test_upward): Likewise.
5829 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5831 * sysdeps/i386/tininess.h: Renamed to ...
5832 * sysdeps/x86/tininess.h: This.
5833 * sysdeps/x86_64/tininess.h: Removed.
5835 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5837 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5838 input. Use $(build-program-cmd).
5839 ($(objpfx)tst-array1-static.out): Likewise.
5840 ($(objpfx)tst-array2.out): Likewise.
5841 ($(objpfx)tst-array3.out): Likewise.
5842 ($(objpfx)tst-array4.out): Likewise.
5843 ($(objpfx)tst-array5.out): Likewise.
5844 ($(objpfx)tst-array5-static.out): Likewise.
5846 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5848 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5851 * nss/nsswitch.h (nss_interface_function): Provide new
5852 macro for use with NSS functions.
5853 * grp/initgroups.c: Use new macro.
5854 * nss/getXXbyYY.c: Likewise.
5855 * nss/getXXbyYY_r.c: Likewise.
5856 * nss/getXXent.c: Likewise.
5857 * nss/getXXent_r.c: Likewise.
5858 * sysdeps/posix/getaddrinfo.c: Likewise.
5860 2012-10-30 Andreas Jaeger <aj@suse.de>
5862 * po/ru.po: Update Russion translation from translation project.
5864 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5869 result and shift together with sticky bit instead of replicating
5870 round-to-nearest rounding.
5871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5873 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5874 missing underflow exceptions.
5875 (fma_test_towardzero): Add more tests.
5876 (fma_test_downward): Likewise.
5877 (fma_test_upward): Likewise.
5880 * sysdeps/generic/tininess.h: New file.
5881 * sysdeps/i386/tininess.h: Likewise.
5882 * sysdeps/sh/tininess.h: Likewise.
5883 * sysdeps/x86_64/tininess.h: Likewise.
5884 * stdlib/tst-strtod-underflow.c: Likewise.
5885 * stdlib/tst-tininess.c: Likewise.
5886 * stdlib/strtod_l.c: Include <tininess.h>.
5887 (round_and_return): Do not set errno for exact underflow cases.
5888 Force an underflow exception when setting errno for underflow.
5889 Determine underflow based on rounding to normal precision if
5890 TININESS_AFTER_ROUNDING.
5891 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5892 ERANGE for exact underflow cases.
5893 * stdlib/Makefile (tests): Add tst-tininess and
5894 tst-strtod-underflow.
5895 ($(objpfx)tst-tininess): Use $(link-libm).
5896 ($(objpfx)tst-strtod-underflow): Likewise.
5898 2012-10-30 Andreas Jaeger <aj@suse.de>
5901 * elf/Makefile (tests): Remove conditional for have-initfini-array
5902 since this is now always required and the variable does not exist
5904 (tests-static): Likewise.
5905 (modules-names): Likewise.
5907 * po/eo.po: Add Esperanto translation from translation project.
5909 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5910 merged with constructor/destructor.
5911 (init_array): Likewise.
5912 * elf/tst-array2dep.c (fini_array): Likewise.
5913 (init_array): Likewise.
5915 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5917 * manual/message.texi: Delete @cartouche tags.
5919 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5921 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5923 * sysdeps/mach/hurd/fsync.c: Likewise.
5925 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5926 [_POSIX_REALTIME_SIGNALS]: Change condition to
5927 [_POSIX_REALTIME_SIGNALS > 0].
5929 2012-10-27 Andreas Jaeger <aj@suse.de>
5931 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5932 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5934 [__WORDSIZE != 64]: Likewise.
5936 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5938 * iconvdata/tst-table.sh: Remove ${SHELL}.
5939 * iconvdata/tst-tables.sh: Likewise.
5941 2012-10-25 David S. Miller <davem@davemloft.net>
5943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5944 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5950 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5951 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5954 2012-10-25 Roland McGrath <roland@hack.frob.com>
5956 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5957 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5960 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5961 Jim Blandy <jimb@codesourcery.com>
5963 * scripts/cross-test-ssh.sh: New file.
5964 * manual/install.texi (Configuring and compiling): Document use of
5966 * INSTALL: Regenerated.
5968 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5970 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5973 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5975 * Makeconfig (run-program-prefix): Fix comment.
5977 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5978 Jim Blandy <jimb@codesourcery.com>
5980 * Makeconfig (test-wrapper): New variable,
5981 (test-wrapper-env): Likewise.
5982 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5983 (run-built-tests): Define to yes.
5984 (run-program-prefix): Use $(test-wrapper).
5985 (built-program-cmd): Likewise.
5986 * Rules (make-test-out): Use $(test-wrapper-env) and
5987 $(host-built-program-cmd).
5988 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5989 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5991 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5992 $(test-wrapper-env) to tst-rtld-load-self.sh.
5993 ($(objpfx)order2.out): Use $(test-wrapper).
5994 ($(objpfx)tst-initorder.out): Likewise.
5995 ($(objpfx)tst-initorder2.out): Likewise.
5996 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5997 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5998 (test_wrapper_env): New variable. Use it to run ld.so.
5999 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6000 Use it to run ld.so.
6001 (test_wrapper_env): Likewise.
6002 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6003 $(test-wrapper) to run-iconv-test.sh.
6004 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6005 (ICONV): Use $test_wrapper.
6006 * posix/Makefile ($(objpfx)globtest.out): Pass
6007 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6008 globtest.sh, not $(run-program-prefix).
6009 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6010 (test_wrapper): Likewise.
6011 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6012 set together with run_via_rtld_prefix.
6013 (run_program_prefix): Define in terms of test_wrapper and
6014 run_via_rtld_prefix.
6016 2012-10-24 Roland McGrath <roland@hack.frob.com>
6018 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6019 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6023 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6024 Declare __clock_getres, __clock_gettime, __clock_settime,
6025 __clock_nanosleep, and __clock_getcpuclockid.
6026 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6027 Remove librt_hidden_def (clock_gettime).
6028 * sysdeps/unix/clock_gettime.c: Likewise.
6029 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6030 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6031 * rt/clock_getres.c: Define __clock_getres as an alias.
6032 * sysdeps/posix/clock_getres.c: Likewise.
6033 * rt/clock_settime.c: Define __clock_settime as an alias.
6034 * sysdeps/unix/clock_settime.c: Likewise.
6035 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6036 * sysdeps/unix/clock_nanosleep.c: Likewise.
6037 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6038 * rt/clock-compat.c: New file.
6039 * rt/Makefile (librt-routines): Add clock-compat and move
6040 $(clock-routines) to ...
6041 (routines): ... here, new variable.
6042 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6043 Don't add get_clockfreq here.
6044 * rt/Versions (libc: GLIBC_2.17): New version set.
6045 Add clock_* symbols here.
6046 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6048 (GLIBC_2.17): Add clock_* symbols.
6049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6060 * NEWS: Mention the move.
6062 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6063 Use __open, __read, __close rather than their public counterparts.
6064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6065 (__get_clockfreq_via_cpuinfo): Likewise.
6066 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6067 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6069 * config.h.in (HAVE_IFUNC): New #undef.
6070 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6072 * configure: Regenerated.
6074 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6076 * configure.in: Move READELF check to start of file.
6077 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6078 libc_cv_asm_gnu_indirect_function in the process.
6079 * configure: Regenerated.
6081 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6083 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6084 send the output to /dev/null.
6085 (libc_cv_cc_with_libunwind): Likewise.
6086 (libc_cv_as_noexecstack): Likewise.
6087 * configure: Regenerate.
6089 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6091 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6093 * posix/globtest.sh (TMPDIR): Do not set.
6094 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6095 (testout): Likewise.
6097 2012-10-24 Andreas Jaeger <aj@suse.de>
6099 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6100 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6101 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6102 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6103 posix_fadvise64, posix_fallocate64.
6105 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6106 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6107 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6109 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6111 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6114 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6115 <bits/fcntl-linux.h>.
6116 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6119 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6120 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6121 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6122 [__WORDSIZE != 64]: Likewise.
6124 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6126 * Makeconfig (run-built-tests): New variable.
6127 * Rules [$(cross-compiling) = yes]: Change condition to
6128 [$(run-built-tests) = no].
6129 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6130 to [$(run-built-tests) = yes].
6131 * elf/Makefile [$(cross-compiling) = no]: Likewise
6132 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6133 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6134 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6135 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6136 * io/Makefile [$(cross-compiling) = no]: Likewise.
6137 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6138 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6139 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6140 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6141 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6142 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6143 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6144 * string/Makefile [$(cross-compiling) = no]: Likewise.
6146 * posix/Makefile ($(objpfx)globtest.out): Pass
6147 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6148 $(rtld-installed-name).
6149 * posix/globtest.sh (elf_objpfx): Remove variable.
6150 (rtld_installed_name): Likewise.
6151 (library_path): Likewise.
6152 (run_program_prefix): New variable. Use for running globtest
6155 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6156 Joseph Myers <joseph@codesourcery.com>
6158 * Makeconfig (host-built-program-cmd): New variable.
6159 * elf/Makefile (tst-stackguard1-ARGS): Use
6160 $(host-built-program-cmd).
6161 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6162 (tst-spawn-ARGS): Likewise.
6163 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6165 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6166 Jim Blandy <jimb@codesourcery.com>
6168 * Makeconfig (run-via-rtld-prefix): New variable.
6169 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6170 (built-program-cmd): Likewise.
6172 2012-10-22 Andreas Jaeger <aj@suse.de>
6174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6175 __O_RSYNC if it exists, otherwise to O_SYNC.
6177 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6178 Joseph Myers <joseph@codesourcery.com>
6180 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6182 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6184 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6187 2012-10-22 Andreas Jaeger <aj@suse.de>
6189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6197 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6204 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6205 Joseph Myers <joseph@codesourcery.com>
6207 * config.make.in (NM): New variable.
6209 2012-10-21 Andreas Jaeger <aj@suse.de>
6211 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6212 definitions and declarations that are provided by
6213 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6215 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6218 * elf/Makefile (tests-static): Add tst-leaks1-static.
6219 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6220 ($(objpfx)tst-leaks1-static): New rule.
6221 ($(objpfx)tst-leaks1-static-mem): Likewise.
6222 (tst-leaks1-static-ENV): New macro.
6223 * elf/dl-open.c (dl_open_worker): Check the main application
6224 only if SHARED is defined.
6225 * elf/tst-leaks1-static.c: New file.
6227 2012-10-20 Andreas Jaeger <aj@suse.de>
6229 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6230 generic values for Linux.
6231 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6232 and declarations that are provided by <bits/fcntl-linux.h> and
6233 include <bits/fcntl-linux.h>.
6234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6237 2012-10-20 Roland McGrath <roland@hack.frob.com>
6239 * io/fcntl.h: Move include of <bits/types.h> to the top and
6240 include it unconditionally.
6242 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6244 * wcsmbs/Makefile (tests-ifunc): New variable.
6245 (tests): Add $(tests-ifunc).
6246 * wcsmbs/test-wcschr-ifunc.c: New file.
6247 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6248 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6249 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6250 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6251 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6253 * string/Makefile (tests-ifunc): New variable.
6254 (tests): Add $(tests-ifunc).
6255 * string/test-memccpy.c (TEST_NAME): New macro.
6256 * string/test-memchr.c (TEST_NAME): Likewise.
6257 * string/test-memcmp.c (TEST_NAME): Likewise.
6258 * string/test-memcpy.c (TEST_NAME): Likewise.
6259 * string/test-memmem.c (TEST_NAME): Likewise.
6260 * string/test-memmove.c (TEST_NAME): Likewise.
6261 * string/test-memset.c (TEST_NAME): Likewise.
6262 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6263 * string/test-stpcpy.c (TEST_NAME): Likewise.
6264 * string/test-stpncpy.c (TEST_NAME): Likewise.
6265 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6266 * string/test-strcasestr.c (TEST_NAME): Likewise.
6267 * string/test-strcat.c (TEST_NAME): Likewise.
6268 * string/test-strchr.c (TEST_NAME): Likewise.
6269 * string/test-strcmp.c(TEST_NAME): Likewise.
6270 * string/test-strcpy.c (TEST_NAME): Likewise.
6271 * string/test-strcspn.c (TEST_NAME): Likewise.
6272 * string/test-strlen.c (TEST_NAME): Likewise.
6273 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6274 * string/test-strncmp.c (TEST_NAME): Likewise.
6275 * string/test-strncpy.c (TEST_NAME): Likewise.
6276 * string/test-strnlen.c (TEST_NAME): Likewise.
6277 * string/test-strpbrk.c (TEST_NAME): Likewise.
6278 * string/test-strrchr.c (TEST_NAME): Likewise.
6279 * string/test-strspn.c (TEST_NAME): Likewise.
6280 * string/test-strstr.c (TEST_NAME): Likewise.
6281 * string/test-bcopy-ifunc.c: New file.
6282 * string/test-bzero-ifunc.c: Likewise.
6283 * string/test-memccpy-ifunc.c: Likewise.
6284 * string/test-memchr-ifunc.c: Likewise.
6285 * string/test-memcmp-ifunc.c: Likewise.
6286 * string/test-memcpy-ifunc.c: Likewise.
6287 * string/test-memmem-ifunc.c: Likewise.
6288 * string/test-memmove-ifunc.c: Likewise.
6289 * string/test-mempcpy-ifunc.c: Likewise.
6290 * string/test-memset-ifunc.c: Likewise.
6291 * string/test-rawmemchr-ifunc.c: Likewise.
6292 * string/test-stpcpy-ifunc.c: Likewise.
6293 * string/test-stpncpy-ifunc.c: Likewise.
6294 * string/test-strcasecmp-ifunc.c: Likewise.
6295 * string/test-strcasestr-ifunc.c: Likewise.
6296 * string/test-strcat-ifunc.c: Likewise.
6297 * string/test-strchr-ifunc.c: Likewise.
6298 * string/test-strchrnul-ifunc.c: Likewise.
6299 * string/test-strcmp-ifunc.c: Likewise.
6300 * string/test-strcpy-ifunc.c: Likewise.
6301 * string/test-strcspn-ifunc.c: Likewise.
6302 * string/test-strlen-ifunc.c: Likewise.
6303 * string/test-strncasecmp-ifunc.c: Likewise.
6304 * string/test-strncat-ifunc.c: Likewise.
6305 * string/test-strncmp-ifunc.c: Likewise.
6306 * string/test-strncpy-ifunc.c: Likewise.
6307 * string/test-strnlen-ifunc.c: Likewise.
6308 * string/test-strpbrk-ifunc.c: Likewise.
6309 * string/test-strrchr-ifunc.c: Likewise.
6310 * string/test-strspn-ifunc.c: Likewise.
6311 * string/test-strstr-ifunc.c: Likewise.
6313 * debug/Makefile (tests-ifunc): New variable.
6314 (tests): Add $(tests-ifunc).
6315 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6316 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6317 * debug/test-stpcpy_chk-ifunc.c: New file.
6318 * debug/test-strcpy_chk-ifunc.c: Likewise.
6320 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6323 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6324 header is not read in.
6326 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6328 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6329 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6330 directly. Pass built executable to script as
6331 $(built-program-cmd).
6332 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6333 $testprogram without using LD_LIBRARY_PATH and $ldso.
6335 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6336 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6337 $(rtld-installed-name).
6338 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6339 (rtld_installed_name): Likewise.
6340 (library_path): Likewise.
6341 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6342 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6343 $(run-program-prefix) to tst-tables.sh.
6344 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6345 it to run tst-table-from and tst-table-to.
6346 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6347 Pass it to tst-table.sh.
6348 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6349 $(run-program-prefix) to tst-gettext.sh.
6350 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6352 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6354 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6356 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6357 to run tst-gettext2.
6358 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6359 to run tst-translit.
6360 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6361 $(run-program-prefix) to tst-mtrace.sh.
6362 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6364 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6365 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6366 $(rtld-installed-name).
6367 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6368 (rtld_installed_name): Likewise.
6369 (run_program_prefix): New variable. Use it to run wordexp-test.
6371 * Makeconfig (ARCH): Remove all definitions.
6372 (machine): Likewise.
6373 [ARCH]: Remove conditional code.
6374 [!objdir]: Give error.
6375 [!objdir] (objpfx): Remove.
6376 [!objdir] (common-objpfx): Likewise.
6377 [!objdir] (common-objdir): Likewise.
6378 * configure.in (config_makefile): Remove. Hardcode Makefile in
6379 AC_CONFIG_FILES call.
6380 * configure: Regenerated.
6383 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6385 (testout): Likewise.
6387 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6388 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6389 $(rtld-installed-name).
6390 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6391 (rtld_installed_name): Likwise.
6392 (runit): Remove function.
6393 (run_getconf): New variable, Use it for running getconf binary.
6395 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6398 * string/test-memmem.c (check_result): New function.
6399 (do_one_test): Use it.
6400 (check1): New function.
6401 (test_main): Use it.
6403 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6405 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6407 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6409 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6410 (_G_LSEEK64): Likewise.
6411 (_G_MMAP64): Likewise.
6412 (_G_FSTAT64): Likewise.
6413 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6414 (_G_LSEEK64): Likewise.
6415 (_G_MMAP64): Likewise.
6416 (_G_FSTAT64): Likewise.
6417 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6418 unconditional. Call __mmap64 directly.
6419 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6420 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6422 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6423 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6425 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6426 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6428 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6429 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6431 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6432 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6434 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6435 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6436 __fxstat64 directly.
6437 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6438 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6440 (freopen64) [!_G_OPEN64]: Remove conditional code.
6441 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6443 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6444 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6446 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6447 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6449 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6450 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6452 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6453 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6455 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6456 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6458 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6459 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6461 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6463 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6466 * manual/memory.texi (Malloc Tunable Parameters): Add note
6467 about free list pointers overwriting some perturb bytes.
6468 Wording suggested by Roland McGrath.
6470 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6472 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6473 (lgamma_test): Likewise.
6474 (tgamma_test): Likewise.
6476 2012-10-16 Florian Weimer <fweimer@redhat.com>
6479 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6480 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6482 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6484 * NEWS: Mention BZ #14716.
6485 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6486 when removing AVAILABLE1_USES_J macro.
6488 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6490 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6491 (__bswap_64): __uint64_t for unsigned 64-bit int.
6493 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6495 * include/string.h (memmem): Declare libc hidden alias.
6496 * string/memmem.c (memmem): Define libc hidden alias.
6497 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6498 __read, __close instead of open, read, close.
6500 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6502 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6503 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6505 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6506 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6507 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6509 (__rawmemchr_sse2): Likewise.
6510 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6511 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6512 (__strchr_sse2): Likewise.
6513 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6514 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6515 (__strcasecmp_sse2): Likewise.
6516 (__strncasecmp_sse2): Likewise.
6517 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6518 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6519 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6520 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6521 (__strrchr_sse2): Likewise.
6522 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6524 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6525 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6526 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6527 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6528 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6529 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6530 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6531 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6532 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6533 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6534 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6535 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6536 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6537 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6538 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6539 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6540 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6541 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6542 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6543 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6544 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6545 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6546 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6547 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6548 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6549 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6550 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6551 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6552 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6553 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6555 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6557 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6558 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6559 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6560 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6562 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6564 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6565 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6566 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6567 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6569 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6570 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6571 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6572 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6573 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6574 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6575 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6576 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6577 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6578 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6579 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6580 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6586 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6587 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6588 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6590 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6591 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6592 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6593 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6594 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6595 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6596 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6597 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6598 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6599 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6600 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6601 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6602 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6603 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6604 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6605 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6606 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6607 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6608 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6609 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6611 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6612 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6613 * include/ifunc-impl-list.h: New file.
6614 * misc/ifunc-impl-list.c: Likewise.
6615 * misc/Makefile (routines): Add ifunc-impl-list.
6616 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6617 * string/test-string.h: Include <ifunc-impl-list.h>.
6618 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6619 impl_array): New variables.
6620 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6622 (test_init): Call __libc_ifunc_impl_list to initialize
6623 func_list if TEST_IFUNC and TEST_NAME are defined.
6625 * string/Makefile (strop-tests): Add bcopy and bzero.
6626 * string/test-bcopy.c: New file.
6627 * string/test-bzero.c: Likewise.
6628 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6630 * string/test-memset.c: Support bzero test if TEST_BZERO is
6632 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6634 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6636 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6639 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6641 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6642 * configure: Regenerated.
6644 * Makeconfig (+link-static-before-libc): Don't include
6645 $(link-static-libc).
6647 * libio/libio.h (_IO_pos_t): Remove.
6649 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6651 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6654 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6656 * crypt/crypt-entry.c: Include fips-private.h.
6657 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6658 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6659 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6660 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6662 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6664 * crypt/crypt-private.h: Include stdbool.h.
6665 (_ufc_setup_salt_r): Return bool.
6666 * crypt/crypt-entry.c: Include errno.h.
6667 (__crypt_r): Return NULL with EINVAL for bad salt.
6668 * crypt/crypt_util.c (bad_for_salt): New.
6669 (_ufc_setup_salt_r): Check that salt is long enough and within
6670 the specified alphabet.
6671 * crypt/badsalttest.c: New file.
6672 * crypt/Makefile (tests): Add it.
6673 ($(objpfx)badsalttest): New.
6675 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6677 * NEWS: Add entry for BZ #14602.
6679 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6681 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6683 * math/libm-test.inc: Update comment listing what functions and
6685 (isgreater_test): New function.
6686 (isgreaterequal_test): Likewise.
6687 (isless_test): Likewise.
6688 (islessequal_test): Likewise.
6689 (islessgreater_test): Likewise.
6690 (isunordered_test): Likewise.
6691 (main): Call the new functions.
6693 2012-10-09 Roland McGrath <roland@hack.frob.com>
6695 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6696 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6697 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6698 * sysdeps/i386/configure: Regenerated.
6699 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6700 * sysdeps/mach/configure: Regenerated.
6701 * sysdeps/mach/hurd/configure: Regenerated.
6702 * sysdeps/powerpc/configure: Regenerated.
6703 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6704 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6705 * sysdeps/s390/s390-32/configure: Regenerated.
6706 * sysdeps/s390/s390-64/configure: Regenerated.
6707 * sysdeps/sh/configure: Regenerated.
6708 * sysdeps/sparc/configure: Regenerated.
6709 * sysdeps/unix/sysv/linux/configure: Regenerated.
6710 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6711 * sysdeps/x86_64/configure: Regenerated.
6713 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6714 defined. Don't check if MAP is NULL.
6716 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6718 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6719 (_G_stat64): Likewise.
6720 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6721 (_G_stat64): Likewise.
6722 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6723 instead of struct _G_stat64.
6724 * libio/fileops.c (mmap_remap_check): Likewise.
6725 (decide_maybe_mmap): Likewise.
6726 (_IO_new_file_seekoff): Likewise.
6727 (_IO_file_stat): Likewise.
6728 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6730 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6731 instead of struct _G_stat64.
6732 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6734 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6737 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6739 (CHECK_EOL): New macro.
6740 (two_way_short_needle): Check beginning of haystack for EOL. Use
6742 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6743 Replace with CHECK_EOL.
6744 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6745 Replace with CHECK_EOL.
6747 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6749 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6751 * math/libm-test.inc: Update comment listing what functions and
6753 (finite_test): New function.
6754 (isinf_test): Likewise.
6755 (isnan_test): Likewise.
6756 (fpclassify_test): Test subnormal input.
6757 (isfinite_test): Likewise.
6758 (isnormal_test): Likewise.
6759 (main): Call the new functions.
6761 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6764 * Makerules (%.dynsym): Force C locale when running
6765 $(OBJDUMP) --dynamic-syms.
6767 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6769 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6772 2012-10-06 David S. Miller <davem@davemloft.net>
6774 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6775 upper 32-bits of the length value in %o2 since we use branch-on-register
6776 tests which consider the entire 64-bit register.
6778 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6780 * string/test-strstr.c (check2): Add a test for page boundary.
6782 2012-10-05 David S. Miller <davem@davemloft.net>
6784 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6785 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6787 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6789 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6790 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6791 and bzero when HWCAP_SPARC_CRYPTO is present.
6793 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6796 * string/test-strstr.c (check2): New function.
6797 (test_main): Call check2.
6799 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6801 * string/bug-strcasestr1.c (do_test): Moved to ...
6802 * string/test-strcasestr.c (check1): Here. New function.
6803 (do_one_test): Break out result checking code into ...
6804 (check_result): This. New function.
6805 (do_one_test): Call check_result.
6806 (test_main): Call check1.
6807 * string/bug-strchr1.c (do_test): Moved to ...
6808 * string/test-strchr.c (check1): Here. New function.
6809 (do_one_test): Break out result checking code into ...
6810 (check_result): This. New function.
6811 (do_one_test): Call check_result.
6812 (test_main): Call check1.
6813 * string/bug-strstr1.c (main): Moved to ...
6814 * string/test-strstr.c (check1): Here. New function.
6815 (do_one_test): Break out result checking code into ...
6816 (check_result): This. New function.
6817 (do_one_test): Call check_result.
6818 (test_main): Call check1.
6819 * string/bug-strcasestr1.c: Removed.
6820 * string/bug-strchr1.c: Likewise.
6821 * string/bug-strstr1.c: Likewise.
6823 * elf/Makefile (dl-routines): Add hwcaps.
6824 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6825 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6826 (_dl_important_hwcaps): Moved to ...
6827 * elf/dl-hwcaps.c: Here. New file.
6828 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6831 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6832 if IS_IN_rtld isn't defined.
6834 * elf/dl-support.c (_dl_sysinfo_map): New.
6835 Include "get-dynamic-info.h" and "setup-vdso.h".
6836 (_dl_non_dynamic_init): Call setup_vdso.
6837 * elf/dynamic-link.h: Don't include <assert.h>.
6838 (elf_get_dynamic_info): Moved to ...
6839 * elf/get-dynamic-info.h: Here. New file.
6840 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6841 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6842 * elf/setup-vdso.h: Here. New file.
6843 * elf/rtld.c: Include "setup-vdso.h".
6844 (dl_main): Call setup_vdso.
6846 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6848 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6849 creal in comment listing functions tested. List finite, isinf,
6850 isnan, isless, islessequal, isgreater, isgreaterequal,
6851 islessgreater, isunordered, lgamma_r and pow10 as functions and
6852 macros not tested. Mention which functions not tested are aliases
6853 for other functions. Fix typo. Note that signs of NaNs are not
6856 * scripts/config.guess: Update from config.git.
6857 * scripts/config.sub: Likewise.
6859 2012-10-04 Roland McGrath <roland@hack.frob.com>
6861 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6862 * misc/madvise.c (madvise): Renamed to __madvise.
6863 Make madvise a weak alias.
6864 * include/sys/mman.h: Declare __madvise.
6865 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6866 * sysdeps/unix/syscalls.list
6867 (madvise): Make __madvise the strong name, and madvise a weak alias.
6868 * sysdeps/unix/sysv/linux/syscalls.list
6869 (madvise, mmap): Remove redundant entries.
6870 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6871 * malloc/malloc.c (mtrim): Likewise.
6872 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6874 2012-10-03 Roland McGrath <roland@hack.frob.com>
6876 * sysdeps/mach/hurd/dl-cache.c: File removed.
6877 * config.h.in (USE_LDCONFIG): New #undef.
6878 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6879 * configure: Regenerated.
6880 * elf/Makefile (dl-routines): Add dl-cache only under
6881 [$(use-ldconfig) = yes].
6882 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6883 cache on [USE_LDCONFIG].
6884 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6886 * elf/rtld.c (dl_main): Likewise.
6888 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6890 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6891 _SC_LEVEL4_CACHE_LINESIZE.
6893 2012-10-03 Roland McGrath <roland@hack.frob.com>
6895 * sysdeps/unix/bsd/confstr.h: File removed.
6897 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6899 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6902 2012-10-02 Roland McGrath <roland@hack.frob.com>
6904 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6905 Make 'mapoff' field ElfW(Off) rather than off_t.
6907 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6909 * nscd/Makefile: Remove nscd-cflags and all its users.
6910 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6911 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6914 * malloc.c (malloc_printerr): Clarify error message.
6916 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6920 Set bit_FMA_Usable if FMA is supported.
6921 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6923 (bit_FMA4_Usable): Updated.
6924 (index_FMA_Usable): New macro.
6925 (CPUID_FMA): Likewise
6926 (HAS_FMA): Defined with bit_FMA_Usable.
6928 2012-10-01 Roland McGrath <roland@hack.frob.com>
6930 * bits/types.h (__swblk_t): Type removed.
6931 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6932 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6934 (__SWBLK_T_TYPE): Likewise.
6935 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6936 (__SWBLK_T_TYPE): Likewise.
6937 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6938 (__SWBLK_T_TYPE): Likewise.
6939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6940 (__SWBLK_T_TYPE): Likewise.
6942 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6943 Honza Horak <hhorak@redhat.com>
6945 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6946 (xdr_mapname): Use YPMAXMAP as maxsize.
6947 (xdr_peername): Use YPMAXPEER as maxsize.
6948 (xdr_keydat): Use YPAXRECORD as maxsize.
6949 (xdr_valdat): Use YPMAXRECORD as maxsize.
6951 2012-10-01 Roland McGrath <roland@hack.frob.com>
6953 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6955 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6956 * csu/init-first.c: ... here.
6957 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6958 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6959 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6960 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6961 * sysdeps/i386/init-first.c: File removed.
6962 * sysdeps/sh/init-first.c: File removed.
6964 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6968 if x * y might underflow to zero and z is zero.
6969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6970 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6971 * math/libm-test.inc (min_subnorm_value): New variable.
6972 (fma_test): Add more tests.
6973 (fma_test_towardzero): Likewise.
6974 (fma_test_downward): Likewise
6975 (fma_test_upward): Likewise.
6976 (initialize): Set min_subnorm_value.
6978 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6984 mode for addition resulting in exact zero.
6985 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6988 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6990 * math/libm-test.inc (fma_test): Add more tests.
6991 (fma_test_towardzero): New function.
6992 (fma_test_downward): Likewise.
6993 (fma_test_upward): Likewise.
6994 (main): Call the new functions.
6996 2012-09-28 David S. Miller <davem@davemloft.net>
6998 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7000 2012-09-28 Roland McGrath <roland@hack.frob.com>
7002 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7005 * sysdeps/gnu/_G_config.h: Moved to ...
7006 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7007 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7008 * sysdeps/generic/_G_config.h: ... here.
7010 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7012 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7014 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7015 Conditionalize target on [libnss_test1.so-version].
7017 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7019 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7020 (elfobjdir): Move out of conditionals.
7022 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7023 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7024 (__nss_lookup_function): Conditionalize label remove_from_tree on
7025 [!DO_STATIC_NSS || SHARED], matching its only use.
7027 2012-09-28 David S. Miller <davem@davemloft.net>
7029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7032 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7034 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7036 when HWCAP_SPARC_CRYPTO is present.
7038 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7040 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7042 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7045 * stdio-common/vfprintf.c (process_string_arg): Revert
7048 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7050 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7052 * stdio-common/tst-sprintf.c: Include <locale.h>
7053 (main): Test sprintf's handling of incomplete multibyte
7056 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7058 * elf/dl-runtime.c (VERSYMIDX): Removed.
7059 * elf/dl-version.c (VERSYMIDX): Likewise.
7060 * elf/do-rel.h (VERSYMIDX): Likewise.
7062 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7063 * elf/rtld.c (VALIDX): Likewise.
7064 (ADDRIDX): Likewise.
7065 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7066 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7067 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7068 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7070 (ADDRIDX): Likewise.
7072 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7074 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7076 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7079 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7081 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7082 addresses are in the same scope as 192.0.2/24.
7083 * posix/gai.conf: Document new scope table defaults.
7085 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7088 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7089 for ftell. Compute offsets from write pointers instead.
7090 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7092 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7095 * libio/Makefile (tests): New test case tst-fseek.
7096 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7097 combination works in wide mode.
7098 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7099 state when the external buffer state changes.
7101 2012-09-27 David S. Miller <davem@davemloft.net>
7104 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7105 pass reloc->r_addend in as the 'high' argument to
7106 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7110 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7112 * rt/tst-aio2.c: Include <pthread.h>.
7113 * rt/tst-aio3.c: Likewise.
7115 2012-09-27 Steve Ellcey <sellcey@mips.com>
7117 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7119 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7121 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7122 contents on [SHARED].
7124 2012-09-26 Marek Polacek <polacek@redhat.com>
7128 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7129 for C++ and GCC <4.3 as well as for non GCC compilers.
7131 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7135 2012-09-25 Roland McGrath <roland@hack.frob.com>
7137 * Makefile.in (all, install): Declare with .PHONY.
7138 Reported by Michael Hope <michael.hope@linaro.org>.
7140 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7142 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7143 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7145 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7147 (sydep_routines): Add the new and the internal functions.
7148 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7149 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7151 (GLIBC_2.17): Add the new function.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7153 (GLIBC_2.17): Likewise.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7155 (GLIBC_2.17): Likewise.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7157 (GLIBC_2.17): Likewise.
7158 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7160 2012-09-25 Alan Modra <amodra@gmail.com>
7162 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7163 Add release barrier before setting once_control to say
7164 initialisation is done. Add hints on lwarx. Use macro in
7166 (clear_once_control): Add release barrier.
7168 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7171 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7173 * math/s_clog10.c (__clog10): Likewise.
7174 * math/s_clog10f.c (__clog10f): Likewise.
7175 * math/s_clog10l.c (__clog10l): Likewise.
7176 * math/s_clogf.c (__clogf): Likewise.
7177 * math/s_clogl.c (__clogl): Likewise.
7178 * math/Makefile (libm-calls): Add x2y2m1.
7179 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7180 (__x2y2m1): Likewise.
7181 (__x2y2m1l): Likewise.
7182 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7183 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7186 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7187 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7188 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7189 * sysdeps/i386/fpu/libm-test-ulps: Update.
7190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7193 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7194 int as type of variable DEPTH.
7195 (glob): Use size_t instead of int as type of variables NEWCOUNT
7198 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7200 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7202 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7203 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7204 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7205 macros for using routine as __sincosf_ia32.
7206 Use macro for function declaration and weak_alias.
7207 * sysdeps/i386/fpu/libm-test-ulps: Update.
7209 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7212 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7214 * math/s_cexpf.c (__cexpf): Likewise.
7215 * math/s_csinf.c (__csinf): Likewise.
7216 * math/s_csinhf.c (__csinhf): Likewise.
7217 * math/s_ctanf.c (__ctanf): Likewise.
7218 * math/s_ctanhf.c (__ctanhf): Likewise.
7219 * math/s_ccosh.c (__ccoshf): Likewise.
7220 * math/s_cexp.c (__cexpl): Likewise.
7221 * math/s_csin.c (__csin): Likewise.
7222 * math/s_csinh.c (__csinh): Likewise.
7223 * math/s_ctan.c (__ctan): Likewise.
7224 * math/s_ctanh.c (ctanh): Likewise.
7225 * math/s_ccoshl.c (__ccoshl): Likewise.
7226 * math/s_cexpl.c (__cexpl): Likewise.
7227 * math/s_csinl.c (__csinl): Likewise.
7228 * math/s_csinhl.c (__csinhl): Likewise.
7229 * math/s_ctanl.c (__ctanl): Likewise.
7230 * math/s_ctanhl.c (__ctanhl): Likewise.
7232 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7234 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7235 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7236 (_IO_off_t): Define to __off_t, not _G_off_t.
7237 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7238 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7239 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7240 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7241 type of __dummy and __dummy2 fields.
7242 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7243 (_G_ssize_t): Likewise.
7244 (_G_off_t): Likewise.
7245 (_G_pid_t): Likewise.
7246 (_G_uid_t): Likewise.
7247 (_G_wchar_t): Likewise.
7248 (_G_wint_t): Likewise.
7249 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7250 (_G_ssize_t): Likewise.
7251 (_G_off_t): Likewise.
7252 (_G_pid_t): Likewise.
7253 (_G_uid_t): Likewise.
7254 (_G_wchar_t): Likewise.
7255 (_G_wint_t): Likewise.
7256 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7257 (_G_ssize_t): Likewise.
7258 (_G_off_t): Likewise.
7259 (_G_pid_t): Likewise.
7260 (_G_uid_t): Likewise.
7261 (_G_wchar_t): Likewise.
7262 (_G_wint_t): Likewise.
7264 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7266 * malloc/arena.c: Include malloc-sysdep.h.
7267 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7268 is sufficient to shrink the heap or an unmap is needed.
7269 * sysdeps/generic/malloc-sysdep.h: New file. Define
7270 new function check_may_shrink_heap.
7271 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7272 new function check_may_shrink_heap.
7274 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7276 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7279 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7281 * catgets/test-gencat.sh: Add "set -e".
7282 * elf/tst-pathopt.sh: Likewise.
7283 * grp/tst_fgetgrent.sh: Likewise.
7284 * iconvdata/run-iconv-test.sh: Likewise.
7285 * intl/tst-gettext.sh: Likewise.
7286 * intl/tst-gettext2.sh: Likewise.
7287 * intl/tst-gettext4.sh: Likewise.
7288 * intl/tst-gettext6.sh: Likewise.
7289 * intl/tst-translit.sh: Likewise.
7290 * io/ftwtest-sh: Likewise.
7291 * libio/test-freopen.sh: Likewise.
7292 * malloc/tst-mtrace.sh: Likewise.
7293 * posix/globtest.sh: Likewise.
7294 * posix/tst-getconf.sh: Likewise.
7295 * posix/wordexp-tst.sh: Likewise.
7296 * stdio-common/tst-printf.sh: Likewise.
7297 * stdio-common/tst-unbputc.sh: Likewise.
7298 * stdlib/tst-fmtmsg.sh: Likewise.
7299 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7300 * catgets/Makefile: Do not specify -e option when running
7301 testsuite shell scripts.
7302 * elf/Makefile: Likewise.
7303 * grp/Makefile: Likewise.
7304 * iconvdata/Makefile: Likewise.
7305 * intl/Makefile: Likewise.
7306 * io/Makefile: Likewise.
7307 * libio/Makefile: Likewise.
7308 * malloc/Makefile: Likewise.
7309 * posix/Makefile: Likewise.
7310 * stdio-common/Makefile: Likewise.
7311 * stdlib/Makefile: Likewise.
7312 * sysdeps/x86_64/Makefile: Likewise.
7314 * io/ftwtest-sh: Add copyright header.
7315 * posix/globtest.sh: Likewise.
7316 * posix/tst-getconf.sh: Likewise.
7317 * posix/wordexp-tst.sh: Likewise.
7318 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7320 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7323 * Makeconfig (+link): Defined as $(+link-static) if
7324 $(build-shared) isn't yes.
7325 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7327 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7329 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7332 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7333 new chunk size with MALLOC_ALIGN_MASK.
7335 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7338 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7340 (__printf_fphex): Determine rounding using get_rounding_mode and
7342 * stdio-common/tst-printf-round.c (struct hex_test): New
7344 (hex_tests): New variable.
7345 (test_hex_in_one_mode): New function.
7346 (do_test): Also run tests for hex float output.
7348 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7350 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7351 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7352 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7353 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7354 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7355 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7356 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7357 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7359 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7361 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7362 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7363 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7364 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7366 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7369 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7371 * elf/tst-rtld-load-self.sh: New test.
7372 * elf/Makefile: Run it.
7374 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7376 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7377 (tst-writev-ENV): Remove.
7378 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7380 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7382 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7384 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7386 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7388 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7390 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7391 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7392 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7395 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7398 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7399 * config.make.in (have-cpp-asm-debuginfo): Removed.
7400 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7401 * configure: Regenerated.
7403 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7406 * stdio-common/printf_fp.c: Include <stdbool.h> and
7408 (___printf_fp): Determine rounding using get_rounding_mode and
7410 * stdio-common/tst-printf-round.c: New file.
7411 * stdio-common/Makefile (tests): Add tst-printf-round.
7412 (link-libm): New variable.
7413 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7415 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7418 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7419 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7421 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7424 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7426 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7427 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7428 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7429 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7431 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7434 * include/rounding-mode.h: New file.
7435 * sysdeps/generic/get-rounding-mode.h: Likewise.
7436 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7437 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7438 (MAX_VALUE): New macro.
7439 (MIN_VALUE): Likewise.
7440 (overflow_value): New function.
7441 (underflow_value): Likewise.
7442 (round_and_return): Use overflow_value and underflow_value to
7443 determine return values in overflow and underflow cases. Use
7444 round_away to determine rounding depending on rounding mode.
7445 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7446 determine return values in overflow and underflow cases.
7447 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7448 (struct test_results): New structure.
7449 (struct test): Use struct test_results to store expected results
7450 for all rounding modes.
7451 (TEST): Include expected results for all rounding modes.
7452 (test_in_one_mode): New function.
7453 (do_test): Use test_in_one_mode to compute and check results.
7454 Check results for all rounding modes.
7455 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7458 2012-12-09 Allan McRae <allan@archlinux.org>
7460 * sysdeps/i386/fpu/libm-test-ulps: Update
7462 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7464 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7465 (_G_int32_t): Likewise.
7466 (_G_uint16_t): Likewise.
7467 (_G_uint32_t): Likewise.
7468 (_G_HAVE_BOOL): Likewise.
7469 (_G_HAVE_ATEXIT): Likewise.
7470 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7471 (_G_HAVE_IO_FILE_OPEN): Likewise.
7472 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7473 (_G_int32_t): Likewise.
7474 (_G_uint16_t): Likewise.
7475 (_G_uint32_t): Likewise.
7476 (_G_HAVE_BOOL): Likewise.
7477 (_G_HAVE_ATEXIT): Likewise.
7478 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7479 (_G_HAVE_IO_FILE_OPEN): Likewise.
7480 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7481 (_G_int32_t): Likewise.
7482 (_G_uint16_t): Likewise.
7483 (_G_uint32_t): Likewise.
7484 (_G_HAVE_BOOL): Likewise.
7485 (_G_HAVE_ATEXIT): Likewise.
7486 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7487 (_G_HAVE_IO_FILE_OPEN): Likewise.
7489 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7491 * csu/libc-tls.c: Update copyright years.
7493 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7495 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7496 [!_G_USING_THUNKS]: Remove conditional code.
7497 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7498 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7500 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7501 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7502 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7503 (_G_VTABLE_LABEL_PREFIX): Likewise.
7504 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7505 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7506 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7507 (_G_VTABLE_LABEL_PREFIX): Likewise.
7508 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7509 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7510 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7511 (_G_VTABLE_LABEL_PREFIX): Likewise.
7512 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7514 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7516 * libio/Makefile: Include ../Makeconfig before tests.
7517 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7518 only if $(build-shared) is yes.
7520 * iconv/gconv_db.c: Update copyright years.
7522 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7524 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7525 unwind info if defined PIC. Fix special cases description.
7526 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7528 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7530 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7532 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7534 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7536 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7539 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7540 (LDLIBS-tst-chk4): This.
7541 (LDFLAGS-tst-chk5): Renamed to ...
7542 (LDLIBS-tst-chk5): This.
7543 (LDFLAGS-tst-chk6): Renamed to ...
7544 (LDLIBS-tst-chk6): This.
7545 (LDFLAGS-tst-lfschk4): Renamed to ...
7546 (LDLIBS-tst-lfschk4): This.
7547 (LDFLAGS-tst-lfschk5): Renamed to ...
7548 (LDLIBS-tst-lfschk5): This.
7549 (LDFLAGS-tst-lfschk6): Renamed to ...
7550 (LDLIBS-tst-lfschk6): This.
7552 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7553 on $(common-objpfx)soversions.mk.
7555 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7558 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7561 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7563 * malloc/arena.c (arena_get_retry): New function that gets
7564 another arena for the caller to try its request on.
7565 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7566 current arena cannot fulfill the request.
7567 (__libc_memalign): Likewise.
7568 (__libc_memalign): Likewise.
7569 (__libc_pvalloc): Likewise.
7570 (__libc_calloc): Likewise.
7572 2012-09-05 John Tobey <john.tobey@gmail.com>
7575 * manual/arith.texi (Operations on Complex): Fix description
7578 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7581 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7585 * manual/memory.texi (Memory): Make order of menu items match
7588 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7590 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7591 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7592 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7594 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7596 * csu/libc-tls.c (static_dtv): Renamed to ...
7597 (_dl_static_dtv): This. Make it global.
7598 (_dl_initial_dtv): Removed.
7599 (__libc_setup_tls): Updated.
7600 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7601 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7604 2012-09-06 Petr Machata <pmachata@redhat.com>
7606 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7607 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7608 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7609 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7611 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7614 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7615 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7618 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7621 * Makeconfig (link-static-before-libc): Replace $(+prector)
7623 (link-static-after-libc): Replace $(+postctor) with
7625 (link-bounded): Replace $(+prector)/$(+postctor) with
7626 $(+prectorT)/$(+postctorT).
7627 (+prectorT): New macro.
7628 (+postctorT): Likewise.
7630 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7632 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7633 (round_str): Handle values above the maximum for IBM long double
7635 * stdlib/tst-strtod-round.c (tests): Regenerated.
7637 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7639 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7641 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7642 zarch_nohighgprs around the zarch optimized routines.
7643 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7644 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7645 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7648 2012-09-05 David S. Miller <davem@davemloft.net>
7650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7652 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7653 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7654 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7655 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7658 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7660 * malloc/arena.c: Fold copyright years.
7661 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7663 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7665 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7667 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7669 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7671 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7673 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7674 change internal state upon failure.
7676 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7678 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7679 * malloc/memusage.c (mmap): Likewise.
7680 (mmap64, mremap): Likewise. Adjust name in comment.
7682 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7684 * libio/fileops.c: Fix typos in comments.
7685 * libio/oldfileops.c: Likewise.
7686 * libio/wfileops.c: Likewise.
7688 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7691 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7692 (tst-malloc-usable-ENV): Set environment for test case.
7693 * malloc/hooks.c (malloc_check_get_size): New function to get
7695 * malloc/malloc.c (musable): Use malloc_check_get_size.
7696 * malloc/tst-malloc-usable.c: New test case.
7698 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7700 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7702 2012-09-05 Allan McRae <allan@archlinux.org>
7705 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7706 determine header location.
7707 * configure: Regenerated.
7709 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7711 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7713 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7714 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7718 2012-09-04 David S. Miller <davem@davemloft.net>
7720 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7721 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7722 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7724 2012-09-04 Florian Weimer <fweimer@redhat.com>
7726 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7729 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7731 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7734 * libio/iogetdelim.c: Include <limits.h>.
7735 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7736 + len + 1 would overflow.
7738 2012-09-03 Andreas Jaeger <aj@suse.de>
7740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7741 * sysdeps/i386/fpu/libm-test-ulps: Update.
7743 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7745 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7746 Add s_sinf-sse2, s_conf-sse2.
7748 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7749 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7750 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7751 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7753 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7754 for using routine as __sinf_ia32.
7755 Use macro for function declaration and weak_alias.
7756 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7757 for using routine as __cosf_ia32.
7758 Use macro for function declaration and weak_alias.
7760 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7761 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7763 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7764 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7767 * math/libm-test.inc (cos_test): Add more test cases.
7768 (sin_test): Likewise.
7769 (sincos_test): Likewise.
7771 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7773 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7774 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7776 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7778 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7781 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7782 first element of the GOT.
7783 (elf_machine_load_address): Return the difference between
7784 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7786 2012-09-01 Allan McRae <allan@archlinux.org>
7789 * configure.in (AWK): Require gawk version 3.0 or later.
7790 * configure: Regenerated.
7792 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7794 * sysdeps/unix/sysv/linux/kernel-features.h
7795 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7796 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7797 [__NR_clock_getres]: Make code unconditional.
7798 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7799 (clock_getcpuclockid): Remove code left unreachable by removal of
7801 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7803 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7804 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7805 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7806 Make code unconditional.
7807 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7808 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7809 * sysdeps/unix/sysv/linux/clock_settime.c
7810 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7812 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7813 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7815 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7818 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7819 scripts/test-installation.pl.
7821 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7822 and $ld_so_version if it is set.
7824 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7828 failure if reading from procfs failed.
7829 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7831 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7833 * sysdeps/unix/sysv/linux/kernel-features.h
7834 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7835 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7836 Remove conditional code.
7837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7838 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7839 Remove conditional code.
7840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7841 * sysdeps/unix/sysv/linux/i386/fxstat.c
7842 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7844 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7845 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7847 * sysdeps/unix/sysv/linux/i386/lxstat.c
7848 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7850 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7851 Remove conditional code.
7852 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7853 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7854 Remove conditional code.
7855 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7856 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7857 <kernel-features.h>.
7858 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7860 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7861 Remove conditional code.
7862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7863 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7866 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7869 * NEWS: Add fixed bug number.
7871 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7874 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7875 underflowing exponent in case of negative sign.
7876 * stdlib/tst-strtod-round-data: Add more tests.
7877 * stdlib/tst-strtod-round.c (tests): Regenerated.
7880 * stdlib/strtod_l.c (NDIG): Remove.
7881 (HEXNDIG): Likewise.
7882 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7883 smallest representable value.
7884 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7885 lie within an exact representation of 1/2 ulp of the result.
7886 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7888 (TENS_P9_IDX): Define unconditionally.
7889 (TENS_P9_SIZE): Likewise.
7890 (TENS_P10_IDX): Likewise.
7891 (TENS_P10_SIZE): Likewise.
7892 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7893 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7894 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7895 entries for 10^2^13 and 10^2^14.
7896 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7897 (TENS_P13_IDX): Define.
7898 (TENS_P13_SIZE): Likewise.
7899 (TENS_P14_IDX): Likewise.
7900 (TENS_P14_SIZE): Likewise.
7901 (_fpioconst_pow10): Change array size to
7902 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7904 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7905 1024]: Add entries for 10^2^13 and 10^2^14.
7906 [LAST_POW10 > _LAST_POW10]: Remove #error.
7907 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7908 (_fpioconst_pow10): Change array size to
7909 FPIOCONST_POW10_ARRAY_SIZE.
7910 * stdlib/gen-fpioconst.c: New file.
7911 * stdlib/gen-tst-strtod-round.c: Likewise.
7912 * stdlib/tst-strtod-round-data: Likewise.
7913 * stdlib/tst-strtod-round.c: Likewise.
7914 * stdlib/Makefile (tests): Add tst-strtod-round.
7917 * stdlib/strtod_l.c: Include <stdint.h>.
7918 (NDEBUG): Do not define.
7919 (round_and_return): Change EXPONENT parameter to type intmax_t.
7920 Rearrange calculations to avoid internal overflow possibilities.
7921 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7922 Rearrange calculations to avoid internal overflow possibilities.
7923 Assert that number fits inside MPNSIZE limbs.
7924 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7925 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7926 calculations and add assertions to avoid internal overflow
7927 possibilities. Add casts to avoid signed/unsigned operations.
7928 * stdlib/tst-strtod-overflow.c: New file.
7929 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7931 2012-08-25 Marek Polacek <polacek@redhat.com>
7933 * time/time.h: Fix some typos in comments.
7935 2012-08-23 Roland McGrath <roland@hack.frob.com>
7937 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7938 * posix/tst-rfc3484-2.c: Likewise.
7939 * posix/tst-rfc3484-3.c: Likewise.
7941 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7943 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7944 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7946 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7948 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7949 #include of fxstatat64.c.
7951 2012-08-22 Roland McGrath <roland@hack.frob.com>
7953 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7954 * shadow/getspent_r.c: Likewise.
7955 * shadow/getspnam.c: Likewise.
7956 * shadow/getspnam_r.c: Likewise.
7957 * gshadow/getsgent.c: Likewise.
7958 * gshadow/getsgent_r.c: Likewise.
7959 * gshadow/getsgnam.c: Likewise.
7960 * gshadow/getsgnam_r.c: Likewise.
7961 * inet/getnetbyad.c: Likewise.
7962 * inet/getnetbyad_r.c: Likewise.
7963 * inet/getnetbynm.c: Likewise.
7964 * inet/getnetbynm_r.c: Likewise.
7965 * inet/getnetent.c: Likewise.
7966 * inet/getnetent_r.c: Likewise.
7967 * inet/getproto.c: Likewise.
7968 * inet/getproto_r.c: Likewise.
7969 * inet/getprtent.c: Likewise.
7970 * inet/getprtent_r.c: Likewise.
7971 * inet/getprtname.c: Likewise.
7972 * inet/getprtname_r.c: Likewise.
7973 * inet/getrpcbyname.c: Likewise.
7974 * inet/getrpcbyname_r.c: Likewise.
7975 * inet/getrpcbynumber.c: Likewise.
7976 * inet/getrpcbynumber_r.c: Likewise.
7977 * inet/getrpcent.c: Likewise.
7978 * inet/getrpcent_r.c: Likewise.
7979 * inet/getaliasent.c: Likewise.
7980 * inet/getaliasent_r.c: Likewise.
7981 * inet/getaliasname.c: Likewise.
7982 * inet/getaliasname_r.c: Likewise.
7983 * nscd/getgrgid_r.c: Likewise.
7984 * nscd/getgrnam_r.c: Likewise.
7985 * nscd/gethstbyad_r.c: Likewise.
7986 * nscd/gethstbynm3_r.c: Likewise.
7987 * nscd/getpwnam_r.c: Likewise.
7988 * nscd/getpwuid_r.c: Likewise.
7989 * nscd/getsrvbynm_r.c: Likewise.
7990 * nscd/getsrvbypt_r.c: Likewise.
7991 * nscd/gai.c: Likewise.
7993 * configure.in (build_nscd): New substituted variable, set
7994 by --disable-build-nscd and defaults to $use_nscd.
7995 * configure: Regenerated.
7996 * config.make.in (build-nscd): New substituted variable.
7997 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7998 Change conditional to require [$(build-nscd) = yes] as well.
7999 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8002 * configure.in (use_nscd): New substituted variable, set by
8003 --disable-nscd. If enabled, define USE_NSCD.
8004 * configure: Regenerated.
8005 * config.h.in: Add USE_NSCD.
8006 * config.make.in (use-nscd): New substituted variable.
8007 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8008 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8009 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8010 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8011 (CFLAGS-getgrnam_r.c): Likewise.
8012 (CFLAGS-initgroups.c): Likewise.
8013 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8014 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8016 * inet/getnetgrent_r.c
8017 (nscd_setnetgrent): New function, broken out of ...
8018 (setnetgrent): ... here. Call it.
8019 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8020 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8021 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8022 * nscd/Makefile (routines, aux): Move definitions after include of
8023 Makeconfig. Conditionalize on [$(use-nscd) != no].
8024 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8025 Conditionalize on [USE_NSCD].
8026 (is_nscd, nscd_init_cb): Likewise.
8027 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8028 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8029 * nss/nss_db/db-init.c: Likewise.
8030 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8032 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8033 (make_request): Use it.
8034 (cache_valid_p): New function.
8035 (__check_pf): Use it.
8036 * NEWS: Add item for --disable-nscd.
8038 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8040 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8041 to support sed >= 4.2.1-20-ga9bf076.
8042 * configure: Regenerated.
8044 2012-08-22 Roland McGrath <roland@hack.frob.com>
8046 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8047 Conditionalize whole body on [IREL].
8049 2012-08-22 Jeff Law <law@redhat.com>
8052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8053 if the family is PF_UNSPEC.
8055 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8057 * Makerules (lib-version): Rename from V.
8058 (install-lib-nosubdir): Change V to lib-version.
8060 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8063 * powerpc32/power6/wcschr.c: New file.
8064 * powerpc32/power6/wcscpy.c: New file.
8065 * powerpc32/power6/wcsrchr.c: New file.
8066 * powerpc64/power6/wcschr.c: New file.
8067 * powerpc64/power6/wcscpy.c: New file.
8068 * powerpc64/power6/wcsrchr.c: New file.
8070 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8072 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8073 (two_way_short_needle): Use it.
8074 * string/strstr.c (AVAILABLE1_USES_J): Define.
8075 * string/strcasestr.c: Likewise.
8077 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8079 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8082 * NEWS: Add an entry.
8083 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8084 define their defaults.
8085 (two_way_short_needle): Detect end-of-string on-the-fly.
8086 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8087 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8088 * string/bug-strcasestr1.c: New test.
8089 * string/Makefile: Run it.
8091 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8094 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8095 the first character.
8097 2012-08-21 Roland McGrath <roland@hack.frob.com>
8099 * csu/elf-init.c (__libc_csu_irel): Function removed.
8100 * csu/libc-start.c (apply_irel): New function.
8101 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8103 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8105 * sysdeps/unix/sysv/linux/kernel-features.h
8106 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8107 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8108 <kernel-features.h>.
8109 [__NR_fadvise64_64]: Make code unconditional.
8110 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8111 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8112 !__NR_fadvise64_64)]: Likewise.
8113 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8114 !__NR_fadvise64_64))]: Likewise.
8115 [__NR_fadvise64]: Make code unconditional.
8116 [!__NR_fadvise64]: Remove conditional code.
8117 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8118 <kernel-features.h>.
8119 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8121 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8124 not include <kernel-features.h>.
8125 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8127 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8129 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8130 include <kernel-features.h>.
8131 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8133 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8136 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8138 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8139 slight instruction rearrangements per scrollpipe analysis.
8140 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8142 2012-08-20 Roland McGrath <roland@hack.frob.com>
8144 * manual/syslog.texi (syslog; vsyslog, closelog):
8145 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8146 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8148 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8149 DSOCAPS to match condition on defining it.
8151 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8153 * sysdeps/unix/sysv/linux/kernel-features.h
8154 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8156 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8157 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8159 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8160 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8162 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8163 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8165 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8166 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8168 * sysdeps/unix/sysv/linux/kernel-features.h
8169 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8170 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8172 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8173 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8174 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8175 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8176 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8177 Make code unconditional.
8178 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8179 (__mmap64) [!__NR_mmap2]: Likewise.
8180 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8181 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8182 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8183 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8184 [__NR_mmap2]: Make code unconditional.
8185 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8186 (__mmap64) [!__NR_mmap2]: Likewise.
8188 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8190 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8192 2012-08-18 Andreas Jaeger <aj@suse.de>
8194 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8196 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8198 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8199 * include/unistd.h (__have_sock_cloexec): Likewise.
8200 (__have_pipe2): Likewise.
8201 (__have_dup3): Likewise.
8203 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8206 * include/unistd.h (__have_pipe2): Change define into an extern int.
8207 (__have_dup3): Likewise.
8208 * socket/have_sock_cloexec.c: Include fcntl.h.
8209 (__have_pipe2): New variable.
8210 (__have_dup3): Likewise.
8212 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8214 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8216 2012-08-17 Marek Polacek <polacek@redhat.com>
8218 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8219 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8221 2012-08-17 Roland McGrath <roland@hack.frob.com>
8223 * configure.in: Add AC_SUBST for sysheaders.
8224 * configure: Regenerated.
8225 * config.make.in (sysheaders): New substituted variable.
8227 * sysdeps/unix/mkfifo.c: Moved ...
8228 * sysdeps/posix/mkfifo.c: ... here.
8229 * sysdeps/unix/mkfifoat.c: Moved ...
8230 * sysdeps/posix/mkfifoat.c: ... here.
8232 * sysdeps/unix/utime.c: Moved ...
8233 * sysdeps/posix/utime.c: ... here.
8235 * sysdeps/unix/time.c: Moved ...
8236 * sysdeps/posix/time.c: ... here.
8237 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8238 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8240 * sysdeps/unix/nice.c: Moved ...
8241 * sysdeps/posix/nice.c: ... here.
8243 * sysdeps/unix/alarm.c: Moved ...
8244 * sysdeps/posix/alarm.c: ... here.
8246 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8248 2012-08-17 Jeff Law <law@redhat.com>
8250 * intl/Makefile (codeset_mo): New variable.
8251 ($(codeset_mo)): New target.
8252 (tst-codeset.out): Depend on that. Remove explicit rule.
8253 (tst-gettext3.out, tst-gettext5.out): Likewise.
8254 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8255 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8256 * intl/tst-codeset.sh: Remove.
8257 * intl/tst-gettext3.sh: Likewise.
8258 * intl/tst-gettext5.sh: Likewise.
8260 2012-08-17 Roland McGrath <roland@hack.frob.com>
8262 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8263 * sysdeps/unix/syscalls.list: ... here.
8265 * sysdeps/posix/getaddrinfo.c
8266 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8267 (gaiconf_init, gaiconf_reload): Use them.
8269 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8270 Define using time_t rather than struct timespec.
8272 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8273 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8275 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8277 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8278 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8281 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8282 __libc_cleanup_push argument.
8284 * bits/param.h: New file.
8285 * misc/sys/param.h: New file.
8286 * include/sys/param.h: New file.
8287 * misc/Makefile (headers): Add bits/param.h.
8288 * sysdeps/generic/sys/param.h: File removed.
8289 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8290 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8291 * sysdeps/mach/hurd/bits/param.h: New file.
8292 * sysdeps/mach/hurd/sys/param.h: File removed.
8294 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8297 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8299 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8300 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8303 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8304 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8305 rather than -D_IO_MTSAFE_IO conditionally.
8306 * stdio-common/Makefile (CPPFLAGS): Likewise.
8307 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8308 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8309 Use $(libio-mtsafe).
8310 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8312 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8313 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8314 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8315 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8316 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8317 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8318 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8319 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8320 (CFLAGS-fread_u_chk.c): Likewise.
8321 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8322 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8323 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8324 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8325 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8326 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8327 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8328 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8329 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8331 * libio/Makefile: Test [$(libc-reentrant) = yes]
8332 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8335 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8336 * sysdeps/pthread/configure: File removed.
8337 * sysdeps/pthread/Makeconfig: New file.
8338 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8339 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8341 2012-08-16 Gary Benson <gbenson@redhat.com>
8343 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8344 unmapping the first object in a namespace.
8346 2012-08-16 Roland McGrath <roland@hack.frob.com>
8348 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8349 (__internal_setnetgrent): ... this. Add internal_function to
8350 definition. Add libc_hidden_def.
8351 (setnetgrent): Update caller.
8352 (internal_endnetgrent): Renamed to ...
8353 (__internal_endnetgrent): ... this. Add internal_function to
8354 definition. Add libc_hidden_def.
8355 (endnetgrent): Update caller.
8356 (internal_getnetgrent_r): Renamed to ...
8357 (__internal_getnetgrent_r): ... this. Add internal_function to
8358 definition. Add libc_hidden_def.
8359 (__getnetgrent_r): Update caller.
8360 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8362 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8364 * stdlib/longlong.h: Update from GCC.
8366 2012-08-16 Roland McGrath <roland@hack.frob.com>
8368 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8369 on _QL, which is set by umul_ppmm but never used.
8370 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8371 variables, which are set by GMP macros but never used.
8372 * stdio-common/_itowa.c (_itowa): Likewise.
8373 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8374 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8376 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8378 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8379 struct La_sh_regs is not constant.
8380 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8381 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8382 and struct La_sparc64_regs are not constant.
8384 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8386 * sysdeps/unix/sysv/linux/kernel-features.h
8387 (__ASSUME_POSIX_TIMERS): Remove.
8388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8390 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8391 Make code unconditional.
8392 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8393 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8394 Make code unconditional.
8395 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8396 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8397 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8398 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8399 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8400 Make code unconditional.
8401 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8402 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8403 (__libc_missing_posix_timers): Remove.
8405 2012-08-15 Roland McGrath <roland@hack.frob.com>
8407 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8408 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8410 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8412 * elf/dl-sym.c: Include <stdlib.h>.
8414 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8415 constants, which avoids warnings in 32-bit builds.
8417 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8418 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8420 * misc/lseek.c: File moved to ...
8421 * io/lseek.c: ... here.
8423 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8425 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8426 shifting LEN more than 31 bits at once.
8428 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8431 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8432 segmentation fault for a case of two empty input strings.
8433 * string/test-strncasecmp.c (check1): Renamed to...
8435 (bz14195): Add new testcase for two empty input strings and N > 0.
8436 (test_main): Call new testcase, adapt for renamed function.
8438 2012-08-15 Andreas Jaeger <aj@suse.de>
8441 * crypt/md5test2.c: New test, based on test supplied by Serge
8442 Belyshev <belyshev@depni.sinp.msu.ru>.
8443 * crypt/Makefile (xtests): Add md5test-giant..
8444 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8446 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8449 * crypt/md5.c (md5_process_block): Don't assume the buffer
8450 length is less than 2**32.
8451 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8452 length is less than 2**64.
8454 2012-08-15 Roland McGrath <roland@hack.frob.com>
8456 * string/str-two-way.h: Include <sys/param.h>.
8457 (MAX): Macro removed.
8459 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8460 Move #define and #undef of memmove to just before and after
8461 including <string.h>.
8463 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8464 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8465 and after including <string.h>. Move declarations of
8466 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8467 to before #include "string/memmove.c".
8469 * include/dirent.h: Declare __getdirentries.
8471 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8472 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8474 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8476 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8477 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8478 * sysdeps/i386/configure: Regenerated.
8479 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8480 STABS_CURRENT_FILE, and STABS_FUN.
8481 (END): Remove call to STABS_FUN_END.
8482 (STABS_CURRENT_FILE1): Delete.
8483 (STABS_CURRENT_FILE): Likewise.
8484 (STABS_FUN): Likewise.
8485 (STABS_FUN_END): Likewise.
8486 (STABS_FUN2): Likewise.
8487 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8488 * sysdeps/x86_64/configure: Regenerated.
8490 2012-08-14 Roland McGrath <roland@hack.frob.com>
8492 * elf/dl-open.c: Include <atomic.h>.
8493 * elf/dl-lookup.c: Likewise.
8495 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8497 * sysdeps/unix/sysv/linux/kernel-features.h
8498 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8499 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8501 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8503 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8504 condition on __ASSUME_CLONE_THREAD_FLAGS.
8506 2012-08-14 Andreas Jaeger <aj@suse.de>
8508 * sysdeps/i386/fpu/libm-test-ulps: Update.
8510 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8512 * include/atomic.h (atomic_exchange_and_add): Split into ...
8513 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8516 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8520 2012-08-13 Jeff Law <law@redhat.com>
8522 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8523 null byte in the output string.
8525 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8527 * sysdeps/unix/sysv/linux/kernel-features.h
8528 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8529 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8530 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8531 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8532 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8533 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8534 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8536 2012-08-09 Jeff Law <law@redhat.com>
8539 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8540 When avoid_arena is set, don't retry in the that arena. Pick the
8541 next one, whatever it might be.
8542 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8543 (arena_lock): Pass in new parameter to arena_get2.
8544 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8546 (__libc_malloc): Unify retrying after main arena failure with
8547 __libc_memalign version.
8548 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8550 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8553 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8554 to __redirect_strstr.
8555 (__strstr_sse42): Use typeof __redirect_strstr.
8556 (__strstr_ia32): Likewise.
8557 (__libc_strstr): New prototype.
8558 (strstr): Renamed to ...
8559 (__libc_strstr): This.
8560 (strstr): New strong alias of __libc_strstr.
8561 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8562 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8565 (__libc_time): New prototype.
8566 (time_ifunc): Replace time with __libc_time.
8567 (time): New strong alias and hidden definition of __libc_time.
8568 (__GI_time): Remove strong alias.
8569 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8571 (memmove): Redefined to __redirect_memmove.
8572 (__memmove_sse2): Use typeof __redirect_memmove.
8573 (__memmove_ssse3): Likewise.
8574 (__memmove_ssse3_back): Likewise.
8575 (__libc_memmove): New prototype.
8576 (memmove): Renamed to ...
8577 (__libc_memmove): This.
8578 (memmove): New strong alias of __libc_memmove.
8580 2012-08-08 Mark Salter <msalter@redhat.com>
8583 (R_MN10300_TLS_GD): Define.
8584 (R_MN10300_TLS_LD): Likewise.
8585 (R_MN10300_TLS_LDO): Likewise.
8586 (R_MN10300_TLS_GOTIE): Likewise.
8587 (R_MN10300_TLS_IE): Likewise.
8588 (R_MN10300_TLS_LE): Likewise.
8589 (R_MN10300_TLS_DTPMOD): Likewise.
8590 (R_MN10300_TLS_DTPOFF): Likewise.
8591 (R_MN10300_TLS_TPOFF): Likewise.
8592 (R_MN10300_SYM_DIFF): Likewise.
8593 (R_MN10300_ALIGN): Likewise.
8594 (R_MN10300_NUM): Update.
8596 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8598 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8601 2012-08-08 Roland McGrath <roland@hack.frob.com>
8603 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8605 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8606 sysdeps/unix -> sysdeps/posix move.
8607 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8609 2012-08-07 Allan McRae <allan@archlinux.org>
8612 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8613 (SUNOS_CPP): Likewise.
8614 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8616 (open_input): Call CPP using execvp.
8618 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8620 * sysdeps/unix/sysv/linux/kernel-features.h
8621 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8622 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8623 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8624 (__ASSUME_WAITID_SYSCALL): Likewise.
8625 * sysdeps/unix/sysv/linux/dl-execstack.c
8626 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8628 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8630 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8631 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8632 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8634 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8636 [__ASSUME_WAITID_SYSCALL]: Likewise.
8637 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8639 2012-08-07 Roland McGrath <roland@hack.frob.com>
8641 * sysdeps/unix/closedir.c: Renamed to ...
8642 * sysdeps/posix/closedir.c: ... here.
8643 * sysdeps/unix/dirfd.c: Renamed to ...
8644 * sysdeps/posix/dirfd.c: ... here.
8645 * sysdeps/unix/dirstream.h: Renamed to ...
8646 * sysdeps/posix/dirstream.h: ... here.
8647 * sysdeps/unix/fdopendir.c: Renamed to ...
8648 * sysdeps/posix/fdopendir.c: ... here.
8649 * sysdeps/unix/opendir.c: Renamed to ...
8650 * sysdeps/posix/opendir.c: ... here.
8651 * sysdeps/unix/readdir.c: Renamed to ...
8652 * sysdeps/posix/readdir.c: ... here.
8653 * sysdeps/unix/readdir_r.c: Renamed to ...
8654 * sysdeps/posix/readdir_r.c: ... here.
8655 * sysdeps/unix/rewinddir.c: Renamed to ...
8656 * sysdeps/posix/rewinddir.c: ... here.
8657 * sysdeps/unix/seekdir.c: Renamed to ...
8658 * sysdeps/posix/seekdir.c: ... here.
8659 * sysdeps/unix/telldir.c: Renamed to ...
8660 * sysdeps/posix/telldir.c: ... here.
8661 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8662 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8663 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8664 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8666 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8667 * bits/fcntl.h: ... here.
8669 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8671 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8672 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8673 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8674 (struct flock): Move l_start, l_len to the beginning.
8675 Use __pid_t for l_pid.
8676 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8677 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8678 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8679 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8680 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8681 [__USE_LARGEFILE64] (struct flock64): New type.
8682 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8684 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8685 * bits/dirent.h: ... here.
8687 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8688 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8690 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8692 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8693 Change from 2.6.0 to 2.6.16.
8694 * sysdeps/unix/sysv/linux/configure: Regenerated.
8695 * sysdeps/unix/sysv/linux/kernel-features.h
8696 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8697 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8699 (__ASSUME_UTIMES): Likewise.
8700 (__ASSUME_CLONE_STOPPED): Remove.
8701 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8702 architectures, not kernel version.
8703 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8704 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8705 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8706 (__ASSUME_WAITID_SYSCALL): Likewise.
8707 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8708 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8709 * README: State 2.6.16 as minimum Linux kernel version. Do not
8710 refer to older versions.
8712 2012-08-06 Roland McGrath <roland@hack.frob.com>
8714 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8715 Define alphasort64 as an alias.
8716 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8717 Define versionsort64 as an alias.
8718 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8719 Define scandir64 as an alias.
8720 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8721 Define scandirat64 as an alias.
8722 * dirent/alphasort64.c (alphasort64):
8723 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8724 * dirent/versionsort64.c: Likewise.
8725 * dirent/scandir64.c: Likewise.
8726 * dirent/scandirat64.c: Likewise.
8727 * sysdeps/wordsize-64/alphasort.c: File removed.
8728 * sysdeps/wordsize-64/alphasort64.c: File removed.
8729 * sysdeps/wordsize-64/scandir.c: File removed.
8730 * sysdeps/wordsize-64/scandir64.c: File removed.
8731 * sysdeps/wordsize-64/scandirat.c: File removed.
8732 * sysdeps/wordsize-64/scandirat64.c: File removed.
8733 * sysdeps/wordsize-64/versionsort.c: File removed.
8734 * sysdeps/wordsize-64/versionsort64.c: File removed.
8735 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8736 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8737 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8738 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8739 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8740 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8741 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8742 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8744 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8746 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8748 [defined __arch64__ || defined __sparcv9]
8749 (__INO_T_MATCHES_INO64_T): New macro.
8750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8751 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8752 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8753 * sysdeps/unix/sysv/linux/bits/dirent.h
8754 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8755 (_DIRENT_MATCHES_DIRENT64): New macro.
8757 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8758 Define lockf64 as an alias.
8759 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8760 Define fseeko64 as an alias.
8761 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8762 Define ftello64 as an alias.
8763 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8764 Define _IO_fgetpos64 and fgetpos64 as aliases.
8765 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8766 Define _IO_fsetpos64 and fsetpos64 as aliases.
8767 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8768 Conditionalize body on this.
8769 * libio/fseeko64.c: Likewise.
8770 * libio/ftello64.c: Likewise.
8771 * libio/iofgetpos64.c: Likewise.
8772 * libio/iofsetpos64.c: Likewise.
8773 * sysdeps/wordsize-64/lockf.c: File removed.
8774 * sysdeps/wordsize-64/lockf64.c: File removed.
8775 * sysdeps/wordsize-64/fseeko.c: File removed.
8776 * sysdeps/wordsize-64/fseeko64.c: File removed.
8777 * sysdeps/wordsize-64/ftello.c: File removed.
8778 * sysdeps/wordsize-64/ftello64.c: File removed.
8779 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8780 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8781 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8782 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8785 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8786 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8787 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8788 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8789 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8791 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8792 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8794 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8796 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8798 [defined __arch64__ || defined __sparcv9]
8799 (__OFF_T_MATCHES_OFF64_T): New macro.
8800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8801 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8803 (__OFF_T_MATCHES_OFF64_T): New macro.
8805 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8807 * stdlib/secure-getenv.c (__secure_getenv): Replace
8808 GLIBC_2_16 with GLIBC_2_17.
8810 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8812 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8815 2012-08-03 David S. Miller <davem@davemloft.net>
8817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8819 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8823 (__ASSUME_CORRECT_SI_PID): Likewise.
8824 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8825 (__ASSUME_TMPFS_NAME): Likewise.
8826 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8827 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8828 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8829 (HAVE_AUX_SECURE): Make definition unconditional.
8830 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8831 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8833 2012-08-03 Roland McGrath <roland@hack.frob.com>
8835 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8836 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8837 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8838 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8839 __eloop_threshold instead of SYMLOOP_MAX.
8841 * sysdeps/generic/eloop-threshold.h: New file.
8842 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8844 * elf/chroot_canon.c (chroot_canon): Likewise.
8846 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8849 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8850 Change to 2.6.0 everywhere.
8851 * sysdeps/unix/sysv/linux/configure: Regenerated.
8852 * sysdeps/unix/sysv/linux/kernel-features.h
8853 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8854 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8856 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8857 (__ASSUME_FUTEX_REQUEUE): Remove.
8858 (__ASSUME_STATFS64): Define unconditionally.
8859 (__ASSUME_AT_SECURE): Likewise.
8860 (__ASSUME_CORRECT_SI_PID): Likewise.
8861 (__ASSUME_TGKILL): Define without depending on kernel version for
8863 (__ASSUME_UTIMES): Likewise.
8864 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8866 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8867 (__ASSUME_TMPFS_NAME): Likewise.
8868 * README: Update reference to Linux kernel versions.
8870 2012-08-02 Marek Polacek <polacek@redhat.com>
8873 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8874 libc_cv_asm_type_prefix with %.
8875 * configure: Regenerated.
8876 * include/libc-symbols.h: Remove comment about
8877 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8878 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8879 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8880 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8881 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8882 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8883 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8884 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8885 * elf/tst-unique2mod1.c: Likewise.
8886 * elf/tst-unique1mod2.c: Likewise.
8887 * elf/tst-unique1mod1.c: Likewise.
8888 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8889 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8890 Replace ASM_TYPE_DIRECTIVE with .type.
8891 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8892 * sysdeps/i386/sysdep.h: Likewise.
8893 * sysdeps/x86_64/sysdep.h: Likewise.
8894 * sysdeps/sh/sysdep.h: Likewise.
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8896 Do not define ASM_TYPE_DIRECTIVE.
8897 * sysdeps/powerpc/sysdep.h: Likewise.
8898 * sysdeps/powerpc/powerpc32/sysdep.h:
8899 Replace ASM_TYPE_DIRECTIVE with .type.
8900 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8901 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8902 * sysdeps/i386/fpu/e_powf.S: Likewise.
8903 * sysdeps/i386/fpu/e_expl.S: Likewise.
8904 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8905 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8906 * sysdeps/i386/fpu/e_pow.S: Likewise.
8907 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8908 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8909 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8910 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8911 * sysdeps/i386/fpu/e_log2.S: Likewise.
8912 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8913 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8914 * sysdeps/i386/fpu/e_powl.S: Likewise.
8915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8916 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8917 * sysdeps/i386/fpu/e_logl.S: Likewise.
8918 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8919 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8920 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8921 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8922 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8923 * sysdeps/i386/fpu/e_log.S: Likewise.
8924 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8925 * sysdeps/i386/fpu/e_logf.S: Likewise.
8926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8927 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8928 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8929 * sysdeps/i386/fpu/e_log10.S: Likewise.
8930 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8931 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8932 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8933 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8934 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8935 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8936 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8937 * sysdeps/i386/i686/strtok.S: Likewise.
8938 * sysdeps/i386/i386-mcount.S: Likewise.
8939 * sysdeps/i386/strtok.S: Likewise.
8940 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8941 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8943 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8944 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8945 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8946 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8947 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8948 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8949 * sysdeps/x86_64/_mcount.S: Likewise.
8950 * sysdeps/x86_64/strtok.S: Likewise.
8951 * sysdeps/sh/_mcount.S: Likewise.
8953 2012-08-01 Roland McGrath <roland@hack.frob.com>
8955 * libio/iofopen.c: Include <fcntl.h>.
8956 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8957 (_IO_fopen64, fopen64): Define as aliases.
8958 * libio/iofopen64.c: Include <fcntl.h>.
8959 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8960 Conditionalize body on this.
8961 * sysdeps/wordsize-64/iofopen.c: File removed.
8962 * sysdeps/wordsize-64/iofopen64.c: File removed.
8964 2012-08-01 Marek Polacek <polacek@redhat.com>
8966 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8967 Use dlfcn directly instead of a variable.
8968 (binfmt-subdir): Do not define.
8971 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8973 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8974 Remove all definitions.
8975 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8976 <kernel-features.h>.
8977 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8978 (miss_F_GETOWN_EX): Remove all definitions.
8979 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8981 [!__ASSUME_FCNTL64]: Remove conditional code.
8982 [__ASSUME_FCNTL64]: Make code unconditional.
8983 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8984 <kernel-features.h>.
8985 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8986 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8987 (lockf64) [__NR_fcntl64]: Make code unconditional.
8988 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8990 * sysdeps/unix/sysv/linux/kernel-features.h
8991 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8992 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8993 Make code unconditional.
8994 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8995 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8997 [__NR_vfork]: Make code unconditional.
8998 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8999 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9001 [__NR_vfork]: Make code unconditional.
9002 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9003 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9005 2012-08-01 Roland McGrath <roland@hack.frob.com>
9007 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9008 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9010 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9011 Define mkstemp64 as an alias.
9012 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9013 Define mkstemps64 as an alias.
9014 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9015 Define mkostemp64 as an alias.
9016 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9017 Define mkostemps64 as an alias.
9018 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9019 Conditionalize body on this.
9020 * misc/mkostemp64.c: Likewise.
9021 * misc/mkostemps64.c: Likewise.
9022 * misc/mkstemps64.c: Likewise.
9023 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9024 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9025 * sysdeps/wordsize-64/mkostemp.c: File removed.
9026 * sysdeps/wordsize-64/mkstemp.c: File removed.
9027 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9028 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9029 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9030 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9033 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9034 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9035 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9036 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9038 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9039 compat_symbol macros from <shlib-compat.h> rather than the underlying
9040 default_symbol_version and symbol_version macros, so that DEFAULT
9041 lines in shlib-versions are respected.
9042 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9044 2012-08-01 Florian Weimer <fweimer@redhat.com>
9046 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9047 Declare with warn_unused_result.
9048 (setgid, setregid, setegid, setresgid): Likewise.
9049 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9051 * WUR-REPORT: Remove set*id functions.
9053 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9055 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9057 2012-07-31 Roland McGrath <roland@hack.frob.com>
9059 * include/sys/socket.h (__libc_accept, __libc_accept4):
9060 Add attribute_hidden.
9061 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9063 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9065 * inet/getnetgrent_r.c (setup): Likewise.
9067 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9069 2012-07-31 David S. Miller <davem@davemloft.net>
9071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9073 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9076 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9077 value between 1.0 and 2.0 and smaller part has absolute value less
9079 * math/s_clog10.c (__clog10): Likewise.
9080 * math/s_clog10f.c (__clog10f): Likewise.
9081 * math/s_clog10l.c (__clog10l): Likewise.
9082 * math/s_clogf.c (__clogf): Likewise.
9083 * math/s_clogl.c (__clogl): Likewise.
9084 * math/libm-test.inc (clog_test): Add more tests.
9085 (clog10_test): Likewise.
9086 * sysdeps/i386/fpu/libm-test-ulps: Update.
9087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9089 2012-07-31 Florian Weimer <fweimer@redhat.com>
9091 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9092 Exit with zero in case no suitable GID is found, and write a
9093 message to standard error.
9095 2012-07-30 Roland McGrath <roland@hack.frob.com>
9097 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9099 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9100 (MAXPATHLEN): Removed.
9101 (NOGROUP, NODEV): New macros.
9102 (setbit, clrbit, isset, isclr): New macros.
9103 (howmany, roundup, powerof2): New macros.
9104 (DEV_BSIZE): New macro.
9106 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9107 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9109 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9110 definition on [!__NO_LONG_DOUBLE_MATH].
9112 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9113 PTR_MANGLE and PTR_DEMANGLE.
9115 * socket/accept4.c (accept4): Rename to __libc_accept4.
9116 Define accept4 as a weak alias.
9118 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9119 on [_DIRENT_HAVE_D_TYPE].
9120 * io/ftw.c (ftw_dir): Likewise.
9122 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9124 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9126 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9127 Use the BSD numbers rather than the arbitrary ones we had.
9128 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9129 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9130 (SIGXCPU, SIGXFSZ): New macros.
9133 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9134 initializer on [_LIBC_REENTRANT].
9136 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9137 definitions inside [_POSIX_MAPPED_FILES].
9139 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9141 * dirent/opendir.c: Include <fcntl.h>.
9143 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9144 (__libc_getspecific): Likewise.
9145 (__libc_key_create): Likewise.
9147 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9148 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9149 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9150 (tmpfile64): Define as alias.
9151 * sysdeps/wordsize-64/tmpfile.c: File removed.
9152 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9154 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9156 * stdio-common/vfscanf.c: Include <stdbool.h>.
9157 * nss/makedb.c: Likewise.
9158 * stdio-common/_i18n_number.h: Likewise.
9159 * argp/argp-help.c: Likewise.
9160 * posix/wordexp.c: Likewise.
9161 * sysdeps/posix/spawni.c: Likewise.
9162 * nss/nss_files/files-initgroups.c: Likewise.
9163 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9164 * nss/nss_files/files-initgroups.c: Likewise.
9165 * nss/nss_db/db-netgrp.c: Likewise.
9166 * nss/nss_db/db-initgroups.c: Likewise.
9167 * io/fchmodat.c: Include <sys/stat.h>.
9169 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9170 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9172 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9175 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9176 Add multiple inclusion protection.
9178 2012-07-27 David S. Miller <davem@davemloft.net>
9180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9182 2012-07-27 Gary Benson <gbenson@redhat.com>
9185 * elf/rtld.c: Include <stap-probe.h>.
9186 (dl_main): Added static probes "init_start" and "init_complete".
9187 * elf/dl-load.c: Include <stap-probe.h>.
9188 (lose): Take new parameter "nsid".
9189 Added static probe "map_failed".
9190 (_dl_map_object_from_fd): Pass namespace id to lose.
9191 Added static probe "map_start".
9192 (open_verify): Pass namespace id to lose.
9193 * elf/dl-open.c: Include <stap-probe.h>.
9194 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9195 and "reloc_complete".
9196 * elf/dl-close.c: Include <stap-probe.h>.
9197 (_dl_close_worker): Added static probes "unmap_start" and
9199 * elf/rtld-debugger-interface.txt: New file documenting the above.
9201 2012-07-26 Roland McGrath <roland@hack.frob.com>
9203 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9204 rather than a string variable.
9205 * sunrpc/rpc_main.c (h_output): Likewise.
9206 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9208 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9210 * inet/check_native.c: New file.
9212 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9215 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9216 if larger part has absolute value 1.0.
9217 * math/s_clog10.c (__clog10): Likewise.
9218 * math/s_clog10f.c (__clog10f): Likewise.
9219 * math/s_clog10l.c (__clog10l): Likewise.
9220 * math/s_clogf.c (__clogf): Likewise.
9221 * math/s_clogl.c (__clogl): Likewise.
9222 * math/libm-test.inc (clog_test): Add more tests.
9223 (clog10_test): Likewise.
9224 * sysdeps/i386/fpu/libm-test-ulps: Update.
9225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9227 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9228 (pltexit): Likewise.
9229 (La_regs): Likewise.
9230 (La_retval): Likewise.
9231 (int_retval): Likewise.
9232 Update #error for removed macros to refer only to definitions in
9234 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9236 (pltexit): Likewise.
9237 (La_regs): Likewise.
9238 (La_retval): Likewise.
9239 (int_retval): Likewise.
9240 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9242 (pltexit): Likewise.
9243 (La_regs): Likewise.
9244 (La_retval): Likewise.
9245 (int_retval): Likewise.
9246 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9248 (pltexit): Likewise.
9249 (La_regs): Likewise.
9250 (La_retval): Likewise.
9251 (int_retval): Likewise.
9252 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9254 (pltexit): Likewise.
9255 (La_regs): Likewise.
9256 (La_retval): Likewise.
9257 (int_retval): Likewise.
9258 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9260 (pltexit): Likewise.
9261 (La_regs): Likewise.
9262 (La_retval): Likewise.
9263 (int_retval): Likewise.
9264 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9266 (pltexit): Likewise.
9267 (La_regs): Likewise.
9268 (La_retval): Likewise.
9269 (int_retval): Likewise.
9270 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9271 macro definitions in tst-audit.h.
9272 * sysdeps/i386/tst-audit.h: New file.
9273 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9274 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9275 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9276 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9277 * sysdeps/sh/tst-audit.h: Likewise.
9278 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9279 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9280 * sysdeps/x86_64/tst-audit.h: Likewise.
9282 2012-07-26 Andreas Jaeger <aj@suse.de>
9284 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9287 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9288 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9289 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9291 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9292 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9293 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9295 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9298 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9300 (si_call_addr, si_syscall, si_arch): Define new macro.
9301 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9303 (si_call_addr, si_syscall, si_arch): Define new marcro.
9304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9306 (si_call_addr, si_syscall, si_arch): Define new macro.
9307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9309 (si_call_addr, si_syscall, si_arch): Define new macro.
9311 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9315 Change to 2.4.21 where previously 2.4.1.
9316 * sysdeps/unix/sysv/linux/configure: Regenerated.
9317 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9318 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9319 Linux kernel version.
9320 (__ASSUME_STD_AUXV): Remove.
9321 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9323 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9324 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9325 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9326 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9327 (__ASSUME_NETLINK_SUPPORT): Likewise.
9328 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9329 (__no_netlink_support): Remove conditional definition.
9330 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9332 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9333 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9334 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9335 (if_nameindex_ioctl): Remove.
9336 (if_nameindex_netlink): Do not handle __no_netlink_support.
9337 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9339 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9340 Remove conditional code.
9341 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9343 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9345 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9346 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9347 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9349 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9350 [!__ASSUME_STD_AUXV]: Remove conditional code.
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9352 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9353 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9355 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9356 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9358 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9360 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9361 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9363 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9365 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9368 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9371 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9373 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9375 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9377 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9380 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9382 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9385 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9387 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9389 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9391 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9394 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9396 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9398 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9400 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9403 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9405 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9406 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9407 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9408 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9409 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9410 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9411 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9412 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9413 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9414 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9415 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9416 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9417 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9418 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9419 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9420 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9421 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9429 2012-07-25 Florian Weimer <fweimer@redhat.com>
9431 * Versions.def: Add GLIBC_2.17.
9432 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9433 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9434 Introduce __libc_secure_getenv.
9435 * stdlib/Versions (2.17): Add secure_getenv
9436 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9437 * stdlib/secure-getenv.c: Rename __secure_getenv to
9438 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9439 symbol __secure_getenv for GLIBC_2.0.
9440 * stdlib/tst-secure-getenv.c: New.
9441 * stdlib/Makefile (tests): Add testcase.
9442 * manual/startup.texi (Environment Access): Document
9444 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9445 __libc_secure_getenv.
9446 * inet/ruserpass.c (ruserpass): Likewise.
9447 * malloc/mtrace.c (mtrace): Likewise.
9448 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9449 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9450 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9451 * sysdeps/posix/tempname.c: Likewise. Evaluate
9453 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9454 __secure_getenv to __libc_secure_getenv.
9455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9468 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9470 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9471 (struct La_i86_retval): Likewise.
9472 (struct La_x86_64_regs): Likewise.
9473 (struct La_x86_64_retval): Likewise.
9474 (struct La_x32_regs): Likewise.
9475 (struct La_x32_retval): Likewise.
9476 (struct La_ppc32_regs): Likewise.
9477 (struct La_ppc32_retval): Likewise.
9478 (struct La_ppc64_regs): Likewise.
9479 (struct La_ppc64_retval): Likewise.
9480 (struct La_sh_regs): Likewise.
9481 (struct La_sh_retval): Likewise.
9482 (struct La_s390_32_regs): Likewise.
9483 (struct La_s390_32_retval): Likewise.
9484 (struct La_s390_64_regs): Likewise.
9485 (struct La_s390_64_retval): Likewise.
9486 (struct La_sparc32_regs): Likewise.
9487 (struct La_sparc32_retval): Likewise.
9488 (struct La_sparc64_regs): Likewise.
9489 (struct La_sparc64_retval): Likewise.
9490 (struct audit_ifaces): Remove architecture-specific pltenter and
9492 * sysdeps/i386/ldsodefs.h: New file.
9493 * sysdeps/powerpc/ldsodefs.h: Likewise.
9494 * sysdeps/s390/ldsodefs.h: Likewise.
9495 * sysdeps/sh/ldsodefs.h: Likewise.
9496 * sysdeps/sparc/ldsodefs.h: Likewise.
9497 * sysdeps/x86_64/ldsodefs.h: Likewise.
9499 2012-07-25 Marek Polacek <polacek@redhat.com>
9502 * math/libm-test.inc (yn_test): Add another test.
9503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9504 to ERANGE when the result is +-Inf.
9505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9506 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9508 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9510 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9512 * conform/data/time.h-data (NULL): Use macro-constant. Require
9514 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9516 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9518 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9520 * configure.in <sysdeps resolving>: Correct printing
9522 * configure: Regenerate.
9524 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9526 * math/w_ilogb.c: Include <limits.h>.
9527 * math/w_ilogbl.c: Likewise.
9529 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9531 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9532 va_copy. Document allowing for unavailable va_copy only as
9533 pre-C99 compatibility.
9534 * manual/string.texi (Copying and Concatenation): Use va_copy
9535 instead of __va_copy in concat example.
9537 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9539 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9540 (__sendto): Use create_address_port. Initialize APORT and deallocate
9543 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9544 with O_NOLINK passed to __file_name_lookup.
9546 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9547 with O_NOLINK passed to __file_name_lookup.
9549 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9550 negative N or less than NGIDS.
9552 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9553 type to string_t. Set ERANGE as errno and return it if NAME is not big
9554 enough. Use memcpy instead of strncpy.
9556 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9558 * elf/Makefile (check-data): Remove.
9559 (localplt.data): New vpath directive.
9560 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9561 instead of $(check-data).
9562 * scripts/data/localplt-generic.data: Move to ...
9563 * sysdeps/generic/localplt.data: ... here.
9564 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9565 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9566 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9569 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9572 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9575 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9578 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9581 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9585 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9587 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9588 PPC32 and PPC64 files.
9589 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9590 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9592 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9594 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9595 __makecontext_ret to ...
9596 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9597 ... here and call exit if uc_link is NULL. New file.
9598 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9599 __makecontext_ret.S.
9600 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9601 __makecontext_ret to ...
9602 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9603 ... here and call exit if uc_link is NULL. New file.
9604 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9605 __makecontext_ret.S.
9607 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9609 * elf/elf.h (R_390_IRELATIVE): New definition.
9610 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9611 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9612 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9613 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9614 (elf_machine_lazy_rel): Likewise.
9615 * sysdeps/s390/dl-irel.h: New file.
9616 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9617 * sysdeps/s390/s390-64/memset.S: New asm code.
9618 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9619 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9620 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9621 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9622 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9623 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9624 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9625 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9626 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9627 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9628 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9629 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9630 * sysdeps/s390/s390-32/memset.S: New asm code.
9631 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9633 2012-07-17 Marek Polacek <polacek@redhat.com>
9636 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9637 * sysdeps/s390/s390-64/configure.in: Likewise.
9638 * sysdeps/sparc/configure.in: Likewise.
9639 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9640 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9641 * sysdeps/i386/configure.in: Likewise.
9642 * sysdeps/x86_64/configure.in: Likewise.
9643 * sysdeps/sh/configure.in: Likewise.
9644 * sysdeps/s390/s390-32/configure: Regenerated.
9645 * sysdeps/s390/s390-64/configure: Likewise.
9646 * sysdeps/x86_64/configure: Likewise.
9647 * sysdeps/sh/configure: Likewise.
9648 * sysdeps/powerpc/powerpc64/configure: Likewise.
9649 * sysdeps/powerpc/powerpc32/configure: Likewise.
9650 * sysdeps/sparc/configure: Likwise.
9651 * sysdeps/i386/configure: Likewise.
9653 * elf/dl-open.c: Comment fixes.
9655 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9657 * Makefile [CXX] (check-data): Remove.
9658 [CXX] (c++-types.data): New vpath directive.
9659 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9660 vpath. Do not allow for C++ type data being missing.
9661 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9662 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9663 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9664 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9665 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9666 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9667 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9670 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9673 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9676 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9679 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9682 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9685 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9688 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9691 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9692 definitions to architecture-specific files.
9696 * sysdeps/i386/tls-macros.h: New file.
9697 * sysdeps/powerpc/tls-macros.h: Likewise.
9698 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9699 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9700 * sysdeps/sh/tls-macros.h: Likewise.
9701 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9702 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9703 * sysdeps/x86_64/tls-macros.h: Likewise.
9705 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9708 zero value for regular exit case.
9710 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9711 (__start_context): Preserve zero value for regular exit case.
9713 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9714 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9716 * manual/setjmp.texi (setcontext): Clarify normal process
9717 termination when uc_link is the null pointer.
9718 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9721 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9723 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9724 preprocessor. Test for each exception mask separately.
9726 2012-07-16 Andreas Jaeger <aj@suse.de>
9728 * po/ru.po: Update from translation team.
9730 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9732 * conform/data/string.h-data (NULL): Use macro-constant. Require
9734 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9735 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9736 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9737 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9740 2012-07-13 Andreas Jaeger <aj@suse.de>
9742 * po/fr.po: Update from translation team.
9744 2012-07-12 Marek Polacek <polacek@redhat.com>
9747 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9748 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9751 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9755 Change to 2.4.1 where previously 2.4.0.
9756 * sysdeps/unix/sysv/linux/configure: Regenerated.
9757 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9758 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9760 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9761 (__ASSUME_AT_CLKTCK): Remove.
9762 (__ASSUME_AT_PAGESIZE): Likewise.
9763 (__ASSUME_AT_XID): Likewise.
9764 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9765 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9766 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9768 (HAVE_AUX_PAGESIZE): Likewise.
9769 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9770 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9771 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9773 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9777 the temporary buffer used to invoke __gethostbyname2_r,
9778 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9779 host_data / struct gaih_addrtuple.
9780 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9781 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9782 header file nss/nsswitch.h.
9783 * nss/nsswitch.h (global scope): Add definition of implementation
9784 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9785 resolv/nss_dns/dns-host.c).
9787 2012-07-11 Andreas Jaeger <aj@suse.de>
9789 * po/fr.po: Update from translation team.
9791 * po/sv.po: Update from translation team
9792 * po/fr.po: Another update from translation team.
9794 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9797 for subnormals or multiply small sinh result by itself.
9798 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9801 2012-07-11 David S. Miller <davem@davemloft.net>
9803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9805 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9808 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9809 (INTERNAL_MARK): Shift it here.
9811 2012-07-10 Marek Polacek <polacek@redhat.com>
9814 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9815 libc_cv_asm_global_directive with .globl.
9816 * configure: Regenerated.
9817 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9819 * sysdeps/i386/configure: Regenerated.
9820 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9822 * sysdeps/x86_64/configure: Regenerated.
9823 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9824 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9825 * elf/tst-unique2mod2.c: Likewise.
9826 * elf/tst-unique2mod1.c: Likewise.
9827 * elf/tst-unique1mod2.c: Likewise.
9828 * elf/tst-unique1mod1.c: Likewise.
9829 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9830 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9831 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9832 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9833 * sysdeps/mach/sysdep.h: Likewise.
9834 * sysdeps/i386/sysdep.h: Likewise.
9835 * sysdeps/i386/i386-mcount.S: Likewise.
9836 * sysdeps/x86_64/_mcount.S: Likewise.
9837 * sysdeps/x86_64/sysdep.h: Likewise.
9838 * sysdeps/sh/_mcount.S: Likewise.
9839 * sysdeps/sh/sysdep.h: Likewise.
9840 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9841 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9842 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9844 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9845 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9846 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9847 * locale/localeinfo.h: Likewise.
9848 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9849 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9851 2012-07-09 Roland McGrath <roland@hack.frob.com>
9854 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9856 * manual/message.texi (The Uniforum approach): Likewise.
9857 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9858 (glibc iconv Implementation): Likewise.
9860 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9863 * math/s_clog.c (__clog): Avoid scaling a value down where that
9864 could result in underflow.
9865 * math/s_clog10.c (__clog10): Likewise.
9866 * math/s_clog10f.c (__clog10f): Likewise.
9867 * math/s_clog10l.c (__clog10l): Likewise.
9868 * math/s_clogf.c (__clogf): Likewise.
9869 * math/s_clogl.c (__clogl): Likewise.
9870 * math/libm-test.inc (clog_test): Add more tests.
9871 (clog10_test): Likewise.
9872 * sysdeps/i386/fpu/libm-test-ulps: Update.
9873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9875 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9878 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9879 by 7 not 8 to examine high bit of fractional part.
9882 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9883 for call to __mcount_internal.
9884 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9885 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9886 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9888 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9891 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9892 approximation for values within 0x1p-13f of an odd multiple of
9894 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9895 exception. Add more tests.
9896 * sysdeps/i386/fpu/libm-test-ulps: Update.
9899 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9900 inputs and return -1 for them. Do not check for +Inf in case not
9902 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9903 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9904 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9905 and return -1 for them. Do not check for +Inf in case not
9907 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9909 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9910 and return -1 for them. Do not check for +Inf in case not
9912 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9914 * sysdeps/i386/fpu/libm-test-ulps: Update.
9915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9917 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9919 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9921 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9925 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9926 could result in spurious underflow. Scale down values above
9927 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9928 * math/s_csqrtf.c (__csqrtf): Likewise.
9929 * math/s_csqrtl.c (__csqrtl): Likewise.
9930 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9932 * sysdeps/i386/fpu/libm-test-ulps: Update.
9933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9935 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9937 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9939 * catgets/xopen-msg.awk: New file.
9940 * catgets/xopen-msg.sed: Removed.
9942 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9944 * intl/po2test.awk: New file.
9945 * intl/po2test.sed: Removed.
9947 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9950 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9951 or multiply small sinh result by itself.
9952 * math/s_ctanf.c (__ctanf): Likewise.
9953 * math/s_ctanh.c (__ctanh): Likewise.
9954 * math/s_ctanhf.c (__ctanhf): Likewise.
9955 * math/s_ctanhl.c (__ctanhl): Likewise.
9956 * math/s_ctanl.c (__ctanl): Likewise.
9957 * math/libm-test.inc (ctan_test_tonearest): New function.
9958 (ctan_test_towardzero): Likewise.
9959 (ctan_test_downward): Likewise.
9960 (ctan_test_upward): Likewise.
9961 (ctanh_test_tonearest): Likewise.
9962 (ctanh_test_towardzero): Likewise.
9963 (ctanh_test_downward): Likewise.
9964 (ctanh_test_upward): Likewise.
9965 (main): Call these new functions.
9966 * sysdeps/i386/fpu/libm-test-ulps: Update.
9967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9969 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9971 * .gitignore: Delete /ports entry.
9973 2012-07-03 Andreas Jaeger <aj@suse.de>
9975 * po/bg.po: Update from translation team.
9976 * po/cs.po: Likewise.
9977 * po/de.po: Likewise.
9978 * po/hr.po: Likewise.
9979 * po/nl.pl: Likewise.
9980 * po/pl.po: Likewise.
9981 * po/vi.po: Likewise.
9983 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9985 * Makeconfig [!+link] (+link-before-libc): New variable.
9986 [!+link] (+link-after-libc): Likewise.
9987 [!+link] (+link-tests): Likewise.
9988 [!+link] (+link): Define in terms of $(+link-before-libc) and
9989 $(+link-after-libc).
9990 [!+link-static] (+link-static-before-libc): New variable.
9991 [!+link-static] (+link-static-after-libc): Likewise.
9992 [!+link-static] (+link-static-tests): Likewise.
9993 [!+link-static] (+link-static): Define in terms of
9994 $(+link-static-before-libc) and $(+link-static-after-libc).
9995 [build-shared] (link-libc-before-gnulib): New variable.
9996 [build-shared] (link-libc-tests): Likewise.
9997 [build-shared] (link-libc): Define in terms of
9998 $(link-libc-before-gnulib).
9999 [!build-shared] (link-libc-tests): New variable.
10000 (link-libc-static-tests): New variable.
10001 [!gnulib] (gnulib-arch): New variable.
10002 [!gnulib] (gnulib-tests): Likewise.
10003 [!gnulib] (static-gnulib-arch): Likewise.
10004 [!gnulib] (static-gnulib-tests): Likewise.
10005 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10006 Define with "=" instead of ":=".
10007 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10008 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10009 * Rules (binaries-all-notests): New variable.
10010 (binaries-all-tests): Likewise.
10011 (binaries-static-notests): Likewise.
10012 (binaries-static-tests): Likewise.
10013 (binaries-all): Define using $(binaries-all-notests) and
10014 $(binaries-all-tests).
10015 (binaries-static): Define using $(binaries-static-notests) and
10016 $(binaries-static-tests).
10017 (binaries-shared-tests): New variable.
10018 (binaries-shared-notests): Likewise.
10019 (binaries-shared): Remove variable.
10020 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10021 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10022 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10023 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10024 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10025 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10026 * elf/Makefile (sln-modules): New variable.
10027 (extra-objs): Add $(sln-modules:=.o).
10028 (ldconfig-modules): Add static-stubs.
10029 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10030 * elf/static-stubs.c: New file.
10033 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10034 by 7 not 8 to examine high bit of fractional part. Use volatile
10035 variables when splitting into final array of floats if
10036 __FLT_EVAL_METHOD__ != 0.
10037 * math/libm-test.inc (cos_test): Add another test.
10038 (sin_test): Likewise.
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10042 * math/libm-test.inc (cosh_test): Add more tests.
10044 * version.h (RELEASE): Set to "development".
10045 (VERSION): Set to "2.16.90".
10047 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10049 * NEWS: Update copyright. Remove last-updated date.
10050 Mention math library bug fixes and timezone data changes.
10051 * README: Mention GNU/Hurd, x32, and HPPA support status.
10053 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10055 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10057 2012-06-27 Andreas Jaeger <aj@suse.de>
10059 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10061 2012-06-25 Andreas Jaeger <aj@suse.de>
10063 * sysdeps/s390/fpu/libm-test-ulps: Update.
10065 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10066 Thomas Schwinge <thomas@codesourcery.com>
10068 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10069 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10073 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10075 * sysdeps/mach/start.c: Remove file.
10076 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10077 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10078 * sysdeps/sh/init-first.c: Likewise.
10080 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10081 registers for frame unwinding purposes, add CFI directives.
10082 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10083 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10084 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10087 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10088 __fortify_fail returning.
10089 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10091 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10092 sysdeps/sh/____longjmp_chk.S.
10093 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10094 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10095 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10096 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10098 * sysdeps/sh/abort-instr.h: New file.
10099 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10100 process in case exit returns.
10102 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10103 initialize the GOT register before use.
10105 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10106 calculation of ARGC > 4.
10108 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10109 meaningful names to some local labels.
10111 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10112 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10114 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10115 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10116 (__arch_compare_and_exchange_val_16_acq): Likewise.
10117 (__arch_compare_and_exchange_val_32_acq): Likewise.
10118 (atomic_exchange_and_add): Fix gUSA sequence.
10119 (atomic_add): Likewise.
10120 (atomic_add_negative): Likewise.
10121 (atomic_add_zero): Likewise.
10122 (atomic_bit_test_set): Likewise.
10124 2012-06-22 Andreas Schwab <schwab@redhat.com>
10127 * include/link.h (struct link_map): Add l_free_initfini.
10128 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10130 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10131 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10132 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10135 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10137 * configure.in: Use AC_LANG_SOURCE.
10138 * configure: Regenerate.
10140 2012-06-22 Roland McGrath <roland@hack.frob.com>
10142 * configure.in (libc_cv_localstatedir): New substituted variable.
10143 * configure: Regenerated.
10144 * config.make.in (localstatedir): New variable, substituted from
10145 libc_cv_localstatedir.
10146 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10147 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10148 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10149 * sysdeps/gnu/configure: Regenerated.
10151 2012-06-21 Jeff Law <law@redhat.com>
10154 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10155 free. Simplify list management for _LIBC case.
10157 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10160 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10161 Clear sign bit of 64-bit integer value before comparing against
10164 * sysdeps/mach/configure: Regenerated.
10166 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10169 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10171 2012-06-21 Jeff Law <law@redhat.com>
10174 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10175 uint16_t for elements in the "seen" array to avoid char overflows.
10176 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10177 * elf/dl-open.c (dl_open_worker): Likewise.
10179 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10181 * scripts/list-sources.sh: Scan PORTS for translations.
10182 * po/libc.pot: Regenerated.
10184 2012-06-21 Andreas Jaeger <aj@suse.de>
10187 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10189 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10190 * bits/byteswap-16.h (__bswap_16): Likewise.
10191 * bits/byteswap.h (__bswap_constant_16): Likewise.
10193 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10196 * sysdeps/i386/fpu_control.h: Removed.
10197 * sysdeps/x86_64/fpu_control.h: Moved to ...
10198 * sysdeps/x86/fpu_control.h: Here.
10200 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10201 (_FPU_SETCW): Likewise.
10203 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10206 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10207 * sysdeps/x86/fpu/bits/mathinline.h: This.
10208 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10212 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10213 functions if __x86_64__ is defined.
10215 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10217 * string/endian.h: Add !__ASSEMBLER__ condition for including
10218 conversion interfaces.
10220 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10223 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10224 of ABS(x) in calculating zero to negative powers other than odd
10226 * math/libm-test.inc (pow_test): Add more tests.
10228 2012-06-15 Andreas Jaeger <aj@suse.de>
10230 * manual/contrib.texi (Contributors): Update entry of Liubov
10231 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10234 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10236 * string/string.h: Add __wur to GNU version of strerror_r.
10238 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10241 * string/Makefile (tests): Add tst-strtok_r.
10242 * string/tst-strtok_r.c: New file.
10243 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10244 RAX_LP/RDX_LP on SAVE_PTR.
10246 2012-06-14 Roland McGrath <roland@hack.frob.com>
10248 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10250 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10252 * libm_test.inc (csqrt_test): Allow more spurious underflow
10254 (j0_test): Likewise.
10255 (j1_test): Likewise.
10256 (y0_test): Likewise.
10257 (y1_test): Likewise.
10259 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10261 * po/Makefile (libc.pot): Use UTF-8 charset.
10263 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10266 Suppress sign-conversion warning from FD_SET.
10267 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10268 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10269 not unsigned long int.
10270 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10272 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10276 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10277 __extern_always_inline instead of __extern_inline.
10278 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10279 (__signbit): Likewise.
10280 (__signbitl): Support C++ namespace.
10281 (lrintf): New inline function.
10283 (llrintf): Likewise.
10284 (llrint): Likewise.
10294 (floorf): Likewise.
10295 (nearbyint): Likewise.
10296 (nearbyintf): Likewise.
10298 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10301 non-default versions.
10303 2012-06-11 Roland McGrath <roland@hack.frob.com>
10306 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10308 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10310 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10311 (FE_UPWARD, FE_DOWNWARD): Don't define.
10312 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10313 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10315 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10317 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10318 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10320 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10322 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10324 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10325 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10327 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10330 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10331 * sysdeps/i386/fpu/Implies: New file.
10332 * sysdeps/x86_64/fpu/Implies: Likewise.
10333 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10334 * sysdeps/x86/fpu/bits/fenv.h: This.
10336 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10339 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10342 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10343 character 0xffff that matches the last element of the
10346 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10348 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10351 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10354 values higher than 25.6283.
10356 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10359 subnormal exponent extraction and add some __builtin_expect.
10360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10361 Fix for subnormal mantissa calculation.
10363 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10365 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10366 cpu2 is -1 and errno is not ENOSYS.
10368 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10371 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10372 * sysdeps/x86/bits/string.h: This.
10373 * sysdeps/x86_64/bits/string.h: Removed.
10375 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10376 if not compiling for x86-64, but compiling for >= i486.
10378 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10379 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10381 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10382 New macro from Linux kernel 3.4.0.
10383 (FP_XSTATE_MAGIC2): Likewise.
10384 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10385 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10386 (struct _fpx_sw_bytes): New struct.
10387 (struct _xsave_hdr): Likewise.
10388 (struct _ymmh_state): Likewise.
10389 (struct _xstate): Likewise.
10391 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10392 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10393 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10394 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10395 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10396 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10398 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10399 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10400 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10401 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10402 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10403 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10405 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10408 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10409 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10410 (sysdep_headers): Include sys/platform/ppc.h.
10411 * sysdeps/powerpc/test-gettimebase.c: Test for
10412 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10413 * manual/Makefile (appendices): Include platform.texi.
10414 * manual/contrib.texi (Contributors): Update @node pointers.
10415 * manual/maint.texi (Maintenance): Likewise.
10416 (Platform): New node.
10417 * manual/platform.texi: New file. Document the new features.
10419 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 Jakub Jelinek <jakub@redhat.com>
10423 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10424 where __builtin_expect is unavailable.
10426 2012-06-03 David S. Miller <davem@davemloft.net>
10428 * stdlib/longlong.h: Updated from GCC.
10430 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10433 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10434 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10437 (GLIBC_2.16): Likewise.
10439 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10441 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10443 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10446 (default-abi): New variable.
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10448 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10450 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10452 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10454 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10457 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10458 definition. Document in comment.
10460 2012-06-01 David S. Miller <davem@davemloft.net>
10462 * stdlib/longlong.h: Updated from GCC.
10464 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10467 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10468 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10469 sys/debugreg.h sys/io.h here.
10470 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10471 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10473 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10474 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10475 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10476 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10477 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10478 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10480 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10481 Define only if __x86_64__ is defined.
10483 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10486 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10487 Use int64_t for variable i.
10488 * math/libm-test.inc (fmod_test): Add more tests.
10490 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10491 z computation is not scheduled after fetestexcept.
10492 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10493 Use math_force_eval instead of asm to ensure calculation scheduled
10494 before exception test.
10495 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10496 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10498 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10501 computation is not scheduled after fetestexcept.
10503 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10506 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10507 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10509 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10511 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10512 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10514 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10517 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10519 (__WCHAR_MIN): Support __WORDSIZE == 64.
10520 (__WCHAR_MAX): Likewise.
10522 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10523 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10526 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10527 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10530 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10531 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10533 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10534 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10536 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10537 Defined to 1 if __x86_64__ isn't defined.
10538 (_STAT_VER_LINUX_OLD): New.
10539 (st_atime): Remove duplicate.
10540 (st_mtime): Likewise.
10541 (st_ctime): Likewise.
10543 2012-05-31 David S. Miller <davem@davemloft.net>
10545 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10548 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10550 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10554 * elf/dl-reloc.c: Include <_itoa.h>.
10555 (_dl_reloc_bad_type): Remove use of INTUSE.
10556 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10557 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10558 * stdio-common/psiginfo.c (psiginfo): Likewise.
10559 * stdio-common/psignal.c (psignal): Likewise.
10560 * string/strsignal.c (strsignal): Likewise.
10561 * include/signal.h (_sys_siglist): Declare hidden proto.
10562 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10563 INTVARDEF with libc_hidden_data_def.
10564 * stdio-common/itoa-udigits.c: Likewise.
10565 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10566 (_itoa_lower_digits_internal): Remove declaration.
10567 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10568 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10569 (_sys_sigabbrev_internal): Remove aliases.
10570 (_sys_siglist): Define hidden alias.
10572 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10577 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10580 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10581 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10583 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10584 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10585 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10586 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10588 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10590 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10591 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10592 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10594 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10602 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10603 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10604 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10606 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10607 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10608 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10609 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10610 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10611 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10613 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10614 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10616 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10617 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10623 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10624 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10626 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10628 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10629 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10630 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10632 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10634 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10636 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10638 * math/math.h (M_El): Use two more decimal places.
10639 (M_LOG2El): Likewise.
10640 (M_LOG10El): Likewise.
10641 (M_LN2l): Likewise.
10642 (M_LN10l): Likewise.
10644 (M_PI_2l): Likewise.
10645 (M_PI_4l): Likewise.
10646 (M_1_PIl): Likewise.
10647 (M_2_PIl): Likewise.
10648 (M_2_SQRTPIl): Likewise.
10649 (M_SQRT2l): Likewise.
10650 (M_SQRT1_2l): Likewise.
10652 2012-05-31 David S. Miller <davem@davemloft.net>
10654 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10655 values between float registers.
10656 * sysdeps/sparc/sparc64/memset.S: Likewise.
10657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10659 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10661 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10662 -D_FORTIFY_SOURCE=1.
10663 (CPPFLAGS-tst-longjmp_chk.c): Define.
10664 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10665 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10666 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10667 CFLAGS-tst-wchar-h.c.
10669 2012-05-31 Marek Polacek <polacek@redhat.com>
10672 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10673 __endmntent_internal): Remove declaration.
10674 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10675 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10676 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10678 2012-05-30 David S. Miller <davem@davemloft.net>
10680 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10681 (___Q_simulate_exceptions): Use real FP ops rather than writing
10683 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10686 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10689 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10690 * sysdeps/x86/bits/xtitypes.h: This.
10692 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10693 * sysdeps/x86/bits/wordsize.h: This.
10695 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10696 * sysdeps/x86/bits/huge_vall.h: This.
10698 * sysdeps/i386/bits/select.h: Removed.
10699 * sysdeps/x86_64/bits/select.h: Renamed to ...
10700 * sysdeps/x86/bits/select.h: This.
10702 * sysdeps/i386/bits/setjmp.h: Removed.
10703 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10704 * sysdeps/x86/bits/setjmp.h: This.
10706 * sysdeps/i386/bits/mathdef.h: Removed.
10707 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10708 * sysdeps/x86/bits/mathdef.h: This.
10710 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10713 * include/sys/socket.h (__connect_internal)
10714 (__libc_sa_len_internal): Remove declaration.
10715 (__connect, __libc_sa_len): Declare hidden_proto.
10716 (SA_LEN): Remove use of INTUSE.
10717 * socket/connect.c: Add libc_hidden_def.
10718 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10719 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10720 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10722 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10723 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10724 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10725 of adding _internal alias.
10727 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10730 * sysdeps/i386/bits/link.h: Removed.
10731 * sysdeps/i386/bits/linkmap.h: Likewise.
10732 * sysdeps/x86_64/bits/link.h: Renamed to ...
10733 * sysdeps/x86/bits/link.h: This.
10734 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10735 * sysdeps/x86/bits/linkmap.h: This.
10737 * sysdeps/i386/bits/endian.h: Removed.
10738 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10739 * sysdeps/x86/bits/endian.h: This.
10741 * sysdeps/i386/bits/byteswap.h: Removed.
10742 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10743 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10744 * sysdeps/x86/bits/byteswap.h: This.
10745 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10746 * sysdeps/x86/bits/byteswap-16.h: This.
10747 * sysdeps/i386/Implies: Add x86.
10748 * sysdeps/x86_64/Implies: Likewise.
10750 2012-05-30 David S. Miller <davem@davemloft.net>
10752 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10753 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10754 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10755 (FP_TRAPPING_EXCEPTIONS): Define.
10756 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10757 (FP_TRAPPING_EXCEPTIONS): Define.
10758 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10759 subnormals only when inexact has been signalled or underflow
10760 exceptions are enabled.
10761 (_FP_PACK_CANONICAL): Likewise.
10763 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10767 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10769 2012-05-30 Richard Henderson <rth@twiddle.net>
10771 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10772 with #ifndef NOT_IN_libc.
10774 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10775 marked to avoid plt entry.
10777 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10780 * Makeconfig (default-abi): New macro.
10781 (abi-includes): Likewise.
10782 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10783 $(abi-$(default-abi)-lib-soname) for soname if defined.
10784 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10786 * Makefile (installed-stubs): Likewise.
10787 * include/stubs-biarch.h: Removed.
10788 * scripts/lib-names.awk: Only handle one library at a time.
10789 * scripts/soversions.awk: Remove WORDSIZE support.
10790 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10792 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10794 (syscall-list-default-condition): Likewise.
10795 (syscall-list-default-condition): Likewise.
10796 (syscall-list-includes): Likewise.
10797 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10798 syscall-list-* with abi-*. Handle undefined abi-variants.
10799 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10800 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10801 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10802 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10803 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10804 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10806 (syscall-list-32-options): Likewise.
10807 (syscall-list-32-condition): Likewise.
10808 (syscall-list-64-options): Likewise.
10809 (syscall-list-64-condition): Likewise.
10810 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10812 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10815 (abi-64-ld-soname): New macro.
10816 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10817 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10820 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10821 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10823 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10825 * sysdeps/unix/sysv/linux/kernel-features.h
10826 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10827 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10828 include <kernel-features.h>.
10829 [!__NR_ftruncate64]: Remove conditional code.
10830 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10831 [__NR_ftruncate64]: Make code unconditional.
10832 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10833 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10834 include <kernel-features.h>.
10835 [!__NR_ftruncate64]: Remove conditional code.
10836 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10837 [__NR_ftruncate64]: Make code unconditional.
10838 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10840 include <kernel-features.h>.
10841 [!__NR_ftruncate64]: Remove conditional code.
10842 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10843 [__NR_ftruncate64]: Make code unconditional.
10844 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10846 include <kernel-features.h>.
10847 [!__NR_ftruncate64]: Remove conditional code.
10848 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10849 [__NR_ftruncate64]: Make code unconditional.
10850 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10852 * configure.in (libc_cv_fpie): Weaken to a compile test using
10853 LIBC_TRY_CC_OPTION.
10854 * configure: Regenerated.
10856 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10871 2012-05-27 David S. Miller <davem@davemloft.net>
10873 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10875 (__Q_simulate_exceptions): Return void. Change to simulate
10876 exceptions by writing into the %fsr.
10877 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10878 (__Qp_handle_exceptions): Likewise.
10880 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10881 __Qp_handle_exceptions.
10882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10883 __Qp_handle_exceptions.
10884 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10885 as unused and give dummy FP_RND_NEAREST initializer.
10886 (FP_INHIBIT_RESULTS): Define.
10887 (___Q_simulate_exceptions): Update declaration.
10888 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10891 as unused and give dummy FP_RND_NEAREST initializer.
10892 (__Qp_handle_exceptions): Update declaration.
10893 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10896 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10898 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10899 the temporary FPU control word.
10900 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10901 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10902 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10903 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10904 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10905 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10906 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10907 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10908 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10909 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10910 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10912 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10914 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10917 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10919 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10920 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10921 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10922 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10924 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10925 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10928 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10930 * po/h.po: Update from translation team.
10932 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10934 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10936 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10937 handling of denormals.
10938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10939 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10940 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10941 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10947 2012-05-26 Marek Polacek <polacek@redhat.com>
10950 * math/libm-test.inc (fma_test): Don't always expect underflow
10953 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10956 * elf/tst-execstack.c: Include stackinfo.h.
10957 (do_test): Adjust test case to ensure that pthread_getattr_np
10958 behaviour remains the same after marking stack executable.
10960 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10962 * sysdeps/unix/sysv/linux/kernel-features.h
10963 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10964 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10966 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10967 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10968 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10970 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10971 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10973 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10975 * configure.in: Define the default includes to being none.
10976 * configure: Regenerated.
10978 2012-05-25 Roland McGrath <roland@hack.frob.com>
10980 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10981 * sysdeps/x86_64/setjmp.S: Likewise.
10982 * sysdeps/i386/bsd-setjmp.S: Likewise.
10983 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10984 * sysdeps/i386/setjmp.S: Likewise.
10985 * sysdeps/i386/__longjmp.S: Likewise.
10986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10987 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10989 * include/stap-probe.h: New file.
10990 * configure.in: Handle --enable-systemtap.
10991 * configure: Regenerated.
10992 * config.h.in (USE_STAP_PROBE): New #undef.
10993 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10994 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10995 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10997 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11001 to 2.4.0 where earlier.
11002 * sysdeps/unix/sysv/linux/configure: Regenerated.
11003 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
11012 [__ASSUME_32BITUIDS]: Make code unconditional.
11013 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11014 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11015 <kernel-features.h>.
11016 [__ASSUME_32BITUIDS]: Make code unconditional.
11017 [!__ASSUME_32BITUIDS]: Remove conditional code.
11018 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11019 <kernel-features.h>.
11020 [__ASSUME_32BITUIDS]: Make code unconditional.
11021 [!__ASSUME_32BITUIDS]: Remove conditional code.
11022 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11023 <kernel-features.h>.
11024 [__ASSUME_32BITUIDS]: Make code unconditional.
11025 [!__ASSUME_32BITUIDS]: Remove conditional code.
11026 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11027 <kernel-features.h>.
11028 [__ASSUME_32BITUIDS]: Make code unconditional.
11029 [!__ASSUME_32BITUIDS]: Remove conditional code.
11030 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11031 <kernel-features.h>.
11032 [__ASSUME_32BITUIDS]: Make code unconditional.
11033 [!__ASSUME_32BITUIDS]: Remove conditional code.
11034 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11035 <kernel-features.h>.
11036 [__ASSUME_32BITUIDS]: Make code unconditional.
11037 [!__ASSUME_32BITUIDS]: Remove conditional code.
11038 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11039 <kernel-features.h>.
11040 [__ASSUME_32BITUIDS]: Make code unconditional.
11041 [!__ASSUME_32BITUIDS]: Remove conditional code.
11042 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11043 <kernel-features.h>.
11044 [__ASSUME_32BITUIDS]: Make code unconditional.
11045 [!__ASSUME_32BITUIDS]: Remove conditional code.
11046 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11047 <kernel-features.h>.
11048 [__ASSUME_32BITUIDS]: Make code unconditional.
11049 [!__ASSUME_32BITUIDS]: Remove conditional code.
11050 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11051 <kernel-features.h>.
11052 [__ASSUME_32BITUIDS]: Make code unconditional.
11053 [!__ASSUME_32BITUIDS]: Remove conditional code.
11054 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11055 <kernel-features.h>.
11056 [__NR_setresgid] (__setresgid): Do not declare.
11057 [__ASSUME_32BITUIDS]: Make code unconditional.
11058 [!__ASSUME_32BITUIDS]: Remove conditional code.
11059 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11060 <kernel-features.h>.
11061 [__NR_setresuid] (__setresuid): Do not declare.
11062 [__ASSUME_32BITUIDS]: Make code unconditional.
11063 [!__ASSUME_32BITUIDS]: Remove conditional code.
11064 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11065 <kernel-features.h>.
11066 [__ASSUME_32BITUIDS]: Make code unconditional.
11067 [!__ASSUME_32BITUIDS]: Remove conditional code.
11068 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11069 <kernel-features.h>.
11070 [__ASSUME_32BITUIDS]: Make code unconditional.
11071 [!__ASSUME_32BITUIDS]: Remove conditional code.
11072 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11073 <kernel-features.h>.
11074 [__ASSUME_32BITUIDS]: Make code unconditional.
11075 [!__ASSUME_32BITUIDS]: Remove conditional code.
11076 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11077 <kernel-features.h>.
11078 [__ASSUME_32BITUIDS]: Make code unconditional.
11079 [!__ASSUME_32BITUIDS]: Remove conditional code.
11080 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11081 <kernel-features.h>.
11082 [__ASSUME_32BITUIDS]: Make code unconditional.
11083 [!__ASSUME_32BITUIDS]: Remove conditional code.
11084 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11085 <kernel-features.h>.
11086 [__ASSUME_32BITUIDS]: Make code unconditional.
11087 [!__ASSUME_32BITUIDS]: Remove conditional code.
11088 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11089 <kernel-features.h>.
11090 [__ASSUME_32BITUIDS]: Make code unconditional.
11091 [!__ASSUME_32BITUIDS]: Remove conditional code.
11092 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11093 <kernel-features.h>.
11094 [__ASSUME_32BITUIDS]: Make code unconditional.
11095 [!__ASSUME_32BITUIDS]: Remove conditional code.
11096 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11097 <kernel-features.h>.
11098 [__ASSUME_32BITUIDS]: Make code unconditional.
11099 [!__ASSUME_32BITUIDS]: Remove conditional code.
11100 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11101 <kernel-features.h>.
11102 [__ASSUME_32BITUIDS]: Make code unconditional.
11103 [!__ASSUME_32BITUIDS]: Remove conditional code.
11104 * sysdeps/unix/sysv/linux/kernel-features.h
11105 (__ASSUME_SETRESUID_SYSCALL): Remove.
11106 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11107 (__ASSUME_32BITUIDS): Likewise.
11108 (__ASSUME_LDT_WORKS): Likewise.
11109 (__ASSUME_O_DIRECTORY): Likewise.
11110 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11111 architecture but not kernel version.
11112 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11113 (__ASSUME_MMAP2_SYSCALL): Likewise.
11114 (__ASSUME_STAT64_SYSCALL): Likewise.
11115 (__ASSUME_IPC64): Likewise.
11116 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11117 <kernel-features.h>.
11118 [__ASSUME_32BITUIDS]: Make code unconditional.
11119 [!__ASSUME_32BITUIDS]: Remove conditional code.
11120 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11121 <kernel-features.h>.
11122 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11123 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11124 132096]: Remove conditional code.
11125 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11126 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11127 <kernel-features.h>.
11128 [__ASSUME_32BITUIDS]: Make code unconditional.
11129 [!__ASSUME_32BITUIDS]: Remove conditional code.
11130 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11131 <kernel-features.h>.
11132 [__ASSUME_32BITUIDS]: Make code unconditional.
11133 [!__ASSUME_32BITUIDS]: Remove conditional code.
11134 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11135 <kernel-features.h>.
11136 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11138 (__setresgid): Do not declare.
11139 [__ASSUME_32BITUIDS]: Make code unconditional.
11140 [!__ASSUME_32BITUIDS]: Remove conditional code.
11141 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11142 <kernel-features.h>.
11143 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11145 (__setresuid): Do not declare.
11146 [__ASSUME_32BITUIDS]: Make code unconditional.
11147 [!__ASSUME_32BITUIDS]: Remove conditional code.
11148 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11149 <kernel-features.h>.
11150 [__ASSUME_32BITUIDS]: Make code unconditional.
11151 [!__ASSUME_32BITUIDS]: Remove conditional code.
11152 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11153 <kernel-features.h>.
11154 [__ASSUME_32BITUIDS]: Make code unconditional.
11155 [!__ASSUME_32BITUIDS]: Remove conditional code.
11157 2012-05-25 Richard Henderson <rth@twiddle.net>
11159 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11160 dl_hwcap to ifunc resolver.
11161 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11163 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11164 dl_hwcap to ifunc resolver.
11165 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11167 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11170 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11171 for |x| <= 2**-26, not 2**-57.
11172 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11175 2012-05-24 Jeff Law <law@redhat.com>
11177 * stdio-common/Makefile (tests): Add bug25.
11178 * stdio-common/bug25.c: New test.
11180 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11183 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11184 multiple of MALLOC_ALIGNMENT in size.
11185 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11187 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11189 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11191 (FILENAME_MAX): Use macro-int-constant.
11192 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11193 (_IOFBF): Use macro-int-constant.
11194 (_IOLBF): Likewise.
11195 (_IONBF): Likewise.
11196 (SEEK_CUR): Likewise.
11197 (SEEK_END): Likewise.
11198 (SEEK_SET): Likewise.
11199 (TMP_MAX): Likewise.
11200 (EOF): Use macro-int-constant. Require < 0.
11201 (NULL): Use macro-constant. Require == 0.
11202 (stdin): Require type to be FILE *.
11203 (stdout): Likewise.
11204 (stderr): Likewise.
11205 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11206 macro-int-constant.
11207 (EXIT_SUCCESS): Likewise.
11208 (NULL): Use macro-constant. Require == 0.
11209 (RAND_MAX): Use macro-int-constant.
11210 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11211 [C99-based standards] (strtof): Require function.
11212 [C99-based standards] (strtold): Likewise.
11213 [C99-based standards] (strtoll): Likewise.
11214 [C99-based standards] (strtoull): Likewise.
11215 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11216 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11217 [ISO || ISO99 || ISO11] (math.h): Likewise.
11218 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11219 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11222 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11225 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11226 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11227 * intl/dgettext.c (DCGETTEXT): Likewise.
11228 * intl/gettext.c (DCGETTEXT): Likewise.
11229 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11230 * posix/regex_internal.h (gettext): Likewise.
11231 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11232 Remove declaration.
11233 * include/argz.h (__argz_count_internal)
11234 (__argz_stringify_internal): Remove declaration.
11235 (__argz_count, __argz_stringify): Declare hidden proto.
11236 * intl/dcgettext.c: Remove use of INTDEF.
11237 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11238 * string/argz-stringify.c: Likewise.
11239 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11240 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11241 Declare hidden proto.
11242 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11243 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11244 Declare hidden proto.
11245 * include/stdio.h (__asprintf_internal): Don't declare.
11246 (__asprintf): Don't define as macro. Declare hidden proto.
11247 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11248 (__fsetlocking): Declare hidden proto.
11249 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11250 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11252 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11253 (_IO_setlinebuf): Remove use of INTUSE.
11254 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11255 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11256 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11257 Remove declaration.
11258 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11259 (_IO_do_flush): Remove use of INTUSE.
11260 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11261 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11262 (_IO_adjust_column, _IO_least_wmarker)
11263 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11264 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11265 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11266 (_IO_default_doallocate, _IO_wdefault_doallocate)
11267 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11268 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11269 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11270 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11271 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11272 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11273 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11274 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11275 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11276 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11277 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11278 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11279 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11281 (_IO_flush_all_internal, _IO_adjust_column_internal)
11282 (_IO_default_uflow_internal, _IO_default_finish_internal)
11283 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11284 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11285 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11286 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11287 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11288 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11289 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11290 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11291 (_IO_file_close_internal, _IO_file_close_it_internal)
11292 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11293 (_IO_file_init_internal, _IO_file_attach_internal)
11294 (_IO_file_fopen_internal, _IO_file_read_internal)
11295 (_IO_file_sync_internal, _IO_file_seek_internal)
11296 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11297 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11298 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11299 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11300 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11301 (_IO_list_all_internal, _IO_link_in_internal)
11302 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11303 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11304 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11305 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11306 (_IO_do_write_internal, _IO_padn_internal)
11307 (_IO_getline_info_internal, _IO_getline_internal)
11308 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11309 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11310 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11311 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11312 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11313 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11314 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11315 with libc_hidden_ver, remove use of INTUSE.
11316 * libio/genops.c: Likewise.
11317 * libio/freopen.c: Likewise.
11318 * libio/freopen64.c: Likewise.
11319 * libio/iofclose.c: Likewise.
11320 * libio/iofdopen.c: Likewise.
11321 * libio/iofflush.c: Likewise.
11322 * libio/iofflush_u.c: Likewise.
11323 * libio/iofgets.c: Likewise.
11324 * libio/iofgets_u.c: Likewise.
11325 * libio/iofopen.c: Likewise.
11326 * libio/iofopncook.c: Likewise.
11327 * libio/iofread.c: Likewise.
11328 * libio/iofread_u.c: Likewise.
11329 * libio/ioftell.c: Likewise.
11330 * libio/iofwrite.c: Likewise.
11331 * libio/iogetline.c: Likewise.
11332 * libio/iogets.c: Likewise.
11333 * libio/iogetwline.c: Likewise.
11334 * libio/iopadn.c: Likewise.
11335 * libio/iopopen.c: Likewise.
11336 * libio/ioseekoff.c: Likewise.
11337 * libio/ioseekpos.c: Likewise.
11338 * libio/iosetbuffer.c: Likewise.
11339 * libio/iosetvbuf.c: Likewise.
11340 * libio/ioungetc.c: Likewise.
11341 * libio/ioungetwc.c: Likewise.
11342 * libio/iovdprintf.c: Likewise.
11343 * libio/iovsprintf.c: Likewise.
11344 * libio/iovsscanf.c: Likewise.
11345 * libio/memstream.c: Likewise.
11346 * libio/obprintf.c: Likewise.
11347 * libio/oldfileops.c: Likewise.
11348 * libio/oldiofclose.c: Likewise.
11349 * libio/oldiofdopen.c: Likewise.
11350 * libio/oldiofopen.c: Likewise.
11351 * libio/oldiopopen.c: Likewise.
11352 * libio/oldstdfiles.c: Likewise.
11353 * libio/putc.c: Likewise.
11354 * libio/setbuf.c: Likewise.
11355 * libio/setlinebuf.c: Likewise.
11356 * libio/stdfiles.c: Likewise.
11357 * libio/strops.c: Likewise.
11358 * libio/vasprintf.c: Likewise.
11359 * libio/vscanf.c: Likewise.
11360 * libio/vsnprintf.c: Likewise.
11361 * libio/vswprintf.c: Likewise.
11362 * libio/wfiledoalloc.c: Likewise.
11363 * libio/wfileops.c: Likewise.
11364 * libio/wgenops.c: Likewise.
11365 * libio/wmemstream.c: Likewise.
11366 * libio/wstrops.c: Likewise.
11367 * libio/__fpurge.c: Likewise.
11368 * libio/__fsetlocking.c: Likewise.
11369 * assert/assert.c: Likewise.
11370 * debug/fgets_chk.c: Likewise.
11371 * debug/fgets_u_chk.c: Likewise.
11372 * debug/fread_chk.c: Likewise.
11373 * debug/fread_u_chk.c: Likewise.
11374 * debug/gets_chk.c: Likewise.
11375 * debug/obprintf_chk.c: Likewise.
11376 * debug/vasprintf_chk.c: Likewise.
11377 * debug/vdprintf_chk.c: Likewise.
11378 * debug/vsnprintf_chk.c: Likewise.
11379 * debug/vsprintf_chk.c: Likewise.
11380 * malloc/mtrace.c: Likewise.
11381 * misc/error.c: Likewise.
11382 * misc/syslog.c: Likewise.
11383 * stdio-common/asprintf.c: Likewise.
11384 * stdio-common/fxprintf.c: Likewise.
11385 * stdio-common/getw.c: Likewise.
11386 * stdio-common/isoc99_fscanf.c: Likewise.
11387 * stdio-common/isoc99_scanf.c: Likewise.
11388 * stdio-common/isoc99_vfscanf.c: Likewise.
11389 * stdio-common/isoc99_vscanf.c: Likewise.
11390 * stdio-common/isoc99_vsscanf.c: Likewise.
11391 * stdio-common/printf-prs.c: Likewise.
11392 * stdio-common/printf_fp.c: Likewise.
11393 * stdio-common/printf_fphex.c: Likewise.
11394 * stdio-common/printf_size.c: Likewise.
11395 * stdio-common/putw.c: Likewise.
11396 * stdio-common/scanf.c: Likewise.
11397 * stdio-common/sprintf.c: Likewise.
11398 * stdio-common/tmpfile.c: Likewise.
11399 * stdio-common/vfprintf.c: Likewise.
11400 * stdio-common/vfscanf.c: Likewise.
11401 * stdlib/strfmon_l.c: Likewise.
11402 * sunrpc/openchild.c: Likewise.
11403 * sunrpc/xdr_stdio.c: Likewise.
11404 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11405 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11407 2012-05-24 Roland McGrath <roland@hack.frob.com>
11409 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11411 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11412 in the third column, to generate for the shared library an IFUNC
11413 that uses _dl_vdso_vsym.
11414 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11415 * Makeconfig (object-suffixes-noshared): New variable.
11417 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11418 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11419 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11420 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11423 * include/sys/time.h (__gettimeofday): Remove macro.
11424 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11425 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11427 (__gettimeofday): Add libc_hidden_def.
11428 (gettimeofday): Add libc_hidden_weak.
11429 * sysdeps/mach/gettimeofday.c: Likewise.
11430 * sysdeps/posix/gettimeofday.c: Likewise.
11431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11432 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11434 (__gettimeofday_internal): Remove strong_alias.
11435 (__gettimeofday): Add libc_hidden_def.
11436 (gettimeofday): Add libc_hidden_weak.
11437 * sysdeps/unix/syscalls.list (gettimeofday):
11438 Remove __gettimeofday_internal alias.
11440 2012-05-24 Daniel Jacobowitz <drow@false.org>
11441 H.J. Lu <hongjiu.lu@intel.com>
11444 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11445 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11446 (largebin_index_32_big): New.
11447 (largebin_index): Use it for 16-byte alignment.
11448 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11449 correction with front_misalign.
11451 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11479 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11480 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11482 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11486 * math/libm-test.inc (exp_test): Add test from bug 14036.
11487 (pow_test): Add test from bug 10846.
11489 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11491 (special_function): Do not include flags in test name.
11492 (parse_args): Likewise.
11493 * sysdeps/i386/fpu/libm-test-ulps: Update.
11494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11495 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11496 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11499 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11501 * math/libm-test.inc ("Philosophy"): Update comment about
11503 (UNDERFLOW_EXCEPTION): New macro.
11504 (UNDERFLOW_EXCEPTION_OK): Likewise.
11505 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11506 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11507 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11508 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11509 (INVALID_EXCEPTION_OK): Update value.
11510 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11511 (OVERFLOW_EXCEPTION_OK): Likewise.
11512 (IGNORE_ZERO_INF_SIGN): Likewise.
11513 (test_exceptions): Handle underflow exceptions.
11514 (acos_test): Update for underflow exception expectations.
11515 (cexp_test): Likewise.
11516 (clog_test): Likewise.
11517 (clog10_test): Likewise.
11518 (csqrt_test): Likewise.
11519 (ctan_test): Likewise.
11520 (ctanh_test): Likewise.
11521 (exp_test): Likewise.
11522 (exp10_test): Likewise.
11523 (exp2_test): Likewise.
11524 (expm1_test): Likewise.
11525 (fma_test): Likewise.
11526 (j0_test): Likewise.
11527 (jn_test): Likewise.
11528 (nexttoward_test): Likewise.
11529 (pow_test): Likewise.
11530 (scalbn_test): Likewise.
11531 (scalbln_test): Likewise.
11532 (tan_test): Likewise.
11533 (y1_test): Likewise.
11534 * sysdeps/i386/fpu/libm-test-ulps: Update.
11535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11537 2012-05-23 David S. Miller <davem@davemloft.net>
11539 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11540 (__libc_sigaction): Remove unused local variables.
11542 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11544 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11546 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11548 mktime: avoid signed integer overflow
11549 * time/mktime.c (__mktime_internal): Do not mishandle the case
11550 where diff == INT_MIN.
11552 mktime: simplify computation of average
11553 * time/mktime.c (ranged_convert): Use new time_t_avg function
11554 instead of rolling our own (probably-slower) code.
11556 mktime: do not assume signed right shift propagates sign bit
11557 * time/mktime.c (isdst_differ): New static function.
11558 (__mktime_internal): No need to normalize tm_isdst now.
11559 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11562 mktime: merge another wrapv change from gnulib
11563 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11564 from some compilers.
11566 mktime: remove incorrect attempt at unusual arithmetics
11567 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11568 The code didn't really work on such machines anyway.
11569 (TYPE_MINIMUM): Assume two's complement.
11570 (twos_complement_arithmetic): Verify that long_int and time_t
11571 are two's complement (or unsigned, in the latter case).
11573 mktime: check signed shifts on long_int and time_t, too
11574 * time/mktime.c (SHR): Check that shifts work as desired
11575 on the types long_int and time_t too, as SHR is used on
11578 mktime: do not assume 'long' is wide enough
11579 * time/mktime.c (verify): Move decl up.
11580 (long_int): New type.
11581 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11582 to remove assumption in the code that 'long' is wide enough to
11583 store year values. This assumption is not true on x32 and on
11584 some non-glibc platforms.
11586 mktime: merge wrapv change from gnulib
11587 * time/mktime.c (WRAPV): New macro.
11588 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11589 (guess_time_tm, __mktime_internal): Do not assume that signed
11590 integer overflow wraps around; modern compilers generate code
11591 where this assumption is no longer valid.
11593 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11595 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11596 Replace "jmp L(pseudo_end)" with "ret".
11597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11600 2012-05-23 Andreas Jaeger <aj@suse.de>
11602 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11603 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11605 2012-05-23 Andreas Jaeger <aj@suse.de>
11606 Maximilian Attems <max@stro.at>
11608 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11611 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11613 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11614 code so that pseudo_end is just ret and the stack pointer is
11615 correct also for static library in error case.
11617 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11619 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11620 move to syscalls.list.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11626 * manual/install.texi (Running make install): Do not mention Linux
11627 kernel version for which pt_chown is not needed.
11628 (Linux): Do not mention problems with nscd with 2.0 kernels.
11629 * INSTALL: Regenerated.
11631 2012-05-23 Andreas Jaeger <aj@suse.de>
11633 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11634 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11636 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11637 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11638 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11639 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11640 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11641 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11643 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11644 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11646 * sysdeps/unix/sysv/linux/bits/in.h
11647 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11649 2012-05-22 Roland McGrath <roland@hack.frob.com>
11651 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11652 (PREPARE_VERSION): Just use assert instead, it will be elided
11653 under [NDEBUG] anyway.
11655 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11657 * sysdeps/unix/sysv/linux/Makefile: Include
11658 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11659 (sysdep_routines): Remove sysctl.
11660 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11661 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11662 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11663 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11664 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11666 2012-05-22 Andreas Jaeger <aj@suse.de>
11668 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11669 that pseudo_end is just ret and the stack pointer is correct also
11670 for static library in error case.
11672 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11675 * nss/nsswitch.c (defconfig_entries): New variable.
11676 (__nss_database_lookup): Don't leak defconfig entries.
11677 (nss_parse_service_list): Don't leak on error paths.
11678 (free_database_entries): New function.
11679 (free_defconfig): New function.
11680 (free_mem): Move common code to free_database_entries.
11682 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11684 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11686 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11688 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11689 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11692 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11693 (INTERNAL_SYSCALL_TYPES): Likewise.
11694 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11695 (LOAD_REGS_TYPES_[1-6]): Likewise.
11696 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11697 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11699 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11701 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11702 copysignl for GLIBC_2_0.
11703 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11704 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11706 logbl for GLIBC_2_0.
11707 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11708 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11710 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11713 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11715 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11718 * time/mktime.c: Update copyright years.
11720 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11722 mktime: merge comment-quoting-style change from gnulib
11723 * time/mktime.c: Quote 'like this' in comments.
11724 The GNU coding standards suggest that we no longer quote `like this',
11725 as "`" and "'" are typically rendered asymmetrically nowadays.
11726 The typical gnulib style is to quote 'like this' when quoting
11727 code, and "like this" when quoting English.
11729 * time/mktime.c (compile-command): Add "-I.".
11731 mktime: merge mktime-internal.h change from gnulib
11732 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11734 mktime: merge time_r change from gnulib
11735 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11737 mktime: merge DEBUG change from gnulib
11738 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11739 case system <time.h> has a #define.
11741 mktime: merge <sys/types.h> change from gnulib
11742 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11743 since <time.t> is now guaranteed to define time_t.
11745 mktime: merge HAVE_CONFIG_H change from gnulib
11746 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11748 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11753 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11755 (struct rusage): Use anonymous union to pad each field to
11758 2012-05-21 David S. Miller <davem@davemloft.net>
11760 * Makefules (o-iterator): Remove .s cases.
11761 (compile-command.s): Delete.
11762 (COMPILE.s): Delete.
11763 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11765 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11767 * configure.in (libc_cv_predef_stack_protector): Only consider
11768 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11769 * configure: Regenerated.
11771 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11774 New macro. Use R*LP on int and pointer.
11775 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11777 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11780 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11781 [__WORDSIZE_TIME64_COMPAT32] instead of
11782 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11783 (struct utmp): Likewise.
11784 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11785 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11787 (__WORDSIZE_TIME64_COMPAT32): This.
11788 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11789 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11790 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11791 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11792 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11793 (__WORDSIZE_TIME64_COMPAT32): New macro.
11795 2012-05-21 Andreas Jaeger <aj@suse.de>
11797 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11798 only if [SHARED]. Add prototype for __wcschr_ia32.
11800 2012-05-21 Roland McGrath <roland@hack.frob.com>
11802 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11803 of %rbp unmolested in the jmp_buf while mangling the low bits.
11804 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11805 unmolested high bits of %rbp while demangling the low bits.
11806 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11808 2012-05-21 Andreas Jaeger <aj@suse.de>
11810 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11811 * sunrpc/svc_simple.c: Use it for registerrpc.
11812 * sunrpc/xcrypt.c: Use it for passwd2des.
11814 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11816 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11818 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11819 Don't define if [__SYSCALL_WORDSIZE != 32].
11820 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11823 2012-05-21 Bruno Haible <bruno@clisp.org>
11824 Andreas Jaeger <aj@suse.de>
11826 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11827 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11828 inptr and inend for must_buffer_ch.
11829 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11830 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11831 * stdio-common/Makefile (tests): Remove bug15.
11832 (bug15-ENV): Remove macro.
11833 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11836 2012-05-19 Andreas Jaeger <aj@suse.de>
11837 Roland McGrath <roland@hack.frob.com>
11839 * manual/contrib.texi: Completely rewritten. It contains now an
11840 alphabetical list of contributors and their contributions.
11842 2012-05-21 Richard Henderson <rth@twiddle.net>
11844 * misc/getauxval.c (__getauxval): Use unsigned long int.
11845 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11846 (getauxval): Use unsigned long int.
11848 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11850 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11852 2012-05-21 Roland McGrath <roland@hack.frob.com>
11854 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11855 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11856 __alignof__ (long double).
11858 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11862 2012-05-20 Richard Henderson <rth@twiddle.net>
11864 * misc/getauxval.c: New file.
11865 * misc/sys/auxv.h: New file.
11866 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11867 (routines): Add getauxval.
11868 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11869 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11870 * elf/dl-sysdep.c (_dl_auxv): Remove.
11871 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11872 * elf/dl-support.c (_dl_auxv): New variable.
11873 (_dl_aux_init): Initialize it.
11874 * manual/startup.texi (Auxiliary Vector): New node.
11875 * sysdeps/generic/bits/hwcap.h: New file.
11876 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11877 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11878 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11879 * sysdeps/sparc/sysdep.h: ... here. Include it.
11880 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11887 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11893 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11897 2012-05-19 David S. Miller <davem@davemloft.net>
11899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11901 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11904 * math/s_ccosh.c: Include <float.h>
11905 (__ccosh): Avoid internal overflow calculating sinh and cosh
11906 values before multiplying by sin and cos values.
11907 * math/s_ccoshf.c: Likewise.
11908 * math/s_ccoshl.c: Likewise.
11909 * math/s_csin.c: Likewise.
11910 * math/s_csinf.c: Likewise.
11911 * math/s_csinl.c: Likewise.
11912 * math/s_csinh.c: Likewise.
11913 * math/s_csinhf.c: Likewise.
11914 * math/s_csinhl.c: Likewise.
11915 * math/libm-test.inc (ccos_test): Add more tests.
11916 (ccosh_test): Likewise.
11917 (csin_test): Likewise.
11918 (csinh_test): Likewise.
11919 * sysdeps/i386/fpu/libm-test-ulps: Update.
11920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11922 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11924 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11925 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11927 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11929 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11931 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11932 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11933 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11934 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11935 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11936 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11937 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11938 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11939 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11940 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11941 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11942 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11943 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11944 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11945 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11946 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11947 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11948 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11949 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11950 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11951 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11952 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11953 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11954 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11955 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11956 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11957 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11958 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11959 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11960 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11961 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11963 2012-05-18 Andreas Jaeger <aj@suse.de>
11965 * csu/.gitignore: Delete.
11967 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11969 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11970 (timex): Use __syscall_slong_t.
11972 2012-05-18 Andreas Jaeger <aj@suse.de>
11973 Carlos O'Donell <carlos_odonell@mentor.com>
11975 * manual/install.texi (Configuring and compiling): Update
11976 description about files modified in the source directory.
11977 * INSTALL: Regenerated.
11979 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11981 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11982 value. Use "or" to set return value to -1.
11983 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11984 negate return value.
11986 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11988 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11989 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11990 failure if the compiler has Graphite support disabled.
11991 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11993 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11994 CFLAGS-memmove.c): Likewise.
11995 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11998 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12000 * sysdeps/x86_64/x32/_itoa.h: New file.
12002 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12003 getdents system call only if kernel and user dirents have the
12004 same d_ino and d_off.
12006 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12007 LLONG_MAX != LONG_MAX.
12008 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12009 (_fitoa_word): Likewise.
12011 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12013 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12014 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12015 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12018 include <bits/wordsize.h>. Check __x86_64__ instead of
12020 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12021 if __x86_64__ is defined. Use anonymous union on fpstate.
12023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12026 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12028 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12029 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12030 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12031 Refer to _rtld_local_ro instead of _rtld_global_ro.
12032 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12034 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12036 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12038 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12039 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12040 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12042 * sysdeps/powerpc/powerpc32/dl-machine.c
12043 (__elf_machine_runtime_setup) [PROF]: Don't reference
12046 2012-05-18 Andreas Jaeger <aj@suse.de>
12048 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12049 function only available for GCCs before 3.4 since GCC 3.4
12050 introduced a builtin.
12052 (llrintf): Likewise.
12053 (llrint): Likewise.
12060 (nearbyint): Likewise.
12061 (nearbyintf): Likewise.
12065 (floorf): Likewise.
12067 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12069 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12070 on both fields and cast pointer to __syscall_ulong_t.
12072 * bits/types.h (__fsword_t): New type.
12073 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12074 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12076 (__FSWORD_T_TYPE): Likewise.
12077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12078 (__FSWORD_T_TYPE): Likewise.
12079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12080 (__FSWORD_T_TYPE): Likewise.
12081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12082 (__FSWORD_T_TYPE): Likewise.
12083 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12084 __SWORD_TYPE with __fsword_t.
12085 (statfs64): Likewise.
12087 2012-05-17 David S. Miller <davem@davemloft.net>
12089 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12091 2012-05-17 Andreas Jaeger <aj@suse.de>
12093 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12096 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12098 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12100 2012-05-17 Andreas Jaeger <aj@suse.de>
12102 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12105 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12107 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12109 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12111 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12112 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12114 2012-05-17 Andreas Jaeger <aj@suse.de>
12115 Carlos O'Donell <carlos_odonell@mentor.com>
12118 * sysdeps/x86_64/multiarch/init-arch.h
12119 (bit_YMM_Usable): Rename to...
12120 (bit_AVX_Usable): ... this.
12121 (bit_FMA4_Usable): New macro.
12122 (bit_XMM_state): New macro.
12123 (bit_YMM_state): New macro.
12124 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12125 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12126 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12127 (CPUID_OSXSAVE): New macro.
12128 (CPUID_AVX): New macro.
12129 (CPUID_FMA4): New macro.
12130 (index_YMM_Usable): Rename to...
12131 (index_AVX_Usable): ... this.
12132 (HAS_AVX): Use HAS_ARCH_FEATURE.
12133 (HAS_FMA4): Likewise.
12134 (HAS_YMM_USABLE): Remove.
12135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12136 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12138 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12139 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12140 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12141 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12142 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12144 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12146 * math/libm-test.c: Support platforms without multiple rounding modes.
12147 * math/bug-nextafter.c: Support platforms without FP exceptions.
12148 * math/bug-nexttoward.c: Likewise.
12149 * math/test-fenv.c: Likewise.
12150 * math/test-misc.c: Likewise.
12151 * stdlib/bug-getcontext.c: Likewise.
12153 2012-05-17 Andreas Jaeger <aj@suse.de>
12155 * manual/examples/search.c (critter_cmp): Change signature to
12157 * manual/string.texi (Collation Functions): Likewise.
12159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12161 * bits/types.h: Fold copyright years.
12162 * bits/typesizes.h: Likewise.
12163 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12167 * time/time.h: Likewise.
12169 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12172 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12173 in instead of returning them. Return void.
12174 (__libc_mallinfo): Accumulate over all arenas.
12175 (__malloc_stats): Adjust for change in int_mallinfo interface.
12177 2012-05-16 Roland McGrath <roland@hack.frob.com>
12180 * configure.in (NM): Add AC_CHECK_TOOL for it.
12181 (libc_extra_cflags): New substituted variable.
12182 Check for -fstack-protector being used implicitly.
12183 * configure: Regenerated.
12184 * config.make.in (config-extra-cflags): New variable,
12185 gets @libc_extra_cflags@.
12186 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12189 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12190 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12191 * configure: Regenerated.
12192 * config.make.in (CPPUNDEFS): New substituted variable.
12193 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12194 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12195 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12197 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12199 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12200 (mq_attr): Use __syscall_slong_t.
12202 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12204 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12205 Check __x86_64__ instead of __WORDSIZE.
12206 (_STAT_VER_LINUX): Likewise.
12207 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12208 __syscall_ulong_t and __syscall_slong_t.
12209 (stat64): Likewise.
12211 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12213 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12215 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12217 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12219 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12221 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12224 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12225 include <bits/wordsize.h>. Check __x86_64__ instead of
12227 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12229 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12231 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12232 include <bits/wordsize.h>. Check __x86_64__ instead of
12234 (user_regs_struct): Use "__extension__ unsigned long long"
12235 instead of "unsigned long" if __x86_64__ is defined.
12236 (user): Likewise. Pad after pointer field if __ILP32__ is
12239 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12241 * configure.in (makeinfo): Require version 4.5 or later. Allow
12243 * configure: Regenerated.
12244 * manual/install.texi (texinfo): Increase version requirement to
12246 * INSTALL: Regenerated.
12248 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12252 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12254 * sysdeps/x86_64/x32/ffs.c: New file.
12256 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12258 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12259 defined. Use __syscall_ulong_t.
12260 (shminfo): Use __syscall_ulong_t.
12261 (shm_info): Likewise.
12263 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12266 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12268 (msgqnum_t): Use __syscall_ulong_t.
12269 (msglen_t): Likewise.
12270 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12273 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12274 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12276 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12278 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12279 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12281 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12284 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12285 include <bits/wordsize.h>. Check __x86_64__ instead of
12288 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12289 "unsigned long long int" if __x86_64__ is defined.
12290 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12293 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12294 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12296 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12298 (GET_PC): Cast to uintptr_t first.
12299 (GET_FRAME): Likewise.
12300 (GET_STACK): Likewise.
12302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12303 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12307 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12308 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12312 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12314 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12316 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12318 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12320 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12321 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12323 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12324 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12325 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12326 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12327 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12328 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12329 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12330 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12332 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12334 * Makerules (+depfiles): Also collect depfiles from .oS in
12336 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12337 .oS, $(libnldbl-routines)).
12339 * Makerules (native-compile-mkdep-flags): Define.
12340 * sunrpc/Makefile (extra-objs): Add $(addprefix
12341 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12342 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12343 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12344 calling $(make-target-directory).
12346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12348 * bits/types.h (__snseconds_t): Removed.
12349 * time/time.h (struct timespec): Replace __snseconds_t with
12351 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12352 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12355 (__SNSECONDS_T_TYPE): Likewise.
12356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12357 (__SNSECONDS_T_TYPE): Likewise.
12358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12359 (__SNSECONDS_T_TYPE): Likewise.
12361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12363 * sysdeps/mach/hurd/bits/typesizes.h
12364 (__SYSCALL_SLONG_TYPE): New macro.
12365 (__SYSCALL_ULONG_TYPE): Likewise.
12367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12369 * bits/types.h (__syscall_slong_t): New type.
12370 (__syscall_ulong_t): Likewise.
12372 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12373 (__SYSCALL_ULONG_TYPE): Likewise.
12374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12375 (__SYSCALL_SLONG_TYPE): Likewise.
12376 (__SYSCALL_ULONG_TYPE): Likewise.
12377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12378 (__SYSCALL_SLONG_TYPE): Likewise.
12379 (__SYSCALL_ULONG_TYPE): Likewise.
12380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12381 (__SYSCALL_SLONG_TYPE): Likewise.
12382 (__SYSCALL_ULONG_TYPE): Likewise.
12384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12386 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12387 Add sigaltstack-offsets.sym.
12388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12389 <sigaltstack-offsets.h>.
12390 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12391 longjmp_msg pointer.
12392 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12393 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12395 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12397 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12399 * elf/stackguard-macros.h: Remove file.
12400 * sysdeps/generic/stackguard-macros.h: New file.
12401 * sysdeps/i386/stackguard-macros.h: Likewise.
12402 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12403 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12404 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12405 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12406 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12407 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12408 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12409 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12410 <elf/stackguard-macros.h>.
12413 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12414 __aligned__ in attribute.
12415 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12416 (gregset_t): Likewise.
12418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12420 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12421 * sysdeps/x86_64/64/Implies-after: Here. New file.
12422 * sysdeps/x86_64/x32/Implies-after: New file.
12424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12426 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12427 and access return value for _dl_profile_fixup. Use R10_LP to
12430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12432 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12436 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12437 * sysdeps/x86_64/x32/sysdep.h: New file.
12439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12441 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12442 * sysdeps/x86_64/setjmp.S: Likewise.
12444 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12446 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12447 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12448 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12450 remove unused global constant.
12452 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12454 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12455 include of <not-cancel.h>.
12457 2012-05-15 Roland McGrath <roland@hack.frob.com>
12459 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12461 2012-05-15 Jeff Law <law@redhat.com>
12462 Andreas Jaeger <aj@suse.de>
12465 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12467 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12468 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12469 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12470 code changing __hst_map_handle.map.
12472 2012-05-15 Roland McGrath <roland@hack.frob.com>
12474 * configure.in (sysnames): Look for Implies-before and Implies-after
12476 * configure: Regenerated.
12478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12480 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12481 8-byte data alignment with LP_SIZE alignment.
12483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12485 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12490 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12495 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12496 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12498 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12502 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12503 (stackinfo_sub_sp): Likewise.
12505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12507 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12522 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12526 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12527 into R11_LP and load __x86_64_shared_cache_size_half into
12530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12532 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12535 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12539 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12543 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12544 powerpc32/power7/fpu/s_logb.c via #include.
12545 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12546 powerpc32/power7/fpu/s_logbf.c via #include.
12547 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12548 powerpc32/power7/fpu/s_logbl.c via #include.
12550 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12552 * README.libm: Remove file.
12554 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12556 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12557 count for x32. Use R*_LP and omit operand-size suffix.
12559 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12561 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12562 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12563 * sysdeps/x86_64/x32/shlib-versions: New file.
12565 2012-05-14 Roland McGrath <roland@hack.frob.com>
12567 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12568 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12569 Use _dl_fatal_printf instead.
12571 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12573 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12574 set if not set by the user. Do not allow for being unset.
12575 * sysdeps/unix/sysv/linux/configure: Regenerated.
12577 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12579 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12580 the `q' suffix from lea and replace .quad with ASM_ADDR.
12582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12585 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12587 (PTR_DEMANGLE): Likewise.
12589 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12591 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12593 (ASM_ADDR): Likewise.
12594 (RAX_LP): Likewise.
12595 (RBP_LP): Likewise.
12596 (RBX_LP): Likewise.
12597 (RCX_LP): Likewise.
12598 (RDI_LP): Likewise.
12599 (RSI_LP): Likewise.
12600 (RSP_LP): Likewise.
12603 (R10_LP): Likewise.
12604 (R10_LP): Likewise.
12605 (R11_LP): Likewise.
12606 (R12_LP): Likewise.
12607 (R13_LP): Likewise.
12608 (R14_LP): Likewise.
12609 (R15_LP): Likewise.
12611 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12613 * sysdeps/x86_64/x32/dl-machine.h: New file.
12615 2012-05-14 Andreas Jaeger <aj@suse.de>
12617 * manual/Makefile (subdir): Remove export of subdir.
12618 (all): Remove target.
12619 (.PHONY): Remove all from list.
12620 (mkinstalldirs): Remove.
12621 (.PHONY): Remove installdirs from list.
12622 ($(inst_infodir)/libc.info): Use make-target-directory.
12623 (installdirs): Remove.
12624 (subdir_%): Remove.
12625 (glibc-targets): Remove.
12628 ($(objpfx)stubs ../po/manual.pot): Remove.
12629 ($(objpfx)stamp%): Remove.
12630 (make-target-directory): Remove.
12631 (subdir_install): Remove.
12632 (routines): Remove.
12639 * manual/.gitignore: Remove, it's not needed anymore.
12640 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12642 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12644 (texis): Renamed to $(objpfx)texis.
12645 (texis-path): New, contains path to generated files.
12646 (chapters.%): Use texis-path for complete path, add extra argument
12648 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12649 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12650 (summary,texi, stamp-summary): Use complete path of
12651 files. Generate files in build dir.
12652 (dir-add.texi): Build in build dir.
12653 (libm-err.texi,stamp-libm-err): Likewise.
12654 (version.texi, stamp-version): Likewise.
12655 (.%c.texi): Likewise.
12656 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12657 (mostlyclean): Remove target.
12658 (realclean): Remove target.
12659 (generated): Add new variable with contents from mostlyclean and
12660 realclean, remove entries duplicated in common-mostlyclean, add
12661 stamp-libm-err and stamp-version.
12662 (generated-dirs): Add libc directory.
12663 ($(inst_infodir)/libc.info): Install files from build dir.
12665 * manual/install.texi (Configuring and compiling): Adjust since
12666 the info files are not part of the tar ball anymore.
12668 2012-05-14 Andreas Jaeger <aj@suse.de>
12670 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12673 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12677 to 2.2.0 where earlier.
12678 * sysdeps/unix/sysv/linux/configure: Regenerated.
12679 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12680 Remove conditional code.
12681 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12682 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12683 Remove conditional code.
12684 [!__NR_lchown]: Likewise.
12685 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12686 [__NR_lchown]: Likewise.
12687 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12688 comment referencing __ASSUME_LCHOWN_SYSCALL.
12689 * sysdeps/unix/sysv/linux/i386/sigaction.c
12690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12692 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12693 Remove conditional code.
12694 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12695 (__protocol_available): Remove #if 0 code.
12696 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12698 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12699 * sysdeps/unix/sysv/linux/kernel-features.h
12700 (__ASSUME_GETCWD_SYSCALL): Don't define.
12701 (__ASSUME_REALTIME_SIGNALS): Likewise.
12702 (__ASSUME_PREAD_SYSCALL): Likewise.
12703 (__ASSUME_PWRITE_SYSCALL): Likewise.
12704 (__ASSUME_POLL_SYSCALL): Likewise.
12705 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12706 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12708 (__ASSUME_SIOCGIFNAME): Don't define.
12709 (__ASSUME_MSG_NOSIGNAL): Likewise.
12710 (__ASSUME_SENDFILE): Define unconditionally.
12711 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12712 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12714 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12715 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12716 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12717 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12718 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12719 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12720 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12722 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12734 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12740 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12745 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12746 Remove conditional code.
12747 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12748 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12749 Remove conditional code.
12750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12751 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12752 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12753 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12754 Remove conditional code.
12755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12756 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12757 Remove conditional code.
12758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12759 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12760 Remove conditional code.
12761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12762 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12763 Remove conditional code.
12764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12765 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12766 Remove conditional code.
12767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12768 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12771 * sysdeps/unix/sysv/linux/sigaction.c
12772 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12773 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12774 * sysdeps/unix/sysv/linux/sigpending.c
12775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12777 * sysdeps/unix/sysv/linux/sigprocmask.c
12778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12780 * sysdeps/unix/sysv/linux/sigsuspend.c
12781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12784 (__libc_missing_rt_sigs): Remove.
12785 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12786 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12787 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12788 Remove conditional code.
12789 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12790 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12792 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12793 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12795 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12797 2012-05-14 Andreas Jaeger <aj@suse.de>
12799 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12800 it's not used in glibc.
12801 (__coshm1): Likewise.
12802 (__acosh1p): Likewise.
12805 * manual/string.texi (Copying and Concatenation): Add missing
12806 variable in concat example.
12807 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12809 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12813 __builtin_clzl with __builtin_clzll.
12815 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12818 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12821 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12823 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12824 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12825 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12826 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12828 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12830 * NEWS: Update ia64 info.
12832 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12834 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12837 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12839 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12840 * sysdeps/unix/syscalls.list (dup3): Likewise.
12841 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12842 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12844 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12846 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12847 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12849 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12851 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12853 (TLS_IE): Use mov/add instead of movq/addq to load thread
12855 (TLS_GD_PREFIX): New.
12858 2012-05-11 David S. Miller <davem@davemloft.net>
12860 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12861 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12862 (_FPU_SETCW): Likewise.
12864 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12866 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12867 is 32-byte aligned.
12869 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12872 * iconvdata/gb18030.c: Update tables.
12873 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12874 characters specially.
12875 (BODY for TO_LOOP): Add encoding of missing ranges.
12877 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12880 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12881 * sysdeps/mach/hurd/dup3.c: Likewise.
12882 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12883 * sysdeps/powerpc/memmove.c:: Likewise.
12885 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12888 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12890 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12892 * elf/elf.h (R_X86_64_RELATIVE64): New.
12893 (R_X86_64_NUM): Updated.
12894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12895 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12896 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12897 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12898 tst-quad1pie tst-quad2pie
12899 (modules-names): Add tst-quadmod1 tst-quadmod2.
12900 ($(objpfx)tst-quad1): New dependency.
12901 ($(objpfx)tst-quad2): Likewise.
12902 ($(objpfx)tst-quad1pie): Likewise.
12903 ($(objpfx)tst-quad2pie): Likewise.
12904 * sysdeps/x86_64/tst-quad1.c: New file.
12905 * sysdeps/x86_64/tst-quad1pie.c: New file.
12906 * sysdeps/x86_64/tst-quad2.c: Likewise.
12907 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12908 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12909 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12910 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12911 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12913 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12915 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12916 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12917 * streams/stropts.h (t_scalar_t): Define type.
12919 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12920 (_PATH_PRESERVE): Set to "/var/lib".
12921 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12923 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12926 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12927 if __dir_mkfile succeeded.
12929 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12930 checking for _hurd_dtablesize. Unlock it right after having
12931 finished _hurd_dtable allocation.
12933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12935 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12936 * sysdeps/mach/hurd/configure: Regenerated.
12937 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12938 special-casing to...
12939 * sysdeps/gnu/configure.in: ... this new file.
12940 * sysdeps/unix/sysv/linux/configure: Regenerated.
12941 * sysdeps/gnu/configure: New generated file.
12943 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12944 for Linux: use nsec instead of usec, as well as:
12945 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12946 members of type struct timespec.
12947 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12949 (struct stat64): Likewise.
12950 (_STATBUF_ST_NSEC): New macro.
12951 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12953 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12954 __strtoul_internal rather than strtoul.
12956 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12958 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12963 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12964 which preserves existing values.
12965 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12967 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12969 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12970 TIMEOUT values. Return EINVAL for NFDS values either negative or
12971 greater than FD_SETSIZE.
12973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12975 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12976 allocated, call __vm_protect to finish enabling the existing space, and
12977 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12978 allocate the remainder.
12980 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12982 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12983 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12985 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12987 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12988 sysdeps/mach/hurd/readlink.c.
12990 * posix/tst-sysconf.c (posix_options): Only use
12991 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12992 _POSIX_SYNCHRONIZED_IO when they are defined
12993 * sysdeps/mach/hurd/bits/posix_opt.h:
12994 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12995 (_XOPEN_REALTIME): Undefine macro.
12996 (_XOPEN_REALTIME_THREADS): Undefine macro.
12997 (_XOPEN_SHM): Undefine macro.
12998 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13000 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13002 (_POSIX_ASYNC_IO): Undefine macro.
13003 (_POSIX_PRIORITIZED_IO): Undefine macro.
13004 (_POSIX_SPIN_LOCKS): Define macro to -1.
13006 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13007 SA_NODEFER, SA_RESETHAND.
13008 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13009 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13012 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13014 * elf/Makefile (pldd-modules): Define unconditionally.
13016 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13018 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13022 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13023 Return ENOENT when name is empty.
13024 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13026 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13028 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13030 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13032 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13034 Fix mlock in all cases except non-readable pages.
13035 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13036 instead of VM_PROT_ALL as parameter to __vm_wire function.
13038 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13039 (__mkdir): When path is `/', just fail with EEXIST.
13040 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13044 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13045 <sys/uio.h> (for writev).
13046 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13047 and <sys/param.h> (for MIN).
13049 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13051 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13052 REQUESTED_TIME. Properly set the remaining time and return EINTR
13055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13057 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13058 Depend on against $(link-rpcuserlibs).
13060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13062 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13063 (__libc_stack_end): Do not use attribute_relro.
13064 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13065 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13066 to libthread-provided value.
13067 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13073 * bits/libc-lock.h (__libc_once_get): New macro.
13074 * sysdeps/mach/bits/libc-lock.h: Likewise.
13075 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13076 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13077 instead of using implementation details.
13079 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13080 * libio/freopen.c: Likewise.
13081 * libio/freopen64.c: Likewise.
13082 * misc/syslog.c: Likewise.
13083 * nscd/connections.c: Likewise.
13084 * nscd/netgroupcache.c: Likewise.
13085 * sysdeps/posix/getcwd.c: Likewise.
13087 2012-05-10 Roland McGrath <roland@hack.frob.com>
13089 * math/w_ilogbf.c: Add #include <limits.h>.
13091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13093 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13094 path instead of returning without unlocking.
13096 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13097 immediate-write ioctls.
13098 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13102 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13103 __builtin_frame_address instead of making assumptions about the
13104 location of the return address relative to DATA. Force early load of
13105 the return address.
13106 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13107 __builtin_frame_address.
13110 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13111 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13112 implement dup3 and do some further code clean-ups.
13113 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13114 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13116 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13118 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13120 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13121 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13122 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13123 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13124 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13127 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13128 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13129 when handler == SIG_ERR, not when handler != SIG_ERR.
13131 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13133 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13134 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13137 accept4 for GNU Hurd.
13138 * include/sys/socket.h (__libc_accept4): New prototype.
13139 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13140 to implement __libc_accept4.
13141 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13143 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13145 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13146 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13147 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13148 signal-defines.sym.
13150 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13152 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13156 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13157 assertion on O_CLOEXEC flag.
13158 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13159 * hurd/intern-fd.c: Likewise.
13160 * hurd/port2fd.c: Likewise.
13162 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13165 * bits/in.h (IPV6_PKTINFO): Define new macro.
13166 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13168 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13173 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13175 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13176 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13178 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13179 * math/libm-test.inc (logb_test) : Additional logb tests.
13181 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13182 Andreas Jaeger <aj@suse.de>
13184 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13185 * configure: Regenerated.
13186 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13187 * config.make.in (link-obsolete-rpc): New substituted variable.
13188 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13189 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13190 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13191 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13192 so that libc.a contains the symbols.
13193 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13194 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13195 * sunrpc/auth_none.c: Likewise.
13196 * sunrpc/auth_unix.c: Likewise.
13197 * sunrpc/authdes_prot.c: Likewise.
13198 * sunrpc/authuxprot.c: Likewise.
13199 * sunrpc/clnt_gen.c: Likewise.
13200 * sunrpc/clnt_perr.c: Likewise.
13201 * sunrpc/clnt_raw.c: Likewise.
13202 * sunrpc/clnt_simp.c: Likewise.
13203 * sunrpc/clnt_tcp.c: Likewise.
13204 * sunrpc/clnt_udp.c: Likewise.
13205 * sunrpc/clnt_unix.c: Likewise.
13206 * sunrpc/des_crypt.c: Likewise.
13207 * sunrpc/des_soft.c: Likewise.
13208 * sunrpc/get_myaddr.c: Likewise.
13209 * sunrpc/key_call.c: Likewise.
13210 * sunrpc/key_prot.c: Likewise.
13211 * sunrpc/netname.c: Likewise.
13212 * sunrpc/pm_getmaps.c: Likewise.
13213 * sunrpc/pm_getport.c: Likewise.
13214 * sunrpc/pmap_clnt.c: Likewise.
13215 * sunrpc/pmap_prot.c: Likewise.
13216 * sunrpc/pmap_prot2.c: Likewise.
13217 * sunrpc/pmap_rmt.c: Likewise.
13218 * sunrpc/publickey.c: Likewise.
13219 * sunrpc/rpc_cmsg.c: Likewise.
13220 * sunrpc/rpc_common.c: Likewise.
13221 * sunrpc/rpc_dtable.c: Likewise.
13222 * sunrpc/rpc_prot.c: Likewise.
13223 * sunrpc/rpc_thread.c: Likewise.
13224 * sunrpc/rtime.c: Likewise.
13225 * sunrpc/svc.c: Likewise.
13226 * sunrpc/svc_auth.c: Likewise.
13227 * sunrpc/svc_raw.c: Likewise.
13228 * sunrpc/svc_run.c: Likewise.
13229 * sunrpc/svc_tcp.c: Likewise.
13230 * sunrpc/svc_udp.c: Likewise.
13231 * sunrpc/svc_unix.c: Likewise.
13232 * sunrpc/svcauth_des.c: Likewise.
13233 * sunrpc/xcrypt.c: Likewise.
13234 * sunrpc/xdr.c: Likewise.
13235 * sunrpc/xdr_array.c: Likewise.
13236 * sunrpc/xdr_float.c: Likewise.
13237 * sunrpc/xdr_intXX_t.c: Likewise.
13238 * sunrpc/xdr_mem.c: Likewise.
13239 * sunrpc/xdr_rec.c: Likewise.
13240 * sunrpc/xdr_ref.c: Likewise.
13241 * sunrpc/xdr_sizeof.c: Likewise.
13242 * sunrpc/xdr_stdio.c: Likewise.
13244 2012-05-10 Roland McGrath <roland@hack.frob.com>
13246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13247 change. Update copyright years.
13249 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13251 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13253 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13254 Joseph Myers <joseph@codesourcery.com>
13255 Paul Pluzhnikov <ppluzhnikov@google.com>
13258 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13260 [cross-compiling] (extra-libs): Likewise.
13261 [cross-compiling] (extra-libs-others): Likewise.
13262 [cross-compiling] (librpcsvc-routines): Likewise.
13263 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13264 [cross-compiling] (omit-deps): Likewise.
13265 (sunrpc-CPPFLAGS): New variable.
13266 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13267 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13268 (cross-rpcgen-objs): New variable.
13269 (extra-objs): Append $(cross-rpcgen-objs).
13270 ($(cross-rpcgen-objs)): New rule.
13271 ($(objpfx)cross-rpcgen): Likewise.
13272 (rpcgen-cmd): Define to use $(built-program-file). Expand
13274 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13275 ($(objpfx)x%.stmp): Likewise.
13276 * sunrpc/proto.h [IS_IN_build] (_): Define.
13277 [IS_IN_build] (_libc_intl_domainname): Likewise.
13279 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13282 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13283 and R_X86_64_TPOFF64.
13285 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13287 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13288 sysdeps/unix/sysv/syscalls.list.
13291 * sysdeps/unix/sysv/syscalls.list: Remove file.
13293 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13296 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13297 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13298 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13299 (__LC_IDENTIFICATION): Make these macros useful in #if
13300 expressions, as required by C99.
13302 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13304 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13305 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13308 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13310 * stdlib/longlong.h: Updated from GCC.
13312 2012-05-09 Andreas Jaeger <aj@suse.de>
13314 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13315 default is first entry.
13316 (run_mode): Set type.
13317 (main): Remove informal message about syslog.
13318 (options): Fix typo.
13321 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13324 (llrintf): Likewise.
13325 (llrint): Likewise.
13328 (nearbyint): Likewise.
13329 (nearbyintf): Likewise.
13331 2012-05-09 Andreas Jaeger <aj@suse.de>
13332 Pedro Alves <palves@redhat.com>
13334 * nscd/nscd.c (run_mode): Use enum.
13335 (main): Cleanup coding style issue.
13337 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13338 Andreas Jaeger <aj@suse.de>
13340 * nscd/nscd.c (go_background): Replaced with...
13341 (run_mode): ... this.
13342 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13343 (options): Add -F --foreground.
13344 (main): Implement it.
13345 (parse_opt): Parse it.
13347 2012-05-09 Andreas Jaeger <aj@suse.de>
13350 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13351 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13352 -Wconversion warning.
13353 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13356 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13358 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13360 (LC_ALL): Use macro-int-constant.
13361 (LC_COLLATE): Likewise.
13362 (LC_CTYPE): Likewise.
13363 (LC_MESSAGES): Likewise.
13364 (LC_MONETARY): Likewise.
13365 (LC_NUMERIC): Likewise.
13366 (LC_TIME): Likewise.
13367 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13368 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13370 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13372 [C99-based standards] (float_t): Expect type.
13373 [C99-based standards] (double_t): Expect type.
13374 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13376 [C99-based standards] (HUGE_VALL): Likewise.
13377 [C99-based standards] (INFINITY): Likewise.
13378 [C99-based standards] (NAN): Likewise.
13379 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13380 [C99-based standards] (FP_NAN): Likewise.
13381 [C99-based standards] (FP_NORMAL): Likewise.
13382 [C99-based standards] (FP_SUBNORMAL): Likewise.
13383 [C99-based standards] (FP_ZERO): Likewise.
13384 [C99-based standards] (FP_FAST_FMA): Use
13385 optional-macro-int-constant. Specify type. Require == 1.
13386 [C99-based standards] (FP_FAST_FMAF): Likewise.
13387 [C99-based standards] (FP_FAST_FMAL): Likewise.
13388 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13389 [C99-based standards] (FP_ILOGBNAN): Likewise.
13390 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13392 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13393 [C99-based standards] (math_errhandling): Specify type.
13394 [ISO99 || ISO11] (signgam): Do not allow.
13395 [non-C99-based standards] (copysignf): Do not allow.
13396 [non-C99-based standards] (exp2f): Likewise.
13397 [non-C99-based standards] (log2f): Likewise.
13398 [non-C99-based standards] (modff): Allow.
13399 [non-C99-based standards] (erff): Do not allow.
13400 [non-C99-based standards] (erfcf): Likewise.
13401 [non-C99-based standards] (gammaf): Likewise.
13402 [non-C99-based standards] (hypotf): Likewise.
13403 [non-C99-based standards] (j0f): Likewise.
13404 [non-C99-based standards] (j1f): Likewise.
13405 [non-C99-based standards] (jnf): Likewise.
13406 [non-C99-based standards] (lgammaf): Likewise.
13407 [non-C99-based standards] (tgammaf): Likewise.
13408 [non-C99-based standards] (y0f): Likewise.
13409 [non-C99-based standards] (y1f): Likewise.
13410 [non-C99-based standards] (ynf): Likewise.
13411 [non-C99-based standards] (isnanf): Likewise.
13412 [non-C99-based standards] (acoshf): Likewise.
13413 [non-C99-based standards] (asinhf): Likewise.
13414 [non-C99-based standards] (atanhf): Likewise.
13415 [non-C99-based standards] (cbrtf): Likewise.
13416 [non-C99-based standards] (expm1f): Likewise.
13417 [non-C99-based standards] (ilogbf): Likewise.
13418 [non-C99-based standards] (log1pf): Likewise.
13419 [non-C99-based standards] (logbf): Likewise.
13420 [non-C99-based standards] (nextafterf): Likewise.
13421 [non-C99-based standards] (remainderf): Likewise.
13422 [non-C99-based standards] (rintf): Likewise.
13423 [non-C99-based standards] (scalbf): Likewise.
13424 [non-C99-based standards] (copysignl): Likewise.
13425 [non-C99-based standards] (exp2l): Likewise.
13426 [non-C99-based standards] (log2l): Likewise.
13427 [non-C99-based standards] (modfl): Allow.
13428 [non-C99-based standards] (erfl): Do not allow.
13429 [non-C99-based standards] (erfcl): Likewise.
13430 [non-C99-based standards] (gammal): Likewise.
13431 [non-C99-based standards] (hypotl): Likewise.
13432 [non-C99-based standards] (j0l): Likewise.
13433 [non-C99-based standards] (j1l): Likewise.
13434 [non-C99-based standards] (jnl): Likewise.
13435 [non-C99-based standards] (lgammal): Likewise.
13436 [non-C99-based standards] (tgammal): Likewise.
13437 [non-C99-based standards] (y0l): Likewise.
13438 [non-C99-based standards] (y1l): Likewise.
13439 [non-C99-based standards] (ynl): Likewise.
13440 [non-C99-based standards] (isnanl): Likewise.
13441 [non-C99-based standards] (acoshl): Likewise.
13442 [non-C99-based standards] (asinhl): Likewise.
13443 [non-C99-based standards] (atanhl): Likewise.
13444 [non-C99-based standards] (cbrtl): Likewise.
13445 [non-C99-based standards] (expm1l): Likewise.
13446 [non-C99-based standards] (ilogbl): Likewise.
13447 [non-C99-based standards] (log1pl): Likewise.
13448 [non-C99-based standards] (logbl): Likewise.
13449 [non-C99-based standards] (nextafterl): Likewise.
13450 [non-C99-based standards] (remainderl): Likewise.
13451 [non-C99-based standards] (rintl): Likewise.
13452 [non-C99-based standards] (scalbl): Likewise.
13453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13454 [non-C99-based standards] (FP_*): Do not allow.
13455 [C99-based standards] (FP_*): Change to
13456 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13457 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13459 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13460 (SIG_ERR): Likewise.
13461 [X/Open-based standards] (SIG_HOLD): Likewise.
13462 (SIG_IGN): Likewise.
13463 (SIGABRT): Use macro-int-constant. Specify type. Require
13465 (SIGFPE): Likewise.
13466 (SIGILL): Likewise.
13467 (SIGINT): Likewise.
13468 (SIGSEGV): Likewise.
13469 (SIGTER): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13488 [X/Open-based standards] (SIGTRAP): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13493 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13496 2012-05-08 Ian Wienand <ianw@vmware.com>
13499 * time/tzset.c (__tzset_parse_tz): Update default rules for
13500 daylight time changes in the Energy Policy Act of 2005.
13502 2012-05-09 Andreas Jaeger <aj@suse.de>
13505 * elf/ldconfig.c (parse_conf): Change string to make clear that
13506 ldconfig only issued a warning if ld.so.conf does not exist.
13508 2012-05-08 David S. Miller <davem@davemloft.net>
13510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13511 movxtod instead of popping the value on the stack.
13513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13515 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13517 * config.h.in: Add HAVE_ARM_PCS_VFP.
13519 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13522 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13523 checking but the checks are disabled for any reason.
13525 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13527 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13528 and ELF64_R_TYPE with ELFW(R_TYPE).
13530 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13532 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13533 (ulimit): Likewise.
13535 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13536 (settimeofday): Likewise.
13538 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13540 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13541 a struct th_u2 inside the union, and move tu_block/tu_code into
13542 a new th_u3 union of tu_block/tu_code inside of that. Move
13543 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13544 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13545 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13546 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13547 (th_stuff): Change to th_u1.tu_stuff.
13549 (th_msg): Change to th_u1.th_u2.tu_data.
13551 2012-05-07 David S. Miller <davem@davemloft.net>
13553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13556 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13557 (SETUP_PIC_REG): Use it.
13558 (SETUP_PIC_REG_LEAF): Use it.
13560 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13564 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13566 (EXPL_FINITE): Likewise.
13567 (FLDLOG): Likewise.
13568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13569 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13573 (EXPL_FINITE): Likewise.
13574 (FLDLOG): Likewise.
13575 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13576 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13578 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13579 test of -max_value argument for long double.
13580 * sysdeps/i386/fpu/libm-test-ulps: Update.
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13583 2012-05-06 David S. Miller <davem@davemloft.net>
13585 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13586 quad soft-float symbols whose references which are compiler
13588 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13590 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13594 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13596 (EXPL_FINITE): Likewise.
13597 (FLDLOG): Likewise.
13600 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13601 Adjust comments for base varying.
13602 (__expl_finite): Change alias to EXPL_FINITE.
13603 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13605 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13606 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13608 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13609 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13611 (EXPL_FINITE): Likewise.
13612 (FLDLOG): Likewise.
13615 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13616 Adjust comments for base varying.
13617 (__expl_finite): Change alias to EXPL_FINITE.
13618 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13623 * math/libm-test.inc (check_float_internal): Correct ulp
13624 calculation for subnormal expected results.
13626 2012-05-06 Andreas Jaeger <aj@suse.de>
13628 * Makeconfig (+math-flags): New, set to -frounding-math.
13629 (+cflags): Add +math-flags so that all of glibc gets compiled with
13632 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13634 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13636 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13642 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13643 (__ieee754_expl): Allow for and saturate large arguments.
13644 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13645 (u_threshold): Likewise.
13646 (__exp): Call __ieee754_exp before checking for overflow and
13648 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13649 (u_threshold): Likewise.
13650 (__expf): Call __ieee754_expf before checking for overflow and
13652 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13653 (u_threshold): Likewise.
13654 (__expl): Call __ieee754_expl before checking for overflow and
13656 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13657 (__ieee754_expl): Allow for and saturate large arguments.
13658 * math/libm-test.inc (exp_test): Add another test. Do not allow
13659 missing overflow exception on overflow.
13660 (expm1_test): Do not allow missing overflow exception on overflow.
13662 * sysdeps/i386/fpu/e_expl.c: Move to ...
13663 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13664 rather than using inline asm.
13665 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13666 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13667 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13669 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13672 (signal): Likewise.
13676 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13678 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13679 sysdeps/unix/common/syscalls.list.
13680 (fchmod): Likewise.
13681 (fchown): Likewise.
13682 (ftruncate): Likewise.
13683 (getrusage): Likewise.
13684 (gettimeofday): Likewise.
13685 (setpgid): Likewise.
13686 (setregid): Likewise.
13687 (setreuid): Likewise.
13688 (sigaction): Likewise.
13689 (truncate): Likewise.
13690 (vhangup): Likewise.
13691 * sysdeps/unix/common/syscalls.list: Remove file.
13692 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13693 * sysdeps/unix/sysv/linux/Implies: Likewise.
13695 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13697 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13699 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13703 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13706 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13709 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13712 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13715 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13718 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13721 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13725 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13729 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13732 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13736 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13740 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13742 * sysdeps/unix/common/bits/dirent.h: Remove file.
13743 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13745 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13746 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13747 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13748 * sysdeps/unix/bsd/isatty.c: Likewise.
13749 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13750 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13751 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13753 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13756 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13757 long double comparison inaccuracies.
13758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13761 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13763 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13766 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13769 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13770 nonzero digits before rounding a hex value.
13771 * stdlib/tst-strtod.c (tests): Add another test.
13773 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13775 * sysdeps/s390/fpu/libm-test-ulps: Update.
13777 2012-05-03 Andreas Jaeger <aj@suse.de>
13779 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13780 does not get optimized out.
13781 (malloc_opt_barrier): New.
13783 2012-05-03 Andreas Jaeger <aj@suse.de>
13784 Roland McGrath <roland@hack.frob.com>
13786 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13787 intermediate file deletion.
13788 (generated): Add .symlist files.
13790 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13793 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13794 Redirect under this condition.
13795 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13796 [__USE_GNU] (__dprintf_chk): Not under this condition.
13797 [__USE_GNU] (__vdprintf_chk): Likewise.
13798 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13799 under this condition.
13800 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13801 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13802 [__USE_XOPEN2K8] (vdprintf): Likewise.
13803 [__USE_GNU] (__dprintf_chk): Not under this condition.
13804 [__USE_GNU] (__vdprintf_chk): Likewise.
13805 [__USE_GNU] (dprintf): Likewise.
13806 [__USE_GNU] (vdprintf): Likewise.
13808 2012-05-03 Roland McGrath <roland@hack.frob.com>
13810 * elf/Makefile (common-generated): Set this instead of generated for
13811 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13812 $(all-built-dso)-derived lists.
13814 2012-05-03 Andreas Jaeger <aj@suse.de>
13816 * sysdeps/i386/fpu/libm-test-ulps: Update.
13819 * FAQ.in: Likewise.
13820 * scripts/gen-FAQ.pl: Likewise.
13821 * manual/install.texi (Installation): Point to online location of
13823 * Makefile (files-for-dist): Remove FAQ.
13826 2012-05-02 Allan McRae <allan@archlinux.org>
13828 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13829 (LDFLAGS-reldepmod5.so): Likewise.
13830 (LDFLAGS-reldep6mod1.so): Likewise.
13831 (LDFLAGS-reldep6mod4.so): Likewise.
13832 (LDFLAGS-reldep8mod3.so): Likewise.
13833 (LDFLAGS-unload4mod1.so): Likewise.
13834 (LDFLAGS-unload4mod2.so): Likewise.
13835 (LDFLAGS-tst-initorder): Likewise.
13836 (LDFLAGS-tst-initordera2.so): Likewise.
13837 (LDFLAGS-tst-initordera3.so): Likewise.
13838 (LDFLAGS-tst-initordera4.so): Likewise.
13839 (LDFLAGS-tst-initorderb2.so): Likewise.
13840 (LDFLAGS-noload): Likewise.
13841 (LDFLAGS-next): Likewise.
13842 (LDFLAGS-order2mod1.so): Likewise.
13843 (LDFLAGS-order2mod2.so): Likewise.
13844 (LDFLAGS-tst-initorder2): Likewise.
13845 (LDFLAGS-tst-initorder2a.so): Likewise.
13846 (LDFLAGS-tst-initorder2b.so): Likewise.
13847 (LDFLAGS-tst-initorder2c.so): Likewise.
13848 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13850 2012-05-02 David S. Miller <davem@davemloft.net>
13852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13854 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13857 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13859 2012-05-02 Andreas Jaeger <aj@suse.de>
13861 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13862 since we manipulate rounding mode.
13863 (CPPFLAGS-test-idouble.c): Likewise.
13864 (CPPFLAGS-test-ifloat.c): Likewise.
13865 (CFLAGS-test-ldouble.c): Likewise.
13866 (CFLAGS-test-double.c): Likewise.
13867 (CFLAGS-test-float.c): Likewise.
13868 (CFLAGS-test-misc.c): Likewise.
13869 (CFLAGS-test-test-fenv.c): Likewise.
13871 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13876 comparisons to determine direction to adjust input.
13878 2012-05-01 Roland McGrath <roland@hack.frob.com>
13880 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13881 output to the target.
13883 * scripts/localplt.awk: New file.
13884 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13885 (check-localplt-CFLAGS): Variable removed.
13886 ($(all-built-dso:=.jmprel)): New static pattern rule.
13887 (generated): Add those targets.
13888 (localplt-built-dso): New variable.
13889 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13891 * elf/check-localplt.c: File removed.
13893 * scripts/check-execstack.awk: New file.
13894 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13895 (check-execstack-CFLAGS): Variable removed.
13896 ($(objpfx)check-execstack.h): Target removed.
13897 ($(objpfx)execstack-default): New target.
13898 (generated): Add that instead of check-execstack.h.
13899 ($(all-built-dso:=.phdr)): New static pattern rule.
13900 (generated): Add those targets.
13901 * elf/check-execstack.c: File removed.
13903 * scripts/check-textrel.awk: New file.
13904 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13905 (check-textrel-CFLAGS): Variable removed.
13906 (all-built-dso): Use := to define.o
13907 ($(all-built-dso:=.dyn)): New static pattern rule.
13908 (generated): Add those targets.
13909 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13910 * config.make.in (READELF): New substituted variable.
13911 * elf/check-textrel.c: File removed.
13913 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13915 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13917 * conform/data/ctype.h-data [C99-based standards] (isblank):
13919 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13920 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13922 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13923 Specify type. Require positive value.
13924 (EILSEQ): Likewise.
13925 (ERANGE): Likewise.
13926 [ISO || POSIX] (EILSEQ): Do not expect.
13927 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13928 Specify type. Require positive value.
13929 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13930 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13931 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13932 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13933 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13934 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13935 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13936 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13937 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13938 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13939 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13940 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13941 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13942 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13943 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13944 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13945 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13946 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13947 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13948 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13949 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13950 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13951 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13952 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13953 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13954 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13955 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13956 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13957 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13958 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13959 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13960 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13961 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13962 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13963 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13964 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13965 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13966 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13967 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13968 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13969 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13970 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13971 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13972 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13973 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13974 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13975 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13976 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13977 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13978 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13979 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13980 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13981 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13982 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13983 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13984 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13985 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13986 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13987 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13988 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13989 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13990 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13991 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13992 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13993 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13994 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13995 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13996 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13997 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13998 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13999 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14000 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14001 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14002 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14003 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14004 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14005 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14007 (FLT_ROUNDS): Expect as macro, not constant.
14008 (FLT_MANT_DIG): Use macro-int-constant.
14009 (DBL_MANT_DIG): Likewise.
14010 (LDBL_MANT_DIG): Likewise.
14011 (FLT_DIG): Likewise.
14012 (DBL_DIG): Likewise.
14013 (LDBL_DIG): Likewise.
14014 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14015 (DBL_MIN_EXP): Likewise.
14016 (LDBL_MIN_EXP): Likewise.
14017 (FLT_MAX_EXP): Use macro-int-constant.
14018 (DBL_MAX_EXP): Likewise.
14019 (LDBL_MAX_EXP): Likewise.
14020 (FLT_MAX_10_EXP): Likewise.
14021 (DBL_MAX_10_EXP): Likewise.
14022 (LDBL_MAX_10_EXP): Likewise.
14023 (FLT_MAX): Use macro-constant.
14024 (DBL_MAX): Likewise.
14025 (LDBL_MAX): Likewise.
14026 (FLT_EPSILON): Use macro-constant. Give upper bound.
14027 (DBL_EPSILON): Likewise.
14028 (LDBL_EPSILON): Likewise.
14029 (FLT_MIN): Likewise.
14030 (DBL_MIN): Likewise.
14031 (LDBL_MIN): Likewise.
14032 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14033 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14034 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14035 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14036 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14037 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14038 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14039 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14040 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14041 [ISO11] (FLT_TRUE_MIN): Likewise.
14042 [ISO11] (LDBL_TRUE_MIN): Likewise.
14043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14044 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14045 (SCHAR_MIN): Use macro-int-constant. Specify type.
14046 (SCHAR_MAX): Likewise.
14047 (UCHAR_MAX): Likewise.
14048 (CHAR_MIN): Likewise.
14049 (CHAR_MAX): Likewise.
14050 (MB_LEN_MAX): Use macro-int-constant.
14051 (SHRT_MIN): Use macro-int-constant. Specify type.
14052 (SHRT_MAX): Likewise.
14053 (USHRT_MAX): Likewise.
14054 (INT_MAX): Likewise.
14055 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14057 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14059 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14061 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14062 bound negative. Suffix upper bound with "L".
14063 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14065 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14067 [C99-based standards] (LLONG_MAX): Likewise.
14068 [C99-based standards] (ULLONG_MAX): Likewise.
14069 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14071 [ISO11] (max_align_t): Require type.
14072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14074 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14075 from $CFLAGS, without defining away __attribute__ calls.
14076 (checknamespace): Use $CFLAGS_namespace.
14078 * conform/conformtest.pl (@keywords): Only include C99 keywords
14079 for standards based on C99 or C11.
14081 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14083 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14086 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14087 usability of symbols in #if.
14089 * conform/conformtest.pl: If macro or constant types start
14090 "promoted:", expect the symbol to be of the following type
14091 promoted by the integer promotions.
14093 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14094 in one place. Also handle "macro-constant".
14096 * conform/conformtest.pl: Only accept expected macro values with
14097 "==". Parse all "macro" lines in one place.
14098 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14100 * conform/conformtest.pl: Handle braced types on "constant" lines
14101 instead of handling "typed-constant".
14102 * conform/data/signal.h-data: Use "constant" instead of
14105 * conform/conformtest.pl: Handle "optional-" at start of lines in
14106 one place rather than duplicating several cases. Handle each
14107 format of "macro" line with initial "optional-".
14109 * conform/conformtest.pl: Only accept expected constant or
14110 optional-constant values with "==". Parse all "constant" lines in
14111 one place. Parse all "optional-constant" lines in one place.
14112 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14113 * conform/data/fmtmsg.h-data: Likewise.
14114 * conform/data/netinet/in.h-data: Likewise.
14115 * conform/data/tar.h-data: Likewise.
14116 * conform/data/limits.h-data: Use "==" form on "constant" and
14117 "optional-constant" lines.
14119 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14120 Use -std=c99 for XOPEN2K.
14121 (@knownproblems): Remove.
14122 (newtoken): Don't check %isknown.
14124 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14125 Do not expect macro.
14126 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14127 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14128 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14129 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14130 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14131 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14132 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14133 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14134 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14135 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14136 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14137 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14138 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14139 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14140 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14141 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14142 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14143 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14144 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14145 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14146 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14147 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14148 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14149 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14150 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14151 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14152 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14153 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14154 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14155 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14156 [XPG3] (acosh): Likewise.
14157 [XPG3] (asinh): Likewise.
14158 [XPG3] (atanh): Likewise.
14159 [XPG3] (cbrt): Likewise.
14160 [XPG3] (expm1): Likewise.
14161 [XPG3] (ilogb): Likewise.
14162 [XPG3] (log1p): Likewise.
14163 [XPG3] (logb): Likewise.
14164 [XPG3] (nextafter): Likewise.
14165 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14166 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14167 [XPG3] (remainder): Likewise.
14168 [XPG3] (rint): Likewise.
14169 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14170 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14171 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14172 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14173 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14174 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14175 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14176 [UNIX98 || XOPEN2K] (scalb): Expect.
14177 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14178 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14179 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14180 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14181 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14182 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14183 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14184 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14185 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14186 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14187 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14188 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14189 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14190 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14191 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14192 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14193 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14194 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14195 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14196 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14197 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14198 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14199 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14200 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14201 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14202 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14203 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14204 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14205 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14206 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14207 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14208 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14209 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14210 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14211 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14212 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14213 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14214 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14215 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14216 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14217 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14218 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14219 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14220 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14221 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14222 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14223 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14224 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14225 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14226 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14227 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14228 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14229 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14230 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14231 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14232 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14233 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14234 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14235 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14236 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14237 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14245 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14246 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14247 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14248 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14249 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14267 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14268 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14269 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14270 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14271 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14272 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14273 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14274 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14275 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14277 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14278 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14286 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14287 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14288 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14305 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14306 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14307 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14308 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14309 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14310 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14311 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14312 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14313 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14315 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14316 _XOPEN_SOURCE_EXTENDED for XPG4.
14318 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14320 * Makeconfig (localtime): Remove variable.
14321 (inst_localtime-file): Likewise.
14323 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14344 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14348 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14349 comparisons to determine direction to adjust input.
14350 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14351 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14358 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14359 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14361 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14363 * math/libm-test.inc (nexttoward_test): Add more tests.
14365 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14368 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14369 in version GLIBC_2.1, not GLIBC_2.0.
14370 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14373 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14376 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14378 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14379 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14380 * math/libm-test.inc (acos_test): Add more tests.
14381 (asin_test): Likewise.
14382 * sysdeps/i386/fpu/libm-test-ulps: Update.
14383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14386 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14388 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14389 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14390 * math/libm-test.inc (acos_test_tonearest): New function.
14391 (acos_test_towardzero): Likewise.
14392 (acos_test_downward): Likewise.
14393 (acos_test_upward): Likewise.
14394 (asin_test_tonearest): Likewise.
14395 (asin_test_towardzero): Likewise.
14396 (asin_test_downward): Likewise.
14397 (asin_test_upward): Likewise.
14398 (main): Call the new functions.
14399 * sysdeps/i386/fpu/libm-test-ulps: Update.
14400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14404 * math/e_exp10.c: Include <float.h>.
14405 (__ieee754_exp10): Handle underflow here rather than multiplying
14406 large negative argument by M_LN10.
14407 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14409 * math/e_exp10l.c: Include <float.h>.
14410 (__ieee754_exp10l): Handle underflow here rather than multiplying
14411 large negative argument by M_LN10l.
14412 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14413 spurious overflow exception on underflow.
14415 2012-04-29 Marek Polacek <polacek@redhat.com>
14417 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14418 (__fortify_function): New macro.
14419 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14420 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14421 __extern_always_inline.
14422 * libio/bits/stdio2.h: Likewise.
14423 * libio/bits/stdio.h: Likewise.
14424 * string/string.h: Likewise.
14425 * string/bits/string3.h: Likewise.
14426 * include/stdio.h: Likewise.
14427 * stdlib/bits/stdlib.h: Likewise.
14428 * stdlib/stdlib.h: Likewise.
14429 * rt/bits/mqueue2.h: Likewise.
14430 * rt/mqueue.h: Likewise.
14431 * posix/bits/unistd.h: Likewise.
14432 * posix/unistd.h: Likewise.
14433 * io/bits/poll2.h: Likewise.
14434 * io/bits/fcntl2.h: Likewise.
14435 * io/fcntl.h: Likewise.
14436 * io/sys/poll.h: Likewise.
14437 * misc/bits/syslog.h: Likewise.
14438 * misc/bits/syslog-ldbl.h: Likewise.
14439 * misc/sys/syslog.h: Likewise.
14440 * socket/bits/socket2.h: Likewise.
14441 * socket/sys/socket.h: Likewise.
14442 * debug/tst-chk1.c: Likewise.
14443 * wcsmbs/bits/wchar2.h: Likewise.
14444 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14445 * wcsmbs/wchar.h: Likewise.
14447 2012-04-29 Andreas Jaeger <aj@suse.de>
14449 * Makerules (tests): Remove enable-check-abi protection.
14450 (check-abi-warn): Remove.
14451 (check-abi-%): Remove check-abi-warn usage.
14453 * configure.in: Remove check-abi configure option.
14454 * configure: Regenerated.
14455 * config.make.in (enable-check-abi): Remove.
14457 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14460 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14461 double functions to double *_finite functions.
14464 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14465 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14467 * stdio-common/Makefile (tests): Add tst-sprintf3.
14468 * stdio-common/tst-sprintf3.c: New file.
14470 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14471 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14473 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14475 * conform/conformtest.pl: Remove duplicate typed-constant
14478 2012-04-28 David S. Miller <davem@davemloft.net>
14480 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14481 (check-abi-%): Remove AWK script prerequisite and explicit
14483 (check-abi): Rewrite to just diff the symlist with the abilist.
14484 (config-tls, config-abi-config): Delete, no longer used.
14485 (update-abi-%): Remove AWK script and explicit abilist directory.
14486 (update-abi): Rewrite to simply compare and conditionally copy the
14487 symlist and the sysdep abilist file. Remove update-abi-config
14489 * abilist/ld.abilist: Remove.
14490 * abilist/libBrokenLocale.abilist: Remove.
14491 * abilist/libanl.abilist: Remove.
14492 * abilist/libcrypt.abilist: Remove.
14493 * abilist/libdl.abilist: Remove.
14494 * abilist/librt.abilist: Remove.
14495 * abilist/libthread_db.abilist: Remove.
14496 * abilist/libutil.abilist: Remove.
14497 * scripts/extract-abilist.awk: Remove.
14498 * scripts/merge-abilist.awk: Remove.
14499 * sysdeps/generic/libcidn.abilist: New file.
14500 * sysdeps/generic/libnss_compat.abilist: New file.
14501 * sysdeps/generic/libnss_db.abilist: New file.
14502 * sysdeps/generic/libnss_dns.abilist: New file.
14503 * sysdeps/generic/libnss_files.abilist: New file.
14504 * sysdeps/generic/libnss_hesiod.abilist: New file.
14505 * sysdeps/generic/libnss_nis.abilist: New file.
14506 * sysdeps/generic/libnss_nisplus.abilist: New file.
14507 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14508 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14509 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14511 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14512 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14513 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14514 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14515 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14516 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14517 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14518 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14519 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14521 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14522 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14523 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14524 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14526 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14527 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14528 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14529 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14530 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14531 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14533 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14534 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14535 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14537 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14640 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14641 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14642 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14644 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14645 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14646 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14647 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14648 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14649 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14650 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14651 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14652 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14653 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14705 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14707 * conform/conformtest.pl: Fix typo in handling typed-constant from
14710 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14712 * README: Cut down references to pre-2.6 Linux kernels and
14713 Linuxthreads. Update lists of configurations in libc and ports
14714 and sort alphabetically. Say "or newer" with Linux kernel version
14717 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14719 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14722 * math/libm-test.inc (logb_test_downward): New test to expose
14723 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14726 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14729 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14731 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14732 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14734 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14736 * sysdeps/unix/i386/brk.S: Remove file.
14737 * sysdeps/unix/i386/dl-brk.S: Likewise.
14738 * sysdeps/unix/i386/pipe.S: Likewise.
14739 * sysdeps/unix/i386/sigreturn.S: Likewise.
14740 * sysdeps/unix/i386/syscall.S: Likewise.
14741 * sysdeps/unix/i386/vfork.S: Likewise.
14742 * sysdeps/unix/i386/wait.S: Likewise.
14744 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14745 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14747 * configure.in (arm*-none*): Do not allow without
14748 --enable-hacker-mode.
14749 (netbsd*): Remove case setting base_os.
14750 (386bsd*): Likewise.
14751 (freebsd*): Likewise.
14754 (sunos*): Likewise.
14755 (ultrix*): Likewise.
14756 (newsos*): Likewise.
14757 (dynix*): Likewise.
14763 (minix*): Likewise.
14764 (irix4*): Likewise.
14765 (irix6*): Likewise.
14766 (solaris[2-9]*): Likewise.
14768 * configure: Regenerated.
14770 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14773 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14774 overflow or cancellation in calculating denominator.
14775 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14777 down expression to avoid unexpected rounding in newer GCCs.
14778 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14780 2012-04-26 David S. Miller <davem@davemloft.net>
14782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14783 long-double compat symbols.
14784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14798 2012-04-25 David S. Miller <davem@davemloft.net>
14800 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14801 HWCAP_* values only after the memory barriers have been defined.
14802 (atomic_full_barrier): Define.
14803 (atomic_read_barrier): Define.
14804 (atomic_write_barrier): Define.
14806 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14808 * shlib-versions: Add libgcc_s version information.
14809 * sysdeps/generic/libgcc_s.h: Remove.
14810 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14812 * sysdeps/gnu/unwind-resume.c: Likewise.
14813 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14815 2012-04-25 David S. Miller <davem@davemloft.net>
14817 * sysdeps/unix/sparc/brk.S: Delete.
14818 * sysdeps/unix/sparc/dl-brk.S: Delete.
14819 * sysdeps/unix/sparc/pipe.S: Delete.
14820 * sysdeps/unix/sparc/sysdep.S: Delete.
14821 * sysdeps/unix/sparc/sysdep.h: Delete.
14822 * sysdeps/unix/sparc/vfork.S: Delete.
14823 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14824 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14826 ret_ERRVAL, r0, r1, MOVE): Define.
14827 (JUMPTARGET): Remove.
14828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14829 sysdeps/unix/sparc/sysdep.h
14830 (ENTRY, END): Remove.
14831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14833 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14835 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14836 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14839 * timezone/README: Update upstream location and email address for
14841 * timezone/zdump.c: Update from tzcode 2012b.
14842 * timezone/zic.c: Likewise.
14844 * configure.in (libc_cv_as_needed): Remove test.
14845 * configure: Regenerated.
14846 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14847 conditional definition.
14848 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14849 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14850 * config.make.in (have-as-needed): Remove variable.
14852 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14853 Paul Pluzhnikov <ppluzhnikov@google.com>
14855 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14858 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14860 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14861 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14862 * sysdeps/sh/strlen.S: Likewise.
14864 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14866 * sysdeps/unix/fork.S: Remove file.
14867 * sysdeps/unix/i386/fork.S: Likewise.
14868 * sysdeps/unix/sparc/fork.S: Likewise.
14870 * sysdeps/unix/system.c: Remove file.
14871 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14873 * sysdeps/unix/getegid.S: Remove file.
14874 * sysdeps/unix/geteuid.S: Likewise.
14876 2012-04-24 Roland McGrath <roland@hack.frob.com>
14878 * scripts/check-localplt.awk: New file.
14879 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14881 * scripts/data/localplt-generic.data: Add a comment.
14883 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14884 NODE when __dir_mkfile failed.
14885 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14886 Reported by Ludovic Courtès <ludo@gnu.org>.
14888 2012-04-24 Andreas Jaeger <aj@suse.de>
14890 * Makerules (common-clean): Also remove gen-as-const-headers
14893 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14895 * Makerules (native-compile): Do not change working directory for
14896 build. Use $(OUTPUT_OPTION) in command.
14897 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14899 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14902 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14903 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14904 * math/libm-test.inc (floor_test): Add more tests.
14905 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14907 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14909 * sysdeps/unix/getdents.c: Remove file.
14910 * sysdeps/unix/sysv/getdents.c: Likewise.
14911 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14913 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14914 sysdeps/unix/mman/syscalls.list.
14916 (mprotect): Likewise.
14918 (munmap): Likewise.
14919 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14920 * sysdeps/unix/mman/syscalls.list: Remove.
14921 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14923 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14924 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14925 * configure: Regenerated.
14926 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14927 $(libgcc_s_suffix).
14928 * config.make.in (libgcc_s_suffix): Remove variable.
14930 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14932 * sysdeps/unix/sysv/gethostname.c: Move to ...
14933 * sysdeps/posix/gethostname.c: ... here.
14935 * sysdeps/unix/execve.S: Remove file.
14937 * sysdeps/unix/_exit.S: Remove file.
14939 2012-04-23 Andreas Jaeger <aj@suse.de>
14942 * manual/Makefile: Remove make dist support, there's no
14943 need for a stand-alone documentation tar ball.
14944 (TEXI2DVI): Define always, it's not in Makeconfig.
14947 (edition): Removed.
14948 (glibc-doc-$(edition).tar): Removed
14952 (ETAGS): Remove, it's in Makeconfig.
14953 (move-if-change): Remove, it's in Makeconfig.
14955 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14958 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14959 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14960 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14961 (strtod_l, strtof_l, strtold_l): Remove __wur.
14962 It is not necessarily an error to ignore strtol's return value.
14963 One can reliably look at the stored endptr to decide whether
14964 the number had valid syntax.
14966 2012-04-21 Andreas Jaeger <aj@suse.de>
14969 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14971 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14974 * sysdeps/unix/sysv/Versions: Remove file.
14976 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14981 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14985 version from __vm86.
14987 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14989 * sysdeps/unix/common/lxstat.c: Remove file.
14990 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14992 * sysdeps/unix/sysv/Makefile: Remove file.
14994 * sysdeps/unix/sysv/direct.h: Remove file.
14996 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14997 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14998 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14999 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15000 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15001 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15002 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15004 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15006 * sysdeps/unix/xmknod.c: Remove file.
15007 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15009 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15011 * sysdeps/unix/sysv/i386/time.S: Remove file.
15013 * sysdeps/unix/fxstat.c: Remove file.
15014 * sysdeps/unix/xstat.c: Likewise.
15015 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15017 * sysdeps/unix/sysv/sigaction.c: Remove file.
15019 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15020 (sysdep_headers): Remove variable.
15021 [termio.h not in sysdep_headers] (generated): Likewise.
15022 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15023 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15024 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15025 * sysdeps/unix/sysv/tcflow.c: Likewise.
15026 * sysdeps/unix/sysv/tcflush.c: Likewise.
15027 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15028 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15029 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15030 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15031 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15033 * sysdeps/unix/siglist.c: Remove file.
15035 * sysdeps/unix/getppid.S: Remove file.
15037 * sysdeps/unix/mkdir.c: Remove file.
15038 * sysdeps/unix/rmdir.c: Likewise.
15040 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15042 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15044 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15045 errlist-compat value.
15047 2012-04-18 David S. Miller <davem@davemloft.net>
15049 * sysdeps/generic/memcopy.h (reg_char): Delete.
15050 * debug/strcat_chk.c: Use char, not reg_char.
15051 * debug/strcpy_chk.c: Likewise.
15052 * debug/strncat_chk.c: Likewise.
15053 * debug/strncpy_chk.c: Likewise.
15054 * string/memchr.c: Likewise.
15055 * string/memrchr.c: Likewise.
15056 * string/rawmemchr.c: Likewise.
15057 * string/strcat.c: Likewise.
15058 * string/strchr.c: Likewise.
15059 * string/strchrnul.c: Likewise.
15060 * string/strcmp.c: Likewise.
15061 * string/strcpy.c: Likewise.
15062 * string/strncat.c: Likewise.
15063 * string/strncmp.c: Likewise.
15064 * string/strncpy.c: Likewise.
15066 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15068 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15069 __builtin_memcopy is called when src and dest ranges are known to not
15072 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15074 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15075 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15076 fwd_align_merge macro call.
15077 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15078 bwd_align_merge macro call.
15079 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15081 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15083 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15084 bwd_align_merge macros.
15085 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15086 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15087 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15089 2012-04-18 David S. Miller <davem@davemloft.net>
15091 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15093 2012-04-18 Andreas Jaeger <aj@suse.de>
15096 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15097 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15098 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15100 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15101 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15102 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15104 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15105 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15106 Adjust for changed ldbl-128 files.
15108 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15109 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15110 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15112 2012-04-17 David S. Miller <davem@davemloft.net>
15114 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15116 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15118 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15119 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15120 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15121 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15122 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15123 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15125 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15128 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15129 * math/libm-test.inc: Add ilogb errno and exception tests.
15130 * math/w_ilogb.c: New file: ilogb wrapper.
15131 * math/w_ilogbf.c: New file: ilogbf wrapper.
15132 * math/w_ilogbl.c: New file: ilogbl wrapper.
15133 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15134 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15135 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15136 exception being thrown with 0.0 as argument.
15137 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15138 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15139 exception being thrown with 0.0 as argument.
15140 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15141 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15142 exception being thrown with 0.0 as argument.
15143 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15144 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15145 exception being thrown with 0.0 as argument.
15146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15147 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15148 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15149 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15151 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15152 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15153 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15154 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15156 2012-04-17 Petr Baudis <pasky@ucw.cz>
15158 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15161 2012-04-16 Marek Polacek <polacek@redhat.com>
15163 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15165 2012-04-16 Marek Polacek <polacek@redhat.com>
15167 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15168 operands of fdivp instruction.
15170 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15172 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15173 * elf/tst-auditmod3b.c: Likewise.
15174 * elf/tst-auditmod4b.c: Likewise.
15175 * elf/tst-auditmod5b.c: Likewise.
15176 * elf/tst-auditmod6b.c: Likewise.
15177 * elf/tst-auditmod6c.c: Likewise.
15178 * elf/tst-auditmod7b.c: Likewise.
15179 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15180 * sysdeps/x86_64/preconfigure.in: Likewise.
15181 * sysdeps/x86_64/preconfigure: Regenerated.
15183 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15185 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15188 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15191 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15193 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15196 * locale/iso-639.def: Fix gl language name. Spotted by
15199 2012-04-12 Roland McGrath <roland@hack.frob.com>
15202 * libio/libio.h (__io_write_fn): Update comment.
15204 2012-04-12 Petr Baudis <pasky@ucw.cz>
15207 * stdio.texi (Hook Functions): The user provided writer function
15208 is not allowed to return -1.
15210 2012-04-11 David S. Miller <davem@davemloft.net>
15212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15214 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15216 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15217 Add a leading slash to rtkaio.
15219 2012-04-11 Jim Meyering <meyering@redhat.com>
15222 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15223 It is not necessarily an error to ignore fwrite's return
15224 value. One can reliably use ferror to test for errors after
15227 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15229 * bits/types.h (__snseconds_t): New type.
15230 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15232 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15234 (__SNSECONDS_T_TYPE): Likewise.
15235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15236 (__SNSECONDS_T_TYPE): Likewise.
15237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15238 (__SNSECONDS_T_TYPE): Likewise.
15240 2012-04-10 Andreas Jaeger <aj@suse.de>
15243 * manual/time.texi (Processor Time): Return type of times is
15244 elapsed real time since an arbitrary point in the past.
15245 (CPU Time): Move CLK_TCK from here...
15246 (Processor Time): ...to here. Correct description.
15247 * manual/conf.texi (Constants for Sysconf): Correct description of
15250 2012-04-10 David S. Miller <davem@davemloft.net>
15253 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15254 where the is a gap between DT_REL(A) and DT_JMPREL.
15256 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15258 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15259 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15260 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15262 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15264 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15265 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15266 (dl_main): Handle --inhibit-cache.
15267 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15269 * elf/dl-load.c (_dl_map_object): Use it.
15270 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15272 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15275 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15276 (__ieee754_powl): Saturate large exponents rather than testing for
15277 overflow of y*log2(x).
15278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15279 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15283 * math/s_ctan.c: Include <float.h>.
15284 (__ctan): Avoid internal overflow or cancellation in calculating
15286 * math/s_ctanf.c: Likewise.
15287 * math/s_ctanl.c: Likewise.
15288 * math/s_ctanh.c: Likewise.
15289 * math/s_ctanhf.c: Likewise.
15290 * math/s_ctanhl.c: Likewise.
15291 * math/libm-test.inc (ctan_test): Add more tests.
15292 (ctanh_test): Likewise.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15296 2012-04-09 Andreas Jaeger <aj@suse.de>
15299 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15300 is an optional BSD extension.
15303 * manual/stdio.texi (Opening Streams): Document additional fopen
15306 2012-04-09 Roland McGrath <roland@hack.frob.com>
15308 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15309 %eax without telling the compiler.
15311 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15314 * manual/install.texi: Use sourceware.org.
15316 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15319 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15320 (__ieee754_pow): Generate overflow and underflow using huge*huge
15321 and tiny*tiny rather than just returning constant infinity or zero
15322 for large exponents.
15323 * math/libm-test.inc (pow_test): Require overflow exceptions for
15324 applicable cases of large exponents.
15327 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15328 (__ieee754_pow): Use iterative multiplication algorithm only for
15329 integer exponents with absolute value below 1024. Check for odd
15330 integer exponents when using algorithm for real exponents.
15331 * math/libm-test.inc (pow_test): Add more tests.
15332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15334 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15337 * math/libm-test.inc (exp_test): Do not allow overflow exception
15340 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15343 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15344 instead of __kernel_standard_f.
15346 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15348 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15349 * sysdeps/x86_64/memset_chk.S: Likewise.
15351 2012-04-08 Andreas Jaeger <aj@suse.de>
15354 * manual/startup.texi (Environment Access): Describe return value
15355 for putenv and setenv.
15358 * manual/filesys.texi (Directory Entries): Add description for
15362 * manual/filesys.texi (Directory Entries): Clarify that it's file
15363 system not operating system in the description of DT_UNKNOWN.
15366 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15368 2012-04-08 Stephen Compall <s11@member.fsf.org>
15371 * manual/llio.texi (Opening and Closing Files): Add cross
15372 reference to explain mode argument.
15374 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15376 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15377 * sysdeps/x86_64/memset_chk.S: Likewise.
15379 2012-04-07 David S. Miller <davem@davemloft.net>
15381 * elf/elf.h (R_SPARC_WDISP10): Define.
15382 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15384 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15385 R_SPARC_SIZE64 and R_SPARC_H34.
15387 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15389 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15390 conditions and remove no longer applicable assertion.
15392 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15394 * bits/byteswap.h: Include <features.h>.
15395 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15396 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15398 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15400 * bits/byteswap.h (__bswap_16): Removed.
15401 Include <bits/byteswap-16.h> to get __bswap_16.
15402 * sysdeps/i386/bits/byteswap.h: Likewise.
15403 * sysdeps/s390/bits/byteswap.h: Likewise.
15404 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15405 * bits/byteswap-16.h: New file.
15406 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15407 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15408 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15409 * string/Makefile (headers): Add bits/byteswap-16.h.
15411 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15414 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15416 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15417 * nss/tst-nss-static.c: New.
15419 2012-04-06 Robert Millan <rmh@gnu.org>
15422 * manual/llio.texi (File Position Primitive): lseek
15423 refers to WHENCE when it really means OFFSET.
15425 2012-04-06 Andreas Jaeger <aj@suse.de>
15427 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15428 strncmp declarations.
15430 * abilist/libc.abilist: Add __poll and __ppoll.
15432 2012-04-05 David S. Miller <davem@davemloft.net>
15434 * scripts/check-local-headers.sh: Accept a host triplet in the
15435 path matched by the exclude regexp.
15437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15439 * sysdeps/powerpc/powerpc32/dl-machine.h
15440 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15441 * sysdeps/s390/s390-32/dl-machine.h
15442 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15443 * sysdeps/sparc/sparc32/dl-machine.h
15444 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15445 * sysdeps/sparc/sparc64/dl-machine.h
15446 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15448 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15450 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15451 undefined symbol errors.
15453 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15456 2012-04-05 Michael Matz <matz@suse.de>
15459 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15461 2012-04-05 Andreas Jaeger <aj@suse.de>
15464 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15467 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15469 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15470 which ROUND is no valid rounding mode.
15472 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15474 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15476 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15478 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15480 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15481 an exception using FPU order intentionally.
15483 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15485 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15486 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15487 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15488 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15490 2012-04-05 Simon Josefsson <simon@josefsson.org>
15493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15494 EINVAL when BUFLEN is too smal.
15496 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15499 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15500 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15502 2012-04-03 Andreas Jaeger <aj@suse.de>
15505 * manual/setjmp.texi (System V contexts): Fix sentence.
15508 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15509 New macro for this case.
15510 [!__GNUC__] (__bswap_64): New inline function for this case.
15511 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15512 * bits/byteswap.h: Likewise.
15513 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15514 ull, guard with __GLIBC_HAVE_LONG_LONG.
15516 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15517 __GLIBC_HAVE_LONG_LONG.
15519 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15520 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15522 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15525 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15526 inptr and inend, rather than using last_ch.
15528 2012-04-02 David S. Miller <davem@davemloft.net>
15530 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15531 * stdio-common/printf-parse.h (read_int): Change return type to
15532 'int', return -1 on INT_MAX overflow.
15533 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15534 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15535 overflows INT_MAX. Check for overflow of in-format-string precision
15536 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15537 SIZE_MAX not INT_MAX for integer overflow test.
15538 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15539 skip the construct in the format string but do not record anything.
15540 * stdio-common/bug22.c: Adjust to test both width/prevision
15541 INT_MAX overflow as well as total length INT_MAX overflow. Check
15542 explicitly for proper errno values.
15544 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15546 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15548 * string/test-strcmp.c [! WIDE]: Likewise.
15549 * time/tst-mktime2.c: Likewise for INT_MAX.
15550 * string/test-string.h: #include <sys/param.h> for MIN.
15552 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15553 * sysdeps/i386/init-first.c (init): Likewise.
15554 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15555 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15556 * sysdeps/sh/init-first.c (init): Likewise.
15558 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15560 * po/ru.po: Update from translation team.
15561 * po/vi.po: Likewise.
15563 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15565 * resolv/nss_dns/dns-host.c: Merge copyright years.
15567 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15570 Optimize memcpy with prefetch if
15571 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15572 src, dst pointers have unequal 16 byte alignments.
15574 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15577 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15578 from a CNAME entry and return the minimum ttl for the query.
15579 (gaih_getanswer_slice): Likewise.
15581 2012-03-30 Jeff Law <law@redhat.com>
15583 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15585 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15586 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15588 * resolv/nss_dns/dns-host.c: Update copyright year.
15590 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15592 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15593 requests to save a system call. Fix check that all bytes are sent.
15595 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15596 comments for sendmmsg.
15598 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15601 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15602 with only 1 character between 0x0041 and 0x01b0.
15603 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15604 * wcsmbs/tst-mbsnrtowcs.c: New file.
15606 2012-03-29 David S. Miller <davem@davemloft.net>
15608 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15609 small copies by hand.
15611 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15614 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15615 _nss_compat_initgroups_dyn): Fall back to malloc/free
15616 for large group memberships.
15618 2012-03-28 David S. Miller <davem@davemloft.net>
15620 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15621 that branches into memcpy.
15622 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15625 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15628 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15629 implementation too.
15630 * sysdeps/sparc/mempcpy.S: New file.
15632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15633 the IFUNC routine in the libc case.
15634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15636 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15637 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15638 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15639 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15640 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15641 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15642 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15643 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15645 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15646 loop to 256 bytes instead of 64 bytes and fix test signedness.
15648 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15649 * sysdeps/sparc/sparc32/Makefile: rather than here...
15650 * sysdeps/sparc/sparc64/Makefile: and here.
15652 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15654 * malloc/mallocbug.c: Avoid warnings about unused variables.
15656 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15659 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15660 in the right place. Discard and retry query if response is
15661 larger than input buffer size.
15663 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15668 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15669 x for large integer exponent.
15670 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15671 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15672 sign of result as needed afterwards.
15673 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15674 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15675 result for underflowing pow the same as for overflow.
15676 (__kernel_standard_l): Handle powl overflow and underflow here
15677 rather than calling __kernel_standard.
15678 * math/libm-test.inc (pow_test): Add more tests.
15693 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15694 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15695 (__kernel_standard_l): New function.
15696 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15698 * math/w_acosl.c (__acosl): Likewise.
15699 * math/w_asinl.c (__asinl): Likewise.
15700 * math/w_atan2l.c (__atan2l): Likewise.
15701 * math/w_atanhl.c (__atanhl): Likewise.
15702 * math/w_coshl.c (__coshl): Likewise.
15703 * math/w_exp10l.c (__exp10l): Likewise.
15704 * math/w_exp2l.c (__exp2l): Likewise.
15705 * math/w_fmodl.c (__fmodl): Likewise.
15706 * math/w_hypotl.c (__hypotl): Likewise.
15707 * math/w_j0l.c (__j0l, __y0l): Likewise.
15708 * math/w_j1l.c (__j1l, __y1l): Likewise.
15709 * math/w_jnl.c (__jnl, __ynl): Likewise.
15710 * math/w_lgammal.c (__lgammal): Likewise.
15711 * math/w_log10l.c (__log10l): Likewise.
15712 * math/w_log2l.c (__log2l): Likewise.
15713 * math/w_logl.c (__logl): Likewise.
15714 * math/w_powl.c (__powl): Likewise.
15715 * math/w_remainderl.c (__remainderl): Likewise.
15716 * math/w_scalbl.c (sysv_scalbl): Likewise.
15717 * math/w_sinhl.c (__sinhl): Likewise.
15718 * math/w_sqrtl.c (__sqrtl): Likewise.
15719 * math/w_tgammal.c (__tgammal): Likewise.
15720 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15721 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15722 * math/libm-test.inc (acos_test): Add more tests.
15723 (acosh_test): Likewise.
15724 (asin_test): Likewise.
15725 (atanh_test): Likewise.
15726 (exp_test): Likewise.
15727 (exp10_test): Likewise.
15728 (exp2_test): Likewise.
15729 (expm1_test): Likewise.
15730 (lgamma_test): Likewise.
15731 (log_test): Likewise.
15732 (log10_test): Likewise.
15733 (log1p_test): Likewise.
15734 (log2_test): Likewise.
15735 (pow_test): Do not allow some spurious overflow exceptions.
15736 (sqrt_test): Add more tests.
15737 (tgamma_test): Likewise.
15738 (y0_test): Likewise.
15739 (y1_test): Likewise.
15740 (yn_test): Likewise.
15742 2012-03-27 Anton Blanchard <anton@samba.org>
15744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15746 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15748 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15750 2012-03-27 David S. Miller <davem@davemloft.net>
15752 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15754 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15755 have-as-vis3 check.
15757 2012-03-27 Andreas Jaeger <aj@suse.de>
15759 * sysdeps/x86_64/elf/configure.in: Moved to ...
15760 * sysdeps/x86_64/configure.in: ... here.
15761 * sysdeps/x86_64/elf/start.S: Moved to ...
15762 * sysdeps/x86_64/start.S: ... here.
15763 * sysdeps/x86_64/elf/configure: Delete.
15765 * sysdeps/x86_64/configure.in: Merge contents from
15766 sysdeps/i386/configure.in (without i686 check).
15768 * sysdeps/i386/elf/Versions: Merge into ...
15769 * sysdeps/i386/Versions: ... this.
15770 * sysdeps/i386/elf/Versions: Delete file.
15771 * sysdeps/i386/elf/start.S: Moved to ...
15772 * sysdeps/i386/start.S: ...here.
15773 * sysdeps/i386/elf/configure.in: Merge into...
15774 * sysdeps/i386/configure.in: ...here.
15775 * sysdeps/i386/elf/configure.in: Delete file.
15776 * sysdeps/i386/elf/configure: Delete file.
15778 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15779 * debug/backtracesyms.c: ... here.
15780 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15781 * debug/backtracesymsfd.c: ... here.
15782 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15783 * sysdeps/generic/ifunc-sel.h: ... here.
15785 * sysdeps/unix/i386/start.c: Delete file.
15786 * sysdeps/unix/sparc/start.c: Delete file.
15787 * sysdeps/unix/start.c: Delete file.
15789 * sysdeps/sh/elf/configure.in: Moved to ...
15790 * sysdeps/sh/configure.in: ... here.
15791 * sysdeps/sh/elf/start.S: Moved to ...
15792 * sysdeps/sh/start.S: ... here.
15793 * sysdeps/sh/elf/configure: Delete file.
15795 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15796 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15797 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15798 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15799 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15800 * sysdeps/powerpc/powerpc64/start.S: here.
15801 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15802 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15803 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15804 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15805 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15807 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15808 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15809 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15810 * sysdeps/powerpc/powerpc32/start.S: ... here.
15811 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15812 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15813 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15815 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15816 * sysdeps/powerpc/ifunc-sel.h: ... here.
15817 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15818 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15820 * sysdeps/sparc/elf/configure.in: Moved to ...
15821 * sysdeps/sparc/configure.in: ... here.
15822 * sysdeps/sparc/elf/configure: Delete file.
15823 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15824 * sysdeps/sparc/sparc32/start.S: ... here.
15825 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15826 * sysdeps/sparc/sparc64/start.S: ... here.
15827 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15828 * sysdeps/sparc/sparc32/Makefile: ... this.
15829 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15830 * sysdeps/sparc/sparc64/Makefile: ... this.
15832 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15833 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15834 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15835 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15836 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15837 * sysdeps/s390/s390-32/setjmp.S: ... here.
15838 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15839 * sysdeps/s390/s390-32/configure.in: ... here.
15840 * sysdeps/s390/s390-32/elf/configure: Delete file.
15841 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15842 * sysdeps/s390/s390-32/start.S: ... here.
15844 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15845 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15846 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15847 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15848 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15849 * sysdeps/s390/s390-64/setjmp.S: ... here.
15850 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15851 * sysdeps/s390/s390-64/configure.in: ... here
15852 * sysdeps/s390/s390-64/elf/configure: Delete file.
15853 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15854 * sysdeps/s390/s390-64/start.S: ... here.
15855 * sysdeps/s390/s390-64/elf/configure: Delete.
15857 * configure.in: Remove support for elf directories in sysdeps.
15859 * configure: Regenerated.
15860 * sysdeps/i386/configure: Regenerated.
15861 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15862 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15863 * sysdeps/s390/s390-32/configure: Regenerated.
15864 * sysdeps/s390/s390-64/configure: Regenerated.
15865 * sysdeps/sh/configure: Regenerated.
15866 * sysdeps/sparc/configure: Regenerated.
15867 * sysdeps/x86_64/configure: Regenerated.
15869 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15874 denormal result into account.
15876 2012-03-25 Roland McGrath <roland@hack.frob.com>
15878 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15879 Reported by Allan McRae <allan@archlinux.org>.
15881 2012-03-23 Jeff Law <law@redhat.com>
15883 * nss/getnssent.c (__nss_getent): Fix typo.
15885 2012-03-23 David S. Miller <davem@davemloft.net>
15887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15889 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15891 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15892 to pad to uint64_t for each field.
15893 (dl_tls_index): Replace unsigned long with uint64_t.
15895 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15896 Paul Pluzhnikov <ppluzhnikov@google.com>
15899 * grp/Makefile (otherlibs): Don't set it.
15900 * inet/Makefile (otherlibs): Likewise.
15901 * login/Makefile (otherlibs): Likewise.
15902 * nscd/Makefile (otherlibs): Likewise.
15903 * posix/Makefile (otherlibs): Likewise.
15904 * pwd/Makefile (otherlibs): Likewise.
15905 * rt/Makefile (otherlibs): Likewise.
15906 * sunrpc/Makefile (otherlibs): Likewise.
15907 * nss/Makefile (otherlibs): Likewise.
15908 Add libnss_files to routines and static-only-routines.
15909 ($(objpfx)getent): Remove rule.
15910 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15911 static-only-routines.
15913 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15916 * math/s_cexp.c: Include <float.h>.
15917 (__cexp): Handle exp result overflowing not necessarily
15918 overflowing both real and imaginary parts of result.
15919 * math/s_cexpf.c: Likewise.
15920 * math/s_cexpl.c: Likewise.
15921 * math/libm-test.inc (cexp_test): Add more tests.
15922 * sysdeps/i386/fpu/libm-test-ulps: Update.
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15925 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15927 * include/link.h (ELFW): New macro.
15928 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15929 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15931 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15933 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15936 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15938 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15940 (struct La_x32_retval): Likewise.
15942 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15944 * sysdeps/x86_64/preconfigure.in: New file.
15945 * sysdeps/x86_64/preconfigure: New generated file.
15947 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15950 * math/e_exp2l.c: Include <float.h>.
15951 (__ieee754_exp2l): Handle overflow and underflow cases
15952 separately. Only pass fractional part of argument to
15954 * math/libm-test.inc (exp2_test): Add more tests.
15956 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15957 negating x to take absolute value.
15958 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15960 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15963 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15964 computing low part if x was negated.
15965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15967 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15969 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15970 la_x32_gnu_pltexit.
15971 (pltexit): Cast int_retval to ptrdiff_t.
15972 * elf/tst-auditmod3b.c: Likewise.
15973 * elf/tst-auditmod4b.c: Likewise.
15974 * elf/tst-auditmod5b.c: Likewise.
15975 * elf/tst-auditmod6b.c: Likewise.
15976 * elf/tst-auditmod6c.c: Likewise.
15977 * elf/tst-auditmod7b.c: Likewise.
15979 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15980 and x32_gnu_pltexit.
15982 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15983 __ELF_NATIVE_CLASS.
15984 (La_x32_regs): New macro.
15985 (La_x32_retval): Likewise.
15986 (la_x32_gnu_pltenter): New function prototype.
15987 (la_x32_gnu_pltexit): Likewise.
15989 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15996 * configure.in (libc_cv_cc_nofma): Check for option to disable
15997 generation of FMA instructions.
15998 * configure: Regenerate.
15999 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16000 * sysdeps/ieee754/dbl-64/Makefile: New file.
16001 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16002 Remove brandred-fma4.
16003 (CFLAGS-brandred-fma4.c): Remove.
16004 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16010 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16012 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16013 LLONG_MAX != LONG_MAX.
16014 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16015 (_fitoa_word): Likewise.
16016 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16017 LLONG_MAX != LONG_MAX.
16018 * stdio-common/_itowa.h: Include <_itoa.h>.
16019 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16020 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16021 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16022 only if not defined.
16023 (_ITOA_WORD_TYPE): Likewise.
16024 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16025 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16027 2012-03-21 David S. Miller <davem@davemloft.net>
16029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16031 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16033 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16034 of x86_64 when setting libc_cv_slibdir, libdir and
16036 * sysdeps/unix/sysv/linux/configure: Regenerated.
16038 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16040 * manual/lang.texi (Old Varargs): Remove section.
16041 (How Variadic): Update menu.
16042 (va_start): Do not mention varargs.h.
16044 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16045 Joseph Myers <joseph@codesourcery.com>
16047 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16049 * configure: Regenerated.
16051 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16053 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16054 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16057 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16060 * Makefile (files-for-dist): Remove NOTES.
16061 (NOTES): Remove rule.
16062 * README: Don't refer to NOTES.
16063 * manual/creature.texi: Don't include macros.texi.
16064 * manual/intro.texi (creature.texi): Remove comment referring to
16067 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16068 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16069 * configure: Regenerated.
16070 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16071 LIBC_TRY_CC_OPTION.
16072 (libc_cv_as_i686): Likewise.
16073 (libc_cv_cc_avx): Likewise.
16074 (libc_cv_cc_sse2avx): Likewise.
16075 (libc_cv_cc_fma4): Likewise.
16076 (libc_cv_cc_novzeroupper): Likewise.
16077 * sysdeps/i386/configure: Regenerated.
16080 * sysdeps/i386/fpu/s_cexp.S: Remove.
16081 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16082 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16083 * math/libm-test.inc (cexp_test): Add more tests.
16084 * sysdeps/i386/fpu/libm-test-ulps: Update.
16085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16087 2012-03-21 Allan McRae <allan@archlinux.org>
16089 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16091 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16094 * math/w_exp2.c: Do not include <float.h>.
16095 (o_threshold, u_threshold): Remove.
16096 (__exp2): Calculate result before checking finiteness and calling
16098 * math/w_exp2f.c: Likewise.
16099 * math/w_exp2l.c: Likewise.
16100 * math/libm-test.inc (exp2_test): Require overflow exception for
16104 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16105 range of signed 64-bit integers before using fistpll. Remove
16106 checks for whether integers fit in mantissa bits.
16107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16108 the range of signed 32-bit integers before using fistpl. Remove
16109 checks for whether integers fit in mantissa bits.
16110 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16111 (__ieee754_powl): Test for y outside the range of signed 64-bit
16112 integers before using fistpll. Reduce 64-bit values to 63-bit
16114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16115 divide-by-zero is raised for zero to large negative powers.
16116 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16117 (__ieee754_powl): Test for y outside the range of signed 64-bit
16118 integers before using fistpll. Reduce 64-bit values to 63-bit
16120 * math/libm-test.inc (pow_test): Add more tests.
16122 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16124 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16125 <stdio-common/_itoa.h>.
16126 * debug/segfault.c: Likewise.
16127 * elf/dl-cache.c: Likewise.
16128 * elf/dl-minimal.c: Likewise.
16129 * elf/dl-misc.c: Likewise.
16130 * elf/dl-sysdep.c: Likewise.
16131 * elf/dl-version.c: Likewise.
16132 * elf/rtld.c: Likewise.
16133 * hurd/hurdsock.c: Likewise.
16134 * hurd/lookup-retry.c: Likewise.
16135 * malloc/malloc.c: Likewise.
16136 * malloc/mtrace.c: Likewise.
16137 * nscd/nscd_getgr_r.c: Likewise.
16138 * nscd/nscd_getpw_r.c: Likewise.
16139 * nscd/nscd_getserv_r.c: Likewise.
16140 * posix/getopt_init.c: Likewise.
16141 * posix/wordexp.c: Likewise.
16142 * stdio-common/_itoa.c: Likewise.
16143 * stdio-common/printf_fphex.c: Likewise.
16144 * stdio-common/vfprintf.c: Likewise.
16145 * string/_strerror.c: Likewise.
16146 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16147 * sysdeps/i386/i686/hp-timing.h: Likewise.
16148 * sysdeps/mach/_strerror.c: Likewise.
16149 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16150 * sysdeps/mach/hurd/sethostid.c: Likewise.
16151 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16152 * sysdeps/mach/xpg-strerror.c: Likewise.
16153 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16154 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16155 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16156 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16157 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16158 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16159 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16160 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16161 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16162 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16163 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16164 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16165 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16166 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16167 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16168 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16169 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16170 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16171 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16172 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16173 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16175 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16177 * stdio-common/_itoa.h: Moved to ...
16178 * sysdeps/generic/_itoa.h: Here.
16180 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16182 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16183 instead of "_itoa.h" and "_itowa.h".
16184 * stdio-common/vfprintf.: Likewise.
16186 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16188 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16190 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16191 (__signbit): Likwise.
16192 (llrintf): Likwise.
16195 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16197 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16200 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16202 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16203 OVERFLOW_EXCEPTION_OK.
16204 * math/libm-test.inc ("Philosophy"): Update comment about
16206 (OVERFLOW_EXCEPTION): Define.
16207 (OVERFLOW_EXCEPTION_OK): Likewise.
16208 (INVALID_EXCEPTION_OK): Renumber.
16209 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16210 (IGNORE_ZERO_INF_SIGN): Likewise.
16211 (test_exceptions): Handle FE_OVERFLOW.
16212 (exp10_test): Expect overflow exceptions.
16213 (exp2_test): Likewise.
16214 (expm1_test): Likewise.
16215 (nextafter_test): Likewise.
16216 (pow_test): Likewise.
16217 (scalbn_test): Likewise.
16218 (scalbln_test): Likewise.
16220 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16222 * sysdeps/x86_64/bits/atomic.h
16223 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16225 (atomic_exchange_acq): Likewise.
16226 (__arch_exchange_and_add_body): Likewise.
16227 (__arch_add_body): Likewise.
16228 (atomic_add_negative): Likewise.
16229 (atomic_add_zero): Likewise.
16231 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16233 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16234 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16236 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16238 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16239 Check __x86_64__ instead of __WORDSIZE.
16241 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16243 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16245 2012-03-19 David S. Miller <davem@davemloft.net>
16247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16249 * sysdeps/sparc/fpu/fenv_private.h: New file.
16250 * sysdeps/sparc/fpu/math_private.h: Use it.
16251 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16253 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16254 (libc_feholdexcept_setroundl): Remove.
16255 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16257 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16258 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16260 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16262 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16263 int64_t instead of long int.
16264 (INSERT_WORDS64): Likwise.
16266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16268 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16269 _Unwind_GetCFA return to _Unwind_Ptr first.
16271 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16274 * math/s_clog.c: Include <float.h>.
16275 (__clog): Scale large or subnormal inputs.
16276 * math/s_clogf.c: Likewise.
16277 * math/s_clogl.c: Likewise.
16278 * math/s_clog10.c: Include <float.h>.
16279 (M_LOG10_2): Define.
16280 (__clog10): Scale large or subnormal inputs.
16281 * math/s_clog10f.c: Likewise.
16282 * math/s_clog10l.c: Likewise.
16283 * math/libm-test.inc (clog_test): Add more tests.
16284 (clog10_test): Likewise.
16285 * sysdeps/i386/fpu/libm-test-ulps: Update.
16286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16289 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16291 * math/libm-test.inc (atan2_test): Add another test.
16293 * Makerules (common-objdir-compile): Remove.
16294 * sysdeps/unix/Makefile (config-generated): Do not add
16295 $(unix-generated) to variable.
16296 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16297 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16299 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16301 [generic bits/local_lim.h] (before-compile): Do not append to
16303 [generic bits/local_lim.h] (common-generated): Likewise.
16304 [generic sys/param.h] (before-compile): Do not append to variable.
16305 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16306 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16307 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16308 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16310 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16311 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16312 [generic sys/param.h] ($(addprefix
16313 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16314 [generic sys/param.h] (common-generated): Do not append to
16316 [generic sys/param.h] (sysdep_headers): Likewise.
16317 [generic bits/errno.h] (before-compile): Do not append to
16319 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16321 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16322 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16323 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16324 [generic bits/errno.h] (common-generated): Do not append to
16326 [generic bits/ioctls.h] (before-compile): Do not append to
16328 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16330 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16331 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16332 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16334 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16335 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16336 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16337 [generic bits/ioctls.h] (common-generated): Do not append to
16339 [generic sys/syscall.h] (syscall.h): Remove variable.
16340 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16342 [generic sys/syscall.h] (before-compile): Do not append to
16344 [generic sys/syscall.h] (common-generated): Likewise.
16345 * sysdeps/unix/errnos-tmpl.c: Remove file.
16346 * sysdeps/unix/errnos.awk: Likewise.
16347 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16348 * sysdeps/unix/ioctls.awk: Likewise.
16349 * sysdeps/unix/mk-local_lim.c: Likewise.
16350 * sysdeps/unix/snarf-ioctls: Likewise.
16352 2012-03-19 Richard Henderson <rth@twiddle.net>
16354 * sysdeps/i386/fpu/fenv_private.h: New file.
16355 * sysdeps/i386/fpu/math_private.h: Use it.
16356 (math_opt_barrier, math_force_eval): Remove.
16357 (libc_feholdexcept_setround_53bit): Remove.
16358 (libc_feupdateenv_53bit): Remove.
16359 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16360 (math_opt_barrier, math_force_eval): Remove.
16361 (libc_feholdexcept): Remove.
16362 (libc_feholdexcept_setround): Remove.
16363 (libc_fetestexcept, libc_fesetenv): Remove.
16364 (libc_feupdateenv_test): Remove.
16365 (libc_feupdateenv, libc_feholdsetround): Remove.
16366 (libc_feresetround): Remove.
16368 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16369 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16371 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16372 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16373 (libc_feupdateenv_testl): New.
16374 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16375 (libc_feupdateenv_testf): New.
16376 (libc_feupdateenv): Use libc_feupdateenv_test.
16377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16378 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16380 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16381 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16382 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16383 (libc_feresetround_noex): New.
16384 (libc_feresetround_noexf): New.
16385 (libc_feresetround_noexl): New.
16386 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16387 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16388 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16389 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16394 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16395 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16396 SET_RESTORE_ROUND_NOEX.
16397 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16398 SET_RESTORE_ROUND_NOEXF.
16399 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16400 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16401 (libc_feholdsetroundf): New.
16402 (libc_feresetround, libc_feresetroundf): New.
16404 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16405 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16406 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16408 * sysdeps/generic/math_private.h: Include <fenv.h>.
16409 (default_libc_feholdexcept): New.
16410 (default_libc_feholdexcept_setround): New.
16411 (default_libc_fesetenv, default_libc_feupdateenv): New.
16412 (libc_feholdexcept): Only define if undefined.
16413 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16414 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16415 (libc_feholdexcept_setroundl): Likewise.
16416 (libc_feholdexcept_setround_53bit): Likewise.
16417 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16418 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16419 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16420 (libc_feupdateenv_53bit): Likewise.
16421 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16422 (libc_feholdexcept): Convert from macro to inline function.
16423 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16424 (libc_fesetenv, libc_feupdateenv): Likewise.
16426 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16427 not previously defined.
16428 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16429 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16430 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16431 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16432 * sysdeps/ieee754/flt-32/math_private.h: New file.
16433 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16434 math_private.h below SET_FLOAT_WORD.
16435 (__isnan, __isinf_ns, __finite): Remove.
16436 (__isnanf, __isinf_nsf, __finitef): Remove.
16438 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16442 2012-03-17 David S. Miller <davem@davemloft.net>
16445 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16448 2012-03-16 David S. Miller <davem@davemloft.net>
16450 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16454 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16456 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16457 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16458 sysdep_routines when subdir is sysvipc.
16459 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16460 __getshmlba helper.
16462 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16464 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16466 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16469 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16471 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16472 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16473 (__lround): Renamed to ...
16474 (__llround): This. Replace long int with long long int.
16475 Define lround functions as aliases of llround functions.
16476 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16478 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16480 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16481 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16482 adresses to uintptr_t. Replace "long int" and "unsigned long
16483 int" with "greg_t" on va_arg.
16485 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16487 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16488 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16490 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16491 Move e_machine check before EI_CLASS check. Handle x32
16492 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16493 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16494 SKIP_EM_IA_64 and include
16495 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16497 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16498 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16499 (add_system_dir): New macro.
16501 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16502 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16504 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16515 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16517 * math/w_j0f.c (j0f): Likewise.
16519 * math/w_j0l.c (__j0l): Likewise.
16521 * math/w_j1.c (j1): Likewise.
16523 * math/w_j1f.c (j1f): Likewise.
16525 * math/w_j1l.c (__j1l): Likewise.
16527 * math/w_jn.c (jn): Likewise.
16529 * math/w_jnf.c (jnf): Likewise.
16531 * math/w_jnl.c (__jnl): Likewise.
16533 * math/libm-test.inc (j0_test): Add more tests.
16534 (j1_test): Likewise.
16535 (jn_test): Likewise. Add trailing semicolon to existing test.
16536 (y0_test): Likewise.
16537 (y1_test): Likewise.
16538 * sysdeps/i386/fpu/libm-test-ulps: Update.
16539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16543 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16544 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16545 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16546 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16547 (__tanl): Set errno for infinite argument.
16548 * sysdeps/i386/fpu/mptan.c: Remove.
16549 * sysdeps/i386/fpu/s_tan.S: Likewise.
16550 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16551 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16552 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16553 * math/libm-test.inc (tan_test): Add more tests and enable more
16554 tests for double and long double.
16555 * sysdeps/i386/fpu/libm-test-ulps: Update.
16556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16558 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16560 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16561 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16563 2012-03-16 Roland McGrath <roland@hack.frob.com>
16565 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16566 * configure.in: Use it for both main tree and add-ons.
16567 * configure: Regenerated.
16569 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16571 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16573 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16575 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16579 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16580 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16581 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16582 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16583 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16585 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16587 != 0 for prec == 2.
16588 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16589 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16590 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16591 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16592 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16593 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16594 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16595 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16596 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16597 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16598 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16599 * math/libm-test.inc (cos_test): Add more tests and enable more
16600 tests for long double.
16601 (sin_test): Likewise.
16602 (sincos_test): Likewise.
16603 * sysdeps/i386/fpu/libm-test-ulps: Update.
16604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16606 2012-03-16 David S. Miller <davem@davemloft.net>
16608 * sysdeps/sparc/fpu/math_private.h: New file.
16610 2012-03-15 David S. Miller <davem@davemloft.net>
16612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16626 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16627 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16629 * sysdeps/sparc/sparc-ifunc.h: New file.
16630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16657 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16669 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16671 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16675 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16677 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16681 2012-03-15 Andreas Jaeger <aj@suse.de>
16684 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16685 ieee754/flt-32 implementation for sin, cos and sincos.
16686 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16687 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16688 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16689 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16690 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16691 ieee754/flt-32 implementation for tan.
16693 * math/libm-test.inc (cos_test): Enable some large input tests for
16695 (sin_test): Likewise.
16696 (sincos_test): Likewise.
16697 (tan_test): Add tests for large input.
16699 * sysdeps/i386/fpu/libm-test-ulps: Update.
16701 2012-03-15 Andreas Jaeger <aj@suse.de>
16704 * math/libm-test.inc (cos_test): Add more test cases.
16705 (sin_test): Likewise.
16706 (sincos_test): Likewise.
16708 2012-03-15 Andreas Jaeger <aj@suse.de>
16711 * math/libm-test.inc (cos_test): Add a test case for large input
16713 (sin_test): Likewise.
16714 (sincos_test): Likewise.
16716 2012-03-15 Andreas Jaeger <aj@suse.de>,
16717 Joseph Myers <joseph@codesourcery.com>
16720 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16721 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16722 * sysdeps/i386/fpu/branred.c: Likewise.
16723 * sysdeps/i386/fpu/dosincos.c: Likewise.
16724 * sysdeps/i386/fpu/mpa.c: Likewise.
16725 * sysdeps/i386/fpu/s_cos.S: Likewise.
16726 * sysdeps/i386/fpu/s_sin.S: Likewise.
16727 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16728 * sysdeps/i386/fpu/sincos32.c: Likewise.
16730 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16732 (libc_feupdateenv_53bit): Define.
16733 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16735 (libc_feupdateenv_53bit): Define.
16737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16738 53 bit (without extend i386 double precision).
16740 * math/libm-test.inc (sincos_test): Add tests for large input.
16744 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16746 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16750 2012-03-15 David S. Miller <davem@davemloft.net>
16752 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16753 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16754 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16755 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16780 fmin/fmax sysdep routines.
16781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16783 2012-03-14 David S. Miller <davem@davemloft.net>
16785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16790 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16806 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16857 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16862 * sysdeps/sparc/configure.in: New file.
16863 * sysdeps/sparc/configure: Generate.
16864 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16865 * configure: Regenerate.
16866 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16867 * config.make.in (have-as-vis3): New.
16868 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16869 available use -Av9d instead of -Av9a.
16870 * sysdeps/sparc/sparc64/Makefile: Likewise.
16871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16883 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16886 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16887 fzeros/fnegs to load 0x80000000 into a float register instead of
16889 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16891 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16895 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16896 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16897 ($(inst_includedir)/bits/syscall.h): Remove rule.
16898 ($(objpfx)bits/syscall.d): Include instead of
16899 $(objpfx)syscall-list.d.
16900 (generated): Change syscall-list.h and syscall-list.d to
16901 bits/syscall.h and bits/syscall.d.
16903 2012-03-14 Roland McGrath <roland@hack.frob.com>
16906 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16908 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16911 * math/s_csqrt.c: Include <float.h>.
16912 (__csqrt): Scale large or subnormal inputs.
16913 * math/s_csqrtf.c: Likewise.
16914 * math/s_csqrtl.c: Likewise.
16915 * math/libm-test.inc (csqrt_test): Add more tests.
16916 * sysdeps/i386/fpu/libm-test-ulps: Update.
16917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16920 * math/libm-test.inc (hypot_test): Add more tests.
16922 2012-03-13 David S. Miller <davem@davemloft.net>
16925 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16926 double-precision for the calculation instead of scaling.
16928 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16930 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16931 manipulate bits before adding and subtracting TWO52[sx].
16932 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16937 2012-03-13 David S. Miller <davem@davemloft.net>
16939 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16940 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16942 rtld-global-offsets.h
16943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16945 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16948 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16950 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16951 'err' in the ifdef scope in which it is actually used.
16953 * nss/nss_db/db-init.c: Include string.h
16955 2012-03-12 David S. Miller <davem@davemloft.net>
16957 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16958 masking out of the most significant byte of random value used.
16959 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16960 Fix coding style in previous change.
16962 * sysdeps/unix/sysv/linux/kernel-features.h
16963 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16964 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16966 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16969 2012-03-11 David S. Miller <davem@davemloft.net>
16971 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16972 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16974 for 'resultvar' otherwise things get truncated on 64-bit.
16976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16977 Fix masking out of the most significant byte of random value used.
16979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16981 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16985 2012-03-09 David S. Miller <davem@davemloft.net>
16987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16988 variables with appropriate CPP guards.
16989 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16990 frame pointer, not the stack pointer. Correct layout comments. Fix test
16991 on resulting framesize and the management of the outregs buffer for pltexit.
16992 Preserve floating point return values across _dl_call_pltexit call.
16993 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16994 framesize and the management of the outregs buffer for pltexit.
16995 Preserve floating point return values across _dl_call_pltexit
16997 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16998 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16999 (print_exit): Fix format string for return register value.
17001 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17003 * sunrpc/Makefile (others): Add rpcgen.
17004 ($(objpfx)rpcgen): Remove special build rule and dependency on
17006 * sunrpc/rpcgen.c: New file.
17008 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17011 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17012 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17013 * sysdeps/i386/crti.S: Likewise.
17014 * sysdeps/i386/crtn.S: Likewise.
17015 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17016 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17017 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17018 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17019 * sysdeps/sh/crti.S: Likewise.
17020 * sysdeps/sh/crtn.S: Likewise.
17021 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17024 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17026 * locale/programs/locfile-kw.gperf: Likewise.
17027 * locale/programs/charmap-kw.h: Regenerated.
17028 * locale/programs/locfile-kw.h: Likewise.
17031 * intl/plural.y: Replace FSF snail mail address with URL.
17032 * intl/plural.c: Regenerated.
17034 2012-03-09 Richard Henderson <rth@twiddle.net>
17036 * include/math_private.h: Remove file.
17037 * math/math_private.h: Move file ...
17038 * sysdeps/generic/math_private.h: ... here.
17040 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17041 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17042 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17044 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17045 and <math_private.h>.
17046 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17047 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17048 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17049 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17050 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17102 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17103 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17104 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17105 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17134 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17135 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17136 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17137 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17140 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17141 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17142 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17143 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17145 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17146 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17147 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17148 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17149 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17150 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17151 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17152 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17153 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17158 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17159 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17160 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17161 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17162 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17163 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17164 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17168 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17169 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17170 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17173 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17174 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17175 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17176 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17177 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17178 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17179 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17180 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17181 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17183 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17184 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17185 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17186 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17187 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17188 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17189 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17190 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17191 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17192 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17194 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17195 * sysdeps/ieee754/k_standard.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17311 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17315 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17316 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17318 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17321 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17323 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17328 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17345 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17346 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17356 * sysdeps/ieee754/s_lib_version.c: Likewise.
17357 * sysdeps/ieee754/s_matherr.c: Likewise.
17358 * sysdeps/ieee754/s_signgam.c: Likewise.
17359 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17360 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17361 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17362 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17363 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17364 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17365 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17366 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17367 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17368 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17369 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17370 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17371 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17372 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17373 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17374 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17375 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17376 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17381 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17383 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17384 * sunrpc/rpc_main.c: Likewise.
17385 * sunrpc/rpc_svcout.c: Likewise.
17387 2012-03-09 David S. Miller <davem@davemloft.net>
17389 * include/math_private.h: New file.
17391 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17393 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17394 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17395 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17396 from <bits/socket_type.h>.
17397 (enum __socket_type): Don't define here.
17398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17400 bits/socket_type.h.
17403 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17404 checking __USE_GNU.
17406 * Makerules ($(inst_includedir)/%.h): New rule.
17407 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17408 (install-others): Remove variable setting.
17409 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17411 2012-03-08 Richard Henderson <rth@twiddle.net>
17413 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17414 from macro to inline function; merge with the
17415 !__LIBC_INTERNAL_MATH_INLINES version.
17416 (__ieee754_sqrtf): Likewise.
17418 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17419 to inline function.
17420 (__rintf, __floor, __floorf): Likewise.
17422 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17423 macro to inline function.
17424 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17427 not <math/math_private.h>.
17429 2012-03-08 David S. Miller <davem@davemloft.net>
17431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17433 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17435 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17437 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17439 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17440 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17442 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17444 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17445 be defined individually, they must be defined as a block. Define
17446 S for printing a string instead of hidint the different by using a
17447 macro for adding the 'l'.
17448 * stdio-common/tst-fphex-wide.c: Adjust.
17450 2012-03-07 Marek Polacek <polacek@redhat.com>
17452 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17454 2012-03-08 Marek Polacek <polacek@redhat.com>
17457 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17458 * stdio-common/tst-fphex.c: Define a few macros to make the
17459 test reusable. Use them.
17460 * stdio-common/tst-fphex-wide.c: New file.
17462 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17465 * manual/macros.texi (gnusystems): New macro.
17466 (nongnusystems): Likewise.
17467 (gnulinuxhurdsystems): Likewise.
17468 (gnuhurdsystems): Likewise..
17469 (gnulinuxsystems): Likewise.
17470 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17471 variants of the GNU system, not "GNU system".
17472 * manual/conf.texi: Likewise.
17473 * manual/errno.texi: Likewise. Update example of errno macro
17475 * manual/filesys.texi: Likewise.
17476 (getumask): Document as specific to GNU/Hurd.
17477 * manual/install.texi: Likewise. Reword some references to
17479 * manual/intro.texi: Likewise.
17480 * manual/io.texi: Likewise.
17481 (File Name Portability): Detail which constraints are inapplicable
17482 to all GNU systems and which are only inapplicable to GNU/Hurd.
17483 * manual/job.texi: Likewise.
17484 * manual/llio.texi: Likewise.
17485 (O_NOCTTY): Document as present on GNU/Linux.
17486 * manual/maint.texi: Likewise.
17487 * manual/memory.texi: Likewise.
17488 * manual/pattern.texi: Likewise.
17489 * manual/pipe.texi: Likewise.
17490 * manual/process.texi: Likewise.
17491 * manual/resource.texi: Likewise.
17492 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17494 * manual/setjmp.texi: Likewise.
17495 * manual/signal.texi: Likewise.
17496 * manual/startup.texi: Likewise.
17497 * manual/stdio.texi: Likewise.
17498 * manual/terminal.texi: Likewise.
17499 (ONLCR): Document as POSIX.
17500 (OXTABS): Document availability on GNU/Linux as XTABS.
17501 (ONOEOT): Document availability separately from other bits.
17502 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17503 * manual/time.texi: Likewise.
17504 * manual/users.texi: Likewise.
17505 * INSTALL: Regenerated.
17506 * sysdeps/gnu/errlist.c: Regenerated.
17508 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17509 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17510 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17512 * configure: Regenerated.
17514 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17516 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17517 default includes instead of AC_HEADER_CHECK.
17518 * sysdeps/i386/configure: Regenerated.
17521 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17522 * math/s_cacoshf.c (__cacoshf): Likewise.
17523 * math/s_cacoshl.c (__cacoshl): Likewise.
17524 * math/s_casinh.c (__casinh): Set signs of result from argument.
17525 * math/s_casinhf.c (__casinhf): Likewise.
17526 * math/s_casinhl.c (__casinhl): Likewise.
17527 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17528 (casinh_test): Add more tests.
17529 * sysdeps/i386/fpu/libm-test-ulps: Update.
17530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17532 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17534 * po/zh_TW.po: Update from translation team.
17536 * login/Makefile (distribute): Remove variable.
17537 * catgets/Makefile: Likewise.
17538 * mach/Makefile: Likewise.
17539 * malloc/Makefile: Likewise.
17540 * misc/Makefile: Likewise.
17541 * iconv/Makefile: Likewise.
17542 * nscd/Makefile: Likewise.
17543 * hurd/Makefile: Likewise.
17544 * manual/Makefile: Likewise.
17545 * locale/Makefile: Likewise.
17546 * intl/Makefile: Likewise.
17547 * conform/Makefile: Likewise.
17548 * nss/Makefile: Likewise.
17549 * time/Makefile: Likewise.
17550 * soft-fp/Makefile: Likewise.
17551 * dirent/Makefile: Likewise.
17552 * gmon/Makefile: Likewise.
17553 * po/Makefile: Likewise.
17554 * rt/Makefile: Likewise.
17555 * socket/Makefile: Likewise.
17556 * math/Makefile: Likewise.
17557 * signal/Makefile: Likewise.
17558 * debug/Makefile: Likewise.
17559 * elf/Makefile: Likewise.
17560 * timezone/Makefile: Likewise.
17561 * stdlib/Makefile: Likewise.
17562 * iconvdata/Makefile: Likewise.
17563 * sunrpc/Makefile: Likewise.
17564 * io/Makefile: Likewise.
17565 * argp/Makefile: Likewise.
17566 * inet/Makefile: Likewise.
17567 * hesiod/Makefile: Likewise.
17568 * grp/Makefile: Likewise.
17569 * csu/Makefile: Likewise.
17570 * wctype/Makefile: Likewise.
17571 * crypt/Makefile: Likewise.
17572 * libio/Makefile: Likewise.
17573 * string/Makefile: Likewise.
17574 * nis/Makefile: Likewise.
17575 * resolv/Makefile: Likewise.
17576 * stdio-common/Makefile: Likewise.
17577 * wcsmbs/Makefile: Likewise.
17578 * dlfcn/Makefile: Likewise.
17579 * posix/Makefile: Likewise.
17582 * timezone/Makefile: Don't install timezone files, just the programs
17585 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17587 * nss/databases.def: Add missing gshadow entry.
17589 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17591 2012-03-06 Marek Polacek <polacek@redhat.com>
17594 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17595 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17596 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17597 * stdio-common/tst-long-dbl-fphex.c: New file.
17599 2012-03-06 David S. Miller <davem@davemloft.net>
17601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17602 (set_obp_int): New function.
17603 (get_obp_int): New function.
17604 (__get_clockfreq_via_dev_openprom): Likewise.
17605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17606 Avoid unused variable warnings on 'val' and use builtin_expect.
17607 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17609 (INLINE_CLONE_SYSCALL): Likewise.
17611 2012-03-05 David S. Miller <davem@davemloft.net>
17613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17615 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17619 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17620 only for |x| >= 40.
17621 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17623 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17626 Replace gettimeofday with __vdso_gettimeofday.
17628 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17629 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17630 __vdso_clock_gettime and __vdso_getcpu.
17632 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17633 time with __vdso_time.
17635 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17637 * manual/lang.texi (size_t): Note types to which size_t may be
17638 equivalent with the GNU C Library, but do not describe when
17639 differences between them are significant.
17641 2012-03-05 Andreas Jaeger <aj@suse.de>
17643 * sysdeps/i386/fpu/libm-test-ulps: Update.
17645 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17648 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17649 (__ieee754_pow): Save and restore rounding mode and use
17650 round-to-nearest for main computations.
17651 * math/libm-test.inc (pow_test_tonearest): New function.
17652 (pow_test_towardzero): Likewise.
17653 (pow_test_downward): Likewise.
17654 (pow_test_upward): Likewise.
17655 (main): Call the new functions.
17656 * sysdeps/i386/fpu/libm-test-ulps: Update.
17657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17660 * math/libm-test.inc (cosh_test_tonearest): New function.
17661 (cosh_test_towardzero): Likewise.
17662 (cosh_test_downward): Likewise.
17663 (cosh_test_upward): Likewise.
17664 (sinh_test_tonearest): Likewise.
17665 (sinh_test_towardzero): Likewise.
17666 (sinh_test_downward): Likewise.
17667 (sinh_test_upward): Likewise.
17668 (main): Call the new functions.
17669 * sysdeps/i386/fpu/libm-test-ulps: Update.
17670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17672 2012-03-05 Tom de Vries <tom@codesourcery.com>
17674 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17675 default stack guard is set in last bytes.
17676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17678 2012-03-05 Kees Cook <keescook@chromium.org>
17680 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17683 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17684 possibly allocate from heap instead of stack.
17685 * stdio-common/bug-vfprintf-nargs.c: New file.
17686 * stdio-common/Makefile (tests): Add nargs overflow test.
17688 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17692 2012-03-03 Marek Polacek <polacek@redhat.com>
17694 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17695 * math/math_private.h: Likewise.
17696 * stdlib/tst-strtod.c: Likewise.
17697 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17698 * sysdeps/x86_64/bits/atomic.h: Likewise.
17700 2012-03-02 David S. Miller <davem@davemloft.net>
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17706 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17707 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17708 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17709 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17711 2012-03-02 Roland McGrath <roland@hack.frob.com>
17714 * manual/examples/README: New file, says the example source files
17715 can be used under GPL>=2.
17716 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17717 line containing just "*/".
17718 * manual/examples/add.c: Add copyright header (GPL>=2).
17719 * manual/examples/argp-ex1.c: Likewise.
17720 * manual/examples/argp-ex2.c: Likewise.
17721 * manual/examples/argp-ex3.c: Likewise.
17722 * manual/examples/argp-ex4.c: Likewise.
17723 * manual/examples/atexit.c: Likewise.
17724 * manual/examples/db.c: Likewise.
17725 * manual/examples/dir.c: Likewise.
17726 * manual/examples/dir2.c: Likewise.
17727 * manual/examples/execinfo.c: Likewise.
17728 * manual/examples/filecli.c: Likewise.
17729 * manual/examples/filesrv.c: Likewise.
17730 * manual/examples/fmtmsgexpl.c: Likewise.
17731 * manual/examples/genpass.c: Likewise.
17732 * manual/examples/inetcli.c: Likewise.
17733 * manual/examples/inetsrv.c: Likewise.
17734 * manual/examples/isockad.c: Likewise.
17735 * manual/examples/longopt.c: Likewise.
17736 * manual/examples/memopen.c: Likewise.
17737 * manual/examples/memstrm.c: Likewise.
17738 * manual/examples/mkfsock.c: Likewise.
17739 * manual/examples/mkisock.c: Likewise.
17740 * manual/examples/mygetpass.c: Likewise.
17741 * manual/examples/pipe.c: Likewise.
17742 * manual/examples/popen.c: Likewise.
17743 * manual/examples/rprintf.c: Likewise.
17744 * manual/examples/search.c: Likewise.
17745 * manual/examples/select.c: Likewise.
17746 * manual/examples/setjmp.c: Likewise.
17747 * manual/examples/sigh1.c: Likewise.
17748 * manual/examples/sigusr.c: Likewise.
17749 * manual/examples/stpcpy.c: Likewise.
17750 * manual/examples/strdupa.c: Likewise.
17751 * manual/examples/strftim.c: Likewise.
17752 * manual/examples/strncat.c: Likewise.
17753 * manual/examples/subopt.c: Likewise.
17754 * manual/examples/swapcontext.c: Likewise.
17755 * manual/examples/termios.c: Likewise.
17756 * manual/examples/testopt.c: Likewise.
17757 * manual/examples/testpass.c: Likewise.
17758 * manual/examples/timeval_subtract.c: Likewise.
17761 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17763 * manual/timeval_subtract.c.texi: ... here, new file.
17765 2012-03-02 David S. Miller <davem@davemloft.net>
17767 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17769 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17772 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17773 (__sin): Save and restore rounding mode and use round-to-nearest
17774 for all computations.
17775 (__cos): Save and restore rounding mode and use round-to-nearest
17776 for all computations.
17777 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17779 (tan): Save and restore rounding mode and use round-to-nearest for
17781 * math/libm-test.inc (cos_test_tonearest): New function.
17782 (cos_test_towardzero): Likewise.
17783 (cos_test_downward): Likewise.
17784 (cos_test_upward): Likewise.
17785 (sin_test_tonearest): Likewise.
17786 (sin_test_towardzero): Likewise.
17787 (sin_test_downward): Likewise.
17788 (sin_test_upward): Likewise.
17789 (tan_test_tonearest): Likewise.
17790 (tan_test_towardzero): Likewise.
17791 (tan_test_downward): Likewise.
17792 (tan_test_upward): Likewise.
17793 (main): Call the new functions.
17794 * sysdeps/i386/fpu/libm-test-ulps: Update.
17795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17798 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17799 small n, then large n, before computing and testing k+n.
17800 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17801 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17803 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17805 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17806 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17808 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17811 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17812 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17813 * math/libm-test.inc (scalbn_test): Add more tests.
17814 (scalbln_test): Likewise.
17816 * manual/filesys.texi (mode_t): Describe constraints on size and
17817 signedness, not exact equivalence to a particular type.
17819 (ino64_t): Likewise.
17821 (nlink_t): Likewise.
17822 (blkcnt_t): Likewise.
17823 (blkcnt64_t): Likewise.
17824 * manual/llio.texi (off_t): Likewise.
17827 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17828 (__ieee754_exp): Save and restore rounding mode and use
17829 round-to-nearest for all computations.
17830 * math/libm-test.inc (exp_test_tonearest): New function.
17831 (exp_test_towardzero): Likewise.
17832 (exp_test_downward): Likewise.
17833 (exp_test_upward): Likewise.
17834 (main): Call the new functions.
17835 * sysdeps/i386/fpu/libm-test-ulps: Update.
17836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17838 2012-03-01 Chris Demetriou <cgd@google.com>
17840 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17841 have predictable order.
17843 2012-03-01 David S. Miller <davem@davemloft.net>
17845 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17847 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17848 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17849 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17850 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17852 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17853 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17854 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17856 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17857 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17858 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17859 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17860 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17864 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17865 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17866 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17868 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17869 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17870 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17871 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17872 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17875 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17876 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17877 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17878 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17882 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17884 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17885 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17886 * sysdeps/sparc/elf/configure: Regenerated.
17888 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17890 * configure.in (AS, LD): Require binutils 2.20 or later.
17891 * configure: Regenerated.
17892 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17893 as required minimum version.
17894 * INSTALL: Regenerated.
17898 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17899 before squaring exponent.
17900 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17901 bottom long double and 27 bits of top long double before squaring
17903 * math/libm-test.inc (erfc_test): Add more tests.
17904 * sysdeps/i386/fpu/libm-test-ulps: Update.
17905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17908 2012-03-01 Kai Tietz <ktietz@redhat.com>
17910 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17911 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17912 containing bit-fields.
17913 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17914 * soft-fp/single.h (_FP_UNION_S): Likewise.
17915 * soft-fp/double.h (_FP_UNION_D): Likewise.
17917 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17920 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17921 not include ../strcmp.S.
17922 [USE_AS_STRNCASECMP_L]: Likewise.
17923 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17924 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17925 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17926 (__strncasecmp_l_ia32): Define as alias to
17927 __strncasecmp_l_nonascii.
17930 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17931 * sysdeps/i386/fpu/libm-test-ulps: Update.
17932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17934 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17937 2012-02-29 Jeff Law <law@redhat.com>
17939 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17940 out of bounds read.
17942 2012-02-29 Marek Polacek <polacek@redhat.com>
17945 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17946 * elf/Makefile: Add rules to run tst-unused-dep.out.
17948 2012-02-28 David S. Miller <davem@davemloft.net>
17950 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17951 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17952 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17953 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17954 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17955 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17957 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17959 * math/libm-test.inc (llround_test): Move one test from
17960 lround_test. Use TEST_f_L in moved test.
17961 (lround_test): Move misplaced test to llround_test. Add testcase
17964 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17966 * sysdeps/x86_64/fpu/e_expf.S: New file.
17967 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17969 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17972 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17973 of remain_len that may cause incomplete multi-byte character and
17975 * posix/bug-regex33.c: New file.
17976 * posix/Makefile (tests): Add bug-regex33.
17978 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17980 * manual/macros.texi: New file.
17981 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17982 * manual/libc.texinfo: Include macros.texi.
17983 * manual/creatute.texi: Likewise.
17984 * manual/install.texi: Likewise.
17985 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17986 @glibcadj{} in references to the GNU C Library.
17987 * manual/charset.texi: Likewise.
17988 * manual/conf.texi: Likewise.
17989 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17990 when not using those macros.
17991 * manual/creature.texi: Likewise.
17992 * manual/crypt.texi: Likewise.
17993 * manual/errno.texi: Likewise.
17994 * manual/filesys.texi: Likewise.
17995 * manual/header.texi: Likewise.
17996 * manual/install.texi: Likewise.
17997 * manual/intro.texi: Likewise.
17998 * manual/io.texi: Likewise.
17999 * manual/job.texi: Likewise.
18000 * manual/lang.texi: Likewise.
18001 * manual/libc.texiinfo: Likewise.
18002 * manual/llio.texi: Likewise.
18003 * manual/locale.texi: Likewise.
18004 * manual/maint.texi: Likewise.
18005 * manual/math.texi: Likewise.
18006 * manual/memory.texi: Likewise.
18007 * manual/message.texi: Likewise.
18008 * manual/nss.texi: Likewise.
18009 * manual/pattern.texi: Likewise.
18010 * manual/process.texi: Likewise.
18011 * manual/resource.texi: Likewise.
18012 * manual/search.texi: Likewise.
18013 * manual/setjmp.texi: Likewise.
18014 * manual/signal.texi: Likewise.
18015 * manual/socket.texi: Likewise.
18016 * manual/startup.texi: Likewise.
18017 * manual/stdio.texi: Likewise.
18018 * manual/string.texi: Likewise.
18019 * manual/sysinfo.texi: Likewise.
18020 * manual/syslog.texi: Likewise.
18021 * manual/terminal.texi: Likewise.
18022 * manual/time.texi: Likewise.
18023 * manual/users.texi: Likewise.
18024 * INSTALL: Regenerated.
18025 * NOTES: Regenerated.
18026 * sysdeps/gnu/errlist.c: Regenerated.
18028 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18030 * include/dirent.h: Include <dirstream.h> before
18033 2012-02-28 David S. Miller <davem@davemloft.net>
18035 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18036 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18037 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18038 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18040 2012-02-27 David S. Miller <davem@davemloft.net>
18042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18044 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18045 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18048 frame pointer instead of stack pointer relative arg slot.
18049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18050 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18051 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18053 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18056 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18058 2012-02-27 David S. Miller <davem@davemloft.net>
18060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18064 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18065 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18066 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18067 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18069 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18071 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18072 later. Allow versions 5-9.
18073 * configure: Regenerated.
18074 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18075 required minimum version and 4.6 as recommended version. Do not
18076 mention bugs in GCC 2.7 and 2.8.
18077 * INSTALL: Regenerated.
18079 2012-02-27 David S. Miller <davem@davemloft.net>
18081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18085 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18086 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18087 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18088 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18090 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18091 manipulate bits before adding and subtracting TWO112[sx].
18092 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18094 2012-02-27 Roland McGrath <roland@hack.frob.com>
18097 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18098 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18099 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18100 being in POSIX, because they are in 1003.1-2008.
18102 * rt/tst-aio.c: Include <fcntl.h>.
18103 * rt/tst-aio7.c: Likewise.
18104 * rt/tst-aio64.c: Likewise.
18106 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18108 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18110 * manual/install.texi (--with-headers): Describe headers as
18111 interface headers, not private headers.
18112 (Specific advice for GNU/Linux systems): Describe use of headers
18113 from "make headers_install", not private headers from older
18115 * INSTALL: Regenerated.
18116 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18118 * sysdeps/unix/sysv/linux/configure: Regenerated.
18120 * manual/llio.texi (fclean): Remove documentation.
18122 * manual/Makefile (libc-texi-generated): New variable. Include
18124 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18125 $(libc-texi-generated), not duplicated list of files.
18126 (version.texi, stamp-version): New rules.
18127 (realclean): Remove $(libc-texi-generated), not individual files
18128 from that list. Do not remove dir-add.texinfo.
18129 * manual/libc.texinfo: Comment out uses of edition numbers and
18130 references to printed manual. Remove last-updated dates.
18131 (EDITION): Comment out.
18133 (VERSION, UPDATED): Remove.
18134 (version.texi): Include.
18136 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18138 * sysdeps/posix/spawni.c: Include <signal.h>.
18139 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18140 * sysdeps/pthread/aio_fsync.c: Likewise.
18142 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18144 * conform/Makefile (tests): Run only when not cross-compiling and
18145 when fast-check is not defined.
18147 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18148 * conform/data/limits.h-data: Fixes for POSIX2008.
18149 * conform/run-conformtest.sh: Run all tests.
18150 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18152 * include/bits/dlfcn.h: Likewise.
18153 * include/langinfo.h: Likewise.
18154 * include/monetary.h: Likewise.
18155 * include/sys/poll.h: Likewise.
18157 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18159 * posix/spawn.h: Define __need_sigset_t.
18160 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18161 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18162 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18163 to get sigevent_t only.
18164 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18165 only for __USE_GNU.
18166 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18167 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18168 process_vm_writev only for __USE_GNU.
18169 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18171 * conform/Makefile: For now ignore errors from run-conformtest.
18172 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18173 POSIX to avoid namespace pollution. Don't prepend headers.
18174 * conform/data/aio.h-data: Fixes for POSIX testing.
18175 * conform/data/fcntl.h-data: Likewise.
18176 * conform/data/glob.h-data: Likewise.
18177 * conform/data/grp.h-data: Likewise.
18178 * conform/data/pthread.h-data: Likewise.
18179 * conform/data/pwd.h-data: Likewise.
18180 * conform/data/signal.h-data: Likewise.
18181 * conform/data/spawn.h-data: Likewise.
18182 * conform/data/stdio.h-data: Likewise.
18183 * conform/data/stdlib.h-data: Likewise.
18184 * conform/data/stropts.h-data: Likewise.
18185 * conform/data/sys/mman.h-data: Likewise.
18186 * conform/data/sys/stat.h-data: Likewise.
18187 * conform/data/sys/types.h-data: Likewise.
18188 * conform/data/sys/wait.h-data: Likewise.
18189 * conform/data/time.h-data: Likewise.
18190 * conform/data/unistd.h-data: Likewise.
18191 * conform/data/utime.h-data: Likewise.
18193 * io/sys/stat.h: fchmod was always in POSIX.
18194 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18195 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18196 * rt/aio.h: Define __need_timespec before including <time.h>.
18197 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18198 struct. Add forward declaration of pthread_attr_t and use it in
18200 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18201 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18202 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18203 always remove CLK_TCK definition.
18205 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18207 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18209 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18211 * conform/run-conformtest.sh: New file.
18212 * conform/Makefile: Run run-conformtest for tests.
18213 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18216 * conform/data/uchar.h-data: New file.
18217 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18218 * conform/data/arpa/inet.h-data: Likewise.
18219 * conform/data/assert.h-data: Likewise.
18220 * conform/data/complex.h-data: Likewise.
18221 * conform/data/cpio.h-data: Likewise.
18222 * conform/data/ctype.h-data: Likewise.
18223 * conform/data/dirent.h-data: Likewise.
18224 * conform/data/dlfcn.h-data: Likewise.
18225 * conform/data/errno.h-data: Likewise.
18226 * conform/data/fcntl.h-data: Likewise.
18227 * conform/data/float.h-data: Likewise.
18228 * conform/data/fmtmsg.h-data: Likewise.
18229 * conform/data/fnmatch.h-data: Likewise.
18230 * conform/data/ftw.h-data: Likewise.
18231 * conform/data/glob.h-data: Likewise.
18232 * conform/data/grp.h-data: Likewise.
18233 * conform/data/iconv.h-data: Likewise.
18234 * conform/data/inttypes.h-data: Likewise.
18235 * conform/data/langinfo.h-data: Likewise.
18236 * conform/data/libgen.h-data: Likewise.
18237 * conform/data/limits.h-data: Likewise.
18238 * conform/data/locale.h-data: Likewise.
18239 * conform/data/math.h-data: Likewise.
18240 * conform/data/monetary.h-data: Likewise.
18241 * conform/data/mqueue.h-data: Likewise.
18242 * conform/data/ndbm.h-data: Likewise.
18243 * conform/data/net/if.h-data: Likewise.
18244 * conform/data/netdb.h-data: Likewise.
18245 * conform/data/netinet/in.h-data: Likewise.
18246 * conform/data/nl_types.h-data: Likewise.
18247 * conform/data/poll.h-data: Likewise.
18248 * conform/data/pthread.h-data: Likewise.
18249 * conform/data/pwd.h-data: Likewise.
18250 * conform/data/regex.h-data: Likewise.
18251 * conform/data/sched.h-data: Likewise.
18252 * conform/data/search.h-data: Likewise.
18253 * conform/data/semaphore.h-data: Likewise.
18254 * conform/data/setjmp.h-data: Likewise.
18255 * conform/data/signal.h-data: Likewise.
18256 * conform/data/spawn.h-data: Likewise.
18257 * conform/data/stdarg.h-data: Likewise.
18258 * conform/data/stdio.h-data: Likewise.
18259 * conform/data/stdlib.h-data: Likewise.
18260 * conform/data/string.h-data: Likewise.
18261 * conform/data/strings.h-data: Likewise.
18262 * conform/data/stropts.h-data: Likewise.
18263 * conform/data/sys/ipc.h-data: Likewise.
18264 * conform/data/sys/mman.h-data: Likewise.
18265 * conform/data/sys/msg.h-data: Likewise.
18266 * conform/data/sys/resource.h-data: Likewise.
18267 * conform/data/sys/select.h-data: Likewise.
18268 * conform/data/sys/sem.h-data: Likewise.
18269 * conform/data/sys/shm.h-data: Likewise.
18270 * conform/data/sys/socket.h-data: Likewise.
18271 * conform/data/sys/stat.h-data: Likewise.
18272 * conform/data/sys/statvfs.h-data: Likewise.
18273 * conform/data/sys/time.h-data: Likewise.
18274 * conform/data/sys/timeb.h-data: Likewise.
18275 * conform/data/sys/times.h-data: Likewise.
18276 * conform/data/sys/types.h-data: Likewise.
18277 * conform/data/sys/uio.h-data: Likewise.
18278 * conform/data/sys/un.h-data: Likewise.
18279 * conform/data/sys/utsname.h-data: Likewise.
18280 * conform/data/sys/wait.h-data: Likewise.
18281 * conform/data/syslog.h-data: Likewise.
18282 * conform/data/tar.h-data: Likewise.
18283 * conform/data/termios.h-data: Likewise.
18284 * conform/data/utime.h-data: Likewise.
18285 * conform/data/utmpx.h-data: Likewise.
18286 * conform/data/varargs.h-data: Likewise.
18287 * conform/data/wchar.h-data: Likewise.
18288 * conform/data/wctype.h-data: Likewise.
18289 * conform/data/wordexp.h-data: Likewise.
18291 * include/stropts.h: New file.
18292 * include/uchar.h: New file.
18293 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18294 * include/assert.h: Likewise.
18295 * include/ctype.h: Likewise.
18296 * include/dirent.h: Likewise.
18297 * include/dlfcn.h: Likewise.
18298 * include/fcntl.h: Likewise.
18299 * include/fnmatch.h: Likewise.
18300 * include/glob.h: Likewise.
18301 * include/grp.h: Likewise.
18302 * include/libio.h: Likewise.
18303 * include/locale.h: Likewise.
18304 * include/math.h: Likewise.
18305 * include/net/if.h: Likewise.
18306 * include/netdb.h: Likewise.
18307 * include/netinet/in.h: Likewise.
18308 * include/pthread.h: Likewise.
18309 * include/pwd.h: Likewise.
18310 * include/regex.h: Likewise.
18311 * include/sched.h: Likewise.
18312 * include/search.h: Likewise.
18313 * include/setjmp.h: Likewise.
18314 * include/signal.h: Likewise.
18315 * include/stdio.h: Likewise.
18316 * include/stdlib.h: Likewise.
18317 * include/string.h: Likewise.
18318 * include/sys/cdefs.h: Likewise.
18319 * include/sys/mman.h: Likewise.
18320 * include/sys/msg.h: Likewise.
18321 * include/sys/resource.h: Likewise.
18322 * include/sys/select.h: Likewise.
18323 * include/sys/socket.h: Likewise.
18324 * include/sys/stat.h: Likewise.
18325 * include/sys/statvfs.h: Likewise.
18326 * include/sys/time.h: Likewise.
18327 * include/sys/times.h: Likewise.
18328 * include/sys/uio.h: Likewise.
18329 * include/sys/utsname.h: Likewise.
18330 * include/sys/wait.h: Likewise.
18331 * include/termios.h: Likewise.
18332 * include/time.h: Likewise.
18333 * include/ulimit.h: Likewise.
18334 * include/unistd.h: Likewise.
18335 * include/utime.h: Likewise.
18336 * include/wchar.h: Likewise.
18337 * include/wctype.h: Likewise.
18338 * include/wordexp.h: Likewise.
18340 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18342 * time/time.h: TIME_UTC must be a macro.
18343 Make timespec_get available for ISO C11 only as well.
18345 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18347 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18348 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18350 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18352 * configure.in: Use -o not -a in test for unsupported multi-arch.
18354 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18356 * manual/texinfo.tex: Update to version 2012-01-19.16.
18358 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18360 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18362 2012-02-24 Roland McGrath <roland@hack.frob.com>
18365 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18366 * manual/fdl-1.3.texi: New file.
18367 * manual/fdl-1.1.texi: File removed.
18370 * manual/libc.texinfo (FDL_VERSION): New @set.
18371 Use it for mention of FDL in cover text.
18372 (Documentation License): Use it in @include file name.
18374 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18375 Roland McGrath <roland@hack.frob.com>
18378 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18379 not LONG_LONG_MAX and LONG_LONG_MIN.
18380 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18381 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18383 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18385 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18389 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18390 manipulate bits before adding and subtracting TWO23[sx].
18391 * math/libm-test.inc (nearbyint_test): Add more tests.
18393 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18396 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18397 bits before adding and subtracting TWO23[sx].
18398 * math/libm-test.inc (rint_test): Add more tests.
18399 (rint_test_tonearest): Likewise.
18400 (rint_test_towardzero): Likewise.
18401 (rint_test_downward): Likewise.
18402 (rint_test_upward: Likewise.
18404 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18407 * include/stdc-predef.h: New file. Extracted from features.h.
18408 * include/features.h: Include stdc-predef.h.
18409 * Makefile (headers): Add stdc-predef.h.
18410 * CONFORMANCE (Compiler limitations): Update.
18412 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18414 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18416 2012-02-21 David S. Miller <davem@davemloft.net>
18418 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18421 2012-02-20 David S. Miller <davem@davemloft.net>
18423 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18424 using a normal save/restore sequence, rather than allocating a
18425 dummy stack frame just to store a frame pointer and restore.
18426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18428 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18430 * manual/install.texi: Fix stray word in line-wrapped comment.
18432 2012-02-20 David S. Miller <davem@davemloft.net>
18434 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18435 both binutils and gcc support GOTDATA.
18437 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18438 "rd %pc" in the PIC register setup sequences.
18440 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18441 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18442 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18443 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18444 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18447 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18449 (SYSCALL_ERROR_HANDLER): Likewise.
18450 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18451 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18453 (SYSCALL_ERROR_HANDLER): Likewise.
18455 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18456 (HAVE_GCC_GOTDATA): New.
18457 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18458 relocation support in both binutils and gcc.
18459 * sysdeps/sparc/elf/configure: Regenerate.
18461 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18462 * sysdeps/sparc/sparc32/elf/configure: Delete.
18463 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18464 * sysdeps/sparc/sparc64/elf/configure: Delete.
18465 * sysdeps/sparc/elf/configure.in: New file.
18466 * sysdeps/sparc/elf/configure: Generate.
18468 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18469 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18470 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18471 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18472 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18474 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18476 * manual/install.texi: Do not mention specific glibc version
18478 * manual/libc.texinfo (VERSION, UPDATED): Update.
18479 (@copying): Use @copyright{} and range of years.
18481 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18484 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18485 [crti.S not in sysdirs] (generated): Do not append.
18486 [crti.S not in sysdirs] (omit-deps): Likewise.
18487 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18488 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18489 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18490 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18491 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18493 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18494 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18495 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18496 * csu/defs.awk: Remove file.
18497 * sysdeps/generic/initfini.c: Likewise.
18498 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18500 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18503 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18505 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18506 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18507 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18510 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18512 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18513 (__EPOLL_PACKED): Define to empty if not defined by
18515 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18519 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18521 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18522 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18523 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18524 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18526 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18530 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18532 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18534 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18535 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18536 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18539 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18541 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18542 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18544 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18546 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18547 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18549 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18551 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18554 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18556 * math/w_acos.c: Use non-signaling floating-point comparisons.
18557 * math/w_acosf.c: Likewise.
18558 * math/w_acosh.c: Likewise.
18559 * math/w_acoshf.c: Likewise.
18560 * math/w_acoshl.c: Likewise.
18561 * math/w_acosl.c: Likewise.
18562 * math/w_asin.c: Likewise.
18563 * math/w_asinf.c: Likewise.
18564 * math/w_asinl.c: Likewise.
18565 * math/w_atanh.c: Likewise.
18566 * math/w_atanhf.c: Likewise.
18567 * math/w_atanhl.c: Likewise.
18568 * math/w_exp2.c: Likewise.
18569 * math/w_exp2f.c: Likewise.
18570 * math/w_exp2l.c: Likewise.
18571 * math/w_j0.c: Likewise.
18572 * math/w_j0f.c: Likewise.
18573 * math/w_j0l.c: Likewise.
18574 * math/w_j1.c: Likewise.
18575 * math/w_j1f.c: Likewise.
18576 * math/w_j1l.c: Likewise.
18577 * math/w_jn.c: Likewise.
18578 * math/w_jnf.c: Likewise.
18579 * math/w_log.c: Likewise.
18580 * math/w_log10.c: Likewise.
18581 * math/w_log10f.c: Likewise.
18582 * math/w_log10l.c: Likewise.
18583 * math/w_log2.c: Likewise.
18584 * math/w_log2f.c: Likewise.
18585 * math/w_log2l.c: Likewise.
18586 * math/w_logf.c: Likewise.
18587 * math/w_logl.c: Likewise.
18588 * math/w_sqrt.c: Likewise.
18589 * math/w_sqrtf.c: Likewise.
18590 * math/w_sqrtl.c: Likewise.
18591 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18594 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18595 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18597 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18600 * manual/string.texi (strnlen): Use correct parameter name in
18601 equivalent expression.
18603 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18606 * manual/users.texi (seteuid): Consistently use neweuid for
18609 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18612 * manual/nss.texi (Services in the NSS configuration): Correct
18613 list of services in example configuration file.
18615 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18618 * manual/arith.texi: Remove statements about negative zero
18619 behaving identically to zero.
18621 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18624 * manual/install.texi: Do not document upgrading from libc5.
18626 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18629 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18631 2012-02-18 David S. Miller <davem@davemloft.net>
18633 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18634 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18635 %o7 across the call.
18636 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18639 SETUP_PIC_REG_LEAF.
18640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18641 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18642 * sysdeps/sparc/crtn.S: Likewise.
18644 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18646 * aout/Makefile: Remove.
18648 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18651 * manual/examples/argp-ex1.c (main): Format definition in GNU
18653 * manual/examples/argp-ex2.c (main): Likewise.
18654 * manual/examples/argp-ex3.c (main): Likewise.
18655 * manual/examples/argp-ex4.c (main): Likewise.
18656 * manual/examples/longopt.c (main): Use new-style prototype
18658 * manual/examples/strncat.c (main): Specify return type and use
18659 (void) for arguments.
18660 * manual/examples/subopt.c (main): Use char **argv argument.
18662 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18665 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18668 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18671 * manual/string.texi (strchr): Change when strchrnul is
18674 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18677 * manual/locale.texi (setlocale): Document LOCPATH.
18679 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18682 * manual/process.texi (execle): Move @dots{} before last argument.
18684 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18687 * manual/charset.texi (Generic Charset Conversion): Fix typo
18688 (LC_TYPE -> LC_CTYPE).
18690 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18693 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18694 (scalbnf): Likewise.
18695 (scalbnl): Likewise.
18696 (scalbln): Likewise.
18697 (scalblnf): Likewise.
18698 (scalblnl): Likewise.
18699 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18700 (vwarnx): Likewise.
18703 * manual/filesys.texi (telldir): Use braces around return type.
18704 * manual/llio.texi (mmap): Add space after comma.
18705 (mmap64): Likewise.
18706 * manual/math.texi (jn): Use @var{} on parameter names.
18712 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18714 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18716 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18717 (sched_get_priority_max): Likewise.
18718 * manual/signal.texi (sigvec): Add space after comma.
18719 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18721 (if_indextoname): Likewise.
18722 (if_freenameindex): Likewise.
18723 (sendto): Use ',' instead of '.' in prototype.
18724 * manual/startup.texi (syscall): Use @dots{} instead of literal
18726 * manual/stdio.texi (__fpending): Separate initial words of
18727 paragraph from @deftypefun line.
18728 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18730 (vsyslog): Use @var{} on parameter names.
18731 * manual/terminal.texi (stty): Use @var{} on parameter names.
18732 * manual/users.texi (getutmp): Use @var{} on parameter names.
18733 (getutmpx): Likewise.
18735 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18738 * manual/stdio.texi (fopen): Fix typos in description of
18741 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18744 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18745 get clock_id definition.
18747 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18750 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18751 (madvise): Cast every argument to void on its own.
18753 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18756 * manual/startup.texi (Exit Status): Fix typo.
18758 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18761 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18762 * manual/examples/argp-ex2.c: Likewise.
18763 * manual/examples/argp-ex3.c: Likewise.
18765 2012-02-16 Richard Henderson <rth@redhat.com>
18767 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18768 * sysdeps/s390/s390-32/initfini.c: Remove.
18769 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18770 * sysdeps/s390/s390-64/initfini.c: Remove.
18772 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18774 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18775 compiler output for sysdeps/generic/initfini.c.
18776 * sysdeps/sh/elf/initfini.c: Remove file.
18778 2012-02-16 David S. Miller <davem@davemloft.net>
18781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18783 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18784 * sysdeps/sparc/crti.S: New file.
18785 * sysdeps/sparc/crtn.S: New file.
18786 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18787 * sysdeps/sparc/sparc64/Makefile: Likewise.
18789 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18792 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18794 2012-02-15 Roland McGrath <roland@hack.frob.com>
18797 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18799 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18800 (write, read, close): Likewise.
18801 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18803 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18805 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18806 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18807 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18808 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18810 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18814 2012-02-14 Marek Polacek <polacek@redhat.com>
18816 * sysdeps/x86_64/crti.S: New file.
18817 * sysdeps/x86_64/crtn.S: New file.
18818 * sysdeps/x86_64/elf/initfini.c: Remove file.
18820 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18822 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18823 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18824 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18825 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18827 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18831 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18833 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18834 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18835 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18836 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18838 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18842 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18844 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18845 __feraiseexcept instead of feraiseexcept.
18847 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18848 nanosleep invocations.
18849 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18850 strings, and add error checking for a nanosleep invocations.
18852 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18854 Replace FSF snail mail address with URLs, as per GNU coding standards.
18855 Most of the snail mail addresses were wrong anyway, and omitting
18856 them makes the source code easier to maintain. Almost all of the
18857 changes are to license notices and to locale LC_IDENTIFICATION
18858 addresses, except for this one:
18859 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18860 not its snail mail address.
18862 2012-02-09 Richard Henderson <rth@twiddle.net>
18864 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18865 of kernel-features.h.
18867 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18869 2012-02-08 Marek Polacek <polacek@redhat.com>
18871 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18872 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18873 * sysdeps/gnu/_G_config.h: Likewise.
18874 * sysdeps/generic/_G_config.h: Likewise.
18876 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18878 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18882 * sysdeps/powerpc/powerpc32/crti.S: New file.
18883 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18884 * sysdeps/powerpc/powerpc64/crti.S: New file.
18885 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18887 * Makeconfig (have-initfini): Don't set.
18888 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18889 * configure.in (nopic_initfini): Don't substitute.
18890 * config.h.in (HAVE_INITFINI): Don't #undef.
18891 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18892 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18894 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18896 Support crti.S and crtn.S provided directly by architectures.
18897 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18898 [crti.S in sysdirs] (omit-deps): Likewise.
18899 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18900 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18901 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18902 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18903 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18904 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18905 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18906 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18907 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18908 compiler output for sysdeps/generic/initfini.c.
18909 * sysdeps/i386/elf/Makefile: Remove file.
18910 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18912 2012-02-07 Marek Polacek <polacek@redhat.com>
18914 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18915 * sysdeps/gnu/_G_config.h: Likewise.
18916 * sysdeps/mach/hurd/_G_config.h: Likewise.
18918 2012-02-07 Marek Polacek <polacek@redhat.com>
18920 * math/Makefile (tests): Add tst-CMPLX2.
18921 * math/tst-CMPLX2.c: New file.
18923 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18925 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18927 * math/libm-test.inc (jn_test): Add missing L suffix.
18929 2012-02-06 Marek Polacek <polacek@redhat.com>
18931 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18932 * sysdeps/i386/fpu/e_powf.S: Likewise.
18933 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18934 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18935 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18936 * sysdeps/i386/fpu/e_pow.S: Likewise.
18937 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18938 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18939 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18940 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18941 * sysdeps/i386/fpu/e_log2.S: Likewise.
18942 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18943 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18944 * sysdeps/i386/fpu/e_powl.S: Likewise.
18945 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18946 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18947 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18948 * sysdeps/i386/fpu/e_logl.S: Likewise.
18949 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18950 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18951 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18952 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18953 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18954 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18955 * sysdeps/i386/fpu/e_log.S: Likewise.
18956 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18957 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18958 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18959 * sysdeps/i386/fpu/e_logf.S: Likewise.
18960 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18961 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18962 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18963 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18964 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18965 * sysdeps/i386/fpu/e_log10.S: Likewise.
18966 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18967 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18968 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18969 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18970 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18971 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18972 * sysdeps/i386/asm-syntax.h: Likewise.
18973 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18974 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18975 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18976 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18977 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18978 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18979 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18980 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18981 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18982 * sysdeps/powerpc/sysdep.h: Likewise.
18983 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18984 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18986 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18989 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18991 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18993 * sysdeps/i386/sysdep.h: Include <features.h>.
18994 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18997 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18999 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19001 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19004 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19006 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19007 (SETUP_PIC_REG): Use GET_PC_THUNK.
19008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19011 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19013 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19014 for non-PIC compilation.
19015 (SETUP_PIC_REG): Add .p2align directive.
19016 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19017 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19018 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19019 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19020 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19021 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19022 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19024 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19025 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19026 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19027 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19028 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19029 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19030 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19031 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19032 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19033 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19034 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19035 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19036 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19038 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19039 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19040 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19043 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19044 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19045 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19046 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19048 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19049 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19050 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19052 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19053 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19054 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19055 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19056 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19058 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19060 * math/tst-CMPLX.c: Include <stdio.h>.
19062 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19064 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19066 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19067 * sysdeps/sparc/bits/mathdef.h: Likewise.
19069 2012-01-31 Marek Polacek <polacek@redhat.com>
19071 * libio/libio.h: Don't define _PARAMS.
19072 * locale/programs/config.h: Don't define PARAMS.
19073 * stdlib/strtol_l.c: Likewise.
19074 (__strtol_l): Remove PARAMS from the prototype.
19076 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19078 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19079 names. Just use the correct names. Remove unnecessary wrapper
19081 * malloc/arena.c: Likewise.
19082 * malloc/hooks.c: Likewise.
19084 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19085 ARENA_TEST says not to. Simplify test for creation of a new arena.
19086 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19088 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19090 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19092 (update_get_addr): New function.
19093 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19094 GET_ADDR_MODULE parameter.
19096 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19098 * crypt/cert.c: Remove __STDC__ conditionals.
19099 * crypt/crypt-entry.c: Likewise.
19100 * crypt/crypt_util.c: Likewise.
19101 * libio/filedoalloc.c: Likewise.
19102 * libio/fileops.c: Likewise.
19103 * libio/genops.c: Likewise.
19104 * libio/iofclose.c: Likewise.
19105 * libio/iofdopen.c: Likewise.
19106 * libio/iofopen.c: Likewise.
19107 * libio/iofopen64.c: Likewise.
19108 * libio/iogetdelim.c: Likewise.
19109 * libio/iopopen.c: Likewise.
19110 * libio/obprintf.c: Likewise.
19111 * libio/oldfileops.c: Likewise.
19112 * libio/oldiofclose.c: Likewise.
19113 * libio/oldiofdopen.c: Likewise.
19114 * libio/oldiofopen.c: Likewise.
19115 * libio/oldiopopen.c: Likewise.
19116 * libio/wfiledoalloc.c: Likewise.
19117 * libio/wgenops.c: Likewise.
19118 * locale/programs/xmalloc.c: Likewise.
19119 * misc/syslog.c: Likewise.
19120 * stdio-common/xbug.c: Likewise.
19121 * string/memchr.c: Likewise.
19122 * string/memcmp.c: Likewise.
19123 * string/memrchr.c: Likewise.
19124 * string/rawmemchr.c: Likewise.
19125 * sysdeps/posix/getcwd.c: Likewise.
19126 * time/strftime_l.c: Likewise.
19128 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19130 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19131 * config.make.in (config-cflags-sse2avx): Define.
19132 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19135 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19137 * scripts/config.guess: Update from upstream config git repository.
19138 * scripts/config.sub: Likewise.
19140 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19142 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19144 (R_TILEPRO_*, R_TILEGX_*): New macros.
19146 * scripts/firstversions.awk: Fix bug in version range handling.
19148 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19150 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19152 * include/sys/epoll.h: New file.
19153 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19156 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19158 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19159 Avoid unnecessary __WORDSIZE == 64 test.
19160 (fmaxf): Use VEX format if possible.
19165 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19166 * math/math_private.h: Remove libc_fegetround* and
19168 * sysdeps/i386/configure.in: Check for -msse2avx.
19169 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19170 also if SSE2AVX is defined.
19171 Remove libc_fegetround* and libc_fesetround*.
19172 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19173 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19174 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19176 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19177 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19180 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19182 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19184 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19186 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19188 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19190 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19193 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19195 * Makeconfig (libm): Define.
19196 * elf/Makefile: Add rules to build and run tst-relsort1.
19197 * elf/tst-relsort1.c: New file.
19198 * elf/tst-relsort1mod1.c: New file.
19199 * elf/tst-relsort1mod2.c: New file.
19201 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19203 * math/s_ldexp.c: Remove __STDC__ conditionals.
19204 * math/s_ldexpf.c: Likewise.
19205 * math/s_ldexpl.c: Likewise.
19206 * math/s_nextafter.c: Likewise.
19207 * math/s_nexttowardf.c: Likewise.
19208 * math/s_significand.c: Likewise.
19209 * math/s_significandf.c: Likewise.
19210 * math/s_significandl.c: Likewise.
19211 * math/w_jnl.c: Likewise.
19212 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19213 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19214 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19215 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19216 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19231 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19232 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19233 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19234 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19235 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19236 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19237 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19238 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19239 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19240 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19241 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19242 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19243 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19244 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19245 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19246 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19247 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19248 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19249 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19250 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19251 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19252 * sysdeps/ieee754/k_standard.c: Likewise.
19253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19256 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19257 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19260 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19261 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19262 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19263 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19272 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19276 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19277 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19278 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19282 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19288 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19295 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19296 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19297 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19298 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19299 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19301 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19302 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19303 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19306 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19307 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19308 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19309 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19310 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19314 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19315 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19319 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19320 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19322 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19323 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19327 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19328 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19332 * sysdeps/ieee754/s_matherr.c: Likewise.
19333 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19334 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19338 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19340 * crypt/md5.h: Remove __STDC__ conditionals.
19341 * libio/libioP.h: Likewise.
19342 * locale/programs/config.h: Likewise.
19343 * sysdeps/generic/sysdep.h: Likewise.
19344 * sysdeps/i386/asm-syntax.h: Likewise.
19345 * sysdeps/s390/asm-syntax.h: Likewise.
19346 * sysdeps/unix/sysdep.h: Likewise.
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19350 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19352 * libio/libio.h: Remove __STDC__ conditionals.
19353 * malloc/obstack.h: Likewise.
19354 * math/complex.h: Likewise.
19355 * math/math.h: Likewise.
19356 * sysdeps/generic/_G_config.h: Likewise.
19357 * sysdeps/gnu/_G_config.h: Likewise.
19358 * sysdeps/mach/hurd/_G_config.h: Likewise.
19359 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19360 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19361 * sysdeps/sparc/bits/mathdef.h: Likewise.
19363 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19366 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19367 Clean up HAS_* macros.
19368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19369 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19379 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19381 * elf/tst-unique3.cc (gets): Remove declaration.
19382 * elf/tst-unique3lib.cc (gets): Likewise.
19383 * elf/tst-unique3lib2.cc (gets): Likewise.
19384 * elf/tst-unique4.cc (gets): Likewise.
19386 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19388 * include/stdio.h: Add C++ protection. Add gets declarations and
19390 * debug/tst-chk1.c: Don't declare gets here.
19391 * stdio-common/tst-gets.c: Likewise.
19393 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19395 * posix/glob: Remove directory.
19397 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19399 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19401 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19403 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19404 of the non-standard EPFNOSUPPORT.
19406 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19408 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19409 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19410 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19412 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19414 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19416 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19418 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19420 * nscd/grpcache.c (cache_addgr): Likewise.
19421 * nscd/hstcache.c (cache_addhst): Likewise.
19422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19423 * nscd/pwdcache.c (cache_addpw): Likewise.
19424 * nscd/servicescache.c (cache_addserv): Likewise.
19426 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19428 * malloc/malloc.c: Various cleanups.
19429 * malloc/hooks.c: Likewise.
19431 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19432 * stdlib/bug-fmtmsg1.c: New file.
19434 * stdlib/fmtmsg.c (init): Add missing unlock.
19435 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19437 2012-01-12 Marek Polacek <polacek@redhat.com>
19439 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19442 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19444 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19445 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19446 macro to ensure uniqueness of label name.
19447 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19448 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19450 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19452 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19454 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19455 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19459 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19461 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19463 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19464 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19465 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19467 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19469 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19470 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19471 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19474 * math/bits/math-finite.h: Add ldexp support.
19476 2012-01-10 Marek Polacek <polacek@redhat.com>
19478 * locale/programs/localedef.h (show_archive_content): Add noreturn
19481 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19483 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19485 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19487 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19489 * io/Makefile (headers): Add bits/poll2.h.
19491 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19494 typo #include statement.
19496 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19498 * include/sys/cdefs.h: Define __attribute_alloc_size.
19499 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19500 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19501 * elf/pldd.c: Likewise.
19502 * iconv/iconv_charmap.c: Likewise.
19503 * iconv/iconvconfig.c: Likewise.
19504 * iconv/strtab.c: Likewise.
19505 * locale/programs/locale.c: Likewise.
19506 * locale/programs/localedef.h: Likewise.
19507 * locale/programs/simple-hash.c: Likewise.
19508 * nscd/nscd.h: Likewise.
19509 * nss/makedb.c: Likewise.
19510 * sysdeps/generic/ldconfig.h: Likewise.
19511 * locale/programs/localedef.c: Remove xmalloc prototype.
19512 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19514 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19516 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19519 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19521 * math/Makefile (tests): Add tst-CMPLX.
19522 * math/tst-CMPLX.c: New file.
19524 * math/complex.h (CMPLXL): Fix typo.
19526 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19527 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19529 * debug/tst-chk1.c: Add poll and ppoll tests.
19530 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19531 * include/sys/poll.h: Add hidden proto for ppoll.
19532 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19533 * sysdeps/mach/hurd/ppoll.c: Likewise.
19534 * io/ppoll.c: Likewise.
19535 * debug/poll_chk.c: New file.
19536 * debug/ppoll_chk.c: New file.
19537 * include/bits/poll2.h: New file.
19538 * io/bits/poll2.h: New file.
19541 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19543 * configure.in: static is always set to yes. Remove.
19544 * config.make.in: Don't set build-static.
19545 * Makeconfig: Remove use of build-static.
19546 * dlfcn/Makefile: Likewise.
19547 * elf/Makefile: Likewise.
19548 * math/Makefile: Likewise.
19549 * misc/Makefile: Likewise.
19550 * nptl/Makefile: Likewise.
19551 * sysdeps/mach/hurd/Makefile: Likewise.
19553 * configure.in: PWD_P is not used anymore.
19554 * config.make.in: Remove PWD_P entry.
19556 * configure.in: Remove last remnants of RANLIB.
19557 No need to check for signed size_t anymore.
19558 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19560 Remove __builtin_expect test because we require at least gcc 3.4.
19561 * aclocal.m4: Likewise.
19563 * wcsmbs/mbrtoc16.c: Implement using towc function.
19564 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19565 * wcsmbs/wcsmbsload.c: Likewise.
19566 * iconv/gconv_simple.c: Likewise.
19567 * iconv/gconv_int.h: Likewise.
19568 * iconv/gconv_builtin.h: Likewise.
19569 * iconv/iconv_prog.c: Remove CHAR16 handling.
19571 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19573 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19575 * configure.in: Remove --with-elf and --enable-bounded options.
19576 Dont set base_machine for ia64. More non-ELF conditions removed.
19577 Remove testing and setting of leading underscore information.
19578 * config.make.in (build-bounded): Set to no.
19579 * config.h.in: Remove NO_UNDERSCORES entry.
19580 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19582 * csu/start.c: Remove !NO_UNDERSCORE code.
19583 * locale/localeinfo.h: Likewise.
19584 * sysdeps/generic/machine-gmon.h: Likewise.
19585 * sysdeps/generic/sysdep.h: Likewise.
19586 * sysdeps/i386/sysdep.h: Likewise.
19587 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19588 * sysdeps/mach/sysdep.h: Likewise.
19589 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19590 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19591 * sysdeps/sh/sysdep.h: Likewise.
19592 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19593 * sysdeps/unix/i386/sysdep.S: Likewise.
19594 * sysdeps/unix/sparc/start.c: Likewise.
19595 * sysdeps/unix/sparc/sysdep.S: Likewise.
19596 * sysdeps/unix/sparc/sysdep.h: Likewise.
19597 * sysdeps/unix/start.c: Likewise.
19598 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19599 * sysdeps/x86_64/sysdep.h: Likewise.
19601 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19604 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19606 * argp/argp-fmtstream.h: Use const instead __const.
19607 * argp/argp.h: Likewise.
19608 * assert/assert.h: Likewise.
19609 * bits/fenv.h: Likewise.
19610 * bits/sched.h: Likewise.
19611 * bits/sigset.h: Likewise.
19612 * bits/sigthread.h: Likewise.
19613 * catgets/nl_types.h: Likewise.
19614 * conform/data/pthread.h-data: Likewise.
19615 * crypt/crypt-private.h: Likewise.
19616 * crypt/crypt.h: Likewise.
19617 * crypt/crypt_util.c: Likewise.
19618 * ctype/ctype.h: Likewise.
19619 * debug/execinfo.h: Likewise.
19620 * debug/mbsnrtowcs_chk.c: Likewise.
19621 * debug/mbsrtowcs_chk.c: Likewise.
19622 * debug/wcsnrtombs_chk.c: Likewise.
19623 * debug/wcsrtombs_chk.c: Likewise.
19624 * debug/wcstombs_chk.c: Likewise.
19625 * dirent/dirent.h: Likewise.
19626 * dlfcn/dlfcn.h: Likewise.
19627 * elf/neededtest4.c: Likewise.
19628 * grp/grp.h: Likewise.
19629 * gshadow/gshadow.h: Likewise.
19630 * iconv/gconv.h: Likewise.
19631 * iconv/gconv_int.h: Likewise.
19632 * iconv/gconv_simple.c: Likewise.
19633 * iconv/iconv.h: Likewise.
19634 * iconv/loop.c: Likewise.
19635 * iconv/skeleton.c: Likewise.
19636 * include/aio.h: Likewise.
19637 * include/aliases.h: Likewise.
19638 * include/argz.h: Likewise.
19639 * include/arpa/inet.h: Likewise.
19640 * include/assert.h: Likewise.
19641 * include/dirent.h: Likewise.
19642 * include/dlfcn.h: Likewise.
19643 * include/execinfo.h: Likewise.
19644 * include/fcntl.h: Likewise.
19645 * include/fenv.h: Likewise.
19646 * include/glob.h: Likewise.
19647 * include/grp.h: Likewise.
19648 * include/libintl.h: Likewise.
19649 * include/mntent.h: Likewise.
19650 * include/netdb.h: Likewise.
19651 * include/pwd.h: Likewise.
19652 * include/rpc/netdb.h: Likewise.
19653 * include/sched.h: Likewise.
19654 * include/search.h: Likewise.
19655 * include/shadow.h: Likewise.
19656 * include/signal.h: Likewise.
19657 * include/stdio.h: Likewise.
19658 * include/stdlib.h: Likewise.
19659 * include/string.h: Likewise.
19660 * include/sys/socket.h: Likewise.
19661 * include/sys/stat.h: Likewise.
19662 * include/sys/statfs.h: Likewise.
19663 * include/sys/statvfs.h: Likewise.
19664 * include/sys/syslog.h: Likewise.
19665 * include/sys/time.h: Likewise.
19666 * include/sys/uio.h: Likewise.
19667 * include/time.h: Likewise.
19668 * include/unistd.h: Likewise.
19669 * include/utmp.h: Likewise.
19670 * include/wchar.h: Likewise.
19671 * include/wctype.h: Likewise.
19672 * inet/aliases.h: Likewise.
19673 * inet/arpa/inet.h: Likewise.
19674 * inet/netinet/ether.h: Likewise.
19675 * inet/netinet/in.h: Likewise.
19676 * intl/libintl.h: Likewise.
19677 * io/bits/fcntl2.h: Likewise.
19678 * io/fcntl.h: Likewise.
19679 * io/ftw.h: Likewise.
19680 * io/sys/poll.h: Likewise.
19681 * io/sys/stat.h: Likewise.
19682 * io/sys/statfs.h: Likewise.
19683 * io/sys/statvfs.h: Likewise.
19684 * io/utime.h: Likewise.
19685 * libio/bits/stdio.h: Likewise.
19686 * libio/bits/stdio2.h: Likewise.
19687 * libio/libio.h: Likewise.
19688 * libio/libioP.h: Likewise.
19689 * libio/stdio.h: Likewise.
19690 * locale/lc-ctype.c: Likewise.
19691 * locale/locale.h: Likewise.
19692 * login/utmp.h: Likewise.
19693 * malloc/arena.c: Likewise.
19694 * malloc/malloc.c: Likewise.
19695 * malloc/malloc.h: Likewise.
19696 * malloc/mcheck.c: Likewise.
19697 * malloc/mtrace.c: Likewise.
19698 * math/bits/mathcalls.h: Likewise.
19699 * math/fenv.h: Likewise.
19700 * math/math_private.h: Likewise.
19701 * misc/bits/error.h: Likewise.
19702 * misc/bits/syslog.h: Likewise.
19703 * misc/err.h: Likewise.
19704 * misc/error.h: Likewise.
19705 * misc/fstab.h: Likewise.
19706 * misc/mntent.h: Likewise.
19707 * misc/regexp.h: Likewise.
19708 * misc/search.h: Likewise.
19709 * misc/sgtty.h: Likewise.
19710 * misc/sys/mman.h: Likewise.
19711 * misc/sys/syslog.h: Likewise.
19712 * misc/sys/uio.h: Likewise.
19713 * misc/sys/xattr.h: Likewise.
19714 * misc/ttyent.h: Likewise.
19715 * nis/rpcsvc/ypclnt.h: Likewise.
19716 * nss/nss.h: Likewise.
19717 * posix/bits/unistd.h: Likewise.
19718 * posix/fnmatch.h: Likewise.
19719 * posix/glob.h: Likewise.
19720 * posix/sched.h: Likewise.
19721 * posix/spawn.h: Likewise.
19722 * posix/sys/wait.h: Likewise.
19723 * posix/unistd.h: Likewise.
19724 * posix/wordexp.h: Likewise.
19725 * pwd/pwd.h: Likewise.
19726 * resolv/netdb.h: Likewise.
19727 * resource/sys/resource.h: Likewise.
19728 * rt/aio.h: Likewise.
19729 * rt/bits/mqueue2.h: Likewise.
19730 * rt/mqueue.h: Likewise.
19731 * shadow/shadow.h: Likewise.
19732 * signal/signal.h: Likewise.
19733 * socket/send.c: Likewise.
19734 * socket/sendto.c: Likewise.
19735 * socket/sys/socket.h: Likewise.
19736 * stdio-common/printf.h: Likewise.
19737 * stdlib/bits/stdlib.h: Likewise.
19738 * stdlib/fmtmsg.h: Likewise.
19739 * stdlib/monetary.h: Likewise.
19740 * stdlib/stdlib.h: Likewise.
19741 * stdlib/ucontext.h: Likewise.
19742 * streams/stropts.h: Likewise.
19743 * string/argz.h: Likewise.
19744 * string/bits/string2.h: Likewise.
19745 * string/string.h: Likewise.
19746 * string/strings.h: Likewise.
19747 * sunrpc/rpc/auth.h: Likewise.
19748 * sunrpc/rpc/auth_des.h: Likewise.
19749 * sunrpc/rpc/clnt.h: Likewise.
19750 * sunrpc/rpc/netdb.h: Likewise.
19751 * sunrpc/rpc/pmap_clnt.h: Likewise.
19752 * sunrpc/rpc/xdr.h: Likewise.
19753 * sysdeps/generic/inttypes.h: Likewise.
19754 * sysdeps/generic/net/if.h: Likewise.
19755 * sysdeps/generic/sys/swap.h: Likewise.
19756 * sysdeps/gnu/net/if.h: Likewise.
19757 * sysdeps/gnu/utmpx.h: Likewise.
19758 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19759 * sysdeps/i386/i486/bits/string.h: Likewise.
19760 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19761 * sysdeps/s390/bits/string.h: Likewise.
19762 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19763 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19764 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19765 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19766 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19767 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19768 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19769 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19770 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19771 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19772 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19773 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19774 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19775 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19776 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19777 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19778 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19780 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19781 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19782 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19783 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19784 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19785 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19786 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19787 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19788 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19789 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19790 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19791 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19792 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19793 * sysvipc/sys/ipc.h: Likewise.
19794 * sysvipc/sys/msg.h: Likewise.
19795 * sysvipc/sys/sem.h: Likewise.
19796 * sysvipc/sys/shm.h: Likewise.
19797 * termios/termios.h: Likewise.
19798 * time/sys/time.h: Likewise.
19799 * time/time.h: Likewise.
19800 * wcsmbs/bits/wchar2.h: Likewise.
19801 * wcsmbs/uchar.h: Likewise.
19802 * wcsmbs/wchar.h: Likewise.
19803 * wctype/wctype.h: Likewise.
19806 * Makeconfig: Remove all but ELF support including AIX support.
19807 * Makerules: Likewise.
19808 * config.h.in: Likewise.
19809 * config.make.in: Likewise.
19810 * configure: Likewise.
19811 * configure.in: Likewise.
19812 * csu/Makefile: Likewise.
19813 * csu/version.c: Likewise.
19814 * debug/Makefile: Likewise.
19815 * dlfcn/Makefile: Likewise.
19816 * elf/Makefile: Likewise.
19817 * extra-lib.mk: Likewise.
19818 * iconv/Makefile: Likewise.
19819 * include/libc-symbols.h: Likewise.
19820 * include/shlib-compat.h: Likewise.
19821 * resolv/Makefile: Likewise.
19822 * resolv/res_libc.c: Likewise.
19823 * rt/Makefile: Likewise.
19824 * sysdeps/i386/asm-syntax.h: Likewise.
19825 * sysdeps/i386/sysdep.h: Likewise.
19826 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19827 * sysdeps/mach/sysdep.h: Likewise.
19828 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19829 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19830 * sysdeps/s390/asm-syntax.h: Likewise.
19831 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19832 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19833 * sysdeps/sh/sysdep.h: Likewise.
19834 * sysdeps/unix/sparc/sysdep.h: Likewise.
19835 * sysdeps/wordsize-32/divdi3.c: Likewise.
19836 * sysdeps/x86_64/sysdep.h: Likewise.
19838 * argp/Versions: Remove _argp_unlock_xxx.
19841 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19842 * abilist/libBrokenLocale.abilist: Likewise.
19843 * abilist/libanl.abilist: Likewise.
19844 * abilist/libc.abilist: Likewise.
19845 * abilist/libcrypt.abilist: Likewise.
19846 * abilist/libdl.abilist: Likewise.
19847 * abilist/libm.abilist: Likewise.
19848 * abilist/libnsl.abilist: Likewise.
19849 * abilist/libpthread.abilist: Likewise.
19850 * abilist/libresolv.abilist: Likewise.
19851 * abilist/librt.abilist: Likewise.
19852 * abilist/libthread_db.abilist: Likewise.
19853 * abilist/libutil.abilist: Likewise.
19854 * abilist/libnss_db.abilist: New file.
19856 * scripts/abilist.awk: Add support for indirect functions.
19858 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19860 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19862 * shlib-versions: Remove entries for ports architectures.
19864 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19866 * elf/stackguard-macros.h: Remove support for IA-64.
19867 * elf/tst-auditmod1.c: Likewise.
19868 * sysdeps/generic/ldsodefs.h: Likewise.
19870 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19871 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19875 * configure.in: Remove --enable-omitfp support.
19877 * config.make.in: Likewise.
19878 * Makeconfig: Likewise.
19879 * manual/install.texi: Likewise.
19881 In case anyone cares, the IA-64 architecture could move to ports.
19882 * sysdeps/ia64/*: Removed.
19883 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19884 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19887 * configure.in: Remove entries for unsupported architectures.
19890 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19891 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19893 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19894 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19895 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19896 fall back to using wcrtomb.
19897 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19898 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19900 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19901 * wcsmbs/tst-c16c32-1.c: New file.
19903 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19906 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19908 * elf/tst-unique3.cc: Add explicit declaration of gets.
19909 * elf/tst-unique3lib.cc: Likewise.
19910 * elf/tst-unique3lib2.cc: Likewise.
19911 * elf/tst-unique4.cc: Likewise.
19913 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19915 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19918 * assert/assert.h (static_assert): Don't define for C++.
19919 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19920 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19922 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19924 * iconv/loop.c (single loop): Fix assertion in storing of
19927 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19929 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19931 * posix/getconf.c: Update copyright year.
19932 * nss/getent.c: Likewise.
19933 * nss/makedb.c: Likewise.
19934 * iconv/iconvconfig.c: Likewise.
19935 * iconv/iconv_prog.c: Likewise.
19936 * elf/ldconfig.c: Likewise.
19937 * elf/pldd.c: Likewise.
19938 * elf/sotruss.ksh: Likewise.
19939 * catgets/gencat.c: Likewise.
19940 * csu/version.c: Likewise.
19941 * elf/ldd.bash.in: Likewise.
19942 * elf/sprof.c (print_version): Likewise.
19943 * locale/programs/locale.c: Likewise.
19944 * locale/programs/localedef.c: Likewise.
19945 * login/programs/pt_chown.c: Likewise.
19946 * nscd/nscd.c (print_version): Likewise.
19947 * debug/xtrace.sh: Likewise.
19948 * malloc/memusage.sh: Likewise.
19949 * malloc/mtrace.pl: Likewise.
19950 * debug/catchsegv.sh: Likewise.
19952 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19954 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19957 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19960 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19961 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19963 * iconv/gconv_int.h: Likewise.
19964 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19965 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19966 from libc for GLIBC_2.16.
19967 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19968 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19969 * wcsmbs/uchar.h: Really define mbstate_t.
19970 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19971 * wcsmbs/c16rtomb.c: New file.
19972 * wcsmbs/mbrtoc16.c: New file.
19973 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19974 for C/POSIX locale.
19975 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19976 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19978 * wcsmbs/wchar.h: Add missing __restrict.
19980 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19983 * time/Makefile (routines): Add timespec_get.
19984 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19985 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19986 timespec for ISO C11.
19987 * time/timespec_get.c: New file.
19988 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19989 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19992 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19993 * stdlib/stdlib.h: Declare aligned_alloc.
19994 * Versions.def: Add GLIBC_2.16 for libc.
19995 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19998 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20001 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20005 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20008 * assert/assert.h (static_assert): Define.
20010 * version.h: Update for 2.16 development version.
20013 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20016 * version.h (RELEASE): Bump for 2.15 release.
20017 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20019 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20020 Patch by Marek Polacek <mpolacek@redhat.com>.
20022 * bits/byteswap.h: Protect long long constants with __extension__.
20023 * sysdeps/i386/bits/byteswap.h: Likewise.
20024 * sysdeps/ia64/bits/byteswap.h: Likewise.
20025 * sysdeps/s390/bits/byteswap.h: Likewise.
20026 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20028 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20032 destination buffer.
20033 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20035 2011-12-23 Marek Polacek <polacek@redhat.com>
20037 * elf/dl-addr.c (determine_info): Add inline keyword.
20038 * elf/tst-auditmod4b.c (check_avx): Likewise.
20039 * elf/tst-auditmod6b.c (check_avx): Likewise.
20040 * elf/tst-auditmod6c.c (check_avx): Likewise.
20041 * elf/tst-auditmod7b.c (check_avx): Likewise.
20043 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20045 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20048 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20051 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20052 processing for last bytes.
20054 2011-08-06 Bruno Haible <bruno@clisp.org>
20057 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20058 U+0385, not to U+1FEE.
20061 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20062 entry for U+00A5 U+0301.
20064 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20067 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20068 buffer for the output is too small.
20070 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20074 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20075 SSE flags if possible.
20077 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20080 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20081 processing for last bytes.
20083 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20085 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20086 (syscall-list-default-options, syscall-list-default-condition)
20087 (syscall-list-includes): Define.
20088 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20089 list of ABIs and options and #if conditions for each ABI. Do not
20090 handle common syscalls between ABIs specially.
20091 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20093 (syscall-list-variants, syscall-list-32bit-options)
20094 (syscall-list-32bit-condition, syscall-list-64bit-options)
20095 (syscall-list-64bit-condition): Define.
20096 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20097 (syscall-list-variants, syscall-list-32bit-options)
20098 (syscall-list-32bit-condition, syscall-list-64bit-options)
20099 (syscall-list-64bit-condition): Define.
20100 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20102 (syscall-list-variants, syscall-list-32bit-options)
20103 (syscall-list-32bit-condition, syscall-list-64bit-options)
20104 (syscall-list-64bit-condition): Define.
20105 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20107 (syscall-list-variants, syscall-list-32bit-options)
20108 (syscall-list-32bit-condition, syscall-list-64bit-options)
20109 (syscall-list-64bit-condition): Define.
20111 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20113 * locale/iso-639.def: Add brx entry.
20116 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20117 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20119 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20120 __feraiseexcept_renamed.
20122 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20125 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20126 EPOLLET with unsigned values.
20127 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20128 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20130 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20131 to large cancellation.
20132 * math/s_cacoshf.c: Likewise.
20133 * math/s_cacoshl.c: Likewise.
20135 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20139 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20140 * math/s_cacoshf.c: Likewise.
20141 * math/s_cacoshl.c: Likewise.
20143 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20146 * iconv/gconv.h: Define __GCONV_SWAP.
20147 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20148 * iconvdata/utf-16.c: Likewise.
20149 * iconvdata/utf-32.c: Likewise.
20151 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20154 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20155 numerator after shifting it by one limb.
20157 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20159 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20160 under [__USE_EXTERN_INLINES].
20162 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20165 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20167 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20169 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20170 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20172 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20173 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20174 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20175 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20176 for strncasecmp/strncasecmp_l compilation.
20177 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20178 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20180 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20183 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20186 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20189 * time/tzfile.c (__tzfile_read): Check values from file header.
20191 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20193 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20194 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20195 * powerpc/powerpc32/dl-start.S: Likewise.
20196 * powerpc/powerpc32/elf/start.S: Likewise.
20197 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20198 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20199 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20200 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20201 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20202 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20203 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20204 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20205 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20206 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20207 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20208 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20209 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20210 * powerpc/powerpc32/memset.S: Likewise.
20211 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20212 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20213 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20214 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20215 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20216 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20217 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20218 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20219 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20220 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20221 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20222 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20223 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20225 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20227 * math/libm-test.inc: Added more nearbyint tests.
20228 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20229 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20230 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20231 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20233 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20235 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20238 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20240 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20241 Add wcscpy-ssse3 wcscpy-c.
20242 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20243 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20244 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20245 * sysdeps/x86_64/wcschr.S: New file.
20246 * sysdeps/x86_64/wcsrchr.S: New file.
20247 * string/test-strcmp.c: Remove checking of wcscmp function for
20249 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20250 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20251 wcsrchr-sse2 wcsrchr-c.
20252 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20253 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20254 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20255 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20256 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20257 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20258 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20259 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20260 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20261 * wcsmbc/wcschr.c (WCSCHR): New macro.
20263 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20265 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20266 * wcsmbs/test-wcsrchr.c: New file.
20267 * string/test-strrchr.c: Add wcsrchr support.
20269 * wcsmbs/test-wcscpy.c: New file.
20270 * string/test-strcpy.c: Add wcscpy support.
20273 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20275 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20278 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20281 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20283 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20285 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20286 Minor optimizations.
20288 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20289 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20290 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20292 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20294 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20295 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20296 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20297 for gcc to avoid warnings.
20298 * inet/Makefile (tests): Add tst-checks.
20299 * inet/tst-checks.c: New file.
20301 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20304 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20307 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20308 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20310 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20312 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20314 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20317 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20319 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20321 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20322 conditional on GCC version.
20323 (__arch_compare_and_exchange_val_8_acq)
20324 (__arch_compare_and_exchange_val_16_acq)
20325 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20326 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20327 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20329 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20331 * sysdeps/sh/backtrace.c: New file.
20333 2011-12-02 Andreas Schwab <schwab@redhat.com>
20335 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20338 2011-12-01 Andreas Schwab <schwab@redhat.com>
20340 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20341 falling back to utime.
20343 2011-11-30 Andreas Schwab <schwab@redhat.com>
20345 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20346 expectations for float.
20348 2011-11-29 Andreas Schwab <schwab@redhat.com>
20350 * locale/weight.h (findidx): Add parameter len.
20351 * locale/weightwc.h (findidx): Likewise.
20352 * posix/fnmatch_loop.c (FCT): Adjust caller.
20353 * posix/regcomp.c (build_equiv_class): Likewise.
20354 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20355 * posix/regexec.c (check_node_accept_bytes): Likewise.
20356 * string/strcoll_l.c (STRCOLL): Likewise.
20357 * string/strxfrm_l.c (STRXFRM): Likewise.
20359 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20361 * Makefile.in: Remove CVSOPT handling.
20362 * configure.in: Remove use of AC_REVISION.
20363 * iconvdata/Makefile (distribute): No need to filter out CVS.
20364 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20367 2011-11-16 Andreas Schwab <schwab@redhat.com>
20369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20370 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20371 [USE_AS_STRNCASECMP_L]: Likewise.
20372 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20373 NO_TLS_DIRECT_SEG_REFS.
20374 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20375 Fix argument offsets for non-PIC.
20376 [USE_AS_STRNCASECMP_L]: Likewise.
20377 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20378 NO_TLS_DIRECT_SEG_REFS.
20380 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20382 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20384 * locale/loadlocale.c (_nl_load_locale): Likewise.
20386 2011-11-15 Andreas Schwab <schwab@redhat.com>
20388 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20389 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20391 (SYSCALL_GETTIME): Set errno on error.
20393 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20394 count references to noai6ai_cached.
20396 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20398 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20400 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20401 FD_CLOEXEC for /proc/self/maps.
20403 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20404 FD_CLOEXEC for /proc/meminfo.
20406 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20409 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20410 FD_CLOEXEC for given file.
20412 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20414 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20415 FD_CLOEXEC for /etc/hosts.
20416 (_gethtent): Likewise.
20418 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20420 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20421 cancellation and set FD_CLOEXEC for /etc/netgroup.
20423 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20424 reading /etc/publickey.
20426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20427 allow cancellation when reading /etc/group.
20429 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20431 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20433 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20434 when using data file.
20436 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20438 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20439 (write_nis_obj): Use "c" and "e" in fopen.
20441 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20443 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20445 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20447 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20449 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20452 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20454 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20456 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20458 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20459 file parsing and set FD_CLOEXEC.
20461 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20463 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20465 2011-11-14 Andreas Schwab <schwab@redhat.com>
20467 * malloc/arena.c (arena_get2): Don't call reused_arena when
20468 _int_new_arena failed.
20470 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20472 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20473 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20474 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20475 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20477 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20478 to compile strcasecmp and strncasecmp.
20479 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20480 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20484 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20486 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20487 locale-defines.sym to gen-as-const-headers.
20488 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20489 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20491 to compile strcasecmp and strncasecmp.
20492 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20493 strcasecmp_l and strncasecmp_l.
20494 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20495 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20496 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20497 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20498 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20499 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20500 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20501 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20502 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20503 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20504 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20506 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20508 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20509 result of SYSDEP_GETTIME_CPU to retval.
20510 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20511 parameter list to macro. Remove trailing semicolon. Adjust users.
20513 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20516 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20518 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20520 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20521 from unused variable.
20523 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20525 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20528 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20531 * sunrpc/rpc_prot.c (rejected): Fix case value.
20533 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20534 unsigned long long int to avoid warnings in shift.
20536 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20538 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20541 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20542 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20543 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20545 * nis/nis_table.c (nis_list): Use variable of correct type for
20546 result of __follow_path call.
20548 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20550 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20551 of math functions ceil, trunc, floor, round, and sqrt, when
20552 avaliable on the platform.
20553 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20555 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20556 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20557 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20559 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20561 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20562 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20564 2011-11-11 Roland McGrath <roland@hack.frob.com>
20566 * include/unistd.h: Fix __readlink return type.
20567 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20569 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20571 * stdlib/ucontext.h: Undo last change for makecontext.
20573 2011-11-11 Andreas Schwab <schwab@redhat.com>
20575 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20577 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20578 * setjmp/setjmp.h: Mark functions as non-leaf.
20579 * setjmp/bits/setjmp2.h: Likewise.
20580 * stdlib/ucontext.h: Likewise.
20582 2011-11-10 Andreas Schwab <schwab@redhat.com>
20584 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20585 (reused_arena): Don't check arena limit.
20586 (arena_get2): Atomically check arena limit.
20588 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20590 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20591 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20596 2011-11-07 Andreas Schwab <schwab@redhat.com>
20598 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20599 handler when locking.
20601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20602 Fix size of allocated buffer.
20604 2011-11-04 Andreas Schwab <schwab@redhat.com>
20607 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20608 declarations for long double functions.
20609 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20611 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20613 2011-11-03 Andreas Schwab <schwab@redhat.com>
20615 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20618 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20621 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20623 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20625 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20627 * include/alloca.h (stackinfo_alloca_round): Define.
20628 (extend_alloca): Use it.
20629 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20630 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20633 * scripts/check-local-headers.sh: Ignore libaudit.h.
20635 * nscd/Makefile (extra-objs): Make recursively expanded.
20637 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20639 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20642 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20643 * posix/tst-rfc3484-2.c: Likewise.
20644 * posix/tst-rfc3484-3.c: Likewise.
20646 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20648 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20650 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20651 process_vm_writev from libc using GLIBC_2.15 version.
20653 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20655 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20657 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20660 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20663 * nss/getent.c (initgroups_keys): Show error message in case no group
20666 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20667 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20668 __bump_nl_timestamp.
20669 * nscd/connections (nscd_init): When host database is served open
20670 netlink socket and request notification about configuration changes.
20671 (main_loop_poll): Track netlink file descriptor and bump timestamp
20672 in case data becomes available.
20673 (main_loop_epoll): Likewise.
20674 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20675 (database_pers_head): Add extra_data fileds.
20676 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20677 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20678 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20681 in6ai data, call __free_in6ai.
20682 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20683 Add -DHAVE_NETLINK.
20684 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20685 interface information. Reuse previous data if netlink timestamp
20687 (__bump_nl_timestamp): New function.
20688 (__free_in6ai): New function.
20690 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20692 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20693 close_not_cancel_no_status here.
20694 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20696 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20699 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20702 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20703 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20704 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20706 2011-07-03 Andreas Jaeger <aj@suse.de>
20709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20710 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20711 * math/libm-test.inc (sin_test): Add test case.
20713 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20716 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20717 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20719 * elf/chroot_canon.c (chroot_canon): Cleanups.
20721 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20724 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20725 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20727 * string/test-strchr.c: Make usable for strchrnul testing.
20728 * string/test-strchrnul.c: New file.
20729 * string/Makefile (strop-tests): Add strchrnul.
20731 * po/it.po: Update from translation team.
20732 * po/es.po: Likewise.
20734 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20736 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20737 the three constants needed as parameters. Drop the others.
20738 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20739 __m128i_strloadu_tolower.
20740 Create and initialize variable zero and use it in all the places
20741 where _mm_setzero_si128 was used.
20743 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20744 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20745 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20746 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20748 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20750 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20751 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20752 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20753 __mpranred, __mptan.
20754 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20755 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20756 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20757 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20758 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20759 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20761 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20762 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20764 2011-10-28 Andreas Schwab <schwab@redhat.com>
20766 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20767 redefine if SHARED.
20768 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20771 wide char related routines to wcsmbs subdir.
20773 2011-10-27 Andreas Schwab <schwab@redhat.com>
20776 * misc/sys/cdefs.h (__THROWNL): Define.
20777 * posix/unistd.h: Use __THREADNL instead of __THREAD
20778 for memory synchronization functions.
20780 2011-10-26 Roland McGrath <roland@hack.frob.com>
20783 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20785 * manual/stdio.texi (Obstack Streams): Node removed.
20787 2011-10-26 Andreas Schwab <schwab@redhat.com>
20789 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20793 * math/math_private.h (math_force_eval): Allow non-addressable
20795 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20797 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20799 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20800 file is not needed.
20802 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20803 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20804 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20805 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20807 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20808 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20809 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20811 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20812 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20813 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20814 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20815 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20816 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20817 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20818 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20819 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20820 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20821 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20822 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20824 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20825 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20826 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20827 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20828 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20829 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20831 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20832 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20834 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20835 place. Use VEX encoding when compiling for AVX.
20837 2011-10-25 Andreas Schwab <schwab@redhat.com>
20839 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20840 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20842 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20844 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20846 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20847 useless if() expression.
20848 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20857 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20858 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20859 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20860 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20861 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20862 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20863 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20864 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20865 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20866 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20868 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20870 2011-10-25 Andreas Schwab <schwab@redhat.com>
20872 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20874 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20876 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20878 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20879 .text section. Avoid duplicate constants.
20880 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20889 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20890 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20892 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20893 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20894 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20895 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20896 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20897 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20898 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20901 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20904 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20905 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20906 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20907 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20908 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20909 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20910 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20911 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20912 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20913 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20914 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20915 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20916 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20917 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20918 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20919 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20920 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20922 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20923 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20924 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20926 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20928 * sysdeps/x86_64/dla.h: Move to ...
20929 * sysdeps/x86_64/fpu/dla.h: ...here.
20930 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20931 situations. Use __builtin_fma only for gcc 4.6 and up.
20933 * config.make.in: Add have-mfma4 entry.
20934 * configure.in: Substitute libc_cv_cc_fma4.
20935 * math/Makefile (dbl-only-routines): Add sincostab.
20936 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20937 Use __sincostab not sincos.
20938 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20940 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20945 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20946 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20947 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20948 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20950 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20951 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20953 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20954 define aliases when function name is a macro.
20955 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20956 sysdeps/ieee754/dbl-64/sincos.tbl.
20957 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20958 fma4-enabled routines.
20959 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20960 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20961 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20962 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20963 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20964 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20966 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20967 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20968 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20969 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20970 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20971 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20973 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20974 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20975 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20976 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20977 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20979 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20980 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20981 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20982 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20983 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20984 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20985 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20986 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20987 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20988 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20990 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21001 2011-10-24 Andreas Schwab <schwab@redhat.com>
21003 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21005 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21007 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21009 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21011 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21013 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21014 Remove unused variable magic_bits.
21015 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21017 * string/strnlen.c: Define and use STRNLEN macro.
21018 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21019 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21021 * wcsmbs/wcslen.c: Define and use WCSLEN.
21022 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21023 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21024 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21025 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21026 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21027 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21028 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21030 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21033 strnlen-sse2-no-bsf.
21034 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21036 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21037 Add strnlen support.
21038 (USE_AS_STRNLEN): New macro.
21039 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21040 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21041 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21042 * sysdeps/x86_64/wcslen.S: New file.
21044 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21046 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21047 XMM-moves are used for copying on small sizes.
21049 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21051 * wcsmbs/Makefile (strop-tests): Add wcschr.
21052 * wcsmbs/test-wcschr.c: New file.
21053 * string/test-strchr.c: Update.
21054 Add wcschr support.
21057 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21059 * wcsmbs/Makefile (strop-tests): Add wcslen.
21060 * wcsmbs/test-wcslen.c: New file.
21061 * string/test-strlen.c: Update.
21062 Add wcslen support.
21065 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21067 * po/it.po: Update from translation team.
21069 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21071 * sysdeps/x86_64/wcscmp.S: Update.
21072 Fix wrong comparison semantics.
21073 wcscmp shall use signed comparison not unsigned.
21074 Don't use substraction to avoid overflow bug.
21075 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21076 * wcsmbc/wcscmp.c: Likewise.
21077 * string/test-strcmp.c: Likewise.
21078 Add new tests to check cases with negative values.
21080 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21082 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21083 * sysdeps/x86_64/dla.h: ...here. New file.
21084 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21094 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21097 __ynl_finite aliases.
21099 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21103 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21105 [DLA_FMA] (EMULV): Use DLA_FMA.
21106 [DLA_FMA] (MUL12): Use EMULV.
21107 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21108 that are not needed.
21109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21117 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21119 * math/s_nan.c: Undef __nan.
21120 * math/s_nanf.c: Undef __nanf.
21121 * math/s_nanl.c: Undef __nanl.
21122 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21125 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21127 * math/s_catan.c: Add branch predictions.
21128 * math/s_catanf.c: Likewise.
21129 * math/s_catanh.c: Likewise.
21130 * math/s_catanhf.c: Likewise.
21131 * math/s_catanhl.c: Likewise.
21132 * math/s_catanl.c: Likewise.
21133 * math/s_cexp.c: Likewise.
21134 * math/s_cexpf.c: Likewise.
21135 * math/s_cexpl.c: Likewise.
21136 * math/s_clog.c: Likewise.
21137 * math/s_clog10.c: Likewise.
21138 * math/s_clog10f.c: Likewise.
21139 * math/s_clog10l.c: Likewise.
21140 * math/s_clogf.c: Likewise.
21141 * math/s_clogl.c: Likewise.
21142 * math/s_csqrt.c: Likewise.
21143 * math/s_csqrtf.c: Likewise.
21144 * math/s_csqrtl.c: Likewise.
21145 * math/s_ctanf.c: Likewise.
21146 * math/s_ctanh.c: Likewise.
21147 * math/s_ctanhf.c: Likewise.
21148 * math/s_ctanhl.c: Likewise.
21149 * math/s_ctanl.c: Likewise.
21151 * math/math_private.h: Define __nan, __nanf, __nanl.
21152 * math/s_cacosh.c: Include <math_private.h>.
21153 * math/s_cacoshl.c: Likewise.
21154 * math/s_casinh.c: Likewise.
21155 * math/s_casinhf.c: Likewise.
21156 * math/s_casinhl.c: Likewise.
21157 * math/s_ccos.c: Rely entire on ccosh.
21158 * math/s_ccosf.c: Rely entire on ccoshf.
21159 * math/s_ccosl.c: Rely entirely on ccoshl.
21160 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21161 Remove tests for FE_INVALID.
21162 * math/s_ccoshf.c: Likewise.
21163 * math/s_ccoshl.c: Likewise.
21164 * math/s_csin.c: Likewise.
21165 * math/s_csinf.c: Likewise.
21166 * math/s_csinh.c Likewise.
21167 * math/s_csinhf.c: Likewise.
21168 * math/s_csinhl.c: Likewise.
21169 * math/s_csinl.c: Likewise.
21170 * math/s_ctan.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21172 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21175 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21178 compilation problems.
21180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21183 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21185 * sysdeps/i386/configure.in: Test for -mfma4 option.
21186 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21187 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21188 COMMON_CPUID_INDEX_80000001.
21189 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21190 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21191 use it if FMA3 is not supported.
21192 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21194 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21195 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21197 2011-10-20 Andreas Schwab <schwab@redhat.com>
21200 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21201 it would create a cycle with a link time dependency.
21203 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21205 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21207 * string/Makefile (strop-tests): Add rawmemchr.
21208 * string/test-rawmemchr.c: New file.
21210 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21212 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21213 when compiling str{,n}casecmp and when AVX is available. Hook up
21214 new optimized code in initializers.
21216 2011-10-19 Andreas Schwab <schwab@redhat.com>
21218 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21219 __feraiseexcept instead of feraiseexcept.
21221 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21223 * math/math_private.h: Define defaults for libc_fetestexcept and
21225 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21226 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21227 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21228 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21229 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21230 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21231 libc_fetestexcept and libc_feupdateenv.
21233 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21234 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21235 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21236 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21237 libc_feholdexcept_setround.
21239 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21240 Add s_nearbyint-c and s_nearbyintf-c.
21241 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21242 nearbyintf inlines.
21243 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21244 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21245 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21246 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21248 * math/math_private.h: Define defaults for libc_fegetround,
21249 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21250 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21251 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21252 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21253 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21254 standard functions.
21255 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21256 Remove comments and hacks for old compiler versions.
21257 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21258 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21259 libc_feholdexceptl.
21261 2011-10-18 Andreas Schwab <schwab@redhat.com>
21263 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21264 (__feraiseexcept_renamed): Add __NTH.
21265 (feraiseexcept): Add __NTH. Rename local variables to fix
21266 namespace violations.
21268 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21272 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21274 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21275 recently added interfaces.
21276 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21278 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21279 about macro parameter expansion.
21281 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21282 __NO_MATH_INLINES is defined. Cleanups.
21284 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21285 and __floorf is target has SSE4.1.
21286 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21287 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21288 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21289 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21291 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21293 (floorf): Likewise.
21295 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21297 2011-10-17 Andreas Schwab <schwab@redhat.com>
21299 * misc/sys/cdefs.h: Fix last change.
21301 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21304 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21306 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21308 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21310 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21311 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21314 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21316 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21317 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21318 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21319 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21320 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21321 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21322 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21323 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21324 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21325 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21326 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21327 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21328 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21329 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21331 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21332 ceil, ceilf, floor, floorf.
21334 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21335 Perform IRELATIVE relocations last.
21337 * elf/do-rel.h: Add another parameter nrelative, replacing the
21338 local variable with the same name. Change name of the function
21339 to end in Rel or Rela (uppercase).
21340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21341 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21342 elf_dynamic_do_##reloc function.
21344 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21346 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21347 is sufficient, at least on modern CPUs.
21349 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21351 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21352 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21354 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21356 * math/bits/math-finite.h: Add entries for exp.
21357 * math/e_expl.c: Add __*_finite alias.
21358 * sysdeps/i386/fpu/e_exp.S: Likewise.
21359 * sysdeps/i386/fpu/e_expf.S: Likewise.
21360 * sysdeps/i386/fpu/e_expl.c: Likewise.
21361 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21362 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21363 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21365 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21366 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21367 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21369 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21370 is sufficient, at least on modern CPUs.
21372 * ctype/ctype-info.c (__ctype_init): Define.
21373 * include/ctype.h (__ctype_init): Declare.
21374 (__ctype_b_loc): The variable is always initialized.
21375 (__ctype_toupper_loc): Likewise.
21376 (__ctype_tolower_loc): Likewise.
21377 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21378 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21380 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21382 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21384 * configure.in: Also look in $cxxmachine/include for C++ system
21387 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21389 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21390 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21391 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21392 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21393 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21394 (USE_AS_WMEMCMP): New macro.
21396 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21397 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21398 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21399 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21401 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21402 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21403 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21404 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21405 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21406 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21407 (USE_AS_WMEMCMP): New macro.
21408 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21409 * sysdeps/string/test-memcmp.c: Update.
21410 Fix simple_wmemcmp.
21412 * wcsmbs/wmemcmp.c: Update.
21413 (WMEMCMP): New macro.
21416 2011-10-12 Andreas Jaeger <aj@suse.de>
21419 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21421 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21423 * libio/iofwide.c (do_length): Avoid warning.
21425 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21427 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21429 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21431 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21432 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21433 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21434 * sysdeps/i386/i686/fpu/e_log.S: New file.
21435 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21436 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21438 * ctype/ctype.h: Add support for inlined isXXX functions when
21439 compiling C++ code.
21441 2011-10-14 Andreas Schwab <schwab@redhat.com>
21443 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21445 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21447 2011-10-13 Roland McGrath <roland@hack.frob.com>
21450 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21452 2011-10-13 Andreas Schwab <schwab@redhat.com>
21454 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21455 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21458 * sysdeps/x86_64/memrchr.S: Check for zero size.
21460 * string/stratcliff.c: Add memrchr tests.
21462 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21465 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21466 rawmemchr-sse2 rawmemchr-sse2-bsf.
21467 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21468 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21469 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21470 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21471 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21472 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21473 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21474 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21475 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21476 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21477 * string/memrchr.c (MEMRCHR): New macro.
21479 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21481 Add integration with gcc's -ffinite-math-only and optimize wrapper
21483 * Versions.def: Define GLIBC_2.15 version for libm.
21484 * math/Makefile (headers): Add bits/math-finite.h.
21485 * math/bits/math-finite.h: New file.
21486 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21487 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21488 * math/e_acoshl.c: Add __*_finite alias.
21489 * math/e_acosl.c: Likewise.
21490 * math/e_asinl.c: Likewise.
21491 * math/e_atan2l.c: Likewise.
21492 * math/e_atanhl.c: Likewise.
21493 * math/e_coshl.c: Likewise.
21494 * math/e_exp10.c: Likewise.
21495 * math/e_exp10f.c: Likewise.
21496 * math/e_exp10l.c: Likewise.
21497 * math/e_exp2l.c: Likewise.
21498 * math/e_fmodl.c: Likewise.
21499 * math/e_gammal_r.c: Likewise.
21500 * math/e_hypotl.c: Likewise.
21501 * math/e_j0l.c: Likewise.
21502 * math/e_j1l.c: Likewise.
21503 * math/e_jnl.c: Likewise.
21504 * math/e_lgammal_r.c: Likewise.
21505 * math/e_log10l.c: Likewise.
21506 * math/e_log2l.c: Likewise.
21507 * math/e_logl.c: Likewise.
21508 * math/e_powl.c: Likewise.
21509 * math/e_sinhl.c: Likewise.
21510 * math/e_sqrtl.c: Likewise.
21511 * math/e_scalb.c: Completely rewritten and optimized.
21512 * math/e_scalbf.c: Likewise.
21513 * math/e_scalbl.c: Likewise.
21514 * math/w_acos.c: Likewise.
21515 * math/w_acosf.c: Likewise.
21516 * math/w_acosl.c: Likewise.
21517 * math/w_acosh.c: Likewise.
21518 * math/w_acoshf.c: Likewise.
21519 * math/w_acoshl.c: Likewise.
21520 * math/w_asin.c: Likewise.
21521 * math/w_asinf.c: Likewise.
21522 * math/w_asinl.c: Likewise.
21523 * math/w_atan2.c: Likewise.
21524 * math/w_atan2f.c: Likewise.
21525 * math/w_atan2l.c: Likewise.
21526 * math/w_atanh.c: Likewise.
21527 * math/w_atanhf.c: Likewise.
21528 * math/w_atanhl.c: Likewise.
21529 * math/w_exp10.c: Likewise.
21530 * math/w_exp10f.c: Likewise.
21531 * math/w_exp10l.c: Likewise.
21532 * math/w_fmod.c: Likewise.
21533 * math/w_fmodf.c: Likewise.
21534 * math/w_fmodl.c: Likewise.
21535 * math/w_j0.c: Likewise.
21536 * math/w_j0f.c: Likewise.
21537 * math/w_j0l.c: Likewise.
21538 * math/w_j1.c: Likewise.
21539 * math/w_j1f.c: Likewise.
21540 * math/w_j1l.c: Likewise.
21541 * math/w_jn.c: Likewise.
21542 * math/w_jnf.c: Likewise.
21543 * math/w_log.c: Likewise.
21544 * math/w_logf.c: Likewise.
21545 * math/w_logl.c: Likewise.
21546 * math/w_log10.c: Likewise.
21547 * math/w_log10f.c: Likewise.
21548 * math/w_log10l.c: Likewise.
21549 * math/w_log2.c: Likewise.
21550 * math/w_log2f.c: Likewise.
21551 * math/w_log2l.c: Likewise.
21552 * math/w_pow.c: Likewise.
21553 * math/w_powf.c: Likewise.
21554 * math/w_powl.c: Likewise.
21555 * math/w_remainder.c: Likewise.
21556 * math/w_remainderf.c: Likewise.
21557 * math/w_remainderl.c: Likewise.
21558 * math/w_scalb.c: Likewise.
21559 * math/w_scalbf.c: Likewise.
21560 * math/w_scalbl.c: Likewise.
21561 * math/w_sqrt.c: Likewise.
21562 * math/w_sqrtf.c: Likewise.
21563 * math/w_sqrtl.c: Likewise.
21564 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21565 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21567 * math/math_private.h: Declare __kernel_standard_f.
21568 * math/w_cosh.c: Remove cruft and optimize a bit.
21569 * math/w_coshf.c: Likewise.
21570 * math/w_coshl.c: Likewise.
21571 * math/w_exp2.c: Likewise.
21572 * math/w_exp2f.c: Likewise.
21573 * math/w_exp2l.c: Likewise.
21574 * math/w_hypot.c: Likewise.
21575 * math/w_hypotf.c: Likewise.
21576 * math/w_hypotl.c: Likewise.
21577 * math/w_lgamma.c: Likewise.
21578 * math/w_lgamma_r.c: Likewise.
21579 * math/w_lgammaf.c: Likewise.
21580 * math/w_lgammaf_r.c: Likewise.
21581 * math/w_lgammal.c: Likewise.
21582 * math/w_lgammal_r.c: Likewise.
21583 * math/w_sinh.c: Likewise.
21584 * math/w_sinhf.c: Likewise.
21585 * math/w_sinhl.c: Likewise.
21586 * math/w_tgamma.c: Likewise.
21587 * math/w_tgammaf.c: Likewise.
21588 * math/w_tgammal.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21590 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21591 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21592 Minor optimizations. Pretty printing. Remove cruft.
21593 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21594 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21595 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21596 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21597 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21598 * sysdeps/i386/fpu/e_asin.S: Likewise.
21599 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21600 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21601 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21602 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21603 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21604 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21605 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21606 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21607 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21608 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21609 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21610 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21611 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21612 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21613 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21614 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21615 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21616 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21617 * sysdeps/i386/fpu/e_log.S: Likewise.
21618 * sysdeps/i386/fpu/e_log10.S: Likewise.
21619 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21620 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21621 * sysdeps/i386/fpu/e_log2.S: Likewise.
21622 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21623 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21624 * sysdeps/i386/fpu/e_logf.S: Likewise.
21625 * sysdeps/i386/fpu/e_logl.S: Likewise.
21626 * sysdeps/i386/fpu/e_pow.S: Likewise.
21627 * sysdeps/i386/fpu/e_powf.S: Likewise.
21628 * sysdeps/i386/fpu/e_powl.S: Likewise.
21629 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21630 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21631 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21632 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21633 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21634 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21635 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21636 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21637 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21639 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21641 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21642 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21659 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21662 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21663 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21665 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21666 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21667 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21668 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21669 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21670 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21671 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21672 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21673 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21674 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21675 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21676 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21677 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21678 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21679 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21680 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21681 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21684 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21690 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21691 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21692 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21715 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21730 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21731 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21732 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21733 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21734 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21735 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21736 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21737 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21738 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21739 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21740 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21741 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21742 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21743 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21744 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21745 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21746 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21747 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21748 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21749 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21750 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21751 (__isnanf): Likewise.
21752 (__isinf_ns): Likewise.
21753 (__isinf_nsf): Likewise.
21754 (__finite): Likewise.
21755 (__finitef): Likewise.
21756 (__ieee754_sqrt): Define as macro.
21757 (__ieee754_sqrtf): Define as macro.
21758 (__ieee754_sqrtl): Define as macro.
21759 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21761 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21762 __FINITE_MATH_ONLY__ consistent.
21763 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21765 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21767 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21770 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21772 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21774 * po/ja.po: Update from translation team.
21776 2011-10-08 Roland McGrath <roland@hack.frob.com>
21778 * locale/programs/locarchive.c (prepare_address_space): New function.
21779 (create_archive, enlarge_archive, open_archive): Use it.
21781 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21782 inside [SHARED], where it is used.
21784 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21786 * nss/getent.c (netgroup_keys): Remove unused variable.
21787 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21789 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21791 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21792 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21794 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21795 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21796 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21797 * math/Makefile (libm-calls): Add s_isinf_ns.
21798 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21799 * math/multc3.c: Likewise.
21800 * math/s_casin.c: Likewise.
21801 * math/s_casinf.c: Likewise.
21802 * math/s_casinl.c: Likewise.
21803 * math/s_ccos.c: Likewise.
21804 * math/s_ccosf.c: Likewise.
21805 * math/s_ccosl.c: Likewise.
21806 * math/s_ctan.c: Likewise.
21807 * math/s_ctanf.c: Likewise.
21808 * math/s_ctanh.c: Likewise.
21809 * math/s_ctanhf.c: Likewise.
21810 * math/s_ctanhl.c: Likewise.
21811 * math/s_ctanl.c: Likewise.
21812 * math/w_fmod.c: Likewise.
21813 * math/w_fmodf.c: Likewise.
21814 * math/w_fmodl.c: Likewise.
21815 * math/w_remainder.c: Likewise.
21816 * math/w_remainderf.c: Likewise.
21817 * math/w_remainderl.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21819 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21820 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21822 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21823 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21824 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21825 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21827 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21829 * stdio-common/printf_fphex.c: Likewise.
21830 * stdio-common/printf_size.c: Likewise.
21832 * math/e_exp10.c: Include math_private.h using <...> not "...".
21833 * math/e_exp10f.c: Likewise.
21834 * math/e_exp10l.c: Likewise.
21835 * math/e_exp2l.c: Likewise.
21836 * math/e_j0l.c: Likewise.
21837 * math/e_j1l.c: Likewise.
21838 * math/e_jnl.c: Likewise.
21839 * math/e_lgammal_r.c: Likewise.
21840 * math/e_rem_pio2l.c: Likewise.
21841 * math/e_scalb.c: Likewise.
21842 * math/e_scalbf.c: Likewise.
21843 * math/e_scalbl.c: Likewise.
21844 * math/k_cosl.c: Likewise.
21845 * math/k_sinl.c: Likewise.
21846 * math/k_tanl.c: Likewise.
21847 * math/s_cacoshf.c: Likewise.
21848 * math/s_catan.c: Likewise.
21849 * math/s_catanf.c: Likewise.
21850 * math/s_catanh.c: Likewise.
21851 * math/s_catanhf.c: Likewise.
21852 * math/s_catanhl.c: Likewise.
21853 * math/s_catanl.c: Likewise.
21854 * math/s_ccosh.c: Likewise.
21855 * math/s_ccoshf.c: Likewise.
21856 * math/s_ccoshl.c: Likewise.
21857 * math/s_cexp.c: Likewise.
21858 * math/s_cexpf.c: Likewise.
21859 * math/s_cexpl.c: Likewise.
21860 * math/s_clog.c: Likewise.
21861 * math/s_clog10.c: Likewise.
21862 * math/s_clog10f.c: Likewise.
21863 * math/s_clog10l.c: Likewise.
21864 * math/s_clogf.c: Likewise.
21865 * math/s_clogl.c: Likewise.
21866 * math/s_csin.c: Likewise.
21867 * math/s_csinf.c: Likewise.
21868 * math/s_csinh.c: Likewise.
21869 * math/s_csinhf.c: Likewise.
21870 * math/s_csinhl.c: Likewise.
21871 * math/s_csinl.c: Likewise.
21872 * math/s_csqrt.c: Likewise.
21873 * math/s_csqrtf.c: Likewise.
21874 * math/s_csqrtl.c: Likewise.
21875 * math/s_ctan.c: Likewise.
21876 * math/s_ctanf.c: Likewise.
21877 * math/s_ctanh.c: Likewise.
21878 * math/s_ctanhf.c: Likewise.
21879 * math/s_ctanhl.c: Likewise.
21880 * math/s_ctanl.c: Likewise.
21881 * math/s_ldexp.c: Likewise.
21882 * math/s_ldexpf.c: Likewise.
21883 * math/s_ldexpl.c: Likewise.
21884 * math/s_significand.c: Likewise.
21885 * math/s_significandf.c: Likewise.
21886 * math/s_significandl.c: Likewise.
21887 * math/w_acos.c: Likewise.
21888 * math/w_acosf.c: Likewise.
21889 * math/w_acosh.c: Likewise.
21890 * math/w_acoshf.c: Likewise.
21891 * math/w_acoshl.c: Likewise.
21892 * math/w_acosl.c: Likewise.
21893 * math/w_asin.c: Likewise.
21894 * math/w_asinf.c: Likewise.
21895 * math/w_asinl.c: Likewise.
21896 * math/w_atan2.c: Likewise.
21897 * math/w_atan2f.c: Likewise.
21898 * math/w_atan2l.c: Likewise.
21899 * math/w_atanh.c: Likewise.
21900 * math/w_atanhf.c: Likewise.
21901 * math/w_atanhl.c: Likewise.
21902 * math/w_cosh.c: Likewise.
21903 * math/w_coshf.c: Likewise.
21904 * math/w_coshl.c: Likewise.
21905 * math/w_dremf.c: Likewise.
21906 * math/w_exp10.c: Likewise.
21907 * math/w_exp10f.c: Likewise.
21908 * math/w_exp10l.c: Likewise.
21909 * math/w_exp2.c: Likewise.
21910 * math/w_exp2f.c: Likewise.
21911 * math/w_fmod.c: Likewise.
21912 * math/w_fmodf.c: Likewise.
21913 * math/w_fmodl.c: Likewise.
21914 * math/w_hypot.c: Likewise.
21915 * math/w_hypotf.c: Likewise.
21916 * math/w_hypotl.c: Likewise.
21917 * math/w_j0.c: Likewise.
21918 * math/w_j0f.c: Likewise.
21919 * math/w_j0l.c: Likewise.
21920 * math/w_j1.c: Likewise.
21921 * math/w_j1f.c: Likewise.
21922 * math/w_j1l.c: Likewise.
21923 * math/w_jn.c: Likewise.
21924 * math/w_jnf.c: Likewise.
21925 * math/w_jnl.c: Likewise.
21926 * math/w_lgamma.c: Likewise.
21927 * math/w_lgamma_r.c: Likewise.
21928 * math/w_lgammaf.c: Likewise.
21929 * math/w_lgammaf_r.c: Likewise.
21930 * math/w_lgammal.c: Likewise.
21931 * math/w_lgammal_r.c: Likewise.
21932 * math/w_log.c: Likewise.
21933 * math/w_log10.c: Likewise.
21934 * math/w_log10f.c: Likewise.
21935 * math/w_log10l.c: Likewise.
21936 * math/w_log2.c: Likewise.
21937 * math/w_log2f.c: Likewise.
21938 * math/w_log2l.c: Likewise.
21939 * math/w_logf.c: Likewise.
21940 * math/w_logl.c: Likewise.
21941 * math/w_pow.c: Likewise.
21942 * math/w_powf.c: Likewise.
21943 * math/w_powl.c: Likewise.
21944 * math/w_remainder.c: Likewise.
21945 * math/w_remainderf.c: Likewise.
21946 * math/w_remainderl.c: Likewise.
21947 * math/w_scalb.c: Likewise.
21948 * math/w_scalbf.c: Likewise.
21949 * math/w_scalbl.c: Likewise.
21950 * math/w_sinh.c: Likewise.
21951 * math/w_sinhf.c: Likewise.
21952 * math/w_sinhl.c: Likewise.
21953 * math/w_sqrt.c: Likewise.
21954 * math/w_sqrtf.c: Likewise.
21955 * math/w_sqrtl.c: Likewise.
21956 * math/w_tgamma.c: Likewise.
21957 * math/w_tgammaf.c: Likewise.
21958 * math/w_tgammal.c: Likewise.
21960 * po/ja.po: Update from translation team.
21962 2011-09-29 Andreas Jaeger <aj@suse.de>
21965 * sunrpc/netname.c (netname2host): Fix logic.
21969 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21971 * math/w_remainder.c (__remainder): Likewise.
21972 * math/w_remainderf.c (__remainderf): Likewise.
21973 * math/libm-test.inc (remainder_test): Add test cases.
21975 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21977 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21980 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21982 * string/test-memcmp.c: Avoid unncessary #defines.
21983 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21985 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21987 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21988 Use new sse2 version for core i3 - i7 as it's faster
21989 than sse42 version.
21990 (bit_Prefer_PMINUB_for_stringop): New.
21991 * sysdeps/x86_64/rawmemchr.S: Update.
21992 Replace with faster SSE2 version.
21993 * sysdeps/x86_64/memrchr.S: New file.
21994 * sysdeps/x86_64/memchr.S: Update.
21995 Replace with faster SSE2 version.
21997 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21999 * elf/dl-load.c (lose): Add cast to avoid warning.
22001 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22003 * po/ca.po: Update from translation team.
22005 * inet/getnetgrent_r.c: Hook up nscd.
22006 * nscd/Makefile (routines): Add nscd_netgroup.
22007 (nscd-modules): Add netgroupcache.
22008 (CFLAGS-netgroupcache.c): Define.
22009 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22010 (cache_search): Add const to second parameter.
22011 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22013 (dbs): Add netgrdb entry.
22014 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22015 (verify_persistent_db): Handle netgrdb.
22016 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22017 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22019 (netgroup_response_header): Define.
22020 (innetgroup_response_header): Define.
22021 (datahead): Add netgroup_response_header and innetgroup_response_header
22023 * nscd/nscd.conf: Add entries for netgroup cache.
22024 * nscd/nscd.h (dbtype): Add netgrdb.
22025 (_PATH_NSCD_NETGROUP_DB): Define.
22026 (netgroup_iov_disabled): Declare.
22027 (xmalloc, xcalloc, xrealloc): Move declarations here.
22028 (cache_search): Adjust prototype.
22029 Add netgroup-related prototypes.
22030 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22031 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22032 (__nscd_innetgr): Declare.
22033 * nscd/selinux.c (perms): Use access_vector_t as element type and
22034 add netgroup-related initializers.
22035 * nscd/netgroupcache.c: New file.
22036 * nscd/nscd_netgroup.c: New file.
22037 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22038 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22039 For four parameters use innetgr.
22040 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22041 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22042 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22043 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22045 * nscd/connections.c (register_traced_file): Don't register file
22046 for disabled databases.
22048 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22050 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22052 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22053 from tree and freeing node.
22055 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22057 * nss/nsswitch.c (__nss_database_lookup): Handle
22058 nss_parse_service_list out of memory case.
22060 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22062 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22063 out of memory case.
22065 2011-10-04 Andreas Schwab <schwab@redhat.com>
22067 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22068 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22070 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22071 elf_machine_rela, elf_machine_lazy_rel.
22072 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22073 (ELF_DYNAMIC_DO_REL): Likewise.
22074 (ELF_DYNAMIC_DO_RELA): Likewise.
22075 (ELF_DYNAMIC_RELOCATE): Likewise.
22076 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22077 to ELF_DYNAMIC_DO_REL.
22078 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22079 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22080 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22082 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22083 skip_ifunc, don't call ifunc function if non-zero.
22084 (elf_machine_rela): Likewise.
22085 (elf_machine_lazy_rel): Likewise.
22086 (elf_machine_lazy_rela): Likewise.
22087 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22088 (elf_machine_lazy_rel): Likewise.
22089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22091 (elf_machine_lazy_rel): Likewise.
22092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22094 (elf_machine_lazy_rel): Likewise.
22095 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22096 (elf_machine_lazy_rel): Likewise.
22097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22098 (elf_machine_lazy_rel): Likewise.
22099 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22100 (elf_machine_lazy_rel): Likewise.
22101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22102 (elf_machine_lazy_rel): Likewise.
22103 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22104 (elf_machine_lazy_rel): Likewise.
22105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22106 (elf_machine_lazy_rel): Likewise.
22108 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22110 * nss/nss_files/files-init.c (_nss_files_init): Use static
22111 initialization for all the *_traced_file variables.
22113 2011-09-28 Andreas Schwab <schwab@redhat.com>
22115 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22117 2011-09-27 Roland McGrath <roland@hack.frob.com>
22120 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22122 2011-09-27 Andreas Schwab <schwab@redhat.com>
22124 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22125 Reread the line before reparsing it.
22127 2011-09-26 Andreas Schwab <schwab@redhat.com>
22129 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22131 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22132 Maxim Kuvyrkov <maxim@codesourcery.com>
22133 Joseph Myers <joseph@codesourcery.com>
22135 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22136 if needed for __stack_chk_guard.
22138 2011-09-19 Roland McGrath <roland@hack.frob.com>
22140 * sysdeps/posix/spawni.c (script_execute): Always define it.
22141 It will be optimized away if unused.
22142 (maybe_script_execute): New function.
22143 (__spawni): Call it.
22145 * Makerules: Don't include tls.make.
22146 (config-tls): Always set to thread.
22147 * tls.make.c: File removed.
22149 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22151 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22152 * config.make.in (CPPFLAGS-config): New substituted variable.
22154 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22156 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22159 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22160 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22162 2011-09-15 Roland McGrath <roland@hack.frob.com>
22164 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22165 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22166 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22167 (CALL_FAIL): Likewise.
22168 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22169 (CALL_FAIL): Macro removed.
22170 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22172 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22174 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22175 for __FINITE_MATH_ONLY__ == 1.
22177 2011-09-15 Andreas Schwab <schwab@redhat.com>
22179 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22180 __ieee754_sqrt instead of sqrt.
22181 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22182 __ieee754_sqrtf instead of sqrtf.
22183 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22184 __floorf instead of floorf.
22185 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22186 __floorf, __truncf instead of floorf, truncf.
22188 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22190 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22192 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22193 __extern_always_inline.
22194 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22197 2011-09-14 Andreas Schwab <schwab@redhat.com>
22199 * elf/rtld.c (dl_main): Also relocate in dependency order when
22200 doing symbol dependency testing.
22202 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22205 Always define `refsym'.
22207 2011-09-13 Andreas Schwab <schwab@redhat.com>
22209 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22210 (__FD_ELT): Renamed from __FDELT.
22211 * misc/bits/select2.h (__FD_ELT): Likewise.
22212 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22213 __FD_MASK instead of __FDELT, __FDMASK.
22214 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22216 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22219 * elf/Makefile (gen-ldd): Fix pattern.
22221 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22222 (init_tls): Likewise.
22224 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22226 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22228 2011-09-12 Andreas Schwab <schwab@redhat.com>
22230 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22231 `struct cmsghdr *' instead of `void *'.
22232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22235 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22237 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22239 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22240 ldd_rewrite_script.
22242 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22244 * configure.in: Remove --with-tls option.
22245 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22246 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22247 out in case it is missing.
22248 * sysdeps/ia64/elf/configure.in: Likewise.
22249 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22250 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22251 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22252 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22253 * sysdeps/sh/elf/configure.in: Likewise.
22254 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22255 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22256 * sysdeps/x86_64/elf/configure.in: Likewise.
22257 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22258 * sysdeps/mach/hurd/tls.h: Likewise.
22261 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22264 * configure.in: Fix use of AC_INIT.
22266 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22268 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22270 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22272 * malloc/hooks.c: Likewise.
22275 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22276 variables statically.
22277 (narenas): Initialize.
22278 (list_lock): Initialize.
22279 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22280 initializtion of main_arena and list_lock. Small cleanups.
22281 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22282 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22283 Add initializers to main_arena and mp_.
22284 (malloc_state): Remove pagesize member. Change all users to use
22287 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22288 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22289 is always initialized.
22291 * malloc/malloc.c: Removed unused configurations and dead code.
22292 * malloc/arena.c: Likewise.
22293 * malloc/hooks.c: Likewise.
22294 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22296 * include/tls.h: Removed. USE___THREAD must always be defined.
22297 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22298 * elf/dl-libc.c: Likewise.
22299 * elf/dl-tsd.c: Likewise.
22300 * include/errno.h: Likewise.
22301 * include/netdb.h: Likewise.
22302 * include/resolv.h: Likewise.
22303 * inet/herrno-loc.c: Likewise.
22304 * inet/herrno.c: Likewise.
22305 * malloc/arena.c: Likewise.
22306 * malloc/hooks.c: Likewise.
22307 * malloc/malloc.c: Likewise.
22308 * resolv/res-state.c: Likewise.
22309 * resolv/res_libc.c: Likewise.
22310 * sysdeps/i386/dl-machine.h: Likewise.
22311 * sysdeps/ia64/dl-machine.h: Likewise.
22312 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22313 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22314 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22315 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22316 * sysdeps/sh/dl-machine.h: Likewise.
22317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22318 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22319 * sysdeps/unix/i386/sysdep.S: Likewise.
22320 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22321 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22326 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22330 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22331 * sysdeps/x86_64/dl-machine.h: Likewise.
22332 * tls.make.c: Likewise.
22334 * configure.in: Remove --with-__thread option. Make tests for
22335 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22336 tls_model attribute fail if no support is available. Remove
22338 * Makeconfig: Adjust for dropped configure option. All features are
22340 * Makerules: Likewise.
22341 * Versions.def: Likewise.
22342 * argp/argp-fmtstream.c: Likewise.
22343 * argp/argp-fmtstream.h: Likewise.
22344 * argp/argp-help.c: Likewise.
22345 * assert/assert.c: Likewise.
22346 * config.h.in: Likewise.
22347 * config.make.in: Likewise.
22348 * configure: Likewise.
22349 * configure.in: Likewise.
22350 * csu/Versions: Likewise.
22351 * csu/init.c: Likewise.
22352 * elf/tst-audit2.c: Likewise.
22353 * elf/tst-tls10.c: Likewise.
22354 * elf/tst-tls10.h: Likewise.
22355 * elf/tst-tls11.c: Likewise.
22356 * elf/tst-tls12.c: Likewise.
22357 * elf/tst-tls14.c: Likewise.
22358 * elf/tst-tlsmod11.c: Likewise.
22359 * elf/tst-tlsmod12.c: Likewise.
22360 * elf/tst-tlsmod13.c: Likewise.
22361 * elf/tst-tlsmod13a.c: Likewise.
22362 * elf/tst-tlsmod14a.c: Likewise.
22363 * elf/tst-tlsmod15b.c: Likewise.
22364 * elf/tst-tlsmod16a.c: Likewise.
22365 * elf/tst-tlsmod16b.c: Likewise.
22366 * elf/tst-tlsmod7.c: Likewise.
22367 * elf/tst-tlsmod8.c: Likewise.
22368 * elf/tst-tlsmod9.c: Likewise.
22369 * gmon/gmon.c: Likewise.
22370 * grp/fgetgrent_r.c: Likewise.
22371 * grp/putgrent.c: Likewise.
22372 * hurd/fopenport.c: Likewise.
22373 * include/libc-symbols.h: Likewise.
22374 * include/tls.h: Likewise.
22375 * intl/gettextP.h: Likewise.
22376 * intl/loadinfo.h: Likewise.
22377 * locale/global-locale.c: Likewise.
22378 * locale/localeinfo.h: Likewise.
22379 * mach/devstream.c: Likewise.
22380 * malloc/arena.c: Likewise.
22381 * malloc/set-freeres.c: Likewise.
22382 * misc/err.c: Likewise.
22383 * misc/getttyent.c: Likewise.
22384 * misc/mntent_r.c: Likewise.
22385 * posix/getopt.c: Likewise.
22386 * posix/wordexp.c: Likewise.
22387 * pwd/fgetpwent_r.c: Likewise.
22388 * resolv/Versions: Likewise.
22389 * resolv/res_hconf.c: Likewise.
22390 * shadow/fgetspent_r.c: Likewise.
22391 * shadow/putspent.c: Likewise.
22392 * stdio-common/printf_fphex.c: Likewise.
22393 * stdio-common/tmpfile.c: Likewise.
22394 * stdlib/abort.c: Likewise.
22395 * stdlib/fmtmsg.c: Likewise.
22396 * sunrpc/auth_unix.c: Likewise.
22397 * sunrpc/clnt_perr.c: Likewise.
22398 * sunrpc/clnt_tcp.c: Likewise.
22399 * sunrpc/clnt_udp.c: Likewise.
22400 * sunrpc/clnt_unix.c: Likewise.
22401 * sunrpc/openchild.c: Likewise.
22402 * sunrpc/svc_simple.c: Likewise.
22403 * sunrpc/svc_tcp.c: Likewise.
22404 * sunrpc/svc_udp.c: Likewise.
22405 * sunrpc/svc_unix.c: Likewise.
22406 * sunrpc/xdr.c: Likewise.
22407 * sunrpc/xdr_array.c: Likewise.
22408 * sunrpc/xdr_rec.c: Likewise.
22409 * sunrpc/xdr_ref.c: Likewise.
22410 * sunrpc/xdr_stdio.c: Likewise.
22412 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22414 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22416 2011-07-03 Andreas Jaeger <aj@suse.de>
22418 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22419 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22420 regenerate with gen-libm-tests.pl.
22422 2010-05-12 Petr Baudis <pasky@suse.cz>
22425 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22426 around j0() zero points by switching to j1().
22427 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22428 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22432 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22434 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22436 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22439 Patch in part by Pavel Roskin <proski@gnu.org>.
22442 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22444 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22445 Free memory block if necessary.
22448 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22449 be NULL. Don't lock in this case.
22451 2011-09-09 Roland McGrath <roland@hack.frob.com>
22453 * elf/elf.h (ELFOSABI_GNU): New macro.
22454 (ELFOSABI_LINUX): Define to that.
22456 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22458 * string/strncat.c (strncat): Undef the symbol in case it has been
22459 defined in bits/string.h.
22461 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22463 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22465 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22468 2011-08-17 Andreas Jaeger <aj@suse.de>
22470 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22472 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22473 Ian Lance Taylor <iant@google.com>
22475 * math/libm-test.inc (lround_test): New testcase.
22476 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22478 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22480 * Makefile: Remove support for automatic cvs check-ins.
22481 * Makerules: Likewise.
22482 * config.make.in: Likewise.
22483 * configure.in: Likewise.
22484 * intl/Makefile: Likewise.
22485 * locale/Makefile: Likewise.
22486 * po/Makefile: Likewise.
22487 * posix/Makefile: Likewise.
22488 * sysdeps/gnu/Makefile: Likewise.
22489 * sysdeps/mach/hurd/Makefile: Likewise.
22490 * sysdeps/sparc/sparc32/Makefile: Likewise.
22493 * posix/Makefile (bug-regex32-ENV): Define.
22494 Patch by John Stanley <jpsinthemix@verizon.net>.
22496 * misc/Makefile (headers): Add bits/select2.h.
22497 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22498 * misc/bits/select2.h: New file.
22499 * include/bits/select2.h: New file.
22500 * debug/Makefile (routines): Add fdelt_chk.
22501 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22502 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22504 * debug/fdelt_chk.c: New file.
22506 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22507 * wcsmbs/test-wmemcmp.c: Likewise.
22508 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22509 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22511 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22513 * string/Makefile (strop-tests): Add memcmp.
22514 * string/test-wmemcmp.c: New file.
22515 * string/test-memcmp.c: Add wmemcmp support.
22517 2011-09-08 Roland McGrath <roland@hack.frob.com>
22520 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22523 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22524 garbage value in a __mach_port_mod_refs call in the cases of the
22525 task-self and thread-self ports.
22527 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22529 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22531 2011-09-08 Andreas Schwab <schwab@redhat.com>
22533 * elf/dl-load.c (lose): Check for non-null L.
22535 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22537 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22539 * elf/dl-libc.c (dlerror_run): Pass back error code from
22543 * elf/dl-load.c (lose): Free l_origin if it is valid.
22545 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22547 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22550 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22551 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22552 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22554 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22556 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22557 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22558 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22559 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22560 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22561 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22562 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22563 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22564 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22565 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22567 2011-08-15 Alan Modra <amodra@gmail.com>
22570 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22571 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22572 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22573 ppc_mcount to static-only-routines.
22574 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22576 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22577 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22579 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22581 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22582 for finite and infinity parameters.
22584 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22587 and add nop instructions for throughput optimization.
22588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22590 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22592 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22593 aligned copy for power7 with vector-scalar instructions.
22594 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22596 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22601 2011-09-07 Andreas Schwab <schwab@redhat.com>
22604 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22607 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22609 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22610 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22611 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22612 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22615 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22617 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22618 Forgot to demangle the pointer.
22620 * sysdeps/i386/sysdep.h: Define atom_text_section.
22621 * sysdeps/x86_64/sysdep.h: Likewise.
22622 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22623 section with atom_text_section.
22624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22625 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22626 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22628 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22630 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22631 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22632 already be defined. Change to take two parameters and don't assign
22633 result to variable. Adjust all users.
22634 Define INTERNAL_GETTIME if not already defined.
22635 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22638 HAVE_CLOCK_GETTIME_VSYSCALL.
22639 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22641 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22642 gettimeofday vsyscall, just use time.
22644 2011-09-06 Andreas Schwab <schwab@redhat.com>
22646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22649 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22651 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22655 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22656 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22657 syscall if possible.
22659 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22661 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22662 e_ident. Don't pass to find_mapsXX.
22663 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22665 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22668 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22669 * sysdeps/x86_64/multiarch/strchr.S: Update.
22670 Check bit_slow_BSF bit.
22671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22672 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22673 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22675 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22678 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22680 (tryshell): Define.
22681 (__spawni): Change last parameter to be flag. Test
22682 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22683 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22684 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22685 * posix/spawni.c: Likewise.
22686 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22687 * posix/spawnp.c: Likewise. Change normal version to use
22688 SPAWN_XFLAGS_USE_PATH.
22689 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22690 SPAWN_XFLAGS_TRY_SHELL.
22693 * posix/glob.h: Remove gcc 1.x support.
22696 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22698 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22701 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22703 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22704 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22705 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22706 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22707 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22708 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22710 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22712 * sysdeps/x86_64/wcscmp.S: New file.
22714 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22715 wcscmp-c wcscmp-sse2
22716 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22717 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22718 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22719 * wcsmbs/wcscmp.c: Allow renaming.
22721 2011-09-05 David S. Miller <davem@davemloft.net>
22723 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22724 stack slot, rather than the struct return pointer slot.
22725 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22726 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22728 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22730 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22732 * po/ja.po: Update from translation team.
22735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22736 kernel in 64-bit binaries.
22738 2011-09-01 David S. Miller <davem@davemloft.net>
22740 * elf/elf.h (HWCAP_SPARC_*): Move to..
22741 * sysdeps/sparc/sysdep.h: this new file and add new values.
22742 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22743 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22744 _DL_HWCAP_COUNT to 24.
22745 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22747 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22748 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22749 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22751 instead of magic constants.
22752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22754 2011-08-31 David S. Miller <davem@davemloft.net>
22756 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22758 Reimplement to do errno handling inline.
22759 (SYSCALL_ERROR_HANDLER): New macro.
22760 (__SYSCALL_STRING): Do not do errno handling in asm.
22761 (__CLONE_SYSCALL_STRING): Delete.
22762 (__INTERNAL_SYSCALL_STRING): Delete.
22763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22764 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22765 (PSEUDO): Reimplement to do errno handling inline.
22766 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22767 (SYSCALL_ERROR_HANDLER): New macro.
22768 (__SYSCALL_STRING): Do not do errno handling in asm.
22769 (__CLONE_SYSCALL_STRING): Delete.
22770 (__INTERNAL_SYSCALL_STRING): Delete.
22771 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22772 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22774 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22775 (inline_syscall*): Add 'err' argument.
22776 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22777 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22778 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22779 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22781 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22782 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22784 2011-08-30 Andreas Schwab <schwab@redhat.com>
22786 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22788 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22790 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22793 2011-08-24 David S. Miller <davem@davemloft.net>
22795 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22797 2011-08-24 Andreas Schwab <schwab@redhat.com>
22799 * elf/Makefile: Add rules to build and run unload8 test.
22800 * elf/unload8.c: New file.
22801 * elf/unload8mod1.c: New file.
22802 * elf/unload8mod1x.c: New file.
22803 * elf/unload8mod2.c: New file.
22804 * elf/unload8mod3.c: New file.
22806 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22809 2011-08-23 David S. Miller <davem@davemloft.net>
22811 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22812 subtract stack bias.
22813 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22814 %sp not %fp in calculations.
22815 (_JMPBUF_UNWINDS_ADJ): Likewise.
22817 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22818 (aio_suspend): Call it to force an exception region around the
22819 AIO_MISC_WAIT() invocation.
22821 2011-08-23 Andreas Schwab <schwab@redhat.com>
22823 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22826 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22828 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22830 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22831 and <dl-machine.h>.
22832 (Elf64_FuncDesc): Remove.
22834 2011-08-22 David S. Miller <davem@davemloft.net>
22836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22837 sigaltstack check, add missing cfi directives.
22838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22839 missing cfi directives, and sigaltstack handling.
22841 2011-08-16 Andreas Schwab <schwab@redhat.com>
22844 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22845 object is seen twice.
22846 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22848 * elf/Makefile (distribute): Add tst-initorder2.c.
22849 (tests): Add tst-initorder2.
22850 (modules-names): Add tst-initorder2a tst-initorder2b
22851 tst-initorder2c tst-initorder2d. Add rules to build them.
22852 ($(objpfx)tst-initorder2.out): New rule.
22853 * elf/tst-initorder2.c: New file.
22854 * elf/tst-initorder2.exp: New file.
22856 2011-08-22 Andreas Schwab <schwab@redhat.com>
22858 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22860 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22861 dependencies back to end of function.
22863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22864 $(elfobjdir)/ld.so.
22866 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22868 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22869 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22871 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22872 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22873 of __vdso_gettimeofday.
22874 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22875 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22877 (_libc_vdso_platform_setup): Remove initialization of
22878 __vdso_gettimeofday and __vdso_time.
22880 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22882 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22883 and fgetc_unlocked.
22884 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22887 * elf/dl-open.c (add_to_global): Report additions to the global scope
22888 for LD_DEBUG=scopes.
22889 (dl_open_worker): Also print scope of newly loaded dependencies.
22890 (_dl_show_scope): Indicate if there is no scope.
22893 * stdio-common/Makefile (tests): Add bug24.
22894 * stdio-common/bug24.c: New file.
22896 2011-08-19 Andreas Jaeger <aj@suse.de>
22899 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22900 non-existant file when using close-on-exec mode.
22902 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22905 the very first instruction.
22907 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22908 the CFI state in the end.
22909 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22910 inclusion of dl-trampoline.h.
22911 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22913 2011-08-19 Andreas Schwab <schwab@redhat.com>
22915 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22916 expectations for long double.
22918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22919 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22921 2011-08-14 David S. Miller <davem@davemloft.net>
22923 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22924 artificual limit depends upon the system page size.
22926 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22928 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22929 * resolv/Makefile: Define CFLAGS-libresolv.
22931 2011-08-17 Andreas Schwab <schwab@redhat.com>
22933 * nss/makedb.c (compute_tables): Make variables used in nested
22936 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22938 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22939 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22940 if buffer was too small.
22942 * elf/pldd.c (main): Attach to all threads in the process.
22943 Rewrite /proc handling to use *at functions.
22945 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22947 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22948 specifies first scope to show.
22949 (dl_open_worker): Update callers. Move printing scope of new
22950 object to before the relocation.
22951 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22952 * sysdeps/generic/ldsodefs.h: Update declaration.
22954 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22955 string for the scope number.
22957 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22959 * nscd/servicescache.c (cache_addserv): Make sure written is always
22962 2011-08-14 Roland McGrath <roland@hack.frob.com>
22964 * sysdeps/i386/i486/bits/atomic.h
22965 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22966 statement expression, so as to suppress "set but not used" warning.
22967 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22969 * string/strncat.c (STRNCAT): Use prototype definition.
22971 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22972 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22974 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22975 (localedef-modules): Add localedef.
22976 (locale-modules): Add locale.
22978 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22979 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22980 to avoid a warning.
22982 2011-08-14 David S. Miller <davem@davemloft.net>
22984 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22985 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22987 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22989 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22990 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22991 * elf/rtld.c (dl_main): Set l_name of vDSO.
22992 Call _dl_show_scope when DL_DEBUG_SCOPES.
22993 (process_dl_debug): Recognize scopes flag and also set it for all.
22994 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22995 Declare _dl_show_scope.
22997 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22998 (do_dlopen): Pass caller_dlopen to dl_open.
22999 (__libc_dlopen_mode): Initialize caller_dlopen.
23001 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23002 of libc. Make tolower call locale-independent. Optimize a bit by
23003 using isdigit instead of isalnum.
23004 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23006 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23008 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23009 was a dependency or dynamically loaded.
23011 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23013 * intl/l10nflist.c: Allow architecture-specific pop function.
23014 * sysdeps/x86_64/l10nflist.c: New file.
23016 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23019 2011-08-10 Andreas Schwab <schwab@redhat.com>
23021 * include/dirent.h: Add libc_hidden_proto for scandirat and
23022 scandirat64. Don't declare __scandirat64.
23023 * dirent/scandirat.c: Add libc_hidden_def.
23024 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23025 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23027 2011-08-10 David S. Miller <davem@davemloft.net>
23029 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23031 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23035 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23037 * Versions.def [libc]: Add GLIBC_2.15.
23038 * dirent/Makefile (routines): Add scandirat and scandirat64.
23039 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23041 * dirent/dirent.h: Declare scandirat and scandirat64.
23042 * dirent/scandirat.c: New file.
23043 * dirent/scandirat64.c: New file.
23044 * sysdeps/wordsize-64/scandirat.c: New file.
23045 * sysdeps/wordsize-64/scandirat64.c: New file.
23046 * dirent/opendir.c: Define opendirat.
23047 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23049 * dirent/scandir64.c: Adjust for scandir.c change.
23050 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23051 __scandirat64, and __scandir_cancel_handler.
23052 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23053 additional parameter and use openat instead of open (outside of ld.so).
23054 Add new __opendir as wrapper around __opendirat.
23055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23056 here without requiring old scandirat implementation.
23058 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23060 * dirent/scandir.c (cancel_handler): Renamed to
23061 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23062 defined. Adjust users.
23063 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23064 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23066 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23068 * string/test-string.h (IMPL): Use __STRING to expand name and then
23071 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23074 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23076 * string/Makefile: Update.
23077 (strop-tests): Append strncat.
23078 * string/test-wcscmp.c: New file.
23079 New comprehensive test for wcscmp.
23080 * string/test-strcmp.c: Update.
23081 (WIDE): New define.
23083 2011-07-22 Andreas Schwab <schwab@redhat.com>
23085 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23088 2011-07-26 Andreas Schwab <schwab@redhat.com>
23090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23091 encoding to ACE if AI_IDN.
23093 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23096 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23098 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23100 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23101 Fix overflow bug in strncat.
23102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23104 * string/test-strncat.c: Update.
23105 Add new tests for checking overflow bugs.
23107 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23110 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23111 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23112 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23113 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23114 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23115 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23116 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23117 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23119 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23120 (USE_AS_STRCAT): Define.
23121 Add strcat and strncat support.
23122 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23124 2011-07-25 Andreas Schwab <schwab@redhat.com>
23126 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23127 __n bigger than INT_MAX+1.
23128 (__strncmp_g): Likewise.
23130 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23132 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23133 * libio/stido.h: Likewise.
23135 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23140 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23142 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23143 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23144 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23147 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23152 (_dl_x86_64_save_sse): Likewise.
23154 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23158 (_dl_x86_64_save_sse): Likewise.
23160 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23162 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23164 2011-07-21 Andreas Schwab <schwab@redhat.com>
23166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23168 (_dl_x86_64_save_sse): Use correct AVX check.
23170 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23173 bug in strncpy/strncat.
23174 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23176 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23178 * string/tester.c (test_strcat): Add tests for different alignments
23179 of source and destination.
23180 (test_strncat): Likewise.
23182 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23185 * posix/glob.c (glob): Check passed in values before using them in
23186 expressions to avoid some overflows.
23187 (glob_in_dir): Likewise.
23190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23191 check for AVX enablement so that we don't crash with old kernels and
23193 * elf/tst-audit4.c: Add same checks here.
23194 * elf/tst-audit6.c: Likewise.
23196 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23198 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23200 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23202 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23204 * po/cs.po: Update from translation team.
23205 * po/bg.po: Likewise.
23207 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23209 * misc/sys/cdefs.h: Add support for const attribute.
23210 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23211 to gnu_dev_{major,minor,makedev} functions.
23213 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23215 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23217 2011-07-20 Andreas Schwab <schwab@redhat.com>
23219 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23222 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23225 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23226 register in order to avoid conflicts with the soft frame pointer
23227 being held in r11 when necessary.
23228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23229 (INTERNAL_VSYSCALL_NCS): Likewise.
23231 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23233 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23234 * elf/dl-fini.c (_dl_fini): Adjust caller.
23235 * elf/dl-close.c (_dl_close_worker): Likewise.
23236 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23238 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23240 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23241 "aux_cache->nlibs < 0".
23243 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23244 in the reload-count case.
23246 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23249 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23250 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23251 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23252 * sysdeps/x86_64/multiarch/strcat.S: New file.
23253 * sysdeps/x86_64/multiarch/strncat.S: New file.
23254 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23255 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23256 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23257 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23258 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23259 (USE_AS_STRCAT): Define.
23260 Add strcat and strncat support.
23261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23262 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23263 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23264 * string/strncat.c: Update.
23265 (USE_AS_STRNCAT): Define.
23266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23267 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23269 * sysdeps/x86_64/multiarch/init-arch.h
23270 (bit_Prefer_PMINUB_for_stringop): New.
23271 (index_Prefer_PMINUB_for_stringop): Likewise.
23272 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23273 bit_Prefer_PMINUB_for_stringop.
23275 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23277 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23279 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23280 of casting of buffer.
23281 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23282 buffer32 and buffer64.
23283 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23284 writes instead of casting of buffer.
23285 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23287 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23290 2011-07-19 Andreas Schwab <schwab@redhat.com>
23292 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23294 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23296 * nscd/nscd.c (termination_handler): Don't do anything for a database
23297 if it has not yet been initialized.
23299 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23301 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23303 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23305 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23307 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23309 * po/nl.po: Update from translation team.
23310 * po/sv.po: Likewise.
23312 2011-07-16 Roland McGrath <roland@hack.frob.com>
23314 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23315 now disallowed by GCC.
23317 * configure.in (use-default-link): Default to yes if a test -shared
23318 link meets our qualifications.
23319 * configure: Regenerated.
23321 * config.make.in (output-format): New variable.
23322 * configure.in: Check for ld --print-output-format support.
23323 * configure: Regenerated.
23324 * Makerules ($(common-objpfx)format.lds)
23325 [$(output-format) != unknown]: Just use $(output-format),
23326 instead of the linker-script munging.
23328 2011-07-14 Roland McGrath <roland@hack.frob.com>
23330 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23331 of $(common-objpfx)shlib.lds.
23332 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23334 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23335 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23337 * configure.in (-z relro check): Adjust test code to add a large
23338 writable data section after it.
23339 * configure: Regenerated.
23341 2011-07-11 Roland McGrath <roland@hack.frob.com>
23343 * configure.in (-z relro check): Fix test code to make the variable
23345 * configure: Regenerated.
23347 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23349 * nscd/nscd.h (struct traced_file): Define.
23350 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23351 elements. Add traced_files.
23352 (inotify_fd): Declare.
23353 (register_traced_file): Declare.
23354 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23355 (inotify_fd): Export.
23356 (resolv_conf_descr): Remove.
23357 (nscd_init): Move inotify descriptor creation to main.
23358 Don't register files for notification here.
23359 (register_traced_file): New function.
23360 (invalidate_cache): Don't use reset_res to determine whether to call
23361 res_init, go through the list of registered files.
23362 (main_loop_poll): The inotify descriptors are now stored in the
23363 structures for the traced files.
23364 (main_loop_epoll): Likewise
23365 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23366 to __nss_disable_nscd.
23367 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23368 for a database anymore. Check the records for all the registered
23370 * nss/Makefile (libnss_files-routines): Add files-init.
23371 (libnss_db-routines): Add db-init.
23372 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23373 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23374 * nss/nss_db/db-init.c: New file.
23375 * nss/nss_files/files-init.c: New file.
23376 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23377 __nss_lookup_function.
23378 (__nss_lookup_function): Call nss_load_library.
23379 (nss_load_all_libraries): New function.
23380 (__nss_disable_nscd): Take parameter with callback function for files
23381 to register. Set is_nscd. Load all the DSOs for the NSS modules
23382 used for the cached services.
23383 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23384 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23385 options for features to all the files in nscd.
23387 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23389 2011-07-10 Roland McGrath <roland@hack.frob.com>
23391 * csu/elf-init.c (__libc_csu_init): Comment typo.
23393 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23395 * po/pl.po: Update from translation team.
23396 * po/ja.po: Likewise.
23397 * po/ru.po: Likewise.
23398 * po/ko.po: Likewise.
23399 * po/fr.po: Likewise.
23401 2011-07-09 Roland McGrath <roland@hack.frob.com>
23403 * configure.in (.ctors/.dtors header and trailer check):
23404 Use an empirical test on a built program.
23405 * configure: Regenerated.
23407 * configure.in (-z relro check): Use an empirical test on a built DSO.
23408 Detect, but do not require, on ia64.
23409 * configure: Regenerated.
23411 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23412 Update tests that use readelf to use $READELF instead.
23413 * configure: Regenerated.
23415 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23417 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23418 if the result is not used.
23420 2011-07-05 Andreas Jaeger <aj@suse.de>
23423 * stdlib/tst-strtod.c: Add testcase.
23425 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23427 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23428 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23429 The latter has a higher limit. Take additional parameter to pass to
23431 (__pathconf): Pass file to __statfs_link_max.
23432 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23434 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23438 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23441 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23442 (__statfs_filesize_max): Likewise.
23443 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23445 2011-07-05 Andreas Jaeger <aj@suse.de>
23447 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23449 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23451 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23453 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23456 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23458 * Makefile (strop-tests): Add strncat.
23459 * string/test-strncat.c: New file.
23461 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23463 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23465 2011-06-21 Andreas Jaeger <aj@suse.de>
23467 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23468 Copy rule from iconvdata/Makefile.
23470 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23473 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23474 but no long options are defined, just return 'W'.
23476 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23479 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23481 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23483 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23485 (innetgr): Likewise.
23487 2011-07-05 Roland McGrath <roland@hack.frob.com>
23489 * config.make.in (install_root): Default to $(DESTDIR).
23491 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23495 2011-07-02 Roland McGrath <roland@hack.frob.com>
23497 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23499 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23500 containing directory rather than embedding absolute directory names.
23502 * scripts/check-local-headers.sh: Rewritten using awk.
23503 Match by word, not by line. Print error messages for matches.
23504 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23506 * Makerules [shlib-lds-flags empty]:
23507 ($(common-objpfx)libc_pic.opts): New target.
23508 ($(common-objpfx)libc_pic.os.clean): New target.
23509 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23511 * config.make.in (OBJCOPY): New variable.
23512 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23513 * configure: Regenerated.
23515 * config.make.in (use-default-link): New variable.
23516 * configure.in (use_default_link): Grok --with-default-link to set it.
23517 * configure: Regenerated.
23518 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23519 (shlib-lds, shlib-lds-flags): Define to empty.
23521 * Makerules (shlib-lds): New variable.
23522 (shlib-lds-flags): New variable.
23523 (build-shlib, build-moduile, build-module-asneeded): Use it.
23524 ($(common-objpfx)libc.so): Use $(shlib-lds).
23525 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23526 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23528 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23529 DT_FLAGS/DT_FLAGS_1 with zero flags.
23531 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23532 linker script munging.
23534 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23536 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23538 * crypt/sha512.c (sha512_process_block): Perform total addition using
23539 128-bit if possible.
23540 (__sha512_finish_ctx): Likewise.
23541 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23543 * crypt/sha256.c (SWAP64): Define.
23544 (sha256_process_block): Perform total addition using 64-bit if
23546 (__sha256_finish_ctx): Likewise.
23548 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23550 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23552 * nscd/hstcache.c (cache_addhst): Likewise.
23553 * nscd/grpcache.c (cache_addgr): Likewise.
23554 * nscd/aicache.c (addhstaiX): Likewise
23555 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23557 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23559 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23560 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23561 * nscd/hstcache.c (cache_addhst): Likewise.
23562 * nscd/grpcache.c (cache_addgr): Likewise.
23563 * nscd/aicache.c (addhstaiX): Likewise
23565 2011-07-01 Andreas Schwab <schwab@redhat.com>
23567 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23568 domain only when needed.
23570 2011-06-30 Andreas Schwab <schwab@redhat.com>
23572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23573 is always restored.
23575 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23577 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23578 are re-adding the entry.
23579 * nscd/servicescache.c (cache_addserv): Likewise.
23581 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23583 * sysdeps/generic/dl-irel.h: fix protection against multiple
23585 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23587 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23590 * malloc/memusage.sh: Fix quoting in message.
23591 * debug/xtrace.sh: Likewise.
23593 * configure.in: Remove support for --experimental-malloc option, make
23595 * config.make.in: Likewise.
23596 * malloc/Makefile: Likewise.
23598 2011-06-27 Andreas Schwab <schwab@redhat.com>
23600 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23601 two-byte characters.
23603 2011-06-27 Roland McGrath <roland@hack.frob.com>
23605 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23606 AC_CACHE_CHECK invocation.
23607 * configure: Regenerated.
23609 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23611 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23614 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23615 bit from old_res_options.
23617 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23619 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23620 value type for setfct.
23622 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23625 __gettimeofday instead of gettimeofday.
23627 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23629 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23631 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23633 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23638 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23641 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23642 strcpy-sse2-unaligned strncpy-sse2-unaligned
23643 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23644 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23645 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23646 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23647 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23649 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23650 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23651 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23652 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23653 (STRCPY): Support SSE2 and SSSE3 versions.
23655 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23658 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23659 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23660 kernels which artificially limit size of requests.
23662 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23665 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23666 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23667 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23668 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23669 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23670 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23671 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23672 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23674 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23675 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23676 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23677 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23678 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23680 Enable unaligned load optimization for Intel Core i3, i5 and i7
23682 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23684 (index_Fast_Unaligned_Load): Define.
23685 (HAS_FAST_UNALIGNED_LOAD): Define.
23687 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23689 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23691 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23694 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23695 until it is clear that the information is realy needed.
23696 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23698 2011-06-22 Andreas Schwab <schwab@redhat.com>
23700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23702 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23705 /sys/devices/system/cpu/online if it is usable.
23707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23708 reading the information from the /proc filesystem to once a second.
23710 2011-06-21 Andreas Jaeger <aj@suse.de>
23712 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23713 NULL after inclusion of kernel headers.
23715 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23717 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23718 calls to internal_setent.
23721 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23722 addresses using gethostbyname4_r ignore IPv4 addresses.
23724 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23725 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23727 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23729 2011-06-20 David S. Miller <davem@davemloft.net>
23731 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23733 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23735 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23736 (elf_irel): Use it.
23737 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23738 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23739 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23740 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23741 * sysdeps/x86_64/dl-irel.h: Likewise.
23743 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23744 * elf/dl-sym.c: Likewise.
23746 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23748 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23749 need to dereference resplen2.
23751 2011-06-14 Andreas Schwab <schwab@redhat.com>
23753 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23755 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23757 * Makeconfig: Define vardbdir and inst_vardbdir.
23758 * nss/Makefile: Add rules to install db-Makefile.
23760 * nss/nss_db/db-XXX.c: Cleanup.
23762 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23763 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23765 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23766 * nss/makedb.c: Implement -g option to specify that value strings
23767 are generated and should not be added to table iterated over for
23769 * nss/nss_db/db-initgroups.c: New file.
23771 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23774 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23775 (internal_getgrouplist): Adjust to name change.
23776 Update use_initgroups_entry if this is not the first call.
23777 * nss/databases.def: Add initgroups entry.
23779 * nss/makedb.c (compute_tables): Check result of multiple hash table
23780 sizes to minimize maximum chain length.
23782 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23784 * Versions.def: Add entry for libnss_db.
23785 * shlib-versions: Likewise.
23786 * nss/Makefile: Add rules to build libnss_db.
23787 * nss/Versions: Add libnss_db information. Organize libnss_files
23789 * nss/db-Makefile: Add gshadow support. Change rules for the new
23790 makedb progra. Some minor improvements to generate smaller files.
23791 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23793 * nss/makedb.c: ...here.
23794 Improve database format to be smaller and require less memory at
23796 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23798 * nss/nss_db/db-netgrp.c: Likewise.
23799 * nss/nss_db/db-open.c: Likewise.
23800 * nss/nss_files/flies-XXX.x: Adjust comments.
23801 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23802 * nss/nss_files/files-grp.c: Likewise.
23803 * nss/nss_files/files-hosts.c: Likewise.
23804 * nss/nss_files/files-network.c: Likewise.
23805 * nss/nss_files/files-proto.c: Likewise.
23806 * nss/nss_files/files-pwd.c: Likewise.
23807 * nss/nss_files/files-rpc.c: Likewise.
23808 * nss/nss_files/files-service.c: Likewise.
23809 * nss/nss_files/files-sgrp.c: Likewise.
23810 * nss/nss_files/files-spwd.c: Likewise.
23811 * nss/nss_db/db-alias.c: Removed.
23812 * nss/nss_db/dummy-db.h: Removed.
23814 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23816 * nss/makedb.c: Rewritten to not use database library.
23817 * nss/Makefile: Update to build new makedb program.
23819 2011-06-14 Andreas Jaeger <aj@suse.de>
23821 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23822 memset declaration.
23824 2011-06-10 Andreas Schwab <schwab@redhat.com>
23826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23829 2011-06-10 Roland McGrath <roland@hack.frob.com>
23831 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23832 * elf/Makefile ($(objpfx)ld.so): Likewise.
23834 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23835 Don't list ld.so twice in dependencies.
23837 * posix/bug-regex31.c: Include <stdlib.h>.
23839 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23841 * nis/nss_compat/compat-spwd.c
23842 (getspent_next_nss_netgr): Remove unused variable.
23843 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23845 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23846 nonmembers" output to use the right array.
23848 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23850 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23852 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23853 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23854 * catgets/gencat.c (read_input_file): Likewise.
23855 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23857 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23858 variable definition inside #if's controlling its use.
23860 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23862 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23864 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23866 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23869 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23871 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23872 * configure: Regenerated.
23874 * Makerules: Revert last change.
23875 * elf/Makefile: Likewise.
23877 2011-06-09 Roland McGrath <roland@hack.frob.com>
23879 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23880 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23881 (reloc-link): Likewise.
23883 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23885 * elf/Makefile: Add rules to build pldd.
23886 * elf/pldd.c: New file.
23887 * elf/pldd-xx.c: New file.
23889 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23891 * version.h: Update for 2.15 development version.
23893 2011-06-07 David S. Miller <davem@davemloft.net>
23895 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23898 elf_machine_lazy_rel): Likewise.
23899 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23900 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23901 elf_machine_lazy_rel): Likewise.
23902 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23903 dl_hwcap via passed in argument.
23904 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23907 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23909 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23911 2011-06-06 Roland McGrath <roland@hack.frob.com>
23914 * manual/fdl-1.1.texi: New file, verbatim from:
23915 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23916 * manual/lgpl-2.1.texi: New file, verbatim from:
23917 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23918 * manual/Makefile (licenses): New variable, list those new file names.
23920 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23922 * manual/fdl.texi: File removed.
23923 * manual/lesser.texi: File removed.
23924 * manual/libc.texinfo (Copying, Documentation License):
23925 Use new @include file names, put @appendix directive before @include.
23927 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23930 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23931 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23932 (mq_open): Add __NTH.
23934 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23937 Assume Intel Core i3/i5/i7 processor if AVX is available.
23939 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23944 2011-05-31 Andreas Schwab <schwab@redhat.com>
23946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23947 memory. Use alloca_account. Fix memory leak when retrying.
23949 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23951 * version.h (RELEASE): Bump for 2.14 release.
23952 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23954 * config.make.in (RANLIB): Remove entry.
23956 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23958 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23959 (libc.pot): Work around missing support for .ksh extension in xgettext.
23962 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23963 if both request failed.
23964 (send_dg): In case of server errors clear resplen or *resplen2.
23967 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23968 when there are multiple maps.
23969 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23970 (_dl_fini): Remove test here.
23972 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23974 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23977 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23978 bit from old_res_options.
23979 (gaih_inet): Likewise.
23982 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23985 * resolv/res_init.c (res_setoptions): Make the code more compact.
23988 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23992 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23994 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23997 * malloc/malloc.h: Declare malloc hook variables as volatile.
23999 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24003 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24004 raise in the comment.
24005 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24007 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24009 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24012 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24013 grow the buffers more if it already has to be sufficient.
24014 (build_wcs_upper_buffer): Likewise.
24015 * posix/regexec.c (check_matching): Likewise.
24016 (clean_state_log_if_needed): Likewise.
24017 (extend_buffers): Don't enlarge buffers beyond size of the input
24019 Patches mostly by Emil Wojak <emil@wojak.eu>.
24020 * posix/bug-regex32.c: New file.
24021 * posix/Makefile (tests): Add bug-regex32.
24023 * locale/findlocale.c (_nl_find_locale): Return right away if
24024 _nl_explode_name failed.
24025 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24027 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24029 * debug/xtrace.sh: Unify messages.
24030 * malloc/memusage.sh: Likewise.
24033 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24034 time symbol from vDSO. Substitute with vsyscall if not available.
24035 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24038 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24039 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24040 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24041 Add sendmmsg and internal_sendmmsg.
24042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24043 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24044 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24046 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24047 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24048 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24050 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24053 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24054 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24056 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24060 * iconvdata/Makefile (tests): Add bug-iconv9.
24061 * iconvdata/bug-iconv9.c: New file.
24063 2011-05-27 Andreas Schwab <schwab@redhat.com>
24066 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24068 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24071 (struct user_regs_struct): Change intcs field back to cs.
24073 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24075 * po/ja.po: Update from translation team.
24077 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24080 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24081 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24083 2011-05-20 Andreas Schwab <schwab@redhat.com>
24085 * stdlib/longlong.h: Update from GCC.
24087 2011-05-23 Andreas Schwab <schwab@redhat.com>
24089 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24091 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24092 Add parameter name.
24093 (__sysconf): Pass it down.
24095 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24098 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24100 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24101 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24102 add in in __libc_use_alloca calls. Adjust callers.
24103 (glob): Use malloc in some situations.
24105 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24106 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24109 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24111 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24112 and CLOCK_BOOTTIME_ALARM.
24115 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24118 * string/_strerror.c (__strerror_r): Print negative errors as signed
24122 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24123 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24124 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24126 * configure.in: Fix typo in redirection and correct removal of test
24127 files in two cases.
24130 * locale/setlocale.c (new_composite_name): Fix test to check for
24131 identical name of all categories.
24134 * libio/filedoalloc.c (local_isatty): New function.
24135 (_IO_file_doallocate): Use local_isatty.
24136 * stdio-common/perror.c (perror): In case a new stream is used
24137 forward the stream error.
24138 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24141 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24146 * include/alloca.h (extend_alloca_account): Define.
24149 * posix/regex.h: Fix comments with documentation of user-accessible
24150 fields after compilation and describe correct free'ing of pattern
24151 after re_compile_pattern.
24152 Patch by Reuben Thomas <rrt@sc3d.org>.
24154 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24156 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24157 and -mno-altivec to prevent the compiler from using Altivec and/or
24158 VSX instructions when the corresponding registers are not available.
24160 2011-05-19 Andreas Schwab <schwab@redhat.com>
24162 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24164 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24166 * libio/freopen.c (freopen): Use __dup2, not dup2.
24167 * libio/freopen64.c (freopen64): Likewise.
24169 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24172 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24173 * math/Makefile (tests): Add test-powl.
24174 (CFLAGS-test-powl.c): Define.
24175 * math/test-powl.c: New file.
24177 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24179 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24181 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24184 * iconvdata/gb18030.c: Update to GB18020-2005.
24186 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24188 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24189 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24190 Patch by Aharon Robbins <arnold@skeeve.com>.
24193 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24197 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24198 through underflows.
24201 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24202 point to strings before performing equality test for error_one_per_line
24206 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24209 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24210 (struct user_fpregs_struct): Avoid __uint*_t types.
24213 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24214 symbol info. Use it instead of calling _dl_addr locally.
24215 (lock_and_info): New function.
24216 (tr_freehook): Call lock_and_info and pass symbol info as additional
24217 parameter to tr_where.
24218 (tr_mallochook): Likewise.
24219 (tr_reallochook): Likewise.
24220 (tr_memalignhook): Likewise.
24222 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24223 used and couldn't be at all thread-safe.
24225 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24227 * libio/freopen.c (freopen): Don't close old file descriptor
24228 before the new one is opened. Instead dup the new file descriptor
24229 to the old one after the new stream is created.
24230 * libio/freopen64.c (freopen64): Likewise.
24231 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24232 * libio/fileops.c (_IO_new_file_close_it): Handle new
24233 _IO_FLAGS2_NOCLOSE flag.
24234 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24235 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24236 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24237 _IO_FLAGS2_NOCLOSE flag.
24238 * include/unistd.h: Add hidden_proto for dup3.
24239 Define __have_dup3.
24240 * io/dup3.c: Define hidden symbol.
24241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24244 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24245 when an incomplete long option is used.
24246 * posix/tst-getopt_long1.c: New file.
24247 * posix/Makefile (tests): Add tst-getopt_long1.
24250 * scripts/config.guess: Update from autoconf-2.68.
24251 * scripts/config.sub: Likewise.
24254 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24256 (has_cpuclock): ...this. New function.
24257 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24258 macro here based on has_cpuclock code.
24261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24262 First byte (not low byte) is now always NUL.
24263 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24266 Use non-cancelable interfaces.
24269 * locale/iso-639.def: Add entry for Sorani.
24272 * include/stdlib.h: Move include protection to the right place.
24273 Define abort_msg_s. Declare __abort_msg with it.
24274 * stdlib/abort.c (__abort_msg): Adjust type.
24275 * assert/assert.c (__assert_fail_base): New function. Majority
24276 of code from __assert_fail. Allocate memory for __abort_msg with
24278 (__assert_fail): Now call __assert_fail_base.
24279 * assert/assert-perr.c: Remove bulk of implementation. Use
24280 __assert_fail_base.
24281 * include/assert.hL Declare __assert_fail_base.
24282 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24284 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24286 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24290 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24291 until all modules are registered in the DTV.
24292 * elf/Makefile: Add rules to build and run tst-tls19.
24293 * elf/tst-tls19.c: New file.
24294 * elf/tst-tls19mod1.c: New file.
24295 * elf/tst-tls19mod2.c: New file.
24296 * elf/tst-tls19mod3.c: New file.
24297 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24300 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24304 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24305 two-byte sequence errors.
24306 * iconvdata/Makefile (tests): Add bug-iconv8.
24307 * iconvdata/bug-iconv8.c: New file.
24310 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24313 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24316 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24317 (dummy_getcfa): New function.
24318 (init): Get _Unwind_GetCFA address, use dummy if not found.
24319 (backtrace_helper): In recursion check, also check whether CFA changes.
24320 (__backtrace): Completely initialize arg.
24322 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24323 storing incomplete byte sequence in state object. Avoid testing for
24324 guaranteed too small input if we know there is enough data available.
24326 2011-05-11 Andreas Schwab <schwab@redhat.com>
24328 * Makeconfig (+link-pie): Indent.
24329 * Rules (binaries-pie): Define if $(have-fpie) and
24331 (binaries-shared): Also filter out $(binaries-pie).
24332 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24333 * nscd/Makefile (others-pie): Add nscd.
24334 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24335 ($(objpfx)nscd): Remove command override.
24336 * login/Makefile (others-pie): Add pt_chown.
24337 ($(objpfx)pt_chown): Remove command override.
24338 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24339 remove command overrides.
24341 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24343 * libio/tst_putwc.c: Fix error messages.
24346 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24347 currently writing and seek to current position when not.
24348 * libio/Makefile (tests): Add bug-fclose1.
24349 * libio/bug-fclose1.c: New file.
24351 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24354 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24355 don't set DF_1_NODELETE here.
24356 (do_lookup_x): When entering new entry test for copy relocation
24357 and if necessary set DF_1_NODELETE flag.
24358 * elf/tst-unique4.cc: New file.
24359 * elf/tst-unique4.h: New file.
24360 * elf/tst-unique4lib.cc: New file.
24361 * elf/Makefile: Add rules to build and run tst-unique4.
24362 Patch by Piotr Bury <pbury@goahead.com>.
24364 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24367 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24370 * misc/mntent_r.c (addmntent): Flush the stream after the output
24373 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24374 (is_trusted_path_normalize): Skip initial colon. Append slash
24375 to empty buffer. Duplicate is_trusted_path code but allow
24376 constructed patch to be prefix.
24377 (is_dst): Allow $ORIGIN followed by /.
24378 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24379 Correct testing of result of is_trusted_path_normalize
24380 (decompose_rpath): Fix warning.
24382 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24385 * grp/initgroups.c (internal_getgrouplist): When we found the service
24386 list through the initgroups entry in nsswitch.conf do not always
24387 continue on a successful lookup. Don't always use the
24388 __nss_group_database value if it is set.
24389 * nss/nsswitch.conf (initgroups): Change action for successful db
24390 lookup to continue for compatibility.
24392 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24395 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24397 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24399 * iconvdata/tst-tables.sh: Likewise.
24400 * iconvdata/cp770.c: New file.
24401 * iconvdata/cp771.c: New file.
24402 * iconvdata/cp772.c: New file.
24403 * iconvdata/cp773.c: New file.
24404 * iconvdata/cp774.c: New file.
24405 * iconvdata/testdata/CP770: New file.
24406 * iconvdata/testdata/CP770..UTF8: New file.
24407 * iconvdata/testdata/CP771: New file.
24408 * iconvdata/testdata/CP771..UTF8: New file.
24409 * iconvdata/testdata/CP772: New file.
24410 * iconvdata/testdata/CP772..UTF8: New file.
24411 * iconvdata/testdata/CP773: New file.
24412 * iconvdata/testdata/CP773..UTF8: New file.
24413 * iconvdata/testdata/CP774: New file.
24414 * iconvdata/testdata/CP774..UTF8: New file.
24416 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24418 * iconvdata/gen-8bit-gap.sh: Likewise.
24419 * iconvdata/gen-8bit.sh: Likewise.
24421 * locale/iso-639.def: Add ary entry.
24424 * locale/C-translit.h.in: Add U20A1 transliteration.
24427 * locale/iso-639.def: Add wae entry.
24428 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24431 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24435 * locale/C-translit.h.in: Add entry for U20B9.
24436 Patch by pravin.d.s@gmail.com.
24438 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24441 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24442 ENAMETOOLONG use generic getcwd.
24443 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24444 in rtld. Use *stat64.
24445 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24446 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24447 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24448 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24449 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24450 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24451 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24452 __fstatat64 macros.
24453 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24454 * dirent/rewinddir.c: Add libc_hidden_def.
24455 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24456 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24458 * include/dirent.h (__alloc_dir): Add flags parameter.
24459 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24460 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24462 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24463 from fdopendir if O_CLOEXEC is already set.
24465 2011-03-15 Alan Modra <amodra@gmail.com>
24467 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24468 l_tls_firstbyte_offset non-zero. Save padding offset in
24469 l_tls_firstbyte_offset for later use.
24470 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24471 freeing static tls block.
24473 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24475 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24476 where #ifdef was intended. The intent is to prevent ARG_MAX from
24477 being defined by the kernel headers.
24479 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24482 * resolv/resolv.h: Define RES_NOTLDQUERY.
24483 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24484 no-tld-query and set RES_NOTLDQUERY.
24485 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24486 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24487 modern BIND to search name as TLD unless forbidden.
24489 2011-05-07 Petr Baudis <pasky@suse.cz>
24490 Ulrich Drepper <drepper@gmail.com>
24493 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24494 (is_trusted_path): ...to here.
24495 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24496 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24497 using is_trusted_path_normalize() in setuid scripts.
24499 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24501 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24502 __BEGIN/__END_DECLS.
24504 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24507 NSS_STATUS_NOTFOUND if no record was found.
24509 2011-05-05 Andreas Schwab <schwab@redhat.com>
24511 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24512 (headers-not-in-tirpc): Remove rpc/netdb.h
24513 * resolv/netdb.h: Revert last change.
24515 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24517 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24518 circular dependency between libgcc.a and libc.a.
24520 2011-05-05 Andreas Schwab <schwab@redhat.com>
24522 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24523 * nis/Makefile: Don't install rpcsvc/*.
24524 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24525 instead of <rpc/types.h>.
24526 (MAXHOSTNAMELEN): Define.
24528 2011-05-03 Andreas Schwab <schwab@redhat.com>
24530 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24532 2011-04-28 Maciej Babinski <mbabinski@google.com>
24535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24536 gethostbyname4_r when IPv6 results are possible.
24538 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24541 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24542 _PC_PIPE_BUF handling.
24544 2011-04-30 Bruno Haible <bruno@clisp.org>
24547 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24548 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24550 * inet/getnameinfo.c (getnameinfo): Likewise.
24552 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24554 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24555 to groups setting in database lookup.
24556 * nss/nsswitch.conf: Add initgroups entry.
24558 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24561 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24563 Patch by Eric Blake <eblake@redhat.com>.
24565 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24567 * sunrpc/Makefile (need-export-routines): Add svc_run.
24568 (routines): Remove svc_run.
24569 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24570 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24571 * sunrpc/svc_run.c (svc_run): Likewise.
24572 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24574 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24577 problem in reallocation in last patch.
24579 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24581 * sunrpc/Makefile: Move inclusion of Rules.
24583 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24585 * nss/nss_files/files-initgroups.c: New file.
24586 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24587 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24588 _nss_files_initgroups_dyn.
24590 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24592 * elf/elf.h (R_ARM_IRELATIVE): Define.
24594 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24596 * po/ru.po: Update from translation team.
24598 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24600 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24603 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24606 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24607 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24608 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24609 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24610 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24612 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24614 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24616 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24617 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24618 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24620 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24623 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24625 * stdlib/bug-getcontext.c: New file.
24626 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24628 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24630 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24631 instructions into .machine "z9-109".
24632 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24633 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24635 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24637 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24638 between environment variables and auxiliary vector.
24640 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24642 * Makefile: Add rules to build linkobj/libc.so.
24643 * include/libc-symbols.h: Define libc_hidden_nolink.
24644 * include/rpc/auth.h: Mark functions which are to be hidden.
24645 * include/rpc/auth_des.h: Likewise.
24646 * include/rpc/auth_unix.h: Likewise.
24647 * include/rpc/clnt.h: Likewise.
24648 * include/rpc/des_crypt.h: Likewise.
24649 * include/rpc/key_prot.h: Likewise.
24650 * include/rpc/pmap_clnt.h: Likewise.
24651 * include/rpc/pmap_prot.h: Likewise.
24652 * include/rpc/pmap_rmt.h: Likewise.
24653 * include/rpc/rpc_msg.h: Likewise.
24654 * include/rpc/svc.h: Likewise.
24655 * include/rpc/svc_auth.h: Likewise.
24656 * include/rpc/xdr.h: Likewise.
24657 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24658 * nss/Makefile: Likewise.
24659 * sunrpc/Makefile: Don't install headers. Build library with normal
24660 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24661 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24662 for the compat linking library. Remove use of INTDEF/INTUSE.
24663 * sunrpc/auth_none.c: Likewise.
24664 * sunrpc/auth_unix.c: Likewise.
24665 * sunrpc/authdes_prot.c: Likewise.
24666 * sunrpc/authuxprot.c: Likewise.
24667 * sunrpc/clnt_gen.c: Likewise.
24668 * sunrpc/clnt_perr.c: Likewise.
24669 * sunrpc/clnt_raw.c: Likewise.
24670 * sunrpc/clnt_simp.c: Likewise.
24671 * sunrpc/clnt_tcp.c: Likewise.
24672 * sunrpc/clnt_udp.c: Likewise.
24673 * sunrpc/clnt_unix.c: Likewise.
24674 * sunrpc/des_crypt.c: Likewise.
24675 * sunrpc/des_soft.c: Likewise.
24676 * sunrpc/get_myaddr.c: Likewise.
24677 * sunrpc/key_call.c: Likewise.
24678 * sunrpc/key_prot.c: Likewise.
24679 * sunrpc/netname.c: Likewise.
24680 * sunrpc/pm_getmaps.c: Likewise.
24681 * sunrpc/pm_getport.c: Likewise.
24682 * sunrpc/pmap_clnt.c: Likewise.
24683 * sunrpc/pmap_prot.c: Likewise.
24684 * sunrpc/pmap_prot2.c: Likewise.
24685 * sunrpc/pmap_rmt.c: Likewise.
24686 * sunrpc/publickey.c: Likewise.
24687 * sunrpc/rpc_cmsg.c: Likewise.
24688 * sunrpc/rpc_common.c: Likewise.
24689 * sunrpc/rpc_dtable.c: Likewise.
24690 * sunrpc/rpc_prot.c: Likewise.
24691 * sunrpc/rpc_thread.c: Likewise.
24692 * sunrpc/rtime.c: Likewise.
24693 * sunrpc/svc.c: Likewise.
24694 * sunrpc/svc_auth.c: Likewise.
24695 * sunrpc/svc_authux.c: Likewise.
24696 * sunrpc/svc_raw.c: Likewise.
24697 * sunrpc/svc_run.c: Likewise.
24698 * sunrpc/svc_simple.c: Likewise.
24699 * sunrpc/svc_tcp.c: Likewise.
24700 * sunrpc/svc_udp.c: Likewise.
24701 * sunrpc/svc_unix.c: Likewise.
24702 * sunrpc/svcauth_des.c: Likewise.
24703 * sunrpc/xcrypt.c: Likewise.
24704 * sunrpc/xdr.c: Likewise.
24705 * sunrpc/xdr_array.c: Likewise.
24706 * sunrpc/xdr_float.c: Likewise.
24707 * sunrpc/xdr_intXX_t.c: Likewise.
24708 * sunrpc/xdr_mem.c: Likewise.
24709 * sunrpc/xdr_rec.c: Likewise.
24710 * sunrpc/xdr_ref.c: Likewise.
24711 * sunrpc/xdr_sizeof.c: Likewise.
24712 * sunrpc/xdr_stdio.c: Likewise.
24714 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24717 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24718 * sysdeps/ia64/dl-tls.h: Likewise.
24719 * sysdeps/powerpc/dl-tls.h: Likewise.
24720 * sysdeps/s390/dl-tls.h: Likewise.
24721 * sysdeps/sh/dl-tls.h: Likewise.
24722 * sysdeps/sparc/dl-tls.h: Likewise.
24723 * sysdeps/x86_64/dl-tls.h: Likewise.
24724 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24726 2011-03-14 Andreas Schwab <schwab@redhat.com>
24728 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24729 rpath element also skip the following colon.
24730 (expand_dynamic_string_token): Add is_path parameter and pass
24731 down to DL_DST_REQUIRED and _dl_dst_substitute.
24732 (decompose_rpath): Call expand_dynamic_string_token with
24733 non-zero is_path. Ignore empty rpaths.
24734 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24737 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24742 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24745 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24746 Patch by Filipe David Manana <fdmanana@apache.org>.
24748 2011-04-07 Andreas Schwab <schwab@redhat.com>
24750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24751 Maintain aligned stack.
24752 (CHECK_RSP): Remove unused macro.
24754 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24756 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24757 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24759 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24761 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24763 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24765 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24768 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24769 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24770 * sysdeps/x86_64/memmove.c: New file.
24771 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24772 (memcpy): Renamed to ...
24773 (__new_memcpy): This.
24774 (memcpy): Provide GLIBC_2_14 memcpy.
24775 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24776 (memcpy): Provide GLIBC_2_2_5 memcpy.
24778 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24781 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24783 2011-03-30 Andreas Schwab <schwab@redhat.com>
24785 * misc/syncfs.c: New file.
24786 * misc/Makefile (routines): Add syncfs.
24787 * posix/unistd.h: Declare syncfs.
24788 * sysdeps/unix/syscalls.list: Add syncfs.
24790 2011-04-01 Andreas Schwab <schwab@redhat.com>
24792 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24799 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24802 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24806 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24810 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24812 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24813 sync_file_range.c with -fexceptions.
24814 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24815 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24816 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24817 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24818 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24819 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24821 sync_file_range as cancellation point
24822 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24823 now a wrapper around __call_sync_file_range with cancellation handling.
24824 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24825 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24826 function name to __call_sync_file_range.
24827 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24828 Add call_sync_file_range.
24830 2011-04-01 Andreas Schwab <schwab@redhat.com>
24832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24835 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24837 * iconv/iconv.h: Fix typo in comment.
24838 * io/fcntl.h: Likewise.
24839 * libio/stdio.h: Likewise.
24840 * posix/spawn.h: Likewise.
24841 * posix/unistd.h: Likewise.
24842 * stdlib/stdlib.h: Likewise.
24843 * time/time.h: Likewise.
24844 * wcsmbs/wchar.h: Likewise.
24846 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24847 open_by_handle): Add.
24848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24849 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24850 Augment a few comments.
24851 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24853 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24856 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24859 * io/fcntl.h (AT_EMPTY_PATH): Define.
24861 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24863 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24864 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24865 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24867 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24868 * Versions.def: Add GLIBC_2.14.
24869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24872 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24874 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24876 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24878 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24881 * string/test-strncmp.c (do_page_test): New function.
24882 (check2): Likewise.
24883 (test_main): Call check2.
24884 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24886 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24889 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24890 Handle cache information in CPU leaf 4.
24891 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24893 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24896 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24897 character representation.
24898 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24900 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24902 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24903 END(__isnan) to END(__isnanf) to match function entry point/label
24904 EALIGN(__isnanf,...).
24906 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24908 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24910 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24913 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24914 copy from the symbol referenced in the relocation to initialize the
24916 Patch by Piotr Bury <pbury@goahead.com>.
24917 * elf/Makefile: Add rules to build and tst-unique3.
24918 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24919 * elf/tst-unique3.cc: New file.
24920 * elf/tst-unique3.h: New file.
24921 * elf/tst-unique3lib.cc: New file.
24922 * elf/tst-unique3lib2.cc: New file.
24924 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24926 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24928 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24929 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24932 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24934 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24935 to-be-loaded object along a path to loader is ld.so.
24937 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24938 Ulrich Drepper <drepper@gmail.com>
24940 * sysdeps/x86_64/memset.S: After aligning destination, code
24941 branches to different locations depending on the value of
24942 misalignment, when multiarch is enabled. Fix this.
24944 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24946 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24947 Set _x86_64_preferred_memory_instruction for AMD processsors.
24948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24949 Set bit_Prefer_SSE_for_memop for AMD processors.
24951 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24953 * libio/fmemopen.c (fmemopen): Optimize a bit.
24955 2011-03-03 Andreas Schwab <schwab@redhat.com>
24957 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24959 2011-03-03 Roland McGrath <roland@redhat.com>
24961 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24963 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24965 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24966 __bzero_ultra1 instead of __memset_ultra1.
24968 2011-02-23 Andreas Schwab <schwab@redhat.com>
24969 Ulrich Drepper <drepper@gmail.com>
24972 * include/link.h (struct link_map): Add l_orig_initfini.
24973 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24974 returning unsuccessfully.
24975 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24976 close of a file loaded at startup, restore the original l_initfini
24978 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24979 list, store the pointer.
24980 * elf/Makefile ($(objpfx)noload-mem): New rule.
24981 (noload-ENV): Define.
24982 (tests): Add $(objpfx)noload-mem.
24983 * elf/noload.c: Include <memcheck.h>.
24984 (main): Call mtrace. Close all opened handles.
24986 2011-02-17 Andreas Schwab <schwab@redhat.com>
24989 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24990 dependencies are missing.
24992 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24994 Fix __if_freereq crash: Unlike the generic version which uses free,
24996 * sysdeps/mach/hurd/ifreq.h: New file.
24998 2011-01-27 Petr Baudis <pasky@suse.cz>
24999 Ulrich Drepper <drepper@gmail.com>
25002 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25003 to extend_alloca().
25004 * stdio-common/bug23.c: New file.
25005 * stdio-common/Makefile (tests): Add bug23.
25007 2010-09-28 Andreas Schwab <schwab@redhat.com>
25008 Ulrich Drepper <drepper@gmail.com>
25011 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25012 before performing relro protection. At old place add assertion
25013 to make sure nothing changed.
25015 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25016 Glauber de Oliveira Costa <glommer@gmail.com>
25018 * elf/elf.h: Add new ARM TLS relocs.
25020 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25023 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25025 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25027 * sysdeps/wordsize-64/tst-writev.c: New file.
25029 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25031 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25032 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25033 insns in _dl_start to prevent a TOC reference before relocs are
25036 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25039 * Makeconfig: Remove RANLIB definition.
25040 * Makerules: Don't use RANLIB.
25041 * aclocal.m4: Remove ranlib test.
25042 * configure.in: No need to check for ranlib.
25043 * elf/rtld-Rules: Don't use RANLIB.
25045 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25047 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25049 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25050 inclusion protection macro.
25052 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25053 SIGRTMIN and SIGRTMAX and print information in that case only when
25054 SIGRTMIN is defined.
25056 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25058 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25059 arginfo fn returning -1.
25061 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25062 and thousands string is zero terminated.
25064 2011-02-03 Andreas Schwab <schwab@redhat.com>
25066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25067 sysdeps/unix/sysv/linux/bits/socket.h.
25069 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25071 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25072 (__CPU_COUNT): Remove old macros.
25073 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25074 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25075 (__CPU_ALLOC, __CPU_FREE): Add macros.
25076 (__sched_cpualloc, __sched_cpufree): Add declarations.
25078 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25080 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25081 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25082 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25083 (readdhstai): Return value of addhstaiX call.
25084 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25085 (addgrbyX): Return value returned by cache_addgr.
25086 (readdgrbyname): Return value returned by addgrbyX.
25087 (readdgrbygid): Likewise.
25088 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25089 (addpwbyX): Return value returned by cache_addpw.
25090 (readdpwbyname): Return value returned by addhstbyX.
25091 (readdpwbyuid): Likewise.
25092 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25093 (addservbyX): Return value returned by cache_addserv.
25094 (readdservbyname): Return value returned by addservbyX:
25095 (readdservbyport): Likewise.
25096 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25097 (addhstbyX): Return value returned by cache_addhst.
25098 (readdhstbyname): Return value returned by addhstbyX.
25099 (readdhstbyaddr): Likewise.
25100 (readdhstbynamev6): Likewise.
25101 (readdhstbyaddrv6): Likewise.
25102 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25103 (readdinitgroups): Return value returned by addinitgroupsX.
25104 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25105 (prune_cache): Keep track of timeout value of re-added entries.
25106 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25107 * nscd/nscd.h: Adjust prototypes of readd* functions.
25109 2011-02-04 Roland McGrath <roland@redhat.com>
25111 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25112 (nis_stats): Likewise.
25113 * nis/nis_modify.c (nis_modify): Likewise.
25114 * nis/nis_remove.c (nis_remove): Likewise.
25115 * nis/nis_add.c (nis_add): Likewise.
25117 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25119 * posix/fnmatch_loop.c: Add some consts.
25121 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25123 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25126 * config.make.in (config-cflags-novzeroupper): Define.
25127 * configure.in: Substitute libc_cv_cc_novzeroupper.
25128 * elf/Makefile (AVX-CFLAGS): Define.
25129 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25130 (CFLAGS-tst-auditmod4a.c): Likewise.
25131 (CFLAGS-tst-auditmod4b.c): Likewise.
25132 (CFLAGS-tst-auditmod6b.c): Likewise.
25133 (CFLAGS-tst-auditmod6c.c): Likewise.
25134 (CFLAGS-tst-auditmod7b.c): Likewise.
25135 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25137 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25139 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25140 function to the callback.
25141 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25143 2011-02-02 Andreas Schwab <schwab@redhat.com>
25145 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25148 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25151 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25153 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25155 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25158 * elf/Makefile: Add rules to build and run new test.
25159 * elf/tst-initorder.c: New file.
25160 * elf/tst-initorder.exp: New file.
25161 * elf/tst-initordera1.c: New file.
25162 * elf/tst-initordera2.c: New file.
25163 * elf/tst-initordera3.c: New file.
25164 * elf/tst-initordera4.c: New file.
25165 * elf/tst-initorderb1.c: New file.
25166 * elf/tst-initorderb2.c: New file.
25167 * elf/tst-order-a1.c: New file.
25168 * elf/tst-order-a2.c: New file.
25169 * elf/tst-order-a3.c: New file.
25170 * elf/tst-order-a4.c: New file.
25171 * elf/tst-order-b1.c: New file.
25172 * elf/tst-order-b2.c: New file.
25173 * elf/tst-order-main.c: New file.
25174 New test case by George Gensure <werkt0@gmail.com>.
25176 2010-10-01 Andreas Schwab <schwab@redhat.com>
25178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25179 decoding ACE if AI_CANONIDN.
25181 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25183 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25185 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25187 * version.h (RELEASE): Bump for 2.13 release.
25188 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25190 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25192 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25194 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25196 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25197 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25199 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25201 * posix/getconf.c: Update copyright year.
25202 * catgets/gencat.c: Likewise.
25203 * csu/version.c: Likewise.
25204 * debug/catchsegv.sh: Likewise.
25205 * debug/xtrace.sh: Likewise.
25206 * elf/ldconfig.c: Likewise.
25207 * elf/ldd.bash.in: Likewise.
25208 * elf/sprof.c (print_version): Likewise.
25209 * iconv/iconv_prog.c: Likewise.
25210 * iconv/iconvconfig.c: Likewise.
25211 * locale/programs/locale.c: Likewise.
25212 * locale/programs/localedef.c: Likewise.
25213 * malloc/memusage.sh: Likewise.
25214 * malloc/mtrace.pl: Likewise.
25215 * nscd/nscd.c (print_version): Likewise.
25216 * nss/getent.c: Likewise.
25218 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25219 PF_CAIF, and PF_ALG.
25220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25222 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25224 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25225 (modules-names): Use them.
25226 (ifunc-test-modules, ifunc-pie-tests): Define.
25227 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25228 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25229 (test-extras): Likewise.
25230 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25231 $(compile-command.c).
25232 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25233 (all-built-dso): Define.
25234 (check-textrel.out, check-execstack.out): Depend on it.
25236 * configure.in: Don't override --enable-multi-arch.
25238 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25241 * nscd/hstcache.c (tryagain): Define.
25242 (cache_addhst): Return tryagain not notfound for temporary errors.
25243 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25246 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25249 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25250 to make the syscall.
25251 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25254 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25255 and fall back to matching as normal character if the string ends before
25256 the matching ']' is found. This is what POSIX requires.
25257 * posix/testfnm.c: Adjust test result.
25258 * posix/globtest.sh: Adjust test result. Add new test.
25259 * posix/tst-fnmatch.input: Likewise.
25260 * posix/tst-fnmatch2.c: Add new test.
25262 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25264 * elf/Makefile (check-execstack): Revert last change. Depend on
25266 (check-execstack.h): New target.
25267 (generated): Add check-execstack.h.
25268 * elf/check-execstack.c: Include "check-execstack.h".
25269 (main): Revert last change.
25270 (handle_file): Return zero if GNU_STACK is absent and
25271 DEFAULT_STACK_PERMS doesn't include PF_X.
25273 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25275 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25276 in child fails because the descriptor is already closed.
25277 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25278 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25279 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25282 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25286 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25287 temporary buffer used to handle multi lookups locally.
25288 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25290 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25292 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25295 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25297 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25298 alignment for SSE2.
25300 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25303 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25304 characters. When rounding increased number of integer digits recompute
25306 * stdio-common/tst-grouping.c: New file.
25307 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25309 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25311 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25312 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25314 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25316 * bits/select.h: Likewise.
25318 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25320 * po/ja.po: Update from translation team.
25322 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25325 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25326 implementation just like for lxstat, fxstatat, et al.
25328 2010-12-27 Jim Meyering <meyering@redhat.com>
25331 * posix/regexec.c (build_trtable): Return failure indication upon
25332 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25334 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25337 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25338 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25339 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25340 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25343 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25346 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25347 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25349 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25351 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25352 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25353 script has SORT_BY_INIT_PRIORITY.
25354 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25355 NO_CTORS_DTORS_SECTIONS is defined.
25356 * elf/soinit.c: Likewise.
25357 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25358 NO_CTORS_DTORS_SECTIONS is defined.
25359 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25360 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25361 * sysdeps/sh/init-first.c: Likewise.
25362 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25364 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25366 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25367 always use the slow path.
25369 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25371 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25372 similar rule which adds the sysdep directories to the header search in
25373 order to pick up the correct platform stackinfo.h.
25374 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25375 perform test if it is, otherwise return successfully without testing.
25376 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25377 DEFAULT_STACK_PERMS define in stackinfo.h.
25378 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25379 defined in stackinfo.h.
25380 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25381 DEFAULT_STACK_PERMS defined in stackinfo.h.
25382 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25383 * sysdeps/ia64/stackinfo.h: Likewise.
25384 * sysdeps/s390/stackinfo.h: Likewise.
25385 * sysdeps/sh/stackinfo.h: Likewise.
25386 * sysdeps/sparc/stackinfo.h: Likewise.
25387 * sysdeps/x86_64/stackinfo.h: Likewise.
25388 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25389 PF_X for powerpc64. Retain PF_X for powerpc32.
25391 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25393 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25395 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25396 GETDENTS_64BIT_ALIGNED.
25398 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25400 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25402 2010-12-10 Andreas Schwab <schwab@redhat.com>
25404 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25407 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25408 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25410 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25411 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25413 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25416 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25419 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25421 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25423 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25425 * po/it.po: Update from translation team.
25427 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25432 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25434 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25436 2010-11-24 Andreas Schwab <schwab@redhat.com>
25438 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25440 (gaih_getanswer_slice): Likewise.
25442 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25446 2010-05-31 Petr Baudis <pasky@suse.cz>
25449 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25450 silently even in the chroot mode.
25452 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25454 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25455 last patch a bit. Pretty printing
25457 2010-05-31 Petr Baudis <pasky@suse.cz>
25460 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25461 initialization of skip_initgroups_dyn.
25463 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25465 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25466 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25468 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25470 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25472 2010-11-11 Andreas Schwab <schwab@redhat.com>
25474 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25475 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25476 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25477 ($(objpfx)tst-fnmatch-mem): New rule.
25478 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25479 * posix/tst-fnmatch.c (main): Call mtrace.
25481 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25484 Support Intel processor model 6 and model 0x2c.
25486 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25491 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25494 * string/test-strncasecmp.c (check_result): New function.
25495 (do_one_test): Use it.
25496 (check1): New function.
25497 (test_main): Use it.
25498 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25499 Support strcasecmp and strncasecmp.
25501 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25504 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25505 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25507 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25509 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25513 * sysdeps/x86_64/multiarch/bzero.S: New file.
25514 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25515 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25516 * sysdeps/x86_64/multiarch/memset.S: New file.
25517 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25519 Set bit_Prefer_SSE_for_memop for Intel processors.
25520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25522 (index_Prefer_SSE_for_memop): Define.
25523 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25525 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25527 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25528 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25530 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25533 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25534 (__x86_64_raw_data_cache_size_half): Likewise.
25535 (__x86_64_raw_shared_cache_size): Likewise.
25536 (__x86_64_raw_shared_cache_size_half): Likewise.
25538 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25539 (__x86_64_raw_data_cache_size_half): Likewise.
25540 (__x86_64_raw_shared_cache_size): Likewise.
25541 (__x86_64_raw_shared_cache_size_half): Likewise.
25542 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25543 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25544 and __x86_64_raw_shared_cache_size_half. Round
25545 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25546 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25547 to multiple of 256 bytes.
25549 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25552 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25553 of inacessible symlinks. Verify result of symlink before returning it.
25554 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25555 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25557 2010-10-28 Erich Ritz <erichritz@gmail.com>
25559 * math/math.h (isinf): Fix typo in comment.
25561 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25563 * po/da.po: Update from translation team.
25565 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25567 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25568 is added to the list.
25570 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25571 Ulrich Drepper <drepper@gmail.com>
25573 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25574 the global list here. Move code to...
25575 (_dl_add_to_namespace_list): ...here. New function.
25576 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25577 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25578 * elf/dl-load.c (lose): Don't remove the element from the list.
25579 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25580 (_dl_map_object): Likewise.
25582 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25585 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25586 into all bytes of SSE register.
25587 Patch by Richard Li <richardpku@gmail.com>.
25589 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25592 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25595 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25597 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25598 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25599 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25600 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25605 2010-10-22 Andreas Schwab <schwab@redhat.com>
25607 * include/dlfcn.h (__RTLD_SECURE): Define.
25608 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25609 mode & __RTLD_SECURE instead.
25610 (open_path): Rename preloaded parameter to secure.
25611 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25612 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25613 * elf/dl-deps.c (openaux): Likewise.
25614 * elf/rtld.c (struct map_args): Remove is_preloaded.
25615 (map_doit): Don't use it.
25616 (dl_main): Likewise.
25617 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25618 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25620 2010-09-09 Andreas Schwab <schwab@redhat.com>
25622 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25623 (sysd-rules-targets): Remove duplicates.
25624 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25625 rtld-%.$o dependency.
25627 2010-10-18 Andreas Schwab <schwab@redhat.com>
25629 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25630 _dl_map_object do it.
25632 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25634 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25635 fast fma builtins, define the macros in the C99 standard.
25636 (FP_FAST_FMAF): Likewise.
25637 (FP_FAST_FMAL): Likewise.
25638 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25640 * bits/mathdef.h: Update copyright year.
25641 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25643 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25645 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25646 builtins, define the macros in the C99 standard.
25647 (FP_FAST_FMAF): Likewise.
25648 (FP_FAST_FMAL): Likewise.
25649 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25651 (FP_FAST_FMAF): Likewise.
25653 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25656 * math/libm-test.inc (fma_test): Some new testcases.
25657 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25658 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25659 y and infinite z. Do multiplication by C already in long double.
25660 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25662 y and infinite z. Do bitwise or of inexact bit into u.d.
25663 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25664 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25665 * sysdeps/i386/fpu/s_fma.S: Removed.
25666 * sysdeps/i386/fpu/s_fmal.S: Removed.
25668 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25671 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25673 computation is not scheduled after fetestexcept. Fix value
25674 of minimum denormal long double.
25676 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25679 * math/libm-test.inc (fma_test): Add some more tests.
25680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25683 2010-10-15 Andreas Schwab <schwab@redhat.com>
25685 * scripts/data/localplt-s390-linux-gnu.data: New file.
25686 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25688 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25691 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25692 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25694 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25696 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25698 if one of x and y is very large and the other is subnormal.
25699 * sysdeps/s390/fpu/s_fmaf.c: New file.
25700 * sysdeps/s390/fpu/s_fma.c: New file.
25701 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25702 * sysdeps/powerpc/fpu/s_fma.S: New file.
25703 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25704 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25705 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25707 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25710 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25712 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25713 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25714 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25715 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25716 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25717 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25720 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25723 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25724 * posix/bug-regex31.input: Add test case.
25726 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25728 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25729 * posix/bug-regex31.input: New file.
25732 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25733 (parse_sub_exp): Fix last change, use postorder.
25735 * posix/bug-regex31.c: New file.
25736 * posix/Makefile: Add rules to build and run bug-regex31.
25738 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25741 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25744 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25745 to have entries in sys_siglist.
25748 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25751 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25754 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25755 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25756 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25757 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25758 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25759 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25760 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25761 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25762 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25763 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25764 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25765 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25766 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25767 * math/ftestexcept.c (fetestexcept): Likewise.
25768 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25769 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25770 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25771 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25772 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25773 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25774 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25776 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25779 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25782 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25784 * string/bug-strstr1.c: New file.
25785 * string/Makefile: Add rules to build and run bug-strstr1.
25787 2010-10-05 Eric Blake <eblake@redhat.com>
25790 * string/str-two-way.h (two_way_long_needle): Always clear memory
25791 when skipping input due to the shift table.
25793 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25796 * malloc/mcheck.c: Handle large requests.
25799 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25800 for strncmp and strncasecmp.
25801 * string/stratcliff.c: Add tests for strcmp and strncmp.
25802 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25804 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25806 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25809 2010-09-30 Andreas Jaeger <aj@suse.de>
25811 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25812 (CGROUP_SUPER_MAGIC): Define.
25813 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25814 Handle btrfs and cgroup file systems.
25815 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25818 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25820 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25821 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25823 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25826 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25827 trying to locate the ELF header.
25829 2010-09-27 Andreas Schwab <schwab@redhat.com>
25832 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25833 Mask out sign-bit copies when constructing f_fsid.
25835 2010-09-24 Petr Baudis <pasky@suse.cz>
25837 * debug/stack_chk_fail_local.c: Add missing licence exception.
25838 * debug/warning-nop.c: Likewise.
25840 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25842 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25843 implementing getdents64 using getdents syscall, set d_type if
25844 __ASSUME_GETDENTS32_D_TYPE.
25846 2010-09-16 Andreas Schwab <schwab@redhat.com>
25848 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25849 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25851 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25854 * posix/unistd.h: Undo change of feature selection for ftruncate from
25857 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25859 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25862 2010-09-20 Andreas Schwab <schwab@redhat.com>
25864 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25868 2010-09-14 Andreas Schwab <schwab@redhat.com>
25870 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25871 variables after CHECK_SP call.
25872 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25874 2010-09-13 Andreas Schwab <schwab@redhat.com>
25875 Ulrich Drepper <drepper@redhat.com>
25877 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25878 re-relocationg ld.so.
25879 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25880 _dl_init_paths call.
25881 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25884 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25886 * resolv/res_init.c (__res_vinit): Count the default server we added.
25888 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25889 Ulrich Drepper <drepper@redhat.com>
25892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25893 (____longjmp_chk): Use %ebx for saving value across system call.
25896 2010-09-06 Andreas Schwab <schwab@redhat.com>
25898 * manual/Makefile: Don't mix pattern rules with normal rules.
25900 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25902 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25904 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25905 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25906 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25907 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25911 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25914 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25915 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25917 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25919 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25920 * sysdeps/x86_64/addmul_1.S: Likewise.
25921 * sysdeps/x86_64/lshift.S: Likewise.
25922 * sysdeps/x86_64/mul_1.S: Likewise.
25923 * sysdeps/x86_64/rshift.S: Likewise.
25924 * sysdeps/x86_64/sub_n.S: Likewise.
25925 * sysdeps/x86_64/submul_1.S: Likewise.
25927 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25929 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25930 Define __sched_param instead of SCHED_* and sched_param when
25931 <bits/sched.h> is included with __need_schedparam defined.
25932 * bits/sched.h [__need_schedparam]
25933 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25934 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25935 (__defined_schedparam): Define to 1.
25936 (__sched_param): New structure, identical to sched_param.
25937 (__need_schedparam): Undefine.
25939 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25941 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25942 (epoll_create1): Declare.
25944 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25946 2010-08-31 Andreas Schwab <schwab@redhat.com>
25949 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25950 shifting retval into place.
25952 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25954 * nis/rpcsvc/nis.h: Update copyright notice.
25955 * nis/rpcsvc/nis.x: Likewise.
25956 * nis/rpcsvc/nis_callback.h: Likewise.
25957 * nis/rpcsvc/nis_callback.x: Likewise.
25958 * nis/rpcsvc/nis_object.x: Likewise.
25959 * nis/rpcsvc/nis_tags.h: Likewise.
25960 * nis/rpcsvc/yp.h: Likewise.
25961 * nis/rpcsvc/yp.x: Likewise.
25962 * nis/rpcsvc/ypupd.h: Likewise.
25963 * nis/yp_xdr.c: Likewise.
25964 * nis/ypupdate_xdr.c: Likewise.
25966 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25967 mainly the body of pmap_getport. Add parameters to specify timeouts.
25968 (pmap_getport): Use __libc_rpc_getport.
25969 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25970 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25971 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25973 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25978 2010-08-27 Roland McGrath <roland@redhat.com>
25980 * sysdeps/i386/i686/multiarch/Makefile
25981 (CFLAGS-varshift.c): New variable.
25983 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25985 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25986 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25990 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25992 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25994 * sysdeps/x86_64/strlen.S: Unroll the loop.
25995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25996 strlen-sse2 strlen-sse2-bsf.
25997 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25998 __strlen_no_bsf if bit_Slow_BSF is set.
25999 (__strlen_sse42): Removed.
26000 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26001 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26003 2010-08-25 Roland McGrath <roland@redhat.com>
26005 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26006 * sysdeps/x86_64/multiarch/varshift.c: New file.
26007 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26008 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26009 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26010 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26012 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26015 strlen-sse2 strlen-sse2-bsf.
26016 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26017 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26018 (__strlen_sse2): Removed.
26019 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26022 bit_Slow_BSF for Atom.
26023 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26024 (index_Slow_BSF): Define.
26025 (HAS_SLOW_BSF): Define.
26027 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26030 * resolv/res_init.c (__res_vinit): When no server address at all
26031 is given default to loopback.
26033 2010-08-24 Roland McGrath <roland@redhat.com>
26035 * configure.in: Remove config-name.h generation.
26036 * configure: Regenerated.
26037 * config-name.in: File removed.
26038 * scripts/config-uname.sh: New file.
26039 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26040 ($(objdir)config-name.h): New target.
26042 * sunrpc/rpc_parse.h: Avoid nested comment.
26044 2010-08-24 Richard Henderson <rth@redhat.com>
26045 Ulrich Drepper <drepper@redhat.com>
26046 H.J. Lu <hongjiu.lu@intel.com>
26048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26050 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26051 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26052 _mm_alignr_epi8 with _mm_loadu_si128.
26053 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26054 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26055 (__m128i_shift_right): Removed.
26056 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26057 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26058 * sysdeps/x86_64/multiarch/varshift.h: New file.
26059 * sysdeps/x86_64/multiarch/varshift.S: New file.
26061 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26063 * configure.in: Move assembler checks to before sysdep dir checking.
26065 2010-08-20 Petr Baudis <pasky@suse.cz>
26067 * LICENSES: Sync the sunrpc license.
26069 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26071 * sunrpc/auth_des.c: Update copyright notice once again.
26072 * sunrpc/auth_none.c: Likewise.
26073 * sunrpc/auth_unix.c: Likewise.
26074 * sunrpc/authdes_prot.c: Likewise.
26075 * sunrpc/authuxprot.c: Likewise.
26076 * sunrpc/bindrsvprt.c: Likewise.
26077 * sunrpc/clnt_gen.c: Likewise.
26078 * sunrpc/clnt_perr.c: Likewise.
26079 * sunrpc/clnt_raw.c: Likewise.
26080 * sunrpc/clnt_simp.c: Likewise.
26081 * sunrpc/clnt_tcp.c: Likewise.
26082 * sunrpc/clnt_udp.c: Likewise.
26083 * sunrpc/clnt_unix.c: Likewise.
26084 * sunrpc/des_crypt.c: Likewise.
26085 * sunrpc/des_soft.c: Likewise.
26086 * sunrpc/get_myaddr.c: Likewise.
26087 * sunrpc/getrpcport.c: Likewise.
26088 * sunrpc/key_call.c: Likewise.
26089 * sunrpc/key_prot.c: Likewise.
26090 * sunrpc/openchild.c: Likewise.
26091 * sunrpc/pm_getmaps.c: Likewise.
26092 * sunrpc/pm_getport.c: Likewise.
26093 * sunrpc/pmap_clnt.c: Likewise.
26094 * sunrpc/pmap_prot.c: Likewise.
26095 * sunrpc/pmap_prot2.c: Likewise.
26096 * sunrpc/pmap_rmt.c: Likewise.
26097 * sunrpc/rpc/auth.h: Likewise.
26098 * sunrpc/rpc/auth_unix.h: Likewise.
26099 * sunrpc/rpc/clnt.h: Likewise.
26100 * sunrpc/rpc/des_crypt.h: Likewise.
26101 * sunrpc/rpc/key_prot.h: Likewise.
26102 * sunrpc/rpc/netdb.h: Likewise.
26103 * sunrpc/rpc/pmap_clnt.h: Likewise.
26104 * sunrpc/rpc/pmap_prot.h: Likewise.
26105 * sunrpc/rpc/pmap_rmt.h: Likewise.
26106 * sunrpc/rpc/rpc.h: Likewise.
26107 * sunrpc/rpc/rpc_des.h: Likewise.
26108 * sunrpc/rpc/rpc_msg.h: Likewise.
26109 * sunrpc/rpc/svc.h: Likewise.
26110 * sunrpc/rpc/svc_auth.h: Likewise.
26111 * sunrpc/rpc/types.h: Likewise.
26112 * sunrpc/rpc/xdr.h: Likewise.
26113 * sunrpc/rpc_clntout.c: Likewise.
26114 * sunrpc/rpc_cmsg.c: Likewise.
26115 * sunrpc/rpc_common.c: Likewise.
26116 * sunrpc/rpc_cout.c: Likewise.
26117 * sunrpc/rpc_dtable.c: Likewise.
26118 * sunrpc/rpc_hout.c: Likewise.
26119 * sunrpc/rpc_main.c: Likewise.
26120 * sunrpc/rpc_parse.c: Likewise.
26121 * sunrpc/rpc_parse.h: Likewise.
26122 * sunrpc/rpc_prot.c: Likewise.
26123 * sunrpc/rpc_sample.c: Likewise.
26124 * sunrpc/rpc_scan.c: Likewise.
26125 * sunrpc/rpc_scan.h: Likewise.
26126 * sunrpc/rpc_svcout.c: Likewise.
26127 * sunrpc/rpc_tblout.c: Likewise.
26128 * sunrpc/rpc_util.c: Likewise.
26129 * sunrpc/rpc_util.h: Likewise.
26130 * sunrpc/rpcinfo.c: Likewise.
26131 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26132 * sunrpc/rpcsvc/key_prot.x: Likewise.
26133 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26134 * sunrpc/rpcsvc/mount.x: Likewise.
26135 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26136 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26137 * sunrpc/rpcsvc/rex.x: Likewise.
26138 * sunrpc/rpcsvc/rstat.x: Likewise.
26139 * sunrpc/rpcsvc/rusers.x: Likewise.
26140 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26141 * sunrpc/rpcsvc/spray.x: Likewise.
26142 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26143 * sunrpc/rtime.c: Likewise.
26144 * sunrpc/svc.c: Likewise.
26145 * sunrpc/svc_auth.c: Likewise.
26146 * sunrpc/svc_authux.c: Likewise.
26147 * sunrpc/svc_raw.c: Likewise.
26148 * sunrpc/svc_run.c: Likewise.
26149 * sunrpc/svc_simple.c: Likewise.
26150 * sunrpc/svc_tcp.c: Likewise.
26151 * sunrpc/svc_udp.c: Likewise.
26152 * sunrpc/svc_unix.c: Likewise.
26153 * sunrpc/svcauth_des.c: Likewise.
26154 * sunrpc/xcrypt.c: Likewise.
26155 * sunrpc/xdr.c: Likewise.
26156 * sunrpc/xdr_array.c: Likewise.
26157 * sunrpc/xdr_float.c: Likewise.
26158 * sunrpc/xdr_mem.c: Likewise.
26159 * sunrpc/xdr_rec.c: Likewise.
26160 * sunrpc/xdr_ref.c: Likewise.
26161 * sunrpc/xdr_sizeof.c: Likewise.
26162 * sunrpc/xdr_stdio.c: Likewise.
26164 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26167 2010-08-19 Andreas Schwab <schwab@redhat.com>
26169 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26171 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26173 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26174 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26175 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26176 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26177 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26178 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26179 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26180 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26182 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26183 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26185 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26186 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26188 2010-07-26 Anton Blanchard <anton@samba.org>
26190 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26191 * malloc/arena.c (heap_trim): Likewise.
26193 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26195 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26197 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26198 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26200 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26202 * sysdeps/i386/elf/Makefile: New file.
26204 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26206 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26207 from fanotify_init.
26208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26211 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26213 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26215 * sysdeps/multiarch/strcmp.S: Likewise.
26217 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26219 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26220 strncase_l-nonascii.
26221 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26222 Add strncase_l-ssse3.
26223 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26224 * sysdeps/x86_64/strcmp.S: Likewise.
26225 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26226 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26227 * sysdeps/x86_64/strncase.S: New file.
26228 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26229 * sysdeps/x86_64/strncase_l.S: New file.
26230 * string/Makefile (strop-tests): Add strncasecmp.
26231 * string/test-strncasecmp.c: New file.
26233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26236 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26237 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26239 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26241 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26243 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26245 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26246 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26247 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26249 2010-05-01 Alan Modra <amodra@gmail.com>
26251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26252 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26253 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26254 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26255 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26256 tidying. Don't tail-call __sigjmp_save for static lib.
26257 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26259 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26260 (CALL_MCOUNT): Add eh info, and nop after bl.
26261 (TAIL_CALL_SYSCALL_ERROR): New macro.
26262 (PSEUDO_RET): Use it.
26263 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26264 Correct save location of integer regs and cr.
26265 (_dl_profile_resolve): Correct cr save location. Delete nops
26266 after bl when SHARED. Reduce cfi size a little by better
26267 placement of cfi directives.
26268 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26269 make a stack frame. Instead use parm save area as a temp.
26270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26271 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26273 Don't make a stack frame for parent, use parm save area.
26274 Increase child stack frame to 112 bytes. Don't save unused reg,
26275 and adjust reg usage. Set up cfi on error recovery and
26276 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26278 (__makecontext): Add dummy nop after jump to exit.
26279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26280 Use correct parm save area and cr save, reduce stack frame.
26281 Correct cfi for possible PSEUDO_RET frame setup.
26282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26283 Branch to local label emitted by PSEUDO_RET rather than
26286 2010-08-12 Andreas Schwab <schwab@redhat.com>
26289 * locale/programs/locale.c (print_assignment): New function.
26290 (show_locale_vars): Use it.
26292 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26294 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26296 (struct statfs64): Likewise.
26297 (_STATFS_F_FLAGS): Define.
26298 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26300 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26301 (ST_VALID): Define locally.
26302 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26303 __statvfs_getflags, use the provided value.
26304 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26305 __ASSUME_STATFS_F_FLAGS.
26307 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26309 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26310 Add sys/fanotify.h.
26311 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26312 fanotify_mask for GLIBC_2.13.
26313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26314 fanotify_init and fanotify_mark.
26315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26316 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26318 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26320 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26321 prlimit64 for GLIBC_2.13.
26322 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26327 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26328 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26329 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26332 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26335 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26336 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26338 * nss/Makefile: Add rules to build and run tst-nss-test1.
26339 * shlib-versions: Add entry for libnss_test1.
26340 * nss/nss_test1.c: New file.
26341 * nss/tst-nss-test1.c: New file.
26343 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26344 (__nss_configure_lookup): Set appropriate entry in
26345 __nss_configure_lookup to true.
26346 * nss/nsswitch.h: Define enum with indeces of databases in
26347 databases and __nss_database_custom arrays. Declare
26348 __nss_database_custom.
26349 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26350 to avoid using nscd when custom rules are installed.
26351 * nss/getXXbyYY_r.c: Likewise.
26352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26354 * nss/nss_files/files-parse.c: Whitespace fixes.
26356 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26359 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26360 * posix/fnmatch_loop.c: Likewise.
26362 2010-07-17 Andi Kleen <ak@linux.intel.com>
26364 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26365 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26366 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26367 * Versions.def [GLIBC_2.13]: Add.
26369 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26371 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26372 Also fail if tpwd after pwuid call is NULL.
26374 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26376 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26377 when converting to ms.
26379 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26381 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26382 EOPNOTSUPP errors with ENOTTY.
26383 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26384 EOPNOTSUPP errors with ENOTTY.
26386 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26388 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26389 Add strcasecmp_l-ssse3.
26390 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26392 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26393 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26394 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26396 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26398 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26400 * string/Makefile (strop-tests): Add strcasecmp.
26401 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26402 strcasecmp_l-nonascii.
26403 (gen-as-const-headers): Add locale-defines.sym.
26404 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26405 * sysdeps/x86_64/strcasecmp.S: New file.
26406 * sysdeps/x86_64/strcasecmp_l.S: New file.
26407 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26408 * sysdeps/x86_64/locale-defines.sym: New file.
26409 * string/test-strcasecmp.c: New file.
26411 * string/test-strcasestr.c: Test both ends of the range of characters.
26412 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26414 2010-07-29 Roland McGrath <roland@redhat.com>
26417 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26419 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26421 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26424 2010-07-27 Andreas Schwab <schwab@redhat.com>
26426 * manual/memory.texi (Malloc Tunable Parameters): Document
26429 2010-07-26 Roland McGrath <roland@redhat.com>
26432 * configure.in (-fgnu89-inline check): Set and substitute
26433 gnu89_inline, not libc_cv_gnu89_inline.
26434 * configure: Regenerated.
26435 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26437 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26439 * string/test-strnlen.c: New file.
26440 * string/Makefile (strop-tests): Add strnlen.
26441 * string/tester.c (test_strnlen): Add a few more test cases.
26442 * string/tst-strlen.c: Better error reporting.
26444 * sysdeps/x86_64/strnlen.S: New file.
26446 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26448 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26449 lower-latency instructions.
26451 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26453 * string/test-strcasestr.c: New file.
26454 * string/test-strstr.c: New file.
26455 * string/Makefile (strop-tests): Add strstr and strcasestr.
26456 * string/str-two-way.h: Don't undefine MAX.
26457 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26459 2010-07-21 Andreas Schwab <schwab@redhat.com>
26461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26462 strcasestr-nonascii.
26463 (CFLAGS-strcasestr-nonascii.c): Define.
26464 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26465 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26466 Remove unused attribute.
26468 2010-07-20 Roland McGrath <roland@redhat.com>
26470 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26471 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26472 ld.so.cache was broken. With it, there is no way to disable dsocaps
26473 like LD_HWCAP_MASK can disable hwcaps.
26475 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26477 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26479 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26481 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26482 call in strcasestr.
26483 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26484 __strcasestr_sse42_nonascii.
26485 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26486 strcasestr-nonascii.c.
26487 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26489 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26491 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26493 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26494 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26496 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26498 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26501 2010-07-06 Andreas Schwab <schwab@redhat.com>
26504 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26507 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26509 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26510 _PC_PIPE_BUF using F_GETPIPE_SZ.
26512 2010-07-05 Roland McGrath <roland@redhat.com>
26514 * manual/arith.texi (Rounding Functions): Fix rint description
26515 implicit in round description.
26517 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26519 * elf/Makefile: Fix linking for a few tests to make recent linker
26522 2010-06-30 Andreas Schwab <schwab@redhat.com>
26524 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26525 $(common-objpfx)libc_nonshared.a.
26527 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26529 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26530 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26531 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26532 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26533 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26534 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26535 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26536 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26551 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26552 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26553 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26554 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26555 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26556 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26557 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26558 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26559 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26560 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26561 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26562 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26578 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26580 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26581 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26582 * string/memmove.c (memmove): Renamed to ...
26583 (MEMMOVE): ...this. Default to memmove.
26584 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26585 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26588 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26589 mempcpy-ssse3-back memmove-ssse3-back.
26590 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26593 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26594 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26595 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26596 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26597 * sysdeps/x86_64/multiarch/memmove.c: New file.
26598 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26599 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26600 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26601 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26602 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26603 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26605 (index_Fast_Copy_Backward): Define.
26606 (HAS_ARCH_FEATURE): Define.
26607 (HAS_FAST_REP_STRING): Define.
26608 (HAS_FAST_COPY_BACKWARD): Define.
26610 2010-06-21 Andreas Schwab <schwab@redhat.com>
26612 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26613 Restore proper fallback handling.
26615 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26618 * posix/group_member.c (__group_member): Correct checking loop.
26620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26621 OOM in getpwuid_r correctly. Return error number when the caller
26622 should return, otherwise -1.
26623 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26624 call returning > 0 value.
26625 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26627 2010-06-07 Andreas Schwab <schwab@redhat.com>
26629 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26630 libc_nonshared.a from targets in modules-names.
26632 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26634 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26637 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26639 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26640 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26644 2010-06-02 Andreas Schwab <schwab@redhat.com>
26646 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26648 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26650 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26652 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26657 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26659 2010-06-14 Roland McGrath <roland@redhat.com>
26661 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26663 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26665 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26666 __REDIRECT followed by __THROW.
26667 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26668 * posix/getopt.h (getopt): Likewise.
26670 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26672 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26673 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26674 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26676 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26677 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26679 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26681 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26683 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26687 Properly check family and model.
26689 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26691 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26693 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26695 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26697 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26699 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26702 2010-05-19 Andreas Schwab <schwab@redhat.com>
26704 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26707 2010-05-21 Andreas Schwab <schwab@redhat.com>
26709 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26710 and internal_recvmmsg.
26711 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26712 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26713 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26714 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26716 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26717 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26718 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26720 2010-05-20 Andreas Schwab <schwab@redhat.com>
26722 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26724 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26726 POWER7 optimizations.
26727 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26728 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26730 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26732 * version.h: Update for 2.13 development version.
26734 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26736 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26737 exceptions. Return 0.
26739 2010-05-07 Roland McGrath <roland@redhat.com>
26741 * elf/ldconfig.c (main): Add a const.
26743 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26745 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26746 (args_options): Add no-idn option.
26747 (ahosts_keys_int): Add idn_flags to ai_flags.
26748 (parse_option): Handle 'i' option to clear idn_flags.
26750 * malloc/malloc.c (_int_free): Possible race in the most recently
26751 added check. Only act on the data if no current modification
26754 See ChangeLog.17 for earlier changes.