1 2013-03-06 Andreas Jaeger <aj@suse.de>
3 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4 it's not part of Linux headers.
6 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7 (MAP_HUGE_MASK): Define.
9 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
14 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33 Handle f2fs and efivarfs.
35 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39 (EFIVARFS_MAGIC): Add.
42 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44 * stdio-common/vfprintf.c: Replace __builtin_expect with
47 2013-03-06 Joseph Myers <joseph@codesourcery.com>
50 * sysdeps/generic/bp-sym.h: Remove file.
51 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53 <bp-sym.h> and <bp-asm.h>.
54 (__longjmp): Don't use BP_SYM.
55 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
57 (memcpy): Don't use BP_SYM.
58 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59 <bp-sym.h> and <bp-asm.h>.
60 (memcpy): Don't use BP_SYM.
61 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63 (memcpy): Don't use BP_SYM.
64 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66 (memset): Don't use BP_SYM.
67 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69 (__bzero): Don't use BP_SYM.
70 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
71 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
72 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
73 <bp-sym.h> and <bp-asm.h>.
74 (memcmp): Don't use BP_SYM. Remove comment about bounded
76 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
77 <bp-sym.h> and <bp-asm.h>.
78 (memcpy): Don't use BP_SYM.
79 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
80 <bp-sym.h> and <bp-asm.h>.
81 (memset): Don't use BP_SYM.
82 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
83 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
84 (__bzero): Don't use BP_SYM.
85 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
86 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
87 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
88 <bp-sym.h> and <bp-asm.h>.
89 (strncmp): Don't use BP_SYM. Remove comment about bounded
91 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
92 <bp-sym.h> and <bp-asm.h>.
93 (memcpy): Don't use BP_SYM.
94 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
95 <bp-sym.h> and <bp-asm.h>.
96 (memset): Don't use BP_SYM.
97 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
98 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
99 (__bzero): Don't use BP_SYM.
100 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
101 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
103 <bp-sym.h> and <bp-asm.h>.
104 (__memchr): Don't use BP_SYM.
105 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
106 <bp-sym.h> and <bp-asm.h>.
107 (memcmp): Don't use BP_SYM. Remove comment about bounded
109 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
110 <bp-sym.h> and <bp-asm.h>.
111 (memcpy): Don't use BP_SYM.
112 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
113 <bp-sym.h> and <bp-asm.h>.
114 (__mempcpy): Don't use BP_SYM.
115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
116 <bp-sym.h> and <bp-asm.h>.
117 (__memrchr): Don't use BP_SYM.
118 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
119 <bp-sym.h> and <bp-asm.h>.
120 (memset): Don't use BP_SYM.
122 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
123 <bp-sym.h> and <bp-asm.h>.
124 (__rawmemchr): Don't use BP_SYM.
125 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
126 <bp-sym.h> and <bp-asm.h>.
127 (__STRCMP): Don't use BP_SYM.
128 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
129 <bp-sym.h> and <bp-asm.h>.
130 (strchr): Don't use BP_SYM.
131 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
132 <bp-sym.h> and <bp-asm.h>.
133 (__strchrnul): Don't use BP_SYM.
134 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (strlen): Don't use BP_SYM.
137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
138 <bp-sym.h> and <bp-asm.h>.
139 (strncmp): Don't use BP_SYM. Remove comment about bounded
141 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
142 <bp-sym.h> and <bp-asm.h>.
143 (__strnlen): Don't use BP_SYM.
144 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
145 <bp-sym.h> and <bp-asm.h>.
146 (__GI__setjmp): Don't use BP_SYM.
148 (__sigsetjmp): Likewise.
149 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
150 (L(start_addresses)): Don't use BP_SYM.
152 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
154 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
155 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
156 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
157 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
158 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
160 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
161 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
162 about bounded pointers.
163 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
164 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
165 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
167 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
168 about bounded pointers. Remove GKM FIXME comments.
169 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
170 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
172 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
173 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
174 Remove GKM FIXME comments.
175 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
176 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
177 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
179 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
180 about bounded pointers. Remove GKM FIXME comment.
181 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
183 (strncmp): Don't use BP_SYM. Remove comment about bounded
185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
186 <bp-sym.h> and <bp-asm.h>.
187 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
189 <bp-sym.h> and <bp-asm.h>.
190 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
193 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
195 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
198 2013-03-05 David S. Miller <davem@davemloft.net>
200 * po/es.po: Update from translation team.
202 2013-03-05 Andreas Jaeger <aj@suse.de>
204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
206 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
208 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
209 <bits/mman-linux.h> to end of file.
210 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
212 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
213 <bits/mman-linux.h> to end of file.
214 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
217 <bits/mman-linux.h> to end of file.
219 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
220 (MCL_CURRENT, MCL_FUTURE): Define here.
222 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
225 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
227 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
229 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
231 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
232 fourth parameter needed for rt_sigprocmask syscall.
233 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
234 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
235 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
236 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
237 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
238 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
240 2013-03-04 Joseph Myers <joseph@codesourcery.com>
243 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
244 comment about bounded pointers.
245 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
246 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
248 2013-03-04 Andreas Jaeger <aj@suse.de>
250 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
253 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
254 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
255 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
256 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
260 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
263 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
264 __ieee754_sqrl instead of __sqrl.
266 2013-03-01 Joseph Myers <joseph@codesourcery.com>
268 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
269 * sysdeps/powerpc/fpu_control.h: ... here.
270 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
271 * sysdeps/powerpc/bits/fenvinline.h: ... here.
272 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
273 * sysdeps/powerpc/bits/mathinline.h: ... here.
275 2013-03-01 Roland McGrath <roland@hack.frob.com>
277 * elf/dl-hwcaps.c (_dl_important_hwcaps):
278 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
279 to just [NEED_DL_SYSINFO_DSO].
280 * elf/dl-support.c: Likewise.
281 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
282 * elf/rtld.c (dl_main): Likewise.
283 * elf/setup-vdso.h (setup_vdso): Likewise.
284 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
285 * sysdeps/unix/sysv/linux/dl-sysdep.c
286 (_dl_discover_osversion): Likewise.
288 2013-03-01 Carlos O'Donell <carlos@redhat.com>
290 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
291 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
293 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
295 * NEWS: Mention libm performance improvements and non-x86 PI
298 * csu/libc-start.c (__pthread_initialize_minimal): Change
300 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
302 2013-02-28 Joseph Myers <joseph@codesourcery.com>
305 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
306 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
307 <bp-sym.h> and <bp-asm.h>.
308 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
309 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
311 (memcpy): Don't use BP_SYM.
312 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
314 (__mpn_add_n): Don't use BP_SYM.
315 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
316 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
318 (__mpn_addmul_1): Don't use BP_SYM.
319 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
320 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
322 (_setjmp): Don't use BP_SYM.
323 (__novmx_setjmp): Likewise.
324 (__GI__setjmp): Likewise.
325 (__vmx_setjmp): Likewise.
326 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
328 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
329 (__bzero): Don't use BP_SYM.
330 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
331 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
332 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
333 <bp-sym.h> and <bp-asm.h>.
334 (memcpy): Don't use BP_SYM.
335 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
336 <bp-sym.h> and <bp-asm.h>.
337 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
338 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
339 <bp-sym.h> and <bp-asm.h>.
340 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
341 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
343 (__mpn_lshift): Don't use BP_SYM.
344 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
345 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
347 (memset): Don't use BP_SYM.
348 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
349 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
350 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
352 (__mpn_mul_1): Don't use BP_SYM.
353 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
354 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
355 <bp-sym.h> and <bp-asm.h>.
356 (memcmp): Don't use BP_SYM.
357 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
358 <bp-sym.h> and <bp-asm.h>.
359 (memcpy): Don't use BP_SYM.
360 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
361 <bp-sym.h> and <bp-asm.h>.
362 (memset): Don't use BP_SYM.
363 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
364 <bp-sym.h> and <bp-asm.h>.
365 (strncmp): Don't use BP_SYM.
366 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
367 <bp-sym.h> and <bp-asm.h>.
368 (memcpy): Don't use BP_SYM.
369 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
370 <bp-sym.h> and <bp-asm.h>.
371 (memset): Don't use BP_SYM.
372 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
373 <bp-sym.h> and <bp-asm.h>.
374 (__memchr): Don't use BP_SYM.
375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
376 <bp-sym.h> and <bp-asm.h>.
377 (memcmp): Don't use BP_SYM.
378 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
379 <bp-sym.h> and <bp-asm.h>.
380 (memcpy): Don't use BP_SYM.
381 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
382 <bp-sym.h> and <bp-asm.h>.
383 (__mempcpy): Don't use BP_SYM.
384 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
385 <bp-sym.h> and <bp-asm.h>.
386 (__memrchr): Don't use BP_SYM.
387 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
388 <bp-sym.h> and <bp-asm.h>.
389 (memset): Don't use BP_SYM.
390 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
391 <bp-sym.h> and <bp-asm.h>.
392 (__rawmemchr): Don't use BP_SYM.
393 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
394 <bp-sym.h> and <bp-asm.h>.
395 (__STRCMP): Don't use BP_SYM.
396 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
397 <bp-sym.h> and <bp-asm.h>.
398 (strchr): Don't use BP_SYM.
399 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
400 <bp-sym.h> and <bp-asm.h>.
401 (__strchrnul): Don't use BP_SYM.
402 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
403 <bp-sym.h> and <bp-asm.h>.
404 (strlen): Don't use BP_SYM.
405 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
406 <bp-sym.h> and <bp-asm.h>.
407 (strncmp): Don't use BP_SYM.
408 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
409 <bp-sym.h> and <bp-asm.h>.
410 (__strnlen): Don't use BP_SYM.
411 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
413 (__mpn_rshift): Don't use BP_SYM.
414 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
415 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
416 <bp-sym.h> and <bp-asm.h>.
417 (__sigsetjmp): Don't use BP_SYM.
418 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
419 (L(start_addresses)): Don't use BP_SYM.
421 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
423 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
424 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
425 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
426 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
428 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
429 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
430 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
431 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
433 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
435 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
436 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
438 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
440 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
441 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
442 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
444 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
446 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
448 (strncmp): Don't use BP_SYM,
449 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
451 (__mpn_sub_n): Don't use BP_SYM.
452 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
453 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
455 (__mpn_submul_1): Don't use BP_SYM.
456 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
458 <bp-sym.h> and <bp-asm.h>.
459 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
461 <bp-sym.h> and <bp-asm.h>.
462 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
465 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
468 Use ZK to minimize writes to Z.
469 (sub_magnitudes): Simplify code a bit.
470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
471 Use ZK to minimize writes to Z.
472 (sub_magnitudes): Simplify code a bit.
474 2013-02-27 Roland McGrath <roland@hack.frob.com>
476 * csu/gmon-start.c: Add special exception to license text.
478 2013-02-27 Richard Henderson <rth@redhat.com>
480 * scripts/config.guess: Update from config.git.
481 * scripts/config.sub: Likewise.
483 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
485 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
487 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
489 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
491 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
493 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
495 2013-02-26 Roland McGrath <roland@hack.frob.com>
497 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
498 [$(build-shared = yes].
500 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
502 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
503 (__mul): Reduce iterations for calculating mantissa.
505 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
507 (__mpranred): Likewise.
510 * malloc/memusagestat.c (main): Draw graphs for heap and stack
511 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
513 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
515 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
516 Define __attribute__.
518 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
520 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
522 * posix/regex_internal.h (__attribute): Remove.
523 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
524 (re_string_context_at): Likewise.
525 (bitset_not): Use __attribute__ and mark function as possibly
527 (bitset_merge): Likewise.
528 (bitset_mask): Likewise.
529 (re_string_char_size_at): Likewise.
530 (re_string_wchar_at): Likewise.
531 (re_string_elem_size_at): Likewise.
533 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
535 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
539 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
544 (__dbl_mp): Likewise.
545 (add_magnitudes): Likewise.
546 (sub_magnitudes): Likewise.
550 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
553 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
556 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
560 up changes with default code.
561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
564 2013-02-24 Allan McRae <allan@archlinux.org>
566 * manual/socket.texi (The Internet Namespace): Order menu items
567 to match that in the file.
569 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
570 node listing of the info page menu.
572 2013-02-21 Joseph Myers <joseph@codesourcery.com>
575 * sysdeps/i386/bp-asm.h: Remove file.
576 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
577 (PARMS): Do not use macros from bp-asm.h.
581 (__mpn_add_n): Do not use BP_SYM
582 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
584 (PARMS): Do not use macros from bp-asm.h.
587 (__mpn_addmul_1): Do not use BP_SYM
588 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
590 (PARMS): Do not use macros from bp-asm.h.
592 (_setjmp): Likewise. Do not use BP_SYM.
593 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
595 (PARMS): Do not use macros from bp-asm.h.
597 (setjmp): Likewise. Do not use BP_SYM.
598 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
600 (PARMS): Do not use macros from bp-asm.h.
601 (__frexp): Do not use BP_SYM.
603 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
605 (PARMS): Do not use macros from bp-asm.h.
606 (__frexpf): Do not use BP_SYM.
608 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
610 (PARMS): Do not use macros from bp-asm.h.
611 (__frexpl): Do not use BP_SYM.
613 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
615 (PARMS): Do not use macros from bp-asm.h.
616 (__remquo): Do not use BP_SYM.
618 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
620 (PARMS): Do not use macros from bp-asm.h.
621 (__remquof): Do not use BP_SYM.
623 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
625 (PARMS): Do not use macros from bp-asm.h.
626 (__remquol): Do not use BP_SYM.
628 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
630 (PARMS): Do not use macros from bp-asm.h.
633 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
634 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
636 (PARMS): Do not use macros from bp-asm.h.
637 (strlen): Do not use BP_SYM.
638 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
640 (PARMS): Do not use macros from bp-asm.h.
644 (__mpn_add_n): Do not use BP_SYM.
645 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
647 (PARMS): Do not use macros from bp-asm.h.
650 (__mpn_addmul_1): Do not use BP_SYM.
651 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
654 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
656 (PARMS): Do not use macros from bp-asm.h.
659 (__mpn_lshift): Do not use BP_SYM.
660 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
662 (PARMS): Do not use macros from bp-asm.h.
666 (memcpy): Likewise. Do not use BP_SYM.
667 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
668 libc_hidden_def and weak_alias.
669 (mempcpy): Do not use BP_SYM in weak_alias.
670 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
672 (PARMS): Do not use macros from bp-asm.h.
675 [!BZERO_P] (CHR): Likewise.
676 (memset): Likewise. Do not use BP_SYM.
677 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
679 (PARMS): Do not use macros from bp-asm.h.
682 (__mpn_mul_1): Do not use BP_SYM.
683 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
685 (PARMS): Do not use macros from bp-asm.h.
688 (__mpn_rshift): Do not use BP_SYM.
689 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
691 (PARMS): Do not use macros from bp-asm.h.
694 (strchr): Likewise. Do not use BP_SYM.
695 (index): Do not use BP_SYM in weak_alias.
696 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
698 (PARMS): Do not use macros from bp-asm.h.
701 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
702 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
704 (PARMS): Do not use macros from bp-asm.h.
705 (strlen): Do not use BP_SYM.
706 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
708 (PARMS): Do not use macros from bp-asm.h.
712 (__mpn_sub_n): Do not use BP_SYM.
713 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
715 (PARMS): Do not use macros from bp-asm.h.
718 (__mpn_submul_1): Do not use BP_SYM.
719 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
721 (PARMS): Do not use macros from bp-asm.h.
725 (__mpn_add_n): Do not use BP_SYM.
726 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
729 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
731 (PARMS): Do not use macros from bp-asm.h.
734 (memcmp): Do not use BP_SYM.
735 (bcmp): Do not use BP_SYM in weak_alias.
736 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
738 (PARMS): Do not use macros from bp-asm.h.
742 (memcpy): Likewise. Do not use BP_SYM.
743 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
745 (PARMS): Do not use macros from bp-asm.h.
749 (memmove): Likewise. Do not use BP_SYM.
750 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
752 (PARMS): Do not use macros from bp-asm.h.
756 (__mempcpy): Likewise. Do not use BP_SYM.
757 (mempcpy): Do not use BP_SYM in weak_alias.
758 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
760 (PARMS): Do not use macros from bp-asm.h.
763 [!BZERO_P] (CHR): Likewise.
764 (memset): Likewise. Do not use BP_SYM.
765 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
767 (PARMS): Do not use macros from bp-asm.h.
769 (strcmp): Do not use BP_SYM.
770 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
772 (PARMS): Do not use macros from bp-asm.h.
775 [USE_AS_STRTOK_R] (SAVE): Likewise.
776 (FUNCTION): Likewise. Do not use BP_SYM.
777 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
779 (strtok_r): Likewise.
780 (__GI___strtok_r): Likewise.
781 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
782 (PARMS): Do not use macros from bp-asm.h.
785 (__mpn_lshift): Do not use BP_SYM.
786 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
787 (PARMS): Do not use macros from bp-asm.h.
790 (__memchr): Do not use BP_SYM.
791 (memchr): Do not use BP_SYM in weak_alias.
792 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
793 (PARMS): Do not use macros from bp-asm.h.
796 (memcmp): Do not use BP_SYM.
797 (bcmp): Do not use BP_SYM in weak_alias.
798 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
799 (PARMS): Do not use macros from bp-asm.h.
802 (__mpn_mul_1): Do not use BP_SYM.
803 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
805 (PARMS): Do not use macros from bp-asm.h.
808 (__rawmemchr): Do not use BP_SYM.
809 (rawmemchr): Do not use BP_SYM in weak_alias.
810 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
811 (PARMS): Do not use macros from bp-asm.h.
814 (__mpn_rshift): Do not use BP_SYM.
815 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
816 (PARMS): Do not use macros from bp-asm.h.
818 (__sigsetjmp): Likewise. Do not use BP_SYM.
819 * sysdeps/i386/start.S: Do not include "bp-sym.h".
820 (_start): Do not use BP_SYM.
821 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
822 (PARMS): Do not use macros from bp-asm.h.
825 (__stpcpy): Likewise. Do not use BP_SYM.
826 (stpcpy): Do not use BP_SYM in weak_alias.
827 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
829 (PARMS): Do not use macros from bp-asm.h.
833 (__stpncpy): Likewise. Do not use BP_SYM.
834 (stpncpy): Do not use BP_SYM in weak_alias.
835 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
836 (PARMS): Do not use macros from bp-asm.h.
839 (strchr): Likewise. Do not use BP_SYM.
840 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
842 (PARMS): Do not use macros from bp-asm.h.
845 (__strchrnul): Likewise. Do not use BP_SYM.
846 (strchrnul): Do not use BP_SYM in weak_alias.
847 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
849 (PARMS): Do not use macros from bp-asm.h.
851 (strcspn): Do not use BP_SYM.
852 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
854 (PARMS): Do not use macros from bp-asm.h.
857 (strpbrk): Likewise. Do not use BP_SYM.
858 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
860 (PARMS): Do not use macros from bp-asm.h.
863 (strrchr): Likewise. Do not use BP_SYM.
864 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
865 (PARMS): Do not use macros from bp-asm.h.
867 (strspn): Do not use BP_SYM.
868 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
869 (PARMS): Do not use macros from bp-asm.h.
873 (FUNCTION): Likewise. Do not use BP_SYM.
874 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
876 (strtok_r): Likewise.
877 (__GI___strtok_r): Likewise.
878 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
879 (PARMS): Do not use macros from bp-asm.h.
883 (__mpn_sub_n): Do not use BP_SYM.
884 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
886 (PARMS): Do not use macros from bp-asm.h.
889 (__mpn_submul_1): Do not use BP_SYM.
890 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
892 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
894 (PARMS): Do not use macros from bp-asm.h.
899 (__clone): Do not use BP_SYM.
900 (clone): Do not use BP_SYM in weak_alias.
901 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
903 (PARMS): Do not use macros from bp-asm.h.
905 (__mmap64): Do not use BP_SYM.
906 (mmap64): Do not use BP_SYM in weak_alias.
907 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
908 <bp-sym.h> and <bp-asm.h>.
909 (PARMS): Do not use macros from bp-asm.h.
910 (__posix_fadvise64_l64): Do not use BP_SYM.
911 * sysdeps/unix/sysv/linux/i386/semtimedop.S
912 (PARMS): Do not use macros from bp-asm.h.
914 (semtimedop): Do not use BP_SYM.
915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
918 2013-02-21 Allan McRae <allan@archlinux.org>
920 * manual/message.texi (Charset conversion in gettext):
921 Move @end statement to beginning of line.
923 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
935 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
937 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
938 tail-call to the resolved function if pltexit isn't needed.
940 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
943 or Y being zero as being unlikely.
944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
947 2013-02-20 Carlos O'Donell <carlos@redhat.com>
949 * manual/nss.texi (System Databases and Name Service Switch):
950 Remove frobnicate @pxref.
952 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
954 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
955 __attribute__ ((unused)) to __attribute__ ((__unused__)).
957 2013-02-20 Petr Machata <pmachata@redhat.com>
959 * elf/elf.h (R_ARM_TARGET1): New macro.
960 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
961 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
962 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
963 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
964 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
965 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
966 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
967 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
968 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
969 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
970 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
971 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
972 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
973 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
974 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
975 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
976 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
977 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
978 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
979 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
980 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
981 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
982 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
983 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
984 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
985 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
986 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
987 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
988 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
989 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
990 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
991 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
992 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
993 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
994 (R_ARM_THM_GOT_BREL12): Likewise.
995 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
996 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
997 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
998 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
999 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1000 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1001 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1002 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1003 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1005 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1007 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1008 __attribute_used__ to __attribute__ ((unused)).
1010 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1012 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1018 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1021 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1023 (ENTER): Remove both macro definitions.
1025 (CHECK_BOUNDS_LOW): Likewise.
1026 (CHECK_BOUNDS_HIGH): Likewise.
1027 (CHECK_BOUNDS_BOTH): Likewise.
1028 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1029 (RETURN_BOUNDED_POINTER): Likewise.
1030 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1031 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1032 (POP_ERRNO_LOCATION_RETURN): Likewise.
1033 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1034 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1035 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1037 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1038 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1039 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1040 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1041 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1042 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1043 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1044 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1045 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1046 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1047 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1048 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1049 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1050 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1052 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1053 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1055 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1056 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1057 * sysdeps/i386/i586/memset.S (memset): Likewise.
1058 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1059 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1060 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1062 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1063 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1064 Change uses of L(2) to L(out).
1065 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1066 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1067 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1068 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1069 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1071 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1072 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1074 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1075 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1076 (RETURN): Do not use macro LEAVE.
1077 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1078 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1079 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1080 * sysdeps/i386/i686/memset.S (memset): Likewise.
1081 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1082 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1083 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1084 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1086 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1087 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1088 L(1_2) and L(1_3) into L(1).
1089 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1090 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1091 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1092 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1093 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1094 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1095 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1096 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1097 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1099 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1100 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1101 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1102 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1103 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1104 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1105 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1106 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1107 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1108 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1109 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1110 * sysdeps/i386/strspn.S (strspn): Likewise.
1111 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1113 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1114 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1115 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1116 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1118 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1119 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1120 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1122 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1124 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1126 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1129 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1131 * math/atest-exp.c (exp_mpn): Remove ROUND.
1132 * math/atest-exp2.c (exp_mpn): Likewise.
1133 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1135 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1136 * stdlib/tst-tls-atexit-lib.c: Likewise.
1137 * stdlib/tst-tls-atexit.c: Likewise.
1139 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1141 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1142 and __attribute_alloc_size__.
1144 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1146 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1147 __attribute_alloc_size__.
1148 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1149 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1151 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1153 * include/programs/xmalloc.h: New file.
1154 * catgets/gencat.c: Include it.
1155 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1156 * elf/pldd.c: Likewise.
1157 * iconv/iconv_charmap.c: Likewise.
1158 * iconv/iconvconfig.c: Likewise.
1159 * iconv/strtab.c: Likewise.
1160 * locale/programs/locale.c: Likewise.
1161 * locale/programs/localedef.h: Likewise.
1162 * locale/programs/simple-hash.c: Likewise.
1163 * nscd/nscd.h: Likewise.
1164 * nss/makedb.c: Likewise.
1165 * sysdeps/generic/ldconfig.h: Likewise.
1167 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1169 * Versions.def: Add GLIBC_2.18.
1170 * include/link.h (struct link_map): New member l_tls_dtor_count.
1171 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1172 (__call_tls_dtors): Likewise.
1173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1174 __cxa_thread_atexit_impl.
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1191 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1192 (tests): Add test case tst-tls-atexit.
1193 (modules-names): Add shared library for tst-tls-atexit.
1194 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1195 (GLIBC_PRIVATE): Add __call_tls_dtors.
1196 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1198 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1199 * stdlib/tst-tls-atexit.c: New test case.
1200 * stdlib/tst-tls-atexit-lib.c: New test case.
1202 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1204 * elf/Versions (ld): Add _dl_find_dso_for_object.
1205 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1206 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1207 (dl_open_worker): Use _dl_find_dso_for_object.
1208 * elf/dl-sym.c (do_sym): Likewise.
1209 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1211 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1213 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1214 Syntactic changes only.
1215 (_dl_runtime_profile): Do a tail-call to the resolved function.
1217 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1220 * sysdeps/x86_64/bp-asm.h: Remove file.
1221 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1222 <bp-sym.h> and <bp-asm.h>.
1223 (__clone): Do not use BP_SYM.
1224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1225 <bp-sym.h> and <bp-asm.h>.
1226 * sysdeps/unix/x86_64/sysdep.S: Likewise.
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/bsd-setjmp.S: Do not include "bp-sym.h" and
1232 (setjmp): Do not use BP_SYM.
1233 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1235 (mempcpy): Do not use BP_SYM in weak_alias.
1236 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1238 (strchr): Do not use BP_SYM.
1239 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1241 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1242 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1243 (_start): Do not use BP_SYM.
1244 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1246 (strcat): Do not use BP_SYM.
1247 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1249 (STRCMP): Do not use BP_SYM.
1250 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1252 (STRCPY): Do not use BP_SYM.
1253 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1255 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1257 (FUNCTION): Do not use BP_SYM.
1258 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1260 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1262 2013-02-17 Andreas Jaeger <aj@suse.de>
1264 * time/Versions: Sort entries.
1265 * string/Versions: Likewise.
1266 * resolv/Versions: Likewise.
1267 * posix/Versions: Likewise.
1268 * iconv/Versions: Likewise.
1269 * elf/Versions: Likewise.
1270 * wcsmbs/Versions: Likewise.
1272 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1274 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1275 loop termination condition.
1277 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1278 variable to calculate EZ.
1281 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1282 the lower precision input.
1284 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1287 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1288 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1289 (run-via-rtld-prefix): Do not handle %-bp tests.
1290 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1291 (all-object-suffixes): Remove .ob.
1292 (bppfx): Remove variable.
1293 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1294 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1295 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1296 [$(build-bounded) = yes] (libtype.ob): Likewise.
1297 * Makerules (elide-routines.ob): Remove variable.
1298 (do-tests-clean): Do not handle *-bp.out.
1299 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1300 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1301 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1302 (tests): Do not include $(tests-bp.out).
1303 (xtests): Do not include $(xtests-bp.out).
1304 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1305 [$(build-bounded) = yes] ($(addprefix
1306 $(objpfx),$(binaries-bounded))): Remove rule.
1307 ($(objpfx)%-bp.out): Remove rule.
1308 * config.make.in (build-bounded): Remove variable.
1309 * crypt/Makefile [$(build-bounded) = yes]
1310 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1311 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1313 [$(build-bounded) = yes] (install-lib): Likewise.
1314 [$(build-bounded) = yes] (generated): Likewise.
1315 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1317 * intl/Makefile [$(build-bounded) = yes]
1318 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1319 * math/Makefile [$(build-bounded) = yes]
1320 ($(tests:%=$(objpfx)%-bp): Likewise.
1321 * misc/Makefile [$(build-bounded) = yes]
1322 ($(objpfx)tst-tsearch-bp): Likewise.
1323 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1324 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1326 * string/Makefile (o-objects.ob): Remove variable.
1327 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1328 (CFLAGS-.ob): Remove variable.
1329 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1330 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1331 both definitions of variable.
1332 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1333 (ASFLAGS-.ob): Remove variable.
1335 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1338 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1339 Remove __BOUNDED_POINTERS__ from condition.
1340 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1341 * string/bits/string2.h [!__NO_STRING_INLINES &&
1342 !__BOUNDED_POINTERS__]: Likewise.
1343 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1345 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1346 Remove conditional code.
1347 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1348 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1349 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1353 * csu/libc-start.c: Do not include <bp-sym.h>.
1354 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1355 * elf/dl-open.c: Do not include <bp-sym.h>.
1356 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1357 * math/fegetenv.c: Do not include <bp-sym.h>.
1358 (fegetenv): Do not use BP_SYM in versioned symbols.
1359 * nptl/sysdeps/pthread/bits/libc-lockP.h
1360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1363 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1365 (__pthread_mutex_destroy): Likewise.
1366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1367 (__pthread_mutex_lock): Likewise.
1368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1369 (__pthread_mutex_trylock): Likewise.
1370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1371 (__pthread_mutex_unlock): Likewise.
1372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1373 (__pthread_mutexattr_init): Likewise.
1374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1375 (__pthread_mutexattr_destroy): Likewise.
1376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1377 (__pthread_mutexattr_settype): Likewise.
1378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1379 (__pthread_rwlock_init): Likewise.
1380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1381 (__pthread_rwlock_destroy): Likewise.
1382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1383 (__pthread_rwlock_rdlock): Likewise.
1384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1385 (__pthread_rwlock_tryrdlock): Likewise.
1386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1387 (__pthread_rwlock_wrlock): Likewise.
1388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1389 (__pthread_rwlock_trywrlock): Likewise.
1390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1391 (__pthread_rwlock_unlock): Likewise.
1392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1393 (__pthread_key_create): Likewise.
1394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1395 (__pthread_setspecific): Likewise.
1396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1397 (__pthread_getspecific): Likewise.
1398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1401 (_pthread_cleanup_push_defer): Likewise.
1402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1403 (_pthread_cleanup_pop_restore): Likewise.
1404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1405 (pthread_setcancelstate): Likewise.
1406 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1408 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1409 (memchr): Do not use BP_SYM in weak_alias.
1410 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1411 (fegetenv): Do not use BP_SYM in versioned symbols.
1412 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1413 (fesetenv): Do not use BP_SYM in versioned symbols.
1414 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1415 (feupdateenv): Do not use BP_SYM in versioned symbols.
1416 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1417 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1418 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1419 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1420 (open64): Do not use BP_SYM in weak_alias.
1421 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1422 (fegetenv): Do not use BP_SYM in versioned symbols.
1423 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1424 (fesetenv): Do not use BP_SYM in versioned symbols.
1425 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1426 (feupdateenv): Do not use BP_SYM in versioned symbols.
1427 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1428 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1429 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1430 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1431 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1432 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1433 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1435 (__libc_start_main): Do not use BP_SYM.
1437 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1440 redundant return line.
1444 (sub_magnitudes): Likewise.
1450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1454 (sub_magnitudes): Likewise.
1461 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1463 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1464 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1467 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1468 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1470 of __mul for squares.
1471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1476 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1478 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1481 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1483 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1484 prototype or function definition. Rename ubp_* variables and
1485 parameters. Remove argv definitions conditional on
1486 [__BOUNDED_POINTERS__].
1487 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1488 * elf/dl-runtime.c (_dl_fixup): Likewise.
1489 * include/set-hooks.h (RUN_HOOK): Likewise.
1490 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1492 * string/strcpy.c (strcpy): Do not use __unbounded.
1493 * sysdeps/generic/frame.h (struct layout): Likewise.
1494 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1495 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1496 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1497 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1498 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1499 (__backtrace): Likewise.
1500 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1502 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1503 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1504 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1506 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1507 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1508 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1509 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1510 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1511 Do not use __unbounded.
1512 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1513 Rename __unboundedrlimits parameter to rlimits in prototype.
1514 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1515 Do not use __unbounded.
1516 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1518 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1519 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1520 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1521 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1522 __ptrvalue or __unbounded.
1523 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1524 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1526 (__new_msgctl): Do not use __ptrvalue.
1527 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1529 (__libc_msgrcv): Do not use __ptrvalue.
1530 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1531 startup_info): Do not use __unbounded.
1532 (__libc_start_main): Likewise. Rename ubp_* variables and
1533 parameters. Remove argv definitions conditional on
1534 [__BOUNDED_POINTERS__].
1535 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1537 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1539 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1541 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1543 (__new_shmctl): Do not use __ptrvalue.
1544 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1545 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1547 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1548 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1549 (__libc_sigaction): Likewise.
1550 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1551 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1553 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1555 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1557 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1559 * string/mempcpy.c: Implement by calling memcpy.
1561 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1568 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1569 values in the mantissa.
1571 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1572 minimize writes to Z.
1573 (sub_magnitudes): Simplify code a bit.
1575 2013-02-12 Roland McGrath <roland@hack.frob.com>
1577 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1578 from the message. The linker prefixes all warnings with that already.
1580 2013-02-12 Andreas Schwab <schwab@suse.de>
1583 * posix/regexec.c (extend_buffers): Add parameter min_len.
1584 (check_matching): Pass minimum needed length.
1585 (clean_state_log_if_needed): Likewise.
1586 (get_subexp): Likewise.
1587 * posix/Makefile (tests): Add bug-regex34.
1588 (bug-regex34-ENV): Define.
1589 * posix/bug-regex34.c: New file.
1592 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1593 elements compare against the byte sequence of it, not its name.
1594 * posix/Makefile (tests): Add bug-regex35.
1595 (bug-regex35-ENV): Define.
1596 * posix/bug-regex35.c: New file.
1598 2013-02-11 Tom de Vries <tom@codesourcery.com>
1600 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1602 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1603 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1604 (CHECK_EOL): Add undef.
1606 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1608 * bits/stdlib-bsearch.h: New file.
1609 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1610 * stdlib/stdlib.h: Likewise.
1612 2013-02-11 Roland McGrath <roland@hack.frob.com>
1614 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1615 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1617 * manual/search.texi (Array Search Function): Add missing const in
1619 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1620 declaration to use rlim_t.
1621 (Basic Scheduling Functions): Remove erroneous const from
1622 sched_getparam prototype. Remove erroneous * from
1623 sched_get_priority_max and sched_get_priority_min prototypes.
1624 (Resource Usage): Fix summary @comment on vtimes to refer to
1625 sys/vtimes.h rather than vtimes.h.
1626 Add missing *s in vtimes prototype.
1627 (Limits on Resources): Fix ulimit prototype to return long int.
1628 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1629 prototypes to use long int rather than double.
1630 (BSD Random): Fix initstate and setstate to use char *, not void *.
1631 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1632 prototype to make second argument 'struct aiocb64 *const[]'.
1633 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1634 (Status of AIO Operations): Remove erroneous const in aio_return and
1635 aio_return64 prototypes.
1636 (Synchronizing I/O): Fix sync prototype to return void.
1637 * manual/startup.texi (Suboptions): Remove an erroneous const in
1638 getsubopt prototype.
1639 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1640 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1641 use size_t rather than int.
1642 (Scanning All Users): Likewise for getpwent_r.
1643 (Setting Groups): Add missing const to setgroups prototype.
1644 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1645 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1646 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1647 'const void *' rather than 'const char *'.
1648 (Host Address Functions): Likewise for inet_ntop.
1649 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1650 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1651 ssize_t for return value.
1652 (Sending Data): Likewise for send, sendto, sendmsg.
1653 (Socket Option Functions): Add a missing const in setsockopt prototype.
1654 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1655 use wchar_t for the argument.
1656 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1657 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1659 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1660 double/float/long double for second argument.
1661 Fix return types of significand, significandf, significandl.
1662 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1663 argument in fchmod prototype.
1664 (File Owner): Use uid_t and gid_t in fchown prototype.
1665 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1666 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1667 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1668 use 'const struct dirent **' as argument types to CMP function pointer
1670 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1671 (File Times): Fix summary magic @comment for struct utimbuf and utime
1672 to refer to utime.h, not time.h.
1673 * manual/string.texi (Argz Functions): Add missing const in
1674 argz_extract and argz_next prototypes.
1675 (Finding Tokens in a String): Likewise for basename.
1676 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1677 (Copying and Concatenation): Fix typo in wmemmove prototype.
1678 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1679 (Signal Stack): Remove erroneous const in sigstack prototype.
1680 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1682 (Simple Calendar Time): Likewise for stime.
1683 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1685 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1686 say sys/sysctl.h instead.
1687 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1688 and vsyslog prototypes.
1690 2013-02-11 Tom de Vries <tom@codesourcery.com>
1692 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1695 2013-02-11 Roland McGrath <roland@hack.frob.com>
1697 * misc/sys/mman.h: Fix typo in mremap comment.
1699 2013-02-08 Roland McGrath <roland@hack.frob.com>
1701 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1702 the '\0' terminator.
1704 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1707 * debug/segfault.c: Don't include <bp-checks.h>.
1708 * sysdeps/generic/bp-checks.h: Remove file.
1709 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1710 (__GETDENTS): Don't use CHECK_N.
1711 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1712 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1713 (__getgroups): Don't use CHECK_N.
1714 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1715 (setgroups): Don't use CHECK_N.
1716 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1717 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1718 (__libc_msgrcv): Don't use CHECK_N.
1719 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1720 (__libc_msgsnd): Don't use CHECK_N.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1723 (__libc_pread): Don't use CHECK_N.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1725 include <bp-checks.h>.
1726 (__libc_pread64): Don't use CHECK_N.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1728 include <bp-checks.h>.
1729 (__libc_pwrite): Don't use CHECK_N.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1731 include <bp-checks.h>.
1732 (__libc_pwrite64): Don't use CHECK_N.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1735 (__libc_pread): Don't use CHECK_N.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1737 include <bp-checks.h>.
1738 (__libc_pread64): Don't use CHECK_N.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1740 include <bp-checks.h>.
1741 (__libc_pwrite): Don't use CHECK_N.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1743 include <bp-checks.h>.
1744 (__libc_pwrite64): Don't use CHECK_N.
1745 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1746 (do_pread): Don't use CHECK_N.
1747 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1748 (do_pread64): Don't use CHECK_N.
1749 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1750 (do_pwrite): Don't use CHECK_N.
1751 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1752 (do_pwrite64): Don't use CHECK_N.
1753 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1754 (__libc_readv): Don't use CHECK_N.
1755 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1756 (semop): Don't use CHECK_N.
1757 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1759 (semtimedop): Don't use CHECK_N.
1760 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1761 (__libc_pread): Don't use CHECK_N.
1762 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1764 (__libc_pread64): Don't use CHECK_N.
1765 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1767 (__libc_pwrite): Don't use CHECK_N.
1768 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1770 (__libc_pwrite64): Don't use CHECK_N.
1771 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1773 (__libc_msgrcv): Don't use CHECK_N.
1774 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1775 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1776 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1777 (__libc_writev): Don't use CHECK_N.
1779 2013-02-08 Roland McGrath <roland@hack.frob.com>
1781 * string/strcpy.c: Removed unused variable.
1783 * Makeconfig (+sysdep-includes): Define with := rather than =.
1784 Use an existing include/ subdir of each sysdeps dir before it.
1786 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1788 * nscd/connection.c (register_traced_file): Comment function.
1789 [HAVE_INOTIFY] (union __inev): Define.
1790 [HAVE_INOTIFY] (inotify_check_files): New function.
1791 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1792 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1794 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1796 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1798 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1799 loaded if not already and that a failure is permanent.
1801 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1804 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1805 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1807 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1810 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1811 (CHECK_1_NULL_OK): Likewise.
1812 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1813 (__fxstat): Do not use CHECK_1.
1814 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1816 (___fxstat64): Do not use CHECK_1.
1817 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1819 (__fxstatat): Do not use CHECK_1.
1820 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1822 (__fxstatat64): Do not use CHECK_1.
1823 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1825 (__fxstat): Do not use CHECK_1.
1826 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1828 (__fxstatat): Do not use CHECK_1.
1829 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1831 (__getresgid): Do not use CHECK_1.
1832 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1834 (__getresuid): Do not use CHECK_1.
1835 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1837 (__lxstat): Do not use CHECK_1.
1838 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1840 (__old_msgctl): Do not use CHECK_1.
1841 (__new_msgctl): Likewise.
1842 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1844 (__new_setrlimit): Do not use CHECK_1.
1845 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1847 (__old_shmctl): Do not use CHECK_1.
1848 (__new_shmctl): Likewise.
1849 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1851 (__xstat): Do not use CHECK_1.
1852 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1853 (__lxstat): Do not use CHECK_1.
1854 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1856 (___lxstat64): Do not use CHECK_1.
1857 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1858 (__old_msgctl): Do not use CHECK_1.
1859 (__new_msgctl): Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1862 (__gettimeofday): Do not use CHECK_1.
1863 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1864 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1865 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1867 (__gettimeofday): Do not use CHECK_1.
1868 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1869 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1870 (__new_shmctl): Do not use CHECK_1.
1871 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1873 (do_sigtimedwait): Do not use CHECK_1.
1874 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1876 (do_sigwaitinfo): Do not use CHECK_1.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1879 (msgctl): Do not use CHECK_1.
1880 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1882 (shmctl): Do not use CHECK_1.
1883 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1884 (ustat): Do not use CHECK_1.
1885 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1887 (__fxstat): Do not use CHECK_1.
1888 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1890 (__fxstatat): Do not use CHECK_1.
1891 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1893 (__lxstat): Do not use CHECK_1.
1894 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1896 (__xstat): Do not use CHECK_1.
1897 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1898 (__xstat): Do not use CHECK_1.
1899 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1900 (___xstat64): Do not use CHECK_1.
1903 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1905 (CHECK_BOUNDS_HIGH): Likewise.
1906 * string/strcpy.c: Do not include <bp-checks.h>.
1907 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1909 2013-02-07 Roland McGrath <roland@hack.frob.com>
1911 * nscd/nscd-client.h (__nscd_drop_map_ref):
1912 Add __attribute__ ((unused)).
1913 * nis/nss-nisplus.h (niserr2nss): Likewise.
1915 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1916 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1918 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1919 Remove inline keyword.
1920 * include/rounding-mode.h (round_away): Likewise.
1921 * libio/wfileops.c (adjust_wide_data): Likewise.
1922 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1923 (__m128i_strloadu_tolower): Likewise.
1924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1925 (__m128i_strloadu_tolower): Likewise.
1926 * time/mktime.c (ydhms_diff): Likewise.
1927 * locale/elem-hash.h (elem_hash): Likewise.
1928 * locale/setlocale.c (setdata): Likewise.
1929 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1930 (re_string_wchar_at): Likewise.
1931 (bitset_not, bitset_merge, bitset_mask): Likewise.
1932 [!(__GNUC__ > 3)] (inline): Remove macro.
1933 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1934 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1935 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1936 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1937 * string/memcmp.c (memcmp_bytes): Likewise.
1938 * locale/programs/locarchive.c (compute_hashval): Likewise.
1939 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1940 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1941 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1942 * nss/getent.c (print_rpc, print_protocols): Likewise.
1943 (print_passwd, print_group, print_aliases): Likewise.
1944 * nis/nss-nisplus.h (niserr2nss): Likewise.
1945 * nscd/connections.c (restart_p): Likewise.
1946 Change return type to bool.
1948 2013-02-05 Roland McGrath <roland@hack.frob.com>
1950 * Makeconfig (all-Depend-files): Add existing
1951 $(sorted-subdirs:=/Depend) files.
1952 (all-subdirs): Remove nss.
1953 * sysdeps/unix/inet/Subdirs: Add it here instead.
1954 * hesiod/Depend: New file.
1956 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1957 instead of calling alloca.
1959 * io/lseek.c (__lseek): Rename to __libc_lseek.
1960 Define __lseek as an alias.
1962 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1964 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1966 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1967 else clause and remove check for non-standard endianness.
1969 2013-02-04 David S. Miller <davem@davemloft.net>
1971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1973 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1976 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1977 (__ubp_memchr): Remove prototype.
1978 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1979 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1980 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1981 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1982 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1984 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1985 (__ubp_memchr): Likewise.
1986 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1987 (__ubp_memchr): Likewise.
1988 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1989 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1990 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1991 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1993 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1994 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1995 (__getcwd): Do not use CHECK_STRING.
1996 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1998 (__real_chown): Do not use CHECK_STRING.
1999 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2001 (fchownat): Do not use CHECK_STRING.
2002 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2004 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2006 (__lchown): Do not use CHECK_STRING.
2007 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2008 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2009 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2010 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2012 include <bp-checks.h>.
2013 (truncate64): Do not use CHECK_STRING.
2014 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2016 (__real_chown): Do not use CHECK_STRING.
2017 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2019 (__lchown): Do not use CHECK_STRING.
2020 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2022 (__chown): Do not use CHECK_STRING.
2023 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2025 (truncate64): Do not use CHECK_STRING.
2026 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2028 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2029 (__xmknod): Do not use CHECK_STRING.
2030 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2032 (__xmknodat): Do not use CHECK_STRING.
2033 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2034 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2036 2013-02-04 Andreas Schwab <schwab@suse.de>
2039 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2040 * include/netdb.h: Likewise for h_errno.
2041 * elf/tst-stackguard1.c: Include <tls.h>.
2043 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2045 * elf/link.h (struct link_map): Extend the l_addr comment.
2046 * include/link.h (struct link_map): Likewise.
2048 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2051 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2052 (BOUNDED_1): Remove macro.
2053 * debug/backtrace.c: Don't include <bp-checks.h>.
2054 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2055 (__backtrace): Likewise.
2056 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2058 (__backtrace): Don't use BOUNDED_1.
2059 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2061 (__backtrace): Don't use BOUNDED_1.
2062 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2063 (__backtrace): Don't use BOUNDED_1.
2064 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2065 (shmat): Don't use BOUNDED_N.
2067 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2070 * sysdeps/generic/bp-start.h: Remove file.
2071 * csu/libc-start.c: Don't include <bp-start.h>.
2072 (LIBC_START_MAIN): Set up __environ directly instead of using
2073 INIT_ARGV_and_ENVIRON.
2074 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2078 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2080 (CHECK_FCNTL): Likewise.
2081 (CHECK_N_PAGES): Likewise.
2084 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2086 (CHECK_SIGSET_NULL_OK): Likewise.
2087 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2089 (sigpending): Don't use CHECK_SIGSET.
2090 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2092 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2093 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2095 (do_sigsuspend): Don't use CHECK_SIGSET.
2096 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2098 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2099 (do_sigwait): Don't use CHECK_SIGSET.
2100 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2103 include <bp-checks.h>.
2104 (sigpending): Don't use CHECK_SIGSET.
2105 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2106 include <bp-checks.h>.
2107 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2108 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2110 (sigpending): Don't use CHECK_SIGSET.
2111 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2113 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2116 * sysdeps/generic/bp-semctl.h: Remove file.
2117 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2118 <bp-checks.h> and <bp-semctl.h>.
2119 (__old_semctl): Don't use CHECK_SEMCTL.
2120 (__new_semctl): Likewise.
2121 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2123 (__old_semctl): Don't use CHECK_SEMCTL.
2124 (__new_semctl): Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2126 <bp-checks.h> and <bp-semctl.h>.
2127 (__old_semctl): Don't use CHECK_SEMCTL.
2128 (__new_semctl): Likewise.
2129 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2130 <bp-checks.h> and <bp-semctl.h>.
2131 (semctl): Don't use CHECK_SEMCTL.
2134 * Makerules (elide-bp-thunks): Remove variable.
2135 (elide-routines.oS): Don't use $(elide-bp-thunks).
2136 (elide-routines.os): Likewise.
2137 (elide-routines.o): Likewise.
2138 (elide-routines.op): Likewise.
2139 (elide-routines.og): Likewise.
2140 (objects): Don't use $(bp-thunks).
2141 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2143 (common-generated): Do not add s-proto-bp.d.
2144 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2147 Do not generate makefile rules for bounded-pointer thunks.
2148 * sysdeps/generic/bp-thunks.h: Remove file.
2149 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2150 * sysdeps/unix/s-proto-bp.S: Likewise.
2153 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2154 parts of result separately when argument is not close to line from
2155 -i to i and one part of argument is small.
2156 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2157 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2158 * math/libm-test.inc (cacos_test): Add more tests.
2159 (casin_test): Likewise.
2160 (casinh_test): Likewise.
2161 * sysdeps/i386/fpu/libm-test-ulps: Update.
2162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2164 2013-01-31 David S. Miller <davem@davemloft.net>
2166 * po/de.po: Update from translation team.
2168 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2170 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2172 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2174 * configure.in (_AC_PROG_CC_C89): New definition.
2175 * configure: Regenerate.
2177 * configure.in (AC_PROG_CPP): New definition.
2178 * configure: Regenerate.
2180 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2182 * debug/tst-backtrace.h: New file.
2183 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2184 (ret): Remove variable.
2186 (FAIL): Remove macro.
2187 (NO_INLINE): Likewise.
2188 (fn1): Use match function instead of strstr.
2189 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2190 (ret): Remove variable.
2192 (FAIL): Remove macro.
2193 (NO_INLINE): Likewise.
2194 (fn): Use match function instead of strstr.
2195 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2196 (ret): Remove variable.
2198 (FAIL): Remove macro.
2199 (NO_INLINE): Likewise.
2200 (handle_signal): Use match function instead of strstr.
2201 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2202 (ret): Remove variable.
2204 (FAIL): Remove macro.
2205 (NO_INLINE): Likewise.
2206 (handle_signal): Use match function instead of strstr.
2208 2013-01-23 Roland McGrath <roland@hack.frob.com>
2210 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2212 2013-01-23 David S. Miller <davem@davemloft.net>
2214 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2215 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2216 argument of CAS if possible.
2217 * sysdeps/sparc/sparc64/bits/atomic.h
2218 (__arch_compare_and_exchange_val_32_acq): Likewise.
2219 (__arch_compare_and_exchange_val_64_acq): Likewise.
2221 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2223 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2224 * sysdeps/posix/ulimit.c: ... this.
2226 * sysdeps/unix/bsd/ulimit.c: Remove file.
2228 2013-01-23 Adam Conrad <adconrad@0c3.net>
2230 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2231 (LDFLAGS-tst-array5): Likewise.
2233 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2236 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2237 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2238 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2239 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2241 2013-01-21 David S. Miller <davem@davemloft.net>
2243 * sysdeps/sparc/backtrace.c: New file.
2244 * sysdeps/sparc/sparc32/backtrace.h: New file.
2245 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2246 * sysdeps/sparc/sparc64/backtrace.h: New file.
2247 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2248 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2251 2013-01-21 Andreas Schwab <schwab@suse.de>
2254 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2257 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2263 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2264 Mark Mitchell <mark@codesourcery.com>
2265 Tom de Vries <tom@codesourcery.com>
2266 Paul Pluzhnikov <ppluzhnikov@google.com>
2268 * debug/tst-backtrace2.c: New file.
2269 * debug/tst-backtrace3.c: Likewise.
2270 * debug/tst-backtrace4.c: Likewise.
2271 * debug/tst-backtrace5.c: Likewise.
2272 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2273 (CFLAGS-tst-backtrace3.c): Likewise.
2274 (CFLAGS-tst-backtrace4.c): Likewise.
2275 (CFLAGS-tst-backtrace5.c): Likewise.
2276 (LDFLAGS-tst-backtrace2): Likewise.
2277 (LDFLAGS-tst-backtrace3): Likewise.
2278 (LDFLAGS-tst-backtrace4): Likewise.
2279 (LDFLAGS-tst-backtrace5): Likewise.
2280 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2281 tst-backtrace4 and tst-backtrace5.
2283 2013-01-18 Anton Blanchard <anton@samba.org>
2284 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2286 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2287 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2288 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2289 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2291 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2292 "+r" and remove output regs list as redundant. Add explicit inline
2293 asm to specify register of return val to work around compiler codegen
2294 bug. Remove (int) cast on return value. Add return type parameter to
2295 use in macro so that this macro does not truncate return value for
2297 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2298 pass to INTERNAL_VSYSCALL_NCS.
2299 (INLINE_VSYSCALL): Add 'long int' as return type to
2300 INTERNAL_VSYSCALL_NCS macro invocation.
2301 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2302 INTERNAL_VSYSCALL_NCS macro invocation.
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2305 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2308 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2309 Fix application of SIMD FP exception mask.
2311 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2312 mp_no from a power of two.
2313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2314 __mpexp_twomm1. Use __pow_mp.
2316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2319 2013-01-17 David S. Miller <davem@davemloft.net>
2321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2323 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2326 * include/complex.h: Condition contents on [!_COMPLEX_H].
2327 (__kernel_casinhf): New prototype.
2328 (__kernel_casinh): Likewise.
2329 (__kernel_casinhl): Likewise.
2330 * math/Makefile (libm_calls): Add k_casinh.
2331 * math/k_casinh.c: New file.
2332 * math/k_casinhf.c: Likewise.
2333 * math/k_casinhl.c: Likewise.
2334 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2335 finite nonzero arguments.
2336 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2337 finite nonzero arguments.
2338 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2339 finite nonzero arguments.
2340 * math/s_casinh.c: Do not include <float.h>.
2341 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2342 * math/s_casinhf.c: Do not include <float.h>.
2343 (__casinhf): Move code for finite nonzero arguments to
2345 * math/s_casinhl.c: Do not include <float.h>.
2346 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2348 (__casinhl): Move code for finite nonzero arguments to
2350 * math/libm-test.inc (cacos_test): Add more tests.
2351 * sysdeps/i386/fpu/libm-test-ulps: Update.
2352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2354 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2356 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2357 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2358 [!HAVE_MREMAP]: Remove [defined linux] case.
2359 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2361 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2363 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2365 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2367 * elf/elf.h (R_386_SIZE32): New relocation.
2368 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2370 (elf_machine_rela): Likewise.
2371 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2372 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2374 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2376 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2377 (FP_FAST_FMA): Do not define.
2378 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2379 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2380 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2381 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2382 !_SOFT_FLOAT]: Likewise.
2383 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2384 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2386 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2387 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2388 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2389 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2390 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2391 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2394 2013-01-16 Andreas Schwab <schwab@suse.de>
2397 * include/stdlib.h (__mktemp): Add declaration.
2398 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2399 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2401 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2403 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2405 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2406 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2407 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2409 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2410 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2412 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2414 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2415 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2416 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2418 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2419 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2421 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2423 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2425 2013-01-15 David S. Miller <davem@davemloft.net>
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2428 trunc{,f} to libm-sysdep_routes.
2429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2439 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2440 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2441 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2442 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2443 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2444 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2447 nearbyint{,f} to libm-sysdep_routes.
2448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2459 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2461 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2462 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2464 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2465 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2466 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2468 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2469 libc_feholdexcept and libc_fesetenv.
2471 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2473 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2475 2013-01-14 David S. Miller <davem@davemloft.net>
2477 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2478 (SPARC_ASM_VIS2_IFUNC): Likewise.
2479 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2481 use of 'siam' instruction.
2482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2515 routines to libm-sysdep_routines.
2516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2519 fdim/fdimf to libm-sysdep_routines.
2520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2528 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2529 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2530 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2531 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2533 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2535 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2538 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2543 local variable MPTWO.
2544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2547 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2549 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2552 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2554 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2556 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2558 * manual/pattern.texi (glob_t): Document gl_flags.
2559 (glob64_t): Likewise.
2561 2013-01-11 David S. Miller <davem@davemloft.net>
2563 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2564 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2565 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2566 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2567 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2568 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2569 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2570 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2571 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2572 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2573 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2574 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2575 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2577 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2578 sparc V9 rather than using V8 code.
2579 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2580 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2582 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2584 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2587 2013-01-11 Roland McGrath <roland@hack.frob.com>
2589 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2590 not in the main loop.
2591 * configure: Regenerated.
2593 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2595 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2596 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2598 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2599 [!__GLIBC_HAVE_LONG_LONG] case.
2600 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2601 condition to just #else.
2602 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2603 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2604 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2605 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2607 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2608 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2609 #elif condition to just #else.
2610 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2611 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2612 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2613 #elif condition to just #else.
2615 2013-01-11 Steve Ellcey <sellcey@mips.com>
2617 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2618 (EF_MIPS_ARCH_64): Fix value.
2619 (EF_MIPS_ARCH_32R2): New.
2620 (EF_MIPS_ARCH_64R2): New.
2622 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2624 * Makeconfig (+link-pie-before-libc): New.
2625 (+link-pie-after-libc): Likewise.
2626 (+link-pie-tests): Likewise.
2627 (+link-pie): Rewritten.
2628 (link-before-libc): Remove $(config-LDFLAGS).
2629 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2630 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2631 (config-LDFLAGS): Renamed to ...
2632 (rtld-LDFLAGS): This.
2633 (rtld-tests-LDFLAGS): New macro.
2634 (link-libc-rpath-link): Likewise.
2635 (link-libc-tests-rpath-link): Likewise.
2636 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2637 (link-libc): Prepand $(link-libc-rpath-link).
2638 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2639 (test-program-prefix): New macro.
2640 (test-via-rtld-prefix): Likewise.
2641 (test-program-cmd): Likewise.
2642 (host-test-program-cmd): Likewise.
2643 * Makefile ($(common-objpfx)testrun.sh): Replace
2644 $(run-program-prefix) with $(test-program-prefix).
2645 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2647 ($(common-objpfx)shlib.lds): Likewise.
2648 (build-module-helper): Likewise.
2649 ($(common-objpfx)format.lds): Likewise.
2650 * Rules (binaries-pie-tests): New.
2651 (binaries-pie-notests): Likewise.
2652 (binaries-pie): Rewritten.
2653 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2654 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2655 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2656 (make-test-out): Replace $(host-built-program-cmd) with
2657 $(host-test-program-cmd).
2658 * config.make.in (build-hardcoded-path-in-tests): New variable.
2659 * configure.in (--enable-hardcoded-path-in-tests): New configure
2661 (hardcoded_path_in_tests): New AC_SUBST.
2662 * configure: Regenerated.
2663 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2664 $(built-program-cmd) with $(test-program-cmd).
2665 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2666 (test_program_cmd): This.
2667 * elf/Makefile ($(objpfx)order.out): Run test with
2668 $(test-program-prefix).
2669 ($(objpfx)order2.out): Likewise.
2670 ($(objpfx)tst-initorder.out): Likewise.
2671 ($(objpfx)tst-initorder2.out): Likewise.
2672 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2673 $(test-program-cmd).
2674 ($(objpfx)tst-array1-static.out): Likewise.
2675 ($(objpfx)tst-array2.out): Likewise.
2676 ($(objpfx)tst-array3.out): Likewise.
2677 ($(objpfx)tst-array4.out): Likewise.
2678 ($(objpfx)tst-array5.out): Likewise.
2679 ($(objpfx)tst-array5-static.out): Likewise.
2680 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2681 $(test-program-cmd).
2682 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2683 $(run-program-prefix) with $(test-program-prefix).
2684 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2685 (test_program_prefix): This.
2686 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2687 $(run-program-prefix) with $(test-program-prefix).
2688 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2689 (test_program_prefix): This.
2690 * iconvdata/tst-tables.sh: Likewise.
2691 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2692 $(run-program-prefix) with $(test-program-prefix).
2693 ($(objpfx)tst-translit.out): Likewise.
2694 ($(objpfx)tst-gettext2.out): Likewise.
2695 ($(objpfx)tst-gettext4.out): Likewise.
2696 ($(objpfx)tst-gettext6.out): Likewise.
2697 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2698 (test_program_prefix): This.
2699 * intl/tst-gettext2.sh: Likewise.
2700 * intl/tst-gettext4.sh Likewise.
2701 * intl/tst-gettext6.sh: Likewise.
2702 * intl/tst-translit.sh: Likewise.
2703 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2704 with $(test-program-cmd).
2705 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2706 $(run-program-prefix) with $(test-program-prefix).
2707 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2708 (test_program_prefix): This.
2709 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2710 $(run-program-prefix) with $(test-program-prefix).
2711 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2712 (test_program_prefix): This.
2713 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2714 * posix/Makefile ($(objpfx)globtest.out): Replace
2715 $(run-via-rtld-prefix) and $(test-wrapper) with
2716 $(test-program-prefix) and $(test-via-rtld-prefix).
2717 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2718 $(test-program-prefix).
2719 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2720 $(host-test-program-cmd).
2721 (tst-spawn-ARGS): Likewise.
2722 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2723 $(test-program-prefix).
2724 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2725 (test_via_rtld_prefix): This.
2726 (test_wrapper): Renamed to ...
2727 (test_program_prefix): This.
2728 (run_program_prefix): Replaced by test_program_prefix.
2729 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2730 (test_program_prefix): This.
2731 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2732 with $(host-test-program-cmd).
2733 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2734 $(run-program-prefix) with $(test-program-prefix).
2735 ($(objpfx)tst-printf.out): Likewise.
2736 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2737 $(test-program-cmd).
2738 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2739 (test_program_prefix): This.
2740 * stdio-common/tst-unbputc.sh: Likewise.
2741 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2742 $(run-program-prefix) with $(test-program-prefix).
2743 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2744 (test_program_prefix): This.
2745 * string/Makefile ($(objpfx)tst-svc.out): Replace
2746 $(built-program-cmd) with $(test-program-cmd).
2748 2013-01-11 Andreas Jaeger <aj@suse.de>
2751 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2752 value. Sync with Linux 3.7.
2754 2013-01-10 David S. Miller <davem@davemloft.net>
2756 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2757 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2758 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2760 2013-01-10 Roland McGrath <roland@hack.frob.com>
2762 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2764 * configure: Regenerated.
2766 2013-01-10 David S. Miller <davem@davemloft.net>
2768 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2769 sparc V9 rather than using V8 code.
2770 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2771 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2773 2013-01-10 Roland McGrath <roland@hack.frob.com>
2775 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2776 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2777 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2778 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2779 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2780 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2781 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2782 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2783 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2784 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2785 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2786 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2787 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2788 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2789 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2790 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2791 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2792 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2793 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2794 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2795 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2796 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2797 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2798 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2799 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2800 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2801 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2803 2013-01-10 David S. Miller <davem@davemloft.net>
2805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2807 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2809 * posix/Makefile (tests-static): New variable.
2810 (tests): Add $(tests-static).
2811 (tst-exec-static-ARGS): New variable.
2812 (tst-spawn-static-ARGS): Likewise.
2813 * posix/tst-exec-static.c: New file.
2814 * posix/tst-spawn-static.c: Likewise.
2815 * posix/tst-exec.c: Support run directly.
2816 * posix/tst-spawn.c: Likewise.
2818 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2820 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2822 * math/bits/mathcalls.h (llrint): Likewise.
2823 (llround): Likewise.
2824 * stdlib/stdlib.h (struct drand48_data): Likewise.
2825 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2826 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2827 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2829 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2831 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2832 (elf_greg_t): Likewise.
2833 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2834 (__jmp_buf): Likewise.
2835 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2837 (llrint): Likewise, for all definitions.
2838 (llrintl): Likewise.
2840 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2841 Remove [__GNUC__] condition.
2842 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2843 condition to just [__USE_ISOC99].
2844 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2846 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2849 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2850 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2852 (_POSIX_V6_ILP32_OFF32): Likewise.
2853 (_XBS5_ILP32_OFF32): Likewise.
2854 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2855 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2857 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2859 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2862 doubles __mpexp_twomm1. Adjust usage.
2863 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2866 2013-01-10 Andreas Schwab <schwab@suse.de>
2869 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2870 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2872 2013-01-09 David S. Miller <davem@davemloft.net>
2875 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2876 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2877 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2878 TCP_FASTOPEN): Define.
2879 (tcp_repair_opt): New structure.
2880 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2882 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2883 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2884 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2885 (tcp_cookie_transactions): New structure.
2887 2013-01-09 Anton Blanchard <anton@samba.org>
2889 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2890 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2894 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2896 * include/features.h (__USE_ANSI): Remove.
2898 2013-01-09 Roland McGrath <roland@hack.frob.com>
2900 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2902 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2904 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2906 * sysdeps/s390/fpu/libm-test-ulps: Update.
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2910 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2915 (__mp_dbl): Likewise.
2916 (__dbl_mp): Likewise.
2917 (add_magnitudes): Likewise.
2918 (sub_magnitudes): Likewise.
2924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2929 (__mp_dbl): Likewise.
2930 (__dbl_mp): Likewise.
2931 (add_magnitudes): Likewise.
2932 (sub_magnitudes): Likewise.
2938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2943 (__mp_dbl): Likewise.
2944 (__dbl_mp): Likewise.
2945 (add_magnitudes): Likewise.
2946 (sub_magnitudes): Likewise.
2953 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2955 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2956 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2957 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2958 2 && __USE_EXTERN_INLINES]: Likewise.
2960 2013-01-08 Andreas Jaeger <aj@suse.de>
2963 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2965 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2966 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2968 2013-01-07 Anton Blanchard <anton@samba.org>
2970 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2971 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2972 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2973 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2974 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2975 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2976 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2977 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2979 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2980 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2981 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2983 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2985 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2986 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2988 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2989 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2990 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2991 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2993 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2994 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2995 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2996 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2997 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2998 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2999 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3000 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3002 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3003 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3004 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3005 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3006 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3007 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3008 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3010 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3012 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3014 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3016 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3017 (__MALLOC_PMT): Likewise.
3018 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3019 [__GNUC__], only on [_LIBC].
3020 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3021 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3022 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3023 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3024 forward declaration.
3025 (realloc_hook_ini): Likewise.
3026 (memalign_hook_ini): Likewise.
3027 (__libc_memalign): Do not use __MALLOC_PMT in variable
3029 (__libc_valloc): Likewise.
3030 (__libc_pvalloc): Likewise.
3031 (__libc_calloc): Likewise.
3032 (__posix_memalign): Likewise.
3035 * math/s_casinh.c: Include <float.h>.
3036 (__casinh): Do not do computation with squaring and square root
3037 for large arguments.
3038 * math/s_casinhf.c: Include <float.h>.
3039 (__casinhf): Do not do computation with squaring and square root
3040 for large arguments.
3041 * math/s_casinhl.c: Include <float.h>.
3042 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3043 (__casinhl): Do not do computation with squaring and square root
3044 for large arguments.
3045 * math/libm-test.inc (casin_test): Add more tests.
3046 (casinh_test): Likewise.
3047 * sysdeps/i386/fpu/libm-test-ulps: Update.
3048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3050 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3052 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3053 (__x86_64_raw_data_cache_size): Likewise.
3054 (__x86_64_data_cache_size_half): Likewise.
3055 (__x86_64_raw_data_cache_size_half): Likewise.
3056 (__x86_64_shared_cache_size): Likewise.
3057 (__x86_64_raw_shared_cache_size): Likewise.
3058 (__x86_64_shared_cache_size_half): Likewise.
3059 (__x86_64_raw_shared_cache_size_half): Likewise.
3060 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3062 (__x86_data_cache_size): This.
3063 (__x86_64_raw_data_cache_size): Renamed to ...
3064 (__x86_raw_data_cache_size): This.
3065 (__x86_64_data_cache_size_half): Renamed to ...
3066 (__x86_data_cache_size_half): This.
3067 (__x86_64_raw_data_cache_size_half): Renamed to ...
3068 (__x86_raw_data_cache_size_half): This.
3069 (__x86_64_shared_cache_size): Renamed to ...
3070 (__x86_shared_cache_size): This.
3071 (__x86_64_raw_shared_cache_size): Renamed to ...
3072 (__x86_raw_shared_cache_size): This.
3073 (__x86_64_shared_cache_size_half): Renamed to ...
3074 (__x86_shared_cache_size_half): This.
3075 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3076 (__x86_raw_shared_cache_size_half): This.
3077 * sysdeps/x86_64/memcpy.S: Updated.
3078 * sysdeps/x86_64/memset.S: Likewise.
3079 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3080 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3083 2013-01-04 David S. Miller <davem@davemloft.net>
3085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3087 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3089 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3090 1 to avoid redefinition warning.
3091 (__USE_GNU): Don't define.
3092 (init_signaling_nan): Protoize.
3094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3096 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3098 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3100 (__cpymn): Likewise.
3101 (norm): Remove commented code.
3103 (__mp_dbl): Likewise.
3105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3106 (__cpymn): Likewise.
3107 (norm): Remove commented code.
3109 (__mp_dbl): Likewise.
3112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3113 mp_no value for 1.0 and 2.0.
3114 (norm): Use RADIXI instead of radixi.d.
3116 (__mul): Use 0.0 instead of zero.d.
3117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3118 mp_no value for 1.0 and 2.0.
3119 (norm): Use RADIXI instead of radixi.d.
3121 (__mul): Use 0.0 instead of zero.d.
3123 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3126 * math/s_casinh.c (__casinh): Reduce finite argument to first
3127 quadrant then set signs of results at the end.
3128 * math/s_casinhf.c (__casinhf): Likewise.
3129 * math/s_casinhl.c (__casinhl): Likewise.
3130 * math/libm-test.inc (casin_test): Add more tests.
3131 (casinh_test): Likewise.
3132 * sysdeps/i386/fpu/libm-test-ulps: Update.
3133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3135 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3137 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3139 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3141 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3144 (__mp_dbl): Likewise.
3147 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3148 and adjust the header comment.
3150 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3151 variable name from declaration.
3153 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3156 Initialize COMMON_CPUID_INDEX_7 element.
3157 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3158 (CPUID_RTM): Likewise.
3159 (HAS_RTM): Likewise.
3160 (COMMON_CPUID_INDEX_7): New enum.
3162 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3165 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3166 size is zero, record memory as freed.
3168 2013-01-03 Andreas Jaeger <aj@suse.de>
3170 * po/ia.po: Add new Interlingua translation.
3172 2012-01-03 Allan McRae <allan@archlinux.org>
3174 * locale/programs/localedef.c: Fix description of '--posix' flag.
3176 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3178 * NEWS: Update dates in second copyright notice.
3179 * README: Update copyright dates in example.
3180 * manual/libc.texinfo: Update copyright dates.
3181 * scripts/test-installation.pl: Update copyright date in --version
3184 * hurd/ctty-input.c: Fix copyright notice formatting.
3185 * hurd/ctty-output.c: Likewise.
3186 * hurd/dtable.c: Likewise.
3187 * hurd/hurd-raise.c: Likewise.
3188 * hurd/hurdprio.c: Likewise.
3189 * hurd/msgportdemux.c: Likewise.
3190 * misc/sys/file.h: Likewise.
3191 * misc/sys/ioctl.h: Likewise.
3192 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3193 * sysdeps/mach/hurd/chdir.c: Likewise.
3194 * sysdeps/mach/hurd/fchdir.c: Likewise.
3195 * sysdeps/mach/hurd/rename.c: Likewise.
3196 * sysdeps/mach/hurd/rmdir.c: Likewise.
3197 * sysdeps/mach/hurd/seekdir.c: Likewise.
3198 * sysdeps/mach/hurd/setsid.c: Likewise.
3199 * sysdeps/posix/wait3.c: Likewise.
3201 * All files with FSF copyright notices: Update copyright dates
3202 using scripts/update-copyrights.
3203 * intl/plural.c: Regenerated.
3204 * locale/programs/charmap-kw.h: Likewise.
3205 * locale/programs/locfile-kw.h: Likewise.
3207 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3209 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3212 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3213 calculation loop and add branch prediction.
3215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3216 check access beyond bounds of m1np.
3218 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3220 (__inv): Remove local variable MPTWO to use the global
3222 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3223 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3225 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3226 MP3HALFS static const.
3228 2013-01-01 David S. Miller <davem@davemloft.net>
3230 * po/ca.po: Update from translation team.
3232 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3234 * scripts/update-copyrights: New file.
3235 * Makeconfig: Reformat copyright notice.
3236 * ctype/ctype.h: Likewise.
3237 * debug/swprintf_chk.c: Likewise.
3238 * elf/dl-cache.c: Likewise.
3239 * elf/dl-debug.c: Likewise.
3240 * elf/dl-object.c: Likewise.
3241 * grp/initgroups.c: Likewise.
3242 * hurd/Makefile: Likewise.
3243 * hurd/hurd/signal.h: Likewise.
3244 * hurd/hurdfault.c: Likewise.
3245 * hurd/hurdioctl.c: Likewise.
3246 * hurd/hurdlookup.c: Likewise.
3247 * hurd/intr-msg.c: Likewise.
3248 * iconv/gconv_open.c: Likewise.
3249 * libio/swprintf.c: Likewise.
3250 * locale/lc-ctype.c: Likewise.
3251 * locale/nl_langinfo.c: Likewise.
3252 * mach/Machrules: Likewise.
3253 * mach/Makefile: Likewise.
3254 * malloc/obstack.h: Likewise.
3255 * manual/Makefile: Likewise.
3256 * manual/tsort.awk: Likewise.
3257 * misc/bits/stab.def: Likewise.
3258 * nis/nis_print_group_entry.c: Likewise.
3259 * nis/nis_table.c: Likewise.
3260 * nis/nss_compat/compat-pwd.c: Likewise.
3261 * nis/nss_compat/compat-spwd.c: Likewise.
3262 * po/Makefile: Likewise.
3263 * posix/fnmatch.c: Likewise.
3264 * posix/regex.h: Likewise.
3265 * resolv/Makefile: Likewise.
3266 * resolv/nss_dns/dns-network.c: Likewise.
3267 * resolv/res_hconf.c: Likewise.
3268 * scripts/gen-sorted.awk: Likewise.
3269 * soft-fp/soft-fp.h: Likewise.
3270 * stdio-common/printf.h: Likewise.
3271 * stdlib/monetary.h: Likewise.
3272 * stdlib/random.c: Likewise.
3273 * stdlib/random_r.c: Likewise.
3274 * sysdeps/generic/Makefile: Likewise.
3275 * sysdeps/gnu/Makefile: Likewise.
3276 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3299 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3300 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3301 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3302 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3304 * sysdeps/mach/hurd/errnos.awk: Likewise.
3305 * sysdeps/mach/hurd/fork.c: Likewise.
3306 * sysdeps/mach/hurd/getcwd.c: Likewise.
3307 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3308 * sysdeps/mach/hurd/mmap.c: Likewise.
3309 * sysdeps/mach/hurd/utimes.c: Likewise.
3310 * sysdeps/mach/hurd/xmknod.c: Likewise.
3311 * sysdeps/posix/profil.c: Likewise.
3312 * sysdeps/posix/readdir_r.c: Likewise.
3313 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3314 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3315 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3316 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3318 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3319 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3320 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3322 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3323 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3324 * sysdeps/pthread/lio_listio.c: Likewise.
3325 * sysdeps/sparc/dl-procinfo.h: Likewise.
3326 * sysdeps/unix/i386/sysdep.S: Likewise.
3327 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3328 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3329 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3330 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3332 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3333 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3334 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3335 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3336 * sysdeps/wordsize-32/divdi3.c: Likewise.
3337 * time/sys/time.h: Likewise.
3338 * wcsmbs/Makefile: Likewise.
3340 2013-01-01 David S. Miller <davem@davemloft.net>
3342 * po/fr.po: Update from translation team.
3344 * catgets/gencat.c: Update copyright year.
3345 * csu/version.c: Likewise.
3346 * debug/catchsegv.sh: Likewise.
3347 * debug/pcprofiledump.c: Likewise.
3348 * debug/xtrace.sh: Likewise.
3349 * elf/ldconfig.c: Likewise.
3350 * elf/ldd.bash.in: Likewise.
3351 * elf/pldd.c: Likewise.
3352 * elf/sotruss.ksh: Likewise.
3353 * elf/sprof.c: Likewise.
3354 * iconv/iconv_prog.c: Likewise.
3355 * iconv/iconvconfig.c: Likewise.
3356 * locale/programs/locale.c: Likewise.
3357 * locale/programs/localedef.c: Likewise.
3358 * login/programs/pt_chown.c: Likewise.
3359 * malloc/memusage.sh: Likewise.
3360 * malloc/memusagestat.c: Likewise.
3361 * malloc/mtrace.pl: Likewise.
3362 * nscd/nscd.c: Likewise.
3363 * nss/getent.c: Likewise.
3364 * nss/makedb.c: Likewise.
3365 * posix/getconf.c: Likewise.
3367 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3369 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3372 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3374 * math/bits/mathcalls.h (modf): Use __nonnull.
3376 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3378 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3379 (split): Use macro CN instead of the bare value.
3380 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3382 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3383 instead of the bare value.
3386 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3388 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3390 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3392 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3394 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3395 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3396 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3397 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3399 2012-12-28 Andreas Jaeger <aj@suse.de>
3401 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3402 values are from Linux 3.7.
3404 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3405 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3407 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3409 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3412 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3414 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3415 variables with preprocessor constants.
3416 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3417 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3418 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3420 2012-12-27 Bruno Haible <bruno@clisp.org>
3423 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3426 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3429 and use variable directly.
3430 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3432 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3434 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3437 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3439 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3440 include directive. Remove local variable MPONE.
3441 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3442 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3443 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3445 2012-12-25 David S. Miller <davem@davemloft.net>
3447 * version.h (RELEASE): Set to "development".
3448 (VERSION): Set to "2.17.90".
3449 * NEWS: Add 2.18 section.
3451 2012-12-21 David S. Miller <davem@davemloft.net>
3453 * po/hr.po: Update from translation team.
3455 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3457 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3459 2012-12-19 Steve Ellcey <sellcey@mips.com>
3461 * NEWS: Mention new memcpy for MIPS.
3463 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3465 * manual/contrib.texi (Contributors): Spelling correction.
3467 2012-12-15 David S. Miller <davem@davemloft.net>
3469 * po/ru.po: Update from translation team.
3471 2012-12-13 David S. Miller <davem@davemloft.net>
3473 * NEWS: Mention IFUNC testsuite enhancements.
3475 * po/pl.po: Update from translation team.
3476 * po/bg.po: Likewise.
3478 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3479 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3481 2012-12-11 David S. Miller <davem@davemloft.net>
3483 * po/sv.po: Update from translation team.
3485 * po/vi.po: Update from translation team.
3487 * po/cs.po: Update from translation team.
3489 * po/de.po: Update from translation team.
3490 * po/eo.po: Likewise.
3491 * po/nl.po: Likewise.
3493 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3496 * manual/argp.texi (Argp Helper Functions): Move node to follow
3500 * manual/conf.texi (Limits on File System Capacity): Mention if
3501 terminating null is included in the max size.
3503 2012-12-10 Andreas Jaeger <aj@suse.de>
3505 * po/cs.po: Update from translation team.
3507 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3509 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3510 void pointer and cast to uintptr_t.
3511 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3513 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3514 * sysdeps/s390/s390-64/memset.S: Likewise.
3516 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3519 * menual/message.texi (Message Translation): Fix typos.
3520 (Helper programs for gettext): Likewise.
3522 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3525 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3528 2012-12-07 David S. Miller <davem@davemloft.net>
3530 * po/libc.pot: Update.
3532 2012-12-07 Richard Henderson <rth@redhat.com>
3535 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3536 normal/normal case to before the switch.
3537 (_FP_DIV): Likewise.
3539 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3540 Mike Frysinger <vapier@gentoo.org>
3542 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3543 check for __NR_fadvise64_64.
3545 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3547 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3548 0, not just to plain "0" as a statement.
3549 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3552 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3554 * NEWS: Use sourceware.org in Bugzilla URL.
3556 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3559 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3561 * stdio-common/tst-put-error.c (do_test): Add newline to the
3562 padded test to ensure flush.
3564 2012-12-05 Jeff Law <law@redhat.com>
3566 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3568 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3570 * README: Don't refer to ports add-on as distributed separately.
3571 Mention AArch64 in list of systems supported in the ports add-on.
3573 * LICENSES: Add more non-FSF copyright and license notices.
3575 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3578 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3580 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3581 10000 as width of padded output.
3583 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3585 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3587 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3588 variable LX with __attribute__ ((unused)).
3589 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3591 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3594 with __attribute__ ((unused)).
3596 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3598 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3600 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3602 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3603 (CFLAGS-nldbl-acos.c): New variable.
3604 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3605 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3606 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3607 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3608 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3609 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3610 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3611 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3612 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3613 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3614 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3615 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3616 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3617 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3618 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3619 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3620 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3621 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3622 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3623 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3624 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3625 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3626 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3627 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3628 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3629 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3630 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3631 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3632 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3633 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3634 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3635 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3636 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3637 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3638 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3639 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3640 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3641 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3642 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3643 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3644 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3645 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3646 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3647 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3648 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3649 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3650 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3651 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3652 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3653 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3654 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3655 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3656 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3657 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3658 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3659 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3660 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3661 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3662 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3663 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3664 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3665 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3666 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3667 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3668 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3669 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3670 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3671 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3672 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3673 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3674 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3675 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3676 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3677 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3678 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3679 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3680 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3681 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3682 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3683 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3684 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3685 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3686 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3687 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3688 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3689 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3690 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3691 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3692 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3693 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3694 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3695 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3696 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3697 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3698 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3699 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3700 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3703 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3706 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3707 whole low double instead of just low 47 bits when splitting values
3710 2012-12-03 Allan McRae <allan@archlinux.org>
3712 * manual/stdio.texi (Predefined Printf Handlers): Remove
3713 @hsep and @vsep usage.
3715 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3717 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3718 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3720 2012-12-03 Jeff Law <law@redhat.com>
3722 * time/sys/time.h (settimeofday): Do not mark TV argument
3725 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3727 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3728 when currently writing and seek to current position when not.
3729 * libio/Makefile (tests): Remove bug-fclose1.
3730 * libio/bug-fclose1.c: Delete.
3732 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3734 * manual/arith.texi (feenableexcept): Fix typo.
3735 (fedisableexcept): Likewise.
3737 2012-11-30 Roland McGrath <roland@hack.frob.com>
3739 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3740 second, differently-typed declaration, rather than a cast.
3742 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3744 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3745 * include/rpc/svc.h: ... here.
3747 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3750 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3751 depending n and resplen2 to catch cases where answer
3754 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3756 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3757 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3759 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3761 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3763 2012-11-29 Roland McGrath <roland@hack.frob.com>
3765 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3767 2012-11-28 Jeff Law <law@redhat.com>
3770 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3771 dataset_temporary. Track alloca usage into alloca_used.
3772 If dataset is large allocate and release it via malloc/free.
3774 2012-06-04 Florian Weimer <fweimer@redhat.com>
3777 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3779 2012-11-28 David S. Miller <davem@davemloft.net>
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3783 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3786 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3787 of pi/2 rounded to nearest to 64 bits.
3788 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3790 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3793 2012-11-28 Jeff Law <law@redhat.com>
3794 Martin Osvald <mosvald@redhat.com>
3797 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3798 * sunrpc/svc.c: Include time.h.
3799 (__svc_accept_failed): New function.
3800 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3801 any reason other than EINTR, call __svc_accept_failed.
3802 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3803 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3805 2012-11-28 Andreas Schwab <schwab@suse.de>
3807 * scripts/abilist.awk: Also handle indirect functions in .opd
3810 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3813 * sysdeps/x86/fpu/powl_helper.c: New file.
3814 * sysdeps/x86/fpu/Makefile: Likewise.
3815 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3817 (__ieee754_powl): Use __powl_helper for finite arguments except
3818 integer exponents below 8.
3819 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3821 (__ieee754_powl): Use __powl_helper for finite arguments except
3822 integer exponents below 8.
3823 * math/libm-test.inc (pow_test): Add more tests and enable some
3824 previously disabled tests.
3825 * sysdeps/i386/fpu/libm-test-ulps: Update.
3826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3829 Carlos O'Donell <carlos_odonell@mentor.com>
3831 * nss/makedb.c (is_prime): Assert that input is odd and greater
3832 than 4. Note that fact in a comment too.
3833 (next_prime): Add 4 to input.
3835 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3838 * libio/Makefile (tests): Add test case tst-fwrite-error.
3839 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3840 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3841 * libio/tst-fwrite-error.c: New test case.
3843 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3845 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3846 before casting to void *.
3847 * include/libc-internal.h (__pointer_type): New macro.
3848 (__integer_if_pointer_type_sub): Likewise.
3849 (__integer_if_pointer_type): Likewise.
3850 (cast_to_integer): Likewise.
3851 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3852 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3853 before casting to atomic64_t.
3854 (atomic_exchange_acq): Likewise.
3855 (__arch_exchange_and_add_body): Likewise.
3856 (__arch_add_body): Likewise.
3857 (atomic_add_negative): Likewise.
3858 (atomic_add_zero): Likewise.
3860 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3862 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3863 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3864 (add_fdes): Likewise.
3865 (linear_search_fdes): Likewise.
3866 (binary_search_unencoded_fdes): Likewise.
3868 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3870 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3872 2012-11-24 Adam Conrad <adconrad@0c3.net>
3874 * configure.in: Autodetect C++ header directories.
3875 * configure: Regenerated.
3877 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3879 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3881 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3885 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3887 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3888 LDBL_MANT_DIG == 106]: Disable some tests.
3889 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3891 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3895 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3896 input for small inputs. Return +/- pi/2 for large inputs.
3897 * math/libm-test.inc (atan_test): Add more tests.
3899 * sysdeps/generic/unwind-dw2-fde-glibc.c
3900 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3901 __attribute__ ((unused)).
3904 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3905 x * y if x and y are nonzero and z is zero.
3908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3909 nonzero exponents with absolute value below 0x1p-117 to +/-
3913 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3914 up arguments below 2**-450, not just those below 2**-500.
3915 * math/libm-test.inc (hypot_test): Add another test.
3918 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3919 Return a+b for ratio over 2**120, not 2**60.
3920 * math/libm-test.inc (hypot_test): Add another test.
3922 * math/libm-test.inc (clog_test): Use
3923 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3924 (clog10_test): Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3929 2012-11-22 Andreas Schwab <schwab@suse.de>
3931 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3935 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3936 printf output with newline.
3938 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3941 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3942 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3943 -z nodlopen, -z initfirst and -z execstack support.
3944 * configure: Regenerated.
3946 * elf/elf.h (DF_1_NODIRECT): New macro.
3947 (DF_1_IGNMULDEF): Likewise.
3948 (DF_1_NOKSYMS): Likewise.
3949 (DF_1_NOHDR): Likewise.
3950 (DF_1_EDITED): Likewise.
3951 (DF_1_NORELOC): Likewise.
3952 (DF_1_SYMINTPOSE): Likewise.
3953 (DF_1_GLOBAUDIT): Likewise.
3954 (DF_1_SINGLETON): Likewise.
3955 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3956 DT_1_SUPPORTED_MASK bits.
3957 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3959 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3961 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3963 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3965 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3968 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3969 (sendmmsg): Move declarations...
3970 * socket/sys/socket.h: ... here.
3971 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3972 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3974 * socket/recvmmsg.c: ... this new file.
3975 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3976 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3977 definition of __sendmmsg hidden.
3978 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3979 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3980 Move ENOSYS stub into and include it from...
3981 * socket/sendmmsg.c: ... this new file.
3982 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3983 (sysdep_routines): Move recvmmsg and sendmmsg...
3984 * socket/Makefile (routines): ... here.
3985 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3986 (GLIBC_PRIVATE): Add __sendmmsg.
3987 * include/sys/socket.h (__sendmmsg): Add declarations.
3988 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3991 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3993 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3994 variable I1 with __attribute__ ((unused)).
3995 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3997 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3999 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4000 DUMMY variables with __attribute__ ((unused)).
4002 * bits/byteswap.h: Include <bits/types.h>.
4003 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4005 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4007 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4008 string_t. Do not manually set errno.
4009 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4010 length with __strnlen. Make sure to both set errno and return it on
4013 2012-11-19 David S. Miller <davem@davemloft.net>
4015 With help from Joseph Myers.
4016 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4017 very large arguments properly.
4018 * math/libm-test.inc (atan_test): New tests.
4019 (atan2_test): New tests.
4020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4023 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4026 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4029 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4030 [POSIX] (EADDRNOTAVAIL): Likewise.
4031 [POSIX] (EAFNOSUPPORT): Likewise.
4032 [POSIX] (EALREADY): Likewise.
4033 [POSIX] (ECONNABORTED): Likewise.
4034 [POSIX] (ECONNREFUSED): Likewise.
4035 [POSIX] (ECONNRESET): Likewise.
4036 [POSIX] (EDESTADDRREQ): Likewise.
4037 [POSIX] (EDQUOT): Likewise.
4038 [POSIX] (EHOSTUNREACH): Likewise.
4039 [POSIX] (EIDRM): Likewise.
4040 [POSIX] (EISCONN): Likewise.
4041 [POSIX] (ELOOP): Likewise.
4042 [POSIX] (EMULTIHOP): Likewise.
4043 [POSIX] (ENETDOWN): Likewise.
4044 [POSIX] (ENETUNREACH): Likewise.
4045 [POSIX] (ENOBUFS): Likewise.
4046 [POSIX] (ENODATA): Likewise.
4047 [POSIX] (ENOLINK): Likewise.
4048 [POSIX] (ENOMSG): Likewise.
4049 [POSIX] (ENOPROTOOPT): Likewise.
4050 [POSIX] (ENOSR): Likewise.
4051 [POSIX] (ENOSTR): Likewise.
4052 [POSIX] (ENOTCONN): Likewise.
4053 [POSIX] (ENOTSOCK): Likewise.
4054 [POSIX] (EOPNOTSUPP): Likewise.
4055 [POSIX] (EOVERFLOW): Likewise.
4056 [POSIX] (EPROTO): Likewise.
4057 [POSIX] (EPROTONOSUPPORT): Likewise.
4058 [POSIX] (EPROTOTYPE): Likewise.
4059 [POSIX] (ESTALE): Likewise.
4060 [POSIX] (ETIME): Likewise.
4061 [POSIX] (ETXTBSY): Likewise.
4062 [POSIX] (EWOULDBLOCK): Likewise.
4063 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4064 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4065 [POSIX] (SEEK_CUR): Likewise.
4066 [POSIX] (SEEK_END): Likewise.
4067 [POSIX || UNIX98] (mode_t): Do not require.
4068 [POSIX] (off_t): Likewise.
4069 [POSIX] (pid_t): Likewise.
4070 [POSIX] (sys/stat.h): Do not allow header.
4071 [POSIX] (unistd.h): Likewise.
4072 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4073 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4074 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4075 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4077 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4078 sigevent): Specify elements.
4079 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4081 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4082 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4084 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4085 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4086 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4087 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4088 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4089 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4090 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4091 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4092 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4093 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4094 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4095 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4096 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4097 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4099 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4101 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4103 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4105 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4106 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4107 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4108 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4109 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4110 Specify lower bound on value.
4111 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4112 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4113 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4114 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4115 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4116 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4117 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4118 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4120 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4122 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4123 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4124 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4125 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4126 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4127 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4128 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4130 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4131 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4132 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4133 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4134 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4135 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4136 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4137 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4139 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4141 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4142 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4143 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4144 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4145 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4146 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4148 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4149 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4150 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4151 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4152 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4153 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4154 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4156 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4157 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4158 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4159 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4160 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4161 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4162 specify as optional.
4163 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4164 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4165 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4166 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4167 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4168 [XPG3] (NL_LANGMAX): Likewise.
4169 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4170 [POSIX || XPG3] (NL_NMAX): Likewise.
4171 [POSIX || XPG3] (NL_SETMAX): Likewise.
4172 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4173 [XPG3] (NZERO): Likewise.
4174 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4175 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4176 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4177 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4178 (REG_ERANGE): Expect.
4179 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4181 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4182 Use (void) in prototype.
4183 [POSIX] (*_t): Allow.
4184 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4185 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4186 (WRDE_BADVAL): Expect.
4188 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4190 [XPG3 || XPG4] (O_RSYNC): Likewise.
4191 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4193 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4194 [XPG3 || XPG4] (sigqueue): Likewise.
4195 [XPG3 || XPG4] (sigtimedwait): Likewise.
4196 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4197 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4198 [XPG3 || XPG4] (vsnprintf): Likewise.
4199 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4201 [XPG3 || XPG4] (blksize_t): Likewise.
4202 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4204 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4205 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4206 [XPG3 || XPG4] (struct itimerspec): Likewise.
4207 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4208 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4209 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4210 [XPG3 || XPG4] (clockid_t): Likewise.
4211 [XPG3 || XPG4] (timer_t): Likewise.
4212 [XPG3 || XPG4] (clock_getres): Likewise.
4213 [XPG3 || XPG4] (clock_gettime): Likewise.
4214 [XPG3 || XPG4] (clock_settime): Likewise.
4215 [XPG3 || XPG4] (nanosleep): Likewise.
4216 [XPG3 || XPG4] (timer_create): Likewise.
4217 [XPG3 || XPG4] (timer_delete): Likewise.
4218 [XPG3 || XPG4] (timer_gettime): Likewise.
4219 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4220 [XPG3 || XPG4] (timer_settime): Likewise.
4221 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4222 [XPG3 || XPG4] (getlogin_r): Likewise.
4223 [XPG3 || XPG4] (pread): Likewise.
4224 [XPG3 || XPG4] (pthread_atfork): Likewise.
4225 [XPG3 || XPG4] (pwrite): Likewise.
4228 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4231 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4233 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4234 finalizing MALLSTREAM.
4236 * sysdeps/mach/hurd/syncfs.c: New file.
4238 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4241 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4242 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4243 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4244 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4245 (_nss_dns_gethostbyname4_r): Likewise.
4246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4247 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4249 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4252 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4254 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4256 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4257 * elf/cache.c (print_entry): Print ",AArch64" for
4260 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4261 * elf/cache.c (print_entry): Print ",hard-float" for
4264 2012-11-18 David S. Miller <davem@davemloft.net>
4266 With help from Joseph Myers.
4267 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4269 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4271 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4272 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4274 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4275 * math/libm-test.inc (y0_test): New tests.
4276 (y1_test): New tests.
4277 * sysdeps/i386/fpu/libm-test-ulps: Update.
4278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4281 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4283 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4285 * configure: Regenerated.
4287 2012-11-17 David S. Miller <davem@davemloft.net>
4290 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4291 nonzero exponents with absolute value below 0x1p-128 to +/-
4294 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4296 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4298 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4300 * posix/getconf-speclist.c: New file.
4301 * posix/posix-envs.def: Likewise.
4302 * posix/confstr.c (START_ENV_GROUP): New macro.
4303 (END_ENV_GROUP): Likewise.
4304 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4305 (KNOWN_PRESENT_ENV_STRING): Likewise.
4306 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4307 (UNKNOWN_ENVIRONMENT): Likewise.
4308 (confstr): Include posix-envs.def instead of handling
4309 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4310 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4311 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4312 (END_ENV_GROUP): Likewise.
4313 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4314 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4315 (UNKNOWN_ENVIRONMENT): Likewise.
4316 (__sysconf): Include posix-envs.def instead of handling associated
4317 cases directly here.
4318 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4319 preprocessing getconf-speclist.c rather than running getconf or
4320 generating empty file.
4322 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4324 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4326 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4329 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4331 2012-11-16 David S. Miller <davem@davemloft.net>
4333 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4334 smaller than LDBL_EPSILON/2.0L, just return xm1.
4336 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4338 * elf/tst-array1.c (init): Set constructor priority to 1000.
4339 (fini): Set destructor priority to 1000.
4340 * elf/tst-array2dep.c: Likewise.
4342 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4345 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4346 (_IO_new_file_xsputn): Also return EOF if none of the input
4347 data was written when overflow failed.
4348 * libio/iopadn.c (_IO_padn): Likewise.
4349 * libio/iowpadn.c (_IO_wpadn): Likewise.
4350 * stdio-common/tst-put-error.c: Add copyright notice.
4351 (do_test): Add case for printing padded string.
4352 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4353 _IO_padn returned error.
4354 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4355 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4358 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4360 * libio/libioP.h: Add comment note that the references to C++
4361 bits are now obsolete.
4363 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4365 * math/libm-test.inc (check_complex): Use asprintf.
4367 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4369 * debug/pcprofiledump.c (print_version): Update copyright year.
4370 * malloc/memusagestat.c (print_version): Likewise.
4372 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4375 * elf/Makefile (tests): Add tst-audit8.
4376 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4377 ($(objpfx)tst-audit8.out): New target.
4378 (tst-audit8-ENV): New variable.
4379 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4380 audit if l_reloc_result is NULL.
4381 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4382 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4383 * elf/tst-audit8.c: New file.
4385 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4387 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4388 * misc/Makefile (CFLAGS-select.c): Define.
4389 * posix/Makefile (CFLAGS-pause.c): Define.
4391 2012-11-13 David S. Miller <davem@davemloft.net>
4393 * crypt/Makefile: Move test targets after toplevel Rules
4394 inclusion. Grab any necessary sysdep routines when linking.
4395 * crypt/md5.c (md5_process_block): Remove define, we will always
4396 name it __md5_process_block.
4397 (md5_finish_ctx): Update md5_process_block call.
4398 (md5_stream): Likewise.
4399 (md5_process_bytes): Likewise.
4400 (md5_process_block): Rename to __md5_process_block and move to ...
4401 * crypt/md5-block.c: ... here.
4402 * crypt/sha256.c (sha256_process_block): Move to ...
4403 * crypt/sha256-block.c: ... here.
4404 * crypt/sha512.c (sha512_process_block): Move to ...
4405 * crypt/sha512-block.c: ... here.
4406 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4408 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4409 * sysdeps/sparc/sparc64/multiarch/Makefile
4410 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4412 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4413 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4415 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4416 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4417 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4418 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4419 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4420 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4421 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4422 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4423 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4425 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4426 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4428 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4430 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4432 * timezone/tzselect.ksh: Update from tzcode git revision
4433 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4434 * timezone/zdump.c: Likewise.
4435 * timezone/zic.c: Likewise.
4436 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4437 in TZVERSION setting, not $(PKGVERSION).
4438 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4439 REPORT_BUGS_TO settings.
4442 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4445 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4447 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4448 detection to immediately after _FP_ROUND().
4449 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4452 2012-11-11 David S. Miller <davem@davemloft.net>
4454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4456 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4457 __close rather than their public counterparts.
4459 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4461 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4463 [UNIX98] (sem_timedwait): Do not expect.
4464 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4465 [XPG4 || UNIX98] (sockatmark): Do not expect.
4466 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4467 (clock_getcpuclockid): Do not expect.
4468 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4469 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4471 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4472 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4473 [UNIX98] (vwscanf): Likewise.
4474 [UNIX98] (vswscanf): Likewise.
4476 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4478 * timezone/version.h: Remove file.
4479 * timezone/README: Do not refer to version.h.
4480 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4482 ($(objpfx)zdump.o): Likewise.
4483 ($(objpfx)version.h): New target.
4485 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4487 * timezone/README: Don't mention modification to tzselect.ksh.
4488 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4489 work on unmodified tzselect.ksh. Substitute version numbers in
4492 * Makefile (format-me): Remove.
4493 (INSTALL): Adjust indentation. Use commands directly instead of
4496 * aclocal.m4 (ACX_PKGVERSION): New macro.
4497 (ACX_BUGURL): Likewise.
4498 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4499 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4500 (REPORT_BUGS_TO): Likewise.
4501 * configure: Regenerated.
4502 * config.h.in (PKGVERSION): New macro.
4503 (REPORT_BUGS_TO): Likewise.
4504 * config.make.in (PKGVERSION): New variable.
4505 (PKGVERSION_TEXI): Likewise.
4506 (REPORT_BUGS_TO): Likewise.
4507 (REPORT_BUGS_TEXI): Likewise.
4508 * Makefile (format-me): Use -I$(common-objpfx)manual.
4509 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4510 ($(common-objpfx)manual/%): New target.
4511 (manual/%): Remove target.
4512 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4513 (print_version): Use PKGVERSION.
4514 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4515 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4517 ($(objpfx)xtrace): Likewise.
4518 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4519 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4520 (print_version): Use PKGVERSION.
4521 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4522 (do_version): Use PKGVERSION.
4523 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4525 (common-ldd-rewrite): Likewise.
4526 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4527 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4528 (print_version): Use PKGVERSION.
4529 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4530 * elf/pldd.c (argp_program_bug_address): Remove variable.
4531 (more_help): New function.
4532 (argp): Use more_help.
4533 (print_version): Use PKGVERSION.
4534 * elf/sln.c (main): Use PKGVERSION.
4535 (usage): Use REPORT_BUGS_TO.
4536 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4537 (top level): Use PKGVERSION.
4538 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4539 (print_version): Use PKGVERSION.
4540 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4541 (print_version): Use PKGVERSION.
4542 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4543 (print_version): Use PKGVERSION.
4544 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4545 (print_version): Use PKGVERSION.
4546 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4547 (print_version): Use PKGVERSION.
4548 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4549 (print_version): Use PKGVERSION.
4550 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4552 ($(objpfx)memusage): Likewise.
4553 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4554 (do_version): Use PKGVERSION.
4555 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4556 (print_version): Use PKGVERSION.
4557 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4558 ($PKGVERSION): New variable.
4559 ($REPORT_BUGS_TO): Likewise.
4560 (usage): Use $REPORT_BUGS_TO.
4561 (top level): Use $PKGVERSION.
4562 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4563 ($(objpfx)pkgvers.texi): New rule.
4564 ($(objpfx)stamp-pkgvers): Likewise.
4565 * manual/install.texi: Include pkgvers.texi.
4566 (--with-pkgversion): Document new configure option.
4567 (--with-bugurl): Likewise.
4568 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4569 than necessarily for this particular distribution. Use
4570 REPORT_BUGS_TO for where to report bugs.
4571 * INSTALL: Regenerated.
4572 * manual/libc.texinfo: Include pkgvers.texi.
4573 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4574 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4575 (print_version): Use PKGVERSION.
4576 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4577 (print_version): Use PKGVERSION.
4578 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4579 (print_version): Use PKGVERSION.
4580 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4581 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4583 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4584 (print_version): Use PKGVERSION.
4585 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4586 (print_version): Use PKGVERSION.
4587 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4590 * timezone/checktab.awk: Update from tzcode 2012i.
4591 * timezone/ialloc.c: Likewise.
4592 * timezone/private.h: Likewise.
4593 * timezone/scheck.c: Likewise.
4594 * timezone/tzfile.h: Likewise.
4595 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4596 (TZVERSION): Hardcode tzcode version number.
4597 * timezone/zdump.c: Update from tzcode 2012i.
4598 * timezone/zic.c: Likewise.
4599 * timezone/version.h: New file.
4600 * timezone/README: Describe version.h. Update upstream location.
4603 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4604 (mktemp): Enable declaration.
4605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4622 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4623 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4624 for copies of such integer values.
4625 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4626 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4628 2012-11-09 Andreas Jaeger <aj@suse.de>
4630 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4631 definitions and declarations that are provided by
4632 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4634 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4636 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4637 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4638 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4641 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4643 * elf/elf.h: Update comment before AArch64 relocations.
4645 2012-11-07 David S. Miller <davem@davemloft.net>
4647 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4648 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4649 (__start_context): Declare.
4650 (__makecontext_ret): Delete.
4651 (__makecontext): Hook up __start_context instead of
4653 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4654 (sysdep_routines): Add __start_context when in stdlib.
4656 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4658 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4659 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4660 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4662 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4663 (READELF): New variable. Use it instead of hardcoded "readelf".
4665 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4667 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4668 * sysdeps/x86/Makefile: Here.
4669 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4670 * sysdeps/x86/tst-xmmymm.sh: This.
4672 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4674 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4676 [UNIX98] (pthread_barrier_t): Do not expect.
4677 [UNIX98] (pthread_barrierattr_t): Likewise.
4678 [UNIX98] (pthread_spinlock_t): Likewise.
4679 [UNIX98] (pthread_barrier_destroy): Likewise.
4680 [UNIX98] (pthread_barrier_init): Likewise.
4681 [UNIX98] (pthread_barrier_wait): Likewise.
4682 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4683 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4684 [UNIX98] (pthread_barrierattr_init): Likewise.
4685 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4686 [UNIX98] (pthread_getcpuclockid): Likewise.
4687 [UNIX98] (pthread_mutex_timedlock): Likewise.
4688 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4689 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4690 [UNIX98] (pthread_sigmask): Likewise.
4691 [UNIX98] (pthread_spin_destroy): Likewise.
4692 [UNIX98] (pthread_spin_init): Likewise.
4693 [UNIX98] (pthread_spin_lock): Likewise.
4694 [UNIX98] (pthread_spin_trylock): Likewise.
4695 [UNIX98] (pthread_spin_unlock): Likewise.
4696 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4698 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4699 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4700 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4701 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4702 [XPG3 || XPG4] (pthread_key_t): Likewise.
4703 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4704 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4705 [XPG3 || XPG4] (pthread_once_t): Likewise.
4706 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4707 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4708 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4709 [XPG3 || XPG4] (pthread_t): Likewise.
4711 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4713 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4715 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4716 Change function return type to int.
4718 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4719 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4720 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4721 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4722 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4723 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4724 [!POSIX] (posix_madvise): Likewise.
4725 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4727 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4728 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4730 (posix_mem_offset): Likewise.
4731 (posix_typed_mem_get_info): Likewise.
4732 (posix_typed_mem_open): Likewise.
4734 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4735 Change condition to [XOPEN2K8].
4737 * conform/conformtest.pl: Preprocess allow-header data with -x c
4738 instead of from stdin.
4739 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4740 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4741 [C99-based standards] (cerfc): Likewise.
4742 [C99-based standards] (cexp2): Likewise.
4743 [C99-based standards] (cexpm1): Likewise.
4744 [C99-based standards] (clog10): Likewise.
4745 [C99-based standards] (clog1p): Likewise.
4746 [C99-based standards] (clog2): Likewise.
4747 [C99-based standards] (clgamma): Likewise.
4748 [C99-based standards] (ctgamma): Likewise.
4749 [C99-based standards] (cerff): Likewise.
4750 [C99-based standards] (cerfcf): Likewise.
4751 [C99-based standards] (cexp2f): Likewise.
4752 [C99-based standards] (cexpm1f): Likewise.
4753 [C99-based standards] (clog10f): Likewise.
4754 [C99-based standards] (clog1pf): Likewise.
4755 [C99-based standards] (clog2f): Likewise.
4756 [C99-based standards] (clgammaf): Likewise.
4757 [C99-based standards] (ctgammaf): Likewise.
4758 [C99-based standards] (cerfl): Likewise.
4759 [C99-based standards] (cerfcl): Likewise.
4760 [C99-based standards] (cexp2l): Likewise.
4761 [C99-based standards] (cexpm1l): Likewise.
4762 [C99-based standards] (clog10l): Likewise.
4763 [C99-based standards] (clog1pl): Likewise.
4764 [C99-based standards] (clog2l): Likewise.
4765 [C99-based standards] (clgammal): Likewise.
4766 [C99-based standards] (ctgammal): Likewise.
4767 * conform/data/inttypes.h-data [C99-based standards]: Include
4768 stdint.h-data. Remove all expectations for stdint.h contents.
4769 [C99-based standards] (PRI*): Do not allow.
4770 [C99-based standards] (SCN*): Likewise.
4771 [C99-based standards] (*_t): Likewise.
4772 [C99-based-standards] (PRId8): Expect macro.
4773 [C99-based-standards] (PRIi8): Likewise.
4774 [C99-based-standards] (PRIo8): Likewise.
4775 [C99-based-standards] (PRIu8): Likewise.
4776 [C99-based-standards] (PRIx8): Likewise.
4777 [C99-based-standards] (PRIX8): Likewise.
4778 [C99-based-standards] (SCNd8): Likewise.
4779 [C99-based-standards] (SCNi8): Likewise.
4780 [C99-based-standards] (SCNo8): Likewise.
4781 [C99-based-standards] (SCNu8): Likewise.
4782 [C99-based-standards] (SCNx8): Likewise.
4783 [C99-based-standards] (PRIdLEAST8): Likewise.
4784 [C99-based-standards] (PRIiLEAST8): Likewise.
4785 [C99-based-standards] (PRIoLEAST8): Likewise.
4786 [C99-based-standards] (PRIuLEAST8): Likewise.
4787 [C99-based-standards] (PRIxLEAST8): Likewise.
4788 [C99-based-standards] (PRIXLEAST8): Likewise.
4789 [C99-based-standards] (SCNdLEAST8): Likewise.
4790 [C99-based-standards] (SCNiLEAST8): Likewise.
4791 [C99-based-standards] (SCNoLEAST8): Likewise.
4792 [C99-based-standards] (SCNuLEAST8): Likewise.
4793 [C99-based-standards] (SCNxLEAST8): Likewise.
4794 [C99-based-standards] (PRIdFAST8): Likewise.
4795 [C99-based-standards] (PRIiFAST8): Likewise.
4796 [C99-based-standards] (PRIoFAST8): Likewise.
4797 [C99-based-standards] (PRIuFAST8): Likewise.
4798 [C99-based-standards] (PRIxFAST8): Likewise.
4799 [C99-based-standards] (PRIXFAST8): Likewise.
4800 [C99-based-standards] (SCNdFAST8): Likewise.
4801 [C99-based-standards] (SCNiFAST8): Likewise.
4802 [C99-based-standards] (SCNoFAST8): Likewise.
4803 [C99-based-standards] (SCNuFAST8): Likewise.
4804 [C99-based-standards] (SCNxFAST8): Likewise.
4805 [C99-based-standards] (PRId16): Likewise.
4806 [C99-based-standards] (PRIi16): Likewise.
4807 [C99-based-standards] (PRIo16): Likewise.
4808 [C99-based-standards] (PRIu16): Likewise.
4809 [C99-based-standards] (PRIx16): Likewise.
4810 [C99-based-standards] (PRIX16): Likewise.
4811 [C99-based-standards] (SCNd16): Likewise.
4812 [C99-based-standards] (SCNi16): Likewise.
4813 [C99-based-standards] (SCNo16): Likewise.
4814 [C99-based-standards] (SCNu16): Likewise.
4815 [C99-based-standards] (SCNx16): Likewise.
4816 [C99-based-standards] (PRIdLEAST16): Likewise.
4817 [C99-based-standards] (PRIiLEAST16): Likewise.
4818 [C99-based-standards] (PRIoLEAST16): Likewise.
4819 [C99-based-standards] (PRIuLEAST16): Likewise.
4820 [C99-based-standards] (PRIxLEAST16): Likewise.
4821 [C99-based-standards] (PRIXLEAST16): Likewise.
4822 [C99-based-standards] (SCNdLEAST16): Likewise.
4823 [C99-based-standards] (SCNiLEAST16): Likewise.
4824 [C99-based-standards] (SCNoLEAST16): Likewise.
4825 [C99-based-standards] (SCNuLEAST16): Likewise.
4826 [C99-based-standards] (SCNxLEAST16): Likewise.
4827 [C99-based-standards] (PRIdFAST16): Likewise.
4828 [C99-based-standards] (PRIiFAST16): Likewise.
4829 [C99-based-standards] (PRIoFAST16): Likewise.
4830 [C99-based-standards] (PRIuFAST16): Likewise.
4831 [C99-based-standards] (PRIxFAST16): Likewise.
4832 [C99-based-standards] (PRIXFAST16): Likewise.
4833 [C99-based-standards] (SCNdFAST16): Likewise.
4834 [C99-based-standards] (SCNiFAST16): Likewise.
4835 [C99-based-standards] (SCNoFAST16): Likewise.
4836 [C99-based-standards] (SCNuFAST16): Likewise.
4837 [C99-based-standards] (SCNxFAST16): Likewise.
4838 [C99-based-standards] (PRId32): Likewise.
4839 [C99-based-standards] (PRIi32): Likewise.
4840 [C99-based-standards] (PRIo32): Likewise.
4841 [C99-based-standards] (PRIu32): Likewise.
4842 [C99-based-standards] (PRIx32): Likewise.
4843 [C99-based-standards] (PRIX32): Likewise.
4844 [C99-based-standards] (SCNd32): Likewise.
4845 [C99-based-standards] (SCNi32): Likewise.
4846 [C99-based-standards] (SCNo32): Likewise.
4847 [C99-based-standards] (SCNu32): Likewise.
4848 [C99-based-standards] (SCNx32): Likewise.
4849 [C99-based-standards] (PRIdLEAST32): Likewise.
4850 [C99-based-standards] (PRIiLEAST32): Likewise.
4851 [C99-based-standards] (PRIoLEAST32): Likewise.
4852 [C99-based-standards] (PRIuLEAST32): Likewise.
4853 [C99-based-standards] (PRIxLEAST32): Likewise.
4854 [C99-based-standards] (PRIXLEAST32): Likewise.
4855 [C99-based-standards] (SCNdLEAST32): Likewise.
4856 [C99-based-standards] (SCNiLEAST32): Likewise.
4857 [C99-based-standards] (SCNoLEAST32): Likewise.
4858 [C99-based-standards] (SCNuLEAST32): Likewise.
4859 [C99-based-standards] (SCNxLEAST32): Likewise.
4860 [C99-based-standards] (PRIdFAST32): Likewise.
4861 [C99-based-standards] (PRIiFAST32): Likewise.
4862 [C99-based-standards] (PRIoFAST32): Likewise.
4863 [C99-based-standards] (PRIuFAST32): Likewise.
4864 [C99-based-standards] (PRIxFAST32): Likewise.
4865 [C99-based-standards] (PRIXFAST32): Likewise.
4866 [C99-based-standards] (SCNdFAST32): Likewise.
4867 [C99-based-standards] (SCNiFAST32): Likewise.
4868 [C99-based-standards] (SCNoFAST32): Likewise.
4869 [C99-based-standards] (SCNuFAST32): Likewise.
4870 [C99-based-standards] (SCNxFAST32): Likewise.
4871 [C99-based-standards] (PRId64): Likewise.
4872 [C99-based-standards] (PRIi64): Likewise.
4873 [C99-based-standards] (PRIo64): Likewise.
4874 [C99-based-standards] (PRIu64): Likewise.
4875 [C99-based-standards] (PRIx64): Likewise.
4876 [C99-based-standards] (PRIX64): Likewise.
4877 [C99-based-standards] (SCNd64): Likewise.
4878 [C99-based-standards] (SCNi64): Likewise.
4879 [C99-based-standards] (SCNo64): Likewise.
4880 [C99-based-standards] (SCNu64): Likewise.
4881 [C99-based-standards] (SCNx64): Likewise.
4882 [C99-based-standards] (PRIdLEAST64): Likewise.
4883 [C99-based-standards] (PRIiLEAST64): Likewise.
4884 [C99-based-standards] (PRIoLEAST64): Likewise.
4885 [C99-based-standards] (PRIuLEAST64): Likewise.
4886 [C99-based-standards] (PRIxLEAST64): Likewise.
4887 [C99-based-standards] (PRIXLEAST64): Likewise.
4888 [C99-based-standards] (SCNdLEAST64): Likewise.
4889 [C99-based-standards] (SCNiLEAST64): Likewise.
4890 [C99-based-standards] (SCNoLEAST64): Likewise.
4891 [C99-based-standards] (SCNuLEAST64): Likewise.
4892 [C99-based-standards] (SCNxLEAST64): Likewise.
4893 [C99-based-standards] (PRIdFAST64): Likewise.
4894 [C99-based-standards] (PRIiFAST64): Likewise.
4895 [C99-based-standards] (PRIoFAST64): Likewise.
4896 [C99-based-standards] (PRIuFAST64): Likewise.
4897 [C99-based-standards] (PRIxFAST64): Likewise.
4898 [C99-based-standards] (PRIXFAST64): Likewise.
4899 [C99-based-standards] (SCNdFAST64): Likewise.
4900 [C99-based-standards] (SCNiFAST64): Likewise.
4901 [C99-based-standards] (SCNoFAST64): Likewise.
4902 [C99-based-standards] (SCNuFAST64): Likewise.
4903 [C99-based-standards] (SCNxFAST64): Likewise.
4904 [C99-based-standards] (PRIdMAX): Likewise.
4905 [C99-based-standards] (PRIiMAX): Likewise.
4906 [C99-based-standards] (PRIoMAX): Likewise.
4907 [C99-based-standards] (PRIuMAX): Likewise.
4908 [C99-based-standards] (PRIxMAX): Likewise.
4909 [C99-based-standards] (PRIXMAX): Likewise.
4910 [C99-based-standards] (SCNdMAX): Likewise.
4911 [C99-based-standards] (SCNiMAX): Likewise.
4912 [C99-based-standards] (SCNoMAX): Likewise.
4913 [C99-based-standards] (SCNuMAX): Likewise.
4914 [C99-based-standards] (SCNxMAX): Likewise.
4915 [C99-based-standards] (PRIdPTR): Likewise.
4916 [C99-based-standards] (PRIiPTR): Likewise.
4917 [C99-based-standards] (PRIoPTR): Likewise.
4918 [C99-based-standards] (PRIuPTR): Likewise.
4919 [C99-based-standards] (PRIxPTR): Likewise.
4920 [C99-based-standards] (PRIXPTR): Likewise.
4921 [C99-based-standards] (SCNdPTR): Likewise.
4922 [C99-based-standards] (SCNiPTR): Likewise.
4923 [C99-based-standards] (SCNoPTR): Likewise.
4924 [C99-based-standards] (SCNuPTR): Likewise.
4925 [C99-based-standards] (SCNxPTR): Likewise.
4926 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4928 * conform/data/stdint.h-data: Update comments to clarify
4930 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4932 [C99-based standards] (INT8_MAX): Likewise.
4933 [C99-based standards] (INT16_MIN): Likewise.
4934 [C99-based standards] (INT16_MAX): Likewise.
4935 [C99-based standards] (INT32_MIN): Likewise.
4936 [C99-based standards] (INT32_MAX): Likewise.
4937 [C99-based standards] (INT64_MIN): Likewise.
4938 [C99-based standards] (INT64_MAX): Likewise.
4939 [C99-based standards] (UINT8_MAX): Likewise.
4940 [C99-based standards] (UINT16_MAX): Likewise.
4941 [C99-based standards] (UINT32_MAX): Likewise.
4942 [C99-based standards] (UINT64_MAX): Likewise.
4943 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4944 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4945 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4946 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4947 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4948 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4949 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4950 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4951 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4952 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4953 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4954 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4955 [C99-based standards] (INT_FAST8_MIN): Likewise.
4956 [C99-based standards] (INT_FAST8_MAX): Likewise.
4957 [C99-based standards] (INT_FAST16_MIN): Likewise.
4958 [C99-based standards] (INT_FAST16_MAX): Likewise.
4959 [C99-based standards] (INT_FAST32_MIN): Likewise.
4960 [C99-based standards] (INT_FAST32_MAX): Likewise.
4961 [C99-based standards] (INT_FAST64_MIN): Likewise.
4962 [C99-based standards] (INT_FAST64_MAX): Likewise.
4963 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4964 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4965 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4966 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4967 [C99-based standards] (INTPTR_MIN): Likewise.
4968 [C99-based standards] (INTPTR_MAX): Likewise.
4969 [C99-based standards] (UINTPTR_MAX): Likewise.
4970 [C99-based standards] (INTMAX_MIN): Likewise.
4971 [C99-based standards] (INTMAX_MAX): Likewise.
4972 [C99-based standards] (UINTMAX_MAX): Likewise.
4973 [C99-based standards] (PTRDIFF_MIN): Likewise.
4974 [C99-based standards] (PTRDIFF_MAX): Likewise.
4975 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4976 [C99-based standards] (SIZE_MAX): Likewise.
4977 [C99-based standards] (WCHAR_MAX): Likewise.
4978 [C99-based standards] (WINT_MAX): Likewise.
4979 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4980 constraint on value.
4981 [C99-based standards] (WCHAR_MIN): Likewise.
4982 [C99-based standards] (WINT_MIN): Likewise.
4983 [C99-based standards] (*_t): Allow.
4984 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4985 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4986 Include math.h-data and complex.h-data. Remove all expectations
4987 of math.h and complex.h contents.
4988 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4990 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4991 (struct tm): Expect tag.
4992 [C99-based-standards] (wcstof): Expect function.
4993 [C99-based-standards] (wcstold): Likewise.
4994 [C99-based-standards] (wcstoll): Likewise.
4995 [C99-based-standards] (wcstoull): Likewise.
4996 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4997 macro-int-constant. Specify type.
4998 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4999 constraint on value.
5000 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5002 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5004 [ISO C standards]: Do not allow headers.
5005 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5006 wcs[abcdefghijklmnopqrstuvwxyz]*.
5007 [ISO C standards] (*_t): Do not allow.
5008 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5010 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5011 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5013 [ISO C standards]: Do not allow headers.
5014 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5015 is[abcdefghijklmnopqrstuvwxyz]*.
5016 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5017 to[abcdefghijklmnopqrstuvwxyz]*.
5018 [ISO C standards] (*_t): Do not allow.
5019 * conform/data/stdalign.h-data: New file.
5020 * conform/data/stdbool.h-data: Likewise.
5021 * conform/data/stdnoreturn.h-data: Likewise.
5023 2012-11-07 Roland McGrath <roland@hack.frob.com>
5026 * manual/filesys.texi (Directory Entries): Typo fix.
5027 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5029 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5031 * elf/elf.h (EM_AARCH64): New macro.
5032 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5033 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5034 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5035 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5036 (R_AARCH64_TLSDESC): Likewise.
5037 (NT_ARM_TLS): Likewise.
5038 (NT_ARM_HW_BREAK): Likewise.
5039 (NT_ARM_HW_WATCH): Likewise.
5041 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5044 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5045 (__ieee754_powl): Saturate nonzero exponents with absolute value
5046 below 0x1p-79 to +/- 0x1p-79.
5047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5048 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5049 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5050 nonzero exponents with absolute value below 0x1p-32 to +/-
5052 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5053 (__ieee754_powl): Saturate nonzero exponents with absolute value
5054 below 0x1p-79 to +/- 0x1p-79.
5055 * math/libm-test.inc (pow_test): Add more tests.
5057 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5059 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5060 _dl_s390_cap_flags with kernel. Increase string length.
5061 (_dl_s390_platforms): Add z196 and zEC12.
5063 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5065 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5066 Change XOPEN21K to XOPEN2K.
5068 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5070 * string/memmove.c: Use memcpy when possible.
5072 2012-11-06 Andreas Jaeger <aj@suse.de>
5074 * po/eo.po: Update from translation team.
5076 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5080 exponent and small x and y exponents, scale x or y up. Increase
5081 by 2 the exponent used in scaling up.
5082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5084 * math/libm-test.inc (fma_test): Add more tests.
5085 (fma_test_towardzero): Likewise.
5086 (fma_test_downward): Likewise.
5087 (fma_test_upward): Likewise.
5089 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5092 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5096 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5097 namespace for names of struct fields.
5098 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5100 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5101 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5103 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5106 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5108 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5110 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5114 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5117 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5121 definitely overflow as x * y not x * y + z.
5122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5124 * math/libm-test.inc (fma_test): Add more tests.
5125 (fma_test_towardzero): Likewise.
5126 (fma_test_downward): Likewise.
5127 (fma_test_upward): Likewise.
5129 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5133 * include/stub-tag.h: Remove file.
5134 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5136 * manual/maint.texi (Porting): Don't reference it.
5137 * Makerules ($(objpfx)stubs): Likewise.
5138 * dirent/closedir.c: Don't include <stub-tag.h>.
5139 * dirent/dirfd.c: Likewise.
5140 * dirent/fdopendir.c: Likewise.
5141 * dirent/getdents.c: Likewise.
5142 * dirent/getdents64.c: Likewise.
5143 * dirent/opendir.c: Likewise.
5144 * dirent/readdir.c: Likewise.
5145 * dirent/readdir64.c: Likewise.
5146 * dirent/readdir64_r.c: Likewise.
5147 * dirent/readdir_r.c: Likewise.
5148 * dirent/rewinddir.c: Likewise.
5149 * dirent/seekdir.c: Likewise.
5150 * dirent/telldir.c: Likewise.
5151 * gmon/profil.c: Likewise.
5152 * grp/setgroups.c: Likewise.
5153 * inet/if_index.c: Likewise.
5154 * io/access.c: Likewise.
5155 * io/chdir.c: Likewise.
5156 * io/chmod.c: Likewise.
5157 * io/chown.c: Likewise.
5158 * io/close.c: Likewise.
5159 * io/dup.c: Likewise.
5160 * io/dup2.c: Likewise.
5161 * io/dup3.c: Likewise.
5162 * io/euidaccess.c: Likewise.
5163 * io/faccessat.c: Likewise.
5164 * io/fchdir.c: Likewise.
5165 * io/fchmod.c: Likewise.
5166 * io/fchmodat.c: Likewise.
5167 * io/fchown.c: Likewise.
5168 * io/fchownat.c: Likewise.
5169 * io/fcntl.c: Likewise.
5170 * io/flock.c: Likewise.
5171 * io/fstatfs.c: Likewise.
5172 * io/fstatfs64.c: Likewise.
5173 * io/fstatvfs.c: Likewise.
5174 * io/fstatvfs64.c: Likewise.
5175 * io/futimens.c: Likewise.
5176 * io/fxstat.c: Likewise.
5177 * io/fxstat64.c: Likewise.
5178 * io/fxstatat.c: Likewise.
5179 * io/fxstatat64.c: Likewise.
5180 * io/getcwd.c: Likewise.
5181 * io/isatty.c: Likewise.
5182 * io/lchmod.c: Likewise.
5183 * io/lchown.c: Likewise.
5184 * io/link.c: Likewise.
5185 * io/linkat.c: Likewise.
5186 * io/lseek.c: Likewise.
5187 * io/lseek64.c: Likewise.
5188 * io/lxstat64.c: Likewise.
5189 * io/mkdir.c: Likewise.
5190 * io/mkdirat.c: Likewise.
5191 * io/mkfifo.c: Likewise.
5192 * io/mkfifoat.c: Likewise.
5193 * io/open.c: Likewise.
5194 * io/open64.c: Likewise.
5195 * io/openat.c: Likewise.
5196 * io/openat64.c: Likewise.
5197 * io/pipe.c: Likewise.
5198 * io/pipe2.c: Likewise.
5199 * io/poll.c: Likewise.
5200 * io/posix_fadvise.c: Likewise.
5201 * io/posix_fadvise64.c: Likewise.
5202 * io/posix_fallocate.c: Likewise.
5203 * io/posix_fallocate64.c: Likewise.
5204 * io/read.c: Likewise.
5205 * io/readlink.c: Likewise.
5206 * io/readlinkat.c: Likewise.
5207 * io/rmdir.c: Likewise.
5208 * io/sendfile.c: Likewise.
5209 * io/sendfile64.c: Likewise.
5210 * io/statfs.c: Likewise.
5211 * io/statfs64.c: Likewise.
5212 * io/statvfs.c: Likewise.
5213 * io/statvfs64.c: Likewise.
5214 * io/symlink.c: Likewise.
5215 * io/symlinkat.c: Likewise.
5216 * io/ttyname.c: Likewise.
5217 * io/ttyname_r.c: Likewise.
5218 * io/umask.c: Likewise.
5219 * io/unlink.c: Likewise.
5220 * io/unlinkat.c: Likewise.
5221 * io/utime.c: Likewise.
5222 * io/utimensat.c: Likewise.
5223 * io/write.c: Likewise.
5224 * io/xmknod.c: Likewise.
5225 * io/xmknodat.c: Likewise.
5226 * io/xstat.c: Likewise.
5227 * io/xstat64.c: Likewise.
5228 * login/getpt.c: Likewise.
5229 * login/grantpt.c: Likewise.
5230 * login/unlockpt.c: Likewise.
5231 * math/e_acoshl.c: Likewise.
5232 * math/e_acosl.c: Likewise.
5233 * math/e_asinl.c: Likewise.
5234 * math/e_atan2l.c: Likewise.
5235 * math/e_atanhl.c: Likewise.
5236 * math/e_coshl.c: Likewise.
5237 * math/e_expl.c: Likewise.
5238 * math/e_fmodl.c: Likewise.
5239 * math/e_gammal_r.c: Likewise.
5240 * math/e_hypotl.c: Likewise.
5241 * math/e_j0l.c: Likewise.
5242 * math/e_j1l.c: Likewise.
5243 * math/e_jnl.c: Likewise.
5244 * math/e_lgammal_r.c: Likewise.
5245 * math/e_log10l.c: Likewise.
5246 * math/e_log2l.c: Likewise.
5247 * math/e_logl.c: Likewise.
5248 * math/e_powl.c: Likewise.
5249 * math/e_rem_pio2l.c: Likewise.
5250 * math/e_sinhl.c: Likewise.
5251 * math/e_sqrtl.c: Likewise.
5252 * math/fclrexcpt.c: Likewise.
5253 * math/fedisblxcpt.c: Likewise.
5254 * math/feenablxcpt.c: Likewise.
5255 * math/fegetenv.c: Likewise.
5256 * math/fegetexcept.c: Likewise.
5257 * math/fegetround.c: Likewise.
5258 * math/feholdexcpt.c: Likewise.
5259 * math/fesetenv.c: Likewise.
5260 * math/fesetround.c: Likewise.
5261 * math/feupdateenv.c: Likewise.
5262 * math/fgetexcptflg.c: Likewise.
5263 * math/fraiseexcpt.c: Likewise.
5264 * math/fsetexcptflg.c: Likewise.
5265 * math/ftestexcept.c: Likewise.
5266 * math/k_cosl.c: Likewise.
5267 * math/k_rem_pio2l.c: Likewise.
5268 * math/k_sinl.c: Likewise.
5269 * math/k_tanl.c: Likewise.
5270 * math/s_asinhl.c: Likewise.
5271 * math/s_atanl.c: Likewise.
5272 * math/s_cbrtl.c: Likewise.
5273 * math/s_erfl.c: Likewise.
5274 * math/s_expm1l.c: Likewise.
5275 * math/s_log1pl.c: Likewise.
5276 * math/s_tanhl.c: Likewise.
5277 * misc/acct.c: Likewise.
5278 * misc/brk.c: Likewise.
5279 * misc/chflags.c: Likewise.
5280 * misc/chroot.c: Likewise.
5281 * misc/fchflags.c: Likewise.
5282 * misc/fgetxattr.c: Likewise.
5283 * misc/flistxattr.c: Likewise.
5284 * misc/fremovexattr.c: Likewise.
5285 * misc/fsetxattr.c: Likewise.
5286 * misc/fsync.c: Likewise.
5287 * misc/ftruncate.c: Likewise.
5288 * misc/futimes.c: Likewise.
5289 * misc/futimesat.c: Likewise.
5290 * misc/getdomain.c: Likewise.
5291 * misc/getdtsz.c: Likewise.
5292 * misc/gethostid.c: Likewise.
5293 * misc/gethostname.c: Likewise.
5294 * misc/getloadavg.c: Likewise.
5295 * misc/getpagesize.c: Likewise.
5296 * misc/getsysstats.c: Likewise.
5297 * misc/getxattr.c: Likewise.
5298 * misc/gtty.c: Likewise.
5299 * misc/ioctl.c: Likewise.
5300 * misc/lgetxattr.c: Likewise.
5301 * misc/listxattr.c: Likewise.
5302 * misc/llistxattr.c: Likewise.
5303 * misc/lremovexattr.c: Likewise.
5304 * misc/lsetxattr.c: Likewise.
5305 * misc/lutimes.c: Likewise.
5306 * misc/madvise.c: Likewise.
5307 * misc/mincore.c: Likewise.
5308 * misc/mlock.c: Likewise.
5309 * misc/mlockall.c: Likewise.
5310 * misc/mmap.c: Likewise.
5311 * misc/mprotect.c: Likewise.
5312 * misc/msync.c: Likewise.
5313 * misc/munlock.c: Likewise.
5314 * misc/munlockall.c: Likewise.
5315 * misc/munmap.c: Likewise.
5316 * misc/preadv.c: Likewise.
5317 * misc/preadv64.c: Likewise.
5318 * misc/ptrace.c: Likewise.
5319 * misc/pwritev.c: Likewise.
5320 * misc/pwritev64.c: Likewise.
5321 * misc/readv.c: Likewise.
5322 * misc/reboot.c: Likewise.
5323 * misc/remap_file_pages.c: Likewise.
5324 * misc/removexattr.c: Likewise.
5325 * misc/revoke.c: Likewise.
5326 * misc/select.c: Likewise.
5327 * misc/setdomain.c: Likewise.
5328 * misc/setegid.c: Likewise.
5329 * misc/seteuid.c: Likewise.
5330 * misc/sethostid.c: Likewise.
5331 * misc/sethostname.c: Likewise.
5332 * misc/setregid.c: Likewise.
5333 * misc/setreuid.c: Likewise.
5334 * misc/setxattr.c: Likewise.
5335 * misc/sstk.c: Likewise.
5336 * misc/stty.c: Likewise.
5337 * misc/swapoff.c: Likewise.
5338 * misc/swapon.c: Likewise.
5339 * misc/sync.c: Likewise.
5340 * misc/syncfs.c: Likewise.
5341 * misc/syscall.c: Likewise.
5342 * misc/truncate.c: Likewise.
5343 * misc/ualarm.c: Likewise.
5344 * misc/usleep.c: Likewise.
5345 * misc/ustat.c: Likewise.
5346 * misc/utimes.c: Likewise.
5347 * misc/vhangup.c: Likewise.
5348 * misc/writev.c: Likewise.
5349 * posix/_exit.c: Likewise.
5350 * posix/alarm.c: Likewise.
5351 * posix/execve.c: Likewise.
5352 * posix/fexecve.c: Likewise.
5353 * posix/fork.c: Likewise.
5354 * posix/fpathconf.c: Likewise.
5355 * posix/getaddrinfo.c: Likewise.
5356 * posix/getegid.c: Likewise.
5357 * posix/geteuid.c: Likewise.
5358 * posix/getgid.c: Likewise.
5359 * posix/getgroups.c: Likewise.
5360 * posix/getlogin.c: Likewise.
5361 * posix/getlogin_r.c: Likewise.
5362 * posix/getpgid.c: Likewise.
5363 * posix/getpid.c: Likewise.
5364 * posix/getppid.c: Likewise.
5365 * posix/getresgid.c: Likewise.
5366 * posix/getresuid.c: Likewise.
5367 * posix/getsid.c: Likewise.
5368 * posix/getuid.c: Likewise.
5369 * posix/glob64.c: Likewise.
5370 * posix/nanosleep.c: Likewise.
5371 * posix/pathconf.c: Likewise.
5372 * posix/pause.c: Likewise.
5373 * posix/posix_madvise.c: Likewise.
5374 * posix/pread.c: Likewise.
5375 * posix/pread64.c: Likewise.
5376 * posix/pwrite.c: Likewise.
5377 * posix/pwrite64.c: Likewise.
5378 * posix/sched_getaffinity.c: Likewise.
5379 * posix/sched_getp.c: Likewise.
5380 * posix/sched_gets.c: Likewise.
5381 * posix/sched_primax.c: Likewise.
5382 * posix/sched_primin.c: Likewise.
5383 * posix/sched_rr_gi.c: Likewise.
5384 * posix/sched_setaffinity.c: Likewise.
5385 * posix/sched_setp.c: Likewise.
5386 * posix/sched_sets.c: Likewise.
5387 * posix/sched_yield.c: Likewise.
5388 * posix/setgid.c: Likewise.
5389 * posix/setlogin.c: Likewise.
5390 * posix/setpgid.c: Likewise.
5391 * posix/setresgid.c: Likewise.
5392 * posix/setresuid.c: Likewise.
5393 * posix/setsid.c: Likewise.
5394 * posix/setuid.c: Likewise.
5395 * posix/sleep.c: Likewise.
5396 * posix/spawni.c: Likewise.
5397 * posix/sysconf.c: Likewise.
5398 * posix/times.c: Likewise.
5399 * posix/wait.c: Likewise.
5400 * posix/wait3.c: Likewise.
5401 * posix/wait4.c: Likewise.
5402 * posix/waitpid.c: Likewise.
5403 * resolv/gai_sigqueue.c: Likewise.
5404 * resource/getpriority.c: Likewise.
5405 * resource/getrlimit.c: Likewise.
5406 * resource/getrusage.c: Likewise.
5407 * resource/nice.c: Likewise.
5408 * resource/setpriority.c: Likewise.
5409 * resource/setrlimit.c: Likewise.
5410 * resource/ulimit.c: Likewise.
5411 * rt/aio_cancel.c: Likewise.
5412 * rt/aio_fsync.c: Likewise.
5413 * rt/aio_read.c: Likewise.
5414 * rt/aio_sigqueue.c: Likewise.
5415 * rt/aio_suspend.c: Likewise.
5416 * rt/aio_write.c: Likewise.
5417 * rt/clock_getres.c: Likewise.
5418 * rt/clock_gettime.c: Likewise.
5419 * rt/clock_nanosleep.c: Likewise.
5420 * rt/clock_settime.c: Likewise.
5421 * rt/lio_listio.c: Likewise.
5422 * rt/mq_close.c: Likewise.
5423 * rt/mq_getattr.c: Likewise.
5424 * rt/mq_notify.c: Likewise.
5425 * rt/mq_open.c: Likewise.
5426 * rt/mq_receive.c: Likewise.
5427 * rt/mq_send.c: Likewise.
5428 * rt/mq_setattr.c: Likewise.
5429 * rt/mq_timedreceive.c: Likewise.
5430 * rt/mq_timedsend.c: Likewise.
5431 * rt/mq_unlink.c: Likewise.
5432 * rt/shm_open.c: Likewise.
5433 * rt/shm_unlink.c: Likewise.
5434 * rt/timer_create.c: Likewise.
5435 * rt/timer_delete.c: Likewise.
5436 * rt/timer_getoverr.c: Likewise.
5437 * rt/timer_gettime.c: Likewise.
5438 * rt/timer_settime.c: Likewise.
5439 * setjmp/__longjmp.c: Likewise.
5440 * setjmp/setjmp.c: Likewise.
5441 * signal/kill.c: Likewise.
5442 * signal/killpg.c: Likewise.
5443 * signal/raise.c: Likewise.
5444 * signal/sigaction.c: Likewise.
5445 * signal/sigaltstack.c: Likewise.
5446 * signal/sigblock.c: Likewise.
5447 * signal/sigignore.c: Likewise.
5448 * signal/sigintr.c: Likewise.
5449 * signal/signal.c: Likewise.
5450 * signal/sigpause.c: Likewise.
5451 * signal/sigpending.c: Likewise.
5452 * signal/sigqueue.c: Likewise.
5453 * signal/sigreturn.c: Likewise.
5454 * signal/sigset.c: Likewise.
5455 * signal/sigsetmask.c: Likewise.
5456 * signal/sigstack.c: Likewise.
5457 * signal/sigsuspend.c: Likewise.
5458 * signal/sigtimedwait.c: Likewise.
5459 * signal/sigvec.c: Likewise.
5460 * signal/sigwait.c: Likewise.
5461 * signal/sigwaitinfo.c: Likewise.
5462 * signal/sysv_signal.c: Likewise.
5463 * socket/accept.c: Likewise.
5464 * socket/accept4.c: Likewise.
5465 * socket/bind.c: Likewise.
5466 * socket/connect.c: Likewise.
5467 * socket/getpeername.c: Likewise.
5468 * socket/getsockname.c: Likewise.
5469 * socket/getsockopt.c: Likewise.
5470 * socket/isfdtype.c: Likewise.
5471 * socket/listen.c: Likewise.
5472 * socket/recv.c: Likewise.
5473 * socket/recvfrom.c: Likewise.
5474 * socket/recvmsg.c: Likewise.
5475 * socket/send.c: Likewise.
5476 * socket/sendmsg.c: Likewise.
5477 * socket/sendto.c: Likewise.
5478 * socket/setsockopt.c: Likewise.
5479 * socket/shutdown.c: Likewise.
5480 * socket/sockatmark.c: Likewise.
5481 * socket/socket.c: Likewise.
5482 * socket/socketpair.c: Likewise.
5483 * stdio-common/ctermid.c: Likewise.
5484 * stdio-common/cuserid.c: Likewise.
5485 * stdio-common/remove.c: Likewise.
5486 * stdio-common/rename.c: Likewise.
5487 * stdio-common/renameat.c: Likewise.
5488 * stdio-common/tempname.c: Likewise.
5489 * stdlib/getcontext.c: Likewise.
5490 * stdlib/makecontext.c: Likewise.
5491 * stdlib/setcontext.c: Likewise.
5492 * stdlib/swapcontext.c: Likewise.
5493 * stdlib/system.c: Likewise.
5494 * streams/fattach.c: Likewise.
5495 * streams/fdetach.c: Likewise.
5496 * streams/getmsg.c: Likewise.
5497 * streams/getpmsg.c: Likewise.
5498 * streams/putmsg.c: Likewise.
5499 * streams/putpmsg.c: Likewise.
5500 * sysdeps/unix/bsd/getpt.c: Likewise.
5501 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5502 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5503 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5506 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5507 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5508 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5509 * sysvipc/msgctl.c: Likewise.
5510 * sysvipc/msgget.c: Likewise.
5511 * sysvipc/msgrcv.c: Likewise.
5512 * sysvipc/msgsnd.c: Likewise.
5513 * sysvipc/semctl.c: Likewise.
5514 * sysvipc/semget.c: Likewise.
5515 * sysvipc/semop.c: Likewise.
5516 * sysvipc/semtimedop.c: Likewise.
5517 * sysvipc/shmat.c: Likewise.
5518 * sysvipc/shmctl.c: Likewise.
5519 * sysvipc/shmdt.c: Likewise.
5520 * sysvipc/shmget.c: Likewise.
5521 * termios/tcdrain.c: Likewise.
5522 * termios/tcflow.c: Likewise.
5523 * termios/tcflush.c: Likewise.
5524 * termios/tcgetattr.c: Likewise.
5525 * termios/tcgetpgrp.c: Likewise.
5526 * termios/tcsendbrk.c: Likewise.
5527 * termios/tcsetattr.c: Likewise.
5528 * termios/tcsetpgrp.c: Likewise.
5529 * time/adjtime.c: Likewise.
5530 * time/clock.c: Likewise.
5531 * time/getitimer.c: Likewise.
5532 * time/gettimeofday.c: Likewise.
5533 * time/setitimer.c: Likewise.
5534 * time/settimeofday.c: Likewise.
5535 * time/stime.c: Likewise.
5536 * time/time.c: Likewise.
5538 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5540 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5543 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5545 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5547 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5551 FE_TONEAREST before applying Dekker multiplication and Knuth
5552 addition. Clear inexact exceptions and check for exact zero
5554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5555 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5557 * math/libm-test.inc (fma_test): Add more tests.
5558 (fma_test_towardzero): Likewise.
5559 (fma_test_downward): Likewise.
5560 (fma_test_upward): Likewise.
5561 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5563 (libc_fesetround): New macro.
5564 (libc_fesetroundf): Likewise.
5565 (libc_fesetroundl): Likewise.
5566 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5568 (libc_fesetround_387): Likewise.
5569 (libc_fesetroundf): New macro.
5570 (libc_fesetround): Likewise.
5571 (libc_fesetroundl): Likewise.
5572 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5574 (libc_fesetroundf): New macro.
5575 (libc_fesetround): Likewise.
5576 (libc_fesetroundl): Likewise.
5577 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5578 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5579 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5581 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5582 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5584 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5585 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5587 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5591 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5592 integer constant usable in #if and use that to give value to enum
5594 (FE_DIVBYZERO): Likewise.
5595 (FE_UNDERFLOW): Likewise.
5596 (FE_OVERFLOW): Likewise.
5597 (FE_INVALID): Likewise.
5598 (FE_INVALID_SNAN): Likewise.
5599 (FE_INVALID_ISI): Likewise.
5600 (FE_INVALID_IDI): Likewise.
5601 (FE_INVALID_ZDZ): Likewise.
5602 (FE_INVALID_IMZ): Likewise.
5603 (FE_INVALID_COMPARE): Likewise.
5604 (FE_INVALID_SOFTWARE): Likewise.
5605 (FE_INVALID_SQRT): Likewise.
5606 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5607 (FE_TONEAREST): Likewise.
5608 (FE_TOWARDZERO): Likewise.
5609 (FE_UPWARD): Likewise.
5610 (FE_DOWNWARD): Likewise.
5611 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5612 (FE_DIVBYZERO): Likewise.
5613 (FE_OVERFLOW): Likewise.
5614 (FE_UNDERFLOW): Likewise.
5615 (FE_INEXACT): Likewise.
5616 (FE_TONEAREST): Likewise.
5617 (FE_DOWNWARD): Likewise.
5618 (FE_UPWARD): Likewise.
5619 (FE_TOWARDZERO): Likewise.
5620 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5621 (FE_UNDERFLOW): Likewise.
5622 (FE_OVERFLOW): Likewise.
5623 (FE_DIVBYZERO): Likewise.
5624 (FE_INVALID): Likewise.
5625 (FE_TONEAREST): Likewise.
5626 (FE_TOWARDZERO): Likewise.
5627 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5628 (FE_OVERFLOW): Likewise.
5629 (FE_UNDERFLOW): Likewise.
5630 (FE_DIVBYZERO): Likewise.
5631 (FE_INEXACT): Likewise.
5632 (FE_TONEAREST): Likewise.
5633 (FE_TOWARDZERO): Likewise.
5634 (FE_UPWARD): Likewise.
5635 (FE_DOWNWARD): Likewise.
5636 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5637 (FE_DIVBYZERO): Likewise.
5638 (FE_OVERFLOW): Likewise.
5639 (FE_UNDERFLOW): Likewise.
5640 (FE_INEXACT): Likewise.
5641 (FE_TONEAREST): Likewise.
5642 (FE_DOWNWARD): Likewise.
5643 (FE_UPWARD): Likewise.
5644 (FE_TOWARDZERO): Likewise.
5646 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5648 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5650 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5652 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5653 commands. Quote $PWD.
5654 (blacklist_exports): Don't use remove_newlines. Replace "declare
5656 (remove_newlines): Remove.
5658 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5660 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5661 * stdlib/stdlib.h (atof): Moved to ...
5662 * include/bits/stdlib-float.h: Here. New file.
5663 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5664 * stdlib/bits/stdlib-float.h: New file.
5665 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5670 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5672 * conform/conformtest.pl (@headers): Add fenv.h.
5673 * conform/data/fenv.h-data: New file.
5674 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5675 include of <math/fenv.h>.
5677 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5678 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5679 && !UNIX98]. Enables tests for XOPEN2K8.
5680 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5681 POSIX2008]: Likewise.
5683 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5684 (struct rusage): Do not expect type or its members.
5687 * math/math.h (FP_NAN): Define macro to integer constant usable in
5688 #if and use that to give value to enum constant.
5689 (FP_INFINITE): Likewise.
5690 (FP_ZERO): Likewise.
5691 (FP_SUBNORMAL): Likewise.
5692 (FP_NORMAL): Likewise.
5694 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5696 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5697 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5700 2012-11-02 Roland McGrath <roland@hack.frob.com>
5702 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5703 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5704 autoconf-time if not.
5705 * configure.in: Remove AC_PREREQ.
5707 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5709 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5710 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5711 of the internal implementation.
5713 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5715 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5716 except include of <misc/sys/syslog.h>.
5718 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5721 function returns with a NULL context exit with zero.
5723 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5725 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5727 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5729 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5730 (run_program_cmd): This.
5731 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5732 (tst_langinfo): New variable. Use it.
5734 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5736 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5737 floating point opcodes.
5739 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5741 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5744 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5746 * sysdeps/mach/hurd/powerpc: Remove directory.
5747 * sysdeps/mach/powerpc: Likewise.
5749 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5751 * scripts/check-local-headers.sh: Ignore c++ headers.
5753 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5755 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5756 __libc_cleanup_region_start argument.
5758 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5763 x * y using scaling, not as x * y + z.
5764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5766 * math/libm-test.inc (fma_test): Add more tests.
5767 (fma_test_towardzero): Likewise.
5768 (fma_test_downward): Likewise.
5769 (fma_test_upward): Likewise.
5771 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5773 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5775 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5777 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5780 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5782 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5784 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5791 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5794 Fix the order of the list for glibc 2.17.
5795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5798 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5802 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5805 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5806 for low part of x being zero before using __atanl (y).
5807 * math/libm-test.inc (atan2_test): Add another test.
5809 * manual/install.texi (Configuring and compiling): Document
5810 general use of test-wrapper and test-wrapper-env.
5811 * INSTALL: Regenerated.
5813 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5814 (__fma): Do not extract and scale down low bits on after-rounding
5815 systems when result rounded to normal precision would have normal
5817 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5818 (__fmal): Do not extract and scale down low bits on after-rounding
5819 systems when result rounded to normal precision would have normal
5821 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5822 (__fmal): Do not extract and scale down low bits on after-rounding
5823 systems when result rounded to normal precision would have normal
5825 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5827 (fma_test): Add more tests.
5828 (fma_test_towardzero): Likewise.
5829 (fma_test_downward): Likewise.
5830 (fma_test_upward): Likewise.
5832 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5834 * sysdeps/i386/tininess.h: Renamed to ...
5835 * sysdeps/x86/tininess.h: This.
5836 * sysdeps/x86_64/tininess.h: Removed.
5838 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5840 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5841 input. Use $(build-program-cmd).
5842 ($(objpfx)tst-array1-static.out): Likewise.
5843 ($(objpfx)tst-array2.out): Likewise.
5844 ($(objpfx)tst-array3.out): Likewise.
5845 ($(objpfx)tst-array4.out): Likewise.
5846 ($(objpfx)tst-array5.out): Likewise.
5847 ($(objpfx)tst-array5-static.out): Likewise.
5849 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5851 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5854 * nss/nsswitch.h (nss_interface_function): Provide new
5855 macro for use with NSS functions.
5856 * grp/initgroups.c: Use new macro.
5857 * nss/getXXbyYY.c: Likewise.
5858 * nss/getXXbyYY_r.c: Likewise.
5859 * nss/getXXent.c: Likewise.
5860 * nss/getXXent_r.c: Likewise.
5861 * sysdeps/posix/getaddrinfo.c: Likewise.
5863 2012-10-30 Andreas Jaeger <aj@suse.de>
5865 * po/ru.po: Update Russion translation from translation project.
5867 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5872 result and shift together with sticky bit instead of replicating
5873 round-to-nearest rounding.
5874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5876 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5877 missing underflow exceptions.
5878 (fma_test_towardzero): Add more tests.
5879 (fma_test_downward): Likewise.
5880 (fma_test_upward): Likewise.
5883 * sysdeps/generic/tininess.h: New file.
5884 * sysdeps/i386/tininess.h: Likewise.
5885 * sysdeps/sh/tininess.h: Likewise.
5886 * sysdeps/x86_64/tininess.h: Likewise.
5887 * stdlib/tst-strtod-underflow.c: Likewise.
5888 * stdlib/tst-tininess.c: Likewise.
5889 * stdlib/strtod_l.c: Include <tininess.h>.
5890 (round_and_return): Do not set errno for exact underflow cases.
5891 Force an underflow exception when setting errno for underflow.
5892 Determine underflow based on rounding to normal precision if
5893 TININESS_AFTER_ROUNDING.
5894 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5895 ERANGE for exact underflow cases.
5896 * stdlib/Makefile (tests): Add tst-tininess and
5897 tst-strtod-underflow.
5898 ($(objpfx)tst-tininess): Use $(link-libm).
5899 ($(objpfx)tst-strtod-underflow): Likewise.
5901 2012-10-30 Andreas Jaeger <aj@suse.de>
5904 * elf/Makefile (tests): Remove conditional for have-initfini-array
5905 since this is now always required and the variable does not exist
5907 (tests-static): Likewise.
5908 (modules-names): Likewise.
5910 * po/eo.po: Add Esperanto translation from translation project.
5912 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5913 merged with constructor/destructor.
5914 (init_array): Likewise.
5915 * elf/tst-array2dep.c (fini_array): Likewise.
5916 (init_array): Likewise.
5918 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5920 * manual/message.texi: Delete @cartouche tags.
5922 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5924 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5926 * sysdeps/mach/hurd/fsync.c: Likewise.
5928 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5929 [_POSIX_REALTIME_SIGNALS]: Change condition to
5930 [_POSIX_REALTIME_SIGNALS > 0].
5932 2012-10-27 Andreas Jaeger <aj@suse.de>
5934 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5935 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5937 [__WORDSIZE != 64]: Likewise.
5939 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5941 * iconvdata/tst-table.sh: Remove ${SHELL}.
5942 * iconvdata/tst-tables.sh: Likewise.
5944 2012-10-25 David S. Miller <davem@davemloft.net>
5946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5947 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5950 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5952 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5953 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5954 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5957 2012-10-25 Roland McGrath <roland@hack.frob.com>
5959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5960 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5963 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5964 Jim Blandy <jimb@codesourcery.com>
5966 * scripts/cross-test-ssh.sh: New file.
5967 * manual/install.texi (Configuring and compiling): Document use of
5969 * INSTALL: Regenerated.
5971 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5973 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5976 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5978 * Makeconfig (run-program-prefix): Fix comment.
5980 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5981 Jim Blandy <jimb@codesourcery.com>
5983 * Makeconfig (test-wrapper): New variable,
5984 (test-wrapper-env): Likewise.
5985 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5986 (run-built-tests): Define to yes.
5987 (run-program-prefix): Use $(test-wrapper).
5988 (built-program-cmd): Likewise.
5989 * Rules (make-test-out): Use $(test-wrapper-env) and
5990 $(host-built-program-cmd).
5991 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5992 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5994 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5995 $(test-wrapper-env) to tst-rtld-load-self.sh.
5996 ($(objpfx)order2.out): Use $(test-wrapper).
5997 ($(objpfx)tst-initorder.out): Likewise.
5998 ($(objpfx)tst-initorder2.out): Likewise.
5999 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6000 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6001 (test_wrapper_env): New variable. Use it to run ld.so.
6002 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6003 Use it to run ld.so.
6004 (test_wrapper_env): Likewise.
6005 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6006 $(test-wrapper) to run-iconv-test.sh.
6007 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6008 (ICONV): Use $test_wrapper.
6009 * posix/Makefile ($(objpfx)globtest.out): Pass
6010 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6011 globtest.sh, not $(run-program-prefix).
6012 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6013 (test_wrapper): Likewise.
6014 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6015 set together with run_via_rtld_prefix.
6016 (run_program_prefix): Define in terms of test_wrapper and
6017 run_via_rtld_prefix.
6019 2012-10-24 Roland McGrath <roland@hack.frob.com>
6021 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6022 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6026 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6027 Declare __clock_getres, __clock_gettime, __clock_settime,
6028 __clock_nanosleep, and __clock_getcpuclockid.
6029 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6030 Remove librt_hidden_def (clock_gettime).
6031 * sysdeps/unix/clock_gettime.c: Likewise.
6032 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6033 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6034 * rt/clock_getres.c: Define __clock_getres as an alias.
6035 * sysdeps/posix/clock_getres.c: Likewise.
6036 * rt/clock_settime.c: Define __clock_settime as an alias.
6037 * sysdeps/unix/clock_settime.c: Likewise.
6038 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6039 * sysdeps/unix/clock_nanosleep.c: Likewise.
6040 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6041 * rt/clock-compat.c: New file.
6042 * rt/Makefile (librt-routines): Add clock-compat and move
6043 $(clock-routines) to ...
6044 (routines): ... here, new variable.
6045 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6046 Don't add get_clockfreq here.
6047 * rt/Versions (libc: GLIBC_2.17): New version set.
6048 Add clock_* symbols here.
6049 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6051 (GLIBC_2.17): Add clock_* symbols.
6052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6063 * NEWS: Mention the move.
6065 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6066 Use __open, __read, __close rather than their public counterparts.
6067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6068 (__get_clockfreq_via_cpuinfo): Likewise.
6069 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6070 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6072 * config.h.in (HAVE_IFUNC): New #undef.
6073 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6075 * configure: Regenerated.
6077 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6079 * configure.in: Move READELF check to start of file.
6080 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6081 libc_cv_asm_gnu_indirect_function in the process.
6082 * configure: Regenerated.
6084 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6086 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6087 send the output to /dev/null.
6088 (libc_cv_cc_with_libunwind): Likewise.
6089 (libc_cv_as_noexecstack): Likewise.
6090 * configure: Regenerate.
6092 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6094 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6096 * posix/globtest.sh (TMPDIR): Do not set.
6097 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6098 (testout): Likewise.
6100 2012-10-24 Andreas Jaeger <aj@suse.de>
6102 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6103 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6104 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6105 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6106 posix_fadvise64, posix_fallocate64.
6108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6109 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6110 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6112 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6114 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6117 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6118 <bits/fcntl-linux.h>.
6119 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6122 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6123 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6124 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6125 [__WORDSIZE != 64]: Likewise.
6127 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6129 * Makeconfig (run-built-tests): New variable.
6130 * Rules [$(cross-compiling) = yes]: Change condition to
6131 [$(run-built-tests) = no].
6132 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6133 to [$(run-built-tests) = yes].
6134 * elf/Makefile [$(cross-compiling) = no]: Likewise
6135 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6136 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6137 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6138 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6139 * io/Makefile [$(cross-compiling) = no]: Likewise.
6140 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6141 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6142 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6143 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6144 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6145 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6146 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6147 * string/Makefile [$(cross-compiling) = no]: Likewise.
6149 * posix/Makefile ($(objpfx)globtest.out): Pass
6150 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6151 $(rtld-installed-name).
6152 * posix/globtest.sh (elf_objpfx): Remove variable.
6153 (rtld_installed_name): Likewise.
6154 (library_path): Likewise.
6155 (run_program_prefix): New variable. Use for running globtest
6158 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6159 Joseph Myers <joseph@codesourcery.com>
6161 * Makeconfig (host-built-program-cmd): New variable.
6162 * elf/Makefile (tst-stackguard1-ARGS): Use
6163 $(host-built-program-cmd).
6164 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6165 (tst-spawn-ARGS): Likewise.
6166 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6168 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6169 Jim Blandy <jimb@codesourcery.com>
6171 * Makeconfig (run-via-rtld-prefix): New variable.
6172 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6173 (built-program-cmd): Likewise.
6175 2012-10-22 Andreas Jaeger <aj@suse.de>
6177 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6178 __O_RSYNC if it exists, otherwise to O_SYNC.
6180 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6181 Joseph Myers <joseph@codesourcery.com>
6183 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6185 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6187 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6190 2012-10-22 Andreas Jaeger <aj@suse.de>
6192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6194 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6200 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6207 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6208 Joseph Myers <joseph@codesourcery.com>
6210 * config.make.in (NM): New variable.
6212 2012-10-21 Andreas Jaeger <aj@suse.de>
6214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6215 definitions and declarations that are provided by
6216 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6218 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6221 * elf/Makefile (tests-static): Add tst-leaks1-static.
6222 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6223 ($(objpfx)tst-leaks1-static): New rule.
6224 ($(objpfx)tst-leaks1-static-mem): Likewise.
6225 (tst-leaks1-static-ENV): New macro.
6226 * elf/dl-open.c (dl_open_worker): Check the main application
6227 only if SHARED is defined.
6228 * elf/tst-leaks1-static.c: New file.
6230 2012-10-20 Andreas Jaeger <aj@suse.de>
6232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6233 generic values for Linux.
6234 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6235 and declarations that are provided by <bits/fcntl-linux.h> and
6236 include <bits/fcntl-linux.h>.
6237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6240 2012-10-20 Roland McGrath <roland@hack.frob.com>
6242 * io/fcntl.h: Move include of <bits/types.h> to the top and
6243 include it unconditionally.
6245 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6247 * wcsmbs/Makefile (tests-ifunc): New variable.
6248 (tests): Add $(tests-ifunc).
6249 * wcsmbs/test-wcschr-ifunc.c: New file.
6250 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6251 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6252 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6253 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6254 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6256 * string/Makefile (tests-ifunc): New variable.
6257 (tests): Add $(tests-ifunc).
6258 * string/test-memccpy.c (TEST_NAME): New macro.
6259 * string/test-memchr.c (TEST_NAME): Likewise.
6260 * string/test-memcmp.c (TEST_NAME): Likewise.
6261 * string/test-memcpy.c (TEST_NAME): Likewise.
6262 * string/test-memmem.c (TEST_NAME): Likewise.
6263 * string/test-memmove.c (TEST_NAME): Likewise.
6264 * string/test-memset.c (TEST_NAME): Likewise.
6265 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6266 * string/test-stpcpy.c (TEST_NAME): Likewise.
6267 * string/test-stpncpy.c (TEST_NAME): Likewise.
6268 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6269 * string/test-strcasestr.c (TEST_NAME): Likewise.
6270 * string/test-strcat.c (TEST_NAME): Likewise.
6271 * string/test-strchr.c (TEST_NAME): Likewise.
6272 * string/test-strcmp.c(TEST_NAME): Likewise.
6273 * string/test-strcpy.c (TEST_NAME): Likewise.
6274 * string/test-strcspn.c (TEST_NAME): Likewise.
6275 * string/test-strlen.c (TEST_NAME): Likewise.
6276 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6277 * string/test-strncmp.c (TEST_NAME): Likewise.
6278 * string/test-strncpy.c (TEST_NAME): Likewise.
6279 * string/test-strnlen.c (TEST_NAME): Likewise.
6280 * string/test-strpbrk.c (TEST_NAME): Likewise.
6281 * string/test-strrchr.c (TEST_NAME): Likewise.
6282 * string/test-strspn.c (TEST_NAME): Likewise.
6283 * string/test-strstr.c (TEST_NAME): Likewise.
6284 * string/test-bcopy-ifunc.c: New file.
6285 * string/test-bzero-ifunc.c: Likewise.
6286 * string/test-memccpy-ifunc.c: Likewise.
6287 * string/test-memchr-ifunc.c: Likewise.
6288 * string/test-memcmp-ifunc.c: Likewise.
6289 * string/test-memcpy-ifunc.c: Likewise.
6290 * string/test-memmem-ifunc.c: Likewise.
6291 * string/test-memmove-ifunc.c: Likewise.
6292 * string/test-mempcpy-ifunc.c: Likewise.
6293 * string/test-memset-ifunc.c: Likewise.
6294 * string/test-rawmemchr-ifunc.c: Likewise.
6295 * string/test-stpcpy-ifunc.c: Likewise.
6296 * string/test-stpncpy-ifunc.c: Likewise.
6297 * string/test-strcasecmp-ifunc.c: Likewise.
6298 * string/test-strcasestr-ifunc.c: Likewise.
6299 * string/test-strcat-ifunc.c: Likewise.
6300 * string/test-strchr-ifunc.c: Likewise.
6301 * string/test-strchrnul-ifunc.c: Likewise.
6302 * string/test-strcmp-ifunc.c: Likewise.
6303 * string/test-strcpy-ifunc.c: Likewise.
6304 * string/test-strcspn-ifunc.c: Likewise.
6305 * string/test-strlen-ifunc.c: Likewise.
6306 * string/test-strncasecmp-ifunc.c: Likewise.
6307 * string/test-strncat-ifunc.c: Likewise.
6308 * string/test-strncmp-ifunc.c: Likewise.
6309 * string/test-strncpy-ifunc.c: Likewise.
6310 * string/test-strnlen-ifunc.c: Likewise.
6311 * string/test-strpbrk-ifunc.c: Likewise.
6312 * string/test-strrchr-ifunc.c: Likewise.
6313 * string/test-strspn-ifunc.c: Likewise.
6314 * string/test-strstr-ifunc.c: Likewise.
6316 * debug/Makefile (tests-ifunc): New variable.
6317 (tests): Add $(tests-ifunc).
6318 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6319 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6320 * debug/test-stpcpy_chk-ifunc.c: New file.
6321 * debug/test-strcpy_chk-ifunc.c: Likewise.
6323 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6326 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6327 header is not read in.
6329 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6331 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6332 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6333 directly. Pass built executable to script as
6334 $(built-program-cmd).
6335 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6336 $testprogram without using LD_LIBRARY_PATH and $ldso.
6338 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6339 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6340 $(rtld-installed-name).
6341 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6342 (rtld_installed_name): Likewise.
6343 (library_path): Likewise.
6344 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6345 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6346 $(run-program-prefix) to tst-tables.sh.
6347 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6348 it to run tst-table-from and tst-table-to.
6349 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6350 Pass it to tst-table.sh.
6351 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6352 $(run-program-prefix) to tst-gettext.sh.
6353 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6355 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6357 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6359 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6360 to run tst-gettext2.
6361 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6362 to run tst-translit.
6363 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6364 $(run-program-prefix) to tst-mtrace.sh.
6365 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6367 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6368 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6369 $(rtld-installed-name).
6370 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6371 (rtld_installed_name): Likewise.
6372 (run_program_prefix): New variable. Use it to run wordexp-test.
6374 * Makeconfig (ARCH): Remove all definitions.
6375 (machine): Likewise.
6376 [ARCH]: Remove conditional code.
6377 [!objdir]: Give error.
6378 [!objdir] (objpfx): Remove.
6379 [!objdir] (common-objpfx): Likewise.
6380 [!objdir] (common-objdir): Likewise.
6381 * configure.in (config_makefile): Remove. Hardcode Makefile in
6382 AC_CONFIG_FILES call.
6383 * configure: Regenerated.
6386 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6388 (testout): Likewise.
6390 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6391 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6392 $(rtld-installed-name).
6393 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6394 (rtld_installed_name): Likwise.
6395 (runit): Remove function.
6396 (run_getconf): New variable, Use it for running getconf binary.
6398 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6401 * string/test-memmem.c (check_result): New function.
6402 (do_one_test): Use it.
6403 (check1): New function.
6404 (test_main): Use it.
6406 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6408 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6410 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6412 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6413 (_G_LSEEK64): Likewise.
6414 (_G_MMAP64): Likewise.
6415 (_G_FSTAT64): Likewise.
6416 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6417 (_G_LSEEK64): Likewise.
6418 (_G_MMAP64): Likewise.
6419 (_G_FSTAT64): Likewise.
6420 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6421 unconditional. Call __mmap64 directly.
6422 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6423 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6425 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6426 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6428 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6429 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6431 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6432 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6434 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6435 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6437 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6438 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6439 __fxstat64 directly.
6440 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6441 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6443 (freopen64) [!_G_OPEN64]: Remove conditional code.
6444 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6446 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6447 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6449 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6450 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6452 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6453 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6455 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6456 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6458 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6459 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6461 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6462 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6464 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6466 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6469 * manual/memory.texi (Malloc Tunable Parameters): Add note
6470 about free list pointers overwriting some perturb bytes.
6471 Wording suggested by Roland McGrath.
6473 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6475 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6476 (lgamma_test): Likewise.
6477 (tgamma_test): Likewise.
6479 2012-10-16 Florian Weimer <fweimer@redhat.com>
6482 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6483 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6485 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6487 * NEWS: Mention BZ #14716.
6488 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6489 when removing AVAILABLE1_USES_J macro.
6491 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6493 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6494 (__bswap_64): __uint64_t for unsigned 64-bit int.
6496 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6498 * include/string.h (memmem): Declare libc hidden alias.
6499 * string/memmem.c (memmem): Define libc hidden alias.
6500 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6501 __read, __close instead of open, read, close.
6503 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6506 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6508 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6509 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6510 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6512 (__rawmemchr_sse2): Likewise.
6513 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6514 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6515 (__strchr_sse2): Likewise.
6516 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6517 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6518 (__strcasecmp_sse2): Likewise.
6519 (__strncasecmp_sse2): Likewise.
6520 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6521 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6522 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6523 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6524 (__strrchr_sse2): Likewise.
6525 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6527 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6528 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6529 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6530 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6531 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6532 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6533 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6534 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6535 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6536 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6537 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6538 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6539 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6540 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6541 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6542 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6543 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6544 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6545 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6546 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6547 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6548 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6549 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6550 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6551 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6552 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6553 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6554 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6555 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6556 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6558 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6560 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6561 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6562 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6563 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6565 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6567 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6568 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6569 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6570 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6572 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6573 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6574 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6575 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6576 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6577 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6578 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6579 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6580 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6586 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6587 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6588 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6589 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6590 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6591 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6592 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6593 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6594 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6595 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6596 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6597 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6598 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6599 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6600 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6601 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6602 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6603 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6604 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6605 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6606 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6607 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6608 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6609 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6610 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6611 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6612 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6614 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6615 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6616 * include/ifunc-impl-list.h: New file.
6617 * misc/ifunc-impl-list.c: Likewise.
6618 * misc/Makefile (routines): Add ifunc-impl-list.
6619 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6620 * string/test-string.h: Include <ifunc-impl-list.h>.
6621 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6622 impl_array): New variables.
6623 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6625 (test_init): Call __libc_ifunc_impl_list to initialize
6626 func_list if TEST_IFUNC and TEST_NAME are defined.
6628 * string/Makefile (strop-tests): Add bcopy and bzero.
6629 * string/test-bcopy.c: New file.
6630 * string/test-bzero.c: Likewise.
6631 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6633 * string/test-memset.c: Support bzero test if TEST_BZERO is
6635 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6637 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6639 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6642 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6644 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6645 * configure: Regenerated.
6647 * Makeconfig (+link-static-before-libc): Don't include
6648 $(link-static-libc).
6650 * libio/libio.h (_IO_pos_t): Remove.
6652 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6654 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6657 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6659 * crypt/crypt-entry.c: Include fips-private.h.
6660 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6661 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6662 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6663 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6665 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6667 * crypt/crypt-private.h: Include stdbool.h.
6668 (_ufc_setup_salt_r): Return bool.
6669 * crypt/crypt-entry.c: Include errno.h.
6670 (__crypt_r): Return NULL with EINVAL for bad salt.
6671 * crypt/crypt_util.c (bad_for_salt): New.
6672 (_ufc_setup_salt_r): Check that salt is long enough and within
6673 the specified alphabet.
6674 * crypt/badsalttest.c: New file.
6675 * crypt/Makefile (tests): Add it.
6676 ($(objpfx)badsalttest): New.
6678 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6680 * NEWS: Add entry for BZ #14602.
6682 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6684 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6686 * math/libm-test.inc: Update comment listing what functions and
6688 (isgreater_test): New function.
6689 (isgreaterequal_test): Likewise.
6690 (isless_test): Likewise.
6691 (islessequal_test): Likewise.
6692 (islessgreater_test): Likewise.
6693 (isunordered_test): Likewise.
6694 (main): Call the new functions.
6696 2012-10-09 Roland McGrath <roland@hack.frob.com>
6698 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6699 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6700 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6701 * sysdeps/i386/configure: Regenerated.
6702 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6703 * sysdeps/mach/configure: Regenerated.
6704 * sysdeps/mach/hurd/configure: Regenerated.
6705 * sysdeps/powerpc/configure: Regenerated.
6706 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6707 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6708 * sysdeps/s390/s390-32/configure: Regenerated.
6709 * sysdeps/s390/s390-64/configure: Regenerated.
6710 * sysdeps/sh/configure: Regenerated.
6711 * sysdeps/sparc/configure: Regenerated.
6712 * sysdeps/unix/sysv/linux/configure: Regenerated.
6713 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6714 * sysdeps/x86_64/configure: Regenerated.
6716 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6717 defined. Don't check if MAP is NULL.
6719 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6721 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6722 (_G_stat64): Likewise.
6723 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6724 (_G_stat64): Likewise.
6725 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6726 instead of struct _G_stat64.
6727 * libio/fileops.c (mmap_remap_check): Likewise.
6728 (decide_maybe_mmap): Likewise.
6729 (_IO_new_file_seekoff): Likewise.
6730 (_IO_file_stat): Likewise.
6731 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6733 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6734 instead of struct _G_stat64.
6735 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6737 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6740 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6742 (CHECK_EOL): New macro.
6743 (two_way_short_needle): Check beginning of haystack for EOL. Use
6745 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6746 Replace with CHECK_EOL.
6747 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6748 Replace with CHECK_EOL.
6750 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6752 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6754 * math/libm-test.inc: Update comment listing what functions and
6756 (finite_test): New function.
6757 (isinf_test): Likewise.
6758 (isnan_test): Likewise.
6759 (fpclassify_test): Test subnormal input.
6760 (isfinite_test): Likewise.
6761 (isnormal_test): Likewise.
6762 (main): Call the new functions.
6764 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6767 * Makerules (%.dynsym): Force C locale when running
6768 $(OBJDUMP) --dynamic-syms.
6770 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6772 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6775 2012-10-06 David S. Miller <davem@davemloft.net>
6777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6778 upper 32-bits of the length value in %o2 since we use branch-on-register
6779 tests which consider the entire 64-bit register.
6781 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6783 * string/test-strstr.c (check2): Add a test for page boundary.
6785 2012-10-05 David S. Miller <davem@davemloft.net>
6787 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6788 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6790 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6792 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6793 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6794 and bzero when HWCAP_SPARC_CRYPTO is present.
6796 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6799 * string/test-strstr.c (check2): New function.
6800 (test_main): Call check2.
6802 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6804 * string/bug-strcasestr1.c (do_test): Moved to ...
6805 * string/test-strcasestr.c (check1): Here. New function.
6806 (do_one_test): Break out result checking code into ...
6807 (check_result): This. New function.
6808 (do_one_test): Call check_result.
6809 (test_main): Call check1.
6810 * string/bug-strchr1.c (do_test): Moved to ...
6811 * string/test-strchr.c (check1): Here. New function.
6812 (do_one_test): Break out result checking code into ...
6813 (check_result): This. New function.
6814 (do_one_test): Call check_result.
6815 (test_main): Call check1.
6816 * string/bug-strstr1.c (main): Moved to ...
6817 * string/test-strstr.c (check1): Here. New function.
6818 (do_one_test): Break out result checking code into ...
6819 (check_result): This. New function.
6820 (do_one_test): Call check_result.
6821 (test_main): Call check1.
6822 * string/bug-strcasestr1.c: Removed.
6823 * string/bug-strchr1.c: Likewise.
6824 * string/bug-strstr1.c: Likewise.
6826 * elf/Makefile (dl-routines): Add hwcaps.
6827 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6828 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6829 (_dl_important_hwcaps): Moved to ...
6830 * elf/dl-hwcaps.c: Here. New file.
6831 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6834 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6835 if IS_IN_rtld isn't defined.
6837 * elf/dl-support.c (_dl_sysinfo_map): New.
6838 Include "get-dynamic-info.h" and "setup-vdso.h".
6839 (_dl_non_dynamic_init): Call setup_vdso.
6840 * elf/dynamic-link.h: Don't include <assert.h>.
6841 (elf_get_dynamic_info): Moved to ...
6842 * elf/get-dynamic-info.h: Here. New file.
6843 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6844 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6845 * elf/setup-vdso.h: Here. New file.
6846 * elf/rtld.c: Include "setup-vdso.h".
6847 (dl_main): Call setup_vdso.
6849 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6851 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6852 creal in comment listing functions tested. List finite, isinf,
6853 isnan, isless, islessequal, isgreater, isgreaterequal,
6854 islessgreater, isunordered, lgamma_r and pow10 as functions and
6855 macros not tested. Mention which functions not tested are aliases
6856 for other functions. Fix typo. Note that signs of NaNs are not
6859 * scripts/config.guess: Update from config.git.
6860 * scripts/config.sub: Likewise.
6862 2012-10-04 Roland McGrath <roland@hack.frob.com>
6864 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6865 * misc/madvise.c (madvise): Renamed to __madvise.
6866 Make madvise a weak alias.
6867 * include/sys/mman.h: Declare __madvise.
6868 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6869 * sysdeps/unix/syscalls.list
6870 (madvise): Make __madvise the strong name, and madvise a weak alias.
6871 * sysdeps/unix/sysv/linux/syscalls.list
6872 (madvise, mmap): Remove redundant entries.
6873 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6874 * malloc/malloc.c (mtrim): Likewise.
6875 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6877 2012-10-03 Roland McGrath <roland@hack.frob.com>
6879 * sysdeps/mach/hurd/dl-cache.c: File removed.
6880 * config.h.in (USE_LDCONFIG): New #undef.
6881 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6882 * configure: Regenerated.
6883 * elf/Makefile (dl-routines): Add dl-cache only under
6884 [$(use-ldconfig) = yes].
6885 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6886 cache on [USE_LDCONFIG].
6887 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6889 * elf/rtld.c (dl_main): Likewise.
6891 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6893 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6894 _SC_LEVEL4_CACHE_LINESIZE.
6896 2012-10-03 Roland McGrath <roland@hack.frob.com>
6898 * sysdeps/unix/bsd/confstr.h: File removed.
6900 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6902 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6905 2012-10-02 Roland McGrath <roland@hack.frob.com>
6907 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6908 Make 'mapoff' field ElfW(Off) rather than off_t.
6910 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6912 * nscd/Makefile: Remove nscd-cflags and all its users.
6913 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6914 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6917 * malloc.c (malloc_printerr): Clarify error message.
6919 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6923 Set bit_FMA_Usable if FMA is supported.
6924 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6926 (bit_FMA4_Usable): Updated.
6927 (index_FMA_Usable): New macro.
6928 (CPUID_FMA): Likewise
6929 (HAS_FMA): Defined with bit_FMA_Usable.
6931 2012-10-01 Roland McGrath <roland@hack.frob.com>
6933 * bits/types.h (__swblk_t): Type removed.
6934 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6935 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6937 (__SWBLK_T_TYPE): Likewise.
6938 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6939 (__SWBLK_T_TYPE): Likewise.
6940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6941 (__SWBLK_T_TYPE): Likewise.
6942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6943 (__SWBLK_T_TYPE): Likewise.
6945 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6946 Honza Horak <hhorak@redhat.com>
6948 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6949 (xdr_mapname): Use YPMAXMAP as maxsize.
6950 (xdr_peername): Use YPMAXPEER as maxsize.
6951 (xdr_keydat): Use YPAXRECORD as maxsize.
6952 (xdr_valdat): Use YPMAXRECORD as maxsize.
6954 2012-10-01 Roland McGrath <roland@hack.frob.com>
6956 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6958 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6959 * csu/init-first.c: ... here.
6960 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6961 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6962 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6963 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6964 * sysdeps/i386/init-first.c: File removed.
6965 * sysdeps/sh/init-first.c: File removed.
6967 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6971 if x * y might underflow to zero and z is zero.
6972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6974 * math/libm-test.inc (min_subnorm_value): New variable.
6975 (fma_test): Add more tests.
6976 (fma_test_towardzero): Likewise.
6977 (fma_test_downward): Likewise
6978 (fma_test_upward): Likewise.
6979 (initialize): Set min_subnorm_value.
6981 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6986 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6987 mode for addition resulting in exact zero.
6988 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6991 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6993 * math/libm-test.inc (fma_test): Add more tests.
6994 (fma_test_towardzero): New function.
6995 (fma_test_downward): Likewise.
6996 (fma_test_upward): Likewise.
6997 (main): Call the new functions.
6999 2012-09-28 David S. Miller <davem@davemloft.net>
7001 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7003 2012-09-28 Roland McGrath <roland@hack.frob.com>
7005 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7008 * sysdeps/gnu/_G_config.h: Moved to ...
7009 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7010 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7011 * sysdeps/generic/_G_config.h: ... here.
7013 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7015 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7017 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7018 Conditionalize target on [libnss_test1.so-version].
7020 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7022 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7023 (elfobjdir): Move out of conditionals.
7025 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7026 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7027 (__nss_lookup_function): Conditionalize label remove_from_tree on
7028 [!DO_STATIC_NSS || SHARED], matching its only use.
7030 2012-09-28 David S. Miller <davem@davemloft.net>
7032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7033 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7035 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7037 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7039 when HWCAP_SPARC_CRYPTO is present.
7041 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7043 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7045 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7048 * stdio-common/vfprintf.c (process_string_arg): Revert
7051 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7053 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7055 * stdio-common/tst-sprintf.c: Include <locale.h>
7056 (main): Test sprintf's handling of incomplete multibyte
7059 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7061 * elf/dl-runtime.c (VERSYMIDX): Removed.
7062 * elf/dl-version.c (VERSYMIDX): Likewise.
7063 * elf/do-rel.h (VERSYMIDX): Likewise.
7065 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7066 * elf/rtld.c (VALIDX): Likewise.
7067 (ADDRIDX): Likewise.
7068 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7069 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7070 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7071 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7073 (ADDRIDX): Likewise.
7075 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7077 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7079 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7082 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7084 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7085 addresses are in the same scope as 192.0.2/24.
7086 * posix/gai.conf: Document new scope table defaults.
7088 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7091 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7092 for ftell. Compute offsets from write pointers instead.
7093 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7095 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7098 * libio/Makefile (tests): New test case tst-fseek.
7099 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7100 combination works in wide mode.
7101 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7102 state when the external buffer state changes.
7104 2012-09-27 David S. Miller <davem@davemloft.net>
7107 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7108 pass reloc->r_addend in as the 'high' argument to
7109 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7113 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7115 * rt/tst-aio2.c: Include <pthread.h>.
7116 * rt/tst-aio3.c: Likewise.
7118 2012-09-27 Steve Ellcey <sellcey@mips.com>
7120 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7122 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7124 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7125 contents on [SHARED].
7127 2012-09-26 Marek Polacek <polacek@redhat.com>
7131 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7132 for C++ and GCC <4.3 as well as for non GCC compilers.
7134 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7138 2012-09-25 Roland McGrath <roland@hack.frob.com>
7140 * Makefile.in (all, install): Declare with .PHONY.
7141 Reported by Michael Hope <michael.hope@linaro.org>.
7143 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7145 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7146 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7148 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7150 (sydep_routines): Add the new and the internal functions.
7151 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7152 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7154 (GLIBC_2.17): Add the new function.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7156 (GLIBC_2.17): Likewise.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7158 (GLIBC_2.17): Likewise.
7159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7160 (GLIBC_2.17): Likewise.
7161 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7163 2012-09-25 Alan Modra <amodra@gmail.com>
7165 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7166 Add release barrier before setting once_control to say
7167 initialisation is done. Add hints on lwarx. Use macro in
7169 (clear_once_control): Add release barrier.
7171 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7174 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7176 * math/s_clog10.c (__clog10): Likewise.
7177 * math/s_clog10f.c (__clog10f): Likewise.
7178 * math/s_clog10l.c (__clog10l): Likewise.
7179 * math/s_clogf.c (__clogf): Likewise.
7180 * math/s_clogl.c (__clogl): Likewise.
7181 * math/Makefile (libm-calls): Add x2y2m1.
7182 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7183 (__x2y2m1): Likewise.
7184 (__x2y2m1l): Likewise.
7185 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7186 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7189 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7190 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7191 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7192 * sysdeps/i386/fpu/libm-test-ulps: Update.
7193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7196 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7197 int as type of variable DEPTH.
7198 (glob): Use size_t instead of int as type of variables NEWCOUNT
7201 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7203 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7205 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7206 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7207 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7208 macros for using routine as __sincosf_ia32.
7209 Use macro for function declaration and weak_alias.
7210 * sysdeps/i386/fpu/libm-test-ulps: Update.
7212 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7215 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7217 * math/s_cexpf.c (__cexpf): Likewise.
7218 * math/s_csinf.c (__csinf): Likewise.
7219 * math/s_csinhf.c (__csinhf): Likewise.
7220 * math/s_ctanf.c (__ctanf): Likewise.
7221 * math/s_ctanhf.c (__ctanhf): Likewise.
7222 * math/s_ccosh.c (__ccoshf): Likewise.
7223 * math/s_cexp.c (__cexpl): Likewise.
7224 * math/s_csin.c (__csin): Likewise.
7225 * math/s_csinh.c (__csinh): Likewise.
7226 * math/s_ctan.c (__ctan): Likewise.
7227 * math/s_ctanh.c (ctanh): Likewise.
7228 * math/s_ccoshl.c (__ccoshl): Likewise.
7229 * math/s_cexpl.c (__cexpl): Likewise.
7230 * math/s_csinl.c (__csinl): Likewise.
7231 * math/s_csinhl.c (__csinhl): Likewise.
7232 * math/s_ctanl.c (__ctanl): Likewise.
7233 * math/s_ctanhl.c (__ctanhl): Likewise.
7235 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7237 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7238 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7239 (_IO_off_t): Define to __off_t, not _G_off_t.
7240 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7241 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7242 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7243 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7244 type of __dummy and __dummy2 fields.
7245 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7246 (_G_ssize_t): Likewise.
7247 (_G_off_t): Likewise.
7248 (_G_pid_t): Likewise.
7249 (_G_uid_t): Likewise.
7250 (_G_wchar_t): Likewise.
7251 (_G_wint_t): Likewise.
7252 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7253 (_G_ssize_t): Likewise.
7254 (_G_off_t): Likewise.
7255 (_G_pid_t): Likewise.
7256 (_G_uid_t): Likewise.
7257 (_G_wchar_t): Likewise.
7258 (_G_wint_t): Likewise.
7259 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7260 (_G_ssize_t): Likewise.
7261 (_G_off_t): Likewise.
7262 (_G_pid_t): Likewise.
7263 (_G_uid_t): Likewise.
7264 (_G_wchar_t): Likewise.
7265 (_G_wint_t): Likewise.
7267 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7269 * malloc/arena.c: Include malloc-sysdep.h.
7270 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7271 is sufficient to shrink the heap or an unmap is needed.
7272 * sysdeps/generic/malloc-sysdep.h: New file. Define
7273 new function check_may_shrink_heap.
7274 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7275 new function check_may_shrink_heap.
7277 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7279 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7282 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7284 * catgets/test-gencat.sh: Add "set -e".
7285 * elf/tst-pathopt.sh: Likewise.
7286 * grp/tst_fgetgrent.sh: Likewise.
7287 * iconvdata/run-iconv-test.sh: Likewise.
7288 * intl/tst-gettext.sh: Likewise.
7289 * intl/tst-gettext2.sh: Likewise.
7290 * intl/tst-gettext4.sh: Likewise.
7291 * intl/tst-gettext6.sh: Likewise.
7292 * intl/tst-translit.sh: Likewise.
7293 * io/ftwtest-sh: Likewise.
7294 * libio/test-freopen.sh: Likewise.
7295 * malloc/tst-mtrace.sh: Likewise.
7296 * posix/globtest.sh: Likewise.
7297 * posix/tst-getconf.sh: Likewise.
7298 * posix/wordexp-tst.sh: Likewise.
7299 * stdio-common/tst-printf.sh: Likewise.
7300 * stdio-common/tst-unbputc.sh: Likewise.
7301 * stdlib/tst-fmtmsg.sh: Likewise.
7302 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7303 * catgets/Makefile: Do not specify -e option when running
7304 testsuite shell scripts.
7305 * elf/Makefile: Likewise.
7306 * grp/Makefile: Likewise.
7307 * iconvdata/Makefile: Likewise.
7308 * intl/Makefile: Likewise.
7309 * io/Makefile: Likewise.
7310 * libio/Makefile: Likewise.
7311 * malloc/Makefile: Likewise.
7312 * posix/Makefile: Likewise.
7313 * stdio-common/Makefile: Likewise.
7314 * stdlib/Makefile: Likewise.
7315 * sysdeps/x86_64/Makefile: Likewise.
7317 * io/ftwtest-sh: Add copyright header.
7318 * posix/globtest.sh: Likewise.
7319 * posix/tst-getconf.sh: Likewise.
7320 * posix/wordexp-tst.sh: Likewise.
7321 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7323 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7326 * Makeconfig (+link): Defined as $(+link-static) if
7327 $(build-shared) isn't yes.
7328 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7330 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7332 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7335 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7336 new chunk size with MALLOC_ALIGN_MASK.
7338 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7341 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7343 (__printf_fphex): Determine rounding using get_rounding_mode and
7345 * stdio-common/tst-printf-round.c (struct hex_test): New
7347 (hex_tests): New variable.
7348 (test_hex_in_one_mode): New function.
7349 (do_test): Also run tests for hex float output.
7351 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7353 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7354 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7355 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7356 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7357 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7358 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7359 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7360 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7362 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7364 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7365 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7366 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7367 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7369 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7372 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7374 * elf/tst-rtld-load-self.sh: New test.
7375 * elf/Makefile: Run it.
7377 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7379 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7380 (tst-writev-ENV): Remove.
7381 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7383 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7385 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7387 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7389 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7391 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7393 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7394 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7395 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7398 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7401 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7402 * config.make.in (have-cpp-asm-debuginfo): Removed.
7403 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7404 * configure: Regenerated.
7406 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7409 * stdio-common/printf_fp.c: Include <stdbool.h> and
7411 (___printf_fp): Determine rounding using get_rounding_mode and
7413 * stdio-common/tst-printf-round.c: New file.
7414 * stdio-common/Makefile (tests): Add tst-printf-round.
7415 (link-libm): New variable.
7416 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7418 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7421 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7422 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7424 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7427 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7429 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7430 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7431 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7432 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7434 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7437 * include/rounding-mode.h: New file.
7438 * sysdeps/generic/get-rounding-mode.h: Likewise.
7439 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7440 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7441 (MAX_VALUE): New macro.
7442 (MIN_VALUE): Likewise.
7443 (overflow_value): New function.
7444 (underflow_value): Likewise.
7445 (round_and_return): Use overflow_value and underflow_value to
7446 determine return values in overflow and underflow cases. Use
7447 round_away to determine rounding depending on rounding mode.
7448 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7449 determine return values in overflow and underflow cases.
7450 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7451 (struct test_results): New structure.
7452 (struct test): Use struct test_results to store expected results
7453 for all rounding modes.
7454 (TEST): Include expected results for all rounding modes.
7455 (test_in_one_mode): New function.
7456 (do_test): Use test_in_one_mode to compute and check results.
7457 Check results for all rounding modes.
7458 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7461 2012-12-09 Allan McRae <allan@archlinux.org>
7463 * sysdeps/i386/fpu/libm-test-ulps: Update
7465 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7467 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7468 (_G_int32_t): Likewise.
7469 (_G_uint16_t): Likewise.
7470 (_G_uint32_t): Likewise.
7471 (_G_HAVE_BOOL): Likewise.
7472 (_G_HAVE_ATEXIT): Likewise.
7473 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7474 (_G_HAVE_IO_FILE_OPEN): Likewise.
7475 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7476 (_G_int32_t): Likewise.
7477 (_G_uint16_t): Likewise.
7478 (_G_uint32_t): Likewise.
7479 (_G_HAVE_BOOL): Likewise.
7480 (_G_HAVE_ATEXIT): Likewise.
7481 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7482 (_G_HAVE_IO_FILE_OPEN): Likewise.
7483 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7484 (_G_int32_t): Likewise.
7485 (_G_uint16_t): Likewise.
7486 (_G_uint32_t): Likewise.
7487 (_G_HAVE_BOOL): Likewise.
7488 (_G_HAVE_ATEXIT): Likewise.
7489 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7490 (_G_HAVE_IO_FILE_OPEN): Likewise.
7492 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7494 * csu/libc-tls.c: Update copyright years.
7496 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7498 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7499 [!_G_USING_THUNKS]: Remove conditional code.
7500 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7501 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7503 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7504 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7505 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7506 (_G_VTABLE_LABEL_PREFIX): Likewise.
7507 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7508 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7509 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7510 (_G_VTABLE_LABEL_PREFIX): Likewise.
7511 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7512 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7513 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7514 (_G_VTABLE_LABEL_PREFIX): Likewise.
7515 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7517 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7519 * libio/Makefile: Include ../Makeconfig before tests.
7520 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7521 only if $(build-shared) is yes.
7523 * iconv/gconv_db.c: Update copyright years.
7525 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7527 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7528 unwind info if defined PIC. Fix special cases description.
7529 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7531 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7533 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7535 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7537 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7539 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7542 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7543 (LDLIBS-tst-chk4): This.
7544 (LDFLAGS-tst-chk5): Renamed to ...
7545 (LDLIBS-tst-chk5): This.
7546 (LDFLAGS-tst-chk6): Renamed to ...
7547 (LDLIBS-tst-chk6): This.
7548 (LDFLAGS-tst-lfschk4): Renamed to ...
7549 (LDLIBS-tst-lfschk4): This.
7550 (LDFLAGS-tst-lfschk5): Renamed to ...
7551 (LDLIBS-tst-lfschk5): This.
7552 (LDFLAGS-tst-lfschk6): Renamed to ...
7553 (LDLIBS-tst-lfschk6): This.
7555 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7556 on $(common-objpfx)soversions.mk.
7558 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7561 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7564 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7566 * malloc/arena.c (arena_get_retry): New function that gets
7567 another arena for the caller to try its request on.
7568 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7569 current arena cannot fulfill the request.
7570 (__libc_memalign): Likewise.
7571 (__libc_memalign): Likewise.
7572 (__libc_pvalloc): Likewise.
7573 (__libc_calloc): Likewise.
7575 2012-09-05 John Tobey <john.tobey@gmail.com>
7578 * manual/arith.texi (Operations on Complex): Fix description
7581 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7584 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7588 * manual/memory.texi (Memory): Make order of menu items match
7591 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7593 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7594 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7595 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7597 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7599 * csu/libc-tls.c (static_dtv): Renamed to ...
7600 (_dl_static_dtv): This. Make it global.
7601 (_dl_initial_dtv): Removed.
7602 (__libc_setup_tls): Updated.
7603 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7604 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7607 2012-09-06 Petr Machata <pmachata@redhat.com>
7609 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7610 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7611 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7612 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7614 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7617 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7618 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7621 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7624 * Makeconfig (link-static-before-libc): Replace $(+prector)
7626 (link-static-after-libc): Replace $(+postctor) with
7628 (link-bounded): Replace $(+prector)/$(+postctor) with
7629 $(+prectorT)/$(+postctorT).
7630 (+prectorT): New macro.
7631 (+postctorT): Likewise.
7633 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7635 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7636 (round_str): Handle values above the maximum for IBM long double
7638 * stdlib/tst-strtod-round.c (tests): Regenerated.
7640 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7642 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7644 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7645 zarch_nohighgprs around the zarch optimized routines.
7646 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7647 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7648 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7651 2012-09-05 David S. Miller <davem@davemloft.net>
7653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7655 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7656 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7657 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7658 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7661 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7663 * malloc/arena.c: Fold copyright years.
7664 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7666 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7668 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7670 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7672 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7674 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7676 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7677 change internal state upon failure.
7679 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7681 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7682 * malloc/memusage.c (mmap): Likewise.
7683 (mmap64, mremap): Likewise. Adjust name in comment.
7685 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7687 * libio/fileops.c: Fix typos in comments.
7688 * libio/oldfileops.c: Likewise.
7689 * libio/wfileops.c: Likewise.
7691 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7694 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7695 (tst-malloc-usable-ENV): Set environment for test case.
7696 * malloc/hooks.c (malloc_check_get_size): New function to get
7698 * malloc/malloc.c (musable): Use malloc_check_get_size.
7699 * malloc/tst-malloc-usable.c: New test case.
7701 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7703 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7705 2012-09-05 Allan McRae <allan@archlinux.org>
7708 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7709 determine header location.
7710 * configure: Regenerated.
7712 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7714 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7716 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7717 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7721 2012-09-04 David S. Miller <davem@davemloft.net>
7723 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7724 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7725 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7727 2012-09-04 Florian Weimer <fweimer@redhat.com>
7729 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7732 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7734 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7737 * libio/iogetdelim.c: Include <limits.h>.
7738 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7739 + len + 1 would overflow.
7741 2012-09-03 Andreas Jaeger <aj@suse.de>
7743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7744 * sysdeps/i386/fpu/libm-test-ulps: Update.
7746 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7748 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7749 Add s_sinf-sse2, s_conf-sse2.
7751 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7752 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7753 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7754 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7756 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7757 for using routine as __sinf_ia32.
7758 Use macro for function declaration and weak_alias.
7759 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7760 for using routine as __cosf_ia32.
7761 Use macro for function declaration and weak_alias.
7763 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7764 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7766 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7767 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7770 * math/libm-test.inc (cos_test): Add more test cases.
7771 (sin_test): Likewise.
7772 (sincos_test): Likewise.
7774 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7776 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7777 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7779 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7781 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7784 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7785 first element of the GOT.
7786 (elf_machine_load_address): Return the difference between
7787 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7789 2012-09-01 Allan McRae <allan@archlinux.org>
7792 * configure.in (AWK): Require gawk version 3.0 or later.
7793 * configure: Regenerated.
7795 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7797 * sysdeps/unix/sysv/linux/kernel-features.h
7798 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7799 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7800 [__NR_clock_getres]: Make code unconditional.
7801 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7802 (clock_getcpuclockid): Remove code left unreachable by removal of
7804 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7806 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7807 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7808 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7809 Make code unconditional.
7810 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7811 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7812 * sysdeps/unix/sysv/linux/clock_settime.c
7813 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7815 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7816 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7818 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7821 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7822 scripts/test-installation.pl.
7824 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7825 and $ld_so_version if it is set.
7827 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7830 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7831 failure if reading from procfs failed.
7832 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7834 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7836 * sysdeps/unix/sysv/linux/kernel-features.h
7837 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7838 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7839 Remove conditional code.
7840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7841 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7842 Remove conditional code.
7843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7844 * sysdeps/unix/sysv/linux/i386/fxstat.c
7845 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7847 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7848 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7850 * sysdeps/unix/sysv/linux/i386/lxstat.c
7851 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7852 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7853 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7854 Remove conditional code.
7855 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7856 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7857 Remove conditional code.
7858 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7859 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7860 <kernel-features.h>.
7861 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7863 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7864 Remove conditional code.
7865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7866 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7869 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7872 * NEWS: Add fixed bug number.
7874 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7877 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7878 underflowing exponent in case of negative sign.
7879 * stdlib/tst-strtod-round-data: Add more tests.
7880 * stdlib/tst-strtod-round.c (tests): Regenerated.
7883 * stdlib/strtod_l.c (NDIG): Remove.
7884 (HEXNDIG): Likewise.
7885 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7886 smallest representable value.
7887 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7888 lie within an exact representation of 1/2 ulp of the result.
7889 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7891 (TENS_P9_IDX): Define unconditionally.
7892 (TENS_P9_SIZE): Likewise.
7893 (TENS_P10_IDX): Likewise.
7894 (TENS_P10_SIZE): Likewise.
7895 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7896 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7897 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7898 entries for 10^2^13 and 10^2^14.
7899 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7900 (TENS_P13_IDX): Define.
7901 (TENS_P13_SIZE): Likewise.
7902 (TENS_P14_IDX): Likewise.
7903 (TENS_P14_SIZE): Likewise.
7904 (_fpioconst_pow10): Change array size to
7905 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7907 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7908 1024]: Add entries for 10^2^13 and 10^2^14.
7909 [LAST_POW10 > _LAST_POW10]: Remove #error.
7910 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7911 (_fpioconst_pow10): Change array size to
7912 FPIOCONST_POW10_ARRAY_SIZE.
7913 * stdlib/gen-fpioconst.c: New file.
7914 * stdlib/gen-tst-strtod-round.c: Likewise.
7915 * stdlib/tst-strtod-round-data: Likewise.
7916 * stdlib/tst-strtod-round.c: Likewise.
7917 * stdlib/Makefile (tests): Add tst-strtod-round.
7920 * stdlib/strtod_l.c: Include <stdint.h>.
7921 (NDEBUG): Do not define.
7922 (round_and_return): Change EXPONENT parameter to type intmax_t.
7923 Rearrange calculations to avoid internal overflow possibilities.
7924 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7925 Rearrange calculations to avoid internal overflow possibilities.
7926 Assert that number fits inside MPNSIZE limbs.
7927 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7928 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7929 calculations and add assertions to avoid internal overflow
7930 possibilities. Add casts to avoid signed/unsigned operations.
7931 * stdlib/tst-strtod-overflow.c: New file.
7932 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7934 2012-08-25 Marek Polacek <polacek@redhat.com>
7936 * time/time.h: Fix some typos in comments.
7938 2012-08-23 Roland McGrath <roland@hack.frob.com>
7940 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7941 * posix/tst-rfc3484-2.c: Likewise.
7942 * posix/tst-rfc3484-3.c: Likewise.
7944 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7946 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7947 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7949 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7951 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7952 #include of fxstatat64.c.
7954 2012-08-22 Roland McGrath <roland@hack.frob.com>
7956 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7957 * shadow/getspent_r.c: Likewise.
7958 * shadow/getspnam.c: Likewise.
7959 * shadow/getspnam_r.c: Likewise.
7960 * gshadow/getsgent.c: Likewise.
7961 * gshadow/getsgent_r.c: Likewise.
7962 * gshadow/getsgnam.c: Likewise.
7963 * gshadow/getsgnam_r.c: Likewise.
7964 * inet/getnetbyad.c: Likewise.
7965 * inet/getnetbyad_r.c: Likewise.
7966 * inet/getnetbynm.c: Likewise.
7967 * inet/getnetbynm_r.c: Likewise.
7968 * inet/getnetent.c: Likewise.
7969 * inet/getnetent_r.c: Likewise.
7970 * inet/getproto.c: Likewise.
7971 * inet/getproto_r.c: Likewise.
7972 * inet/getprtent.c: Likewise.
7973 * inet/getprtent_r.c: Likewise.
7974 * inet/getprtname.c: Likewise.
7975 * inet/getprtname_r.c: Likewise.
7976 * inet/getrpcbyname.c: Likewise.
7977 * inet/getrpcbyname_r.c: Likewise.
7978 * inet/getrpcbynumber.c: Likewise.
7979 * inet/getrpcbynumber_r.c: Likewise.
7980 * inet/getrpcent.c: Likewise.
7981 * inet/getrpcent_r.c: Likewise.
7982 * inet/getaliasent.c: Likewise.
7983 * inet/getaliasent_r.c: Likewise.
7984 * inet/getaliasname.c: Likewise.
7985 * inet/getaliasname_r.c: Likewise.
7986 * nscd/getgrgid_r.c: Likewise.
7987 * nscd/getgrnam_r.c: Likewise.
7988 * nscd/gethstbyad_r.c: Likewise.
7989 * nscd/gethstbynm3_r.c: Likewise.
7990 * nscd/getpwnam_r.c: Likewise.
7991 * nscd/getpwuid_r.c: Likewise.
7992 * nscd/getsrvbynm_r.c: Likewise.
7993 * nscd/getsrvbypt_r.c: Likewise.
7994 * nscd/gai.c: Likewise.
7996 * configure.in (build_nscd): New substituted variable, set
7997 by --disable-build-nscd and defaults to $use_nscd.
7998 * configure: Regenerated.
7999 * config.make.in (build-nscd): New substituted variable.
8000 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8001 Change conditional to require [$(build-nscd) = yes] as well.
8002 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8005 * configure.in (use_nscd): New substituted variable, set by
8006 --disable-nscd. If enabled, define USE_NSCD.
8007 * configure: Regenerated.
8008 * config.h.in: Add USE_NSCD.
8009 * config.make.in (use-nscd): New substituted variable.
8010 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8011 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8012 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8013 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8014 (CFLAGS-getgrnam_r.c): Likewise.
8015 (CFLAGS-initgroups.c): Likewise.
8016 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8017 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8019 * inet/getnetgrent_r.c
8020 (nscd_setnetgrent): New function, broken out of ...
8021 (setnetgrent): ... here. Call it.
8022 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8023 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8024 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8025 * nscd/Makefile (routines, aux): Move definitions after include of
8026 Makeconfig. Conditionalize on [$(use-nscd) != no].
8027 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8028 Conditionalize on [USE_NSCD].
8029 (is_nscd, nscd_init_cb): Likewise.
8030 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8031 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8032 * nss/nss_db/db-init.c: Likewise.
8033 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8035 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8036 (make_request): Use it.
8037 (cache_valid_p): New function.
8038 (__check_pf): Use it.
8039 * NEWS: Add item for --disable-nscd.
8041 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8043 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8044 to support sed >= 4.2.1-20-ga9bf076.
8045 * configure: Regenerated.
8047 2012-08-22 Roland McGrath <roland@hack.frob.com>
8049 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8050 Conditionalize whole body on [IREL].
8052 2012-08-22 Jeff Law <law@redhat.com>
8055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8056 if the family is PF_UNSPEC.
8058 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8060 * Makerules (lib-version): Rename from V.
8061 (install-lib-nosubdir): Change V to lib-version.
8063 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8066 * powerpc32/power6/wcschr.c: New file.
8067 * powerpc32/power6/wcscpy.c: New file.
8068 * powerpc32/power6/wcsrchr.c: New file.
8069 * powerpc64/power6/wcschr.c: New file.
8070 * powerpc64/power6/wcscpy.c: New file.
8071 * powerpc64/power6/wcsrchr.c: New file.
8073 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8075 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8076 (two_way_short_needle): Use it.
8077 * string/strstr.c (AVAILABLE1_USES_J): Define.
8078 * string/strcasestr.c: Likewise.
8080 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8082 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8085 * NEWS: Add an entry.
8086 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8087 define their defaults.
8088 (two_way_short_needle): Detect end-of-string on-the-fly.
8089 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8090 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8091 * string/bug-strcasestr1.c: New test.
8092 * string/Makefile: Run it.
8094 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8097 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8098 the first character.
8100 2012-08-21 Roland McGrath <roland@hack.frob.com>
8102 * csu/elf-init.c (__libc_csu_irel): Function removed.
8103 * csu/libc-start.c (apply_irel): New function.
8104 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8106 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8108 * sysdeps/unix/sysv/linux/kernel-features.h
8109 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8110 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8111 <kernel-features.h>.
8112 [__NR_fadvise64_64]: Make code unconditional.
8113 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8114 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8115 !__NR_fadvise64_64)]: Likewise.
8116 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8117 !__NR_fadvise64_64))]: Likewise.
8118 [__NR_fadvise64]: Make code unconditional.
8119 [!__NR_fadvise64]: Remove conditional code.
8120 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8121 <kernel-features.h>.
8122 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8124 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8127 not include <kernel-features.h>.
8128 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8130 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8132 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8133 include <kernel-features.h>.
8134 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8136 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8139 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8141 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8142 slight instruction rearrangements per scrollpipe analysis.
8143 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8145 2012-08-20 Roland McGrath <roland@hack.frob.com>
8147 * manual/syslog.texi (syslog; vsyslog, closelog):
8148 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8149 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8151 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8152 DSOCAPS to match condition on defining it.
8154 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8156 * sysdeps/unix/sysv/linux/kernel-features.h
8157 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8159 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8160 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8162 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8163 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8165 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8166 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8168 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8169 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8171 * sysdeps/unix/sysv/linux/kernel-features.h
8172 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8173 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8175 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8176 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8177 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8178 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8179 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8180 Make code unconditional.
8181 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8182 (__mmap64) [!__NR_mmap2]: Likewise.
8183 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8184 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8185 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8186 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8187 [__NR_mmap2]: Make code unconditional.
8188 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8189 (__mmap64) [!__NR_mmap2]: Likewise.
8191 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8193 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8195 2012-08-18 Andreas Jaeger <aj@suse.de>
8197 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8199 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8201 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8202 * include/unistd.h (__have_sock_cloexec): Likewise.
8203 (__have_pipe2): Likewise.
8204 (__have_dup3): Likewise.
8206 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8209 * include/unistd.h (__have_pipe2): Change define into an extern int.
8210 (__have_dup3): Likewise.
8211 * socket/have_sock_cloexec.c: Include fcntl.h.
8212 (__have_pipe2): New variable.
8213 (__have_dup3): Likewise.
8215 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8217 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8219 2012-08-17 Marek Polacek <polacek@redhat.com>
8221 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8222 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8224 2012-08-17 Roland McGrath <roland@hack.frob.com>
8226 * configure.in: Add AC_SUBST for sysheaders.
8227 * configure: Regenerated.
8228 * config.make.in (sysheaders): New substituted variable.
8230 * sysdeps/unix/mkfifo.c: Moved ...
8231 * sysdeps/posix/mkfifo.c: ... here.
8232 * sysdeps/unix/mkfifoat.c: Moved ...
8233 * sysdeps/posix/mkfifoat.c: ... here.
8235 * sysdeps/unix/utime.c: Moved ...
8236 * sysdeps/posix/utime.c: ... here.
8238 * sysdeps/unix/time.c: Moved ...
8239 * sysdeps/posix/time.c: ... here.
8240 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8241 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8243 * sysdeps/unix/nice.c: Moved ...
8244 * sysdeps/posix/nice.c: ... here.
8246 * sysdeps/unix/alarm.c: Moved ...
8247 * sysdeps/posix/alarm.c: ... here.
8249 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8251 2012-08-17 Jeff Law <law@redhat.com>
8253 * intl/Makefile (codeset_mo): New variable.
8254 ($(codeset_mo)): New target.
8255 (tst-codeset.out): Depend on that. Remove explicit rule.
8256 (tst-gettext3.out, tst-gettext5.out): Likewise.
8257 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8258 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8259 * intl/tst-codeset.sh: Remove.
8260 * intl/tst-gettext3.sh: Likewise.
8261 * intl/tst-gettext5.sh: Likewise.
8263 2012-08-17 Roland McGrath <roland@hack.frob.com>
8265 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8266 * sysdeps/unix/syscalls.list: ... here.
8268 * sysdeps/posix/getaddrinfo.c
8269 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8270 (gaiconf_init, gaiconf_reload): Use them.
8272 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8273 Define using time_t rather than struct timespec.
8275 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8276 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8278 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8280 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8281 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8284 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8285 __libc_cleanup_push argument.
8287 * bits/param.h: New file.
8288 * misc/sys/param.h: New file.
8289 * include/sys/param.h: New file.
8290 * misc/Makefile (headers): Add bits/param.h.
8291 * sysdeps/generic/sys/param.h: File removed.
8292 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8293 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8294 * sysdeps/mach/hurd/bits/param.h: New file.
8295 * sysdeps/mach/hurd/sys/param.h: File removed.
8297 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8300 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8302 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8303 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8306 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8307 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8308 rather than -D_IO_MTSAFE_IO conditionally.
8309 * stdio-common/Makefile (CPPFLAGS): Likewise.
8310 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8311 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8312 Use $(libio-mtsafe).
8313 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8315 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8316 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8317 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8318 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8319 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8320 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8321 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8322 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8323 (CFLAGS-fread_u_chk.c): Likewise.
8324 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8325 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8326 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8327 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8328 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8329 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8330 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8331 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8332 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8334 * libio/Makefile: Test [$(libc-reentrant) = yes]
8335 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8338 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8339 * sysdeps/pthread/configure: File removed.
8340 * sysdeps/pthread/Makeconfig: New file.
8341 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8342 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8344 2012-08-16 Gary Benson <gbenson@redhat.com>
8346 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8347 unmapping the first object in a namespace.
8349 2012-08-16 Roland McGrath <roland@hack.frob.com>
8351 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8352 (__internal_setnetgrent): ... this. Add internal_function to
8353 definition. Add libc_hidden_def.
8354 (setnetgrent): Update caller.
8355 (internal_endnetgrent): Renamed to ...
8356 (__internal_endnetgrent): ... this. Add internal_function to
8357 definition. Add libc_hidden_def.
8358 (endnetgrent): Update caller.
8359 (internal_getnetgrent_r): Renamed to ...
8360 (__internal_getnetgrent_r): ... this. Add internal_function to
8361 definition. Add libc_hidden_def.
8362 (__getnetgrent_r): Update caller.
8363 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8365 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8367 * stdlib/longlong.h: Update from GCC.
8369 2012-08-16 Roland McGrath <roland@hack.frob.com>
8371 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8372 on _QL, which is set by umul_ppmm but never used.
8373 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8374 variables, which are set by GMP macros but never used.
8375 * stdio-common/_itowa.c (_itowa): Likewise.
8376 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8377 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8379 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8381 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8382 struct La_sh_regs is not constant.
8383 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8384 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8385 and struct La_sparc64_regs are not constant.
8387 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8389 * sysdeps/unix/sysv/linux/kernel-features.h
8390 (__ASSUME_POSIX_TIMERS): Remove.
8391 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8392 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8393 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8394 Make code unconditional.
8395 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8396 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8397 Make code unconditional.
8398 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8399 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8400 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8401 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8402 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8403 Make code unconditional.
8404 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8405 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8406 (__libc_missing_posix_timers): Remove.
8408 2012-08-15 Roland McGrath <roland@hack.frob.com>
8410 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8411 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8413 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8415 * elf/dl-sym.c: Include <stdlib.h>.
8417 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8418 constants, which avoids warnings in 32-bit builds.
8420 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8421 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8423 * misc/lseek.c: File moved to ...
8424 * io/lseek.c: ... here.
8426 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8428 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8429 shifting LEN more than 31 bits at once.
8431 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8434 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8435 segmentation fault for a case of two empty input strings.
8436 * string/test-strncasecmp.c (check1): Renamed to...
8438 (bz14195): Add new testcase for two empty input strings and N > 0.
8439 (test_main): Call new testcase, adapt for renamed function.
8441 2012-08-15 Andreas Jaeger <aj@suse.de>
8444 * crypt/md5test2.c: New test, based on test supplied by Serge
8445 Belyshev <belyshev@depni.sinp.msu.ru>.
8446 * crypt/Makefile (xtests): Add md5test-giant..
8447 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8449 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8452 * crypt/md5.c (md5_process_block): Don't assume the buffer
8453 length is less than 2**32.
8454 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8455 length is less than 2**64.
8457 2012-08-15 Roland McGrath <roland@hack.frob.com>
8459 * string/str-two-way.h: Include <sys/param.h>.
8460 (MAX): Macro removed.
8462 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8463 Move #define and #undef of memmove to just before and after
8464 including <string.h>.
8466 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8467 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8468 and after including <string.h>. Move declarations of
8469 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8470 to before #include "string/memmove.c".
8472 * include/dirent.h: Declare __getdirentries.
8474 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8475 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8477 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8479 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8480 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8481 * sysdeps/i386/configure: Regenerated.
8482 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8483 STABS_CURRENT_FILE, and STABS_FUN.
8484 (END): Remove call to STABS_FUN_END.
8485 (STABS_CURRENT_FILE1): Delete.
8486 (STABS_CURRENT_FILE): Likewise.
8487 (STABS_FUN): Likewise.
8488 (STABS_FUN_END): Likewise.
8489 (STABS_FUN2): Likewise.
8490 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8491 * sysdeps/x86_64/configure: Regenerated.
8493 2012-08-14 Roland McGrath <roland@hack.frob.com>
8495 * elf/dl-open.c: Include <atomic.h>.
8496 * elf/dl-lookup.c: Likewise.
8498 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8500 * sysdeps/unix/sysv/linux/kernel-features.h
8501 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8502 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8504 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8506 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8507 condition on __ASSUME_CLONE_THREAD_FLAGS.
8509 2012-08-14 Andreas Jaeger <aj@suse.de>
8511 * sysdeps/i386/fpu/libm-test-ulps: Update.
8513 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8515 * include/atomic.h (atomic_exchange_and_add): Split into ...
8516 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8519 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8523 2012-08-13 Jeff Law <law@redhat.com>
8525 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8526 null byte in the output string.
8528 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8530 * sysdeps/unix/sysv/linux/kernel-features.h
8531 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8532 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8533 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8534 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8535 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8536 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8537 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8539 2012-08-09 Jeff Law <law@redhat.com>
8542 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8543 When avoid_arena is set, don't retry in the that arena. Pick the
8544 next one, whatever it might be.
8545 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8546 (arena_lock): Pass in new parameter to arena_get2.
8547 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8549 (__libc_malloc): Unify retrying after main arena failure with
8550 __libc_memalign version.
8551 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8553 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8556 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8557 to __redirect_strstr.
8558 (__strstr_sse42): Use typeof __redirect_strstr.
8559 (__strstr_ia32): Likewise.
8560 (__libc_strstr): New prototype.
8561 (strstr): Renamed to ...
8562 (__libc_strstr): This.
8563 (strstr): New strong alias of __libc_strstr.
8564 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8565 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8568 (__libc_time): New prototype.
8569 (time_ifunc): Replace time with __libc_time.
8570 (time): New strong alias and hidden definition of __libc_time.
8571 (__GI_time): Remove strong alias.
8572 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8574 (memmove): Redefined to __redirect_memmove.
8575 (__memmove_sse2): Use typeof __redirect_memmove.
8576 (__memmove_ssse3): Likewise.
8577 (__memmove_ssse3_back): Likewise.
8578 (__libc_memmove): New prototype.
8579 (memmove): Renamed to ...
8580 (__libc_memmove): This.
8581 (memmove): New strong alias of __libc_memmove.
8583 2012-08-08 Mark Salter <msalter@redhat.com>
8586 (R_MN10300_TLS_GD): Define.
8587 (R_MN10300_TLS_LD): Likewise.
8588 (R_MN10300_TLS_LDO): Likewise.
8589 (R_MN10300_TLS_GOTIE): Likewise.
8590 (R_MN10300_TLS_IE): Likewise.
8591 (R_MN10300_TLS_LE): Likewise.
8592 (R_MN10300_TLS_DTPMOD): Likewise.
8593 (R_MN10300_TLS_DTPOFF): Likewise.
8594 (R_MN10300_TLS_TPOFF): Likewise.
8595 (R_MN10300_SYM_DIFF): Likewise.
8596 (R_MN10300_ALIGN): Likewise.
8597 (R_MN10300_NUM): Update.
8599 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8601 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8604 2012-08-08 Roland McGrath <roland@hack.frob.com>
8606 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8608 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8609 sysdeps/unix -> sysdeps/posix move.
8610 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8612 2012-08-07 Allan McRae <allan@archlinux.org>
8615 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8616 (SUNOS_CPP): Likewise.
8617 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8619 (open_input): Call CPP using execvp.
8621 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8623 * sysdeps/unix/sysv/linux/kernel-features.h
8624 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8625 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8626 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8627 (__ASSUME_WAITID_SYSCALL): Likewise.
8628 * sysdeps/unix/sysv/linux/dl-execstack.c
8629 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8631 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8633 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8634 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8635 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8637 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8639 [__ASSUME_WAITID_SYSCALL]: Likewise.
8640 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8642 2012-08-07 Roland McGrath <roland@hack.frob.com>
8644 * sysdeps/unix/closedir.c: Renamed to ...
8645 * sysdeps/posix/closedir.c: ... here.
8646 * sysdeps/unix/dirfd.c: Renamed to ...
8647 * sysdeps/posix/dirfd.c: ... here.
8648 * sysdeps/unix/dirstream.h: Renamed to ...
8649 * sysdeps/posix/dirstream.h: ... here.
8650 * sysdeps/unix/fdopendir.c: Renamed to ...
8651 * sysdeps/posix/fdopendir.c: ... here.
8652 * sysdeps/unix/opendir.c: Renamed to ...
8653 * sysdeps/posix/opendir.c: ... here.
8654 * sysdeps/unix/readdir.c: Renamed to ...
8655 * sysdeps/posix/readdir.c: ... here.
8656 * sysdeps/unix/readdir_r.c: Renamed to ...
8657 * sysdeps/posix/readdir_r.c: ... here.
8658 * sysdeps/unix/rewinddir.c: Renamed to ...
8659 * sysdeps/posix/rewinddir.c: ... here.
8660 * sysdeps/unix/seekdir.c: Renamed to ...
8661 * sysdeps/posix/seekdir.c: ... here.
8662 * sysdeps/unix/telldir.c: Renamed to ...
8663 * sysdeps/posix/telldir.c: ... here.
8664 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8665 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8666 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8667 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8669 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8670 * bits/fcntl.h: ... here.
8672 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8674 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8675 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8676 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8677 (struct flock): Move l_start, l_len to the beginning.
8678 Use __pid_t for l_pid.
8679 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8680 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8681 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8682 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8683 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8684 [__USE_LARGEFILE64] (struct flock64): New type.
8685 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8687 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8688 * bits/dirent.h: ... here.
8690 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8691 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8693 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8695 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8696 Change from 2.6.0 to 2.6.16.
8697 * sysdeps/unix/sysv/linux/configure: Regenerated.
8698 * sysdeps/unix/sysv/linux/kernel-features.h
8699 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8700 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8702 (__ASSUME_UTIMES): Likewise.
8703 (__ASSUME_CLONE_STOPPED): Remove.
8704 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8705 architectures, not kernel version.
8706 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8707 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8708 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8709 (__ASSUME_WAITID_SYSCALL): Likewise.
8710 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8711 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8712 * README: State 2.6.16 as minimum Linux kernel version. Do not
8713 refer to older versions.
8715 2012-08-06 Roland McGrath <roland@hack.frob.com>
8717 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8718 Define alphasort64 as an alias.
8719 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8720 Define versionsort64 as an alias.
8721 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8722 Define scandir64 as an alias.
8723 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8724 Define scandirat64 as an alias.
8725 * dirent/alphasort64.c (alphasort64):
8726 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8727 * dirent/versionsort64.c: Likewise.
8728 * dirent/scandir64.c: Likewise.
8729 * dirent/scandirat64.c: Likewise.
8730 * sysdeps/wordsize-64/alphasort.c: File removed.
8731 * sysdeps/wordsize-64/alphasort64.c: File removed.
8732 * sysdeps/wordsize-64/scandir.c: File removed.
8733 * sysdeps/wordsize-64/scandir64.c: File removed.
8734 * sysdeps/wordsize-64/scandirat.c: File removed.
8735 * sysdeps/wordsize-64/scandirat64.c: File removed.
8736 * sysdeps/wordsize-64/versionsort.c: File removed.
8737 * sysdeps/wordsize-64/versionsort64.c: File removed.
8738 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8739 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8740 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8741 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8742 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8743 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8744 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8745 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8747 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8749 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8751 [defined __arch64__ || defined __sparcv9]
8752 (__INO_T_MATCHES_INO64_T): New macro.
8753 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8754 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8755 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8756 * sysdeps/unix/sysv/linux/bits/dirent.h
8757 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8758 (_DIRENT_MATCHES_DIRENT64): New macro.
8760 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8761 Define lockf64 as an alias.
8762 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8763 Define fseeko64 as an alias.
8764 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8765 Define ftello64 as an alias.
8766 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8767 Define _IO_fgetpos64 and fgetpos64 as aliases.
8768 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8769 Define _IO_fsetpos64 and fsetpos64 as aliases.
8770 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8771 Conditionalize body on this.
8772 * libio/fseeko64.c: Likewise.
8773 * libio/ftello64.c: Likewise.
8774 * libio/iofgetpos64.c: Likewise.
8775 * libio/iofsetpos64.c: Likewise.
8776 * sysdeps/wordsize-64/lockf.c: File removed.
8777 * sysdeps/wordsize-64/lockf64.c: File removed.
8778 * sysdeps/wordsize-64/fseeko.c: File removed.
8779 * sysdeps/wordsize-64/fseeko64.c: File removed.
8780 * sysdeps/wordsize-64/ftello.c: File removed.
8781 * sysdeps/wordsize-64/ftello64.c: File removed.
8782 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8783 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8784 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8785 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8786 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8787 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8788 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8789 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8791 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8792 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8794 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8795 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8797 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8799 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8801 [defined __arch64__ || defined __sparcv9]
8802 (__OFF_T_MATCHES_OFF64_T): New macro.
8803 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8804 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8806 (__OFF_T_MATCHES_OFF64_T): New macro.
8808 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8810 * stdlib/secure-getenv.c (__secure_getenv): Replace
8811 GLIBC_2_16 with GLIBC_2_17.
8813 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8815 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8816 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8818 2012-08-03 David S. Miller <davem@davemloft.net>
8820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8822 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8824 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8826 (__ASSUME_CORRECT_SI_PID): Likewise.
8827 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8828 (__ASSUME_TMPFS_NAME): Likewise.
8829 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8830 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8831 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8832 (HAVE_AUX_SECURE): Make definition unconditional.
8833 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8834 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8836 2012-08-03 Roland McGrath <roland@hack.frob.com>
8838 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8839 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8840 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8841 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8842 __eloop_threshold instead of SYMLOOP_MAX.
8844 * sysdeps/generic/eloop-threshold.h: New file.
8845 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8847 * elf/chroot_canon.c (chroot_canon): Likewise.
8849 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8852 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8853 Change to 2.6.0 everywhere.
8854 * sysdeps/unix/sysv/linux/configure: Regenerated.
8855 * sysdeps/unix/sysv/linux/kernel-features.h
8856 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8857 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8859 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8860 (__ASSUME_FUTEX_REQUEUE): Remove.
8861 (__ASSUME_STATFS64): Define unconditionally.
8862 (__ASSUME_AT_SECURE): Likewise.
8863 (__ASSUME_CORRECT_SI_PID): Likewise.
8864 (__ASSUME_TGKILL): Define without depending on kernel version for
8866 (__ASSUME_UTIMES): Likewise.
8867 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8869 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8870 (__ASSUME_TMPFS_NAME): Likewise.
8871 * README: Update reference to Linux kernel versions.
8873 2012-08-02 Marek Polacek <polacek@redhat.com>
8876 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8877 libc_cv_asm_type_prefix with %.
8878 * configure: Regenerated.
8879 * include/libc-symbols.h: Remove comment about
8880 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8881 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8882 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8883 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8884 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8885 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8886 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8887 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8888 * elf/tst-unique2mod1.c: Likewise.
8889 * elf/tst-unique1mod2.c: Likewise.
8890 * elf/tst-unique1mod1.c: Likewise.
8891 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8892 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8893 Replace ASM_TYPE_DIRECTIVE with .type.
8894 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8895 * sysdeps/i386/sysdep.h: Likewise.
8896 * sysdeps/x86_64/sysdep.h: Likewise.
8897 * sysdeps/sh/sysdep.h: Likewise.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8899 Do not define ASM_TYPE_DIRECTIVE.
8900 * sysdeps/powerpc/sysdep.h: Likewise.
8901 * sysdeps/powerpc/powerpc32/sysdep.h:
8902 Replace ASM_TYPE_DIRECTIVE with .type.
8903 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8904 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8905 * sysdeps/i386/fpu/e_powf.S: Likewise.
8906 * sysdeps/i386/fpu/e_expl.S: Likewise.
8907 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8908 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8909 * sysdeps/i386/fpu/e_pow.S: Likewise.
8910 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8911 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8912 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8913 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8914 * sysdeps/i386/fpu/e_log2.S: Likewise.
8915 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8916 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8917 * sysdeps/i386/fpu/e_powl.S: Likewise.
8918 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8919 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8920 * sysdeps/i386/fpu/e_logl.S: Likewise.
8921 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8922 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8923 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8924 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8925 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8926 * sysdeps/i386/fpu/e_log.S: Likewise.
8927 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8928 * sysdeps/i386/fpu/e_logf.S: Likewise.
8929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8930 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8931 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8932 * sysdeps/i386/fpu/e_log10.S: Likewise.
8933 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8934 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8935 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8936 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8937 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8938 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8939 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8940 * sysdeps/i386/i686/strtok.S: Likewise.
8941 * sysdeps/i386/i386-mcount.S: Likewise.
8942 * sysdeps/i386/strtok.S: Likewise.
8943 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8944 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8945 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8946 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8947 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8948 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8949 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8950 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8951 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8952 * sysdeps/x86_64/_mcount.S: Likewise.
8953 * sysdeps/x86_64/strtok.S: Likewise.
8954 * sysdeps/sh/_mcount.S: Likewise.
8956 2012-08-01 Roland McGrath <roland@hack.frob.com>
8958 * libio/iofopen.c: Include <fcntl.h>.
8959 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8960 (_IO_fopen64, fopen64): Define as aliases.
8961 * libio/iofopen64.c: Include <fcntl.h>.
8962 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8963 Conditionalize body on this.
8964 * sysdeps/wordsize-64/iofopen.c: File removed.
8965 * sysdeps/wordsize-64/iofopen64.c: File removed.
8967 2012-08-01 Marek Polacek <polacek@redhat.com>
8969 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8970 Use dlfcn directly instead of a variable.
8971 (binfmt-subdir): Do not define.
8974 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8977 Remove all definitions.
8978 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8979 <kernel-features.h>.
8980 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8981 (miss_F_GETOWN_EX): Remove all definitions.
8982 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8984 [!__ASSUME_FCNTL64]: Remove conditional code.
8985 [__ASSUME_FCNTL64]: Make code unconditional.
8986 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8987 <kernel-features.h>.
8988 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8989 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8990 (lockf64) [__NR_fcntl64]: Make code unconditional.
8991 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8993 * sysdeps/unix/sysv/linux/kernel-features.h
8994 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8995 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8996 Make code unconditional.
8997 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8998 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9000 [__NR_vfork]: Make code unconditional.
9001 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9002 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9004 [__NR_vfork]: Make code unconditional.
9005 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9006 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9008 2012-08-01 Roland McGrath <roland@hack.frob.com>
9010 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9011 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9013 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9014 Define mkstemp64 as an alias.
9015 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9016 Define mkstemps64 as an alias.
9017 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9018 Define mkostemp64 as an alias.
9019 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9020 Define mkostemps64 as an alias.
9021 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9022 Conditionalize body on this.
9023 * misc/mkostemp64.c: Likewise.
9024 * misc/mkostemps64.c: Likewise.
9025 * misc/mkstemps64.c: Likewise.
9026 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9027 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9028 * sysdeps/wordsize-64/mkostemp.c: File removed.
9029 * sysdeps/wordsize-64/mkstemp.c: File removed.
9030 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9031 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9032 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9033 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9036 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9037 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9038 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9039 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9041 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9042 compat_symbol macros from <shlib-compat.h> rather than the underlying
9043 default_symbol_version and symbol_version macros, so that DEFAULT
9044 lines in shlib-versions are respected.
9045 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9047 2012-08-01 Florian Weimer <fweimer@redhat.com>
9049 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9050 Declare with warn_unused_result.
9051 (setgid, setregid, setegid, setresgid): Likewise.
9052 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9054 * WUR-REPORT: Remove set*id functions.
9056 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9058 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9060 2012-07-31 Roland McGrath <roland@hack.frob.com>
9062 * include/sys/socket.h (__libc_accept, __libc_accept4):
9063 Add attribute_hidden.
9064 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9066 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9068 * inet/getnetgrent_r.c (setup): Likewise.
9070 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9072 2012-07-31 David S. Miller <davem@davemloft.net>
9074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9076 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9079 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9080 value between 1.0 and 2.0 and smaller part has absolute value less
9082 * math/s_clog10.c (__clog10): Likewise.
9083 * math/s_clog10f.c (__clog10f): Likewise.
9084 * math/s_clog10l.c (__clog10l): Likewise.
9085 * math/s_clogf.c (__clogf): Likewise.
9086 * math/s_clogl.c (__clogl): Likewise.
9087 * math/libm-test.inc (clog_test): Add more tests.
9088 (clog10_test): Likewise.
9089 * sysdeps/i386/fpu/libm-test-ulps: Update.
9090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9092 2012-07-31 Florian Weimer <fweimer@redhat.com>
9094 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9095 Exit with zero in case no suitable GID is found, and write a
9096 message to standard error.
9098 2012-07-30 Roland McGrath <roland@hack.frob.com>
9100 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9102 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9103 (MAXPATHLEN): Removed.
9104 (NOGROUP, NODEV): New macros.
9105 (setbit, clrbit, isset, isclr): New macros.
9106 (howmany, roundup, powerof2): New macros.
9107 (DEV_BSIZE): New macro.
9109 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9110 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9112 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9113 definition on [!__NO_LONG_DOUBLE_MATH].
9115 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9116 PTR_MANGLE and PTR_DEMANGLE.
9118 * socket/accept4.c (accept4): Rename to __libc_accept4.
9119 Define accept4 as a weak alias.
9121 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9122 on [_DIRENT_HAVE_D_TYPE].
9123 * io/ftw.c (ftw_dir): Likewise.
9125 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9127 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9129 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9130 Use the BSD numbers rather than the arbitrary ones we had.
9131 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9132 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9133 (SIGXCPU, SIGXFSZ): New macros.
9136 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9137 initializer on [_LIBC_REENTRANT].
9139 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9140 definitions inside [_POSIX_MAPPED_FILES].
9142 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9144 * dirent/opendir.c: Include <fcntl.h>.
9146 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9147 (__libc_getspecific): Likewise.
9148 (__libc_key_create): Likewise.
9150 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9151 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9152 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9153 (tmpfile64): Define as alias.
9154 * sysdeps/wordsize-64/tmpfile.c: File removed.
9155 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9159 * stdio-common/vfscanf.c: Include <stdbool.h>.
9160 * nss/makedb.c: Likewise.
9161 * stdio-common/_i18n_number.h: Likewise.
9162 * argp/argp-help.c: Likewise.
9163 * posix/wordexp.c: Likewise.
9164 * sysdeps/posix/spawni.c: Likewise.
9165 * nss/nss_files/files-initgroups.c: Likewise.
9166 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9167 * nss/nss_files/files-initgroups.c: Likewise.
9168 * nss/nss_db/db-netgrp.c: Likewise.
9169 * nss/nss_db/db-initgroups.c: Likewise.
9170 * io/fchmodat.c: Include <sys/stat.h>.
9172 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9173 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9175 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9178 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9179 Add multiple inclusion protection.
9181 2012-07-27 David S. Miller <davem@davemloft.net>
9183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9185 2012-07-27 Gary Benson <gbenson@redhat.com>
9188 * elf/rtld.c: Include <stap-probe.h>.
9189 (dl_main): Added static probes "init_start" and "init_complete".
9190 * elf/dl-load.c: Include <stap-probe.h>.
9191 (lose): Take new parameter "nsid".
9192 Added static probe "map_failed".
9193 (_dl_map_object_from_fd): Pass namespace id to lose.
9194 Added static probe "map_start".
9195 (open_verify): Pass namespace id to lose.
9196 * elf/dl-open.c: Include <stap-probe.h>.
9197 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9198 and "reloc_complete".
9199 * elf/dl-close.c: Include <stap-probe.h>.
9200 (_dl_close_worker): Added static probes "unmap_start" and
9202 * elf/rtld-debugger-interface.txt: New file documenting the above.
9204 2012-07-26 Roland McGrath <roland@hack.frob.com>
9206 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9207 rather than a string variable.
9208 * sunrpc/rpc_main.c (h_output): Likewise.
9209 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9211 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9213 * inet/check_native.c: New file.
9215 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9218 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9219 if larger part has absolute value 1.0.
9220 * math/s_clog10.c (__clog10): Likewise.
9221 * math/s_clog10f.c (__clog10f): Likewise.
9222 * math/s_clog10l.c (__clog10l): Likewise.
9223 * math/s_clogf.c (__clogf): Likewise.
9224 * math/s_clogl.c (__clogl): Likewise.
9225 * math/libm-test.inc (clog_test): Add more tests.
9226 (clog10_test): Likewise.
9227 * sysdeps/i386/fpu/libm-test-ulps: Update.
9228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9230 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9231 (pltexit): Likewise.
9232 (La_regs): Likewise.
9233 (La_retval): Likewise.
9234 (int_retval): Likewise.
9235 Update #error for removed macros to refer only to definitions in
9237 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9239 (pltexit): Likewise.
9240 (La_regs): Likewise.
9241 (La_retval): Likewise.
9242 (int_retval): Likewise.
9243 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9245 (pltexit): Likewise.
9246 (La_regs): Likewise.
9247 (La_retval): Likewise.
9248 (int_retval): Likewise.
9249 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9251 (pltexit): Likewise.
9252 (La_regs): Likewise.
9253 (La_retval): Likewise.
9254 (int_retval): Likewise.
9255 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9257 (pltexit): Likewise.
9258 (La_regs): Likewise.
9259 (La_retval): Likewise.
9260 (int_retval): Likewise.
9261 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9263 (pltexit): Likewise.
9264 (La_regs): Likewise.
9265 (La_retval): Likewise.
9266 (int_retval): Likewise.
9267 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9269 (pltexit): Likewise.
9270 (La_regs): Likewise.
9271 (La_retval): Likewise.
9272 (int_retval): Likewise.
9273 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9274 macro definitions in tst-audit.h.
9275 * sysdeps/i386/tst-audit.h: New file.
9276 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9277 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9278 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9279 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9280 * sysdeps/sh/tst-audit.h: Likewise.
9281 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9282 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9283 * sysdeps/x86_64/tst-audit.h: Likewise.
9285 2012-07-26 Andreas Jaeger <aj@suse.de>
9287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9290 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9291 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9292 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9294 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9295 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9296 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9298 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9301 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9303 (si_call_addr, si_syscall, si_arch): Define new macro.
9304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9306 (si_call_addr, si_syscall, si_arch): Define new marcro.
9307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9309 (si_call_addr, si_syscall, si_arch): Define new macro.
9310 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9312 (si_call_addr, si_syscall, si_arch): Define new macro.
9314 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9317 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9318 Change to 2.4.21 where previously 2.4.1.
9319 * sysdeps/unix/sysv/linux/configure: Regenerated.
9320 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9321 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9322 Linux kernel version.
9323 (__ASSUME_STD_AUXV): Remove.
9324 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9326 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9327 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9328 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9329 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9330 (__ASSUME_NETLINK_SUPPORT): Likewise.
9331 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9332 (__no_netlink_support): Remove conditional definition.
9333 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9335 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9336 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9337 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9338 (if_nameindex_ioctl): Remove.
9339 (if_nameindex_netlink): Do not handle __no_netlink_support.
9340 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9342 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9343 Remove conditional code.
9344 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9346 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9348 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9349 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9350 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9352 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9353 [!__ASSUME_STD_AUXV]: Remove conditional code.
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9355 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9356 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9358 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9359 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9361 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9363 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9364 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9366 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9368 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9371 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9374 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9376 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9378 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9380 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9383 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9385 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9388 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9390 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9392 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9394 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9397 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9399 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9401 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9403 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9406 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9408 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9409 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9410 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9411 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9412 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9413 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9414 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9415 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9416 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9417 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9418 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9419 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9420 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9421 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9428 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9429 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9430 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9432 2012-07-25 Florian Weimer <fweimer@redhat.com>
9434 * Versions.def: Add GLIBC_2.17.
9435 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9436 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9437 Introduce __libc_secure_getenv.
9438 * stdlib/Versions (2.17): Add secure_getenv
9439 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9440 * stdlib/secure-getenv.c: Rename __secure_getenv to
9441 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9442 symbol __secure_getenv for GLIBC_2.0.
9443 * stdlib/tst-secure-getenv.c: New.
9444 * stdlib/Makefile (tests): Add testcase.
9445 * manual/startup.texi (Environment Access): Document
9447 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9448 __libc_secure_getenv.
9449 * inet/ruserpass.c (ruserpass): Likewise.
9450 * malloc/mtrace.c (mtrace): Likewise.
9451 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9452 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9453 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9454 * sysdeps/posix/tempname.c: Likewise. Evaluate
9456 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9457 __secure_getenv to __libc_secure_getenv.
9458 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9471 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9474 (struct La_i86_retval): Likewise.
9475 (struct La_x86_64_regs): Likewise.
9476 (struct La_x86_64_retval): Likewise.
9477 (struct La_x32_regs): Likewise.
9478 (struct La_x32_retval): Likewise.
9479 (struct La_ppc32_regs): Likewise.
9480 (struct La_ppc32_retval): Likewise.
9481 (struct La_ppc64_regs): Likewise.
9482 (struct La_ppc64_retval): Likewise.
9483 (struct La_sh_regs): Likewise.
9484 (struct La_sh_retval): Likewise.
9485 (struct La_s390_32_regs): Likewise.
9486 (struct La_s390_32_retval): Likewise.
9487 (struct La_s390_64_regs): Likewise.
9488 (struct La_s390_64_retval): Likewise.
9489 (struct La_sparc32_regs): Likewise.
9490 (struct La_sparc32_retval): Likewise.
9491 (struct La_sparc64_regs): Likewise.
9492 (struct La_sparc64_retval): Likewise.
9493 (struct audit_ifaces): Remove architecture-specific pltenter and
9495 * sysdeps/i386/ldsodefs.h: New file.
9496 * sysdeps/powerpc/ldsodefs.h: Likewise.
9497 * sysdeps/s390/ldsodefs.h: Likewise.
9498 * sysdeps/sh/ldsodefs.h: Likewise.
9499 * sysdeps/sparc/ldsodefs.h: Likewise.
9500 * sysdeps/x86_64/ldsodefs.h: Likewise.
9502 2012-07-25 Marek Polacek <polacek@redhat.com>
9505 * math/libm-test.inc (yn_test): Add another test.
9506 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9507 to ERANGE when the result is +-Inf.
9508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9509 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9510 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9511 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9513 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9515 * conform/data/time.h-data (NULL): Use macro-constant. Require
9517 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9519 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9521 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9523 * configure.in <sysdeps resolving>: Correct printing
9525 * configure: Regenerate.
9527 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9529 * math/w_ilogb.c: Include <limits.h>.
9530 * math/w_ilogbl.c: Likewise.
9532 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9534 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9535 va_copy. Document allowing for unavailable va_copy only as
9536 pre-C99 compatibility.
9537 * manual/string.texi (Copying and Concatenation): Use va_copy
9538 instead of __va_copy in concat example.
9540 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9542 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9543 (__sendto): Use create_address_port. Initialize APORT and deallocate
9546 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9547 with O_NOLINK passed to __file_name_lookup.
9549 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9550 with O_NOLINK passed to __file_name_lookup.
9552 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9553 negative N or less than NGIDS.
9555 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9556 type to string_t. Set ERANGE as errno and return it if NAME is not big
9557 enough. Use memcpy instead of strncpy.
9559 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9561 * elf/Makefile (check-data): Remove.
9562 (localplt.data): New vpath directive.
9563 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9564 instead of $(check-data).
9565 * scripts/data/localplt-generic.data: Move to ...
9566 * sysdeps/generic/localplt.data: ... here.
9567 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9568 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9569 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9572 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9575 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9578 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9581 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9584 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9588 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9590 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9591 PPC32 and PPC64 files.
9592 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9593 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9595 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9597 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9598 __makecontext_ret to ...
9599 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9600 ... here and call exit if uc_link is NULL. New file.
9601 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9602 __makecontext_ret.S.
9603 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9604 __makecontext_ret to ...
9605 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9606 ... here and call exit if uc_link is NULL. New file.
9607 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9608 __makecontext_ret.S.
9610 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9612 * elf/elf.h (R_390_IRELATIVE): New definition.
9613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9614 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9615 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9616 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9617 (elf_machine_lazy_rel): Likewise.
9618 * sysdeps/s390/dl-irel.h: New file.
9619 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9620 * sysdeps/s390/s390-64/memset.S: New asm code.
9621 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9622 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9623 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9624 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9625 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9626 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9627 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9628 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9629 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9630 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9631 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9632 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9633 * sysdeps/s390/s390-32/memset.S: New asm code.
9634 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9636 2012-07-17 Marek Polacek <polacek@redhat.com>
9639 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9640 * sysdeps/s390/s390-64/configure.in: Likewise.
9641 * sysdeps/sparc/configure.in: Likewise.
9642 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9643 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9644 * sysdeps/i386/configure.in: Likewise.
9645 * sysdeps/x86_64/configure.in: Likewise.
9646 * sysdeps/sh/configure.in: Likewise.
9647 * sysdeps/s390/s390-32/configure: Regenerated.
9648 * sysdeps/s390/s390-64/configure: Likewise.
9649 * sysdeps/x86_64/configure: Likewise.
9650 * sysdeps/sh/configure: Likewise.
9651 * sysdeps/powerpc/powerpc64/configure: Likewise.
9652 * sysdeps/powerpc/powerpc32/configure: Likewise.
9653 * sysdeps/sparc/configure: Likwise.
9654 * sysdeps/i386/configure: Likewise.
9656 * elf/dl-open.c: Comment fixes.
9658 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9660 * Makefile [CXX] (check-data): Remove.
9661 [CXX] (c++-types.data): New vpath directive.
9662 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9663 vpath. Do not allow for C++ type data being missing.
9664 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9665 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9666 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9667 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9668 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9669 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9670 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9673 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9676 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9679 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9682 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9685 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9688 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9691 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9694 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9695 definitions to architecture-specific files.
9699 * sysdeps/i386/tls-macros.h: New file.
9700 * sysdeps/powerpc/tls-macros.h: Likewise.
9701 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9702 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9703 * sysdeps/sh/tls-macros.h: Likewise.
9704 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9705 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9706 * sysdeps/x86_64/tls-macros.h: Likewise.
9708 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9710 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9711 zero value for regular exit case.
9713 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9714 (__start_context): Preserve zero value for regular exit case.
9716 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9717 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9719 * manual/setjmp.texi (setcontext): Clarify normal process
9720 termination when uc_link is the null pointer.
9721 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9724 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9726 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9727 preprocessor. Test for each exception mask separately.
9729 2012-07-16 Andreas Jaeger <aj@suse.de>
9731 * po/ru.po: Update from translation team.
9733 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9735 * conform/data/string.h-data (NULL): Use macro-constant. Require
9737 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9738 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9739 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9740 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9743 2012-07-13 Andreas Jaeger <aj@suse.de>
9745 * po/fr.po: Update from translation team.
9747 2012-07-12 Marek Polacek <polacek@redhat.com>
9750 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9751 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9754 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9758 Change to 2.4.1 where previously 2.4.0.
9759 * sysdeps/unix/sysv/linux/configure: Regenerated.
9760 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9761 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9763 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9764 (__ASSUME_AT_CLKTCK): Remove.
9765 (__ASSUME_AT_PAGESIZE): Likewise.
9766 (__ASSUME_AT_XID): Likewise.
9767 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9768 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9769 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9771 (HAVE_AUX_PAGESIZE): Likewise.
9772 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9773 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9774 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9776 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9780 the temporary buffer used to invoke __gethostbyname2_r,
9781 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9782 host_data / struct gaih_addrtuple.
9783 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9784 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9785 header file nss/nsswitch.h.
9786 * nss/nsswitch.h (global scope): Add definition of implementation
9787 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9788 resolv/nss_dns/dns-host.c).
9790 2012-07-11 Andreas Jaeger <aj@suse.de>
9792 * po/fr.po: Update from translation team.
9794 * po/sv.po: Update from translation team
9795 * po/fr.po: Another update from translation team.
9797 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9799 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9800 for subnormals or multiply small sinh result by itself.
9801 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9804 2012-07-11 David S. Miller <davem@davemloft.net>
9806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9808 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9811 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9812 (INTERNAL_MARK): Shift it here.
9814 2012-07-10 Marek Polacek <polacek@redhat.com>
9817 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9818 libc_cv_asm_global_directive with .globl.
9819 * configure: Regenerated.
9820 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9822 * sysdeps/i386/configure: Regenerated.
9823 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9825 * sysdeps/x86_64/configure: Regenerated.
9826 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9827 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9828 * elf/tst-unique2mod2.c: Likewise.
9829 * elf/tst-unique2mod1.c: Likewise.
9830 * elf/tst-unique1mod2.c: Likewise.
9831 * elf/tst-unique1mod1.c: Likewise.
9832 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9833 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9834 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9836 * sysdeps/mach/sysdep.h: Likewise.
9837 * sysdeps/i386/sysdep.h: Likewise.
9838 * sysdeps/i386/i386-mcount.S: Likewise.
9839 * sysdeps/x86_64/_mcount.S: Likewise.
9840 * sysdeps/x86_64/sysdep.h: Likewise.
9841 * sysdeps/sh/_mcount.S: Likewise.
9842 * sysdeps/sh/sysdep.h: Likewise.
9843 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9844 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9845 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9846 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9847 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9848 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9849 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9850 * locale/localeinfo.h: Likewise.
9851 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9852 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9854 2012-07-09 Roland McGrath <roland@hack.frob.com>
9857 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9859 * manual/message.texi (The Uniforum approach): Likewise.
9860 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9861 (glibc iconv Implementation): Likewise.
9863 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9866 * math/s_clog.c (__clog): Avoid scaling a value down where that
9867 could result in underflow.
9868 * math/s_clog10.c (__clog10): Likewise.
9869 * math/s_clog10f.c (__clog10f): Likewise.
9870 * math/s_clog10l.c (__clog10l): Likewise.
9871 * math/s_clogf.c (__clogf): Likewise.
9872 * math/s_clogl.c (__clogl): Likewise.
9873 * math/libm-test.inc (clog_test): Add more tests.
9874 (clog10_test): Likewise.
9875 * sysdeps/i386/fpu/libm-test-ulps: Update.
9876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9878 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9881 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9882 by 7 not 8 to examine high bit of fractional part.
9885 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9886 for call to __mcount_internal.
9887 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9888 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9889 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9891 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9894 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9895 approximation for values within 0x1p-13f of an odd multiple of
9897 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9898 exception. Add more tests.
9899 * sysdeps/i386/fpu/libm-test-ulps: Update.
9902 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9903 inputs and return -1 for them. Do not check for +Inf in case not
9905 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9906 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9907 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9908 and return -1 for them. Do not check for +Inf in case not
9910 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9913 and return -1 for them. Do not check for +Inf in case not
9915 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9917 * sysdeps/i386/fpu/libm-test-ulps: Update.
9918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9920 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9922 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9924 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9928 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9929 could result in spurious underflow. Scale down values above
9930 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9931 * math/s_csqrtf.c (__csqrtf): Likewise.
9932 * math/s_csqrtl.c (__csqrtl): Likewise.
9933 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9935 * sysdeps/i386/fpu/libm-test-ulps: Update.
9936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9938 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9940 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9942 * catgets/xopen-msg.awk: New file.
9943 * catgets/xopen-msg.sed: Removed.
9945 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9947 * intl/po2test.awk: New file.
9948 * intl/po2test.sed: Removed.
9950 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9953 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9954 or multiply small sinh result by itself.
9955 * math/s_ctanf.c (__ctanf): Likewise.
9956 * math/s_ctanh.c (__ctanh): Likewise.
9957 * math/s_ctanhf.c (__ctanhf): Likewise.
9958 * math/s_ctanhl.c (__ctanhl): Likewise.
9959 * math/s_ctanl.c (__ctanl): Likewise.
9960 * math/libm-test.inc (ctan_test_tonearest): New function.
9961 (ctan_test_towardzero): Likewise.
9962 (ctan_test_downward): Likewise.
9963 (ctan_test_upward): Likewise.
9964 (ctanh_test_tonearest): Likewise.
9965 (ctanh_test_towardzero): Likewise.
9966 (ctanh_test_downward): Likewise.
9967 (ctanh_test_upward): Likewise.
9968 (main): Call these new functions.
9969 * sysdeps/i386/fpu/libm-test-ulps: Update.
9970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9972 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9974 * .gitignore: Delete /ports entry.
9976 2012-07-03 Andreas Jaeger <aj@suse.de>
9978 * po/bg.po: Update from translation team.
9979 * po/cs.po: Likewise.
9980 * po/de.po: Likewise.
9981 * po/hr.po: Likewise.
9982 * po/nl.pl: Likewise.
9983 * po/pl.po: Likewise.
9984 * po/vi.po: Likewise.
9986 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9988 * Makeconfig [!+link] (+link-before-libc): New variable.
9989 [!+link] (+link-after-libc): Likewise.
9990 [!+link] (+link-tests): Likewise.
9991 [!+link] (+link): Define in terms of $(+link-before-libc) and
9992 $(+link-after-libc).
9993 [!+link-static] (+link-static-before-libc): New variable.
9994 [!+link-static] (+link-static-after-libc): Likewise.
9995 [!+link-static] (+link-static-tests): Likewise.
9996 [!+link-static] (+link-static): Define in terms of
9997 $(+link-static-before-libc) and $(+link-static-after-libc).
9998 [build-shared] (link-libc-before-gnulib): New variable.
9999 [build-shared] (link-libc-tests): Likewise.
10000 [build-shared] (link-libc): Define in terms of
10001 $(link-libc-before-gnulib).
10002 [!build-shared] (link-libc-tests): New variable.
10003 (link-libc-static-tests): New variable.
10004 [!gnulib] (gnulib-arch): New variable.
10005 [!gnulib] (gnulib-tests): Likewise.
10006 [!gnulib] (static-gnulib-arch): Likewise.
10007 [!gnulib] (static-gnulib-tests): Likewise.
10008 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10009 Define with "=" instead of ":=".
10010 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10011 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10012 * Rules (binaries-all-notests): New variable.
10013 (binaries-all-tests): Likewise.
10014 (binaries-static-notests): Likewise.
10015 (binaries-static-tests): Likewise.
10016 (binaries-all): Define using $(binaries-all-notests) and
10017 $(binaries-all-tests).
10018 (binaries-static): Define using $(binaries-static-notests) and
10019 $(binaries-static-tests).
10020 (binaries-shared-tests): New variable.
10021 (binaries-shared-notests): Likewise.
10022 (binaries-shared): Remove variable.
10023 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10024 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10025 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10026 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10027 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10028 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10029 * elf/Makefile (sln-modules): New variable.
10030 (extra-objs): Add $(sln-modules:=.o).
10031 (ldconfig-modules): Add static-stubs.
10032 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10033 * elf/static-stubs.c: New file.
10036 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10037 by 7 not 8 to examine high bit of fractional part. Use volatile
10038 variables when splitting into final array of floats if
10039 __FLT_EVAL_METHOD__ != 0.
10040 * math/libm-test.inc (cos_test): Add another test.
10041 (sin_test): Likewise.
10042 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * math/libm-test.inc (cosh_test): Add more tests.
10047 * version.h (RELEASE): Set to "development".
10048 (VERSION): Set to "2.16.90".
10050 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10052 * NEWS: Update copyright. Remove last-updated date.
10053 Mention math library bug fixes and timezone data changes.
10054 * README: Mention GNU/Hurd, x32, and HPPA support status.
10056 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10058 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10060 2012-06-27 Andreas Jaeger <aj@suse.de>
10062 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10064 2012-06-25 Andreas Jaeger <aj@suse.de>
10066 * sysdeps/s390/fpu/libm-test-ulps: Update.
10068 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10069 Thomas Schwinge <thomas@codesourcery.com>
10071 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10072 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10076 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10078 * sysdeps/mach/start.c: Remove file.
10079 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10080 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10081 * sysdeps/sh/init-first.c: Likewise.
10083 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10084 registers for frame unwinding purposes, add CFI directives.
10085 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10087 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10090 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10091 __fortify_fail returning.
10092 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10094 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10095 sysdeps/sh/____longjmp_chk.S.
10096 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10097 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10098 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10099 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10101 * sysdeps/sh/abort-instr.h: New file.
10102 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10103 process in case exit returns.
10105 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10106 initialize the GOT register before use.
10108 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10109 calculation of ARGC > 4.
10111 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10112 meaningful names to some local labels.
10114 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10115 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10117 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10118 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10119 (__arch_compare_and_exchange_val_16_acq): Likewise.
10120 (__arch_compare_and_exchange_val_32_acq): Likewise.
10121 (atomic_exchange_and_add): Fix gUSA sequence.
10122 (atomic_add): Likewise.
10123 (atomic_add_negative): Likewise.
10124 (atomic_add_zero): Likewise.
10125 (atomic_bit_test_set): Likewise.
10127 2012-06-22 Andreas Schwab <schwab@redhat.com>
10130 * include/link.h (struct link_map): Add l_free_initfini.
10131 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10133 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10134 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10135 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10138 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10140 * configure.in: Use AC_LANG_SOURCE.
10141 * configure: Regenerate.
10143 2012-06-22 Roland McGrath <roland@hack.frob.com>
10145 * configure.in (libc_cv_localstatedir): New substituted variable.
10146 * configure: Regenerated.
10147 * config.make.in (localstatedir): New variable, substituted from
10148 libc_cv_localstatedir.
10149 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10150 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10151 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10152 * sysdeps/gnu/configure: Regenerated.
10154 2012-06-21 Jeff Law <law@redhat.com>
10157 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10158 free. Simplify list management for _LIBC case.
10160 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10164 Clear sign bit of 64-bit integer value before comparing against
10167 * sysdeps/mach/configure: Regenerated.
10169 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10172 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10174 2012-06-21 Jeff Law <law@redhat.com>
10177 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10178 uint16_t for elements in the "seen" array to avoid char overflows.
10179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10180 * elf/dl-open.c (dl_open_worker): Likewise.
10182 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10184 * scripts/list-sources.sh: Scan PORTS for translations.
10185 * po/libc.pot: Regenerated.
10187 2012-06-21 Andreas Jaeger <aj@suse.de>
10190 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10192 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10193 * bits/byteswap-16.h (__bswap_16): Likewise.
10194 * bits/byteswap.h (__bswap_constant_16): Likewise.
10196 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10199 * sysdeps/i386/fpu_control.h: Removed.
10200 * sysdeps/x86_64/fpu_control.h: Moved to ...
10201 * sysdeps/x86/fpu_control.h: Here.
10203 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10204 (_FPU_SETCW): Likewise.
10206 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10209 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10210 * sysdeps/x86/fpu/bits/mathinline.h: This.
10211 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10215 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10216 functions if __x86_64__ is defined.
10218 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10220 * string/endian.h: Add !__ASSEMBLER__ condition for including
10221 conversion interfaces.
10223 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10227 of ABS(x) in calculating zero to negative powers other than odd
10229 * math/libm-test.inc (pow_test): Add more tests.
10231 2012-06-15 Andreas Jaeger <aj@suse.de>
10233 * manual/contrib.texi (Contributors): Update entry of Liubov
10234 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10237 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10239 * string/string.h: Add __wur to GNU version of strerror_r.
10241 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10244 * string/Makefile (tests): Add tst-strtok_r.
10245 * string/tst-strtok_r.c: New file.
10246 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10247 RAX_LP/RDX_LP on SAVE_PTR.
10249 2012-06-14 Roland McGrath <roland@hack.frob.com>
10251 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10253 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10255 * libm_test.inc (csqrt_test): Allow more spurious underflow
10257 (j0_test): Likewise.
10258 (j1_test): Likewise.
10259 (y0_test): Likewise.
10260 (y1_test): Likewise.
10262 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10264 * po/Makefile (libc.pot): Use UTF-8 charset.
10266 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10269 Suppress sign-conversion warning from FD_SET.
10270 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10271 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10272 not unsigned long int.
10273 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10275 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10279 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10280 __extern_always_inline instead of __extern_inline.
10281 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10282 (__signbit): Likewise.
10283 (__signbitl): Support C++ namespace.
10284 (lrintf): New inline function.
10286 (llrintf): Likewise.
10287 (llrint): Likewise.
10297 (floorf): Likewise.
10298 (nearbyint): Likewise.
10299 (nearbyintf): Likewise.
10301 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10303 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10304 non-default versions.
10306 2012-06-11 Roland McGrath <roland@hack.frob.com>
10309 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10311 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10313 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10314 (FE_UPWARD, FE_DOWNWARD): Don't define.
10315 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10316 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10318 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10320 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10323 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10325 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10327 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10328 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10330 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10333 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10334 * sysdeps/i386/fpu/Implies: New file.
10335 * sysdeps/x86_64/fpu/Implies: Likewise.
10336 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10337 * sysdeps/x86/fpu/bits/fenv.h: This.
10339 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10342 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10345 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10346 character 0xffff that matches the last element of the
10349 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10354 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10357 values higher than 25.6283.
10359 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10362 subnormal exponent extraction and add some __builtin_expect.
10363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10364 Fix for subnormal mantissa calculation.
10366 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10368 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10369 cpu2 is -1 and errno is not ENOSYS.
10371 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10374 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10375 * sysdeps/x86/bits/string.h: This.
10376 * sysdeps/x86_64/bits/string.h: Removed.
10378 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10379 if not compiling for x86-64, but compiling for >= i486.
10381 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10382 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10384 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10385 New macro from Linux kernel 3.4.0.
10386 (FP_XSTATE_MAGIC2): Likewise.
10387 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10388 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10389 (struct _fpx_sw_bytes): New struct.
10390 (struct _xsave_hdr): Likewise.
10391 (struct _ymmh_state): Likewise.
10392 (struct _xstate): Likewise.
10394 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10395 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10397 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10398 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10399 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10401 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10402 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10403 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10404 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10405 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10406 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10408 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10411 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10412 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10413 (sysdep_headers): Include sys/platform/ppc.h.
10414 * sysdeps/powerpc/test-gettimebase.c: Test for
10415 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10416 * manual/Makefile (appendices): Include platform.texi.
10417 * manual/contrib.texi (Contributors): Update @node pointers.
10418 * manual/maint.texi (Maintenance): Likewise.
10419 (Platform): New node.
10420 * manual/platform.texi: New file. Document the new features.
10422 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10423 Jakub Jelinek <jakub@redhat.com>
10426 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10427 where __builtin_expect is unavailable.
10429 2012-06-03 David S. Miller <davem@davemloft.net>
10431 * stdlib/longlong.h: Updated from GCC.
10433 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10436 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10437 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10440 (GLIBC_2.16): Likewise.
10442 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10444 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10446 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10449 (default-abi): New variable.
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10451 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10453 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10455 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10457 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10460 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10461 definition. Document in comment.
10463 2012-06-01 David S. Miller <davem@davemloft.net>
10465 * stdlib/longlong.h: Updated from GCC.
10467 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10470 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10471 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10472 sys/debugreg.h sys/io.h here.
10473 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10474 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10476 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10477 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10478 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10479 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10480 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10481 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10483 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10484 Define only if __x86_64__ is defined.
10486 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10489 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10490 Use int64_t for variable i.
10491 * math/libm-test.inc (fmod_test): Add more tests.
10493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10494 z computation is not scheduled after fetestexcept.
10495 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10496 Use math_force_eval instead of asm to ensure calculation scheduled
10497 before exception test.
10498 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10499 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10501 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10504 computation is not scheduled after fetestexcept.
10506 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10509 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10510 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10512 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10514 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10515 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10517 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10520 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10522 (__WCHAR_MIN): Support __WORDSIZE == 64.
10523 (__WCHAR_MAX): Likewise.
10525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10530 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10533 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10534 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10536 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10537 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10539 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10540 Defined to 1 if __x86_64__ isn't defined.
10541 (_STAT_VER_LINUX_OLD): New.
10542 (st_atime): Remove duplicate.
10543 (st_mtime): Likewise.
10544 (st_ctime): Likewise.
10546 2012-05-31 David S. Miller <davem@davemloft.net>
10548 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10551 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10553 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10557 * elf/dl-reloc.c: Include <_itoa.h>.
10558 (_dl_reloc_bad_type): Remove use of INTUSE.
10559 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10560 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10561 * stdio-common/psiginfo.c (psiginfo): Likewise.
10562 * stdio-common/psignal.c (psignal): Likewise.
10563 * string/strsignal.c (strsignal): Likewise.
10564 * include/signal.h (_sys_siglist): Declare hidden proto.
10565 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10566 INTVARDEF with libc_hidden_data_def.
10567 * stdio-common/itoa-udigits.c: Likewise.
10568 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10569 (_itoa_lower_digits_internal): Remove declaration.
10570 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10571 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10572 (_sys_sigabbrev_internal): Remove aliases.
10573 (_sys_siglist): Define hidden alias.
10575 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10580 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10583 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10584 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10586 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10587 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10588 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10589 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10591 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10593 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10594 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10595 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10597 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10605 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10607 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10609 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10610 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10612 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10613 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10614 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10616 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10617 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10619 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10620 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10624 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10626 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10627 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10629 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10631 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10632 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10633 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10635 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10637 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10639 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10641 * math/math.h (M_El): Use two more decimal places.
10642 (M_LOG2El): Likewise.
10643 (M_LOG10El): Likewise.
10644 (M_LN2l): Likewise.
10645 (M_LN10l): Likewise.
10647 (M_PI_2l): Likewise.
10648 (M_PI_4l): Likewise.
10649 (M_1_PIl): Likewise.
10650 (M_2_PIl): Likewise.
10651 (M_2_SQRTPIl): Likewise.
10652 (M_SQRT2l): Likewise.
10653 (M_SQRT1_2l): Likewise.
10655 2012-05-31 David S. Miller <davem@davemloft.net>
10657 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10658 values between float registers.
10659 * sysdeps/sparc/sparc64/memset.S: Likewise.
10660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10662 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10664 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10665 -D_FORTIFY_SOURCE=1.
10666 (CPPFLAGS-tst-longjmp_chk.c): Define.
10667 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10668 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10669 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10670 CFLAGS-tst-wchar-h.c.
10672 2012-05-31 Marek Polacek <polacek@redhat.com>
10675 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10676 __endmntent_internal): Remove declaration.
10677 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10678 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10679 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10681 2012-05-30 David S. Miller <davem@davemloft.net>
10683 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10684 (___Q_simulate_exceptions): Use real FP ops rather than writing
10686 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10689 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10692 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10693 * sysdeps/x86/bits/xtitypes.h: This.
10695 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10696 * sysdeps/x86/bits/wordsize.h: This.
10698 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10699 * sysdeps/x86/bits/huge_vall.h: This.
10701 * sysdeps/i386/bits/select.h: Removed.
10702 * sysdeps/x86_64/bits/select.h: Renamed to ...
10703 * sysdeps/x86/bits/select.h: This.
10705 * sysdeps/i386/bits/setjmp.h: Removed.
10706 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10707 * sysdeps/x86/bits/setjmp.h: This.
10709 * sysdeps/i386/bits/mathdef.h: Removed.
10710 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10711 * sysdeps/x86/bits/mathdef.h: This.
10713 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10716 * include/sys/socket.h (__connect_internal)
10717 (__libc_sa_len_internal): Remove declaration.
10718 (__connect, __libc_sa_len): Declare hidden_proto.
10719 (SA_LEN): Remove use of INTUSE.
10720 * socket/connect.c: Add libc_hidden_def.
10721 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10722 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10723 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10725 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10726 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10727 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10728 of adding _internal alias.
10730 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10733 * sysdeps/i386/bits/link.h: Removed.
10734 * sysdeps/i386/bits/linkmap.h: Likewise.
10735 * sysdeps/x86_64/bits/link.h: Renamed to ...
10736 * sysdeps/x86/bits/link.h: This.
10737 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10738 * sysdeps/x86/bits/linkmap.h: This.
10740 * sysdeps/i386/bits/endian.h: Removed.
10741 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10742 * sysdeps/x86/bits/endian.h: This.
10744 * sysdeps/i386/bits/byteswap.h: Removed.
10745 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10746 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10747 * sysdeps/x86/bits/byteswap.h: This.
10748 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10749 * sysdeps/x86/bits/byteswap-16.h: This.
10750 * sysdeps/i386/Implies: Add x86.
10751 * sysdeps/x86_64/Implies: Likewise.
10753 2012-05-30 David S. Miller <davem@davemloft.net>
10755 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10756 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10757 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10758 (FP_TRAPPING_EXCEPTIONS): Define.
10759 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10760 (FP_TRAPPING_EXCEPTIONS): Define.
10761 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10762 subnormals only when inexact has been signalled or underflow
10763 exceptions are enabled.
10764 (_FP_PACK_CANONICAL): Likewise.
10766 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10769 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10770 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10772 2012-05-30 Richard Henderson <rth@twiddle.net>
10774 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10775 with #ifndef NOT_IN_libc.
10777 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10778 marked to avoid plt entry.
10780 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10783 * Makeconfig (default-abi): New macro.
10784 (abi-includes): Likewise.
10785 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10786 $(abi-$(default-abi)-lib-soname) for soname if defined.
10787 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10789 * Makefile (installed-stubs): Likewise.
10790 * include/stubs-biarch.h: Removed.
10791 * scripts/lib-names.awk: Only handle one library at a time.
10792 * scripts/soversions.awk: Remove WORDSIZE support.
10793 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10795 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10797 (syscall-list-default-condition): Likewise.
10798 (syscall-list-default-condition): Likewise.
10799 (syscall-list-includes): Likewise.
10800 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10801 syscall-list-* with abi-*. Handle undefined abi-variants.
10802 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10803 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10804 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10805 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10806 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10807 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10809 (syscall-list-32-options): Likewise.
10810 (syscall-list-32-condition): Likewise.
10811 (syscall-list-64-options): Likewise.
10812 (syscall-list-64-condition): Likewise.
10813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10815 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10818 (abi-64-ld-soname): New macro.
10819 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10820 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10823 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10824 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10826 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10828 * sysdeps/unix/sysv/linux/kernel-features.h
10829 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10830 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10831 include <kernel-features.h>.
10832 [!__NR_ftruncate64]: Remove conditional code.
10833 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10834 [__NR_ftruncate64]: Make code unconditional.
10835 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10836 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10837 include <kernel-features.h>.
10838 [!__NR_ftruncate64]: Remove conditional code.
10839 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10840 [__NR_ftruncate64]: Make code unconditional.
10841 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10843 include <kernel-features.h>.
10844 [!__NR_ftruncate64]: Remove conditional code.
10845 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10846 [__NR_ftruncate64]: Make code unconditional.
10847 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10849 include <kernel-features.h>.
10850 [!__NR_ftruncate64]: Remove conditional code.
10851 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10852 [__NR_ftruncate64]: Make code unconditional.
10853 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10855 * configure.in (libc_cv_fpie): Weaken to a compile test using
10856 LIBC_TRY_CC_OPTION.
10857 * configure: Regenerated.
10859 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10874 2012-05-27 David S. Miller <davem@davemloft.net>
10876 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10878 (__Q_simulate_exceptions): Return void. Change to simulate
10879 exceptions by writing into the %fsr.
10880 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10881 (__Qp_handle_exceptions): Likewise.
10883 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10884 __Qp_handle_exceptions.
10885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10886 __Qp_handle_exceptions.
10887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10888 as unused and give dummy FP_RND_NEAREST initializer.
10889 (FP_INHIBIT_RESULTS): Define.
10890 (___Q_simulate_exceptions): Update declaration.
10891 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10893 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10894 as unused and give dummy FP_RND_NEAREST initializer.
10895 (__Qp_handle_exceptions): Update declaration.
10896 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10899 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10901 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10902 the temporary FPU control word.
10903 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10904 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10905 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10906 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10907 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10908 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10909 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10910 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10911 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10912 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10913 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10915 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10917 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10920 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10922 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10923 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10924 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10925 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10927 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10928 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10931 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10933 * po/h.po: Update from translation team.
10935 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10937 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10939 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10940 handling of denormals.
10941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10942 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10943 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10944 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10950 2012-05-26 Marek Polacek <polacek@redhat.com>
10953 * math/libm-test.inc (fma_test): Don't always expect underflow
10956 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10959 * elf/tst-execstack.c: Include stackinfo.h.
10960 (do_test): Adjust test case to ensure that pthread_getattr_np
10961 behaviour remains the same after marking stack executable.
10963 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10965 * sysdeps/unix/sysv/linux/kernel-features.h
10966 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10967 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10969 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10970 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10971 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10973 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10974 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10976 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10978 * configure.in: Define the default includes to being none.
10979 * configure: Regenerated.
10981 2012-05-25 Roland McGrath <roland@hack.frob.com>
10983 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10984 * sysdeps/x86_64/setjmp.S: Likewise.
10985 * sysdeps/i386/bsd-setjmp.S: Likewise.
10986 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10987 * sysdeps/i386/setjmp.S: Likewise.
10988 * sysdeps/i386/__longjmp.S: Likewise.
10989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10990 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10992 * include/stap-probe.h: New file.
10993 * configure.in: Handle --enable-systemtap.
10994 * configure: Regenerated.
10995 * config.h.in (USE_STAP_PROBE): New #undef.
10996 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10997 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10998 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11000 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11004 to 2.4.0 where earlier.
11005 * sysdeps/unix/sysv/linux/configure: Regenerated.
11006 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11007 <kernel-features.h>.
11008 [__ASSUME_32BITUIDS]: Make code unconditional.
11009 [!__ASSUME_32BITUIDS]: Remove conditional code.
11010 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11011 <kernel-features.h>.
11012 [__ASSUME_32BITUIDS]: Make code unconditional.
11013 [!__ASSUME_32BITUIDS]: Remove conditional code.
11014 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11015 [__ASSUME_32BITUIDS]: Make code unconditional.
11016 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11017 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11018 <kernel-features.h>.
11019 [__ASSUME_32BITUIDS]: Make code unconditional.
11020 [!__ASSUME_32BITUIDS]: Remove conditional code.
11021 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11022 <kernel-features.h>.
11023 [__ASSUME_32BITUIDS]: Make code unconditional.
11024 [!__ASSUME_32BITUIDS]: Remove conditional code.
11025 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11026 <kernel-features.h>.
11027 [__ASSUME_32BITUIDS]: Make code unconditional.
11028 [!__ASSUME_32BITUIDS]: Remove conditional code.
11029 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11030 <kernel-features.h>.
11031 [__ASSUME_32BITUIDS]: Make code unconditional.
11032 [!__ASSUME_32BITUIDS]: Remove conditional code.
11033 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11034 <kernel-features.h>.
11035 [__ASSUME_32BITUIDS]: Make code unconditional.
11036 [!__ASSUME_32BITUIDS]: Remove conditional code.
11037 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11038 <kernel-features.h>.
11039 [__ASSUME_32BITUIDS]: Make code unconditional.
11040 [!__ASSUME_32BITUIDS]: Remove conditional code.
11041 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11042 <kernel-features.h>.
11043 [__ASSUME_32BITUIDS]: Make code unconditional.
11044 [!__ASSUME_32BITUIDS]: Remove conditional code.
11045 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11046 <kernel-features.h>.
11047 [__ASSUME_32BITUIDS]: Make code unconditional.
11048 [!__ASSUME_32BITUIDS]: Remove conditional code.
11049 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11050 <kernel-features.h>.
11051 [__ASSUME_32BITUIDS]: Make code unconditional.
11052 [!__ASSUME_32BITUIDS]: Remove conditional code.
11053 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11054 <kernel-features.h>.
11055 [__ASSUME_32BITUIDS]: Make code unconditional.
11056 [!__ASSUME_32BITUIDS]: Remove conditional code.
11057 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11058 <kernel-features.h>.
11059 [__NR_setresgid] (__setresgid): Do not declare.
11060 [__ASSUME_32BITUIDS]: Make code unconditional.
11061 [!__ASSUME_32BITUIDS]: Remove conditional code.
11062 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11063 <kernel-features.h>.
11064 [__NR_setresuid] (__setresuid): Do not declare.
11065 [__ASSUME_32BITUIDS]: Make code unconditional.
11066 [!__ASSUME_32BITUIDS]: Remove conditional code.
11067 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11068 <kernel-features.h>.
11069 [__ASSUME_32BITUIDS]: Make code unconditional.
11070 [!__ASSUME_32BITUIDS]: Remove conditional code.
11071 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11072 <kernel-features.h>.
11073 [__ASSUME_32BITUIDS]: Make code unconditional.
11074 [!__ASSUME_32BITUIDS]: Remove conditional code.
11075 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11076 <kernel-features.h>.
11077 [__ASSUME_32BITUIDS]: Make code unconditional.
11078 [!__ASSUME_32BITUIDS]: Remove conditional code.
11079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11080 <kernel-features.h>.
11081 [__ASSUME_32BITUIDS]: Make code unconditional.
11082 [!__ASSUME_32BITUIDS]: Remove conditional code.
11083 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11084 <kernel-features.h>.
11085 [__ASSUME_32BITUIDS]: Make code unconditional.
11086 [!__ASSUME_32BITUIDS]: Remove conditional code.
11087 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11088 <kernel-features.h>.
11089 [__ASSUME_32BITUIDS]: Make code unconditional.
11090 [!__ASSUME_32BITUIDS]: Remove conditional code.
11091 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11092 <kernel-features.h>.
11093 [__ASSUME_32BITUIDS]: Make code unconditional.
11094 [!__ASSUME_32BITUIDS]: Remove conditional code.
11095 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11096 <kernel-features.h>.
11097 [__ASSUME_32BITUIDS]: Make code unconditional.
11098 [!__ASSUME_32BITUIDS]: Remove conditional code.
11099 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11100 <kernel-features.h>.
11101 [__ASSUME_32BITUIDS]: Make code unconditional.
11102 [!__ASSUME_32BITUIDS]: Remove conditional code.
11103 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11104 <kernel-features.h>.
11105 [__ASSUME_32BITUIDS]: Make code unconditional.
11106 [!__ASSUME_32BITUIDS]: Remove conditional code.
11107 * sysdeps/unix/sysv/linux/kernel-features.h
11108 (__ASSUME_SETRESUID_SYSCALL): Remove.
11109 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11110 (__ASSUME_32BITUIDS): Likewise.
11111 (__ASSUME_LDT_WORKS): Likewise.
11112 (__ASSUME_O_DIRECTORY): Likewise.
11113 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11114 architecture but not kernel version.
11115 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11116 (__ASSUME_MMAP2_SYSCALL): Likewise.
11117 (__ASSUME_STAT64_SYSCALL): Likewise.
11118 (__ASSUME_IPC64): Likewise.
11119 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11120 <kernel-features.h>.
11121 [__ASSUME_32BITUIDS]: Make code unconditional.
11122 [!__ASSUME_32BITUIDS]: Remove conditional code.
11123 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11124 <kernel-features.h>.
11125 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11126 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11127 132096]: Remove conditional code.
11128 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11129 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11130 <kernel-features.h>.
11131 [__ASSUME_32BITUIDS]: Make code unconditional.
11132 [!__ASSUME_32BITUIDS]: Remove conditional code.
11133 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11134 <kernel-features.h>.
11135 [__ASSUME_32BITUIDS]: Make code unconditional.
11136 [!__ASSUME_32BITUIDS]: Remove conditional code.
11137 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11138 <kernel-features.h>.
11139 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11141 (__setresgid): Do not declare.
11142 [__ASSUME_32BITUIDS]: Make code unconditional.
11143 [!__ASSUME_32BITUIDS]: Remove conditional code.
11144 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11145 <kernel-features.h>.
11146 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11148 (__setresuid): Do not declare.
11149 [__ASSUME_32BITUIDS]: Make code unconditional.
11150 [!__ASSUME_32BITUIDS]: Remove conditional code.
11151 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11152 <kernel-features.h>.
11153 [__ASSUME_32BITUIDS]: Make code unconditional.
11154 [!__ASSUME_32BITUIDS]: Remove conditional code.
11155 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11156 <kernel-features.h>.
11157 [__ASSUME_32BITUIDS]: Make code unconditional.
11158 [!__ASSUME_32BITUIDS]: Remove conditional code.
11160 2012-05-25 Richard Henderson <rth@twiddle.net>
11162 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11163 dl_hwcap to ifunc resolver.
11164 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11166 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11167 dl_hwcap to ifunc resolver.
11168 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11170 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11173 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11174 for |x| <= 2**-26, not 2**-57.
11175 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11178 2012-05-24 Jeff Law <law@redhat.com>
11180 * stdio-common/Makefile (tests): Add bug25.
11181 * stdio-common/bug25.c: New test.
11183 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11186 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11187 multiple of MALLOC_ALIGNMENT in size.
11188 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11190 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11192 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11194 (FILENAME_MAX): Use macro-int-constant.
11195 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11196 (_IOFBF): Use macro-int-constant.
11197 (_IOLBF): Likewise.
11198 (_IONBF): Likewise.
11199 (SEEK_CUR): Likewise.
11200 (SEEK_END): Likewise.
11201 (SEEK_SET): Likewise.
11202 (TMP_MAX): Likewise.
11203 (EOF): Use macro-int-constant. Require < 0.
11204 (NULL): Use macro-constant. Require == 0.
11205 (stdin): Require type to be FILE *.
11206 (stdout): Likewise.
11207 (stderr): Likewise.
11208 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11209 macro-int-constant.
11210 (EXIT_SUCCESS): Likewise.
11211 (NULL): Use macro-constant. Require == 0.
11212 (RAND_MAX): Use macro-int-constant.
11213 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11214 [C99-based standards] (strtof): Require function.
11215 [C99-based standards] (strtold): Likewise.
11216 [C99-based standards] (strtoll): Likewise.
11217 [C99-based standards] (strtoull): Likewise.
11218 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11219 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11220 [ISO || ISO99 || ISO11] (math.h): Likewise.
11221 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11225 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11228 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11229 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11230 * intl/dgettext.c (DCGETTEXT): Likewise.
11231 * intl/gettext.c (DCGETTEXT): Likewise.
11232 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11233 * posix/regex_internal.h (gettext): Likewise.
11234 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11235 Remove declaration.
11236 * include/argz.h (__argz_count_internal)
11237 (__argz_stringify_internal): Remove declaration.
11238 (__argz_count, __argz_stringify): Declare hidden proto.
11239 * intl/dcgettext.c: Remove use of INTDEF.
11240 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11241 * string/argz-stringify.c: Likewise.
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/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11246 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11247 Declare hidden proto.
11248 * include/stdio.h (__asprintf_internal): Don't declare.
11249 (__asprintf): Don't define as macro. Declare hidden proto.
11250 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11251 (__fsetlocking): Declare hidden proto.
11252 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11253 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11255 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11256 (_IO_setlinebuf): Remove use of INTUSE.
11257 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11258 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11259 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11260 Remove declaration.
11261 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11262 (_IO_do_flush): Remove use of INTUSE.
11263 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11264 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11265 (_IO_adjust_column, _IO_least_wmarker)
11266 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11267 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11268 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11269 (_IO_default_doallocate, _IO_wdefault_doallocate)
11270 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11271 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11272 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11273 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11274 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11275 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11276 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11277 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11278 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11279 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11280 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11281 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11282 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11284 (_IO_flush_all_internal, _IO_adjust_column_internal)
11285 (_IO_default_uflow_internal, _IO_default_finish_internal)
11286 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11287 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11288 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11289 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11290 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11291 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11292 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11293 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11294 (_IO_file_close_internal, _IO_file_close_it_internal)
11295 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11296 (_IO_file_init_internal, _IO_file_attach_internal)
11297 (_IO_file_fopen_internal, _IO_file_read_internal)
11298 (_IO_file_sync_internal, _IO_file_seek_internal)
11299 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11300 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11301 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11302 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11303 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11304 (_IO_list_all_internal, _IO_link_in_internal)
11305 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11306 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11307 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11308 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11309 (_IO_do_write_internal, _IO_padn_internal)
11310 (_IO_getline_info_internal, _IO_getline_internal)
11311 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11312 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11313 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11314 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11315 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11316 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11317 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11318 with libc_hidden_ver, remove use of INTUSE.
11319 * libio/genops.c: Likewise.
11320 * libio/freopen.c: Likewise.
11321 * libio/freopen64.c: Likewise.
11322 * libio/iofclose.c: Likewise.
11323 * libio/iofdopen.c: Likewise.
11324 * libio/iofflush.c: Likewise.
11325 * libio/iofflush_u.c: Likewise.
11326 * libio/iofgets.c: Likewise.
11327 * libio/iofgets_u.c: Likewise.
11328 * libio/iofopen.c: Likewise.
11329 * libio/iofopncook.c: Likewise.
11330 * libio/iofread.c: Likewise.
11331 * libio/iofread_u.c: Likewise.
11332 * libio/ioftell.c: Likewise.
11333 * libio/iofwrite.c: Likewise.
11334 * libio/iogetline.c: Likewise.
11335 * libio/iogets.c: Likewise.
11336 * libio/iogetwline.c: Likewise.
11337 * libio/iopadn.c: Likewise.
11338 * libio/iopopen.c: Likewise.
11339 * libio/ioseekoff.c: Likewise.
11340 * libio/ioseekpos.c: Likewise.
11341 * libio/iosetbuffer.c: Likewise.
11342 * libio/iosetvbuf.c: Likewise.
11343 * libio/ioungetc.c: Likewise.
11344 * libio/ioungetwc.c: Likewise.
11345 * libio/iovdprintf.c: Likewise.
11346 * libio/iovsprintf.c: Likewise.
11347 * libio/iovsscanf.c: Likewise.
11348 * libio/memstream.c: Likewise.
11349 * libio/obprintf.c: Likewise.
11350 * libio/oldfileops.c: Likewise.
11351 * libio/oldiofclose.c: Likewise.
11352 * libio/oldiofdopen.c: Likewise.
11353 * libio/oldiofopen.c: Likewise.
11354 * libio/oldiopopen.c: Likewise.
11355 * libio/oldstdfiles.c: Likewise.
11356 * libio/putc.c: Likewise.
11357 * libio/setbuf.c: Likewise.
11358 * libio/setlinebuf.c: Likewise.
11359 * libio/stdfiles.c: Likewise.
11360 * libio/strops.c: Likewise.
11361 * libio/vasprintf.c: Likewise.
11362 * libio/vscanf.c: Likewise.
11363 * libio/vsnprintf.c: Likewise.
11364 * libio/vswprintf.c: Likewise.
11365 * libio/wfiledoalloc.c: Likewise.
11366 * libio/wfileops.c: Likewise.
11367 * libio/wgenops.c: Likewise.
11368 * libio/wmemstream.c: Likewise.
11369 * libio/wstrops.c: Likewise.
11370 * libio/__fpurge.c: Likewise.
11371 * libio/__fsetlocking.c: Likewise.
11372 * assert/assert.c: Likewise.
11373 * debug/fgets_chk.c: Likewise.
11374 * debug/fgets_u_chk.c: Likewise.
11375 * debug/fread_chk.c: Likewise.
11376 * debug/fread_u_chk.c: Likewise.
11377 * debug/gets_chk.c: Likewise.
11378 * debug/obprintf_chk.c: Likewise.
11379 * debug/vasprintf_chk.c: Likewise.
11380 * debug/vdprintf_chk.c: Likewise.
11381 * debug/vsnprintf_chk.c: Likewise.
11382 * debug/vsprintf_chk.c: Likewise.
11383 * malloc/mtrace.c: Likewise.
11384 * misc/error.c: Likewise.
11385 * misc/syslog.c: Likewise.
11386 * stdio-common/asprintf.c: Likewise.
11387 * stdio-common/fxprintf.c: Likewise.
11388 * stdio-common/getw.c: Likewise.
11389 * stdio-common/isoc99_fscanf.c: Likewise.
11390 * stdio-common/isoc99_scanf.c: Likewise.
11391 * stdio-common/isoc99_vfscanf.c: Likewise.
11392 * stdio-common/isoc99_vscanf.c: Likewise.
11393 * stdio-common/isoc99_vsscanf.c: Likewise.
11394 * stdio-common/printf-prs.c: Likewise.
11395 * stdio-common/printf_fp.c: Likewise.
11396 * stdio-common/printf_fphex.c: Likewise.
11397 * stdio-common/printf_size.c: Likewise.
11398 * stdio-common/putw.c: Likewise.
11399 * stdio-common/scanf.c: Likewise.
11400 * stdio-common/sprintf.c: Likewise.
11401 * stdio-common/tmpfile.c: Likewise.
11402 * stdio-common/vfprintf.c: Likewise.
11403 * stdio-common/vfscanf.c: Likewise.
11404 * stdlib/strfmon_l.c: Likewise.
11405 * sunrpc/openchild.c: Likewise.
11406 * sunrpc/xdr_stdio.c: Likewise.
11407 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11408 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11410 2012-05-24 Roland McGrath <roland@hack.frob.com>
11412 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11414 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11415 in the third column, to generate for the shared library an IFUNC
11416 that uses _dl_vdso_vsym.
11417 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11418 * Makeconfig (object-suffixes-noshared): New variable.
11420 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11421 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11422 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11423 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11426 * include/sys/time.h (__gettimeofday): Remove macro.
11427 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11428 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11430 (__gettimeofday): Add libc_hidden_def.
11431 (gettimeofday): Add libc_hidden_weak.
11432 * sysdeps/mach/gettimeofday.c: Likewise.
11433 * sysdeps/posix/gettimeofday.c: Likewise.
11434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11435 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11436 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11437 (__gettimeofday_internal): Remove strong_alias.
11438 (__gettimeofday): Add libc_hidden_def.
11439 (gettimeofday): Add libc_hidden_weak.
11440 * sysdeps/unix/syscalls.list (gettimeofday):
11441 Remove __gettimeofday_internal alias.
11443 2012-05-24 Daniel Jacobowitz <drow@false.org>
11444 H.J. Lu <hongjiu.lu@intel.com>
11447 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11448 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11449 (largebin_index_32_big): New.
11450 (largebin_index): Use it for 16-byte alignment.
11451 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11452 correction with front_misalign.
11454 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11482 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11483 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11485 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11489 * math/libm-test.inc (exp_test): Add test from bug 14036.
11490 (pow_test): Add test from bug 10846.
11492 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11494 (special_function): Do not include flags in test name.
11495 (parse_args): Likewise.
11496 * sysdeps/i386/fpu/libm-test-ulps: Update.
11497 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11498 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11499 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11502 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11504 * math/libm-test.inc ("Philosophy"): Update comment about
11506 (UNDERFLOW_EXCEPTION): New macro.
11507 (UNDERFLOW_EXCEPTION_OK): Likewise.
11508 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11509 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11510 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11511 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11512 (INVALID_EXCEPTION_OK): Update value.
11513 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11514 (OVERFLOW_EXCEPTION_OK): Likewise.
11515 (IGNORE_ZERO_INF_SIGN): Likewise.
11516 (test_exceptions): Handle underflow exceptions.
11517 (acos_test): Update for underflow exception expectations.
11518 (cexp_test): Likewise.
11519 (clog_test): Likewise.
11520 (clog10_test): Likewise.
11521 (csqrt_test): Likewise.
11522 (ctan_test): Likewise.
11523 (ctanh_test): Likewise.
11524 (exp_test): Likewise.
11525 (exp10_test): Likewise.
11526 (exp2_test): Likewise.
11527 (expm1_test): Likewise.
11528 (fma_test): Likewise.
11529 (j0_test): Likewise.
11530 (jn_test): Likewise.
11531 (nexttoward_test): Likewise.
11532 (pow_test): Likewise.
11533 (scalbn_test): Likewise.
11534 (scalbln_test): Likewise.
11535 (tan_test): Likewise.
11536 (y1_test): Likewise.
11537 * sysdeps/i386/fpu/libm-test-ulps: Update.
11538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11540 2012-05-23 David S. Miller <davem@davemloft.net>
11542 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11543 (__libc_sigaction): Remove unused local variables.
11545 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11547 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11549 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11551 mktime: avoid signed integer overflow
11552 * time/mktime.c (__mktime_internal): Do not mishandle the case
11553 where diff == INT_MIN.
11555 mktime: simplify computation of average
11556 * time/mktime.c (ranged_convert): Use new time_t_avg function
11557 instead of rolling our own (probably-slower) code.
11559 mktime: do not assume signed right shift propagates sign bit
11560 * time/mktime.c (isdst_differ): New static function.
11561 (__mktime_internal): No need to normalize tm_isdst now.
11562 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11565 mktime: merge another wrapv change from gnulib
11566 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11567 from some compilers.
11569 mktime: remove incorrect attempt at unusual arithmetics
11570 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11571 The code didn't really work on such machines anyway.
11572 (TYPE_MINIMUM): Assume two's complement.
11573 (twos_complement_arithmetic): Verify that long_int and time_t
11574 are two's complement (or unsigned, in the latter case).
11576 mktime: check signed shifts on long_int and time_t, too
11577 * time/mktime.c (SHR): Check that shifts work as desired
11578 on the types long_int and time_t too, as SHR is used on
11581 mktime: do not assume 'long' is wide enough
11582 * time/mktime.c (verify): Move decl up.
11583 (long_int): New type.
11584 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11585 to remove assumption in the code that 'long' is wide enough to
11586 store year values. This assumption is not true on x32 and on
11587 some non-glibc platforms.
11589 mktime: merge wrapv change from gnulib
11590 * time/mktime.c (WRAPV): New macro.
11591 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11592 (guess_time_tm, __mktime_internal): Do not assume that signed
11593 integer overflow wraps around; modern compilers generate code
11594 where this assumption is no longer valid.
11596 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11598 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11599 Replace "jmp L(pseudo_end)" with "ret".
11600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11603 2012-05-23 Andreas Jaeger <aj@suse.de>
11605 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11606 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11608 2012-05-23 Andreas Jaeger <aj@suse.de>
11609 Maximilian Attems <max@stro.at>
11611 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11614 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11616 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11617 code so that pseudo_end is just ret and the stack pointer is
11618 correct also for static library in error case.
11620 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11622 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11623 move to syscalls.list.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11629 * manual/install.texi (Running make install): Do not mention Linux
11630 kernel version for which pt_chown is not needed.
11631 (Linux): Do not mention problems with nscd with 2.0 kernels.
11632 * INSTALL: Regenerated.
11634 2012-05-23 Andreas Jaeger <aj@suse.de>
11636 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11637 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11639 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11640 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11641 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11642 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11643 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11644 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11646 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11648 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11649 * sysdeps/unix/sysv/linux/bits/in.h
11650 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11652 2012-05-22 Roland McGrath <roland@hack.frob.com>
11654 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11655 (PREPARE_VERSION): Just use assert instead, it will be elided
11656 under [NDEBUG] anyway.
11658 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11660 * sysdeps/unix/sysv/linux/Makefile: Include
11661 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11662 (sysdep_routines): Remove sysctl.
11663 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11664 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11665 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11666 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11667 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11669 2012-05-22 Andreas Jaeger <aj@suse.de>
11671 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11672 that pseudo_end is just ret and the stack pointer is correct also
11673 for static library in error case.
11675 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11678 * nss/nsswitch.c (defconfig_entries): New variable.
11679 (__nss_database_lookup): Don't leak defconfig entries.
11680 (nss_parse_service_list): Don't leak on error paths.
11681 (free_database_entries): New function.
11682 (free_defconfig): New function.
11683 (free_mem): Move common code to free_database_entries.
11685 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11687 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11689 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11691 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11692 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11695 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11696 (INTERNAL_SYSCALL_TYPES): Likewise.
11697 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11698 (LOAD_REGS_TYPES_[1-6]): Likewise.
11699 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11700 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11702 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11704 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11705 copysignl for GLIBC_2_0.
11706 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11707 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11709 logbl for GLIBC_2_0.
11710 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11711 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11713 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11715 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11716 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11718 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11721 * time/mktime.c: Update copyright years.
11723 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11725 mktime: merge comment-quoting-style change from gnulib
11726 * time/mktime.c: Quote 'like this' in comments.
11727 The GNU coding standards suggest that we no longer quote `like this',
11728 as "`" and "'" are typically rendered asymmetrically nowadays.
11729 The typical gnulib style is to quote 'like this' when quoting
11730 code, and "like this" when quoting English.
11732 * time/mktime.c (compile-command): Add "-I.".
11734 mktime: merge mktime-internal.h change from gnulib
11735 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11737 mktime: merge time_r change from gnulib
11738 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11740 mktime: merge DEBUG change from gnulib
11741 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11742 case system <time.h> has a #define.
11744 mktime: merge <sys/types.h> change from gnulib
11745 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11746 since <time.t> is now guaranteed to define time_t.
11748 mktime: merge HAVE_CONFIG_H change from gnulib
11749 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11751 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11756 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11758 (struct rusage): Use anonymous union to pad each field to
11761 2012-05-21 David S. Miller <davem@davemloft.net>
11763 * Makefules (o-iterator): Remove .s cases.
11764 (compile-command.s): Delete.
11765 (COMPILE.s): Delete.
11766 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11768 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11770 * configure.in (libc_cv_predef_stack_protector): Only consider
11771 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11772 * configure: Regenerated.
11774 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11777 New macro. Use R*LP on int and pointer.
11778 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11779 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11780 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11781 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11783 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11784 [__WORDSIZE_TIME64_COMPAT32] instead of
11785 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11786 (struct utmp): Likewise.
11787 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11788 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11790 (__WORDSIZE_TIME64_COMPAT32): This.
11791 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11792 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11793 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11794 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11795 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11796 (__WORDSIZE_TIME64_COMPAT32): New macro.
11798 2012-05-21 Andreas Jaeger <aj@suse.de>
11800 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11801 only if [SHARED]. Add prototype for __wcschr_ia32.
11803 2012-05-21 Roland McGrath <roland@hack.frob.com>
11805 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11806 of %rbp unmolested in the jmp_buf while mangling the low bits.
11807 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11808 unmolested high bits of %rbp while demangling the low bits.
11809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11811 2012-05-21 Andreas Jaeger <aj@suse.de>
11813 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11814 * sunrpc/svc_simple.c: Use it for registerrpc.
11815 * sunrpc/xcrypt.c: Use it for passwd2des.
11817 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11819 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11821 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11822 Don't define if [__SYSCALL_WORDSIZE != 32].
11823 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11826 2012-05-21 Bruno Haible <bruno@clisp.org>
11827 Andreas Jaeger <aj@suse.de>
11829 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11830 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11831 inptr and inend for must_buffer_ch.
11832 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11833 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11834 * stdio-common/Makefile (tests): Remove bug15.
11835 (bug15-ENV): Remove macro.
11836 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11839 2012-05-19 Andreas Jaeger <aj@suse.de>
11840 Roland McGrath <roland@hack.frob.com>
11842 * manual/contrib.texi: Completely rewritten. It contains now an
11843 alphabetical list of contributors and their contributions.
11845 2012-05-21 Richard Henderson <rth@twiddle.net>
11847 * misc/getauxval.c (__getauxval): Use unsigned long int.
11848 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11849 (getauxval): Use unsigned long int.
11851 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11853 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11855 2012-05-21 Roland McGrath <roland@hack.frob.com>
11857 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11858 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11859 __alignof__ (long double).
11861 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11865 2012-05-20 Richard Henderson <rth@twiddle.net>
11867 * misc/getauxval.c: New file.
11868 * misc/sys/auxv.h: New file.
11869 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11870 (routines): Add getauxval.
11871 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11872 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11873 * elf/dl-sysdep.c (_dl_auxv): Remove.
11874 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11875 * elf/dl-support.c (_dl_auxv): New variable.
11876 (_dl_aux_init): Initialize it.
11877 * manual/startup.texi (Auxiliary Vector): New node.
11878 * sysdeps/generic/bits/hwcap.h: New file.
11879 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11880 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11881 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11882 * sysdeps/sparc/sysdep.h: ... here. Include it.
11883 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11896 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11900 2012-05-19 David S. Miller <davem@davemloft.net>
11902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11904 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11907 * math/s_ccosh.c: Include <float.h>
11908 (__ccosh): Avoid internal overflow calculating sinh and cosh
11909 values before multiplying by sin and cos values.
11910 * math/s_ccoshf.c: Likewise.
11911 * math/s_ccoshl.c: Likewise.
11912 * math/s_csin.c: Likewise.
11913 * math/s_csinf.c: Likewise.
11914 * math/s_csinl.c: Likewise.
11915 * math/s_csinh.c: Likewise.
11916 * math/s_csinhf.c: Likewise.
11917 * math/s_csinhl.c: Likewise.
11918 * math/libm-test.inc (ccos_test): Add more tests.
11919 (ccosh_test): Likewise.
11920 (csin_test): Likewise.
11921 (csinh_test): Likewise.
11922 * sysdeps/i386/fpu/libm-test-ulps: Update.
11923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11925 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11927 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11928 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11930 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11932 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11934 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11935 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11936 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11937 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11938 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11939 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11940 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11941 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11942 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11943 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11944 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11945 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11946 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11947 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11948 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11949 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11950 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11951 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11952 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11953 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11954 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11955 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11956 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11957 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11958 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11959 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11960 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11961 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11962 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11963 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11964 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11966 2012-05-18 Andreas Jaeger <aj@suse.de>
11968 * csu/.gitignore: Delete.
11970 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11972 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11973 (timex): Use __syscall_slong_t.
11975 2012-05-18 Andreas Jaeger <aj@suse.de>
11976 Carlos O'Donell <carlos_odonell@mentor.com>
11978 * manual/install.texi (Configuring and compiling): Update
11979 description about files modified in the source directory.
11980 * INSTALL: Regenerated.
11982 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11984 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11985 value. Use "or" to set return value to -1.
11986 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11987 negate return value.
11989 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11991 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11992 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11993 failure if the compiler has Graphite support disabled.
11994 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11996 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11997 CFLAGS-memmove.c): Likewise.
11998 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12001 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12003 * sysdeps/x86_64/x32/_itoa.h: New file.
12005 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12006 getdents system call only if kernel and user dirents have the
12007 same d_ino and d_off.
12009 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12010 LLONG_MAX != LONG_MAX.
12011 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12012 (_fitoa_word): Likewise.
12014 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12018 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12020 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12021 include <bits/wordsize.h>. Check __x86_64__ instead of
12023 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12024 if __x86_64__ is defined. Use anonymous union on fpstate.
12026 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12029 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12031 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12032 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12033 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12034 Refer to _rtld_local_ro instead of _rtld_global_ro.
12035 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12037 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12039 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12041 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12042 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12043 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12045 * sysdeps/powerpc/powerpc32/dl-machine.c
12046 (__elf_machine_runtime_setup) [PROF]: Don't reference
12049 2012-05-18 Andreas Jaeger <aj@suse.de>
12051 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12052 function only available for GCCs before 3.4 since GCC 3.4
12053 introduced a builtin.
12055 (llrintf): Likewise.
12056 (llrint): Likewise.
12063 (nearbyint): Likewise.
12064 (nearbyintf): Likewise.
12068 (floorf): Likewise.
12070 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12072 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12073 on both fields and cast pointer to __syscall_ulong_t.
12075 * bits/types.h (__fsword_t): New type.
12076 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12077 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12079 (__FSWORD_T_TYPE): Likewise.
12080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12081 (__FSWORD_T_TYPE): Likewise.
12082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12083 (__FSWORD_T_TYPE): Likewise.
12084 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12085 (__FSWORD_T_TYPE): Likewise.
12086 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12087 __SWORD_TYPE with __fsword_t.
12088 (statfs64): Likewise.
12090 2012-05-17 David S. Miller <davem@davemloft.net>
12092 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12094 2012-05-17 Andreas Jaeger <aj@suse.de>
12096 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12099 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12101 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12103 2012-05-17 Andreas Jaeger <aj@suse.de>
12105 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12108 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12110 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12112 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12114 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12115 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12117 2012-05-17 Andreas Jaeger <aj@suse.de>
12118 Carlos O'Donell <carlos_odonell@mentor.com>
12121 * sysdeps/x86_64/multiarch/init-arch.h
12122 (bit_YMM_Usable): Rename to...
12123 (bit_AVX_Usable): ... this.
12124 (bit_FMA4_Usable): New macro.
12125 (bit_XMM_state): New macro.
12126 (bit_YMM_state): New macro.
12127 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12128 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12129 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12130 (CPUID_OSXSAVE): New macro.
12131 (CPUID_AVX): New macro.
12132 (CPUID_FMA4): New macro.
12133 (index_YMM_Usable): Rename to...
12134 (index_AVX_Usable): ... this.
12135 (HAS_AVX): Use HAS_ARCH_FEATURE.
12136 (HAS_FMA4): Likewise.
12137 (HAS_YMM_USABLE): Remove.
12138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12139 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12141 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12142 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12143 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12144 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12145 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12147 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12149 * math/libm-test.c: Support platforms without multiple rounding modes.
12150 * math/bug-nextafter.c: Support platforms without FP exceptions.
12151 * math/bug-nexttoward.c: Likewise.
12152 * math/test-fenv.c: Likewise.
12153 * math/test-misc.c: Likewise.
12154 * stdlib/bug-getcontext.c: Likewise.
12156 2012-05-17 Andreas Jaeger <aj@suse.de>
12158 * manual/examples/search.c (critter_cmp): Change signature to
12160 * manual/string.texi (Collation Functions): Likewise.
12162 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12164 * bits/types.h: Fold copyright years.
12165 * bits/typesizes.h: Likewise.
12166 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12170 * time/time.h: Likewise.
12172 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12175 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12176 in instead of returning them. Return void.
12177 (__libc_mallinfo): Accumulate over all arenas.
12178 (__malloc_stats): Adjust for change in int_mallinfo interface.
12180 2012-05-16 Roland McGrath <roland@hack.frob.com>
12183 * configure.in (NM): Add AC_CHECK_TOOL for it.
12184 (libc_extra_cflags): New substituted variable.
12185 Check for -fstack-protector being used implicitly.
12186 * configure: Regenerated.
12187 * config.make.in (config-extra-cflags): New variable,
12188 gets @libc_extra_cflags@.
12189 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12192 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12193 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12194 * configure: Regenerated.
12195 * config.make.in (CPPUNDEFS): New substituted variable.
12196 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12197 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12198 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12202 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12203 (mq_attr): Use __syscall_slong_t.
12205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12207 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12208 Check __x86_64__ instead of __WORDSIZE.
12209 (_STAT_VER_LINUX): Likewise.
12210 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12211 __syscall_ulong_t and __syscall_slong_t.
12212 (stat64): Likewise.
12214 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12218 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12220 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12222 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12224 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12227 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12228 include <bits/wordsize.h>. Check __x86_64__ instead of
12230 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12232 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12235 include <bits/wordsize.h>. Check __x86_64__ instead of
12237 (user_regs_struct): Use "__extension__ unsigned long long"
12238 instead of "unsigned long" if __x86_64__ is defined.
12239 (user): Likewise. Pad after pointer field if __ILP32__ is
12242 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12244 * configure.in (makeinfo): Require version 4.5 or later. Allow
12246 * configure: Regenerated.
12247 * manual/install.texi (texinfo): Increase version requirement to
12249 * INSTALL: Regenerated.
12251 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12253 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12255 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12257 * sysdeps/x86_64/x32/ffs.c: New file.
12259 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12261 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12262 defined. Use __syscall_ulong_t.
12263 (shminfo): Use __syscall_ulong_t.
12264 (shm_info): Likewise.
12266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12269 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12271 (msgqnum_t): Use __syscall_ulong_t.
12272 (msglen_t): Likewise.
12273 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12276 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12277 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12279 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12281 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12282 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12284 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12287 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12288 include <bits/wordsize.h>. Check __x86_64__ instead of
12291 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12292 "unsigned long long int" if __x86_64__ is defined.
12293 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12295 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12296 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12297 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12299 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12301 (GET_PC): Cast to uintptr_t first.
12302 (GET_FRAME): Likewise.
12303 (GET_STACK): Likewise.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12312 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12313 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12314 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12319 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12320 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12321 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12322 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12324 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12326 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12327 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12328 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12329 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12330 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12331 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12332 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12335 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12337 * Makerules (+depfiles): Also collect depfiles from .oS in
12339 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12340 .oS, $(libnldbl-routines)).
12342 * Makerules (native-compile-mkdep-flags): Define.
12343 * sunrpc/Makefile (extra-objs): Add $(addprefix
12344 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12345 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12346 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12347 calling $(make-target-directory).
12349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12351 * bits/types.h (__snseconds_t): Removed.
12352 * time/time.h (struct timespec): Replace __snseconds_t with
12354 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12355 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12358 (__SNSECONDS_T_TYPE): Likewise.
12359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12360 (__SNSECONDS_T_TYPE): Likewise.
12361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12362 (__SNSECONDS_T_TYPE): Likewise.
12364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12366 * sysdeps/mach/hurd/bits/typesizes.h
12367 (__SYSCALL_SLONG_TYPE): New macro.
12368 (__SYSCALL_ULONG_TYPE): Likewise.
12370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12372 * bits/types.h (__syscall_slong_t): New type.
12373 (__syscall_ulong_t): Likewise.
12375 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12376 (__SYSCALL_ULONG_TYPE): Likewise.
12377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12378 (__SYSCALL_SLONG_TYPE): Likewise.
12379 (__SYSCALL_ULONG_TYPE): Likewise.
12380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12381 (__SYSCALL_SLONG_TYPE): Likewise.
12382 (__SYSCALL_ULONG_TYPE): Likewise.
12383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12384 (__SYSCALL_SLONG_TYPE): Likewise.
12385 (__SYSCALL_ULONG_TYPE): Likewise.
12387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12389 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12390 Add sigaltstack-offsets.sym.
12391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12392 <sigaltstack-offsets.h>.
12393 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12394 longjmp_msg pointer.
12395 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12396 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12398 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12400 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12402 * elf/stackguard-macros.h: Remove file.
12403 * sysdeps/generic/stackguard-macros.h: New file.
12404 * sysdeps/i386/stackguard-macros.h: Likewise.
12405 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12406 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12407 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12408 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12409 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12410 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12411 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12412 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12413 <elf/stackguard-macros.h>.
12416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12417 __aligned__ in attribute.
12418 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12419 (gregset_t): Likewise.
12421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12423 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12424 * sysdeps/x86_64/64/Implies-after: Here. New file.
12425 * sysdeps/x86_64/x32/Implies-after: New file.
12427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12429 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12430 and access return value for _dl_profile_fixup. Use R10_LP to
12433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12435 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12439 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12440 * sysdeps/x86_64/x32/sysdep.h: New file.
12442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12444 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12445 * sysdeps/x86_64/setjmp.S: Likewise.
12447 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12449 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12450 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12451 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12453 remove unused global constant.
12455 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12457 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12458 include of <not-cancel.h>.
12460 2012-05-15 Roland McGrath <roland@hack.frob.com>
12462 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12464 2012-05-15 Jeff Law <law@redhat.com>
12465 Andreas Jaeger <aj@suse.de>
12468 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12470 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12471 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12472 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12473 code changing __hst_map_handle.map.
12475 2012-05-15 Roland McGrath <roland@hack.frob.com>
12477 * configure.in (sysnames): Look for Implies-before and Implies-after
12479 * configure: Regenerated.
12481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12484 8-byte data alignment with LP_SIZE alignment.
12486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12493 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12499 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12505 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12506 (stackinfo_sub_sp): Likewise.
12508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12525 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12527 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12529 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12530 into R11_LP and load __x86_64_shared_cache_size_half into
12533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12538 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12546 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12547 powerpc32/power7/fpu/s_logb.c via #include.
12548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12549 powerpc32/power7/fpu/s_logbf.c via #include.
12550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12551 powerpc32/power7/fpu/s_logbl.c via #include.
12553 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12555 * README.libm: Remove file.
12557 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12559 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12560 count for x32. Use R*_LP and omit operand-size suffix.
12562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12564 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12565 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12566 * sysdeps/x86_64/x32/shlib-versions: New file.
12568 2012-05-14 Roland McGrath <roland@hack.frob.com>
12570 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12571 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12572 Use _dl_fatal_printf instead.
12574 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12576 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12577 set if not set by the user. Do not allow for being unset.
12578 * sysdeps/unix/sysv/linux/configure: Regenerated.
12580 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12582 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12583 the `q' suffix from lea and replace .quad with ASM_ADDR.
12585 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12588 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12590 (PTR_DEMANGLE): Likewise.
12592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12594 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12596 (ASM_ADDR): Likewise.
12597 (RAX_LP): Likewise.
12598 (RBP_LP): Likewise.
12599 (RBX_LP): Likewise.
12600 (RCX_LP): Likewise.
12601 (RDI_LP): Likewise.
12602 (RSI_LP): Likewise.
12603 (RSP_LP): Likewise.
12606 (R10_LP): Likewise.
12607 (R10_LP): Likewise.
12608 (R11_LP): Likewise.
12609 (R12_LP): Likewise.
12610 (R13_LP): Likewise.
12611 (R14_LP): Likewise.
12612 (R15_LP): Likewise.
12614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12616 * sysdeps/x86_64/x32/dl-machine.h: New file.
12618 2012-05-14 Andreas Jaeger <aj@suse.de>
12620 * manual/Makefile (subdir): Remove export of subdir.
12621 (all): Remove target.
12622 (.PHONY): Remove all from list.
12623 (mkinstalldirs): Remove.
12624 (.PHONY): Remove installdirs from list.
12625 ($(inst_infodir)/libc.info): Use make-target-directory.
12626 (installdirs): Remove.
12627 (subdir_%): Remove.
12628 (glibc-targets): Remove.
12631 ($(objpfx)stubs ../po/manual.pot): Remove.
12632 ($(objpfx)stamp%): Remove.
12633 (make-target-directory): Remove.
12634 (subdir_install): Remove.
12635 (routines): Remove.
12642 * manual/.gitignore: Remove, it's not needed anymore.
12643 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12645 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12647 (texis): Renamed to $(objpfx)texis.
12648 (texis-path): New, contains path to generated files.
12649 (chapters.%): Use texis-path for complete path, add extra argument
12651 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12652 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12653 (summary,texi, stamp-summary): Use complete path of
12654 files. Generate files in build dir.
12655 (dir-add.texi): Build in build dir.
12656 (libm-err.texi,stamp-libm-err): Likewise.
12657 (version.texi, stamp-version): Likewise.
12658 (.%c.texi): Likewise.
12659 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12660 (mostlyclean): Remove target.
12661 (realclean): Remove target.
12662 (generated): Add new variable with contents from mostlyclean and
12663 realclean, remove entries duplicated in common-mostlyclean, add
12664 stamp-libm-err and stamp-version.
12665 (generated-dirs): Add libc directory.
12666 ($(inst_infodir)/libc.info): Install files from build dir.
12668 * manual/install.texi (Configuring and compiling): Adjust since
12669 the info files are not part of the tar ball anymore.
12671 2012-05-14 Andreas Jaeger <aj@suse.de>
12673 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12676 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12680 to 2.2.0 where earlier.
12681 * sysdeps/unix/sysv/linux/configure: Regenerated.
12682 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12683 Remove conditional code.
12684 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12685 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12686 Remove conditional code.
12687 [!__NR_lchown]: Likewise.
12688 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12689 [__NR_lchown]: Likewise.
12690 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12691 comment referencing __ASSUME_LCHOWN_SYSCALL.
12692 * sysdeps/unix/sysv/linux/i386/sigaction.c
12693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12695 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12696 Remove conditional code.
12697 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12698 (__protocol_available): Remove #if 0 code.
12699 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12701 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12702 * sysdeps/unix/sysv/linux/kernel-features.h
12703 (__ASSUME_GETCWD_SYSCALL): Don't define.
12704 (__ASSUME_REALTIME_SIGNALS): Likewise.
12705 (__ASSUME_PREAD_SYSCALL): Likewise.
12706 (__ASSUME_PWRITE_SYSCALL): Likewise.
12707 (__ASSUME_POLL_SYSCALL): Likewise.
12708 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12709 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12711 (__ASSUME_SIOCGIFNAME): Don't define.
12712 (__ASSUME_MSG_NOSIGNAL): Likewise.
12713 (__ASSUME_SENDFILE): Define unconditionally.
12714 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12715 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12717 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12718 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12719 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12720 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12721 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12722 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12723 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12748 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12749 Remove conditional code.
12750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12751 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12752 Remove conditional code.
12753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12754 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12755 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12756 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12757 Remove conditional code.
12758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12759 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12760 Remove conditional code.
12761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12762 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12763 Remove conditional code.
12764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12765 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12766 Remove conditional code.
12767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12768 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12769 Remove conditional code.
12770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12771 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12774 * sysdeps/unix/sysv/linux/sigaction.c
12775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12777 * sysdeps/unix/sysv/linux/sigpending.c
12778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12780 * sysdeps/unix/sysv/linux/sigprocmask.c
12781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12783 * sysdeps/unix/sysv/linux/sigsuspend.c
12784 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12785 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12786 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12787 (__libc_missing_rt_sigs): Remove.
12788 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12789 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12790 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12791 Remove conditional code.
12792 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12793 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12796 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12797 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12798 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12800 2012-05-14 Andreas Jaeger <aj@suse.de>
12802 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12803 it's not used in glibc.
12804 (__coshm1): Likewise.
12805 (__acosh1p): Likewise.
12808 * manual/string.texi (Copying and Concatenation): Add missing
12809 variable in concat example.
12810 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12812 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12816 __builtin_clzl with __builtin_clzll.
12818 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12821 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12824 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12826 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12827 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12828 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12829 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12831 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12833 * NEWS: Update ia64 info.
12835 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12837 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12840 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12842 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12843 * sysdeps/unix/syscalls.list (dup3): Likewise.
12844 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12845 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12847 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12849 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12850 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12852 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12854 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12856 (TLS_IE): Use mov/add instead of movq/addq to load thread
12858 (TLS_GD_PREFIX): New.
12861 2012-05-11 David S. Miller <davem@davemloft.net>
12863 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12864 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12865 (_FPU_SETCW): Likewise.
12867 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12869 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12870 is 32-byte aligned.
12872 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12875 * iconvdata/gb18030.c: Update tables.
12876 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12877 characters specially.
12878 (BODY for TO_LOOP): Add encoding of missing ranges.
12880 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12883 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12884 * sysdeps/mach/hurd/dup3.c: Likewise.
12885 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12886 * sysdeps/powerpc/memmove.c:: Likewise.
12888 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12891 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12893 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12895 * elf/elf.h (R_X86_64_RELATIVE64): New.
12896 (R_X86_64_NUM): Updated.
12897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12898 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12899 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12900 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12901 tst-quad1pie tst-quad2pie
12902 (modules-names): Add tst-quadmod1 tst-quadmod2.
12903 ($(objpfx)tst-quad1): New dependency.
12904 ($(objpfx)tst-quad2): Likewise.
12905 ($(objpfx)tst-quad1pie): Likewise.
12906 ($(objpfx)tst-quad2pie): Likewise.
12907 * sysdeps/x86_64/tst-quad1.c: New file.
12908 * sysdeps/x86_64/tst-quad1pie.c: New file.
12909 * sysdeps/x86_64/tst-quad2.c: Likewise.
12910 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12911 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12912 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12913 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12914 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12916 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12918 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12919 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12920 * streams/stropts.h (t_scalar_t): Define type.
12922 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12923 (_PATH_PRESERVE): Set to "/var/lib".
12924 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12926 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12929 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12930 if __dir_mkfile succeeded.
12932 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12933 checking for _hurd_dtablesize. Unlock it right after having
12934 finished _hurd_dtable allocation.
12936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12938 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12939 * sysdeps/mach/hurd/configure: Regenerated.
12940 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12941 special-casing to...
12942 * sysdeps/gnu/configure.in: ... this new file.
12943 * sysdeps/unix/sysv/linux/configure: Regenerated.
12944 * sysdeps/gnu/configure: New generated file.
12946 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12947 for Linux: use nsec instead of usec, as well as:
12948 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12949 members of type struct timespec.
12950 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12952 (struct stat64): Likewise.
12953 (_STATBUF_ST_NSEC): New macro.
12954 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12956 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12957 __strtoul_internal rather than strtoul.
12959 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12961 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12966 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12967 which preserves existing values.
12968 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12970 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12972 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12973 TIMEOUT values. Return EINVAL for NFDS values either negative or
12974 greater than FD_SETSIZE.
12976 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12978 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12979 allocated, call __vm_protect to finish enabling the existing space, and
12980 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12981 allocate the remainder.
12983 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12985 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12986 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12990 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12991 sysdeps/mach/hurd/readlink.c.
12993 * posix/tst-sysconf.c (posix_options): Only use
12994 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12995 _POSIX_SYNCHRONIZED_IO when they are defined
12996 * sysdeps/mach/hurd/bits/posix_opt.h:
12997 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12998 (_XOPEN_REALTIME): Undefine macro.
12999 (_XOPEN_REALTIME_THREADS): Undefine macro.
13000 (_XOPEN_SHM): Undefine macro.
13001 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13003 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13005 (_POSIX_ASYNC_IO): Undefine macro.
13006 (_POSIX_PRIORITIZED_IO): Undefine macro.
13007 (_POSIX_SPIN_LOCKS): Define macro to -1.
13009 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13010 SA_NODEFER, SA_RESETHAND.
13011 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13012 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13017 * elf/Makefile (pldd-modules): Define unconditionally.
13019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13021 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13025 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13026 Return ENOENT when name is empty.
13027 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13031 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13033 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13035 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13037 Fix mlock in all cases except non-readable pages.
13038 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13039 instead of VM_PROT_ALL as parameter to __vm_wire function.
13041 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13042 (__mkdir): When path is `/', just fail with EEXIST.
13043 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13047 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13048 <sys/uio.h> (for writev).
13049 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13050 and <sys/param.h> (for MIN).
13052 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13054 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13055 REQUESTED_TIME. Properly set the remaining time and return EINTR
13058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13060 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13061 Depend on against $(link-rpcuserlibs).
13063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13065 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13066 (__libc_stack_end): Do not use attribute_relro.
13067 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13068 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13069 to libthread-provided value.
13070 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13076 * bits/libc-lock.h (__libc_once_get): New macro.
13077 * sysdeps/mach/bits/libc-lock.h: Likewise.
13078 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13080 instead of using implementation details.
13082 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13083 * libio/freopen.c: Likewise.
13084 * libio/freopen64.c: Likewise.
13085 * misc/syslog.c: Likewise.
13086 * nscd/connections.c: Likewise.
13087 * nscd/netgroupcache.c: Likewise.
13088 * sysdeps/posix/getcwd.c: Likewise.
13090 2012-05-10 Roland McGrath <roland@hack.frob.com>
13092 * math/w_ilogbf.c: Add #include <limits.h>.
13094 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13096 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13097 path instead of returning without unlocking.
13099 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13100 immediate-write ioctls.
13101 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13105 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13106 __builtin_frame_address instead of making assumptions about the
13107 location of the return address relative to DATA. Force early load of
13108 the return address.
13109 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13110 __builtin_frame_address.
13113 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13114 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13115 implement dup3 and do some further code clean-ups.
13116 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13117 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13119 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13121 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13123 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13124 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13125 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13126 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13127 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13130 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13131 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13132 when handler == SIG_ERR, not when handler != SIG_ERR.
13134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13136 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13137 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13140 accept4 for GNU Hurd.
13141 * include/sys/socket.h (__libc_accept4): New prototype.
13142 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13143 to implement __libc_accept4.
13144 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13146 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13148 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13149 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13150 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13151 signal-defines.sym.
13153 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13155 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13159 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13160 assertion on O_CLOEXEC flag.
13161 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13162 * hurd/intern-fd.c: Likewise.
13163 * hurd/port2fd.c: Likewise.
13165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13168 * bits/in.h (IPV6_PKTINFO): Define new macro.
13169 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13171 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13176 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13178 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13179 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13181 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13182 * math/libm-test.inc (logb_test) : Additional logb tests.
13184 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13185 Andreas Jaeger <aj@suse.de>
13187 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13188 * configure: Regenerated.
13189 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13190 * config.make.in (link-obsolete-rpc): New substituted variable.
13191 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13192 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13193 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13194 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13195 so that libc.a contains the symbols.
13196 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13197 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13198 * sunrpc/auth_none.c: Likewise.
13199 * sunrpc/auth_unix.c: Likewise.
13200 * sunrpc/authdes_prot.c: Likewise.
13201 * sunrpc/authuxprot.c: Likewise.
13202 * sunrpc/clnt_gen.c: Likewise.
13203 * sunrpc/clnt_perr.c: Likewise.
13204 * sunrpc/clnt_raw.c: Likewise.
13205 * sunrpc/clnt_simp.c: Likewise.
13206 * sunrpc/clnt_tcp.c: Likewise.
13207 * sunrpc/clnt_udp.c: Likewise.
13208 * sunrpc/clnt_unix.c: Likewise.
13209 * sunrpc/des_crypt.c: Likewise.
13210 * sunrpc/des_soft.c: Likewise.
13211 * sunrpc/get_myaddr.c: Likewise.
13212 * sunrpc/key_call.c: Likewise.
13213 * sunrpc/key_prot.c: Likewise.
13214 * sunrpc/netname.c: Likewise.
13215 * sunrpc/pm_getmaps.c: Likewise.
13216 * sunrpc/pm_getport.c: Likewise.
13217 * sunrpc/pmap_clnt.c: Likewise.
13218 * sunrpc/pmap_prot.c: Likewise.
13219 * sunrpc/pmap_prot2.c: Likewise.
13220 * sunrpc/pmap_rmt.c: Likewise.
13221 * sunrpc/publickey.c: Likewise.
13222 * sunrpc/rpc_cmsg.c: Likewise.
13223 * sunrpc/rpc_common.c: Likewise.
13224 * sunrpc/rpc_dtable.c: Likewise.
13225 * sunrpc/rpc_prot.c: Likewise.
13226 * sunrpc/rpc_thread.c: Likewise.
13227 * sunrpc/rtime.c: Likewise.
13228 * sunrpc/svc.c: Likewise.
13229 * sunrpc/svc_auth.c: Likewise.
13230 * sunrpc/svc_raw.c: Likewise.
13231 * sunrpc/svc_run.c: Likewise.
13232 * sunrpc/svc_tcp.c: Likewise.
13233 * sunrpc/svc_udp.c: Likewise.
13234 * sunrpc/svc_unix.c: Likewise.
13235 * sunrpc/svcauth_des.c: Likewise.
13236 * sunrpc/xcrypt.c: Likewise.
13237 * sunrpc/xdr.c: Likewise.
13238 * sunrpc/xdr_array.c: Likewise.
13239 * sunrpc/xdr_float.c: Likewise.
13240 * sunrpc/xdr_intXX_t.c: Likewise.
13241 * sunrpc/xdr_mem.c: Likewise.
13242 * sunrpc/xdr_rec.c: Likewise.
13243 * sunrpc/xdr_ref.c: Likewise.
13244 * sunrpc/xdr_sizeof.c: Likewise.
13245 * sunrpc/xdr_stdio.c: Likewise.
13247 2012-05-10 Roland McGrath <roland@hack.frob.com>
13249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13250 change. Update copyright years.
13252 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13254 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13256 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13257 Joseph Myers <joseph@codesourcery.com>
13258 Paul Pluzhnikov <ppluzhnikov@google.com>
13261 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13263 [cross-compiling] (extra-libs): Likewise.
13264 [cross-compiling] (extra-libs-others): Likewise.
13265 [cross-compiling] (librpcsvc-routines): Likewise.
13266 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13267 [cross-compiling] (omit-deps): Likewise.
13268 (sunrpc-CPPFLAGS): New variable.
13269 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13270 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13271 (cross-rpcgen-objs): New variable.
13272 (extra-objs): Append $(cross-rpcgen-objs).
13273 ($(cross-rpcgen-objs)): New rule.
13274 ($(objpfx)cross-rpcgen): Likewise.
13275 (rpcgen-cmd): Define to use $(built-program-file). Expand
13277 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13278 ($(objpfx)x%.stmp): Likewise.
13279 * sunrpc/proto.h [IS_IN_build] (_): Define.
13280 [IS_IN_build] (_libc_intl_domainname): Likewise.
13282 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13285 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13286 and R_X86_64_TPOFF64.
13288 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13290 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13291 sysdeps/unix/sysv/syscalls.list.
13294 * sysdeps/unix/sysv/syscalls.list: Remove file.
13296 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13299 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13300 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13301 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13302 (__LC_IDENTIFICATION): Make these macros useful in #if
13303 expressions, as required by C99.
13305 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13307 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13308 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13311 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13313 * stdlib/longlong.h: Updated from GCC.
13315 2012-05-09 Andreas Jaeger <aj@suse.de>
13317 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13318 default is first entry.
13319 (run_mode): Set type.
13320 (main): Remove informal message about syslog.
13321 (options): Fix typo.
13324 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13327 (llrintf): Likewise.
13328 (llrint): Likewise.
13331 (nearbyint): Likewise.
13332 (nearbyintf): Likewise.
13334 2012-05-09 Andreas Jaeger <aj@suse.de>
13335 Pedro Alves <palves@redhat.com>
13337 * nscd/nscd.c (run_mode): Use enum.
13338 (main): Cleanup coding style issue.
13340 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13341 Andreas Jaeger <aj@suse.de>
13343 * nscd/nscd.c (go_background): Replaced with...
13344 (run_mode): ... this.
13345 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13346 (options): Add -F --foreground.
13347 (main): Implement it.
13348 (parse_opt): Parse it.
13350 2012-05-09 Andreas Jaeger <aj@suse.de>
13353 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13354 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13355 -Wconversion warning.
13356 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13359 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13361 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13363 (LC_ALL): Use macro-int-constant.
13364 (LC_COLLATE): Likewise.
13365 (LC_CTYPE): Likewise.
13366 (LC_MESSAGES): Likewise.
13367 (LC_MONETARY): Likewise.
13368 (LC_NUMERIC): Likewise.
13369 (LC_TIME): Likewise.
13370 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13371 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13373 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13375 [C99-based standards] (float_t): Expect type.
13376 [C99-based standards] (double_t): Expect type.
13377 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13379 [C99-based standards] (HUGE_VALL): Likewise.
13380 [C99-based standards] (INFINITY): Likewise.
13381 [C99-based standards] (NAN): Likewise.
13382 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13383 [C99-based standards] (FP_NAN): Likewise.
13384 [C99-based standards] (FP_NORMAL): Likewise.
13385 [C99-based standards] (FP_SUBNORMAL): Likewise.
13386 [C99-based standards] (FP_ZERO): Likewise.
13387 [C99-based standards] (FP_FAST_FMA): Use
13388 optional-macro-int-constant. Specify type. Require == 1.
13389 [C99-based standards] (FP_FAST_FMAF): Likewise.
13390 [C99-based standards] (FP_FAST_FMAL): Likewise.
13391 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13392 [C99-based standards] (FP_ILOGBNAN): Likewise.
13393 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13395 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13396 [C99-based standards] (math_errhandling): Specify type.
13397 [ISO99 || ISO11] (signgam): Do not allow.
13398 [non-C99-based standards] (copysignf): Do not allow.
13399 [non-C99-based standards] (exp2f): Likewise.
13400 [non-C99-based standards] (log2f): Likewise.
13401 [non-C99-based standards] (modff): Allow.
13402 [non-C99-based standards] (erff): Do not allow.
13403 [non-C99-based standards] (erfcf): Likewise.
13404 [non-C99-based standards] (gammaf): Likewise.
13405 [non-C99-based standards] (hypotf): Likewise.
13406 [non-C99-based standards] (j0f): Likewise.
13407 [non-C99-based standards] (j1f): Likewise.
13408 [non-C99-based standards] (jnf): Likewise.
13409 [non-C99-based standards] (lgammaf): Likewise.
13410 [non-C99-based standards] (tgammaf): Likewise.
13411 [non-C99-based standards] (y0f): Likewise.
13412 [non-C99-based standards] (y1f): Likewise.
13413 [non-C99-based standards] (ynf): Likewise.
13414 [non-C99-based standards] (isnanf): Likewise.
13415 [non-C99-based standards] (acoshf): Likewise.
13416 [non-C99-based standards] (asinhf): Likewise.
13417 [non-C99-based standards] (atanhf): Likewise.
13418 [non-C99-based standards] (cbrtf): Likewise.
13419 [non-C99-based standards] (expm1f): Likewise.
13420 [non-C99-based standards] (ilogbf): Likewise.
13421 [non-C99-based standards] (log1pf): Likewise.
13422 [non-C99-based standards] (logbf): Likewise.
13423 [non-C99-based standards] (nextafterf): Likewise.
13424 [non-C99-based standards] (remainderf): Likewise.
13425 [non-C99-based standards] (rintf): Likewise.
13426 [non-C99-based standards] (scalbf): Likewise.
13427 [non-C99-based standards] (copysignl): Likewise.
13428 [non-C99-based standards] (exp2l): Likewise.
13429 [non-C99-based standards] (log2l): Likewise.
13430 [non-C99-based standards] (modfl): Allow.
13431 [non-C99-based standards] (erfl): Do not allow.
13432 [non-C99-based standards] (erfcl): Likewise.
13433 [non-C99-based standards] (gammal): Likewise.
13434 [non-C99-based standards] (hypotl): Likewise.
13435 [non-C99-based standards] (j0l): Likewise.
13436 [non-C99-based standards] (j1l): Likewise.
13437 [non-C99-based standards] (jnl): Likewise.
13438 [non-C99-based standards] (lgammal): Likewise.
13439 [non-C99-based standards] (tgammal): Likewise.
13440 [non-C99-based standards] (y0l): Likewise.
13441 [non-C99-based standards] (y1l): Likewise.
13442 [non-C99-based standards] (ynl): Likewise.
13443 [non-C99-based standards] (isnanl): Likewise.
13444 [non-C99-based standards] (acoshl): Likewise.
13445 [non-C99-based standards] (asinhl): Likewise.
13446 [non-C99-based standards] (atanhl): Likewise.
13447 [non-C99-based standards] (cbrtl): Likewise.
13448 [non-C99-based standards] (expm1l): Likewise.
13449 [non-C99-based standards] (ilogbl): Likewise.
13450 [non-C99-based standards] (log1pl): Likewise.
13451 [non-C99-based standards] (logbl): Likewise.
13452 [non-C99-based standards] (nextafterl): Likewise.
13453 [non-C99-based standards] (remainderl): Likewise.
13454 [non-C99-based standards] (rintl): Likewise.
13455 [non-C99-based standards] (scalbl): Likewise.
13456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13457 [non-C99-based standards] (FP_*): Do not allow.
13458 [C99-based standards] (FP_*): Change to
13459 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13460 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13462 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13463 (SIG_ERR): Likewise.
13464 [X/Open-based standards] (SIG_HOLD): Likewise.
13465 (SIG_IGN): Likewise.
13466 (SIGABRT): Use macro-int-constant. Specify type. Require
13468 (SIGFPE): Likewise.
13469 (SIGILL): Likewise.
13470 (SIGINT): Likewise.
13471 (SIGSEGV): Likewise.
13472 (SIGTER): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13491 [X/Open-based standards] (SIGTRAP): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13496 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13499 2012-05-08 Ian Wienand <ianw@vmware.com>
13502 * time/tzset.c (__tzset_parse_tz): Update default rules for
13503 daylight time changes in the Energy Policy Act of 2005.
13505 2012-05-09 Andreas Jaeger <aj@suse.de>
13508 * elf/ldconfig.c (parse_conf): Change string to make clear that
13509 ldconfig only issued a warning if ld.so.conf does not exist.
13511 2012-05-08 David S. Miller <davem@davemloft.net>
13513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13514 movxtod instead of popping the value on the stack.
13516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13518 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13520 * config.h.in: Add HAVE_ARM_PCS_VFP.
13522 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13525 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13526 checking but the checks are disabled for any reason.
13528 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13530 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13531 and ELF64_R_TYPE with ELFW(R_TYPE).
13533 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13535 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13536 (ulimit): Likewise.
13538 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13539 (settimeofday): Likewise.
13541 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13543 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13544 a struct th_u2 inside the union, and move tu_block/tu_code into
13545 a new th_u3 union of tu_block/tu_code inside of that. Move
13546 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13547 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13548 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13549 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13550 (th_stuff): Change to th_u1.tu_stuff.
13552 (th_msg): Change to th_u1.th_u2.tu_data.
13554 2012-05-07 David S. Miller <davem@davemloft.net>
13556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13559 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13560 (SETUP_PIC_REG): Use it.
13561 (SETUP_PIC_REG_LEAF): Use it.
13563 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13569 (EXPL_FINITE): Likewise.
13570 (FLDLOG): Likewise.
13571 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13572 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13576 (EXPL_FINITE): Likewise.
13577 (FLDLOG): Likewise.
13578 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13579 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13581 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13582 test of -max_value argument for long double.
13583 * sysdeps/i386/fpu/libm-test-ulps: Update.
13584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13586 2012-05-06 David S. Miller <davem@davemloft.net>
13588 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13589 quad soft-float symbols whose references which are compiler
13591 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13593 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13597 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13599 (EXPL_FINITE): Likewise.
13600 (FLDLOG): Likewise.
13603 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13604 Adjust comments for base varying.
13605 (__expl_finite): Change alias to EXPL_FINITE.
13606 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13608 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13609 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13611 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13614 (EXPL_FINITE): Likewise.
13615 (FLDLOG): Likewise.
13618 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13619 Adjust comments for base varying.
13620 (__expl_finite): Change alias to EXPL_FINITE.
13621 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13626 * math/libm-test.inc (check_float_internal): Correct ulp
13627 calculation for subnormal expected results.
13629 2012-05-06 Andreas Jaeger <aj@suse.de>
13631 * Makeconfig (+math-flags): New, set to -frounding-math.
13632 (+cflags): Add +math-flags so that all of glibc gets compiled with
13635 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13637 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13639 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13645 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13646 (__ieee754_expl): Allow for and saturate large arguments.
13647 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13648 (u_threshold): Likewise.
13649 (__exp): Call __ieee754_exp before checking for overflow and
13651 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13652 (u_threshold): Likewise.
13653 (__expf): Call __ieee754_expf before checking for overflow and
13655 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13656 (u_threshold): Likewise.
13657 (__expl): Call __ieee754_expl before checking for overflow and
13659 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13660 (__ieee754_expl): Allow for and saturate large arguments.
13661 * math/libm-test.inc (exp_test): Add another test. Do not allow
13662 missing overflow exception on overflow.
13663 (expm1_test): Do not allow missing overflow exception on overflow.
13665 * sysdeps/i386/fpu/e_expl.c: Move to ...
13666 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13667 rather than using inline asm.
13668 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13669 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13670 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13672 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13675 (signal): Likewise.
13679 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13681 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13682 sysdeps/unix/common/syscalls.list.
13683 (fchmod): Likewise.
13684 (fchown): Likewise.
13685 (ftruncate): Likewise.
13686 (getrusage): Likewise.
13687 (gettimeofday): Likewise.
13688 (setpgid): Likewise.
13689 (setregid): Likewise.
13690 (setreuid): Likewise.
13691 (sigaction): Likewise.
13692 (truncate): Likewise.
13693 (vhangup): Likewise.
13694 * sysdeps/unix/common/syscalls.list: Remove file.
13695 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13696 * sysdeps/unix/sysv/linux/Implies: Likewise.
13698 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13700 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13702 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13706 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13709 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13712 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13715 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13718 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13724 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13728 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13732 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13735 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13739 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13743 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13745 * sysdeps/unix/common/bits/dirent.h: Remove file.
13746 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13748 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13749 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13750 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13751 * sysdeps/unix/bsd/isatty.c: Likewise.
13752 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13753 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13754 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13756 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13760 long double comparison inaccuracies.
13761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13764 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13766 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13769 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13772 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13773 nonzero digits before rounding a hex value.
13774 * stdlib/tst-strtod.c (tests): Add another test.
13776 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13778 * sysdeps/s390/fpu/libm-test-ulps: Update.
13780 2012-05-03 Andreas Jaeger <aj@suse.de>
13782 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13783 does not get optimized out.
13784 (malloc_opt_barrier): New.
13786 2012-05-03 Andreas Jaeger <aj@suse.de>
13787 Roland McGrath <roland@hack.frob.com>
13789 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13790 intermediate file deletion.
13791 (generated): Add .symlist files.
13793 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13796 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13797 Redirect under this condition.
13798 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13799 [__USE_GNU] (__dprintf_chk): Not under this condition.
13800 [__USE_GNU] (__vdprintf_chk): Likewise.
13801 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13802 under this condition.
13803 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13804 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13805 [__USE_XOPEN2K8] (vdprintf): Likewise.
13806 [__USE_GNU] (__dprintf_chk): Not under this condition.
13807 [__USE_GNU] (__vdprintf_chk): Likewise.
13808 [__USE_GNU] (dprintf): Likewise.
13809 [__USE_GNU] (vdprintf): Likewise.
13811 2012-05-03 Roland McGrath <roland@hack.frob.com>
13813 * elf/Makefile (common-generated): Set this instead of generated for
13814 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13815 $(all-built-dso)-derived lists.
13817 2012-05-03 Andreas Jaeger <aj@suse.de>
13819 * sysdeps/i386/fpu/libm-test-ulps: Update.
13822 * FAQ.in: Likewise.
13823 * scripts/gen-FAQ.pl: Likewise.
13824 * manual/install.texi (Installation): Point to online location of
13826 * Makefile (files-for-dist): Remove FAQ.
13829 2012-05-02 Allan McRae <allan@archlinux.org>
13831 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13832 (LDFLAGS-reldepmod5.so): Likewise.
13833 (LDFLAGS-reldep6mod1.so): Likewise.
13834 (LDFLAGS-reldep6mod4.so): Likewise.
13835 (LDFLAGS-reldep8mod3.so): Likewise.
13836 (LDFLAGS-unload4mod1.so): Likewise.
13837 (LDFLAGS-unload4mod2.so): Likewise.
13838 (LDFLAGS-tst-initorder): Likewise.
13839 (LDFLAGS-tst-initordera2.so): Likewise.
13840 (LDFLAGS-tst-initordera3.so): Likewise.
13841 (LDFLAGS-tst-initordera4.so): Likewise.
13842 (LDFLAGS-tst-initorderb2.so): Likewise.
13843 (LDFLAGS-noload): Likewise.
13844 (LDFLAGS-next): Likewise.
13845 (LDFLAGS-order2mod1.so): Likewise.
13846 (LDFLAGS-order2mod2.so): Likewise.
13847 (LDFLAGS-tst-initorder2): Likewise.
13848 (LDFLAGS-tst-initorder2a.so): Likewise.
13849 (LDFLAGS-tst-initorder2b.so): Likewise.
13850 (LDFLAGS-tst-initorder2c.so): Likewise.
13851 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13853 2012-05-02 David S. Miller <davem@davemloft.net>
13855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13857 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13860 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13862 2012-05-02 Andreas Jaeger <aj@suse.de>
13864 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13865 since we manipulate rounding mode.
13866 (CPPFLAGS-test-idouble.c): Likewise.
13867 (CPPFLAGS-test-ifloat.c): Likewise.
13868 (CFLAGS-test-ldouble.c): Likewise.
13869 (CFLAGS-test-double.c): Likewise.
13870 (CFLAGS-test-float.c): Likewise.
13871 (CFLAGS-test-misc.c): Likewise.
13872 (CFLAGS-test-test-fenv.c): Likewise.
13874 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13879 comparisons to determine direction to adjust input.
13881 2012-05-01 Roland McGrath <roland@hack.frob.com>
13883 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13884 output to the target.
13886 * scripts/localplt.awk: New file.
13887 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13888 (check-localplt-CFLAGS): Variable removed.
13889 ($(all-built-dso:=.jmprel)): New static pattern rule.
13890 (generated): Add those targets.
13891 (localplt-built-dso): New variable.
13892 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13894 * elf/check-localplt.c: File removed.
13896 * scripts/check-execstack.awk: New file.
13897 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13898 (check-execstack-CFLAGS): Variable removed.
13899 ($(objpfx)check-execstack.h): Target removed.
13900 ($(objpfx)execstack-default): New target.
13901 (generated): Add that instead of check-execstack.h.
13902 ($(all-built-dso:=.phdr)): New static pattern rule.
13903 (generated): Add those targets.
13904 * elf/check-execstack.c: File removed.
13906 * scripts/check-textrel.awk: New file.
13907 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13908 (check-textrel-CFLAGS): Variable removed.
13909 (all-built-dso): Use := to define.o
13910 ($(all-built-dso:=.dyn)): New static pattern rule.
13911 (generated): Add those targets.
13912 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13913 * config.make.in (READELF): New substituted variable.
13914 * elf/check-textrel.c: File removed.
13916 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13918 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13920 * conform/data/ctype.h-data [C99-based standards] (isblank):
13922 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13923 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13925 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13926 Specify type. Require positive value.
13927 (EILSEQ): Likewise.
13928 (ERANGE): Likewise.
13929 [ISO || POSIX] (EILSEQ): Do not expect.
13930 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13931 Specify type. Require positive value.
13932 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13933 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13934 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13935 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13936 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13937 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13938 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13939 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13940 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13941 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13942 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13943 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13944 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13945 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13946 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13947 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13948 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13949 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13950 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13951 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13952 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13953 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13954 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13955 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13956 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13957 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13958 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13959 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13960 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13961 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13962 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13963 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13964 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13965 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13966 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13967 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13968 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13969 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13970 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13971 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13972 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13973 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13974 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13975 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13976 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13977 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13978 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13979 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13980 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13981 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13982 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13983 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13984 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13985 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13986 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13987 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13988 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13989 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13990 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13991 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13992 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13993 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13994 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13995 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13996 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13997 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13998 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13999 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14000 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14001 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14002 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14003 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14004 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14005 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14006 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14007 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14008 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14010 (FLT_ROUNDS): Expect as macro, not constant.
14011 (FLT_MANT_DIG): Use macro-int-constant.
14012 (DBL_MANT_DIG): Likewise.
14013 (LDBL_MANT_DIG): Likewise.
14014 (FLT_DIG): Likewise.
14015 (DBL_DIG): Likewise.
14016 (LDBL_DIG): Likewise.
14017 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14018 (DBL_MIN_EXP): Likewise.
14019 (LDBL_MIN_EXP): Likewise.
14020 (FLT_MAX_EXP): Use macro-int-constant.
14021 (DBL_MAX_EXP): Likewise.
14022 (LDBL_MAX_EXP): Likewise.
14023 (FLT_MAX_10_EXP): Likewise.
14024 (DBL_MAX_10_EXP): Likewise.
14025 (LDBL_MAX_10_EXP): Likewise.
14026 (FLT_MAX): Use macro-constant.
14027 (DBL_MAX): Likewise.
14028 (LDBL_MAX): Likewise.
14029 (FLT_EPSILON): Use macro-constant. Give upper bound.
14030 (DBL_EPSILON): Likewise.
14031 (LDBL_EPSILON): Likewise.
14032 (FLT_MIN): Likewise.
14033 (DBL_MIN): Likewise.
14034 (LDBL_MIN): Likewise.
14035 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14036 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14037 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14038 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14039 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14040 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14041 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14042 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14043 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14044 [ISO11] (FLT_TRUE_MIN): Likewise.
14045 [ISO11] (LDBL_TRUE_MIN): Likewise.
14046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14047 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14048 (SCHAR_MIN): Use macro-int-constant. Specify type.
14049 (SCHAR_MAX): Likewise.
14050 (UCHAR_MAX): Likewise.
14051 (CHAR_MIN): Likewise.
14052 (CHAR_MAX): Likewise.
14053 (MB_LEN_MAX): Use macro-int-constant.
14054 (SHRT_MIN): Use macro-int-constant. Specify type.
14055 (SHRT_MAX): Likewise.
14056 (USHRT_MAX): Likewise.
14057 (INT_MAX): Likewise.
14058 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14060 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14062 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14064 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14065 bound negative. Suffix upper bound with "L".
14066 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14068 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14070 [C99-based standards] (LLONG_MAX): Likewise.
14071 [C99-based standards] (ULLONG_MAX): Likewise.
14072 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14074 [ISO11] (max_align_t): Require type.
14075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14077 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14078 from $CFLAGS, without defining away __attribute__ calls.
14079 (checknamespace): Use $CFLAGS_namespace.
14081 * conform/conformtest.pl (@keywords): Only include C99 keywords
14082 for standards based on C99 or C11.
14084 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14086 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14089 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14090 usability of symbols in #if.
14092 * conform/conformtest.pl: If macro or constant types start
14093 "promoted:", expect the symbol to be of the following type
14094 promoted by the integer promotions.
14096 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14097 in one place. Also handle "macro-constant".
14099 * conform/conformtest.pl: Only accept expected macro values with
14100 "==". Parse all "macro" lines in one place.
14101 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14103 * conform/conformtest.pl: Handle braced types on "constant" lines
14104 instead of handling "typed-constant".
14105 * conform/data/signal.h-data: Use "constant" instead of
14108 * conform/conformtest.pl: Handle "optional-" at start of lines in
14109 one place rather than duplicating several cases. Handle each
14110 format of "macro" line with initial "optional-".
14112 * conform/conformtest.pl: Only accept expected constant or
14113 optional-constant values with "==". Parse all "constant" lines in
14114 one place. Parse all "optional-constant" lines in one place.
14115 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14116 * conform/data/fmtmsg.h-data: Likewise.
14117 * conform/data/netinet/in.h-data: Likewise.
14118 * conform/data/tar.h-data: Likewise.
14119 * conform/data/limits.h-data: Use "==" form on "constant" and
14120 "optional-constant" lines.
14122 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14123 Use -std=c99 for XOPEN2K.
14124 (@knownproblems): Remove.
14125 (newtoken): Don't check %isknown.
14127 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14128 Do not expect macro.
14129 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14130 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14131 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14132 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14133 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14134 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14135 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14136 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14137 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14138 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14139 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14140 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14141 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14142 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14143 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14144 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14145 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14146 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14147 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14148 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14149 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14150 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14151 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14152 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14153 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14154 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14155 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14156 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14157 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14158 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14159 [XPG3] (acosh): Likewise.
14160 [XPG3] (asinh): Likewise.
14161 [XPG3] (atanh): Likewise.
14162 [XPG3] (cbrt): Likewise.
14163 [XPG3] (expm1): Likewise.
14164 [XPG3] (ilogb): Likewise.
14165 [XPG3] (log1p): Likewise.
14166 [XPG3] (logb): Likewise.
14167 [XPG3] (nextafter): Likewise.
14168 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14169 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14170 [XPG3] (remainder): Likewise.
14171 [XPG3] (rint): Likewise.
14172 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14173 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14174 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14175 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14176 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14177 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14178 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14179 [UNIX98 || XOPEN2K] (scalb): Expect.
14180 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14181 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14182 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14183 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14184 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14185 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14186 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14187 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14188 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14189 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14190 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14191 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14192 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14193 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14194 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14195 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14196 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14197 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14198 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14199 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14200 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14201 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14202 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14203 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14204 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14205 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14206 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14207 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14208 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14209 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14210 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14211 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14212 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14213 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14214 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14215 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14216 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14217 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14218 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14219 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14220 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14221 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14222 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14223 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14224 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14225 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14226 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14227 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14228 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14229 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14230 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14231 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14232 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14233 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14234 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14235 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14236 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14237 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14245 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14246 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14247 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14248 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14249 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14267 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14268 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14269 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14270 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14271 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14272 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14273 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14274 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14275 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14277 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14278 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14286 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14287 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14288 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14305 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14306 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14307 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14308 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14309 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14310 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14311 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14312 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14313 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14314 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14315 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14316 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14318 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14319 _XOPEN_SOURCE_EXTENDED for XPG4.
14321 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14323 * Makeconfig (localtime): Remove variable.
14324 (inst_localtime-file): Likewise.
14326 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14347 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14351 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14352 comparisons to determine direction to adjust input.
14353 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14354 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14361 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14362 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14364 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14366 * math/libm-test.inc (nexttoward_test): Add more tests.
14368 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14371 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14372 in version GLIBC_2.1, not GLIBC_2.0.
14373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14376 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14379 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14381 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14382 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14383 * math/libm-test.inc (acos_test): Add more tests.
14384 (asin_test): Likewise.
14385 * sysdeps/i386/fpu/libm-test-ulps: Update.
14386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14391 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14392 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14393 * math/libm-test.inc (acos_test_tonearest): New function.
14394 (acos_test_towardzero): Likewise.
14395 (acos_test_downward): Likewise.
14396 (acos_test_upward): Likewise.
14397 (asin_test_tonearest): Likewise.
14398 (asin_test_towardzero): Likewise.
14399 (asin_test_downward): Likewise.
14400 (asin_test_upward): Likewise.
14401 (main): Call the new functions.
14402 * sysdeps/i386/fpu/libm-test-ulps: Update.
14403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14407 * math/e_exp10.c: Include <float.h>.
14408 (__ieee754_exp10): Handle underflow here rather than multiplying
14409 large negative argument by M_LN10.
14410 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14412 * math/e_exp10l.c: Include <float.h>.
14413 (__ieee754_exp10l): Handle underflow here rather than multiplying
14414 large negative argument by M_LN10l.
14415 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14416 spurious overflow exception on underflow.
14418 2012-04-29 Marek Polacek <polacek@redhat.com>
14420 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14421 (__fortify_function): New macro.
14422 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14423 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14424 __extern_always_inline.
14425 * libio/bits/stdio2.h: Likewise.
14426 * libio/bits/stdio.h: Likewise.
14427 * string/string.h: Likewise.
14428 * string/bits/string3.h: Likewise.
14429 * include/stdio.h: Likewise.
14430 * stdlib/bits/stdlib.h: Likewise.
14431 * stdlib/stdlib.h: Likewise.
14432 * rt/bits/mqueue2.h: Likewise.
14433 * rt/mqueue.h: Likewise.
14434 * posix/bits/unistd.h: Likewise.
14435 * posix/unistd.h: Likewise.
14436 * io/bits/poll2.h: Likewise.
14437 * io/bits/fcntl2.h: Likewise.
14438 * io/fcntl.h: Likewise.
14439 * io/sys/poll.h: Likewise.
14440 * misc/bits/syslog.h: Likewise.
14441 * misc/bits/syslog-ldbl.h: Likewise.
14442 * misc/sys/syslog.h: Likewise.
14443 * socket/bits/socket2.h: Likewise.
14444 * socket/sys/socket.h: Likewise.
14445 * debug/tst-chk1.c: Likewise.
14446 * wcsmbs/bits/wchar2.h: Likewise.
14447 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14448 * wcsmbs/wchar.h: Likewise.
14450 2012-04-29 Andreas Jaeger <aj@suse.de>
14452 * Makerules (tests): Remove enable-check-abi protection.
14453 (check-abi-warn): Remove.
14454 (check-abi-%): Remove check-abi-warn usage.
14456 * configure.in: Remove check-abi configure option.
14457 * configure: Regenerated.
14458 * config.make.in (enable-check-abi): Remove.
14460 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14463 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14464 double functions to double *_finite functions.
14467 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14468 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14470 * stdio-common/Makefile (tests): Add tst-sprintf3.
14471 * stdio-common/tst-sprintf3.c: New file.
14473 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14474 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14476 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14478 * conform/conformtest.pl: Remove duplicate typed-constant
14481 2012-04-28 David S. Miller <davem@davemloft.net>
14483 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14484 (check-abi-%): Remove AWK script prerequisite and explicit
14486 (check-abi): Rewrite to just diff the symlist with the abilist.
14487 (config-tls, config-abi-config): Delete, no longer used.
14488 (update-abi-%): Remove AWK script and explicit abilist directory.
14489 (update-abi): Rewrite to simply compare and conditionally copy the
14490 symlist and the sysdep abilist file. Remove update-abi-config
14492 * abilist/ld.abilist: Remove.
14493 * abilist/libBrokenLocale.abilist: Remove.
14494 * abilist/libanl.abilist: Remove.
14495 * abilist/libcrypt.abilist: Remove.
14496 * abilist/libdl.abilist: Remove.
14497 * abilist/librt.abilist: Remove.
14498 * abilist/libthread_db.abilist: Remove.
14499 * abilist/libutil.abilist: Remove.
14500 * scripts/extract-abilist.awk: Remove.
14501 * scripts/merge-abilist.awk: Remove.
14502 * sysdeps/generic/libcidn.abilist: New file.
14503 * sysdeps/generic/libnss_compat.abilist: New file.
14504 * sysdeps/generic/libnss_db.abilist: New file.
14505 * sysdeps/generic/libnss_dns.abilist: New file.
14506 * sysdeps/generic/libnss_files.abilist: New file.
14507 * sysdeps/generic/libnss_hesiod.abilist: New file.
14508 * sysdeps/generic/libnss_nis.abilist: New file.
14509 * sysdeps/generic/libnss_nisplus.abilist: New file.
14510 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14511 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14512 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14515 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14516 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14517 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14518 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14519 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14520 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14521 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14522 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14524 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14525 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14526 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14527 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14529 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14530 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14531 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14532 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14533 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14534 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14536 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14537 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14538 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14540 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14643 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14644 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14645 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14648 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14649 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14650 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14651 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14653 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14654 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14655 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14656 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14708 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14710 * conform/conformtest.pl: Fix typo in handling typed-constant from
14713 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14715 * README: Cut down references to pre-2.6 Linux kernels and
14716 Linuxthreads. Update lists of configurations in libc and ports
14717 and sort alphabetically. Say "or newer" with Linux kernel version
14720 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14722 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14725 * math/libm-test.inc (logb_test_downward): New test to expose
14726 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14729 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14732 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14734 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14735 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14737 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14739 * sysdeps/unix/i386/brk.S: Remove file.
14740 * sysdeps/unix/i386/dl-brk.S: Likewise.
14741 * sysdeps/unix/i386/pipe.S: Likewise.
14742 * sysdeps/unix/i386/sigreturn.S: Likewise.
14743 * sysdeps/unix/i386/syscall.S: Likewise.
14744 * sysdeps/unix/i386/vfork.S: Likewise.
14745 * sysdeps/unix/i386/wait.S: Likewise.
14747 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14748 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14750 * configure.in (arm*-none*): Do not allow without
14751 --enable-hacker-mode.
14752 (netbsd*): Remove case setting base_os.
14753 (386bsd*): Likewise.
14754 (freebsd*): Likewise.
14757 (sunos*): Likewise.
14758 (ultrix*): Likewise.
14759 (newsos*): Likewise.
14760 (dynix*): Likewise.
14766 (minix*): Likewise.
14767 (irix4*): Likewise.
14768 (irix6*): Likewise.
14769 (solaris[2-9]*): Likewise.
14771 * configure: Regenerated.
14773 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14777 overflow or cancellation in calculating denominator.
14778 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14780 down expression to avoid unexpected rounding in newer GCCs.
14781 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14783 2012-04-26 David S. Miller <davem@davemloft.net>
14785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14786 long-double compat symbols.
14787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14801 2012-04-25 David S. Miller <davem@davemloft.net>
14803 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14804 HWCAP_* values only after the memory barriers have been defined.
14805 (atomic_full_barrier): Define.
14806 (atomic_read_barrier): Define.
14807 (atomic_write_barrier): Define.
14809 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14811 * shlib-versions: Add libgcc_s version information.
14812 * sysdeps/generic/libgcc_s.h: Remove.
14813 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14815 * sysdeps/gnu/unwind-resume.c: Likewise.
14816 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14818 2012-04-25 David S. Miller <davem@davemloft.net>
14820 * sysdeps/unix/sparc/brk.S: Delete.
14821 * sysdeps/unix/sparc/dl-brk.S: Delete.
14822 * sysdeps/unix/sparc/pipe.S: Delete.
14823 * sysdeps/unix/sparc/sysdep.S: Delete.
14824 * sysdeps/unix/sparc/sysdep.h: Delete.
14825 * sysdeps/unix/sparc/vfork.S: Delete.
14826 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14827 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14829 ret_ERRVAL, r0, r1, MOVE): Define.
14830 (JUMPTARGET): Remove.
14831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14832 sysdeps/unix/sparc/sysdep.h
14833 (ENTRY, END): Remove.
14834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14836 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14838 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14839 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14842 * timezone/README: Update upstream location and email address for
14844 * timezone/zdump.c: Update from tzcode 2012b.
14845 * timezone/zic.c: Likewise.
14847 * configure.in (libc_cv_as_needed): Remove test.
14848 * configure: Regenerated.
14849 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14850 conditional definition.
14851 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14852 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14853 * config.make.in (have-as-needed): Remove variable.
14855 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14856 Paul Pluzhnikov <ppluzhnikov@google.com>
14858 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14861 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14863 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14864 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14865 * sysdeps/sh/strlen.S: Likewise.
14867 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14869 * sysdeps/unix/fork.S: Remove file.
14870 * sysdeps/unix/i386/fork.S: Likewise.
14871 * sysdeps/unix/sparc/fork.S: Likewise.
14873 * sysdeps/unix/system.c: Remove file.
14874 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14876 * sysdeps/unix/getegid.S: Remove file.
14877 * sysdeps/unix/geteuid.S: Likewise.
14879 2012-04-24 Roland McGrath <roland@hack.frob.com>
14881 * scripts/check-localplt.awk: New file.
14882 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14884 * scripts/data/localplt-generic.data: Add a comment.
14886 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14887 NODE when __dir_mkfile failed.
14888 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14889 Reported by Ludovic Courtès <ludo@gnu.org>.
14891 2012-04-24 Andreas Jaeger <aj@suse.de>
14893 * Makerules (common-clean): Also remove gen-as-const-headers
14896 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14898 * Makerules (native-compile): Do not change working directory for
14899 build. Use $(OUTPUT_OPTION) in command.
14900 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14902 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14905 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14906 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14907 * math/libm-test.inc (floor_test): Add more tests.
14908 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14910 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14912 * sysdeps/unix/getdents.c: Remove file.
14913 * sysdeps/unix/sysv/getdents.c: Likewise.
14914 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14916 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14917 sysdeps/unix/mman/syscalls.list.
14919 (mprotect): Likewise.
14921 (munmap): Likewise.
14922 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14923 * sysdeps/unix/mman/syscalls.list: Remove.
14924 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14926 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14927 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14928 * configure: Regenerated.
14929 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14930 $(libgcc_s_suffix).
14931 * config.make.in (libgcc_s_suffix): Remove variable.
14933 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14935 * sysdeps/unix/sysv/gethostname.c: Move to ...
14936 * sysdeps/posix/gethostname.c: ... here.
14938 * sysdeps/unix/execve.S: Remove file.
14940 * sysdeps/unix/_exit.S: Remove file.
14942 2012-04-23 Andreas Jaeger <aj@suse.de>
14945 * manual/Makefile: Remove make dist support, there's no
14946 need for a stand-alone documentation tar ball.
14947 (TEXI2DVI): Define always, it's not in Makeconfig.
14950 (edition): Removed.
14951 (glibc-doc-$(edition).tar): Removed
14955 (ETAGS): Remove, it's in Makeconfig.
14956 (move-if-change): Remove, it's in Makeconfig.
14958 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14961 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14962 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14963 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14964 (strtod_l, strtof_l, strtold_l): Remove __wur.
14965 It is not necessarily an error to ignore strtol's return value.
14966 One can reliably look at the stored endptr to decide whether
14967 the number had valid syntax.
14969 2012-04-21 Andreas Jaeger <aj@suse.de>
14972 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14974 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14976 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14977 * sysdeps/unix/sysv/Versions: Remove file.
14979 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14984 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14988 version from __vm86.
14990 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14992 * sysdeps/unix/common/lxstat.c: Remove file.
14993 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14995 * sysdeps/unix/sysv/Makefile: Remove file.
14997 * sysdeps/unix/sysv/direct.h: Remove file.
14999 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15000 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15001 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15002 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15003 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15004 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15005 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15007 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15009 * sysdeps/unix/xmknod.c: Remove file.
15010 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15012 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15014 * sysdeps/unix/sysv/i386/time.S: Remove file.
15016 * sysdeps/unix/fxstat.c: Remove file.
15017 * sysdeps/unix/xstat.c: Likewise.
15018 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15020 * sysdeps/unix/sysv/sigaction.c: Remove file.
15022 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15023 (sysdep_headers): Remove variable.
15024 [termio.h not in sysdep_headers] (generated): Likewise.
15025 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15026 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15027 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15028 * sysdeps/unix/sysv/tcflow.c: Likewise.
15029 * sysdeps/unix/sysv/tcflush.c: Likewise.
15030 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15031 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15032 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15033 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15034 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15036 * sysdeps/unix/siglist.c: Remove file.
15038 * sysdeps/unix/getppid.S: Remove file.
15040 * sysdeps/unix/mkdir.c: Remove file.
15041 * sysdeps/unix/rmdir.c: Likewise.
15043 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15045 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15047 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15048 errlist-compat value.
15050 2012-04-18 David S. Miller <davem@davemloft.net>
15052 * sysdeps/generic/memcopy.h (reg_char): Delete.
15053 * debug/strcat_chk.c: Use char, not reg_char.
15054 * debug/strcpy_chk.c: Likewise.
15055 * debug/strncat_chk.c: Likewise.
15056 * debug/strncpy_chk.c: Likewise.
15057 * string/memchr.c: Likewise.
15058 * string/memrchr.c: Likewise.
15059 * string/rawmemchr.c: Likewise.
15060 * string/strcat.c: Likewise.
15061 * string/strchr.c: Likewise.
15062 * string/strchrnul.c: Likewise.
15063 * string/strcmp.c: Likewise.
15064 * string/strcpy.c: Likewise.
15065 * string/strncat.c: Likewise.
15066 * string/strncmp.c: Likewise.
15067 * string/strncpy.c: Likewise.
15069 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15071 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15072 __builtin_memcopy is called when src and dest ranges are known to not
15075 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15077 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15078 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15079 fwd_align_merge macro call.
15080 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15081 bwd_align_merge macro call.
15082 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15084 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15086 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15087 bwd_align_merge macros.
15088 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15089 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15090 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15092 2012-04-18 David S. Miller <davem@davemloft.net>
15094 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15096 2012-04-18 Andreas Jaeger <aj@suse.de>
15099 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15100 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15101 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15104 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15105 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15107 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15108 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15109 Adjust for changed ldbl-128 files.
15111 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15112 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15115 2012-04-17 David S. Miller <davem@davemloft.net>
15117 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15119 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15121 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15122 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15123 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15124 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15125 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15126 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15128 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15131 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15132 * math/libm-test.inc: Add ilogb errno and exception tests.
15133 * math/w_ilogb.c: New file: ilogb wrapper.
15134 * math/w_ilogbf.c: New file: ilogbf wrapper.
15135 * math/w_ilogbl.c: New file: ilogbl wrapper.
15136 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15137 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15138 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15139 exception being thrown with 0.0 as argument.
15140 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15141 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15142 exception being thrown with 0.0 as argument.
15143 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15144 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15145 exception being thrown with 0.0 as argument.
15146 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15147 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15148 exception being thrown with 0.0 as argument.
15149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15150 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15152 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15153 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15154 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15155 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15156 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15157 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15159 2012-04-17 Petr Baudis <pasky@ucw.cz>
15161 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15164 2012-04-16 Marek Polacek <polacek@redhat.com>
15166 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15168 2012-04-16 Marek Polacek <polacek@redhat.com>
15170 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15171 operands of fdivp instruction.
15173 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15175 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15176 * elf/tst-auditmod3b.c: Likewise.
15177 * elf/tst-auditmod4b.c: Likewise.
15178 * elf/tst-auditmod5b.c: Likewise.
15179 * elf/tst-auditmod6b.c: Likewise.
15180 * elf/tst-auditmod6c.c: Likewise.
15181 * elf/tst-auditmod7b.c: Likewise.
15182 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15183 * sysdeps/x86_64/preconfigure.in: Likewise.
15184 * sysdeps/x86_64/preconfigure: Regenerated.
15186 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15188 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15191 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15194 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15196 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15199 * locale/iso-639.def: Fix gl language name. Spotted by
15202 2012-04-12 Roland McGrath <roland@hack.frob.com>
15205 * libio/libio.h (__io_write_fn): Update comment.
15207 2012-04-12 Petr Baudis <pasky@ucw.cz>
15210 * stdio.texi (Hook Functions): The user provided writer function
15211 is not allowed to return -1.
15213 2012-04-11 David S. Miller <davem@davemloft.net>
15215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15217 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15219 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15220 Add a leading slash to rtkaio.
15222 2012-04-11 Jim Meyering <meyering@redhat.com>
15225 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15226 It is not necessarily an error to ignore fwrite's return
15227 value. One can reliably use ferror to test for errors after
15230 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15232 * bits/types.h (__snseconds_t): New type.
15233 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15235 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15237 (__SNSECONDS_T_TYPE): Likewise.
15238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15239 (__SNSECONDS_T_TYPE): Likewise.
15240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15241 (__SNSECONDS_T_TYPE): Likewise.
15243 2012-04-10 Andreas Jaeger <aj@suse.de>
15246 * manual/time.texi (Processor Time): Return type of times is
15247 elapsed real time since an arbitrary point in the past.
15248 (CPU Time): Move CLK_TCK from here...
15249 (Processor Time): ...to here. Correct description.
15250 * manual/conf.texi (Constants for Sysconf): Correct description of
15253 2012-04-10 David S. Miller <davem@davemloft.net>
15256 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15257 where the is a gap between DT_REL(A) and DT_JMPREL.
15259 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15261 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15262 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15263 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15265 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15267 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15268 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15269 (dl_main): Handle --inhibit-cache.
15270 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15272 * elf/dl-load.c (_dl_map_object): Use it.
15273 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15275 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15278 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15279 (__ieee754_powl): Saturate large exponents rather than testing for
15280 overflow of y*log2(x).
15281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15282 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15286 * math/s_ctan.c: Include <float.h>.
15287 (__ctan): Avoid internal overflow or cancellation in calculating
15289 * math/s_ctanf.c: Likewise.
15290 * math/s_ctanl.c: Likewise.
15291 * math/s_ctanh.c: Likewise.
15292 * math/s_ctanhf.c: Likewise.
15293 * math/s_ctanhl.c: Likewise.
15294 * math/libm-test.inc (ctan_test): Add more tests.
15295 (ctanh_test): Likewise.
15296 * sysdeps/i386/fpu/libm-test-ulps: Update.
15297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15299 2012-04-09 Andreas Jaeger <aj@suse.de>
15302 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15303 is an optional BSD extension.
15306 * manual/stdio.texi (Opening Streams): Document additional fopen
15309 2012-04-09 Roland McGrath <roland@hack.frob.com>
15311 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15312 %eax without telling the compiler.
15314 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15317 * manual/install.texi: Use sourceware.org.
15319 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15322 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15323 (__ieee754_pow): Generate overflow and underflow using huge*huge
15324 and tiny*tiny rather than just returning constant infinity or zero
15325 for large exponents.
15326 * math/libm-test.inc (pow_test): Require overflow exceptions for
15327 applicable cases of large exponents.
15330 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15331 (__ieee754_pow): Use iterative multiplication algorithm only for
15332 integer exponents with absolute value below 1024. Check for odd
15333 integer exponents when using algorithm for real exponents.
15334 * math/libm-test.inc (pow_test): Add more tests.
15335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15337 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15340 * math/libm-test.inc (exp_test): Do not allow overflow exception
15343 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15346 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15347 instead of __kernel_standard_f.
15349 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15351 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15352 * sysdeps/x86_64/memset_chk.S: Likewise.
15354 2012-04-08 Andreas Jaeger <aj@suse.de>
15357 * manual/startup.texi (Environment Access): Describe return value
15358 for putenv and setenv.
15361 * manual/filesys.texi (Directory Entries): Add description for
15365 * manual/filesys.texi (Directory Entries): Clarify that it's file
15366 system not operating system in the description of DT_UNKNOWN.
15369 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15371 2012-04-08 Stephen Compall <s11@member.fsf.org>
15374 * manual/llio.texi (Opening and Closing Files): Add cross
15375 reference to explain mode argument.
15377 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15379 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15380 * sysdeps/x86_64/memset_chk.S: Likewise.
15382 2012-04-07 David S. Miller <davem@davemloft.net>
15384 * elf/elf.h (R_SPARC_WDISP10): Define.
15385 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15388 R_SPARC_SIZE64 and R_SPARC_H34.
15390 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15393 conditions and remove no longer applicable assertion.
15395 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15397 * bits/byteswap.h: Include <features.h>.
15398 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15399 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15401 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15403 * bits/byteswap.h (__bswap_16): Removed.
15404 Include <bits/byteswap-16.h> to get __bswap_16.
15405 * sysdeps/i386/bits/byteswap.h: Likewise.
15406 * sysdeps/s390/bits/byteswap.h: Likewise.
15407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15408 * bits/byteswap-16.h: New file.
15409 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15410 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15411 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15412 * string/Makefile (headers): Add bits/byteswap-16.h.
15414 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15417 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15419 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15420 * nss/tst-nss-static.c: New.
15422 2012-04-06 Robert Millan <rmh@gnu.org>
15425 * manual/llio.texi (File Position Primitive): lseek
15426 refers to WHENCE when it really means OFFSET.
15428 2012-04-06 Andreas Jaeger <aj@suse.de>
15430 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15431 strncmp declarations.
15433 * abilist/libc.abilist: Add __poll and __ppoll.
15435 2012-04-05 David S. Miller <davem@davemloft.net>
15437 * scripts/check-local-headers.sh: Accept a host triplet in the
15438 path matched by the exclude regexp.
15440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15442 * sysdeps/powerpc/powerpc32/dl-machine.h
15443 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15444 * sysdeps/s390/s390-32/dl-machine.h
15445 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15446 * sysdeps/sparc/sparc32/dl-machine.h
15447 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15448 * sysdeps/sparc/sparc64/dl-machine.h
15449 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15451 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15453 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15454 undefined symbol errors.
15456 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15459 2012-04-05 Michael Matz <matz@suse.de>
15462 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15464 2012-04-05 Andreas Jaeger <aj@suse.de>
15467 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15470 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15473 which ROUND is no valid rounding mode.
15475 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15479 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15481 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15483 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15484 an exception using FPU order intentionally.
15486 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15488 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15489 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15490 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15491 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15493 2012-04-05 Simon Josefsson <simon@josefsson.org>
15496 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15497 EINVAL when BUFLEN is too smal.
15499 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15502 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15503 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15505 2012-04-03 Andreas Jaeger <aj@suse.de>
15508 * manual/setjmp.texi (System V contexts): Fix sentence.
15511 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15512 New macro for this case.
15513 [!__GNUC__] (__bswap_64): New inline function for this case.
15514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15515 * bits/byteswap.h: Likewise.
15516 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15517 ull, guard with __GLIBC_HAVE_LONG_LONG.
15519 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15520 __GLIBC_HAVE_LONG_LONG.
15522 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15523 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15525 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15528 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15529 inptr and inend, rather than using last_ch.
15531 2012-04-02 David S. Miller <davem@davemloft.net>
15533 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15534 * stdio-common/printf-parse.h (read_int): Change return type to
15535 'int', return -1 on INT_MAX overflow.
15536 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15537 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15538 overflows INT_MAX. Check for overflow of in-format-string precision
15539 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15540 SIZE_MAX not INT_MAX for integer overflow test.
15541 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15542 skip the construct in the format string but do not record anything.
15543 * stdio-common/bug22.c: Adjust to test both width/prevision
15544 INT_MAX overflow as well as total length INT_MAX overflow. Check
15545 explicitly for proper errno values.
15547 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15549 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15551 * string/test-strcmp.c [! WIDE]: Likewise.
15552 * time/tst-mktime2.c: Likewise for INT_MAX.
15553 * string/test-string.h: #include <sys/param.h> for MIN.
15555 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15556 * sysdeps/i386/init-first.c (init): Likewise.
15557 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15558 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15559 * sysdeps/sh/init-first.c (init): Likewise.
15561 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15563 * po/ru.po: Update from translation team.
15564 * po/vi.po: Likewise.
15566 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15568 * resolv/nss_dns/dns-host.c: Merge copyright years.
15570 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15573 Optimize memcpy with prefetch if
15574 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15575 src, dst pointers have unequal 16 byte alignments.
15577 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15580 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15581 from a CNAME entry and return the minimum ttl for the query.
15582 (gaih_getanswer_slice): Likewise.
15584 2012-03-30 Jeff Law <law@redhat.com>
15586 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15588 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15589 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15591 * resolv/nss_dns/dns-host.c: Update copyright year.
15593 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15595 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15596 requests to save a system call. Fix check that all bytes are sent.
15598 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15599 comments for sendmmsg.
15601 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15604 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15605 with only 1 character between 0x0041 and 0x01b0.
15606 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15607 * wcsmbs/tst-mbsnrtowcs.c: New file.
15609 2012-03-29 David S. Miller <davem@davemloft.net>
15611 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15612 small copies by hand.
15614 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15617 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15618 _nss_compat_initgroups_dyn): Fall back to malloc/free
15619 for large group memberships.
15621 2012-03-28 David S. Miller <davem@davemloft.net>
15623 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15624 that branches into memcpy.
15625 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15628 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15631 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15632 implementation too.
15633 * sysdeps/sparc/mempcpy.S: New file.
15635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15636 the IFUNC routine in the libc case.
15637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15639 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15640 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15641 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15642 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15643 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15644 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15645 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15646 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15648 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15649 loop to 256 bytes instead of 64 bytes and fix test signedness.
15651 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15652 * sysdeps/sparc/sparc32/Makefile: rather than here...
15653 * sysdeps/sparc/sparc64/Makefile: and here.
15655 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15657 * malloc/mallocbug.c: Avoid warnings about unused variables.
15659 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15662 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15663 in the right place. Discard and retry query if response is
15664 larger than input buffer size.
15666 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15671 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15672 x for large integer exponent.
15673 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15674 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15675 sign of result as needed afterwards.
15676 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15677 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15678 result for underflowing pow the same as for overflow.
15679 (__kernel_standard_l): Handle powl overflow and underflow here
15680 rather than calling __kernel_standard.
15681 * math/libm-test.inc (pow_test): Add more tests.
15696 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15697 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15698 (__kernel_standard_l): New function.
15699 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15701 * math/w_acosl.c (__acosl): Likewise.
15702 * math/w_asinl.c (__asinl): Likewise.
15703 * math/w_atan2l.c (__atan2l): Likewise.
15704 * math/w_atanhl.c (__atanhl): Likewise.
15705 * math/w_coshl.c (__coshl): Likewise.
15706 * math/w_exp10l.c (__exp10l): Likewise.
15707 * math/w_exp2l.c (__exp2l): Likewise.
15708 * math/w_fmodl.c (__fmodl): Likewise.
15709 * math/w_hypotl.c (__hypotl): Likewise.
15710 * math/w_j0l.c (__j0l, __y0l): Likewise.
15711 * math/w_j1l.c (__j1l, __y1l): Likewise.
15712 * math/w_jnl.c (__jnl, __ynl): Likewise.
15713 * math/w_lgammal.c (__lgammal): Likewise.
15714 * math/w_log10l.c (__log10l): Likewise.
15715 * math/w_log2l.c (__log2l): Likewise.
15716 * math/w_logl.c (__logl): Likewise.
15717 * math/w_powl.c (__powl): Likewise.
15718 * math/w_remainderl.c (__remainderl): Likewise.
15719 * math/w_scalbl.c (sysv_scalbl): Likewise.
15720 * math/w_sinhl.c (__sinhl): Likewise.
15721 * math/w_sqrtl.c (__sqrtl): Likewise.
15722 * math/w_tgammal.c (__tgammal): Likewise.
15723 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15724 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15725 * math/libm-test.inc (acos_test): Add more tests.
15726 (acosh_test): Likewise.
15727 (asin_test): Likewise.
15728 (atanh_test): Likewise.
15729 (exp_test): Likewise.
15730 (exp10_test): Likewise.
15731 (exp2_test): Likewise.
15732 (expm1_test): Likewise.
15733 (lgamma_test): Likewise.
15734 (log_test): Likewise.
15735 (log10_test): Likewise.
15736 (log1p_test): Likewise.
15737 (log2_test): Likewise.
15738 (pow_test): Do not allow some spurious overflow exceptions.
15739 (sqrt_test): Add more tests.
15740 (tgamma_test): Likewise.
15741 (y0_test): Likewise.
15742 (y1_test): Likewise.
15743 (yn_test): Likewise.
15745 2012-03-27 Anton Blanchard <anton@samba.org>
15747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15753 2012-03-27 David S. Miller <davem@davemloft.net>
15755 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15757 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15758 have-as-vis3 check.
15760 2012-03-27 Andreas Jaeger <aj@suse.de>
15762 * sysdeps/x86_64/elf/configure.in: Moved to ...
15763 * sysdeps/x86_64/configure.in: ... here.
15764 * sysdeps/x86_64/elf/start.S: Moved to ...
15765 * sysdeps/x86_64/start.S: ... here.
15766 * sysdeps/x86_64/elf/configure: Delete.
15768 * sysdeps/x86_64/configure.in: Merge contents from
15769 sysdeps/i386/configure.in (without i686 check).
15771 * sysdeps/i386/elf/Versions: Merge into ...
15772 * sysdeps/i386/Versions: ... this.
15773 * sysdeps/i386/elf/Versions: Delete file.
15774 * sysdeps/i386/elf/start.S: Moved to ...
15775 * sysdeps/i386/start.S: ...here.
15776 * sysdeps/i386/elf/configure.in: Merge into...
15777 * sysdeps/i386/configure.in: ...here.
15778 * sysdeps/i386/elf/configure.in: Delete file.
15779 * sysdeps/i386/elf/configure: Delete file.
15781 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15782 * debug/backtracesyms.c: ... here.
15783 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15784 * debug/backtracesymsfd.c: ... here.
15785 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15786 * sysdeps/generic/ifunc-sel.h: ... here.
15788 * sysdeps/unix/i386/start.c: Delete file.
15789 * sysdeps/unix/sparc/start.c: Delete file.
15790 * sysdeps/unix/start.c: Delete file.
15792 * sysdeps/sh/elf/configure.in: Moved to ...
15793 * sysdeps/sh/configure.in: ... here.
15794 * sysdeps/sh/elf/start.S: Moved to ...
15795 * sysdeps/sh/start.S: ... here.
15796 * sysdeps/sh/elf/configure: Delete file.
15798 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15799 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15800 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15801 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15802 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15803 * sysdeps/powerpc/powerpc64/start.S: here.
15804 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15805 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15806 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15807 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15808 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15810 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15811 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15812 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15813 * sysdeps/powerpc/powerpc32/start.S: ... here.
15814 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15815 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15816 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15818 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15819 * sysdeps/powerpc/ifunc-sel.h: ... here.
15820 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15821 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15823 * sysdeps/sparc/elf/configure.in: Moved to ...
15824 * sysdeps/sparc/configure.in: ... here.
15825 * sysdeps/sparc/elf/configure: Delete file.
15826 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15827 * sysdeps/sparc/sparc32/start.S: ... here.
15828 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15829 * sysdeps/sparc/sparc64/start.S: ... here.
15830 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15831 * sysdeps/sparc/sparc32/Makefile: ... this.
15832 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15833 * sysdeps/sparc/sparc64/Makefile: ... this.
15835 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15836 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15837 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15838 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15839 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15840 * sysdeps/s390/s390-32/setjmp.S: ... here.
15841 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15842 * sysdeps/s390/s390-32/configure.in: ... here.
15843 * sysdeps/s390/s390-32/elf/configure: Delete file.
15844 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15845 * sysdeps/s390/s390-32/start.S: ... here.
15847 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15848 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15849 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15850 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15851 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15852 * sysdeps/s390/s390-64/setjmp.S: ... here.
15853 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15854 * sysdeps/s390/s390-64/configure.in: ... here
15855 * sysdeps/s390/s390-64/elf/configure: Delete file.
15856 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15857 * sysdeps/s390/s390-64/start.S: ... here.
15858 * sysdeps/s390/s390-64/elf/configure: Delete.
15860 * configure.in: Remove support for elf directories in sysdeps.
15862 * configure: Regenerated.
15863 * sysdeps/i386/configure: Regenerated.
15864 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15865 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15866 * sysdeps/s390/s390-32/configure: Regenerated.
15867 * sysdeps/s390/s390-64/configure: Regenerated.
15868 * sysdeps/sh/configure: Regenerated.
15869 * sysdeps/sparc/configure: Regenerated.
15870 * sysdeps/x86_64/configure: Regenerated.
15872 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15877 denormal result into account.
15879 2012-03-25 Roland McGrath <roland@hack.frob.com>
15881 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15882 Reported by Allan McRae <allan@archlinux.org>.
15884 2012-03-23 Jeff Law <law@redhat.com>
15886 * nss/getnssent.c (__nss_getent): Fix typo.
15888 2012-03-23 David S. Miller <davem@davemloft.net>
15890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15892 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15894 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15895 to pad to uint64_t for each field.
15896 (dl_tls_index): Replace unsigned long with uint64_t.
15898 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15899 Paul Pluzhnikov <ppluzhnikov@google.com>
15902 * grp/Makefile (otherlibs): Don't set it.
15903 * inet/Makefile (otherlibs): Likewise.
15904 * login/Makefile (otherlibs): Likewise.
15905 * nscd/Makefile (otherlibs): Likewise.
15906 * posix/Makefile (otherlibs): Likewise.
15907 * pwd/Makefile (otherlibs): Likewise.
15908 * rt/Makefile (otherlibs): Likewise.
15909 * sunrpc/Makefile (otherlibs): Likewise.
15910 * nss/Makefile (otherlibs): Likewise.
15911 Add libnss_files to routines and static-only-routines.
15912 ($(objpfx)getent): Remove rule.
15913 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15914 static-only-routines.
15916 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15919 * math/s_cexp.c: Include <float.h>.
15920 (__cexp): Handle exp result overflowing not necessarily
15921 overflowing both real and imaginary parts of result.
15922 * math/s_cexpf.c: Likewise.
15923 * math/s_cexpl.c: Likewise.
15924 * math/libm-test.inc (cexp_test): Add more tests.
15925 * sysdeps/i386/fpu/libm-test-ulps: Update.
15926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15928 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15930 * include/link.h (ELFW): New macro.
15931 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15932 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15934 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15936 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15939 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15941 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15943 (struct La_x32_retval): Likewise.
15945 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15947 * sysdeps/x86_64/preconfigure.in: New file.
15948 * sysdeps/x86_64/preconfigure: New generated file.
15950 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15953 * math/e_exp2l.c: Include <float.h>.
15954 (__ieee754_exp2l): Handle overflow and underflow cases
15955 separately. Only pass fractional part of argument to
15957 * math/libm-test.inc (exp2_test): Add more tests.
15959 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15960 negating x to take absolute value.
15961 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15966 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15967 computing low part if x was negated.
15968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15970 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15972 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15973 la_x32_gnu_pltexit.
15974 (pltexit): Cast int_retval to ptrdiff_t.
15975 * elf/tst-auditmod3b.c: Likewise.
15976 * elf/tst-auditmod4b.c: Likewise.
15977 * elf/tst-auditmod5b.c: Likewise.
15978 * elf/tst-auditmod6b.c: Likewise.
15979 * elf/tst-auditmod6c.c: Likewise.
15980 * elf/tst-auditmod7b.c: Likewise.
15982 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15983 and x32_gnu_pltexit.
15985 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15986 __ELF_NATIVE_CLASS.
15987 (La_x32_regs): New macro.
15988 (La_x32_retval): Likewise.
15989 (la_x32_gnu_pltenter): New function prototype.
15990 (la_x32_gnu_pltexit): Likewise.
15992 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15994 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15999 * configure.in (libc_cv_cc_nofma): Check for option to disable
16000 generation of FMA instructions.
16001 * configure: Regenerate.
16002 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16003 * sysdeps/ieee754/dbl-64/Makefile: New file.
16004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16005 Remove brandred-fma4.
16006 (CFLAGS-brandred-fma4.c): Remove.
16007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16008 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16010 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16013 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16015 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16016 LLONG_MAX != LONG_MAX.
16017 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16018 (_fitoa_word): Likewise.
16019 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16020 LLONG_MAX != LONG_MAX.
16021 * stdio-common/_itowa.h: Include <_itoa.h>.
16022 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16023 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16024 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16025 only if not defined.
16026 (_ITOA_WORD_TYPE): Likewise.
16027 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16028 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16030 2012-03-21 David S. Miller <davem@davemloft.net>
16032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16034 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16036 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16037 of x86_64 when setting libc_cv_slibdir, libdir and
16039 * sysdeps/unix/sysv/linux/configure: Regenerated.
16041 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16043 * manual/lang.texi (Old Varargs): Remove section.
16044 (How Variadic): Update menu.
16045 (va_start): Do not mention varargs.h.
16047 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16048 Joseph Myers <joseph@codesourcery.com>
16050 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16052 * configure: Regenerated.
16054 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16056 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16057 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16060 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16063 * Makefile (files-for-dist): Remove NOTES.
16064 (NOTES): Remove rule.
16065 * README: Don't refer to NOTES.
16066 * manual/creature.texi: Don't include macros.texi.
16067 * manual/intro.texi (creature.texi): Remove comment referring to
16070 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16071 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16072 * configure: Regenerated.
16073 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16074 LIBC_TRY_CC_OPTION.
16075 (libc_cv_as_i686): Likewise.
16076 (libc_cv_cc_avx): Likewise.
16077 (libc_cv_cc_sse2avx): Likewise.
16078 (libc_cv_cc_fma4): Likewise.
16079 (libc_cv_cc_novzeroupper): Likewise.
16080 * sysdeps/i386/configure: Regenerated.
16083 * sysdeps/i386/fpu/s_cexp.S: Remove.
16084 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16085 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16086 * math/libm-test.inc (cexp_test): Add more tests.
16087 * sysdeps/i386/fpu/libm-test-ulps: Update.
16088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16090 2012-03-21 Allan McRae <allan@archlinux.org>
16092 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16094 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16097 * math/w_exp2.c: Do not include <float.h>.
16098 (o_threshold, u_threshold): Remove.
16099 (__exp2): Calculate result before checking finiteness and calling
16101 * math/w_exp2f.c: Likewise.
16102 * math/w_exp2l.c: Likewise.
16103 * math/libm-test.inc (exp2_test): Require overflow exception for
16107 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16108 range of signed 64-bit integers before using fistpll. Remove
16109 checks for whether integers fit in mantissa bits.
16110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16111 the range of signed 32-bit integers before using fistpl. Remove
16112 checks for whether integers fit in mantissa bits.
16113 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16114 (__ieee754_powl): Test for y outside the range of signed 64-bit
16115 integers before using fistpll. Reduce 64-bit values to 63-bit
16117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16118 divide-by-zero is raised for zero to large negative powers.
16119 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16120 (__ieee754_powl): Test for y outside the range of signed 64-bit
16121 integers before using fistpll. Reduce 64-bit values to 63-bit
16123 * math/libm-test.inc (pow_test): Add more tests.
16125 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16127 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16128 <stdio-common/_itoa.h>.
16129 * debug/segfault.c: Likewise.
16130 * elf/dl-cache.c: Likewise.
16131 * elf/dl-minimal.c: Likewise.
16132 * elf/dl-misc.c: Likewise.
16133 * elf/dl-sysdep.c: Likewise.
16134 * elf/dl-version.c: Likewise.
16135 * elf/rtld.c: Likewise.
16136 * hurd/hurdsock.c: Likewise.
16137 * hurd/lookup-retry.c: Likewise.
16138 * malloc/malloc.c: Likewise.
16139 * malloc/mtrace.c: Likewise.
16140 * nscd/nscd_getgr_r.c: Likewise.
16141 * nscd/nscd_getpw_r.c: Likewise.
16142 * nscd/nscd_getserv_r.c: Likewise.
16143 * posix/getopt_init.c: Likewise.
16144 * posix/wordexp.c: Likewise.
16145 * stdio-common/_itoa.c: Likewise.
16146 * stdio-common/printf_fphex.c: Likewise.
16147 * stdio-common/vfprintf.c: Likewise.
16148 * string/_strerror.c: Likewise.
16149 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16150 * sysdeps/i386/i686/hp-timing.h: Likewise.
16151 * sysdeps/mach/_strerror.c: Likewise.
16152 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16153 * sysdeps/mach/hurd/sethostid.c: Likewise.
16154 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16155 * sysdeps/mach/xpg-strerror.c: Likewise.
16156 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16157 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16158 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16159 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16160 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16161 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16162 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16163 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16164 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16165 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16166 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16167 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16168 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16169 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16170 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16171 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16172 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16173 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16174 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16175 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16176 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16178 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16180 * stdio-common/_itoa.h: Moved to ...
16181 * sysdeps/generic/_itoa.h: Here.
16183 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16185 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16186 instead of "_itoa.h" and "_itowa.h".
16187 * stdio-common/vfprintf.: Likewise.
16189 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16193 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16194 (__signbit): Likwise.
16195 (llrintf): Likwise.
16198 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16200 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16203 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16205 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16206 OVERFLOW_EXCEPTION_OK.
16207 * math/libm-test.inc ("Philosophy"): Update comment about
16209 (OVERFLOW_EXCEPTION): Define.
16210 (OVERFLOW_EXCEPTION_OK): Likewise.
16211 (INVALID_EXCEPTION_OK): Renumber.
16212 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16213 (IGNORE_ZERO_INF_SIGN): Likewise.
16214 (test_exceptions): Handle FE_OVERFLOW.
16215 (exp10_test): Expect overflow exceptions.
16216 (exp2_test): Likewise.
16217 (expm1_test): Likewise.
16218 (nextafter_test): Likewise.
16219 (pow_test): Likewise.
16220 (scalbn_test): Likewise.
16221 (scalbln_test): Likewise.
16223 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16225 * sysdeps/x86_64/bits/atomic.h
16226 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16228 (atomic_exchange_acq): Likewise.
16229 (__arch_exchange_and_add_body): Likewise.
16230 (__arch_add_body): Likewise.
16231 (atomic_add_negative): Likewise.
16232 (atomic_add_zero): Likewise.
16234 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16236 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16237 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16239 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16241 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16242 Check __x86_64__ instead of __WORDSIZE.
16244 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16246 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16248 2012-03-19 David S. Miller <davem@davemloft.net>
16250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16252 * sysdeps/sparc/fpu/fenv_private.h: New file.
16253 * sysdeps/sparc/fpu/math_private.h: Use it.
16254 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16256 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16257 (libc_feholdexcept_setroundl): Remove.
16258 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16260 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16261 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16263 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16265 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16266 int64_t instead of long int.
16267 (INSERT_WORDS64): Likwise.
16269 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16271 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16272 _Unwind_GetCFA return to _Unwind_Ptr first.
16274 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16277 * math/s_clog.c: Include <float.h>.
16278 (__clog): Scale large or subnormal inputs.
16279 * math/s_clogf.c: Likewise.
16280 * math/s_clogl.c: Likewise.
16281 * math/s_clog10.c: Include <float.h>.
16282 (M_LOG10_2): Define.
16283 (__clog10): Scale large or subnormal inputs.
16284 * math/s_clog10f.c: Likewise.
16285 * math/s_clog10l.c: Likewise.
16286 * math/libm-test.inc (clog_test): Add more tests.
16287 (clog10_test): Likewise.
16288 * sysdeps/i386/fpu/libm-test-ulps: Update.
16289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16292 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16294 * math/libm-test.inc (atan2_test): Add another test.
16296 * Makerules (common-objdir-compile): Remove.
16297 * sysdeps/unix/Makefile (config-generated): Do not add
16298 $(unix-generated) to variable.
16299 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16300 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16302 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16304 [generic bits/local_lim.h] (before-compile): Do not append to
16306 [generic bits/local_lim.h] (common-generated): Likewise.
16307 [generic sys/param.h] (before-compile): Do not append to variable.
16308 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16309 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16310 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16311 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16313 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16314 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16315 [generic sys/param.h] ($(addprefix
16316 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16317 [generic sys/param.h] (common-generated): Do not append to
16319 [generic sys/param.h] (sysdep_headers): Likewise.
16320 [generic bits/errno.h] (before-compile): Do not append to
16322 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16324 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16325 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16326 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16327 [generic bits/errno.h] (common-generated): Do not append to
16329 [generic bits/ioctls.h] (before-compile): Do not append to
16331 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16333 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16334 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16335 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16337 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16338 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16339 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16340 [generic bits/ioctls.h] (common-generated): Do not append to
16342 [generic sys/syscall.h] (syscall.h): Remove variable.
16343 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16345 [generic sys/syscall.h] (before-compile): Do not append to
16347 [generic sys/syscall.h] (common-generated): Likewise.
16348 * sysdeps/unix/errnos-tmpl.c: Remove file.
16349 * sysdeps/unix/errnos.awk: Likewise.
16350 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16351 * sysdeps/unix/ioctls.awk: Likewise.
16352 * sysdeps/unix/mk-local_lim.c: Likewise.
16353 * sysdeps/unix/snarf-ioctls: Likewise.
16355 2012-03-19 Richard Henderson <rth@twiddle.net>
16357 * sysdeps/i386/fpu/fenv_private.h: New file.
16358 * sysdeps/i386/fpu/math_private.h: Use it.
16359 (math_opt_barrier, math_force_eval): Remove.
16360 (libc_feholdexcept_setround_53bit): Remove.
16361 (libc_feupdateenv_53bit): Remove.
16362 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16363 (math_opt_barrier, math_force_eval): Remove.
16364 (libc_feholdexcept): Remove.
16365 (libc_feholdexcept_setround): Remove.
16366 (libc_fetestexcept, libc_fesetenv): Remove.
16367 (libc_feupdateenv_test): Remove.
16368 (libc_feupdateenv, libc_feholdsetround): Remove.
16369 (libc_feresetround): Remove.
16371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16372 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16374 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16375 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16376 (libc_feupdateenv_testl): New.
16377 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16378 (libc_feupdateenv_testf): New.
16379 (libc_feupdateenv): Use libc_feupdateenv_test.
16380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16381 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16383 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16384 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16385 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16386 (libc_feresetround_noex): New.
16387 (libc_feresetround_noexf): New.
16388 (libc_feresetround_noexl): New.
16389 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16390 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16391 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16392 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16397 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16398 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16399 SET_RESTORE_ROUND_NOEX.
16400 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16401 SET_RESTORE_ROUND_NOEXF.
16402 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16403 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16404 (libc_feholdsetroundf): New.
16405 (libc_feresetround, libc_feresetroundf): New.
16407 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16408 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16409 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16411 * sysdeps/generic/math_private.h: Include <fenv.h>.
16412 (default_libc_feholdexcept): New.
16413 (default_libc_feholdexcept_setround): New.
16414 (default_libc_fesetenv, default_libc_feupdateenv): New.
16415 (libc_feholdexcept): Only define if undefined.
16416 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16417 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16418 (libc_feholdexcept_setroundl): Likewise.
16419 (libc_feholdexcept_setround_53bit): Likewise.
16420 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16421 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16422 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16423 (libc_feupdateenv_53bit): Likewise.
16424 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16425 (libc_feholdexcept): Convert from macro to inline function.
16426 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16427 (libc_fesetenv, libc_feupdateenv): Likewise.
16429 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16430 not previously defined.
16431 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16432 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16433 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16434 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16435 * sysdeps/ieee754/flt-32/math_private.h: New file.
16436 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16437 math_private.h below SET_FLOAT_WORD.
16438 (__isnan, __isinf_ns, __finite): Remove.
16439 (__isnanf, __isinf_nsf, __finitef): Remove.
16441 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16445 2012-03-17 David S. Miller <davem@davemloft.net>
16448 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16451 2012-03-16 David S. Miller <davem@davemloft.net>
16453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16457 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16459 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16460 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16461 sysdep_routines when subdir is sysvipc.
16462 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16463 __getshmlba helper.
16465 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16467 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16469 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16472 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16475 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16476 (__lround): Renamed to ...
16477 (__llround): This. Replace long int with long long int.
16478 Define lround functions as aliases of llround functions.
16479 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16481 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16483 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16484 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16485 adresses to uintptr_t. Replace "long int" and "unsigned long
16486 int" with "greg_t" on va_arg.
16488 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16490 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16491 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16493 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16494 Move e_machine check before EI_CLASS check. Handle x32
16495 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16496 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16497 SKIP_EM_IA_64 and include
16498 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16500 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16501 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16502 (add_system_dir): New macro.
16504 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16505 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16507 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16518 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16520 * math/w_j0f.c (j0f): Likewise.
16522 * math/w_j0l.c (__j0l): Likewise.
16524 * math/w_j1.c (j1): Likewise.
16526 * math/w_j1f.c (j1f): Likewise.
16528 * math/w_j1l.c (__j1l): Likewise.
16530 * math/w_jn.c (jn): Likewise.
16532 * math/w_jnf.c (jnf): Likewise.
16534 * math/w_jnl.c (__jnl): Likewise.
16536 * math/libm-test.inc (j0_test): Add more tests.
16537 (j1_test): Likewise.
16538 (jn_test): Likewise. Add trailing semicolon to existing test.
16539 (y0_test): Likewise.
16540 (y1_test): Likewise.
16541 * sysdeps/i386/fpu/libm-test-ulps: Update.
16542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16546 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16547 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16548 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16549 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16550 (__tanl): Set errno for infinite argument.
16551 * sysdeps/i386/fpu/mptan.c: Remove.
16552 * sysdeps/i386/fpu/s_tan.S: Likewise.
16553 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16554 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16555 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16556 * math/libm-test.inc (tan_test): Add more tests and enable more
16557 tests for double and long double.
16558 * sysdeps/i386/fpu/libm-test-ulps: Update.
16559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16561 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16563 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16564 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16566 2012-03-16 Roland McGrath <roland@hack.frob.com>
16568 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16569 * configure.in: Use it for both main tree and add-ons.
16570 * configure: Regenerated.
16572 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16574 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16576 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16578 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16582 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16583 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16584 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16585 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16586 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16588 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16590 != 0 for prec == 2.
16591 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16592 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16593 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16594 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16595 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16596 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16597 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16598 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16599 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16600 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16601 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16602 * math/libm-test.inc (cos_test): Add more tests and enable more
16603 tests for long double.
16604 (sin_test): Likewise.
16605 (sincos_test): Likewise.
16606 * sysdeps/i386/fpu/libm-test-ulps: Update.
16607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16609 2012-03-16 David S. Miller <davem@davemloft.net>
16611 * sysdeps/sparc/fpu/math_private.h: New file.
16613 2012-03-15 David S. Miller <davem@davemloft.net>
16615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16629 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16630 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16632 * sysdeps/sparc/sparc-ifunc.h: New file.
16633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16673 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16678 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16680 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16684 2012-03-15 Andreas Jaeger <aj@suse.de>
16687 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16688 ieee754/flt-32 implementation for sin, cos and sincos.
16689 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16690 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16691 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16692 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16693 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16694 ieee754/flt-32 implementation for tan.
16696 * math/libm-test.inc (cos_test): Enable some large input tests for
16698 (sin_test): Likewise.
16699 (sincos_test): Likewise.
16700 (tan_test): Add tests for large input.
16702 * sysdeps/i386/fpu/libm-test-ulps: Update.
16704 2012-03-15 Andreas Jaeger <aj@suse.de>
16707 * math/libm-test.inc (cos_test): Add more test cases.
16708 (sin_test): Likewise.
16709 (sincos_test): Likewise.
16711 2012-03-15 Andreas Jaeger <aj@suse.de>
16714 * math/libm-test.inc (cos_test): Add a test case for large input
16716 (sin_test): Likewise.
16717 (sincos_test): Likewise.
16719 2012-03-15 Andreas Jaeger <aj@suse.de>,
16720 Joseph Myers <joseph@codesourcery.com>
16723 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16724 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16725 * sysdeps/i386/fpu/branred.c: Likewise.
16726 * sysdeps/i386/fpu/dosincos.c: Likewise.
16727 * sysdeps/i386/fpu/mpa.c: Likewise.
16728 * sysdeps/i386/fpu/s_cos.S: Likewise.
16729 * sysdeps/i386/fpu/s_sin.S: Likewise.
16730 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16731 * sysdeps/i386/fpu/sincos32.c: Likewise.
16733 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16735 (libc_feupdateenv_53bit): Define.
16736 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16738 (libc_feupdateenv_53bit): Define.
16740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16741 53 bit (without extend i386 double precision).
16743 * math/libm-test.inc (sincos_test): Add tests for large input.
16747 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16749 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16753 2012-03-15 David S. Miller <davem@davemloft.net>
16755 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16756 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16757 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16758 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16783 fmin/fmax sysdep routines.
16784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16786 2012-03-14 David S. Miller <davem@davemloft.net>
16788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16860 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16865 * sysdeps/sparc/configure.in: New file.
16866 * sysdeps/sparc/configure: Generate.
16867 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16868 * configure: Regenerate.
16869 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16870 * config.make.in (have-as-vis3): New.
16871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16872 available use -Av9d instead of -Av9a.
16873 * sysdeps/sparc/sparc64/Makefile: Likewise.
16874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16885 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16889 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16890 fzeros/fnegs to load 0x80000000 into a float register instead of
16892 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16894 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16898 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16899 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16900 ($(inst_includedir)/bits/syscall.h): Remove rule.
16901 ($(objpfx)bits/syscall.d): Include instead of
16902 $(objpfx)syscall-list.d.
16903 (generated): Change syscall-list.h and syscall-list.d to
16904 bits/syscall.h and bits/syscall.d.
16906 2012-03-14 Roland McGrath <roland@hack.frob.com>
16909 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16911 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16914 * math/s_csqrt.c: Include <float.h>.
16915 (__csqrt): Scale large or subnormal inputs.
16916 * math/s_csqrtf.c: Likewise.
16917 * math/s_csqrtl.c: Likewise.
16918 * math/libm-test.inc (csqrt_test): Add more tests.
16919 * sysdeps/i386/fpu/libm-test-ulps: Update.
16920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16923 * math/libm-test.inc (hypot_test): Add more tests.
16925 2012-03-13 David S. Miller <davem@davemloft.net>
16928 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16929 double-precision for the calculation instead of scaling.
16931 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16933 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16934 manipulate bits before adding and subtracting TWO52[sx].
16935 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16938 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16940 2012-03-13 David S. Miller <davem@davemloft.net>
16942 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16943 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16945 rtld-global-offsets.h
16946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16948 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16951 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16953 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16954 'err' in the ifdef scope in which it is actually used.
16956 * nss/nss_db/db-init.c: Include string.h
16958 2012-03-12 David S. Miller <davem@davemloft.net>
16960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16961 masking out of the most significant byte of random value used.
16962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16963 Fix coding style in previous change.
16965 * sysdeps/unix/sysv/linux/kernel-features.h
16966 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16967 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16969 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16972 2012-03-11 David S. Miller <davem@davemloft.net>
16974 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16975 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16976 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16977 for 'resultvar' otherwise things get truncated on 64-bit.
16979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16980 Fix masking out of the most significant byte of random value used.
16982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16984 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16988 2012-03-09 David S. Miller <davem@davemloft.net>
16990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16991 variables with appropriate CPP guards.
16992 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16993 frame pointer, not the stack pointer. Correct layout comments. Fix test
16994 on resulting framesize and the management of the outregs buffer for pltexit.
16995 Preserve floating point return values across _dl_call_pltexit call.
16996 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16997 framesize and the management of the outregs buffer for pltexit.
16998 Preserve floating point return values across _dl_call_pltexit
17000 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17001 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17002 (print_exit): Fix format string for return register value.
17004 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17006 * sunrpc/Makefile (others): Add rpcgen.
17007 ($(objpfx)rpcgen): Remove special build rule and dependency on
17009 * sunrpc/rpcgen.c: New file.
17011 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17014 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17015 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17016 * sysdeps/i386/crti.S: Likewise.
17017 * sysdeps/i386/crtn.S: Likewise.
17018 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17019 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17020 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17021 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17022 * sysdeps/sh/crti.S: Likewise.
17023 * sysdeps/sh/crtn.S: Likewise.
17024 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17027 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17029 * locale/programs/locfile-kw.gperf: Likewise.
17030 * locale/programs/charmap-kw.h: Regenerated.
17031 * locale/programs/locfile-kw.h: Likewise.
17034 * intl/plural.y: Replace FSF snail mail address with URL.
17035 * intl/plural.c: Regenerated.
17037 2012-03-09 Richard Henderson <rth@twiddle.net>
17039 * include/math_private.h: Remove file.
17040 * math/math_private.h: Move file ...
17041 * sysdeps/generic/math_private.h: ... here.
17043 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17044 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17045 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17047 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17048 and <math_private.h>.
17049 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17050 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17051 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17052 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17053 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17102 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17103 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17104 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17105 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17108 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17137 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17140 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17141 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17142 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17143 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17144 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17145 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17146 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17147 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17148 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17149 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17150 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17151 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17152 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17154 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17155 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17156 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17157 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17158 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17159 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17160 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17161 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17163 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17165 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17166 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17167 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17168 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17169 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17170 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17171 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17172 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17176 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17177 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17178 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17179 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17180 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17181 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17182 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17183 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17184 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17185 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17186 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17187 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17188 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17189 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17190 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17191 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17192 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17194 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17195 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17196 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17197 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17198 * sysdeps/ieee754/k_standard.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17318 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17321 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17326 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17331 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17347 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17348 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17359 * sysdeps/ieee754/s_lib_version.c: Likewise.
17360 * sysdeps/ieee754/s_matherr.c: Likewise.
17361 * sysdeps/ieee754/s_signgam.c: Likewise.
17362 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17363 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17364 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17365 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17366 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17367 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17368 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17369 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17370 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17371 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17372 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17373 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17374 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17375 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17376 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17377 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17378 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17379 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17380 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17384 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17386 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17387 * sunrpc/rpc_main.c: Likewise.
17388 * sunrpc/rpc_svcout.c: Likewise.
17390 2012-03-09 David S. Miller <davem@davemloft.net>
17392 * include/math_private.h: New file.
17394 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17396 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17397 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17398 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17399 from <bits/socket_type.h>.
17400 (enum __socket_type): Don't define here.
17401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17403 bits/socket_type.h.
17406 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17407 checking __USE_GNU.
17409 * Makerules ($(inst_includedir)/%.h): New rule.
17410 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17411 (install-others): Remove variable setting.
17412 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17414 2012-03-08 Richard Henderson <rth@twiddle.net>
17416 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17417 from macro to inline function; merge with the
17418 !__LIBC_INTERNAL_MATH_INLINES version.
17419 (__ieee754_sqrtf): Likewise.
17421 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17422 to inline function.
17423 (__rintf, __floor, __floorf): Likewise.
17425 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17426 macro to inline function.
17427 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17429 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17430 not <math/math_private.h>.
17432 2012-03-08 David S. Miller <davem@davemloft.net>
17434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17436 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17438 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17440 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17442 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17443 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17445 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17447 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17448 be defined individually, they must be defined as a block. Define
17449 S for printing a string instead of hidint the different by using a
17450 macro for adding the 'l'.
17451 * stdio-common/tst-fphex-wide.c: Adjust.
17453 2012-03-07 Marek Polacek <polacek@redhat.com>
17455 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17457 2012-03-08 Marek Polacek <polacek@redhat.com>
17460 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17461 * stdio-common/tst-fphex.c: Define a few macros to make the
17462 test reusable. Use them.
17463 * stdio-common/tst-fphex-wide.c: New file.
17465 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17468 * manual/macros.texi (gnusystems): New macro.
17469 (nongnusystems): Likewise.
17470 (gnulinuxhurdsystems): Likewise.
17471 (gnuhurdsystems): Likewise..
17472 (gnulinuxsystems): Likewise.
17473 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17474 variants of the GNU system, not "GNU system".
17475 * manual/conf.texi: Likewise.
17476 * manual/errno.texi: Likewise. Update example of errno macro
17478 * manual/filesys.texi: Likewise.
17479 (getumask): Document as specific to GNU/Hurd.
17480 * manual/install.texi: Likewise. Reword some references to
17482 * manual/intro.texi: Likewise.
17483 * manual/io.texi: Likewise.
17484 (File Name Portability): Detail which constraints are inapplicable
17485 to all GNU systems and which are only inapplicable to GNU/Hurd.
17486 * manual/job.texi: Likewise.
17487 * manual/llio.texi: Likewise.
17488 (O_NOCTTY): Document as present on GNU/Linux.
17489 * manual/maint.texi: Likewise.
17490 * manual/memory.texi: Likewise.
17491 * manual/pattern.texi: Likewise.
17492 * manual/pipe.texi: Likewise.
17493 * manual/process.texi: Likewise.
17494 * manual/resource.texi: Likewise.
17495 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17497 * manual/setjmp.texi: Likewise.
17498 * manual/signal.texi: Likewise.
17499 * manual/startup.texi: Likewise.
17500 * manual/stdio.texi: Likewise.
17501 * manual/terminal.texi: Likewise.
17502 (ONLCR): Document as POSIX.
17503 (OXTABS): Document availability on GNU/Linux as XTABS.
17504 (ONOEOT): Document availability separately from other bits.
17505 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17506 * manual/time.texi: Likewise.
17507 * manual/users.texi: Likewise.
17508 * INSTALL: Regenerated.
17509 * sysdeps/gnu/errlist.c: Regenerated.
17511 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17512 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17513 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17515 * configure: Regenerated.
17517 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17519 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17520 default includes instead of AC_HEADER_CHECK.
17521 * sysdeps/i386/configure: Regenerated.
17524 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17525 * math/s_cacoshf.c (__cacoshf): Likewise.
17526 * math/s_cacoshl.c (__cacoshl): Likewise.
17527 * math/s_casinh.c (__casinh): Set signs of result from argument.
17528 * math/s_casinhf.c (__casinhf): Likewise.
17529 * math/s_casinhl.c (__casinhl): Likewise.
17530 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17531 (casinh_test): Add more tests.
17532 * sysdeps/i386/fpu/libm-test-ulps: Update.
17533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17535 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17537 * po/zh_TW.po: Update from translation team.
17539 * login/Makefile (distribute): Remove variable.
17540 * catgets/Makefile: Likewise.
17541 * mach/Makefile: Likewise.
17542 * malloc/Makefile: Likewise.
17543 * misc/Makefile: Likewise.
17544 * iconv/Makefile: Likewise.
17545 * nscd/Makefile: Likewise.
17546 * hurd/Makefile: Likewise.
17547 * manual/Makefile: Likewise.
17548 * locale/Makefile: Likewise.
17549 * intl/Makefile: Likewise.
17550 * conform/Makefile: Likewise.
17551 * nss/Makefile: Likewise.
17552 * time/Makefile: Likewise.
17553 * soft-fp/Makefile: Likewise.
17554 * dirent/Makefile: Likewise.
17555 * gmon/Makefile: Likewise.
17556 * po/Makefile: Likewise.
17557 * rt/Makefile: Likewise.
17558 * socket/Makefile: Likewise.
17559 * math/Makefile: Likewise.
17560 * signal/Makefile: Likewise.
17561 * debug/Makefile: Likewise.
17562 * elf/Makefile: Likewise.
17563 * timezone/Makefile: Likewise.
17564 * stdlib/Makefile: Likewise.
17565 * iconvdata/Makefile: Likewise.
17566 * sunrpc/Makefile: Likewise.
17567 * io/Makefile: Likewise.
17568 * argp/Makefile: Likewise.
17569 * inet/Makefile: Likewise.
17570 * hesiod/Makefile: Likewise.
17571 * grp/Makefile: Likewise.
17572 * csu/Makefile: Likewise.
17573 * wctype/Makefile: Likewise.
17574 * crypt/Makefile: Likewise.
17575 * libio/Makefile: Likewise.
17576 * string/Makefile: Likewise.
17577 * nis/Makefile: Likewise.
17578 * resolv/Makefile: Likewise.
17579 * stdio-common/Makefile: Likewise.
17580 * wcsmbs/Makefile: Likewise.
17581 * dlfcn/Makefile: Likewise.
17582 * posix/Makefile: Likewise.
17585 * timezone/Makefile: Don't install timezone files, just the programs
17588 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17590 * nss/databases.def: Add missing gshadow entry.
17592 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17594 2012-03-06 Marek Polacek <polacek@redhat.com>
17597 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17598 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17599 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17600 * stdio-common/tst-long-dbl-fphex.c: New file.
17602 2012-03-06 David S. Miller <davem@davemloft.net>
17604 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17605 (set_obp_int): New function.
17606 (get_obp_int): New function.
17607 (__get_clockfreq_via_dev_openprom): Likewise.
17608 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17609 Avoid unused variable warnings on 'val' and use builtin_expect.
17610 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17612 (INLINE_CLONE_SYSCALL): Likewise.
17614 2012-03-05 David S. Miller <davem@davemloft.net>
17616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17618 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17622 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17623 only for |x| >= 40.
17624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17626 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17629 Replace gettimeofday with __vdso_gettimeofday.
17631 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17632 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17633 __vdso_clock_gettime and __vdso_getcpu.
17635 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17636 time with __vdso_time.
17638 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17640 * manual/lang.texi (size_t): Note types to which size_t may be
17641 equivalent with the GNU C Library, but do not describe when
17642 differences between them are significant.
17644 2012-03-05 Andreas Jaeger <aj@suse.de>
17646 * sysdeps/i386/fpu/libm-test-ulps: Update.
17648 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17651 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17652 (__ieee754_pow): Save and restore rounding mode and use
17653 round-to-nearest for main computations.
17654 * math/libm-test.inc (pow_test_tonearest): New function.
17655 (pow_test_towardzero): Likewise.
17656 (pow_test_downward): Likewise.
17657 (pow_test_upward): Likewise.
17658 (main): Call the new functions.
17659 * sysdeps/i386/fpu/libm-test-ulps: Update.
17660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17663 * math/libm-test.inc (cosh_test_tonearest): New function.
17664 (cosh_test_towardzero): Likewise.
17665 (cosh_test_downward): Likewise.
17666 (cosh_test_upward): Likewise.
17667 (sinh_test_tonearest): Likewise.
17668 (sinh_test_towardzero): Likewise.
17669 (sinh_test_downward): Likewise.
17670 (sinh_test_upward): Likewise.
17671 (main): Call the new functions.
17672 * sysdeps/i386/fpu/libm-test-ulps: Update.
17673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17675 2012-03-05 Tom de Vries <tom@codesourcery.com>
17677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17678 default stack guard is set in last bytes.
17679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17681 2012-03-05 Kees Cook <keescook@chromium.org>
17683 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17686 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17687 possibly allocate from heap instead of stack.
17688 * stdio-common/bug-vfprintf-nargs.c: New file.
17689 * stdio-common/Makefile (tests): Add nargs overflow test.
17691 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17695 2012-03-03 Marek Polacek <polacek@redhat.com>
17697 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17698 * math/math_private.h: Likewise.
17699 * stdlib/tst-strtod.c: Likewise.
17700 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17701 * sysdeps/x86_64/bits/atomic.h: Likewise.
17703 2012-03-02 David S. Miller <davem@davemloft.net>
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17709 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17710 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17711 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17712 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17714 2012-03-02 Roland McGrath <roland@hack.frob.com>
17717 * manual/examples/README: New file, says the example source files
17718 can be used under GPL>=2.
17719 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17720 line containing just "*/".
17721 * manual/examples/add.c: Add copyright header (GPL>=2).
17722 * manual/examples/argp-ex1.c: Likewise.
17723 * manual/examples/argp-ex2.c: Likewise.
17724 * manual/examples/argp-ex3.c: Likewise.
17725 * manual/examples/argp-ex4.c: Likewise.
17726 * manual/examples/atexit.c: Likewise.
17727 * manual/examples/db.c: Likewise.
17728 * manual/examples/dir.c: Likewise.
17729 * manual/examples/dir2.c: Likewise.
17730 * manual/examples/execinfo.c: Likewise.
17731 * manual/examples/filecli.c: Likewise.
17732 * manual/examples/filesrv.c: Likewise.
17733 * manual/examples/fmtmsgexpl.c: Likewise.
17734 * manual/examples/genpass.c: Likewise.
17735 * manual/examples/inetcli.c: Likewise.
17736 * manual/examples/inetsrv.c: Likewise.
17737 * manual/examples/isockad.c: Likewise.
17738 * manual/examples/longopt.c: Likewise.
17739 * manual/examples/memopen.c: Likewise.
17740 * manual/examples/memstrm.c: Likewise.
17741 * manual/examples/mkfsock.c: Likewise.
17742 * manual/examples/mkisock.c: Likewise.
17743 * manual/examples/mygetpass.c: Likewise.
17744 * manual/examples/pipe.c: Likewise.
17745 * manual/examples/popen.c: Likewise.
17746 * manual/examples/rprintf.c: Likewise.
17747 * manual/examples/search.c: Likewise.
17748 * manual/examples/select.c: Likewise.
17749 * manual/examples/setjmp.c: Likewise.
17750 * manual/examples/sigh1.c: Likewise.
17751 * manual/examples/sigusr.c: Likewise.
17752 * manual/examples/stpcpy.c: Likewise.
17753 * manual/examples/strdupa.c: Likewise.
17754 * manual/examples/strftim.c: Likewise.
17755 * manual/examples/strncat.c: Likewise.
17756 * manual/examples/subopt.c: Likewise.
17757 * manual/examples/swapcontext.c: Likewise.
17758 * manual/examples/termios.c: Likewise.
17759 * manual/examples/testopt.c: Likewise.
17760 * manual/examples/testpass.c: Likewise.
17761 * manual/examples/timeval_subtract.c: Likewise.
17764 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17766 * manual/timeval_subtract.c.texi: ... here, new file.
17768 2012-03-02 David S. Miller <davem@davemloft.net>
17770 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17772 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17775 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17776 (__sin): Save and restore rounding mode and use round-to-nearest
17777 for all computations.
17778 (__cos): Save and restore rounding mode and use round-to-nearest
17779 for all computations.
17780 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17782 (tan): Save and restore rounding mode and use round-to-nearest for
17784 * math/libm-test.inc (cos_test_tonearest): New function.
17785 (cos_test_towardzero): Likewise.
17786 (cos_test_downward): Likewise.
17787 (cos_test_upward): Likewise.
17788 (sin_test_tonearest): Likewise.
17789 (sin_test_towardzero): Likewise.
17790 (sin_test_downward): Likewise.
17791 (sin_test_upward): Likewise.
17792 (tan_test_tonearest): Likewise.
17793 (tan_test_towardzero): Likewise.
17794 (tan_test_downward): Likewise.
17795 (tan_test_upward): Likewise.
17796 (main): Call the new functions.
17797 * sysdeps/i386/fpu/libm-test-ulps: Update.
17798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17801 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17802 small n, then large n, before computing and testing k+n.
17803 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17808 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17809 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17816 * math/libm-test.inc (scalbn_test): Add more tests.
17817 (scalbln_test): Likewise.
17819 * manual/filesys.texi (mode_t): Describe constraints on size and
17820 signedness, not exact equivalence to a particular type.
17822 (ino64_t): Likewise.
17824 (nlink_t): Likewise.
17825 (blkcnt_t): Likewise.
17826 (blkcnt64_t): Likewise.
17827 * manual/llio.texi (off_t): Likewise.
17830 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17831 (__ieee754_exp): Save and restore rounding mode and use
17832 round-to-nearest for all computations.
17833 * math/libm-test.inc (exp_test_tonearest): New function.
17834 (exp_test_towardzero): Likewise.
17835 (exp_test_downward): Likewise.
17836 (exp_test_upward): Likewise.
17837 (main): Call the new functions.
17838 * sysdeps/i386/fpu/libm-test-ulps: Update.
17839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17841 2012-03-01 Chris Demetriou <cgd@google.com>
17843 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17844 have predictable order.
17846 2012-03-01 David S. Miller <davem@davemloft.net>
17848 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17850 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17851 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17852 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17853 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17855 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17856 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17857 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17859 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17860 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17861 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17862 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17867 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17868 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17869 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17871 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17872 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17873 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17878 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17879 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17880 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17881 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17882 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17884 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17885 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17887 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17888 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17889 * sysdeps/sparc/elf/configure: Regenerated.
17891 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17893 * configure.in (AS, LD): Require binutils 2.20 or later.
17894 * configure: Regenerated.
17895 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17896 as required minimum version.
17897 * INSTALL: Regenerated.
17901 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17902 before squaring exponent.
17903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17904 bottom long double and 27 bits of top long double before squaring
17906 * math/libm-test.inc (erfc_test): Add more tests.
17907 * sysdeps/i386/fpu/libm-test-ulps: Update.
17908 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17911 2012-03-01 Kai Tietz <ktietz@redhat.com>
17913 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17914 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17915 containing bit-fields.
17916 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17917 * soft-fp/single.h (_FP_UNION_S): Likewise.
17918 * soft-fp/double.h (_FP_UNION_D): Likewise.
17920 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17923 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17924 not include ../strcmp.S.
17925 [USE_AS_STRNCASECMP_L]: Likewise.
17926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17927 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17928 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17929 (__strncasecmp_l_ia32): Define as alias to
17930 __strncasecmp_l_nonascii.
17933 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17934 * sysdeps/i386/fpu/libm-test-ulps: Update.
17935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17937 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17940 2012-02-29 Jeff Law <law@redhat.com>
17942 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17943 out of bounds read.
17945 2012-02-29 Marek Polacek <polacek@redhat.com>
17948 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17949 * elf/Makefile: Add rules to run tst-unused-dep.out.
17951 2012-02-28 David S. Miller <davem@davemloft.net>
17953 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17954 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17957 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17958 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17960 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17962 * math/libm-test.inc (llround_test): Move one test from
17963 lround_test. Use TEST_f_L in moved test.
17964 (lround_test): Move misplaced test to llround_test. Add testcase
17967 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17969 * sysdeps/x86_64/fpu/e_expf.S: New file.
17970 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17972 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17975 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17976 of remain_len that may cause incomplete multi-byte character and
17978 * posix/bug-regex33.c: New file.
17979 * posix/Makefile (tests): Add bug-regex33.
17981 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17983 * manual/macros.texi: New file.
17984 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17985 * manual/libc.texinfo: Include macros.texi.
17986 * manual/creatute.texi: Likewise.
17987 * manual/install.texi: Likewise.
17988 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17989 @glibcadj{} in references to the GNU C Library.
17990 * manual/charset.texi: Likewise.
17991 * manual/conf.texi: Likewise.
17992 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17993 when not using those macros.
17994 * manual/creature.texi: Likewise.
17995 * manual/crypt.texi: Likewise.
17996 * manual/errno.texi: Likewise.
17997 * manual/filesys.texi: Likewise.
17998 * manual/header.texi: Likewise.
17999 * manual/install.texi: Likewise.
18000 * manual/intro.texi: Likewise.
18001 * manual/io.texi: Likewise.
18002 * manual/job.texi: Likewise.
18003 * manual/lang.texi: Likewise.
18004 * manual/libc.texiinfo: Likewise.
18005 * manual/llio.texi: Likewise.
18006 * manual/locale.texi: Likewise.
18007 * manual/maint.texi: Likewise.
18008 * manual/math.texi: Likewise.
18009 * manual/memory.texi: Likewise.
18010 * manual/message.texi: Likewise.
18011 * manual/nss.texi: Likewise.
18012 * manual/pattern.texi: Likewise.
18013 * manual/process.texi: Likewise.
18014 * manual/resource.texi: Likewise.
18015 * manual/search.texi: Likewise.
18016 * manual/setjmp.texi: Likewise.
18017 * manual/signal.texi: Likewise.
18018 * manual/socket.texi: Likewise.
18019 * manual/startup.texi: Likewise.
18020 * manual/stdio.texi: Likewise.
18021 * manual/string.texi: Likewise.
18022 * manual/sysinfo.texi: Likewise.
18023 * manual/syslog.texi: Likewise.
18024 * manual/terminal.texi: Likewise.
18025 * manual/time.texi: Likewise.
18026 * manual/users.texi: Likewise.
18027 * INSTALL: Regenerated.
18028 * NOTES: Regenerated.
18029 * sysdeps/gnu/errlist.c: Regenerated.
18031 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18033 * include/dirent.h: Include <dirstream.h> before
18036 2012-02-28 David S. Miller <davem@davemloft.net>
18038 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18039 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18040 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18041 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18043 2012-02-27 David S. Miller <davem@davemloft.net>
18045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18047 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18048 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18051 frame pointer instead of stack pointer relative arg slot.
18052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18053 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18054 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18056 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18059 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18061 2012-02-27 David S. Miller <davem@davemloft.net>
18063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18067 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18068 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18069 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18070 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18072 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18074 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18075 later. Allow versions 5-9.
18076 * configure: Regenerated.
18077 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18078 required minimum version and 4.6 as recommended version. Do not
18079 mention bugs in GCC 2.7 and 2.8.
18080 * INSTALL: Regenerated.
18082 2012-02-27 David S. Miller <davem@davemloft.net>
18084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18088 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18089 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18090 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18091 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18094 manipulate bits before adding and subtracting TWO112[sx].
18095 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18097 2012-02-27 Roland McGrath <roland@hack.frob.com>
18100 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18101 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18102 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18103 being in POSIX, because they are in 1003.1-2008.
18105 * rt/tst-aio.c: Include <fcntl.h>.
18106 * rt/tst-aio7.c: Likewise.
18107 * rt/tst-aio64.c: Likewise.
18109 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18111 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18113 * manual/install.texi (--with-headers): Describe headers as
18114 interface headers, not private headers.
18115 (Specific advice for GNU/Linux systems): Describe use of headers
18116 from "make headers_install", not private headers from older
18118 * INSTALL: Regenerated.
18119 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18121 * sysdeps/unix/sysv/linux/configure: Regenerated.
18123 * manual/llio.texi (fclean): Remove documentation.
18125 * manual/Makefile (libc-texi-generated): New variable. Include
18127 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18128 $(libc-texi-generated), not duplicated list of files.
18129 (version.texi, stamp-version): New rules.
18130 (realclean): Remove $(libc-texi-generated), not individual files
18131 from that list. Do not remove dir-add.texinfo.
18132 * manual/libc.texinfo: Comment out uses of edition numbers and
18133 references to printed manual. Remove last-updated dates.
18134 (EDITION): Comment out.
18136 (VERSION, UPDATED): Remove.
18137 (version.texi): Include.
18139 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18141 * sysdeps/posix/spawni.c: Include <signal.h>.
18142 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18143 * sysdeps/pthread/aio_fsync.c: Likewise.
18145 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18147 * conform/Makefile (tests): Run only when not cross-compiling and
18148 when fast-check is not defined.
18150 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18151 * conform/data/limits.h-data: Fixes for POSIX2008.
18152 * conform/run-conformtest.sh: Run all tests.
18153 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18155 * include/bits/dlfcn.h: Likewise.
18156 * include/langinfo.h: Likewise.
18157 * include/monetary.h: Likewise.
18158 * include/sys/poll.h: Likewise.
18160 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18162 * posix/spawn.h: Define __need_sigset_t.
18163 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18164 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18165 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18166 to get sigevent_t only.
18167 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18168 only for __USE_GNU.
18169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18170 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18171 process_vm_writev only for __USE_GNU.
18172 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18174 * conform/Makefile: For now ignore errors from run-conformtest.
18175 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18176 POSIX to avoid namespace pollution. Don't prepend headers.
18177 * conform/data/aio.h-data: Fixes for POSIX testing.
18178 * conform/data/fcntl.h-data: Likewise.
18179 * conform/data/glob.h-data: Likewise.
18180 * conform/data/grp.h-data: Likewise.
18181 * conform/data/pthread.h-data: Likewise.
18182 * conform/data/pwd.h-data: Likewise.
18183 * conform/data/signal.h-data: Likewise.
18184 * conform/data/spawn.h-data: Likewise.
18185 * conform/data/stdio.h-data: Likewise.
18186 * conform/data/stdlib.h-data: Likewise.
18187 * conform/data/stropts.h-data: Likewise.
18188 * conform/data/sys/mman.h-data: Likewise.
18189 * conform/data/sys/stat.h-data: Likewise.
18190 * conform/data/sys/types.h-data: Likewise.
18191 * conform/data/sys/wait.h-data: Likewise.
18192 * conform/data/time.h-data: Likewise.
18193 * conform/data/unistd.h-data: Likewise.
18194 * conform/data/utime.h-data: Likewise.
18196 * io/sys/stat.h: fchmod was always in POSIX.
18197 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18198 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18199 * rt/aio.h: Define __need_timespec before including <time.h>.
18200 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18201 struct. Add forward declaration of pthread_attr_t and use it in
18203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18204 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18205 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18206 always remove CLK_TCK definition.
18208 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18210 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18212 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18214 * conform/run-conformtest.sh: New file.
18215 * conform/Makefile: Run run-conformtest for tests.
18216 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18219 * conform/data/uchar.h-data: New file.
18220 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18221 * conform/data/arpa/inet.h-data: Likewise.
18222 * conform/data/assert.h-data: Likewise.
18223 * conform/data/complex.h-data: Likewise.
18224 * conform/data/cpio.h-data: Likewise.
18225 * conform/data/ctype.h-data: Likewise.
18226 * conform/data/dirent.h-data: Likewise.
18227 * conform/data/dlfcn.h-data: Likewise.
18228 * conform/data/errno.h-data: Likewise.
18229 * conform/data/fcntl.h-data: Likewise.
18230 * conform/data/float.h-data: Likewise.
18231 * conform/data/fmtmsg.h-data: Likewise.
18232 * conform/data/fnmatch.h-data: Likewise.
18233 * conform/data/ftw.h-data: Likewise.
18234 * conform/data/glob.h-data: Likewise.
18235 * conform/data/grp.h-data: Likewise.
18236 * conform/data/iconv.h-data: Likewise.
18237 * conform/data/inttypes.h-data: Likewise.
18238 * conform/data/langinfo.h-data: Likewise.
18239 * conform/data/libgen.h-data: Likewise.
18240 * conform/data/limits.h-data: Likewise.
18241 * conform/data/locale.h-data: Likewise.
18242 * conform/data/math.h-data: Likewise.
18243 * conform/data/monetary.h-data: Likewise.
18244 * conform/data/mqueue.h-data: Likewise.
18245 * conform/data/ndbm.h-data: Likewise.
18246 * conform/data/net/if.h-data: Likewise.
18247 * conform/data/netdb.h-data: Likewise.
18248 * conform/data/netinet/in.h-data: Likewise.
18249 * conform/data/nl_types.h-data: Likewise.
18250 * conform/data/poll.h-data: Likewise.
18251 * conform/data/pthread.h-data: Likewise.
18252 * conform/data/pwd.h-data: Likewise.
18253 * conform/data/regex.h-data: Likewise.
18254 * conform/data/sched.h-data: Likewise.
18255 * conform/data/search.h-data: Likewise.
18256 * conform/data/semaphore.h-data: Likewise.
18257 * conform/data/setjmp.h-data: Likewise.
18258 * conform/data/signal.h-data: Likewise.
18259 * conform/data/spawn.h-data: Likewise.
18260 * conform/data/stdarg.h-data: Likewise.
18261 * conform/data/stdio.h-data: Likewise.
18262 * conform/data/stdlib.h-data: Likewise.
18263 * conform/data/string.h-data: Likewise.
18264 * conform/data/strings.h-data: Likewise.
18265 * conform/data/stropts.h-data: Likewise.
18266 * conform/data/sys/ipc.h-data: Likewise.
18267 * conform/data/sys/mman.h-data: Likewise.
18268 * conform/data/sys/msg.h-data: Likewise.
18269 * conform/data/sys/resource.h-data: Likewise.
18270 * conform/data/sys/select.h-data: Likewise.
18271 * conform/data/sys/sem.h-data: Likewise.
18272 * conform/data/sys/shm.h-data: Likewise.
18273 * conform/data/sys/socket.h-data: Likewise.
18274 * conform/data/sys/stat.h-data: Likewise.
18275 * conform/data/sys/statvfs.h-data: Likewise.
18276 * conform/data/sys/time.h-data: Likewise.
18277 * conform/data/sys/timeb.h-data: Likewise.
18278 * conform/data/sys/times.h-data: Likewise.
18279 * conform/data/sys/types.h-data: Likewise.
18280 * conform/data/sys/uio.h-data: Likewise.
18281 * conform/data/sys/un.h-data: Likewise.
18282 * conform/data/sys/utsname.h-data: Likewise.
18283 * conform/data/sys/wait.h-data: Likewise.
18284 * conform/data/syslog.h-data: Likewise.
18285 * conform/data/tar.h-data: Likewise.
18286 * conform/data/termios.h-data: Likewise.
18287 * conform/data/utime.h-data: Likewise.
18288 * conform/data/utmpx.h-data: Likewise.
18289 * conform/data/varargs.h-data: Likewise.
18290 * conform/data/wchar.h-data: Likewise.
18291 * conform/data/wctype.h-data: Likewise.
18292 * conform/data/wordexp.h-data: Likewise.
18294 * include/stropts.h: New file.
18295 * include/uchar.h: New file.
18296 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18297 * include/assert.h: Likewise.
18298 * include/ctype.h: Likewise.
18299 * include/dirent.h: Likewise.
18300 * include/dlfcn.h: Likewise.
18301 * include/fcntl.h: Likewise.
18302 * include/fnmatch.h: Likewise.
18303 * include/glob.h: Likewise.
18304 * include/grp.h: Likewise.
18305 * include/libio.h: Likewise.
18306 * include/locale.h: Likewise.
18307 * include/math.h: Likewise.
18308 * include/net/if.h: Likewise.
18309 * include/netdb.h: Likewise.
18310 * include/netinet/in.h: Likewise.
18311 * include/pthread.h: Likewise.
18312 * include/pwd.h: Likewise.
18313 * include/regex.h: Likewise.
18314 * include/sched.h: Likewise.
18315 * include/search.h: Likewise.
18316 * include/setjmp.h: Likewise.
18317 * include/signal.h: Likewise.
18318 * include/stdio.h: Likewise.
18319 * include/stdlib.h: Likewise.
18320 * include/string.h: Likewise.
18321 * include/sys/cdefs.h: Likewise.
18322 * include/sys/mman.h: Likewise.
18323 * include/sys/msg.h: Likewise.
18324 * include/sys/resource.h: Likewise.
18325 * include/sys/select.h: Likewise.
18326 * include/sys/socket.h: Likewise.
18327 * include/sys/stat.h: Likewise.
18328 * include/sys/statvfs.h: Likewise.
18329 * include/sys/time.h: Likewise.
18330 * include/sys/times.h: Likewise.
18331 * include/sys/uio.h: Likewise.
18332 * include/sys/utsname.h: Likewise.
18333 * include/sys/wait.h: Likewise.
18334 * include/termios.h: Likewise.
18335 * include/time.h: Likewise.
18336 * include/ulimit.h: Likewise.
18337 * include/unistd.h: Likewise.
18338 * include/utime.h: Likewise.
18339 * include/wchar.h: Likewise.
18340 * include/wctype.h: Likewise.
18341 * include/wordexp.h: Likewise.
18343 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18345 * time/time.h: TIME_UTC must be a macro.
18346 Make timespec_get available for ISO C11 only as well.
18348 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18350 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18351 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18353 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18355 * configure.in: Use -o not -a in test for unsupported multi-arch.
18357 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18359 * manual/texinfo.tex: Update to version 2012-01-19.16.
18361 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18363 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18365 2012-02-24 Roland McGrath <roland@hack.frob.com>
18368 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18369 * manual/fdl-1.3.texi: New file.
18370 * manual/fdl-1.1.texi: File removed.
18373 * manual/libc.texinfo (FDL_VERSION): New @set.
18374 Use it for mention of FDL in cover text.
18375 (Documentation License): Use it in @include file name.
18377 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18378 Roland McGrath <roland@hack.frob.com>
18381 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18382 not LONG_LONG_MAX and LONG_LONG_MIN.
18383 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18384 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18386 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18388 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18392 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18393 manipulate bits before adding and subtracting TWO23[sx].
18394 * math/libm-test.inc (nearbyint_test): Add more tests.
18396 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18399 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18400 bits before adding and subtracting TWO23[sx].
18401 * math/libm-test.inc (rint_test): Add more tests.
18402 (rint_test_tonearest): Likewise.
18403 (rint_test_towardzero): Likewise.
18404 (rint_test_downward): Likewise.
18405 (rint_test_upward: Likewise.
18407 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18410 * include/stdc-predef.h: New file. Extracted from features.h.
18411 * include/features.h: Include stdc-predef.h.
18412 * Makefile (headers): Add stdc-predef.h.
18413 * CONFORMANCE (Compiler limitations): Update.
18415 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18417 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18419 2012-02-21 David S. Miller <davem@davemloft.net>
18421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18422 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18424 2012-02-20 David S. Miller <davem@davemloft.net>
18426 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18427 using a normal save/restore sequence, rather than allocating a
18428 dummy stack frame just to store a frame pointer and restore.
18429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18431 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18433 * manual/install.texi: Fix stray word in line-wrapped comment.
18435 2012-02-20 David S. Miller <davem@davemloft.net>
18437 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18438 both binutils and gcc support GOTDATA.
18440 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18441 "rd %pc" in the PIC register setup sequences.
18443 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18444 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18445 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18446 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18452 (SYSCALL_ERROR_HANDLER): Likewise.
18453 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18456 (SYSCALL_ERROR_HANDLER): Likewise.
18458 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18459 (HAVE_GCC_GOTDATA): New.
18460 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18461 relocation support in both binutils and gcc.
18462 * sysdeps/sparc/elf/configure: Regenerate.
18464 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18465 * sysdeps/sparc/sparc32/elf/configure: Delete.
18466 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18467 * sysdeps/sparc/sparc64/elf/configure: Delete.
18468 * sysdeps/sparc/elf/configure.in: New file.
18469 * sysdeps/sparc/elf/configure: Generate.
18471 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18472 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18473 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18474 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18475 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18477 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18479 * manual/install.texi: Do not mention specific glibc version
18481 * manual/libc.texinfo (VERSION, UPDATED): Update.
18482 (@copying): Use @copyright{} and range of years.
18484 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18487 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18488 [crti.S not in sysdirs] (generated): Do not append.
18489 [crti.S not in sysdirs] (omit-deps): Likewise.
18490 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18491 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18492 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18493 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18494 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18496 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18497 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18498 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18499 * csu/defs.awk: Remove file.
18500 * sysdeps/generic/initfini.c: Likewise.
18501 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18503 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18506 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18508 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18509 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18510 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18511 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18512 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18513 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18515 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18516 (__EPOLL_PACKED): Define to empty if not defined by
18518 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18522 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18524 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18525 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18526 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18527 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18529 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18533 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18535 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18538 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18539 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18542 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18544 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18545 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18547 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18549 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18550 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18552 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18554 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18557 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18559 * math/w_acos.c: Use non-signaling floating-point comparisons.
18560 * math/w_acosf.c: Likewise.
18561 * math/w_acosh.c: Likewise.
18562 * math/w_acoshf.c: Likewise.
18563 * math/w_acoshl.c: Likewise.
18564 * math/w_acosl.c: Likewise.
18565 * math/w_asin.c: Likewise.
18566 * math/w_asinf.c: Likewise.
18567 * math/w_asinl.c: Likewise.
18568 * math/w_atanh.c: Likewise.
18569 * math/w_atanhf.c: Likewise.
18570 * math/w_atanhl.c: Likewise.
18571 * math/w_exp2.c: Likewise.
18572 * math/w_exp2f.c: Likewise.
18573 * math/w_exp2l.c: Likewise.
18574 * math/w_j0.c: Likewise.
18575 * math/w_j0f.c: Likewise.
18576 * math/w_j0l.c: Likewise.
18577 * math/w_j1.c: Likewise.
18578 * math/w_j1f.c: Likewise.
18579 * math/w_j1l.c: Likewise.
18580 * math/w_jn.c: Likewise.
18581 * math/w_jnf.c: Likewise.
18582 * math/w_log.c: Likewise.
18583 * math/w_log10.c: Likewise.
18584 * math/w_log10f.c: Likewise.
18585 * math/w_log10l.c: Likewise.
18586 * math/w_log2.c: Likewise.
18587 * math/w_log2f.c: Likewise.
18588 * math/w_log2l.c: Likewise.
18589 * math/w_logf.c: Likewise.
18590 * math/w_logl.c: Likewise.
18591 * math/w_sqrt.c: Likewise.
18592 * math/w_sqrtf.c: Likewise.
18593 * math/w_sqrtl.c: Likewise.
18594 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18595 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18597 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18598 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18600 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18603 * manual/string.texi (strnlen): Use correct parameter name in
18604 equivalent expression.
18606 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18609 * manual/users.texi (seteuid): Consistently use neweuid for
18612 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18615 * manual/nss.texi (Services in the NSS configuration): Correct
18616 list of services in example configuration file.
18618 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18621 * manual/arith.texi: Remove statements about negative zero
18622 behaving identically to zero.
18624 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18627 * manual/install.texi: Do not document upgrading from libc5.
18629 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18632 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18634 2012-02-18 David S. Miller <davem@davemloft.net>
18636 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18637 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18638 %o7 across the call.
18639 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18642 SETUP_PIC_REG_LEAF.
18643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18644 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18645 * sysdeps/sparc/crtn.S: Likewise.
18647 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18649 * aout/Makefile: Remove.
18651 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18654 * manual/examples/argp-ex1.c (main): Format definition in GNU
18656 * manual/examples/argp-ex2.c (main): Likewise.
18657 * manual/examples/argp-ex3.c (main): Likewise.
18658 * manual/examples/argp-ex4.c (main): Likewise.
18659 * manual/examples/longopt.c (main): Use new-style prototype
18661 * manual/examples/strncat.c (main): Specify return type and use
18662 (void) for arguments.
18663 * manual/examples/subopt.c (main): Use char **argv argument.
18665 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18668 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18671 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18674 * manual/string.texi (strchr): Change when strchrnul is
18677 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18680 * manual/locale.texi (setlocale): Document LOCPATH.
18682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18685 * manual/process.texi (execle): Move @dots{} before last argument.
18687 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18690 * manual/charset.texi (Generic Charset Conversion): Fix typo
18691 (LC_TYPE -> LC_CTYPE).
18693 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18696 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18697 (scalbnf): Likewise.
18698 (scalbnl): Likewise.
18699 (scalbln): Likewise.
18700 (scalblnf): Likewise.
18701 (scalblnl): Likewise.
18702 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18703 (vwarnx): Likewise.
18706 * manual/filesys.texi (telldir): Use braces around return type.
18707 * manual/llio.texi (mmap): Add space after comma.
18708 (mmap64): Likewise.
18709 * manual/math.texi (jn): Use @var{} on parameter names.
18715 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18717 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18719 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18720 (sched_get_priority_max): Likewise.
18721 * manual/signal.texi (sigvec): Add space after comma.
18722 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18724 (if_indextoname): Likewise.
18725 (if_freenameindex): Likewise.
18726 (sendto): Use ',' instead of '.' in prototype.
18727 * manual/startup.texi (syscall): Use @dots{} instead of literal
18729 * manual/stdio.texi (__fpending): Separate initial words of
18730 paragraph from @deftypefun line.
18731 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18733 (vsyslog): Use @var{} on parameter names.
18734 * manual/terminal.texi (stty): Use @var{} on parameter names.
18735 * manual/users.texi (getutmp): Use @var{} on parameter names.
18736 (getutmpx): Likewise.
18738 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18741 * manual/stdio.texi (fopen): Fix typos in description of
18744 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18747 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18748 get clock_id definition.
18750 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18753 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18754 (madvise): Cast every argument to void on its own.
18756 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18759 * manual/startup.texi (Exit Status): Fix typo.
18761 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18764 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18765 * manual/examples/argp-ex2.c: Likewise.
18766 * manual/examples/argp-ex3.c: Likewise.
18768 2012-02-16 Richard Henderson <rth@redhat.com>
18770 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18771 * sysdeps/s390/s390-32/initfini.c: Remove.
18772 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18773 * sysdeps/s390/s390-64/initfini.c: Remove.
18775 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18777 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18778 compiler output for sysdeps/generic/initfini.c.
18779 * sysdeps/sh/elf/initfini.c: Remove file.
18781 2012-02-16 David S. Miller <davem@davemloft.net>
18784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18786 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18787 * sysdeps/sparc/crti.S: New file.
18788 * sysdeps/sparc/crtn.S: New file.
18789 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18790 * sysdeps/sparc/sparc64/Makefile: Likewise.
18792 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18795 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18797 2012-02-15 Roland McGrath <roland@hack.frob.com>
18800 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18802 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18803 (write, read, close): Likewise.
18804 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18806 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18808 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18809 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18810 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18811 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18813 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18817 2012-02-14 Marek Polacek <polacek@redhat.com>
18819 * sysdeps/x86_64/crti.S: New file.
18820 * sysdeps/x86_64/crtn.S: New file.
18821 * sysdeps/x86_64/elf/initfini.c: Remove file.
18823 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18825 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18826 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18827 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18828 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18830 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18834 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18836 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18837 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18838 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18839 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18841 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18845 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18847 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18848 __feraiseexcept instead of feraiseexcept.
18850 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18851 nanosleep invocations.
18852 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18853 strings, and add error checking for a nanosleep invocations.
18855 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18857 Replace FSF snail mail address with URLs, as per GNU coding standards.
18858 Most of the snail mail addresses were wrong anyway, and omitting
18859 them makes the source code easier to maintain. Almost all of the
18860 changes are to license notices and to locale LC_IDENTIFICATION
18861 addresses, except for this one:
18862 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18863 not its snail mail address.
18865 2012-02-09 Richard Henderson <rth@twiddle.net>
18867 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18868 of kernel-features.h.
18870 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18872 2012-02-08 Marek Polacek <polacek@redhat.com>
18874 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18875 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18876 * sysdeps/gnu/_G_config.h: Likewise.
18877 * sysdeps/generic/_G_config.h: Likewise.
18879 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18881 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18885 * sysdeps/powerpc/powerpc32/crti.S: New file.
18886 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18887 * sysdeps/powerpc/powerpc64/crti.S: New file.
18888 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18890 * Makeconfig (have-initfini): Don't set.
18891 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18892 * configure.in (nopic_initfini): Don't substitute.
18893 * config.h.in (HAVE_INITFINI): Don't #undef.
18894 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18895 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18897 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18899 Support crti.S and crtn.S provided directly by architectures.
18900 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18901 [crti.S in sysdirs] (omit-deps): Likewise.
18902 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18903 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18904 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18905 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18906 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18907 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18908 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18909 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18910 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18911 compiler output for sysdeps/generic/initfini.c.
18912 * sysdeps/i386/elf/Makefile: Remove file.
18913 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18915 2012-02-07 Marek Polacek <polacek@redhat.com>
18917 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18918 * sysdeps/gnu/_G_config.h: Likewise.
18919 * sysdeps/mach/hurd/_G_config.h: Likewise.
18921 2012-02-07 Marek Polacek <polacek@redhat.com>
18923 * math/Makefile (tests): Add tst-CMPLX2.
18924 * math/tst-CMPLX2.c: New file.
18926 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18928 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18930 * math/libm-test.inc (jn_test): Add missing L suffix.
18932 2012-02-06 Marek Polacek <polacek@redhat.com>
18934 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18935 * sysdeps/i386/fpu/e_powf.S: Likewise.
18936 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18937 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18938 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18939 * sysdeps/i386/fpu/e_pow.S: Likewise.
18940 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18941 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18942 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18943 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18944 * sysdeps/i386/fpu/e_log2.S: Likewise.
18945 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18946 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18947 * sysdeps/i386/fpu/e_powl.S: Likewise.
18948 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18949 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18950 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18951 * sysdeps/i386/fpu/e_logl.S: Likewise.
18952 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18953 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18954 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18955 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18956 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18957 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18958 * sysdeps/i386/fpu/e_log.S: Likewise.
18959 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18960 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18961 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18962 * sysdeps/i386/fpu/e_logf.S: Likewise.
18963 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18965 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18966 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18967 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18968 * sysdeps/i386/fpu/e_log10.S: Likewise.
18969 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18970 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18971 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18972 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18973 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18974 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18975 * sysdeps/i386/asm-syntax.h: Likewise.
18976 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18978 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18979 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18980 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18981 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18982 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18983 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18984 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18985 * sysdeps/powerpc/sysdep.h: Likewise.
18986 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18987 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18989 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18992 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18994 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18996 * sysdeps/i386/sysdep.h: Include <features.h>.
18997 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19000 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19002 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19004 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19007 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19009 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19010 (SETUP_PIC_REG): Use GET_PC_THUNK.
19011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19014 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19016 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19017 for non-PIC compilation.
19018 (SETUP_PIC_REG): Add .p2align directive.
19019 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19020 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19021 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19022 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19027 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19028 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19029 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19030 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19031 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19032 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19033 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19034 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19035 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19039 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19040 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19041 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19042 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19043 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19045 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19046 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19049 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19052 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19053 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19054 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19055 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19057 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19059 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19061 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19063 * math/tst-CMPLX.c: Include <stdio.h>.
19065 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19067 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19069 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19070 * sysdeps/sparc/bits/mathdef.h: Likewise.
19072 2012-01-31 Marek Polacek <polacek@redhat.com>
19074 * libio/libio.h: Don't define _PARAMS.
19075 * locale/programs/config.h: Don't define PARAMS.
19076 * stdlib/strtol_l.c: Likewise.
19077 (__strtol_l): Remove PARAMS from the prototype.
19079 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19081 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19082 names. Just use the correct names. Remove unnecessary wrapper
19084 * malloc/arena.c: Likewise.
19085 * malloc/hooks.c: Likewise.
19087 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19088 ARENA_TEST says not to. Simplify test for creation of a new arena.
19089 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19091 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19093 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19095 (update_get_addr): New function.
19096 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19097 GET_ADDR_MODULE parameter.
19099 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19101 * crypt/cert.c: Remove __STDC__ conditionals.
19102 * crypt/crypt-entry.c: Likewise.
19103 * crypt/crypt_util.c: Likewise.
19104 * libio/filedoalloc.c: Likewise.
19105 * libio/fileops.c: Likewise.
19106 * libio/genops.c: Likewise.
19107 * libio/iofclose.c: Likewise.
19108 * libio/iofdopen.c: Likewise.
19109 * libio/iofopen.c: Likewise.
19110 * libio/iofopen64.c: Likewise.
19111 * libio/iogetdelim.c: Likewise.
19112 * libio/iopopen.c: Likewise.
19113 * libio/obprintf.c: Likewise.
19114 * libio/oldfileops.c: Likewise.
19115 * libio/oldiofclose.c: Likewise.
19116 * libio/oldiofdopen.c: Likewise.
19117 * libio/oldiofopen.c: Likewise.
19118 * libio/oldiopopen.c: Likewise.
19119 * libio/wfiledoalloc.c: Likewise.
19120 * libio/wgenops.c: Likewise.
19121 * locale/programs/xmalloc.c: Likewise.
19122 * misc/syslog.c: Likewise.
19123 * stdio-common/xbug.c: Likewise.
19124 * string/memchr.c: Likewise.
19125 * string/memcmp.c: Likewise.
19126 * string/memrchr.c: Likewise.
19127 * string/rawmemchr.c: Likewise.
19128 * sysdeps/posix/getcwd.c: Likewise.
19129 * time/strftime_l.c: Likewise.
19131 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19133 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19134 * config.make.in (config-cflags-sse2avx): Define.
19135 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19138 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19140 * scripts/config.guess: Update from upstream config git repository.
19141 * scripts/config.sub: Likewise.
19143 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19145 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19147 (R_TILEPRO_*, R_TILEGX_*): New macros.
19149 * scripts/firstversions.awk: Fix bug in version range handling.
19151 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19153 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19155 * include/sys/epoll.h: New file.
19156 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19159 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19161 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19162 Avoid unnecessary __WORDSIZE == 64 test.
19163 (fmaxf): Use VEX format if possible.
19168 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19169 * math/math_private.h: Remove libc_fegetround* and
19171 * sysdeps/i386/configure.in: Check for -msse2avx.
19172 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19173 also if SSE2AVX is defined.
19174 Remove libc_fegetround* and libc_fesetround*.
19175 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19176 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19185 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19187 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19189 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19191 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19193 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19196 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19198 * Makeconfig (libm): Define.
19199 * elf/Makefile: Add rules to build and run tst-relsort1.
19200 * elf/tst-relsort1.c: New file.
19201 * elf/tst-relsort1mod1.c: New file.
19202 * elf/tst-relsort1mod2.c: New file.
19204 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19206 * math/s_ldexp.c: Remove __STDC__ conditionals.
19207 * math/s_ldexpf.c: Likewise.
19208 * math/s_ldexpl.c: Likewise.
19209 * math/s_nextafter.c: Likewise.
19210 * math/s_nexttowardf.c: Likewise.
19211 * math/s_significand.c: Likewise.
19212 * math/s_significandf.c: Likewise.
19213 * math/s_significandl.c: Likewise.
19214 * math/w_jnl.c: Likewise.
19215 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19216 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19217 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19218 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19219 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19234 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19235 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19236 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19237 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19239 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19240 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19241 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19242 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19243 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19244 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19245 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19246 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19247 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19248 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19249 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19250 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19251 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19252 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19253 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19254 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19255 * sysdeps/ieee754/k_standard.c: Likewise.
19256 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19260 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19261 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19263 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19265 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19272 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19275 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19276 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19277 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19278 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19288 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19295 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19296 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19298 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19299 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19301 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19302 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19303 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19305 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19306 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19309 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19310 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19314 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19315 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19317 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19319 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19320 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19322 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19323 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19327 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19333 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19334 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19335 * sysdeps/ieee754/s_matherr.c: Likewise.
19336 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19337 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19341 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19343 * crypt/md5.h: Remove __STDC__ conditionals.
19344 * libio/libioP.h: Likewise.
19345 * locale/programs/config.h: Likewise.
19346 * sysdeps/generic/sysdep.h: Likewise.
19347 * sysdeps/i386/asm-syntax.h: Likewise.
19348 * sysdeps/s390/asm-syntax.h: Likewise.
19349 * sysdeps/unix/sysdep.h: Likewise.
19350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19353 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19355 * libio/libio.h: Remove __STDC__ conditionals.
19356 * malloc/obstack.h: Likewise.
19357 * math/complex.h: Likewise.
19358 * math/math.h: Likewise.
19359 * sysdeps/generic/_G_config.h: Likewise.
19360 * sysdeps/gnu/_G_config.h: Likewise.
19361 * sysdeps/mach/hurd/_G_config.h: Likewise.
19362 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19363 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19364 * sysdeps/sparc/bits/mathdef.h: Likewise.
19366 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19369 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19370 Clean up HAS_* macros.
19371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19372 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19376 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19377 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19378 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19379 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19382 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19384 * elf/tst-unique3.cc (gets): Remove declaration.
19385 * elf/tst-unique3lib.cc (gets): Likewise.
19386 * elf/tst-unique3lib2.cc (gets): Likewise.
19387 * elf/tst-unique4.cc (gets): Likewise.
19389 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19391 * include/stdio.h: Add C++ protection. Add gets declarations and
19393 * debug/tst-chk1.c: Don't declare gets here.
19394 * stdio-common/tst-gets.c: Likewise.
19396 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19398 * posix/glob: Remove directory.
19400 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19402 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19404 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19406 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19407 of the non-standard EPFNOSUPPORT.
19409 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19411 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19412 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19413 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19415 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19417 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19419 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19421 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19423 * nscd/grpcache.c (cache_addgr): Likewise.
19424 * nscd/hstcache.c (cache_addhst): Likewise.
19425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19426 * nscd/pwdcache.c (cache_addpw): Likewise.
19427 * nscd/servicescache.c (cache_addserv): Likewise.
19429 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19431 * malloc/malloc.c: Various cleanups.
19432 * malloc/hooks.c: Likewise.
19434 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19435 * stdlib/bug-fmtmsg1.c: New file.
19437 * stdlib/fmtmsg.c (init): Add missing unlock.
19438 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19440 2012-01-12 Marek Polacek <polacek@redhat.com>
19442 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19445 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19447 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19448 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19449 macro to ensure uniqueness of label name.
19450 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19451 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19453 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19455 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19457 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19458 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19462 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19464 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19466 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19467 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19468 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19470 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19472 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19474 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19477 * math/bits/math-finite.h: Add ldexp support.
19479 2012-01-10 Marek Polacek <polacek@redhat.com>
19481 * locale/programs/localedef.h (show_archive_content): Add noreturn
19484 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19486 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19488 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19490 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19492 * io/Makefile (headers): Add bits/poll2.h.
19494 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19497 typo #include statement.
19499 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19501 * include/sys/cdefs.h: Define __attribute_alloc_size.
19502 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19503 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19504 * elf/pldd.c: Likewise.
19505 * iconv/iconv_charmap.c: Likewise.
19506 * iconv/iconvconfig.c: Likewise.
19507 * iconv/strtab.c: Likewise.
19508 * locale/programs/locale.c: Likewise.
19509 * locale/programs/localedef.h: Likewise.
19510 * locale/programs/simple-hash.c: Likewise.
19511 * nscd/nscd.h: Likewise.
19512 * nss/makedb.c: Likewise.
19513 * sysdeps/generic/ldconfig.h: Likewise.
19514 * locale/programs/localedef.c: Remove xmalloc prototype.
19515 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19517 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19519 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19522 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19524 * math/Makefile (tests): Add tst-CMPLX.
19525 * math/tst-CMPLX.c: New file.
19527 * math/complex.h (CMPLXL): Fix typo.
19529 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19530 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19532 * debug/tst-chk1.c: Add poll and ppoll tests.
19533 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19534 * include/sys/poll.h: Add hidden proto for ppoll.
19535 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19536 * sysdeps/mach/hurd/ppoll.c: Likewise.
19537 * io/ppoll.c: Likewise.
19538 * debug/poll_chk.c: New file.
19539 * debug/ppoll_chk.c: New file.
19540 * include/bits/poll2.h: New file.
19541 * io/bits/poll2.h: New file.
19544 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19546 * configure.in: static is always set to yes. Remove.
19547 * config.make.in: Don't set build-static.
19548 * Makeconfig: Remove use of build-static.
19549 * dlfcn/Makefile: Likewise.
19550 * elf/Makefile: Likewise.
19551 * math/Makefile: Likewise.
19552 * misc/Makefile: Likewise.
19553 * nptl/Makefile: Likewise.
19554 * sysdeps/mach/hurd/Makefile: Likewise.
19556 * configure.in: PWD_P is not used anymore.
19557 * config.make.in: Remove PWD_P entry.
19559 * configure.in: Remove last remnants of RANLIB.
19560 No need to check for signed size_t anymore.
19561 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19563 Remove __builtin_expect test because we require at least gcc 3.4.
19564 * aclocal.m4: Likewise.
19566 * wcsmbs/mbrtoc16.c: Implement using towc function.
19567 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19568 * wcsmbs/wcsmbsload.c: Likewise.
19569 * iconv/gconv_simple.c: Likewise.
19570 * iconv/gconv_int.h: Likewise.
19571 * iconv/gconv_builtin.h: Likewise.
19572 * iconv/iconv_prog.c: Remove CHAR16 handling.
19574 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19576 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19578 * configure.in: Remove --with-elf and --enable-bounded options.
19579 Dont set base_machine for ia64. More non-ELF conditions removed.
19580 Remove testing and setting of leading underscore information.
19581 * config.make.in (build-bounded): Set to no.
19582 * config.h.in: Remove NO_UNDERSCORES entry.
19583 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19585 * csu/start.c: Remove !NO_UNDERSCORE code.
19586 * locale/localeinfo.h: Likewise.
19587 * sysdeps/generic/machine-gmon.h: Likewise.
19588 * sysdeps/generic/sysdep.h: Likewise.
19589 * sysdeps/i386/sysdep.h: Likewise.
19590 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19591 * sysdeps/mach/sysdep.h: Likewise.
19592 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19593 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19594 * sysdeps/sh/sysdep.h: Likewise.
19595 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19596 * sysdeps/unix/i386/sysdep.S: Likewise.
19597 * sysdeps/unix/sparc/start.c: Likewise.
19598 * sysdeps/unix/sparc/sysdep.S: Likewise.
19599 * sysdeps/unix/sparc/sysdep.h: Likewise.
19600 * sysdeps/unix/start.c: Likewise.
19601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19602 * sysdeps/x86_64/sysdep.h: Likewise.
19604 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19607 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19609 * argp/argp-fmtstream.h: Use const instead __const.
19610 * argp/argp.h: Likewise.
19611 * assert/assert.h: Likewise.
19612 * bits/fenv.h: Likewise.
19613 * bits/sched.h: Likewise.
19614 * bits/sigset.h: Likewise.
19615 * bits/sigthread.h: Likewise.
19616 * catgets/nl_types.h: Likewise.
19617 * conform/data/pthread.h-data: Likewise.
19618 * crypt/crypt-private.h: Likewise.
19619 * crypt/crypt.h: Likewise.
19620 * crypt/crypt_util.c: Likewise.
19621 * ctype/ctype.h: Likewise.
19622 * debug/execinfo.h: Likewise.
19623 * debug/mbsnrtowcs_chk.c: Likewise.
19624 * debug/mbsrtowcs_chk.c: Likewise.
19625 * debug/wcsnrtombs_chk.c: Likewise.
19626 * debug/wcsrtombs_chk.c: Likewise.
19627 * debug/wcstombs_chk.c: Likewise.
19628 * dirent/dirent.h: Likewise.
19629 * dlfcn/dlfcn.h: Likewise.
19630 * elf/neededtest4.c: Likewise.
19631 * grp/grp.h: Likewise.
19632 * gshadow/gshadow.h: Likewise.
19633 * iconv/gconv.h: Likewise.
19634 * iconv/gconv_int.h: Likewise.
19635 * iconv/gconv_simple.c: Likewise.
19636 * iconv/iconv.h: Likewise.
19637 * iconv/loop.c: Likewise.
19638 * iconv/skeleton.c: Likewise.
19639 * include/aio.h: Likewise.
19640 * include/aliases.h: Likewise.
19641 * include/argz.h: Likewise.
19642 * include/arpa/inet.h: Likewise.
19643 * include/assert.h: Likewise.
19644 * include/dirent.h: Likewise.
19645 * include/dlfcn.h: Likewise.
19646 * include/execinfo.h: Likewise.
19647 * include/fcntl.h: Likewise.
19648 * include/fenv.h: Likewise.
19649 * include/glob.h: Likewise.
19650 * include/grp.h: Likewise.
19651 * include/libintl.h: Likewise.
19652 * include/mntent.h: Likewise.
19653 * include/netdb.h: Likewise.
19654 * include/pwd.h: Likewise.
19655 * include/rpc/netdb.h: Likewise.
19656 * include/sched.h: Likewise.
19657 * include/search.h: Likewise.
19658 * include/shadow.h: Likewise.
19659 * include/signal.h: Likewise.
19660 * include/stdio.h: Likewise.
19661 * include/stdlib.h: Likewise.
19662 * include/string.h: Likewise.
19663 * include/sys/socket.h: Likewise.
19664 * include/sys/stat.h: Likewise.
19665 * include/sys/statfs.h: Likewise.
19666 * include/sys/statvfs.h: Likewise.
19667 * include/sys/syslog.h: Likewise.
19668 * include/sys/time.h: Likewise.
19669 * include/sys/uio.h: Likewise.
19670 * include/time.h: Likewise.
19671 * include/unistd.h: Likewise.
19672 * include/utmp.h: Likewise.
19673 * include/wchar.h: Likewise.
19674 * include/wctype.h: Likewise.
19675 * inet/aliases.h: Likewise.
19676 * inet/arpa/inet.h: Likewise.
19677 * inet/netinet/ether.h: Likewise.
19678 * inet/netinet/in.h: Likewise.
19679 * intl/libintl.h: Likewise.
19680 * io/bits/fcntl2.h: Likewise.
19681 * io/fcntl.h: Likewise.
19682 * io/ftw.h: Likewise.
19683 * io/sys/poll.h: Likewise.
19684 * io/sys/stat.h: Likewise.
19685 * io/sys/statfs.h: Likewise.
19686 * io/sys/statvfs.h: Likewise.
19687 * io/utime.h: Likewise.
19688 * libio/bits/stdio.h: Likewise.
19689 * libio/bits/stdio2.h: Likewise.
19690 * libio/libio.h: Likewise.
19691 * libio/libioP.h: Likewise.
19692 * libio/stdio.h: Likewise.
19693 * locale/lc-ctype.c: Likewise.
19694 * locale/locale.h: Likewise.
19695 * login/utmp.h: Likewise.
19696 * malloc/arena.c: Likewise.
19697 * malloc/malloc.c: Likewise.
19698 * malloc/malloc.h: Likewise.
19699 * malloc/mcheck.c: Likewise.
19700 * malloc/mtrace.c: Likewise.
19701 * math/bits/mathcalls.h: Likewise.
19702 * math/fenv.h: Likewise.
19703 * math/math_private.h: Likewise.
19704 * misc/bits/error.h: Likewise.
19705 * misc/bits/syslog.h: Likewise.
19706 * misc/err.h: Likewise.
19707 * misc/error.h: Likewise.
19708 * misc/fstab.h: Likewise.
19709 * misc/mntent.h: Likewise.
19710 * misc/regexp.h: Likewise.
19711 * misc/search.h: Likewise.
19712 * misc/sgtty.h: Likewise.
19713 * misc/sys/mman.h: Likewise.
19714 * misc/sys/syslog.h: Likewise.
19715 * misc/sys/uio.h: Likewise.
19716 * misc/sys/xattr.h: Likewise.
19717 * misc/ttyent.h: Likewise.
19718 * nis/rpcsvc/ypclnt.h: Likewise.
19719 * nss/nss.h: Likewise.
19720 * posix/bits/unistd.h: Likewise.
19721 * posix/fnmatch.h: Likewise.
19722 * posix/glob.h: Likewise.
19723 * posix/sched.h: Likewise.
19724 * posix/spawn.h: Likewise.
19725 * posix/sys/wait.h: Likewise.
19726 * posix/unistd.h: Likewise.
19727 * posix/wordexp.h: Likewise.
19728 * pwd/pwd.h: Likewise.
19729 * resolv/netdb.h: Likewise.
19730 * resource/sys/resource.h: Likewise.
19731 * rt/aio.h: Likewise.
19732 * rt/bits/mqueue2.h: Likewise.
19733 * rt/mqueue.h: Likewise.
19734 * shadow/shadow.h: Likewise.
19735 * signal/signal.h: Likewise.
19736 * socket/send.c: Likewise.
19737 * socket/sendto.c: Likewise.
19738 * socket/sys/socket.h: Likewise.
19739 * stdio-common/printf.h: Likewise.
19740 * stdlib/bits/stdlib.h: Likewise.
19741 * stdlib/fmtmsg.h: Likewise.
19742 * stdlib/monetary.h: Likewise.
19743 * stdlib/stdlib.h: Likewise.
19744 * stdlib/ucontext.h: Likewise.
19745 * streams/stropts.h: Likewise.
19746 * string/argz.h: Likewise.
19747 * string/bits/string2.h: Likewise.
19748 * string/string.h: Likewise.
19749 * string/strings.h: Likewise.
19750 * sunrpc/rpc/auth.h: Likewise.
19751 * sunrpc/rpc/auth_des.h: Likewise.
19752 * sunrpc/rpc/clnt.h: Likewise.
19753 * sunrpc/rpc/netdb.h: Likewise.
19754 * sunrpc/rpc/pmap_clnt.h: Likewise.
19755 * sunrpc/rpc/xdr.h: Likewise.
19756 * sysdeps/generic/inttypes.h: Likewise.
19757 * sysdeps/generic/net/if.h: Likewise.
19758 * sysdeps/generic/sys/swap.h: Likewise.
19759 * sysdeps/gnu/net/if.h: Likewise.
19760 * sysdeps/gnu/utmpx.h: Likewise.
19761 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19762 * sysdeps/i386/i486/bits/string.h: Likewise.
19763 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19764 * sysdeps/s390/bits/string.h: Likewise.
19765 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19766 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19767 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19768 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19769 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19770 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19771 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19772 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19773 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19774 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19775 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19776 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19777 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19778 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19779 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19780 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19781 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19787 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19788 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19789 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19790 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19791 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19792 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19793 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19794 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19795 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19796 * sysvipc/sys/ipc.h: Likewise.
19797 * sysvipc/sys/msg.h: Likewise.
19798 * sysvipc/sys/sem.h: Likewise.
19799 * sysvipc/sys/shm.h: Likewise.
19800 * termios/termios.h: Likewise.
19801 * time/sys/time.h: Likewise.
19802 * time/time.h: Likewise.
19803 * wcsmbs/bits/wchar2.h: Likewise.
19804 * wcsmbs/uchar.h: Likewise.
19805 * wcsmbs/wchar.h: Likewise.
19806 * wctype/wctype.h: Likewise.
19809 * Makeconfig: Remove all but ELF support including AIX support.
19810 * Makerules: Likewise.
19811 * config.h.in: Likewise.
19812 * config.make.in: Likewise.
19813 * configure: Likewise.
19814 * configure.in: Likewise.
19815 * csu/Makefile: Likewise.
19816 * csu/version.c: Likewise.
19817 * debug/Makefile: Likewise.
19818 * dlfcn/Makefile: Likewise.
19819 * elf/Makefile: Likewise.
19820 * extra-lib.mk: Likewise.
19821 * iconv/Makefile: Likewise.
19822 * include/libc-symbols.h: Likewise.
19823 * include/shlib-compat.h: Likewise.
19824 * resolv/Makefile: Likewise.
19825 * resolv/res_libc.c: Likewise.
19826 * rt/Makefile: Likewise.
19827 * sysdeps/i386/asm-syntax.h: Likewise.
19828 * sysdeps/i386/sysdep.h: Likewise.
19829 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19830 * sysdeps/mach/sysdep.h: Likewise.
19831 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19832 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19833 * sysdeps/s390/asm-syntax.h: Likewise.
19834 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19835 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19836 * sysdeps/sh/sysdep.h: Likewise.
19837 * sysdeps/unix/sparc/sysdep.h: Likewise.
19838 * sysdeps/wordsize-32/divdi3.c: Likewise.
19839 * sysdeps/x86_64/sysdep.h: Likewise.
19841 * argp/Versions: Remove _argp_unlock_xxx.
19844 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19845 * abilist/libBrokenLocale.abilist: Likewise.
19846 * abilist/libanl.abilist: Likewise.
19847 * abilist/libc.abilist: Likewise.
19848 * abilist/libcrypt.abilist: Likewise.
19849 * abilist/libdl.abilist: Likewise.
19850 * abilist/libm.abilist: Likewise.
19851 * abilist/libnsl.abilist: Likewise.
19852 * abilist/libpthread.abilist: Likewise.
19853 * abilist/libresolv.abilist: Likewise.
19854 * abilist/librt.abilist: Likewise.
19855 * abilist/libthread_db.abilist: Likewise.
19856 * abilist/libutil.abilist: Likewise.
19857 * abilist/libnss_db.abilist: New file.
19859 * scripts/abilist.awk: Add support for indirect functions.
19861 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19863 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19865 * shlib-versions: Remove entries for ports architectures.
19867 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19869 * elf/stackguard-macros.h: Remove support for IA-64.
19870 * elf/tst-auditmod1.c: Likewise.
19871 * sysdeps/generic/ldsodefs.h: Likewise.
19873 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19874 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19878 * configure.in: Remove --enable-omitfp support.
19880 * config.make.in: Likewise.
19881 * Makeconfig: Likewise.
19882 * manual/install.texi: Likewise.
19884 In case anyone cares, the IA-64 architecture could move to ports.
19885 * sysdeps/ia64/*: Removed.
19886 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19887 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19890 * configure.in: Remove entries for unsupported architectures.
19893 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19894 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19896 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19897 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19898 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19899 fall back to using wcrtomb.
19900 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19901 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19903 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19904 * wcsmbs/tst-c16c32-1.c: New file.
19906 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19909 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19911 * elf/tst-unique3.cc: Add explicit declaration of gets.
19912 * elf/tst-unique3lib.cc: Likewise.
19913 * elf/tst-unique3lib2.cc: Likewise.
19914 * elf/tst-unique4.cc: Likewise.
19916 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19918 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19921 * assert/assert.h (static_assert): Don't define for C++.
19922 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19923 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19925 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19927 * iconv/loop.c (single loop): Fix assertion in storing of
19930 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19932 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19934 * posix/getconf.c: Update copyright year.
19935 * nss/getent.c: Likewise.
19936 * nss/makedb.c: Likewise.
19937 * iconv/iconvconfig.c: Likewise.
19938 * iconv/iconv_prog.c: Likewise.
19939 * elf/ldconfig.c: Likewise.
19940 * elf/pldd.c: Likewise.
19941 * elf/sotruss.ksh: Likewise.
19942 * catgets/gencat.c: Likewise.
19943 * csu/version.c: Likewise.
19944 * elf/ldd.bash.in: Likewise.
19945 * elf/sprof.c (print_version): Likewise.
19946 * locale/programs/locale.c: Likewise.
19947 * locale/programs/localedef.c: Likewise.
19948 * login/programs/pt_chown.c: Likewise.
19949 * nscd/nscd.c (print_version): Likewise.
19950 * debug/xtrace.sh: Likewise.
19951 * malloc/memusage.sh: Likewise.
19952 * malloc/mtrace.pl: Likewise.
19953 * debug/catchsegv.sh: Likewise.
19955 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19957 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19960 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19963 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19964 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19966 * iconv/gconv_int.h: Likewise.
19967 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19968 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19969 from libc for GLIBC_2.16.
19970 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19971 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19972 * wcsmbs/uchar.h: Really define mbstate_t.
19973 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19974 * wcsmbs/c16rtomb.c: New file.
19975 * wcsmbs/mbrtoc16.c: New file.
19976 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19977 for C/POSIX locale.
19978 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19979 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19981 * wcsmbs/wchar.h: Add missing __restrict.
19983 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19986 * time/Makefile (routines): Add timespec_get.
19987 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19988 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19989 timespec for ISO C11.
19990 * time/timespec_get.c: New file.
19991 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19992 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19995 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19996 * stdlib/stdlib.h: Declare aligned_alloc.
19997 * Versions.def: Add GLIBC_2.16 for libc.
19998 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20001 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20004 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20008 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20011 * assert/assert.h (static_assert): Define.
20013 * version.h: Update for 2.16 development version.
20016 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20019 * version.h (RELEASE): Bump for 2.15 release.
20020 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20022 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20023 Patch by Marek Polacek <mpolacek@redhat.com>.
20025 * bits/byteswap.h: Protect long long constants with __extension__.
20026 * sysdeps/i386/bits/byteswap.h: Likewise.
20027 * sysdeps/ia64/bits/byteswap.h: Likewise.
20028 * sysdeps/s390/bits/byteswap.h: Likewise.
20029 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20031 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20035 destination buffer.
20036 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20038 2011-12-23 Marek Polacek <polacek@redhat.com>
20040 * elf/dl-addr.c (determine_info): Add inline keyword.
20041 * elf/tst-auditmod4b.c (check_avx): Likewise.
20042 * elf/tst-auditmod6b.c (check_avx): Likewise.
20043 * elf/tst-auditmod6c.c (check_avx): Likewise.
20044 * elf/tst-auditmod7b.c (check_avx): Likewise.
20046 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20048 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20051 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20054 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20055 processing for last bytes.
20057 2011-08-06 Bruno Haible <bruno@clisp.org>
20060 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20061 U+0385, not to U+1FEE.
20064 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20065 entry for U+00A5 U+0301.
20067 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20070 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20071 buffer for the output is too small.
20073 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20077 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20078 SSE flags if possible.
20080 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20084 processing for last bytes.
20086 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20088 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20089 (syscall-list-default-options, syscall-list-default-condition)
20090 (syscall-list-includes): Define.
20091 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20092 list of ABIs and options and #if conditions for each ABI. Do not
20093 handle common syscalls between ABIs specially.
20094 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20096 (syscall-list-variants, syscall-list-32bit-options)
20097 (syscall-list-32bit-condition, syscall-list-64bit-options)
20098 (syscall-list-64bit-condition): Define.
20099 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20100 (syscall-list-variants, syscall-list-32bit-options)
20101 (syscall-list-32bit-condition, syscall-list-64bit-options)
20102 (syscall-list-64bit-condition): Define.
20103 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20105 (syscall-list-variants, syscall-list-32bit-options)
20106 (syscall-list-32bit-condition, syscall-list-64bit-options)
20107 (syscall-list-64bit-condition): Define.
20108 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20110 (syscall-list-variants, syscall-list-32bit-options)
20111 (syscall-list-32bit-condition, syscall-list-64bit-options)
20112 (syscall-list-64bit-condition): Define.
20114 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20116 * locale/iso-639.def: Add brx entry.
20119 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20120 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20122 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20123 __feraiseexcept_renamed.
20125 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20128 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20129 EPOLLET with unsigned values.
20130 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20133 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20134 to large cancellation.
20135 * math/s_cacoshf.c: Likewise.
20136 * math/s_cacoshl.c: Likewise.
20138 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20142 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20143 * math/s_cacoshf.c: Likewise.
20144 * math/s_cacoshl.c: Likewise.
20146 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20149 * iconv/gconv.h: Define __GCONV_SWAP.
20150 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20151 * iconvdata/utf-16.c: Likewise.
20152 * iconvdata/utf-32.c: Likewise.
20154 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20158 numerator after shifting it by one limb.
20160 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20162 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20163 under [__USE_EXTERN_INLINES].
20165 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20168 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20170 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20172 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20173 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20175 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20176 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20177 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20178 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20179 for strncasecmp/strncasecmp_l compilation.
20180 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20181 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20183 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20186 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20189 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20192 * time/tzfile.c (__tzfile_read): Check values from file header.
20194 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20196 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20197 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20198 * powerpc/powerpc32/dl-start.S: Likewise.
20199 * powerpc/powerpc32/elf/start.S: Likewise.
20200 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20201 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20202 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20203 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20204 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20205 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20206 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20207 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20208 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20209 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20210 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20211 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20212 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20213 * powerpc/powerpc32/memset.S: Likewise.
20214 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20215 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20216 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20217 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20218 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20219 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20220 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20221 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20222 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20223 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20224 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20225 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20226 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20228 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20230 * math/libm-test.inc: Added more nearbyint tests.
20231 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20233 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20234 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20236 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20238 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20241 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20243 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20244 Add wcscpy-ssse3 wcscpy-c.
20245 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20246 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20247 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20248 * sysdeps/x86_64/wcschr.S: New file.
20249 * sysdeps/x86_64/wcsrchr.S: New file.
20250 * string/test-strcmp.c: Remove checking of wcscmp function for
20252 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20253 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20254 wcsrchr-sse2 wcsrchr-c.
20255 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20256 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20257 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20258 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20259 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20260 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20261 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20262 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20263 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20264 * wcsmbc/wcschr.c (WCSCHR): New macro.
20266 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20268 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20269 * wcsmbs/test-wcsrchr.c: New file.
20270 * string/test-strrchr.c: Add wcsrchr support.
20272 * wcsmbs/test-wcscpy.c: New file.
20273 * string/test-strcpy.c: Add wcscpy support.
20276 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20278 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20281 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20284 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20286 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20288 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20289 Minor optimizations.
20291 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20292 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20293 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20295 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20297 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20298 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20299 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20300 for gcc to avoid warnings.
20301 * inet/Makefile (tests): Add tst-checks.
20302 * inet/tst-checks.c: New file.
20304 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20307 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20310 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20311 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20313 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20315 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20317 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20320 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20322 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20324 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20325 conditional on GCC version.
20326 (__arch_compare_and_exchange_val_8_acq)
20327 (__arch_compare_and_exchange_val_16_acq)
20328 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20329 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20330 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20332 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20334 * sysdeps/sh/backtrace.c: New file.
20336 2011-12-02 Andreas Schwab <schwab@redhat.com>
20338 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20341 2011-12-01 Andreas Schwab <schwab@redhat.com>
20343 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20344 falling back to utime.
20346 2011-11-30 Andreas Schwab <schwab@redhat.com>
20348 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20349 expectations for float.
20351 2011-11-29 Andreas Schwab <schwab@redhat.com>
20353 * locale/weight.h (findidx): Add parameter len.
20354 * locale/weightwc.h (findidx): Likewise.
20355 * posix/fnmatch_loop.c (FCT): Adjust caller.
20356 * posix/regcomp.c (build_equiv_class): Likewise.
20357 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20358 * posix/regexec.c (check_node_accept_bytes): Likewise.
20359 * string/strcoll_l.c (STRCOLL): Likewise.
20360 * string/strxfrm_l.c (STRXFRM): Likewise.
20362 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20364 * Makefile.in: Remove CVSOPT handling.
20365 * configure.in: Remove use of AC_REVISION.
20366 * iconvdata/Makefile (distribute): No need to filter out CVS.
20367 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20370 2011-11-16 Andreas Schwab <schwab@redhat.com>
20372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20373 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20374 [USE_AS_STRNCASECMP_L]: Likewise.
20375 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20376 NO_TLS_DIRECT_SEG_REFS.
20377 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20378 Fix argument offsets for non-PIC.
20379 [USE_AS_STRNCASECMP_L]: Likewise.
20380 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20381 NO_TLS_DIRECT_SEG_REFS.
20383 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20385 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20387 * locale/loadlocale.c (_nl_load_locale): Likewise.
20389 2011-11-15 Andreas Schwab <schwab@redhat.com>
20391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20392 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20394 (SYSCALL_GETTIME): Set errno on error.
20396 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20397 count references to noai6ai_cached.
20399 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20401 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20403 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20404 FD_CLOEXEC for /proc/self/maps.
20406 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20407 FD_CLOEXEC for /proc/meminfo.
20409 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20412 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20413 FD_CLOEXEC for given file.
20415 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20417 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20418 FD_CLOEXEC for /etc/hosts.
20419 (_gethtent): Likewise.
20421 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20423 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20424 cancellation and set FD_CLOEXEC for /etc/netgroup.
20426 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20427 reading /etc/publickey.
20429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20430 allow cancellation when reading /etc/group.
20432 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20434 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20436 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20437 when using data file.
20439 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20441 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20442 (write_nis_obj): Use "c" and "e" in fopen.
20444 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20446 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20448 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20450 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20452 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20455 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20457 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20459 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20461 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20462 file parsing and set FD_CLOEXEC.
20464 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20466 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20468 2011-11-14 Andreas Schwab <schwab@redhat.com>
20470 * malloc/arena.c (arena_get2): Don't call reused_arena when
20471 _int_new_arena failed.
20473 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20475 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20476 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20477 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20478 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20479 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20481 to compile strcasecmp and strncasecmp.
20482 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20483 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20487 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20489 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20490 locale-defines.sym to gen-as-const-headers.
20491 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20492 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20494 to compile strcasecmp and strncasecmp.
20495 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20496 strcasecmp_l and strncasecmp_l.
20497 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20498 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20499 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20500 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20501 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20502 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20503 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20504 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20505 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20506 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20507 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20509 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20511 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20512 result of SYSDEP_GETTIME_CPU to retval.
20513 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20514 parameter list to macro. Remove trailing semicolon. Adjust users.
20516 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20519 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20523 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20524 from unused variable.
20526 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20528 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20531 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20534 * sunrpc/rpc_prot.c (rejected): Fix case value.
20536 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20537 unsigned long long int to avoid warnings in shift.
20539 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20541 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20544 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20545 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20546 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20548 * nis/nis_table.c (nis_list): Use variable of correct type for
20549 result of __follow_path call.
20551 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20553 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20554 of math functions ceil, trunc, floor, round, and sqrt, when
20555 avaliable on the platform.
20556 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20558 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20560 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20562 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20564 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20565 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20567 2011-11-11 Roland McGrath <roland@hack.frob.com>
20569 * include/unistd.h: Fix __readlink return type.
20570 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20572 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20574 * stdlib/ucontext.h: Undo last change for makecontext.
20576 2011-11-11 Andreas Schwab <schwab@redhat.com>
20578 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20580 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20581 * setjmp/setjmp.h: Mark functions as non-leaf.
20582 * setjmp/bits/setjmp2.h: Likewise.
20583 * stdlib/ucontext.h: Likewise.
20585 2011-11-10 Andreas Schwab <schwab@redhat.com>
20587 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20588 (reused_arena): Don't check arena limit.
20589 (arena_get2): Atomically check arena limit.
20591 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20593 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20594 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20599 2011-11-07 Andreas Schwab <schwab@redhat.com>
20601 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20602 handler when locking.
20604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20605 Fix size of allocated buffer.
20607 2011-11-04 Andreas Schwab <schwab@redhat.com>
20610 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20611 declarations for long double functions.
20612 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20614 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20616 2011-11-03 Andreas Schwab <schwab@redhat.com>
20618 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20621 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20624 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20626 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20628 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20630 * include/alloca.h (stackinfo_alloca_round): Define.
20631 (extend_alloca): Use it.
20632 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20633 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20636 * scripts/check-local-headers.sh: Ignore libaudit.h.
20638 * nscd/Makefile (extra-objs): Make recursively expanded.
20640 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20642 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20643 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20645 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20646 * posix/tst-rfc3484-2.c: Likewise.
20647 * posix/tst-rfc3484-3.c: Likewise.
20649 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20651 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20653 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20654 process_vm_writev from libc using GLIBC_2.15 version.
20656 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20658 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20660 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20663 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20666 * nss/getent.c (initgroups_keys): Show error message in case no group
20669 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20670 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20671 __bump_nl_timestamp.
20672 * nscd/connections (nscd_init): When host database is served open
20673 netlink socket and request notification about configuration changes.
20674 (main_loop_poll): Track netlink file descriptor and bump timestamp
20675 in case data becomes available.
20676 (main_loop_epoll): Likewise.
20677 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20678 (database_pers_head): Add extra_data fileds.
20679 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20680 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20681 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20684 in6ai data, call __free_in6ai.
20685 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20686 Add -DHAVE_NETLINK.
20687 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20688 interface information. Reuse previous data if netlink timestamp
20690 (__bump_nl_timestamp): New function.
20691 (__free_in6ai): New function.
20693 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20696 close_not_cancel_no_status here.
20697 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20699 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20702 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20705 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20706 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20707 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20709 2011-07-03 Andreas Jaeger <aj@suse.de>
20712 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20713 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20714 * math/libm-test.inc (sin_test): Add test case.
20716 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20719 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20720 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20722 * elf/chroot_canon.c (chroot_canon): Cleanups.
20724 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20727 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20728 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20730 * string/test-strchr.c: Make usable for strchrnul testing.
20731 * string/test-strchrnul.c: New file.
20732 * string/Makefile (strop-tests): Add strchrnul.
20734 * po/it.po: Update from translation team.
20735 * po/es.po: Likewise.
20737 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20740 the three constants needed as parameters. Drop the others.
20741 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20742 __m128i_strloadu_tolower.
20743 Create and initialize variable zero and use it in all the places
20744 where _mm_setzero_si128 was used.
20746 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20747 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20748 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20749 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20751 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20752 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20753 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20754 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20756 __mpranred, __mptan.
20757 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20758 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20759 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20760 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20761 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20762 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20764 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20765 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20767 2011-10-28 Andreas Schwab <schwab@redhat.com>
20769 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20770 redefine if SHARED.
20771 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20774 wide char related routines to wcsmbs subdir.
20776 2011-10-27 Andreas Schwab <schwab@redhat.com>
20779 * misc/sys/cdefs.h (__THROWNL): Define.
20780 * posix/unistd.h: Use __THREADNL instead of __THREAD
20781 for memory synchronization functions.
20783 2011-10-26 Roland McGrath <roland@hack.frob.com>
20786 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20788 * manual/stdio.texi (Obstack Streams): Node removed.
20790 2011-10-26 Andreas Schwab <schwab@redhat.com>
20792 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20793 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20794 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20796 * math/math_private.h (math_force_eval): Allow non-addressable
20798 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20800 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20802 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20803 file is not needed.
20805 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20807 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20808 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20810 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20812 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20814 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20815 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20816 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20817 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20818 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20819 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20820 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20821 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20822 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20823 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20824 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20825 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20826 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20827 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20828 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20829 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20830 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20832 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20834 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20835 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20838 place. Use VEX encoding when compiling for AVX.
20840 2011-10-25 Andreas Schwab <schwab@redhat.com>
20842 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20843 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20845 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20847 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20849 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20850 useless if() expression.
20851 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20861 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20862 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20863 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20864 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20866 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20867 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20868 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20869 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20871 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20873 2011-10-25 Andreas Schwab <schwab@redhat.com>
20875 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20877 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20879 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20881 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20882 .text section. Avoid duplicate constants.
20883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20890 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20892 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20893 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20894 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20895 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20896 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20900 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20903 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20905 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20906 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20907 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20908 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20909 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20910 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20911 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20913 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20914 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20915 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20916 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20917 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20918 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20919 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20920 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20921 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20922 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20923 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20925 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20926 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20927 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20929 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20931 * sysdeps/x86_64/dla.h: Move to ...
20932 * sysdeps/x86_64/fpu/dla.h: ...here.
20933 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20934 situations. Use __builtin_fma only for gcc 4.6 and up.
20936 * config.make.in: Add have-mfma4 entry.
20937 * configure.in: Substitute libc_cv_cc_fma4.
20938 * math/Makefile (dbl-only-routines): Add sincostab.
20939 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20940 Use __sincostab not sincos.
20941 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20948 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20949 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20950 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20951 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20953 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20954 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20956 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20957 define aliases when function name is a macro.
20958 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20959 sysdeps/ieee754/dbl-64/sincos.tbl.
20960 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20961 fma4-enabled routines.
20962 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20963 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20964 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20965 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20966 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20967 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20970 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20971 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20972 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20973 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20974 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20977 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20978 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20979 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20980 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20982 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20983 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20984 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20986 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20989 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20991 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20993 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21004 2011-10-24 Andreas Schwab <schwab@redhat.com>
21006 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21008 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21010 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21012 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21016 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21017 Remove unused variable magic_bits.
21018 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21020 * string/strnlen.c: Define and use STRNLEN macro.
21021 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21022 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21024 * wcsmbs/wcslen.c: Define and use WCSLEN.
21025 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21026 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21027 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21028 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21029 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21030 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21033 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21036 strnlen-sse2-no-bsf.
21037 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21039 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21040 Add strnlen support.
21041 (USE_AS_STRNLEN): New macro.
21042 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21043 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21044 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21045 * sysdeps/x86_64/wcslen.S: New file.
21047 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21049 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21050 XMM-moves are used for copying on small sizes.
21052 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21054 * wcsmbs/Makefile (strop-tests): Add wcschr.
21055 * wcsmbs/test-wcschr.c: New file.
21056 * string/test-strchr.c: Update.
21057 Add wcschr support.
21060 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21062 * wcsmbs/Makefile (strop-tests): Add wcslen.
21063 * wcsmbs/test-wcslen.c: New file.
21064 * string/test-strlen.c: Update.
21065 Add wcslen support.
21068 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21070 * po/it.po: Update from translation team.
21072 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21074 * sysdeps/x86_64/wcscmp.S: Update.
21075 Fix wrong comparison semantics.
21076 wcscmp shall use signed comparison not unsigned.
21077 Don't use substraction to avoid overflow bug.
21078 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21079 * wcsmbc/wcscmp.c: Likewise.
21080 * string/test-strcmp.c: Likewise.
21081 Add new tests to check cases with negative values.
21083 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21085 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21086 * sysdeps/x86_64/dla.h: ...here. New file.
21087 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21097 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21100 __ynl_finite aliases.
21102 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21106 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21108 [DLA_FMA] (EMULV): Use DLA_FMA.
21109 [DLA_FMA] (MUL12): Use EMULV.
21110 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21111 that are not needed.
21112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21120 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21122 * math/s_nan.c: Undef __nan.
21123 * math/s_nanf.c: Undef __nanf.
21124 * math/s_nanl.c: Undef __nanl.
21125 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21128 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21130 * math/s_catan.c: Add branch predictions.
21131 * math/s_catanf.c: Likewise.
21132 * math/s_catanh.c: Likewise.
21133 * math/s_catanhf.c: Likewise.
21134 * math/s_catanhl.c: Likewise.
21135 * math/s_catanl.c: Likewise.
21136 * math/s_cexp.c: Likewise.
21137 * math/s_cexpf.c: Likewise.
21138 * math/s_cexpl.c: Likewise.
21139 * math/s_clog.c: Likewise.
21140 * math/s_clog10.c: Likewise.
21141 * math/s_clog10f.c: Likewise.
21142 * math/s_clog10l.c: Likewise.
21143 * math/s_clogf.c: Likewise.
21144 * math/s_clogl.c: Likewise.
21145 * math/s_csqrt.c: Likewise.
21146 * math/s_csqrtf.c: Likewise.
21147 * math/s_csqrtl.c: Likewise.
21148 * math/s_ctanf.c: Likewise.
21149 * math/s_ctanh.c: Likewise.
21150 * math/s_ctanhf.c: Likewise.
21151 * math/s_ctanhl.c: Likewise.
21152 * math/s_ctanl.c: Likewise.
21154 * math/math_private.h: Define __nan, __nanf, __nanl.
21155 * math/s_cacosh.c: Include <math_private.h>.
21156 * math/s_cacoshl.c: Likewise.
21157 * math/s_casinh.c: Likewise.
21158 * math/s_casinhf.c: Likewise.
21159 * math/s_casinhl.c: Likewise.
21160 * math/s_ccos.c: Rely entire on ccosh.
21161 * math/s_ccosf.c: Rely entire on ccoshf.
21162 * math/s_ccosl.c: Rely entirely on ccoshl.
21163 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21164 Remove tests for FE_INVALID.
21165 * math/s_ccoshf.c: Likewise.
21166 * math/s_ccoshl.c: Likewise.
21167 * math/s_csin.c: Likewise.
21168 * math/s_csinf.c: Likewise.
21169 * math/s_csinh.c Likewise.
21170 * math/s_csinhf.c: Likewise.
21171 * math/s_csinhl.c: Likewise.
21172 * math/s_csinl.c: Likewise.
21173 * math/s_ctan.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21175 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21176 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21178 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21181 compilation problems.
21183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21186 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21188 * sysdeps/i386/configure.in: Test for -mfma4 option.
21189 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21190 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21191 COMMON_CPUID_INDEX_80000001.
21192 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21193 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21194 use it if FMA3 is not supported.
21195 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21197 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21198 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21200 2011-10-20 Andreas Schwab <schwab@redhat.com>
21203 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21204 it would create a cycle with a link time dependency.
21206 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21208 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21210 * string/Makefile (strop-tests): Add rawmemchr.
21211 * string/test-rawmemchr.c: New file.
21213 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21215 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21216 when compiling str{,n}casecmp and when AVX is available. Hook up
21217 new optimized code in initializers.
21219 2011-10-19 Andreas Schwab <schwab@redhat.com>
21221 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21222 __feraiseexcept instead of feraiseexcept.
21224 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21226 * math/math_private.h: Define defaults for libc_fetestexcept and
21228 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21229 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21230 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21231 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21233 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21234 libc_fetestexcept and libc_feupdateenv.
21236 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21237 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21238 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21239 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21240 libc_feholdexcept_setround.
21242 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21243 Add s_nearbyint-c and s_nearbyintf-c.
21244 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21245 nearbyintf inlines.
21246 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21247 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21248 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21249 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21251 * math/math_private.h: Define defaults for libc_fegetround,
21252 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21253 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21254 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21256 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21257 standard functions.
21258 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21259 Remove comments and hacks for old compiler versions.
21260 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21261 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21262 libc_feholdexceptl.
21264 2011-10-18 Andreas Schwab <schwab@redhat.com>
21266 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21267 (__feraiseexcept_renamed): Add __NTH.
21268 (feraiseexcept): Add __NTH. Rename local variables to fix
21269 namespace violations.
21271 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21273 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21275 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21277 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21278 recently added interfaces.
21279 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21281 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21282 about macro parameter expansion.
21284 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21285 __NO_MATH_INLINES is defined. Cleanups.
21287 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21288 and __floorf is target has SSE4.1.
21289 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21290 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21291 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21292 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21294 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21296 (floorf): Likewise.
21298 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21300 2011-10-17 Andreas Schwab <schwab@redhat.com>
21302 * misc/sys/cdefs.h: Fix last change.
21304 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21307 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21309 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21311 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21312 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21313 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21316 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21317 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21318 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21319 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21320 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21321 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21322 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21323 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21324 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21325 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21326 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21327 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21328 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21329 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21330 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21331 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21332 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21334 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21335 ceil, ceilf, floor, floorf.
21337 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21338 Perform IRELATIVE relocations last.
21340 * elf/do-rel.h: Add another parameter nrelative, replacing the
21341 local variable with the same name. Change name of the function
21342 to end in Rel or Rela (uppercase).
21343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21344 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21345 elf_dynamic_do_##reloc function.
21347 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21349 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21350 is sufficient, at least on modern CPUs.
21352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21354 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21355 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21357 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21359 * math/bits/math-finite.h: Add entries for exp.
21360 * math/e_expl.c: Add __*_finite alias.
21361 * sysdeps/i386/fpu/e_exp.S: Likewise.
21362 * sysdeps/i386/fpu/e_expf.S: Likewise.
21363 * sysdeps/i386/fpu/e_expl.c: Likewise.
21364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21365 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21366 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21368 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21369 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21370 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21372 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21373 is sufficient, at least on modern CPUs.
21375 * ctype/ctype-info.c (__ctype_init): Define.
21376 * include/ctype.h (__ctype_init): Declare.
21377 (__ctype_b_loc): The variable is always initialized.
21378 (__ctype_toupper_loc): Likewise.
21379 (__ctype_tolower_loc): Likewise.
21380 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21381 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21383 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21385 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21387 * configure.in: Also look in $cxxmachine/include for C++ system
21390 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21392 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21393 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21394 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21395 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21396 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21397 (USE_AS_WMEMCMP): New macro.
21399 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21400 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21401 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21402 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21404 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21405 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21406 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21407 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21408 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21409 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21410 (USE_AS_WMEMCMP): New macro.
21411 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21412 * sysdeps/string/test-memcmp.c: Update.
21413 Fix simple_wmemcmp.
21415 * wcsmbs/wmemcmp.c: Update.
21416 (WMEMCMP): New macro.
21419 2011-10-12 Andreas Jaeger <aj@suse.de>
21422 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21424 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21426 * libio/iofwide.c (do_length): Avoid warning.
21428 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21430 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21432 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21434 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21435 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21436 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21437 * sysdeps/i386/i686/fpu/e_log.S: New file.
21438 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21439 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21441 * ctype/ctype.h: Add support for inlined isXXX functions when
21442 compiling C++ code.
21444 2011-10-14 Andreas Schwab <schwab@redhat.com>
21446 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21448 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21450 2011-10-13 Roland McGrath <roland@hack.frob.com>
21453 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21455 2011-10-13 Andreas Schwab <schwab@redhat.com>
21457 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21458 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21461 * sysdeps/x86_64/memrchr.S: Check for zero size.
21463 * string/stratcliff.c: Add memrchr tests.
21465 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21468 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21469 rawmemchr-sse2 rawmemchr-sse2-bsf.
21470 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21471 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21472 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21473 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21474 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21475 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21476 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21477 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21478 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21479 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21480 * string/memrchr.c (MEMRCHR): New macro.
21482 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21484 Add integration with gcc's -ffinite-math-only and optimize wrapper
21486 * Versions.def: Define GLIBC_2.15 version for libm.
21487 * math/Makefile (headers): Add bits/math-finite.h.
21488 * math/bits/math-finite.h: New file.
21489 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21490 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21491 * math/e_acoshl.c: Add __*_finite alias.
21492 * math/e_acosl.c: Likewise.
21493 * math/e_asinl.c: Likewise.
21494 * math/e_atan2l.c: Likewise.
21495 * math/e_atanhl.c: Likewise.
21496 * math/e_coshl.c: Likewise.
21497 * math/e_exp10.c: Likewise.
21498 * math/e_exp10f.c: Likewise.
21499 * math/e_exp10l.c: Likewise.
21500 * math/e_exp2l.c: Likewise.
21501 * math/e_fmodl.c: Likewise.
21502 * math/e_gammal_r.c: Likewise.
21503 * math/e_hypotl.c: Likewise.
21504 * math/e_j0l.c: Likewise.
21505 * math/e_j1l.c: Likewise.
21506 * math/e_jnl.c: Likewise.
21507 * math/e_lgammal_r.c: Likewise.
21508 * math/e_log10l.c: Likewise.
21509 * math/e_log2l.c: Likewise.
21510 * math/e_logl.c: Likewise.
21511 * math/e_powl.c: Likewise.
21512 * math/e_sinhl.c: Likewise.
21513 * math/e_sqrtl.c: Likewise.
21514 * math/e_scalb.c: Completely rewritten and optimized.
21515 * math/e_scalbf.c: Likewise.
21516 * math/e_scalbl.c: Likewise.
21517 * math/w_acos.c: Likewise.
21518 * math/w_acosf.c: Likewise.
21519 * math/w_acosl.c: Likewise.
21520 * math/w_acosh.c: Likewise.
21521 * math/w_acoshf.c: Likewise.
21522 * math/w_acoshl.c: Likewise.
21523 * math/w_asin.c: Likewise.
21524 * math/w_asinf.c: Likewise.
21525 * math/w_asinl.c: Likewise.
21526 * math/w_atan2.c: Likewise.
21527 * math/w_atan2f.c: Likewise.
21528 * math/w_atan2l.c: Likewise.
21529 * math/w_atanh.c: Likewise.
21530 * math/w_atanhf.c: Likewise.
21531 * math/w_atanhl.c: Likewise.
21532 * math/w_exp10.c: Likewise.
21533 * math/w_exp10f.c: Likewise.
21534 * math/w_exp10l.c: Likewise.
21535 * math/w_fmod.c: Likewise.
21536 * math/w_fmodf.c: Likewise.
21537 * math/w_fmodl.c: Likewise.
21538 * math/w_j0.c: Likewise.
21539 * math/w_j0f.c: Likewise.
21540 * math/w_j0l.c: Likewise.
21541 * math/w_j1.c: Likewise.
21542 * math/w_j1f.c: Likewise.
21543 * math/w_j1l.c: Likewise.
21544 * math/w_jn.c: Likewise.
21545 * math/w_jnf.c: Likewise.
21546 * math/w_log.c: Likewise.
21547 * math/w_logf.c: Likewise.
21548 * math/w_logl.c: Likewise.
21549 * math/w_log10.c: Likewise.
21550 * math/w_log10f.c: Likewise.
21551 * math/w_log10l.c: Likewise.
21552 * math/w_log2.c: Likewise.
21553 * math/w_log2f.c: Likewise.
21554 * math/w_log2l.c: Likewise.
21555 * math/w_pow.c: Likewise.
21556 * math/w_powf.c: Likewise.
21557 * math/w_powl.c: Likewise.
21558 * math/w_remainder.c: Likewise.
21559 * math/w_remainderf.c: Likewise.
21560 * math/w_remainderl.c: Likewise.
21561 * math/w_scalb.c: Likewise.
21562 * math/w_scalbf.c: Likewise.
21563 * math/w_scalbl.c: Likewise.
21564 * math/w_sqrt.c: Likewise.
21565 * math/w_sqrtf.c: Likewise.
21566 * math/w_sqrtl.c: Likewise.
21567 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21568 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21570 * math/math_private.h: Declare __kernel_standard_f.
21571 * math/w_cosh.c: Remove cruft and optimize a bit.
21572 * math/w_coshf.c: Likewise.
21573 * math/w_coshl.c: Likewise.
21574 * math/w_exp2.c: Likewise.
21575 * math/w_exp2f.c: Likewise.
21576 * math/w_exp2l.c: Likewise.
21577 * math/w_hypot.c: Likewise.
21578 * math/w_hypotf.c: Likewise.
21579 * math/w_hypotl.c: Likewise.
21580 * math/w_lgamma.c: Likewise.
21581 * math/w_lgamma_r.c: Likewise.
21582 * math/w_lgammaf.c: Likewise.
21583 * math/w_lgammaf_r.c: Likewise.
21584 * math/w_lgammal.c: Likewise.
21585 * math/w_lgammal_r.c: Likewise.
21586 * math/w_sinh.c: Likewise.
21587 * math/w_sinhf.c: Likewise.
21588 * math/w_sinhl.c: Likewise.
21589 * math/w_tgamma.c: Likewise.
21590 * math/w_tgammaf.c: Likewise.
21591 * math/w_tgammal.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21594 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21595 Minor optimizations. Pretty printing. Remove cruft.
21596 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21597 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21598 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21599 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21600 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21601 * sysdeps/i386/fpu/e_asin.S: Likewise.
21602 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21603 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21604 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21605 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21606 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21607 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21608 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21609 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21610 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21611 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21612 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21613 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21614 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21615 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21616 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21617 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21618 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21619 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21620 * sysdeps/i386/fpu/e_log.S: Likewise.
21621 * sysdeps/i386/fpu/e_log10.S: Likewise.
21622 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21623 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21624 * sysdeps/i386/fpu/e_log2.S: Likewise.
21625 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21626 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21627 * sysdeps/i386/fpu/e_logf.S: Likewise.
21628 * sysdeps/i386/fpu/e_logl.S: Likewise.
21629 * sysdeps/i386/fpu/e_pow.S: Likewise.
21630 * sysdeps/i386/fpu/e_powf.S: Likewise.
21631 * sysdeps/i386/fpu/e_powl.S: Likewise.
21632 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21633 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21634 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21635 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21636 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21637 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21638 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21639 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21640 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21641 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21661 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21662 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21663 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21665 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21666 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21667 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21668 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21669 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21670 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21672 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21674 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21675 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21676 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21677 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21678 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21679 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21680 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21681 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21682 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21683 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21684 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21690 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21691 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21692 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21721 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21726 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21729 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21732 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21733 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21734 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21735 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21736 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21737 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21738 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21739 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21740 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21741 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21742 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21743 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21744 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21745 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21747 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21748 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21749 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21751 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21752 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21753 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21754 (__isnanf): Likewise.
21755 (__isinf_ns): Likewise.
21756 (__isinf_nsf): Likewise.
21757 (__finite): Likewise.
21758 (__finitef): Likewise.
21759 (__ieee754_sqrt): Define as macro.
21760 (__ieee754_sqrtf): Define as macro.
21761 (__ieee754_sqrtl): Define as macro.
21762 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21764 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21765 __FINITE_MATH_ONLY__ consistent.
21766 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21768 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21770 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21773 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21775 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21777 * po/ja.po: Update from translation team.
21779 2011-10-08 Roland McGrath <roland@hack.frob.com>
21781 * locale/programs/locarchive.c (prepare_address_space): New function.
21782 (create_archive, enlarge_archive, open_archive): Use it.
21784 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21785 inside [SHARED], where it is used.
21787 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21789 * nss/getent.c (netgroup_keys): Remove unused variable.
21790 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21792 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21794 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21795 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21797 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21798 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21799 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21800 * math/Makefile (libm-calls): Add s_isinf_ns.
21801 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21802 * math/multc3.c: Likewise.
21803 * math/s_casin.c: Likewise.
21804 * math/s_casinf.c: Likewise.
21805 * math/s_casinl.c: Likewise.
21806 * math/s_ccos.c: Likewise.
21807 * math/s_ccosf.c: Likewise.
21808 * math/s_ccosl.c: Likewise.
21809 * math/s_ctan.c: Likewise.
21810 * math/s_ctanf.c: Likewise.
21811 * math/s_ctanh.c: Likewise.
21812 * math/s_ctanhf.c: Likewise.
21813 * math/s_ctanhl.c: Likewise.
21814 * math/s_ctanl.c: Likewise.
21815 * math/w_fmod.c: Likewise.
21816 * math/w_fmodf.c: Likewise.
21817 * math/w_fmodl.c: Likewise.
21818 * math/w_remainder.c: Likewise.
21819 * math/w_remainderf.c: Likewise.
21820 * math/w_remainderl.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21822 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21823 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21825 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21826 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21827 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21828 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21830 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21832 * stdio-common/printf_fphex.c: Likewise.
21833 * stdio-common/printf_size.c: Likewise.
21835 * math/e_exp10.c: Include math_private.h using <...> not "...".
21836 * math/e_exp10f.c: Likewise.
21837 * math/e_exp10l.c: Likewise.
21838 * math/e_exp2l.c: Likewise.
21839 * math/e_j0l.c: Likewise.
21840 * math/e_j1l.c: Likewise.
21841 * math/e_jnl.c: Likewise.
21842 * math/e_lgammal_r.c: Likewise.
21843 * math/e_rem_pio2l.c: Likewise.
21844 * math/e_scalb.c: Likewise.
21845 * math/e_scalbf.c: Likewise.
21846 * math/e_scalbl.c: Likewise.
21847 * math/k_cosl.c: Likewise.
21848 * math/k_sinl.c: Likewise.
21849 * math/k_tanl.c: Likewise.
21850 * math/s_cacoshf.c: Likewise.
21851 * math/s_catan.c: Likewise.
21852 * math/s_catanf.c: Likewise.
21853 * math/s_catanh.c: Likewise.
21854 * math/s_catanhf.c: Likewise.
21855 * math/s_catanhl.c: Likewise.
21856 * math/s_catanl.c: Likewise.
21857 * math/s_ccosh.c: Likewise.
21858 * math/s_ccoshf.c: Likewise.
21859 * math/s_ccoshl.c: Likewise.
21860 * math/s_cexp.c: Likewise.
21861 * math/s_cexpf.c: Likewise.
21862 * math/s_cexpl.c: Likewise.
21863 * math/s_clog.c: Likewise.
21864 * math/s_clog10.c: Likewise.
21865 * math/s_clog10f.c: Likewise.
21866 * math/s_clog10l.c: Likewise.
21867 * math/s_clogf.c: Likewise.
21868 * math/s_clogl.c: Likewise.
21869 * math/s_csin.c: Likewise.
21870 * math/s_csinf.c: Likewise.
21871 * math/s_csinh.c: Likewise.
21872 * math/s_csinhf.c: Likewise.
21873 * math/s_csinhl.c: Likewise.
21874 * math/s_csinl.c: Likewise.
21875 * math/s_csqrt.c: Likewise.
21876 * math/s_csqrtf.c: Likewise.
21877 * math/s_csqrtl.c: Likewise.
21878 * math/s_ctan.c: Likewise.
21879 * math/s_ctanf.c: Likewise.
21880 * math/s_ctanh.c: Likewise.
21881 * math/s_ctanhf.c: Likewise.
21882 * math/s_ctanhl.c: Likewise.
21883 * math/s_ctanl.c: Likewise.
21884 * math/s_ldexp.c: Likewise.
21885 * math/s_ldexpf.c: Likewise.
21886 * math/s_ldexpl.c: Likewise.
21887 * math/s_significand.c: Likewise.
21888 * math/s_significandf.c: Likewise.
21889 * math/s_significandl.c: Likewise.
21890 * math/w_acos.c: Likewise.
21891 * math/w_acosf.c: Likewise.
21892 * math/w_acosh.c: Likewise.
21893 * math/w_acoshf.c: Likewise.
21894 * math/w_acoshl.c: Likewise.
21895 * math/w_acosl.c: Likewise.
21896 * math/w_asin.c: Likewise.
21897 * math/w_asinf.c: Likewise.
21898 * math/w_asinl.c: Likewise.
21899 * math/w_atan2.c: Likewise.
21900 * math/w_atan2f.c: Likewise.
21901 * math/w_atan2l.c: Likewise.
21902 * math/w_atanh.c: Likewise.
21903 * math/w_atanhf.c: Likewise.
21904 * math/w_atanhl.c: Likewise.
21905 * math/w_cosh.c: Likewise.
21906 * math/w_coshf.c: Likewise.
21907 * math/w_coshl.c: Likewise.
21908 * math/w_dremf.c: Likewise.
21909 * math/w_exp10.c: Likewise.
21910 * math/w_exp10f.c: Likewise.
21911 * math/w_exp10l.c: Likewise.
21912 * math/w_exp2.c: Likewise.
21913 * math/w_exp2f.c: Likewise.
21914 * math/w_fmod.c: Likewise.
21915 * math/w_fmodf.c: Likewise.
21916 * math/w_fmodl.c: Likewise.
21917 * math/w_hypot.c: Likewise.
21918 * math/w_hypotf.c: Likewise.
21919 * math/w_hypotl.c: Likewise.
21920 * math/w_j0.c: Likewise.
21921 * math/w_j0f.c: Likewise.
21922 * math/w_j0l.c: Likewise.
21923 * math/w_j1.c: Likewise.
21924 * math/w_j1f.c: Likewise.
21925 * math/w_j1l.c: Likewise.
21926 * math/w_jn.c: Likewise.
21927 * math/w_jnf.c: Likewise.
21928 * math/w_jnl.c: Likewise.
21929 * math/w_lgamma.c: Likewise.
21930 * math/w_lgamma_r.c: Likewise.
21931 * math/w_lgammaf.c: Likewise.
21932 * math/w_lgammaf_r.c: Likewise.
21933 * math/w_lgammal.c: Likewise.
21934 * math/w_lgammal_r.c: Likewise.
21935 * math/w_log.c: Likewise.
21936 * math/w_log10.c: Likewise.
21937 * math/w_log10f.c: Likewise.
21938 * math/w_log10l.c: Likewise.
21939 * math/w_log2.c: Likewise.
21940 * math/w_log2f.c: Likewise.
21941 * math/w_log2l.c: Likewise.
21942 * math/w_logf.c: Likewise.
21943 * math/w_logl.c: Likewise.
21944 * math/w_pow.c: Likewise.
21945 * math/w_powf.c: Likewise.
21946 * math/w_powl.c: Likewise.
21947 * math/w_remainder.c: Likewise.
21948 * math/w_remainderf.c: Likewise.
21949 * math/w_remainderl.c: Likewise.
21950 * math/w_scalb.c: Likewise.
21951 * math/w_scalbf.c: Likewise.
21952 * math/w_scalbl.c: Likewise.
21953 * math/w_sinh.c: Likewise.
21954 * math/w_sinhf.c: Likewise.
21955 * math/w_sinhl.c: Likewise.
21956 * math/w_sqrt.c: Likewise.
21957 * math/w_sqrtf.c: Likewise.
21958 * math/w_sqrtl.c: Likewise.
21959 * math/w_tgamma.c: Likewise.
21960 * math/w_tgammaf.c: Likewise.
21961 * math/w_tgammal.c: Likewise.
21963 * po/ja.po: Update from translation team.
21965 2011-09-29 Andreas Jaeger <aj@suse.de>
21968 * sunrpc/netname.c (netname2host): Fix logic.
21972 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21974 * math/w_remainder.c (__remainder): Likewise.
21975 * math/w_remainderf.c (__remainderf): Likewise.
21976 * math/libm-test.inc (remainder_test): Add test cases.
21978 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21980 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21983 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21985 * string/test-memcmp.c: Avoid unncessary #defines.
21986 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21988 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21990 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21991 Use new sse2 version for core i3 - i7 as it's faster
21992 than sse42 version.
21993 (bit_Prefer_PMINUB_for_stringop): New.
21994 * sysdeps/x86_64/rawmemchr.S: Update.
21995 Replace with faster SSE2 version.
21996 * sysdeps/x86_64/memrchr.S: New file.
21997 * sysdeps/x86_64/memchr.S: Update.
21998 Replace with faster SSE2 version.
22000 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22002 * elf/dl-load.c (lose): Add cast to avoid warning.
22004 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22006 * po/ca.po: Update from translation team.
22008 * inet/getnetgrent_r.c: Hook up nscd.
22009 * nscd/Makefile (routines): Add nscd_netgroup.
22010 (nscd-modules): Add netgroupcache.
22011 (CFLAGS-netgroupcache.c): Define.
22012 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22013 (cache_search): Add const to second parameter.
22014 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22016 (dbs): Add netgrdb entry.
22017 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22018 (verify_persistent_db): Handle netgrdb.
22019 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22020 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22022 (netgroup_response_header): Define.
22023 (innetgroup_response_header): Define.
22024 (datahead): Add netgroup_response_header and innetgroup_response_header
22026 * nscd/nscd.conf: Add entries for netgroup cache.
22027 * nscd/nscd.h (dbtype): Add netgrdb.
22028 (_PATH_NSCD_NETGROUP_DB): Define.
22029 (netgroup_iov_disabled): Declare.
22030 (xmalloc, xcalloc, xrealloc): Move declarations here.
22031 (cache_search): Adjust prototype.
22032 Add netgroup-related prototypes.
22033 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22034 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22035 (__nscd_innetgr): Declare.
22036 * nscd/selinux.c (perms): Use access_vector_t as element type and
22037 add netgroup-related initializers.
22038 * nscd/netgroupcache.c: New file.
22039 * nscd/nscd_netgroup.c: New file.
22040 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22041 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22042 For four parameters use innetgr.
22043 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22044 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22045 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22046 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22048 * nscd/connections.c (register_traced_file): Don't register file
22049 for disabled databases.
22051 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22053 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22055 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22056 from tree and freeing node.
22058 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22060 * nss/nsswitch.c (__nss_database_lookup): Handle
22061 nss_parse_service_list out of memory case.
22063 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22065 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22066 out of memory case.
22068 2011-10-04 Andreas Schwab <schwab@redhat.com>
22070 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22071 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22073 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22074 elf_machine_rela, elf_machine_lazy_rel.
22075 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22076 (ELF_DYNAMIC_DO_REL): Likewise.
22077 (ELF_DYNAMIC_DO_RELA): Likewise.
22078 (ELF_DYNAMIC_RELOCATE): Likewise.
22079 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22080 to ELF_DYNAMIC_DO_REL.
22081 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22082 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22083 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22085 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22086 skip_ifunc, don't call ifunc function if non-zero.
22087 (elf_machine_rela): Likewise.
22088 (elf_machine_lazy_rel): Likewise.
22089 (elf_machine_lazy_rela): Likewise.
22090 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22091 (elf_machine_lazy_rel): Likewise.
22092 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22094 (elf_machine_lazy_rel): Likewise.
22095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22097 (elf_machine_lazy_rel): Likewise.
22098 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22099 (elf_machine_lazy_rel): Likewise.
22100 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22101 (elf_machine_lazy_rel): Likewise.
22102 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22103 (elf_machine_lazy_rel): Likewise.
22104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22105 (elf_machine_lazy_rel): Likewise.
22106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22107 (elf_machine_lazy_rel): Likewise.
22108 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22109 (elf_machine_lazy_rel): Likewise.
22111 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22113 * nss/nss_files/files-init.c (_nss_files_init): Use static
22114 initialization for all the *_traced_file variables.
22116 2011-09-28 Andreas Schwab <schwab@redhat.com>
22118 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22120 2011-09-27 Roland McGrath <roland@hack.frob.com>
22123 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22125 2011-09-27 Andreas Schwab <schwab@redhat.com>
22127 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22128 Reread the line before reparsing it.
22130 2011-09-26 Andreas Schwab <schwab@redhat.com>
22132 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22134 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22135 Maxim Kuvyrkov <maxim@codesourcery.com>
22136 Joseph Myers <joseph@codesourcery.com>
22138 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22139 if needed for __stack_chk_guard.
22141 2011-09-19 Roland McGrath <roland@hack.frob.com>
22143 * sysdeps/posix/spawni.c (script_execute): Always define it.
22144 It will be optimized away if unused.
22145 (maybe_script_execute): New function.
22146 (__spawni): Call it.
22148 * Makerules: Don't include tls.make.
22149 (config-tls): Always set to thread.
22150 * tls.make.c: File removed.
22152 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22154 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22155 * config.make.in (CPPFLAGS-config): New substituted variable.
22157 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22162 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22163 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22165 2011-09-15 Roland McGrath <roland@hack.frob.com>
22167 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22168 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22170 (CALL_FAIL): Likewise.
22171 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22172 (CALL_FAIL): Macro removed.
22173 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22175 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22177 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22178 for __FINITE_MATH_ONLY__ == 1.
22180 2011-09-15 Andreas Schwab <schwab@redhat.com>
22182 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22183 __ieee754_sqrt instead of sqrt.
22184 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22185 __ieee754_sqrtf instead of sqrtf.
22186 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22187 __floorf instead of floorf.
22188 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22189 __floorf, __truncf instead of floorf, truncf.
22191 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22193 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22195 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22196 __extern_always_inline.
22197 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22200 2011-09-14 Andreas Schwab <schwab@redhat.com>
22202 * elf/rtld.c (dl_main): Also relocate in dependency order when
22203 doing symbol dependency testing.
22205 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22208 Always define `refsym'.
22210 2011-09-13 Andreas Schwab <schwab@redhat.com>
22212 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22213 (__FD_ELT): Renamed from __FDELT.
22214 * misc/bits/select2.h (__FD_ELT): Likewise.
22215 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22216 __FD_MASK instead of __FDELT, __FDMASK.
22217 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22219 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22222 * elf/Makefile (gen-ldd): Fix pattern.
22224 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22225 (init_tls): Likewise.
22227 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22231 2011-09-12 Andreas Schwab <schwab@redhat.com>
22233 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22234 `struct cmsghdr *' instead of `void *'.
22235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22238 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22240 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22242 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22243 ldd_rewrite_script.
22245 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22247 * configure.in: Remove --with-tls option.
22248 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22249 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22250 out in case it is missing.
22251 * sysdeps/ia64/elf/configure.in: Likewise.
22252 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22253 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22254 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22255 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22256 * sysdeps/sh/elf/configure.in: Likewise.
22257 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22258 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22259 * sysdeps/x86_64/elf/configure.in: Likewise.
22260 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22261 * sysdeps/mach/hurd/tls.h: Likewise.
22264 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22267 * configure.in: Fix use of AC_INIT.
22269 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22271 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22273 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22275 * malloc/hooks.c: Likewise.
22278 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22279 variables statically.
22280 (narenas): Initialize.
22281 (list_lock): Initialize.
22282 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22283 initializtion of main_arena and list_lock. Small cleanups.
22284 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22285 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22286 Add initializers to main_arena and mp_.
22287 (malloc_state): Remove pagesize member. Change all users to use
22290 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22291 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22292 is always initialized.
22294 * malloc/malloc.c: Removed unused configurations and dead code.
22295 * malloc/arena.c: Likewise.
22296 * malloc/hooks.c: Likewise.
22297 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22299 * include/tls.h: Removed. USE___THREAD must always be defined.
22300 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22301 * elf/dl-libc.c: Likewise.
22302 * elf/dl-tsd.c: Likewise.
22303 * include/errno.h: Likewise.
22304 * include/netdb.h: Likewise.
22305 * include/resolv.h: Likewise.
22306 * inet/herrno-loc.c: Likewise.
22307 * inet/herrno.c: Likewise.
22308 * malloc/arena.c: Likewise.
22309 * malloc/hooks.c: Likewise.
22310 * malloc/malloc.c: Likewise.
22311 * resolv/res-state.c: Likewise.
22312 * resolv/res_libc.c: Likewise.
22313 * sysdeps/i386/dl-machine.h: Likewise.
22314 * sysdeps/ia64/dl-machine.h: Likewise.
22315 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22316 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22317 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22318 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22319 * sysdeps/sh/dl-machine.h: Likewise.
22320 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22321 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22322 * sysdeps/unix/i386/sysdep.S: Likewise.
22323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22324 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22325 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22329 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22333 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22334 * sysdeps/x86_64/dl-machine.h: Likewise.
22335 * tls.make.c: Likewise.
22337 * configure.in: Remove --with-__thread option. Make tests for
22338 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22339 tls_model attribute fail if no support is available. Remove
22341 * Makeconfig: Adjust for dropped configure option. All features are
22343 * Makerules: Likewise.
22344 * Versions.def: Likewise.
22345 * argp/argp-fmtstream.c: Likewise.
22346 * argp/argp-fmtstream.h: Likewise.
22347 * argp/argp-help.c: Likewise.
22348 * assert/assert.c: Likewise.
22349 * config.h.in: Likewise.
22350 * config.make.in: Likewise.
22351 * configure: Likewise.
22352 * configure.in: Likewise.
22353 * csu/Versions: Likewise.
22354 * csu/init.c: Likewise.
22355 * elf/tst-audit2.c: Likewise.
22356 * elf/tst-tls10.c: Likewise.
22357 * elf/tst-tls10.h: Likewise.
22358 * elf/tst-tls11.c: Likewise.
22359 * elf/tst-tls12.c: Likewise.
22360 * elf/tst-tls14.c: Likewise.
22361 * elf/tst-tlsmod11.c: Likewise.
22362 * elf/tst-tlsmod12.c: Likewise.
22363 * elf/tst-tlsmod13.c: Likewise.
22364 * elf/tst-tlsmod13a.c: Likewise.
22365 * elf/tst-tlsmod14a.c: Likewise.
22366 * elf/tst-tlsmod15b.c: Likewise.
22367 * elf/tst-tlsmod16a.c: Likewise.
22368 * elf/tst-tlsmod16b.c: Likewise.
22369 * elf/tst-tlsmod7.c: Likewise.
22370 * elf/tst-tlsmod8.c: Likewise.
22371 * elf/tst-tlsmod9.c: Likewise.
22372 * gmon/gmon.c: Likewise.
22373 * grp/fgetgrent_r.c: Likewise.
22374 * grp/putgrent.c: Likewise.
22375 * hurd/fopenport.c: Likewise.
22376 * include/libc-symbols.h: Likewise.
22377 * include/tls.h: Likewise.
22378 * intl/gettextP.h: Likewise.
22379 * intl/loadinfo.h: Likewise.
22380 * locale/global-locale.c: Likewise.
22381 * locale/localeinfo.h: Likewise.
22382 * mach/devstream.c: Likewise.
22383 * malloc/arena.c: Likewise.
22384 * malloc/set-freeres.c: Likewise.
22385 * misc/err.c: Likewise.
22386 * misc/getttyent.c: Likewise.
22387 * misc/mntent_r.c: Likewise.
22388 * posix/getopt.c: Likewise.
22389 * posix/wordexp.c: Likewise.
22390 * pwd/fgetpwent_r.c: Likewise.
22391 * resolv/Versions: Likewise.
22392 * resolv/res_hconf.c: Likewise.
22393 * shadow/fgetspent_r.c: Likewise.
22394 * shadow/putspent.c: Likewise.
22395 * stdio-common/printf_fphex.c: Likewise.
22396 * stdio-common/tmpfile.c: Likewise.
22397 * stdlib/abort.c: Likewise.
22398 * stdlib/fmtmsg.c: Likewise.
22399 * sunrpc/auth_unix.c: Likewise.
22400 * sunrpc/clnt_perr.c: Likewise.
22401 * sunrpc/clnt_tcp.c: Likewise.
22402 * sunrpc/clnt_udp.c: Likewise.
22403 * sunrpc/clnt_unix.c: Likewise.
22404 * sunrpc/openchild.c: Likewise.
22405 * sunrpc/svc_simple.c: Likewise.
22406 * sunrpc/svc_tcp.c: Likewise.
22407 * sunrpc/svc_udp.c: Likewise.
22408 * sunrpc/svc_unix.c: Likewise.
22409 * sunrpc/xdr.c: Likewise.
22410 * sunrpc/xdr_array.c: Likewise.
22411 * sunrpc/xdr_rec.c: Likewise.
22412 * sunrpc/xdr_ref.c: Likewise.
22413 * sunrpc/xdr_stdio.c: Likewise.
22415 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22417 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22419 2011-07-03 Andreas Jaeger <aj@suse.de>
22421 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22422 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22423 regenerate with gen-libm-tests.pl.
22425 2010-05-12 Petr Baudis <pasky@suse.cz>
22428 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22429 around j0() zero points by switching to j1().
22430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22431 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22435 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22437 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22439 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22442 Patch in part by Pavel Roskin <proski@gnu.org>.
22445 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22447 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22448 Free memory block if necessary.
22451 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22452 be NULL. Don't lock in this case.
22454 2011-09-09 Roland McGrath <roland@hack.frob.com>
22456 * elf/elf.h (ELFOSABI_GNU): New macro.
22457 (ELFOSABI_LINUX): Define to that.
22459 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22461 * string/strncat.c (strncat): Undef the symbol in case it has been
22462 defined in bits/string.h.
22464 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22466 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22468 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22471 2011-08-17 Andreas Jaeger <aj@suse.de>
22473 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22475 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22476 Ian Lance Taylor <iant@google.com>
22478 * math/libm-test.inc (lround_test): New testcase.
22479 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22481 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22483 * Makefile: Remove support for automatic cvs check-ins.
22484 * Makerules: Likewise.
22485 * config.make.in: Likewise.
22486 * configure.in: Likewise.
22487 * intl/Makefile: Likewise.
22488 * locale/Makefile: Likewise.
22489 * po/Makefile: Likewise.
22490 * posix/Makefile: Likewise.
22491 * sysdeps/gnu/Makefile: Likewise.
22492 * sysdeps/mach/hurd/Makefile: Likewise.
22493 * sysdeps/sparc/sparc32/Makefile: Likewise.
22496 * posix/Makefile (bug-regex32-ENV): Define.
22497 Patch by John Stanley <jpsinthemix@verizon.net>.
22499 * misc/Makefile (headers): Add bits/select2.h.
22500 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22501 * misc/bits/select2.h: New file.
22502 * include/bits/select2.h: New file.
22503 * debug/Makefile (routines): Add fdelt_chk.
22504 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22505 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22507 * debug/fdelt_chk.c: New file.
22509 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22510 * wcsmbs/test-wmemcmp.c: Likewise.
22511 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22512 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22514 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22516 * string/Makefile (strop-tests): Add memcmp.
22517 * string/test-wmemcmp.c: New file.
22518 * string/test-memcmp.c: Add wmemcmp support.
22520 2011-09-08 Roland McGrath <roland@hack.frob.com>
22523 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22526 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22527 garbage value in a __mach_port_mod_refs call in the cases of the
22528 task-self and thread-self ports.
22530 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22532 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22534 2011-09-08 Andreas Schwab <schwab@redhat.com>
22536 * elf/dl-load.c (lose): Check for non-null L.
22538 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22540 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22542 * elf/dl-libc.c (dlerror_run): Pass back error code from
22546 * elf/dl-load.c (lose): Free l_origin if it is valid.
22548 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22550 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22551 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22554 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22555 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22557 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22559 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22560 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22561 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22562 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22563 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22564 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22565 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22566 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22567 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22568 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22570 2011-08-15 Alan Modra <amodra@gmail.com>
22573 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22574 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22575 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22576 ppc_mcount to static-only-routines.
22577 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22579 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22580 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22582 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22584 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22585 for finite and infinity parameters.
22587 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22590 and add nop instructions for throughput optimization.
22591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22593 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22595 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22596 aligned copy for power7 with vector-scalar instructions.
22597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22599 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22604 2011-09-07 Andreas Schwab <schwab@redhat.com>
22607 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22610 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22612 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22613 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22614 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22615 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22618 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22621 Forgot to demangle the pointer.
22623 * sysdeps/i386/sysdep.h: Define atom_text_section.
22624 * sysdeps/x86_64/sysdep.h: Likewise.
22625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22626 section with atom_text_section.
22627 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22629 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22631 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22633 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22635 already be defined. Change to take two parameters and don't assign
22636 result to variable. Adjust all users.
22637 Define INTERNAL_GETTIME if not already defined.
22638 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22641 HAVE_CLOCK_GETTIME_VSYSCALL.
22642 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22645 gettimeofday vsyscall, just use time.
22647 2011-09-06 Andreas Schwab <schwab@redhat.com>
22649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22652 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22654 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22658 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22659 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22660 syscall if possible.
22662 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22664 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22665 e_ident. Don't pass to find_mapsXX.
22666 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22668 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22671 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22672 * sysdeps/x86_64/multiarch/strchr.S: Update.
22673 Check bit_slow_BSF bit.
22674 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22675 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22678 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22681 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22683 (tryshell): Define.
22684 (__spawni): Change last parameter to be flag. Test
22685 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22686 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22687 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22688 * posix/spawni.c: Likewise.
22689 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22690 * posix/spawnp.c: Likewise. Change normal version to use
22691 SPAWN_XFLAGS_USE_PATH.
22692 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22693 SPAWN_XFLAGS_TRY_SHELL.
22696 * posix/glob.h: Remove gcc 1.x support.
22699 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22701 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22704 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22706 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22707 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22708 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22709 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22710 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22711 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22713 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22715 * sysdeps/x86_64/wcscmp.S: New file.
22717 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22718 wcscmp-c wcscmp-sse2
22719 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22720 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22721 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22722 * wcsmbs/wcscmp.c: Allow renaming.
22724 2011-09-05 David S. Miller <davem@davemloft.net>
22726 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22727 stack slot, rather than the struct return pointer slot.
22728 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22729 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22731 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22733 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22735 * po/ja.po: Update from translation team.
22738 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22739 kernel in 64-bit binaries.
22741 2011-09-01 David S. Miller <davem@davemloft.net>
22743 * elf/elf.h (HWCAP_SPARC_*): Move to..
22744 * sysdeps/sparc/sysdep.h: this new file and add new values.
22745 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22746 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22747 _DL_HWCAP_COUNT to 24.
22748 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22750 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22751 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22752 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22754 instead of magic constants.
22755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22757 2011-08-31 David S. Miller <davem@davemloft.net>
22759 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22761 Reimplement to do errno handling inline.
22762 (SYSCALL_ERROR_HANDLER): New macro.
22763 (__SYSCALL_STRING): Do not do errno handling in asm.
22764 (__CLONE_SYSCALL_STRING): Delete.
22765 (__INTERNAL_SYSCALL_STRING): Delete.
22766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22767 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22768 (PSEUDO): Reimplement to do errno handling inline.
22769 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22770 (SYSCALL_ERROR_HANDLER): New macro.
22771 (__SYSCALL_STRING): Do not do errno handling in asm.
22772 (__CLONE_SYSCALL_STRING): Delete.
22773 (__INTERNAL_SYSCALL_STRING): Delete.
22774 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22775 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22777 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22778 (inline_syscall*): Add 'err' argument.
22779 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22780 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22781 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22782 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22784 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22785 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22787 2011-08-30 Andreas Schwab <schwab@redhat.com>
22789 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22791 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22793 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22796 2011-08-24 David S. Miller <davem@davemloft.net>
22798 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22800 2011-08-24 Andreas Schwab <schwab@redhat.com>
22802 * elf/Makefile: Add rules to build and run unload8 test.
22803 * elf/unload8.c: New file.
22804 * elf/unload8mod1.c: New file.
22805 * elf/unload8mod1x.c: New file.
22806 * elf/unload8mod2.c: New file.
22807 * elf/unload8mod3.c: New file.
22809 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22812 2011-08-23 David S. Miller <davem@davemloft.net>
22814 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22815 subtract stack bias.
22816 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22817 %sp not %fp in calculations.
22818 (_JMPBUF_UNWINDS_ADJ): Likewise.
22820 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22821 (aio_suspend): Call it to force an exception region around the
22822 AIO_MISC_WAIT() invocation.
22824 2011-08-23 Andreas Schwab <schwab@redhat.com>
22826 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22829 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22831 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22833 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22834 and <dl-machine.h>.
22835 (Elf64_FuncDesc): Remove.
22837 2011-08-22 David S. Miller <davem@davemloft.net>
22839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22840 sigaltstack check, add missing cfi directives.
22841 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22842 missing cfi directives, and sigaltstack handling.
22844 2011-08-16 Andreas Schwab <schwab@redhat.com>
22847 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22848 object is seen twice.
22849 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22851 * elf/Makefile (distribute): Add tst-initorder2.c.
22852 (tests): Add tst-initorder2.
22853 (modules-names): Add tst-initorder2a tst-initorder2b
22854 tst-initorder2c tst-initorder2d. Add rules to build them.
22855 ($(objpfx)tst-initorder2.out): New rule.
22856 * elf/tst-initorder2.c: New file.
22857 * elf/tst-initorder2.exp: New file.
22859 2011-08-22 Andreas Schwab <schwab@redhat.com>
22861 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22863 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22864 dependencies back to end of function.
22866 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22867 $(elfobjdir)/ld.so.
22869 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22872 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22874 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22875 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22876 of __vdso_gettimeofday.
22877 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22878 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22880 (_libc_vdso_platform_setup): Remove initialization of
22881 __vdso_gettimeofday and __vdso_time.
22883 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22885 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22886 and fgetc_unlocked.
22887 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22890 * elf/dl-open.c (add_to_global): Report additions to the global scope
22891 for LD_DEBUG=scopes.
22892 (dl_open_worker): Also print scope of newly loaded dependencies.
22893 (_dl_show_scope): Indicate if there is no scope.
22896 * stdio-common/Makefile (tests): Add bug24.
22897 * stdio-common/bug24.c: New file.
22899 2011-08-19 Andreas Jaeger <aj@suse.de>
22902 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22903 non-existant file when using close-on-exec mode.
22905 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22908 the very first instruction.
22910 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22911 the CFI state in the end.
22912 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22913 inclusion of dl-trampoline.h.
22914 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22916 2011-08-19 Andreas Schwab <schwab@redhat.com>
22918 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22919 expectations for long double.
22921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22922 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22924 2011-08-14 David S. Miller <davem@davemloft.net>
22926 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22927 artificual limit depends upon the system page size.
22929 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22931 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22932 * resolv/Makefile: Define CFLAGS-libresolv.
22934 2011-08-17 Andreas Schwab <schwab@redhat.com>
22936 * nss/makedb.c (compute_tables): Make variables used in nested
22939 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22941 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22942 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22943 if buffer was too small.
22945 * elf/pldd.c (main): Attach to all threads in the process.
22946 Rewrite /proc handling to use *at functions.
22948 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22950 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22951 specifies first scope to show.
22952 (dl_open_worker): Update callers. Move printing scope of new
22953 object to before the relocation.
22954 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22955 * sysdeps/generic/ldsodefs.h: Update declaration.
22957 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22958 string for the scope number.
22960 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22962 * nscd/servicescache.c (cache_addserv): Make sure written is always
22965 2011-08-14 Roland McGrath <roland@hack.frob.com>
22967 * sysdeps/i386/i486/bits/atomic.h
22968 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22969 statement expression, so as to suppress "set but not used" warning.
22970 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22972 * string/strncat.c (STRNCAT): Use prototype definition.
22974 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22975 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22977 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22978 (localedef-modules): Add localedef.
22979 (locale-modules): Add locale.
22981 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22982 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22983 to avoid a warning.
22985 2011-08-14 David S. Miller <davem@davemloft.net>
22987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22988 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22990 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22992 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22993 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22994 * elf/rtld.c (dl_main): Set l_name of vDSO.
22995 Call _dl_show_scope when DL_DEBUG_SCOPES.
22996 (process_dl_debug): Recognize scopes flag and also set it for all.
22997 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22998 Declare _dl_show_scope.
23000 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23001 (do_dlopen): Pass caller_dlopen to dl_open.
23002 (__libc_dlopen_mode): Initialize caller_dlopen.
23004 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23005 of libc. Make tolower call locale-independent. Optimize a bit by
23006 using isdigit instead of isalnum.
23007 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23009 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23011 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23012 was a dependency or dynamically loaded.
23014 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23016 * intl/l10nflist.c: Allow architecture-specific pop function.
23017 * sysdeps/x86_64/l10nflist.c: New file.
23019 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23022 2011-08-10 Andreas Schwab <schwab@redhat.com>
23024 * include/dirent.h: Add libc_hidden_proto for scandirat and
23025 scandirat64. Don't declare __scandirat64.
23026 * dirent/scandirat.c: Add libc_hidden_def.
23027 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23028 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23030 2011-08-10 David S. Miller <davem@davemloft.net>
23032 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23035 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23036 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23038 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23040 * Versions.def [libc]: Add GLIBC_2.15.
23041 * dirent/Makefile (routines): Add scandirat and scandirat64.
23042 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23044 * dirent/dirent.h: Declare scandirat and scandirat64.
23045 * dirent/scandirat.c: New file.
23046 * dirent/scandirat64.c: New file.
23047 * sysdeps/wordsize-64/scandirat.c: New file.
23048 * sysdeps/wordsize-64/scandirat64.c: New file.
23049 * dirent/opendir.c: Define opendirat.
23050 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23052 * dirent/scandir64.c: Adjust for scandir.c change.
23053 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23054 __scandirat64, and __scandir_cancel_handler.
23055 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23056 additional parameter and use openat instead of open (outside of ld.so).
23057 Add new __opendir as wrapper around __opendirat.
23058 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23059 here without requiring old scandirat implementation.
23061 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23063 * dirent/scandir.c (cancel_handler): Renamed to
23064 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23065 defined. Adjust users.
23066 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23067 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23069 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23071 * string/test-string.h (IMPL): Use __STRING to expand name and then
23074 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23077 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23079 * string/Makefile: Update.
23080 (strop-tests): Append strncat.
23081 * string/test-wcscmp.c: New file.
23082 New comprehensive test for wcscmp.
23083 * string/test-strcmp.c: Update.
23084 (WIDE): New define.
23086 2011-07-22 Andreas Schwab <schwab@redhat.com>
23088 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23091 2011-07-26 Andreas Schwab <schwab@redhat.com>
23093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23094 encoding to ACE if AI_IDN.
23096 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23099 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23101 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23104 Fix overflow bug in strncat.
23105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23107 * string/test-strncat.c: Update.
23108 Add new tests for checking overflow bugs.
23110 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23113 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23114 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23115 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23116 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23117 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23118 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23119 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23120 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23123 (USE_AS_STRCAT): Define.
23124 Add strcat and strncat support.
23125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23127 2011-07-25 Andreas Schwab <schwab@redhat.com>
23129 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23130 __n bigger than INT_MAX+1.
23131 (__strncmp_g): Likewise.
23133 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23135 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23136 * libio/stido.h: Likewise.
23138 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23143 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23146 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23147 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23150 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23155 (_dl_x86_64_save_sse): Likewise.
23157 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23161 (_dl_x86_64_save_sse): Likewise.
23163 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23165 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23167 2011-07-21 Andreas Schwab <schwab@redhat.com>
23169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23171 (_dl_x86_64_save_sse): Use correct AVX check.
23173 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23176 bug in strncpy/strncat.
23177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23179 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23181 * string/tester.c (test_strcat): Add tests for different alignments
23182 of source and destination.
23183 (test_strncat): Likewise.
23185 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23188 * posix/glob.c (glob): Check passed in values before using them in
23189 expressions to avoid some overflows.
23190 (glob_in_dir): Likewise.
23193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23194 check for AVX enablement so that we don't crash with old kernels and
23196 * elf/tst-audit4.c: Add same checks here.
23197 * elf/tst-audit6.c: Likewise.
23199 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23201 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23203 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23205 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23207 * po/cs.po: Update from translation team.
23208 * po/bg.po: Likewise.
23210 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23212 * misc/sys/cdefs.h: Add support for const attribute.
23213 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23214 to gnu_dev_{major,minor,makedev} functions.
23216 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23218 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23220 2011-07-20 Andreas Schwab <schwab@redhat.com>
23222 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23225 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23227 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23228 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23229 register in order to avoid conflicts with the soft frame pointer
23230 being held in r11 when necessary.
23231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23232 (INTERNAL_VSYSCALL_NCS): Likewise.
23234 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23236 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23237 * elf/dl-fini.c (_dl_fini): Adjust caller.
23238 * elf/dl-close.c (_dl_close_worker): Likewise.
23239 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23241 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23243 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23244 "aux_cache->nlibs < 0".
23246 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23247 in the reload-count case.
23249 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23252 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23253 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23254 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23255 * sysdeps/x86_64/multiarch/strcat.S: New file.
23256 * sysdeps/x86_64/multiarch/strncat.S: New file.
23257 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23258 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23259 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23260 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23261 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23262 (USE_AS_STRCAT): Define.
23263 Add strcat and strncat support.
23264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23266 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23267 * string/strncat.c: Update.
23268 (USE_AS_STRNCAT): Define.
23269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23270 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23272 * sysdeps/x86_64/multiarch/init-arch.h
23273 (bit_Prefer_PMINUB_for_stringop): New.
23274 (index_Prefer_PMINUB_for_stringop): Likewise.
23275 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23276 bit_Prefer_PMINUB_for_stringop.
23278 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23280 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23282 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23283 of casting of buffer.
23284 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23285 buffer32 and buffer64.
23286 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23287 writes instead of casting of buffer.
23288 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23290 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23293 2011-07-19 Andreas Schwab <schwab@redhat.com>
23295 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23297 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23299 * nscd/nscd.c (termination_handler): Don't do anything for a database
23300 if it has not yet been initialized.
23302 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23304 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23306 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23308 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23310 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23312 * po/nl.po: Update from translation team.
23313 * po/sv.po: Likewise.
23315 2011-07-16 Roland McGrath <roland@hack.frob.com>
23317 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23318 now disallowed by GCC.
23320 * configure.in (use-default-link): Default to yes if a test -shared
23321 link meets our qualifications.
23322 * configure: Regenerated.
23324 * config.make.in (output-format): New variable.
23325 * configure.in: Check for ld --print-output-format support.
23326 * configure: Regenerated.
23327 * Makerules ($(common-objpfx)format.lds)
23328 [$(output-format) != unknown]: Just use $(output-format),
23329 instead of the linker-script munging.
23331 2011-07-14 Roland McGrath <roland@hack.frob.com>
23333 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23334 of $(common-objpfx)shlib.lds.
23335 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23337 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23338 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23340 * configure.in (-z relro check): Adjust test code to add a large
23341 writable data section after it.
23342 * configure: Regenerated.
23344 2011-07-11 Roland McGrath <roland@hack.frob.com>
23346 * configure.in (-z relro check): Fix test code to make the variable
23348 * configure: Regenerated.
23350 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23352 * nscd/nscd.h (struct traced_file): Define.
23353 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23354 elements. Add traced_files.
23355 (inotify_fd): Declare.
23356 (register_traced_file): Declare.
23357 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23358 (inotify_fd): Export.
23359 (resolv_conf_descr): Remove.
23360 (nscd_init): Move inotify descriptor creation to main.
23361 Don't register files for notification here.
23362 (register_traced_file): New function.
23363 (invalidate_cache): Don't use reset_res to determine whether to call
23364 res_init, go through the list of registered files.
23365 (main_loop_poll): The inotify descriptors are now stored in the
23366 structures for the traced files.
23367 (main_loop_epoll): Likewise
23368 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23369 to __nss_disable_nscd.
23370 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23371 for a database anymore. Check the records for all the registered
23373 * nss/Makefile (libnss_files-routines): Add files-init.
23374 (libnss_db-routines): Add db-init.
23375 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23376 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23377 * nss/nss_db/db-init.c: New file.
23378 * nss/nss_files/files-init.c: New file.
23379 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23380 __nss_lookup_function.
23381 (__nss_lookup_function): Call nss_load_library.
23382 (nss_load_all_libraries): New function.
23383 (__nss_disable_nscd): Take parameter with callback function for files
23384 to register. Set is_nscd. Load all the DSOs for the NSS modules
23385 used for the cached services.
23386 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23387 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23388 options for features to all the files in nscd.
23390 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23392 2011-07-10 Roland McGrath <roland@hack.frob.com>
23394 * csu/elf-init.c (__libc_csu_init): Comment typo.
23396 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23398 * po/pl.po: Update from translation team.
23399 * po/ja.po: Likewise.
23400 * po/ru.po: Likewise.
23401 * po/ko.po: Likewise.
23402 * po/fr.po: Likewise.
23404 2011-07-09 Roland McGrath <roland@hack.frob.com>
23406 * configure.in (.ctors/.dtors header and trailer check):
23407 Use an empirical test on a built program.
23408 * configure: Regenerated.
23410 * configure.in (-z relro check): Use an empirical test on a built DSO.
23411 Detect, but do not require, on ia64.
23412 * configure: Regenerated.
23414 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23415 Update tests that use readelf to use $READELF instead.
23416 * configure: Regenerated.
23418 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23420 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23421 if the result is not used.
23423 2011-07-05 Andreas Jaeger <aj@suse.de>
23426 * stdlib/tst-strtod.c: Add testcase.
23428 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23430 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23431 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23432 The latter has a higher limit. Take additional parameter to pass to
23434 (__pathconf): Pass file to __statfs_link_max.
23435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23437 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23441 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23442 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23444 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23445 (__statfs_filesize_max): Likewise.
23446 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23448 2011-07-05 Andreas Jaeger <aj@suse.de>
23450 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23452 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23454 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23456 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23459 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23461 * Makefile (strop-tests): Add strncat.
23462 * string/test-strncat.c: New file.
23464 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23466 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23468 2011-06-21 Andreas Jaeger <aj@suse.de>
23470 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23471 Copy rule from iconvdata/Makefile.
23473 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23476 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23477 but no long options are defined, just return 'W'.
23479 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23482 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23484 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23486 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23488 (innetgr): Likewise.
23490 2011-07-05 Roland McGrath <roland@hack.frob.com>
23492 * config.make.in (install_root): Default to $(DESTDIR).
23494 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23496 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23498 2011-07-02 Roland McGrath <roland@hack.frob.com>
23500 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23502 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23503 containing directory rather than embedding absolute directory names.
23505 * scripts/check-local-headers.sh: Rewritten using awk.
23506 Match by word, not by line. Print error messages for matches.
23507 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23509 * Makerules [shlib-lds-flags empty]:
23510 ($(common-objpfx)libc_pic.opts): New target.
23511 ($(common-objpfx)libc_pic.os.clean): New target.
23512 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23514 * config.make.in (OBJCOPY): New variable.
23515 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23516 * configure: Regenerated.
23518 * config.make.in (use-default-link): New variable.
23519 * configure.in (use_default_link): Grok --with-default-link to set it.
23520 * configure: Regenerated.
23521 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23522 (shlib-lds, shlib-lds-flags): Define to empty.
23524 * Makerules (shlib-lds): New variable.
23525 (shlib-lds-flags): New variable.
23526 (build-shlib, build-moduile, build-module-asneeded): Use it.
23527 ($(common-objpfx)libc.so): Use $(shlib-lds).
23528 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23529 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23531 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23532 DT_FLAGS/DT_FLAGS_1 with zero flags.
23534 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23535 linker script munging.
23537 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23539 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23541 * crypt/sha512.c (sha512_process_block): Perform total addition using
23542 128-bit if possible.
23543 (__sha512_finish_ctx): Likewise.
23544 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23546 * crypt/sha256.c (SWAP64): Define.
23547 (sha256_process_block): Perform total addition using 64-bit if
23549 (__sha256_finish_ctx): Likewise.
23551 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23553 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23554 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23555 * nscd/hstcache.c (cache_addhst): Likewise.
23556 * nscd/grpcache.c (cache_addgr): Likewise.
23557 * nscd/aicache.c (addhstaiX): Likewise
23558 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23560 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23562 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23563 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23564 * nscd/hstcache.c (cache_addhst): Likewise.
23565 * nscd/grpcache.c (cache_addgr): Likewise.
23566 * nscd/aicache.c (addhstaiX): Likewise
23568 2011-07-01 Andreas Schwab <schwab@redhat.com>
23570 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23571 domain only when needed.
23573 2011-06-30 Andreas Schwab <schwab@redhat.com>
23575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23576 is always restored.
23578 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23580 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23581 are re-adding the entry.
23582 * nscd/servicescache.c (cache_addserv): Likewise.
23584 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23586 * sysdeps/generic/dl-irel.h: fix protection against multiple
23588 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23590 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23593 * malloc/memusage.sh: Fix quoting in message.
23594 * debug/xtrace.sh: Likewise.
23596 * configure.in: Remove support for --experimental-malloc option, make
23598 * config.make.in: Likewise.
23599 * malloc/Makefile: Likewise.
23601 2011-06-27 Andreas Schwab <schwab@redhat.com>
23603 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23604 two-byte characters.
23606 2011-06-27 Roland McGrath <roland@hack.frob.com>
23608 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23609 AC_CACHE_CHECK invocation.
23610 * configure: Regenerated.
23612 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23614 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23617 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23618 bit from old_res_options.
23620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23622 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23623 value type for setfct.
23625 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23628 __gettimeofday instead of gettimeofday.
23630 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23632 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23634 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23641 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23644 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23645 strcpy-sse2-unaligned strncpy-sse2-unaligned
23646 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23647 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23648 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23649 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23650 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23651 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23653 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23654 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23655 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23656 (STRCPY): Support SSE2 and SSSE3 versions.
23658 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23662 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23663 kernels which artificially limit size of requests.
23665 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23668 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23669 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23670 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23671 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23672 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23673 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23674 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23675 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23677 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23678 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23679 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23680 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23681 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23683 Enable unaligned load optimization for Intel Core i3, i5 and i7
23685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23687 (index_Fast_Unaligned_Load): Define.
23688 (HAS_FAST_UNALIGNED_LOAD): Define.
23690 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23692 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23694 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23698 until it is clear that the information is realy needed.
23699 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23701 2011-06-22 Andreas Schwab <schwab@redhat.com>
23703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23705 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23708 /sys/devices/system/cpu/online if it is usable.
23710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23711 reading the information from the /proc filesystem to once a second.
23713 2011-06-21 Andreas Jaeger <aj@suse.de>
23715 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23716 NULL after inclusion of kernel headers.
23718 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23720 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23721 calls to internal_setent.
23724 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23725 addresses using gethostbyname4_r ignore IPv4 addresses.
23727 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23728 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23730 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23732 2011-06-20 David S. Miller <davem@davemloft.net>
23734 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23736 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23738 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23739 (elf_irel): Use it.
23740 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23741 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23742 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23743 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23744 * sysdeps/x86_64/dl-irel.h: Likewise.
23746 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23747 * elf/dl-sym.c: Likewise.
23749 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23751 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23752 need to dereference resplen2.
23754 2011-06-14 Andreas Schwab <schwab@redhat.com>
23756 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23758 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23760 * Makeconfig: Define vardbdir and inst_vardbdir.
23761 * nss/Makefile: Add rules to install db-Makefile.
23763 * nss/nss_db/db-XXX.c: Cleanup.
23765 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23766 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23768 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23769 * nss/makedb.c: Implement -g option to specify that value strings
23770 are generated and should not be added to table iterated over for
23772 * nss/nss_db/db-initgroups.c: New file.
23774 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23777 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23778 (internal_getgrouplist): Adjust to name change.
23779 Update use_initgroups_entry if this is not the first call.
23780 * nss/databases.def: Add initgroups entry.
23782 * nss/makedb.c (compute_tables): Check result of multiple hash table
23783 sizes to minimize maximum chain length.
23785 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23787 * Versions.def: Add entry for libnss_db.
23788 * shlib-versions: Likewise.
23789 * nss/Makefile: Add rules to build libnss_db.
23790 * nss/Versions: Add libnss_db information. Organize libnss_files
23792 * nss/db-Makefile: Add gshadow support. Change rules for the new
23793 makedb progra. Some minor improvements to generate smaller files.
23794 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23796 * nss/makedb.c: ...here.
23797 Improve database format to be smaller and require less memory at
23799 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23801 * nss/nss_db/db-netgrp.c: Likewise.
23802 * nss/nss_db/db-open.c: Likewise.
23803 * nss/nss_files/flies-XXX.x: Adjust comments.
23804 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23805 * nss/nss_files/files-grp.c: Likewise.
23806 * nss/nss_files/files-hosts.c: Likewise.
23807 * nss/nss_files/files-network.c: Likewise.
23808 * nss/nss_files/files-proto.c: Likewise.
23809 * nss/nss_files/files-pwd.c: Likewise.
23810 * nss/nss_files/files-rpc.c: Likewise.
23811 * nss/nss_files/files-service.c: Likewise.
23812 * nss/nss_files/files-sgrp.c: Likewise.
23813 * nss/nss_files/files-spwd.c: Likewise.
23814 * nss/nss_db/db-alias.c: Removed.
23815 * nss/nss_db/dummy-db.h: Removed.
23817 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23819 * nss/makedb.c: Rewritten to not use database library.
23820 * nss/Makefile: Update to build new makedb program.
23822 2011-06-14 Andreas Jaeger <aj@suse.de>
23824 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23825 memset declaration.
23827 2011-06-10 Andreas Schwab <schwab@redhat.com>
23829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23832 2011-06-10 Roland McGrath <roland@hack.frob.com>
23834 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23835 * elf/Makefile ($(objpfx)ld.so): Likewise.
23837 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23838 Don't list ld.so twice in dependencies.
23840 * posix/bug-regex31.c: Include <stdlib.h>.
23842 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23844 * nis/nss_compat/compat-spwd.c
23845 (getspent_next_nss_netgr): Remove unused variable.
23846 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23848 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23849 nonmembers" output to use the right array.
23851 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23853 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23855 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23856 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23857 * catgets/gencat.c (read_input_file): Likewise.
23858 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23860 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23861 variable definition inside #if's controlling its use.
23863 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23865 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23867 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23869 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23872 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23874 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23875 * configure: Regenerated.
23877 * Makerules: Revert last change.
23878 * elf/Makefile: Likewise.
23880 2011-06-09 Roland McGrath <roland@hack.frob.com>
23882 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23883 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23884 (reloc-link): Likewise.
23886 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23888 * elf/Makefile: Add rules to build pldd.
23889 * elf/pldd.c: New file.
23890 * elf/pldd-xx.c: New file.
23892 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23894 * version.h: Update for 2.15 development version.
23896 2011-06-07 David S. Miller <davem@davemloft.net>
23898 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23901 elf_machine_lazy_rel): Likewise.
23902 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23904 elf_machine_lazy_rel): Likewise.
23905 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23906 dl_hwcap via passed in argument.
23907 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23910 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23912 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23914 2011-06-06 Roland McGrath <roland@hack.frob.com>
23917 * manual/fdl-1.1.texi: New file, verbatim from:
23918 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23919 * manual/lgpl-2.1.texi: New file, verbatim from:
23920 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23921 * manual/Makefile (licenses): New variable, list those new file names.
23923 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23925 * manual/fdl.texi: File removed.
23926 * manual/lesser.texi: File removed.
23927 * manual/libc.texinfo (Copying, Documentation License):
23928 Use new @include file names, put @appendix directive before @include.
23930 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23933 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23934 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23935 (mq_open): Add __NTH.
23937 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23940 Assume Intel Core i3/i5/i7 processor if AVX is available.
23942 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23947 2011-05-31 Andreas Schwab <schwab@redhat.com>
23949 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23950 memory. Use alloca_account. Fix memory leak when retrying.
23952 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23954 * version.h (RELEASE): Bump for 2.14 release.
23955 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23957 * config.make.in (RANLIB): Remove entry.
23959 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23961 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23962 (libc.pot): Work around missing support for .ksh extension in xgettext.
23965 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23966 if both request failed.
23967 (send_dg): In case of server errors clear resplen or *resplen2.
23970 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23971 when there are multiple maps.
23972 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23973 (_dl_fini): Remove test here.
23975 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23977 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23980 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23981 bit from old_res_options.
23982 (gaih_inet): Likewise.
23985 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23988 * resolv/res_init.c (res_setoptions): Make the code more compact.
23991 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23995 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23997 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24000 * malloc/malloc.h: Declare malloc hook variables as volatile.
24002 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24006 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24007 raise in the comment.
24008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24009 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24010 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24012 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24015 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24016 grow the buffers more if it already has to be sufficient.
24017 (build_wcs_upper_buffer): Likewise.
24018 * posix/regexec.c (check_matching): Likewise.
24019 (clean_state_log_if_needed): Likewise.
24020 (extend_buffers): Don't enlarge buffers beyond size of the input
24022 Patches mostly by Emil Wojak <emil@wojak.eu>.
24023 * posix/bug-regex32.c: New file.
24024 * posix/Makefile (tests): Add bug-regex32.
24026 * locale/findlocale.c (_nl_find_locale): Return right away if
24027 _nl_explode_name failed.
24028 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24030 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24032 * debug/xtrace.sh: Unify messages.
24033 * malloc/memusage.sh: Likewise.
24036 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24037 time symbol from vDSO. Substitute with vsyscall if not available.
24038 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24041 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24042 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24043 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24044 Add sendmmsg and internal_sendmmsg.
24045 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24046 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24047 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24049 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24050 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24051 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24053 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24056 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24057 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24059 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24063 * iconvdata/Makefile (tests): Add bug-iconv9.
24064 * iconvdata/bug-iconv9.c: New file.
24066 2011-05-27 Andreas Schwab <schwab@redhat.com>
24069 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24071 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24074 (struct user_regs_struct): Change intcs field back to cs.
24076 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24078 * po/ja.po: Update from translation team.
24080 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24083 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24084 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24086 2011-05-20 Andreas Schwab <schwab@redhat.com>
24088 * stdlib/longlong.h: Update from GCC.
24090 2011-05-23 Andreas Schwab <schwab@redhat.com>
24092 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24094 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24095 Add parameter name.
24096 (__sysconf): Pass it down.
24098 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24101 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24104 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24105 add in in __libc_use_alloca calls. Adjust callers.
24106 (glob): Use malloc in some situations.
24108 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24109 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24112 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24114 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24115 and CLOCK_BOOTTIME_ALARM.
24118 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24121 * string/_strerror.c (__strerror_r): Print negative errors as signed
24125 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24126 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24127 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24129 * configure.in: Fix typo in redirection and correct removal of test
24130 files in two cases.
24133 * locale/setlocale.c (new_composite_name): Fix test to check for
24134 identical name of all categories.
24137 * libio/filedoalloc.c (local_isatty): New function.
24138 (_IO_file_doallocate): Use local_isatty.
24139 * stdio-common/perror.c (perror): In case a new stream is used
24140 forward the stream error.
24141 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24144 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24149 * include/alloca.h (extend_alloca_account): Define.
24152 * posix/regex.h: Fix comments with documentation of user-accessible
24153 fields after compilation and describe correct free'ing of pattern
24154 after re_compile_pattern.
24155 Patch by Reuben Thomas <rrt@sc3d.org>.
24157 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24159 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24160 and -mno-altivec to prevent the compiler from using Altivec and/or
24161 VSX instructions when the corresponding registers are not available.
24163 2011-05-19 Andreas Schwab <schwab@redhat.com>
24165 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24167 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24169 * libio/freopen.c (freopen): Use __dup2, not dup2.
24170 * libio/freopen64.c (freopen64): Likewise.
24172 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24175 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24176 * math/Makefile (tests): Add test-powl.
24177 (CFLAGS-test-powl.c): Define.
24178 * math/test-powl.c: New file.
24180 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24182 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24184 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24187 * iconvdata/gb18030.c: Update to GB18020-2005.
24189 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24191 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24192 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24193 Patch by Aharon Robbins <arnold@skeeve.com>.
24196 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24200 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24201 through underflows.
24204 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24205 point to strings before performing equality test for error_one_per_line
24209 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24213 (struct user_fpregs_struct): Avoid __uint*_t types.
24216 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24217 symbol info. Use it instead of calling _dl_addr locally.
24218 (lock_and_info): New function.
24219 (tr_freehook): Call lock_and_info and pass symbol info as additional
24220 parameter to tr_where.
24221 (tr_mallochook): Likewise.
24222 (tr_reallochook): Likewise.
24223 (tr_memalignhook): Likewise.
24225 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24226 used and couldn't be at all thread-safe.
24228 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24230 * libio/freopen.c (freopen): Don't close old file descriptor
24231 before the new one is opened. Instead dup the new file descriptor
24232 to the old one after the new stream is created.
24233 * libio/freopen64.c (freopen64): Likewise.
24234 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24235 * libio/fileops.c (_IO_new_file_close_it): Handle new
24236 _IO_FLAGS2_NOCLOSE flag.
24237 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24238 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24239 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24240 _IO_FLAGS2_NOCLOSE flag.
24241 * include/unistd.h: Add hidden_proto for dup3.
24242 Define __have_dup3.
24243 * io/dup3.c: Define hidden symbol.
24244 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24247 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24248 when an incomplete long option is used.
24249 * posix/tst-getopt_long1.c: New file.
24250 * posix/Makefile (tests): Add tst-getopt_long1.
24253 * scripts/config.guess: Update from autoconf-2.68.
24254 * scripts/config.sub: Likewise.
24257 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24259 (has_cpuclock): ...this. New function.
24260 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24261 macro here based on has_cpuclock code.
24264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24265 First byte (not low byte) is now always NUL.
24266 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24269 Use non-cancelable interfaces.
24272 * locale/iso-639.def: Add entry for Sorani.
24275 * include/stdlib.h: Move include protection to the right place.
24276 Define abort_msg_s. Declare __abort_msg with it.
24277 * stdlib/abort.c (__abort_msg): Adjust type.
24278 * assert/assert.c (__assert_fail_base): New function. Majority
24279 of code from __assert_fail. Allocate memory for __abort_msg with
24281 (__assert_fail): Now call __assert_fail_base.
24282 * assert/assert-perr.c: Remove bulk of implementation. Use
24283 __assert_fail_base.
24284 * include/assert.hL Declare __assert_fail_base.
24285 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24287 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24289 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24293 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24294 until all modules are registered in the DTV.
24295 * elf/Makefile: Add rules to build and run tst-tls19.
24296 * elf/tst-tls19.c: New file.
24297 * elf/tst-tls19mod1.c: New file.
24298 * elf/tst-tls19mod2.c: New file.
24299 * elf/tst-tls19mod3.c: New file.
24300 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24303 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24307 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24308 two-byte sequence errors.
24309 * iconvdata/Makefile (tests): Add bug-iconv8.
24310 * iconvdata/bug-iconv8.c: New file.
24313 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24316 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24319 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24320 (dummy_getcfa): New function.
24321 (init): Get _Unwind_GetCFA address, use dummy if not found.
24322 (backtrace_helper): In recursion check, also check whether CFA changes.
24323 (__backtrace): Completely initialize arg.
24325 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24326 storing incomplete byte sequence in state object. Avoid testing for
24327 guaranteed too small input if we know there is enough data available.
24329 2011-05-11 Andreas Schwab <schwab@redhat.com>
24331 * Makeconfig (+link-pie): Indent.
24332 * Rules (binaries-pie): Define if $(have-fpie) and
24334 (binaries-shared): Also filter out $(binaries-pie).
24335 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24336 * nscd/Makefile (others-pie): Add nscd.
24337 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24338 ($(objpfx)nscd): Remove command override.
24339 * login/Makefile (others-pie): Add pt_chown.
24340 ($(objpfx)pt_chown): Remove command override.
24341 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24342 remove command overrides.
24344 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24346 * libio/tst_putwc.c: Fix error messages.
24349 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24350 currently writing and seek to current position when not.
24351 * libio/Makefile (tests): Add bug-fclose1.
24352 * libio/bug-fclose1.c: New file.
24354 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24357 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24358 don't set DF_1_NODELETE here.
24359 (do_lookup_x): When entering new entry test for copy relocation
24360 and if necessary set DF_1_NODELETE flag.
24361 * elf/tst-unique4.cc: New file.
24362 * elf/tst-unique4.h: New file.
24363 * elf/tst-unique4lib.cc: New file.
24364 * elf/Makefile: Add rules to build and run tst-unique4.
24365 Patch by Piotr Bury <pbury@goahead.com>.
24367 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24370 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24373 * misc/mntent_r.c (addmntent): Flush the stream after the output
24376 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24377 (is_trusted_path_normalize): Skip initial colon. Append slash
24378 to empty buffer. Duplicate is_trusted_path code but allow
24379 constructed patch to be prefix.
24380 (is_dst): Allow $ORIGIN followed by /.
24381 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24382 Correct testing of result of is_trusted_path_normalize
24383 (decompose_rpath): Fix warning.
24385 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24388 * grp/initgroups.c (internal_getgrouplist): When we found the service
24389 list through the initgroups entry in nsswitch.conf do not always
24390 continue on a successful lookup. Don't always use the
24391 __nss_group_database value if it is set.
24392 * nss/nsswitch.conf (initgroups): Change action for successful db
24393 lookup to continue for compatibility.
24395 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24398 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24400 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24402 * iconvdata/tst-tables.sh: Likewise.
24403 * iconvdata/cp770.c: New file.
24404 * iconvdata/cp771.c: New file.
24405 * iconvdata/cp772.c: New file.
24406 * iconvdata/cp773.c: New file.
24407 * iconvdata/cp774.c: New file.
24408 * iconvdata/testdata/CP770: New file.
24409 * iconvdata/testdata/CP770..UTF8: New file.
24410 * iconvdata/testdata/CP771: New file.
24411 * iconvdata/testdata/CP771..UTF8: New file.
24412 * iconvdata/testdata/CP772: New file.
24413 * iconvdata/testdata/CP772..UTF8: New file.
24414 * iconvdata/testdata/CP773: New file.
24415 * iconvdata/testdata/CP773..UTF8: New file.
24416 * iconvdata/testdata/CP774: New file.
24417 * iconvdata/testdata/CP774..UTF8: New file.
24419 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24421 * iconvdata/gen-8bit-gap.sh: Likewise.
24422 * iconvdata/gen-8bit.sh: Likewise.
24424 * locale/iso-639.def: Add ary entry.
24427 * locale/C-translit.h.in: Add U20A1 transliteration.
24430 * locale/iso-639.def: Add wae entry.
24431 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24434 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24438 * locale/C-translit.h.in: Add entry for U20B9.
24439 Patch by pravin.d.s@gmail.com.
24441 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24444 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24445 ENAMETOOLONG use generic getcwd.
24446 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24447 in rtld. Use *stat64.
24448 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24449 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24450 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24451 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24452 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24453 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24454 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24455 __fstatat64 macros.
24456 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24457 * dirent/rewinddir.c: Add libc_hidden_def.
24458 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24459 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24461 * include/dirent.h (__alloc_dir): Add flags parameter.
24462 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24463 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24465 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24466 from fdopendir if O_CLOEXEC is already set.
24468 2011-03-15 Alan Modra <amodra@gmail.com>
24470 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24471 l_tls_firstbyte_offset non-zero. Save padding offset in
24472 l_tls_firstbyte_offset for later use.
24473 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24474 freeing static tls block.
24476 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24478 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24479 where #ifdef was intended. The intent is to prevent ARG_MAX from
24480 being defined by the kernel headers.
24482 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24485 * resolv/resolv.h: Define RES_NOTLDQUERY.
24486 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24487 no-tld-query and set RES_NOTLDQUERY.
24488 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24489 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24490 modern BIND to search name as TLD unless forbidden.
24492 2011-05-07 Petr Baudis <pasky@suse.cz>
24493 Ulrich Drepper <drepper@gmail.com>
24496 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24497 (is_trusted_path): ...to here.
24498 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24499 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24500 using is_trusted_path_normalize() in setuid scripts.
24502 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24504 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24505 __BEGIN/__END_DECLS.
24507 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24509 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24510 NSS_STATUS_NOTFOUND if no record was found.
24512 2011-05-05 Andreas Schwab <schwab@redhat.com>
24514 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24515 (headers-not-in-tirpc): Remove rpc/netdb.h
24516 * resolv/netdb.h: Revert last change.
24518 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24520 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24521 circular dependency between libgcc.a and libc.a.
24523 2011-05-05 Andreas Schwab <schwab@redhat.com>
24525 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24526 * nis/Makefile: Don't install rpcsvc/*.
24527 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24528 instead of <rpc/types.h>.
24529 (MAXHOSTNAMELEN): Define.
24531 2011-05-03 Andreas Schwab <schwab@redhat.com>
24533 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24535 2011-04-28 Maciej Babinski <mbabinski@google.com>
24538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24539 gethostbyname4_r when IPv6 results are possible.
24541 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24544 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24545 _PC_PIPE_BUF handling.
24547 2011-04-30 Bruno Haible <bruno@clisp.org>
24550 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24551 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24553 * inet/getnameinfo.c (getnameinfo): Likewise.
24555 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24557 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24558 to groups setting in database lookup.
24559 * nss/nsswitch.conf: Add initgroups entry.
24561 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24564 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24566 Patch by Eric Blake <eblake@redhat.com>.
24568 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24570 * sunrpc/Makefile (need-export-routines): Add svc_run.
24571 (routines): Remove svc_run.
24572 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24573 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24574 * sunrpc/svc_run.c (svc_run): Likewise.
24575 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24577 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24580 problem in reallocation in last patch.
24582 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24584 * sunrpc/Makefile: Move inclusion of Rules.
24586 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24588 * nss/nss_files/files-initgroups.c: New file.
24589 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24590 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24591 _nss_files_initgroups_dyn.
24593 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24595 * elf/elf.h (R_ARM_IRELATIVE): Define.
24597 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24599 * po/ru.po: Update from translation team.
24601 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24603 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24606 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24609 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24610 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24611 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24612 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24613 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24615 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24617 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24619 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24623 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24626 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24628 * stdlib/bug-getcontext.c: New file.
24629 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24631 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24633 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24634 instructions into .machine "z9-109".
24635 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24636 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24638 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24640 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24641 between environment variables and auxiliary vector.
24643 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24645 * Makefile: Add rules to build linkobj/libc.so.
24646 * include/libc-symbols.h: Define libc_hidden_nolink.
24647 * include/rpc/auth.h: Mark functions which are to be hidden.
24648 * include/rpc/auth_des.h: Likewise.
24649 * include/rpc/auth_unix.h: Likewise.
24650 * include/rpc/clnt.h: Likewise.
24651 * include/rpc/des_crypt.h: Likewise.
24652 * include/rpc/key_prot.h: Likewise.
24653 * include/rpc/pmap_clnt.h: Likewise.
24654 * include/rpc/pmap_prot.h: Likewise.
24655 * include/rpc/pmap_rmt.h: Likewise.
24656 * include/rpc/rpc_msg.h: Likewise.
24657 * include/rpc/svc.h: Likewise.
24658 * include/rpc/svc_auth.h: Likewise.
24659 * include/rpc/xdr.h: Likewise.
24660 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24661 * nss/Makefile: Likewise.
24662 * sunrpc/Makefile: Don't install headers. Build library with normal
24663 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24664 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24665 for the compat linking library. Remove use of INTDEF/INTUSE.
24666 * sunrpc/auth_none.c: Likewise.
24667 * sunrpc/auth_unix.c: Likewise.
24668 * sunrpc/authdes_prot.c: Likewise.
24669 * sunrpc/authuxprot.c: Likewise.
24670 * sunrpc/clnt_gen.c: Likewise.
24671 * sunrpc/clnt_perr.c: Likewise.
24672 * sunrpc/clnt_raw.c: Likewise.
24673 * sunrpc/clnt_simp.c: Likewise.
24674 * sunrpc/clnt_tcp.c: Likewise.
24675 * sunrpc/clnt_udp.c: Likewise.
24676 * sunrpc/clnt_unix.c: Likewise.
24677 * sunrpc/des_crypt.c: Likewise.
24678 * sunrpc/des_soft.c: Likewise.
24679 * sunrpc/get_myaddr.c: Likewise.
24680 * sunrpc/key_call.c: Likewise.
24681 * sunrpc/key_prot.c: Likewise.
24682 * sunrpc/netname.c: Likewise.
24683 * sunrpc/pm_getmaps.c: Likewise.
24684 * sunrpc/pm_getport.c: Likewise.
24685 * sunrpc/pmap_clnt.c: Likewise.
24686 * sunrpc/pmap_prot.c: Likewise.
24687 * sunrpc/pmap_prot2.c: Likewise.
24688 * sunrpc/pmap_rmt.c: Likewise.
24689 * sunrpc/publickey.c: Likewise.
24690 * sunrpc/rpc_cmsg.c: Likewise.
24691 * sunrpc/rpc_common.c: Likewise.
24692 * sunrpc/rpc_dtable.c: Likewise.
24693 * sunrpc/rpc_prot.c: Likewise.
24694 * sunrpc/rpc_thread.c: Likewise.
24695 * sunrpc/rtime.c: Likewise.
24696 * sunrpc/svc.c: Likewise.
24697 * sunrpc/svc_auth.c: Likewise.
24698 * sunrpc/svc_authux.c: Likewise.
24699 * sunrpc/svc_raw.c: Likewise.
24700 * sunrpc/svc_run.c: Likewise.
24701 * sunrpc/svc_simple.c: Likewise.
24702 * sunrpc/svc_tcp.c: Likewise.
24703 * sunrpc/svc_udp.c: Likewise.
24704 * sunrpc/svc_unix.c: Likewise.
24705 * sunrpc/svcauth_des.c: Likewise.
24706 * sunrpc/xcrypt.c: Likewise.
24707 * sunrpc/xdr.c: Likewise.
24708 * sunrpc/xdr_array.c: Likewise.
24709 * sunrpc/xdr_float.c: Likewise.
24710 * sunrpc/xdr_intXX_t.c: Likewise.
24711 * sunrpc/xdr_mem.c: Likewise.
24712 * sunrpc/xdr_rec.c: Likewise.
24713 * sunrpc/xdr_ref.c: Likewise.
24714 * sunrpc/xdr_sizeof.c: Likewise.
24715 * sunrpc/xdr_stdio.c: Likewise.
24717 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24720 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24721 * sysdeps/ia64/dl-tls.h: Likewise.
24722 * sysdeps/powerpc/dl-tls.h: Likewise.
24723 * sysdeps/s390/dl-tls.h: Likewise.
24724 * sysdeps/sh/dl-tls.h: Likewise.
24725 * sysdeps/sparc/dl-tls.h: Likewise.
24726 * sysdeps/x86_64/dl-tls.h: Likewise.
24727 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24729 2011-03-14 Andreas Schwab <schwab@redhat.com>
24731 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24732 rpath element also skip the following colon.
24733 (expand_dynamic_string_token): Add is_path parameter and pass
24734 down to DL_DST_REQUIRED and _dl_dst_substitute.
24735 (decompose_rpath): Call expand_dynamic_string_token with
24736 non-zero is_path. Ignore empty rpaths.
24737 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24740 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24745 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24748 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24749 Patch by Filipe David Manana <fdmanana@apache.org>.
24751 2011-04-07 Andreas Schwab <schwab@redhat.com>
24753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24754 Maintain aligned stack.
24755 (CHECK_RSP): Remove unused macro.
24757 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24759 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24760 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24762 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24764 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24766 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24768 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24771 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24772 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24773 * sysdeps/x86_64/memmove.c: New file.
24774 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24775 (memcpy): Renamed to ...
24776 (__new_memcpy): This.
24777 (memcpy): Provide GLIBC_2_14 memcpy.
24778 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24779 (memcpy): Provide GLIBC_2_2_5 memcpy.
24781 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24784 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24786 2011-03-30 Andreas Schwab <schwab@redhat.com>
24788 * misc/syncfs.c: New file.
24789 * misc/Makefile (routines): Add syncfs.
24790 * posix/unistd.h: Declare syncfs.
24791 * sysdeps/unix/syscalls.list: Add syncfs.
24793 2011-04-01 Andreas Schwab <schwab@redhat.com>
24795 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24798 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24802 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24805 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24809 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24813 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24815 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24816 sync_file_range.c with -fexceptions.
24817 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24818 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24819 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24820 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24821 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24822 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24824 sync_file_range as cancellation point
24825 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24826 now a wrapper around __call_sync_file_range with cancellation handling.
24827 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24828 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24829 function name to __call_sync_file_range.
24830 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24831 Add call_sync_file_range.
24833 2011-04-01 Andreas Schwab <schwab@redhat.com>
24835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24838 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24840 * iconv/iconv.h: Fix typo in comment.
24841 * io/fcntl.h: Likewise.
24842 * libio/stdio.h: Likewise.
24843 * posix/spawn.h: Likewise.
24844 * posix/unistd.h: Likewise.
24845 * stdlib/stdlib.h: Likewise.
24846 * time/time.h: Likewise.
24847 * wcsmbs/wchar.h: Likewise.
24849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24850 open_by_handle): Add.
24851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24852 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24853 Augment a few comments.
24854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24859 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24862 * io/fcntl.h (AT_EMPTY_PATH): Define.
24864 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24866 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24867 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24868 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24870 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24871 * Versions.def: Add GLIBC_2.14.
24872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24875 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24877 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24879 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24881 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24884 * string/test-strncmp.c (do_page_test): New function.
24885 (check2): Likewise.
24886 (test_main): Call check2.
24887 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24889 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24892 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24893 Handle cache information in CPU leaf 4.
24894 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24896 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24899 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24900 character representation.
24901 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24903 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24905 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24906 END(__isnan) to END(__isnanf) to match function entry point/label
24907 EALIGN(__isnanf,...).
24909 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24911 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24913 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24916 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24917 copy from the symbol referenced in the relocation to initialize the
24919 Patch by Piotr Bury <pbury@goahead.com>.
24920 * elf/Makefile: Add rules to build and tst-unique3.
24921 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24922 * elf/tst-unique3.cc: New file.
24923 * elf/tst-unique3.h: New file.
24924 * elf/tst-unique3lib.cc: New file.
24925 * elf/tst-unique3lib2.cc: New file.
24927 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24929 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24931 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24932 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24935 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24937 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24938 to-be-loaded object along a path to loader is ld.so.
24940 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24941 Ulrich Drepper <drepper@gmail.com>
24943 * sysdeps/x86_64/memset.S: After aligning destination, code
24944 branches to different locations depending on the value of
24945 misalignment, when multiarch is enabled. Fix this.
24947 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24949 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24950 Set _x86_64_preferred_memory_instruction for AMD processsors.
24951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24952 Set bit_Prefer_SSE_for_memop for AMD processors.
24954 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24956 * libio/fmemopen.c (fmemopen): Optimize a bit.
24958 2011-03-03 Andreas Schwab <schwab@redhat.com>
24960 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24962 2011-03-03 Roland McGrath <roland@redhat.com>
24964 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24966 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24968 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24969 __bzero_ultra1 instead of __memset_ultra1.
24971 2011-02-23 Andreas Schwab <schwab@redhat.com>
24972 Ulrich Drepper <drepper@gmail.com>
24975 * include/link.h (struct link_map): Add l_orig_initfini.
24976 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24977 returning unsuccessfully.
24978 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24979 close of a file loaded at startup, restore the original l_initfini
24981 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24982 list, store the pointer.
24983 * elf/Makefile ($(objpfx)noload-mem): New rule.
24984 (noload-ENV): Define.
24985 (tests): Add $(objpfx)noload-mem.
24986 * elf/noload.c: Include <memcheck.h>.
24987 (main): Call mtrace. Close all opened handles.
24989 2011-02-17 Andreas Schwab <schwab@redhat.com>
24992 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24993 dependencies are missing.
24995 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24997 Fix __if_freereq crash: Unlike the generic version which uses free,
24999 * sysdeps/mach/hurd/ifreq.h: New file.
25001 2011-01-27 Petr Baudis <pasky@suse.cz>
25002 Ulrich Drepper <drepper@gmail.com>
25005 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25006 to extend_alloca().
25007 * stdio-common/bug23.c: New file.
25008 * stdio-common/Makefile (tests): Add bug23.
25010 2010-09-28 Andreas Schwab <schwab@redhat.com>
25011 Ulrich Drepper <drepper@gmail.com>
25014 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25015 before performing relro protection. At old place add assertion
25016 to make sure nothing changed.
25018 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25019 Glauber de Oliveira Costa <glommer@gmail.com>
25021 * elf/elf.h: Add new ARM TLS relocs.
25023 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25026 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25028 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25030 * sysdeps/wordsize-64/tst-writev.c: New file.
25032 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25034 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25035 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25036 insns in _dl_start to prevent a TOC reference before relocs are
25039 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25042 * Makeconfig: Remove RANLIB definition.
25043 * Makerules: Don't use RANLIB.
25044 * aclocal.m4: Remove ranlib test.
25045 * configure.in: No need to check for ranlib.
25046 * elf/rtld-Rules: Don't use RANLIB.
25048 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25050 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25052 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25053 inclusion protection macro.
25055 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25056 SIGRTMIN and SIGRTMAX and print information in that case only when
25057 SIGRTMIN is defined.
25059 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25061 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25062 arginfo fn returning -1.
25064 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25065 and thousands string is zero terminated.
25067 2011-02-03 Andreas Schwab <schwab@redhat.com>
25069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25070 sysdeps/unix/sysv/linux/bits/socket.h.
25072 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25074 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25075 (__CPU_COUNT): Remove old macros.
25076 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25077 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25078 (__CPU_ALLOC, __CPU_FREE): Add macros.
25079 (__sched_cpualloc, __sched_cpufree): Add declarations.
25081 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25083 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25084 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25085 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25086 (readdhstai): Return value of addhstaiX call.
25087 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25088 (addgrbyX): Return value returned by cache_addgr.
25089 (readdgrbyname): Return value returned by addgrbyX.
25090 (readdgrbygid): Likewise.
25091 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25092 (addpwbyX): Return value returned by cache_addpw.
25093 (readdpwbyname): Return value returned by addhstbyX.
25094 (readdpwbyuid): Likewise.
25095 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25096 (addservbyX): Return value returned by cache_addserv.
25097 (readdservbyname): Return value returned by addservbyX:
25098 (readdservbyport): Likewise.
25099 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25100 (addhstbyX): Return value returned by cache_addhst.
25101 (readdhstbyname): Return value returned by addhstbyX.
25102 (readdhstbyaddr): Likewise.
25103 (readdhstbynamev6): Likewise.
25104 (readdhstbyaddrv6): Likewise.
25105 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25106 (readdinitgroups): Return value returned by addinitgroupsX.
25107 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25108 (prune_cache): Keep track of timeout value of re-added entries.
25109 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25110 * nscd/nscd.h: Adjust prototypes of readd* functions.
25112 2011-02-04 Roland McGrath <roland@redhat.com>
25114 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25115 (nis_stats): Likewise.
25116 * nis/nis_modify.c (nis_modify): Likewise.
25117 * nis/nis_remove.c (nis_remove): Likewise.
25118 * nis/nis_add.c (nis_add): Likewise.
25120 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25122 * posix/fnmatch_loop.c: Add some consts.
25124 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25126 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25129 * config.make.in (config-cflags-novzeroupper): Define.
25130 * configure.in: Substitute libc_cv_cc_novzeroupper.
25131 * elf/Makefile (AVX-CFLAGS): Define.
25132 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25133 (CFLAGS-tst-auditmod4a.c): Likewise.
25134 (CFLAGS-tst-auditmod4b.c): Likewise.
25135 (CFLAGS-tst-auditmod6b.c): Likewise.
25136 (CFLAGS-tst-auditmod6c.c): Likewise.
25137 (CFLAGS-tst-auditmod7b.c): Likewise.
25138 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25140 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25142 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25143 function to the callback.
25144 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25146 2011-02-02 Andreas Schwab <schwab@redhat.com>
25148 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25151 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25154 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25156 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25158 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25161 * elf/Makefile: Add rules to build and run new test.
25162 * elf/tst-initorder.c: New file.
25163 * elf/tst-initorder.exp: New file.
25164 * elf/tst-initordera1.c: New file.
25165 * elf/tst-initordera2.c: New file.
25166 * elf/tst-initordera3.c: New file.
25167 * elf/tst-initordera4.c: New file.
25168 * elf/tst-initorderb1.c: New file.
25169 * elf/tst-initorderb2.c: New file.
25170 * elf/tst-order-a1.c: New file.
25171 * elf/tst-order-a2.c: New file.
25172 * elf/tst-order-a3.c: New file.
25173 * elf/tst-order-a4.c: New file.
25174 * elf/tst-order-b1.c: New file.
25175 * elf/tst-order-b2.c: New file.
25176 * elf/tst-order-main.c: New file.
25177 New test case by George Gensure <werkt0@gmail.com>.
25179 2010-10-01 Andreas Schwab <schwab@redhat.com>
25181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25182 decoding ACE if AI_CANONIDN.
25184 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25186 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25188 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25190 * version.h (RELEASE): Bump for 2.13 release.
25191 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25193 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25195 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25197 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25199 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25202 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25204 * posix/getconf.c: Update copyright year.
25205 * catgets/gencat.c: Likewise.
25206 * csu/version.c: Likewise.
25207 * debug/catchsegv.sh: Likewise.
25208 * debug/xtrace.sh: Likewise.
25209 * elf/ldconfig.c: Likewise.
25210 * elf/ldd.bash.in: Likewise.
25211 * elf/sprof.c (print_version): Likewise.
25212 * iconv/iconv_prog.c: Likewise.
25213 * iconv/iconvconfig.c: Likewise.
25214 * locale/programs/locale.c: Likewise.
25215 * locale/programs/localedef.c: Likewise.
25216 * malloc/memusage.sh: Likewise.
25217 * malloc/mtrace.pl: Likewise.
25218 * nscd/nscd.c (print_version): Likewise.
25219 * nss/getent.c: Likewise.
25221 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25222 PF_CAIF, and PF_ALG.
25223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25225 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25227 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25228 (modules-names): Use them.
25229 (ifunc-test-modules, ifunc-pie-tests): Define.
25230 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25231 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25232 (test-extras): Likewise.
25233 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25234 $(compile-command.c).
25235 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25236 (all-built-dso): Define.
25237 (check-textrel.out, check-execstack.out): Depend on it.
25239 * configure.in: Don't override --enable-multi-arch.
25241 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25244 * nscd/hstcache.c (tryagain): Define.
25245 (cache_addhst): Return tryagain not notfound for temporary errors.
25246 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25249 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25252 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25253 to make the syscall.
25254 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25257 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25258 and fall back to matching as normal character if the string ends before
25259 the matching ']' is found. This is what POSIX requires.
25260 * posix/testfnm.c: Adjust test result.
25261 * posix/globtest.sh: Adjust test result. Add new test.
25262 * posix/tst-fnmatch.input: Likewise.
25263 * posix/tst-fnmatch2.c: Add new test.
25265 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25267 * elf/Makefile (check-execstack): Revert last change. Depend on
25269 (check-execstack.h): New target.
25270 (generated): Add check-execstack.h.
25271 * elf/check-execstack.c: Include "check-execstack.h".
25272 (main): Revert last change.
25273 (handle_file): Return zero if GNU_STACK is absent and
25274 DEFAULT_STACK_PERMS doesn't include PF_X.
25276 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25278 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25279 in child fails because the descriptor is already closed.
25280 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25281 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25282 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25285 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25289 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25290 temporary buffer used to handle multi lookups locally.
25291 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25293 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25295 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25298 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25300 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25301 alignment for SSE2.
25303 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25306 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25307 characters. When rounding increased number of integer digits recompute
25309 * stdio-common/tst-grouping.c: New file.
25310 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25312 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25314 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25315 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25317 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25319 * bits/select.h: Likewise.
25321 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25323 * po/ja.po: Update from translation team.
25325 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25328 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25329 implementation just like for lxstat, fxstatat, et al.
25331 2010-12-27 Jim Meyering <meyering@redhat.com>
25334 * posix/regexec.c (build_trtable): Return failure indication upon
25335 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25337 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25340 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25341 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25342 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25343 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25346 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25349 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25350 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25352 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25354 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25355 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25356 script has SORT_BY_INIT_PRIORITY.
25357 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25358 NO_CTORS_DTORS_SECTIONS is defined.
25359 * elf/soinit.c: Likewise.
25360 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25361 NO_CTORS_DTORS_SECTIONS is defined.
25362 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25363 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25364 * sysdeps/sh/init-first.c: Likewise.
25365 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25367 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25369 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25370 always use the slow path.
25372 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25374 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25375 similar rule which adds the sysdep directories to the header search in
25376 order to pick up the correct platform stackinfo.h.
25377 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25378 perform test if it is, otherwise return successfully without testing.
25379 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25380 DEFAULT_STACK_PERMS define in stackinfo.h.
25381 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25382 defined in stackinfo.h.
25383 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25384 DEFAULT_STACK_PERMS defined in stackinfo.h.
25385 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25386 * sysdeps/ia64/stackinfo.h: Likewise.
25387 * sysdeps/s390/stackinfo.h: Likewise.
25388 * sysdeps/sh/stackinfo.h: Likewise.
25389 * sysdeps/sparc/stackinfo.h: Likewise.
25390 * sysdeps/x86_64/stackinfo.h: Likewise.
25391 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25392 PF_X for powerpc64. Retain PF_X for powerpc32.
25394 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25396 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25398 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25399 GETDENTS_64BIT_ALIGNED.
25401 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25403 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25405 2010-12-10 Andreas Schwab <schwab@redhat.com>
25407 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25410 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25411 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25413 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25414 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25416 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25419 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25422 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25424 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25426 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25428 * po/it.po: Update from translation team.
25430 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25435 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25437 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25439 2010-11-24 Andreas Schwab <schwab@redhat.com>
25441 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25443 (gaih_getanswer_slice): Likewise.
25445 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25447 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25449 2010-05-31 Petr Baudis <pasky@suse.cz>
25452 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25453 silently even in the chroot mode.
25455 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25457 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25458 last patch a bit. Pretty printing
25460 2010-05-31 Petr Baudis <pasky@suse.cz>
25463 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25464 initialization of skip_initgroups_dyn.
25466 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25468 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25469 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25471 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25473 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25475 2010-11-11 Andreas Schwab <schwab@redhat.com>
25477 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25478 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25479 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25480 ($(objpfx)tst-fnmatch-mem): New rule.
25481 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25482 * posix/tst-fnmatch.c (main): Call mtrace.
25484 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25487 Support Intel processor model 6 and model 0x2c.
25489 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25494 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25497 * string/test-strncasecmp.c (check_result): New function.
25498 (do_one_test): Use it.
25499 (check1): New function.
25500 (test_main): Use it.
25501 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25502 Support strcasecmp and strncasecmp.
25504 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25507 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25510 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25512 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25516 * sysdeps/x86_64/multiarch/bzero.S: New file.
25517 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25518 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25519 * sysdeps/x86_64/multiarch/memset.S: New file.
25520 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25522 Set bit_Prefer_SSE_for_memop for Intel processors.
25523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25525 (index_Prefer_SSE_for_memop): Define.
25526 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25528 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25530 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25531 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25533 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25536 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25537 (__x86_64_raw_data_cache_size_half): Likewise.
25538 (__x86_64_raw_shared_cache_size): Likewise.
25539 (__x86_64_raw_shared_cache_size_half): Likewise.
25541 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25542 (__x86_64_raw_data_cache_size_half): Likewise.
25543 (__x86_64_raw_shared_cache_size): Likewise.
25544 (__x86_64_raw_shared_cache_size_half): Likewise.
25545 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25546 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25547 and __x86_64_raw_shared_cache_size_half. Round
25548 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25549 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25550 to multiple of 256 bytes.
25552 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25556 of inacessible symlinks. Verify result of symlink before returning it.
25557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25558 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25560 2010-10-28 Erich Ritz <erichritz@gmail.com>
25562 * math/math.h (isinf): Fix typo in comment.
25564 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25566 * po/da.po: Update from translation team.
25568 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25570 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25571 is added to the list.
25573 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25574 Ulrich Drepper <drepper@gmail.com>
25576 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25577 the global list here. Move code to...
25578 (_dl_add_to_namespace_list): ...here. New function.
25579 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25580 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25581 * elf/dl-load.c (lose): Don't remove the element from the list.
25582 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25583 (_dl_map_object): Likewise.
25585 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25588 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25589 into all bytes of SSE register.
25590 Patch by Richard Li <richardpku@gmail.com>.
25592 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25595 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25598 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25600 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25601 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25602 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25603 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25608 2010-10-22 Andreas Schwab <schwab@redhat.com>
25610 * include/dlfcn.h (__RTLD_SECURE): Define.
25611 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25612 mode & __RTLD_SECURE instead.
25613 (open_path): Rename preloaded parameter to secure.
25614 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25615 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25616 * elf/dl-deps.c (openaux): Likewise.
25617 * elf/rtld.c (struct map_args): Remove is_preloaded.
25618 (map_doit): Don't use it.
25619 (dl_main): Likewise.
25620 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25621 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25623 2010-09-09 Andreas Schwab <schwab@redhat.com>
25625 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25626 (sysd-rules-targets): Remove duplicates.
25627 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25628 rtld-%.$o dependency.
25630 2010-10-18 Andreas Schwab <schwab@redhat.com>
25632 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25633 _dl_map_object do it.
25635 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25637 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25638 fast fma builtins, define the macros in the C99 standard.
25639 (FP_FAST_FMAF): Likewise.
25640 (FP_FAST_FMAL): Likewise.
25641 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25643 * bits/mathdef.h: Update copyright year.
25644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25646 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25648 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25649 builtins, define the macros in the C99 standard.
25650 (FP_FAST_FMAF): Likewise.
25651 (FP_FAST_FMAL): Likewise.
25652 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25654 (FP_FAST_FMAF): Likewise.
25656 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25659 * math/libm-test.inc (fma_test): Some new testcases.
25660 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25662 y and infinite z. Do multiplication by C already in long double.
25663 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25665 y and infinite z. Do bitwise or of inexact bit into u.d.
25666 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25667 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25668 * sysdeps/i386/fpu/s_fma.S: Removed.
25669 * sysdeps/i386/fpu/s_fmal.S: Removed.
25671 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25674 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25676 computation is not scheduled after fetestexcept. Fix value
25677 of minimum denormal long double.
25679 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25682 * math/libm-test.inc (fma_test): Add some more tests.
25683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25686 2010-10-15 Andreas Schwab <schwab@redhat.com>
25688 * scripts/data/localplt-s390-linux-gnu.data: New file.
25689 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25691 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25694 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25695 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25697 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25699 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25701 if one of x and y is very large and the other is subnormal.
25702 * sysdeps/s390/fpu/s_fmaf.c: New file.
25703 * sysdeps/s390/fpu/s_fma.c: New file.
25704 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25705 * sysdeps/powerpc/fpu/s_fma.S: New file.
25706 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25707 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25708 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25710 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25713 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25716 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25717 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25718 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25719 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25720 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25721 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25723 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25726 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25727 * posix/bug-regex31.input: Add test case.
25729 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25731 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25732 * posix/bug-regex31.input: New file.
25735 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25736 (parse_sub_exp): Fix last change, use postorder.
25738 * posix/bug-regex31.c: New file.
25739 * posix/Makefile: Add rules to build and run bug-regex31.
25741 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25744 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25747 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25748 to have entries in sys_siglist.
25751 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25754 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25757 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25758 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25759 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25760 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25761 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25762 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25763 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25764 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25765 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25766 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25767 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25768 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25769 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25770 * math/ftestexcept.c (fetestexcept): Likewise.
25771 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25772 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25773 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25774 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25775 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25776 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25777 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25779 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25782 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25785 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25787 * string/bug-strstr1.c: New file.
25788 * string/Makefile: Add rules to build and run bug-strstr1.
25790 2010-10-05 Eric Blake <eblake@redhat.com>
25793 * string/str-two-way.h (two_way_long_needle): Always clear memory
25794 when skipping input due to the shift table.
25796 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25799 * malloc/mcheck.c: Handle large requests.
25802 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25803 for strncmp and strncasecmp.
25804 * string/stratcliff.c: Add tests for strcmp and strncmp.
25805 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25807 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25809 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25812 2010-09-30 Andreas Jaeger <aj@suse.de>
25814 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25815 (CGROUP_SUPER_MAGIC): Define.
25816 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25817 Handle btrfs and cgroup file systems.
25818 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25821 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25823 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25824 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25826 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25829 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25830 trying to locate the ELF header.
25832 2010-09-27 Andreas Schwab <schwab@redhat.com>
25835 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25836 Mask out sign-bit copies when constructing f_fsid.
25838 2010-09-24 Petr Baudis <pasky@suse.cz>
25840 * debug/stack_chk_fail_local.c: Add missing licence exception.
25841 * debug/warning-nop.c: Likewise.
25843 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25845 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25846 implementing getdents64 using getdents syscall, set d_type if
25847 __ASSUME_GETDENTS32_D_TYPE.
25849 2010-09-16 Andreas Schwab <schwab@redhat.com>
25851 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25852 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25854 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25857 * posix/unistd.h: Undo change of feature selection for ftruncate from
25860 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25862 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25865 2010-09-20 Andreas Schwab <schwab@redhat.com>
25867 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25869 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25871 2010-09-14 Andreas Schwab <schwab@redhat.com>
25873 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25874 variables after CHECK_SP call.
25875 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25877 2010-09-13 Andreas Schwab <schwab@redhat.com>
25878 Ulrich Drepper <drepper@redhat.com>
25880 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25881 re-relocationg ld.so.
25882 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25883 _dl_init_paths call.
25884 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25887 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25889 * resolv/res_init.c (__res_vinit): Count the default server we added.
25891 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25892 Ulrich Drepper <drepper@redhat.com>
25895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25896 (____longjmp_chk): Use %ebx for saving value across system call.
25899 2010-09-06 Andreas Schwab <schwab@redhat.com>
25901 * manual/Makefile: Don't mix pattern rules with normal rules.
25903 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25905 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25907 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25908 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25909 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25910 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25911 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25914 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25917 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25918 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25920 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25922 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25923 * sysdeps/x86_64/addmul_1.S: Likewise.
25924 * sysdeps/x86_64/lshift.S: Likewise.
25925 * sysdeps/x86_64/mul_1.S: Likewise.
25926 * sysdeps/x86_64/rshift.S: Likewise.
25927 * sysdeps/x86_64/sub_n.S: Likewise.
25928 * sysdeps/x86_64/submul_1.S: Likewise.
25930 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25932 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25933 Define __sched_param instead of SCHED_* and sched_param when
25934 <bits/sched.h> is included with __need_schedparam defined.
25935 * bits/sched.h [__need_schedparam]
25936 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25937 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25938 (__defined_schedparam): Define to 1.
25939 (__sched_param): New structure, identical to sched_param.
25940 (__need_schedparam): Undefine.
25942 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25944 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25945 (epoll_create1): Declare.
25947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25949 2010-08-31 Andreas Schwab <schwab@redhat.com>
25952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25953 shifting retval into place.
25955 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25957 * nis/rpcsvc/nis.h: Update copyright notice.
25958 * nis/rpcsvc/nis.x: Likewise.
25959 * nis/rpcsvc/nis_callback.h: Likewise.
25960 * nis/rpcsvc/nis_callback.x: Likewise.
25961 * nis/rpcsvc/nis_object.x: Likewise.
25962 * nis/rpcsvc/nis_tags.h: Likewise.
25963 * nis/rpcsvc/yp.h: Likewise.
25964 * nis/rpcsvc/yp.x: Likewise.
25965 * nis/rpcsvc/ypupd.h: Likewise.
25966 * nis/yp_xdr.c: Likewise.
25967 * nis/ypupdate_xdr.c: Likewise.
25969 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25970 mainly the body of pmap_getport. Add parameters to specify timeouts.
25971 (pmap_getport): Use __libc_rpc_getport.
25972 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25973 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25974 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25976 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25981 2010-08-27 Roland McGrath <roland@redhat.com>
25983 * sysdeps/i386/i686/multiarch/Makefile
25984 (CFLAGS-varshift.c): New variable.
25986 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25988 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25989 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25993 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25995 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25997 * sysdeps/x86_64/strlen.S: Unroll the loop.
25998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25999 strlen-sse2 strlen-sse2-bsf.
26000 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26001 __strlen_no_bsf if bit_Slow_BSF is set.
26002 (__strlen_sse42): Removed.
26003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26004 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26006 2010-08-25 Roland McGrath <roland@redhat.com>
26008 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26009 * sysdeps/x86_64/multiarch/varshift.c: New file.
26010 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26011 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26012 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26013 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26015 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26018 strlen-sse2 strlen-sse2-bsf.
26019 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26020 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26021 (__strlen_sse2): Removed.
26022 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26025 bit_Slow_BSF for Atom.
26026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26027 (index_Slow_BSF): Define.
26028 (HAS_SLOW_BSF): Define.
26030 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26033 * resolv/res_init.c (__res_vinit): When no server address at all
26034 is given default to loopback.
26036 2010-08-24 Roland McGrath <roland@redhat.com>
26038 * configure.in: Remove config-name.h generation.
26039 * configure: Regenerated.
26040 * config-name.in: File removed.
26041 * scripts/config-uname.sh: New file.
26042 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26043 ($(objdir)config-name.h): New target.
26045 * sunrpc/rpc_parse.h: Avoid nested comment.
26047 2010-08-24 Richard Henderson <rth@redhat.com>
26048 Ulrich Drepper <drepper@redhat.com>
26049 H.J. Lu <hongjiu.lu@intel.com>
26051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26053 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26054 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26055 _mm_alignr_epi8 with _mm_loadu_si128.
26056 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26057 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26058 (__m128i_shift_right): Removed.
26059 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26060 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26061 * sysdeps/x86_64/multiarch/varshift.h: New file.
26062 * sysdeps/x86_64/multiarch/varshift.S: New file.
26064 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26066 * configure.in: Move assembler checks to before sysdep dir checking.
26068 2010-08-20 Petr Baudis <pasky@suse.cz>
26070 * LICENSES: Sync the sunrpc license.
26072 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26074 * sunrpc/auth_des.c: Update copyright notice once again.
26075 * sunrpc/auth_none.c: Likewise.
26076 * sunrpc/auth_unix.c: Likewise.
26077 * sunrpc/authdes_prot.c: Likewise.
26078 * sunrpc/authuxprot.c: Likewise.
26079 * sunrpc/bindrsvprt.c: Likewise.
26080 * sunrpc/clnt_gen.c: Likewise.
26081 * sunrpc/clnt_perr.c: Likewise.
26082 * sunrpc/clnt_raw.c: Likewise.
26083 * sunrpc/clnt_simp.c: Likewise.
26084 * sunrpc/clnt_tcp.c: Likewise.
26085 * sunrpc/clnt_udp.c: Likewise.
26086 * sunrpc/clnt_unix.c: Likewise.
26087 * sunrpc/des_crypt.c: Likewise.
26088 * sunrpc/des_soft.c: Likewise.
26089 * sunrpc/get_myaddr.c: Likewise.
26090 * sunrpc/getrpcport.c: Likewise.
26091 * sunrpc/key_call.c: Likewise.
26092 * sunrpc/key_prot.c: Likewise.
26093 * sunrpc/openchild.c: Likewise.
26094 * sunrpc/pm_getmaps.c: Likewise.
26095 * sunrpc/pm_getport.c: Likewise.
26096 * sunrpc/pmap_clnt.c: Likewise.
26097 * sunrpc/pmap_prot.c: Likewise.
26098 * sunrpc/pmap_prot2.c: Likewise.
26099 * sunrpc/pmap_rmt.c: Likewise.
26100 * sunrpc/rpc/auth.h: Likewise.
26101 * sunrpc/rpc/auth_unix.h: Likewise.
26102 * sunrpc/rpc/clnt.h: Likewise.
26103 * sunrpc/rpc/des_crypt.h: Likewise.
26104 * sunrpc/rpc/key_prot.h: Likewise.
26105 * sunrpc/rpc/netdb.h: Likewise.
26106 * sunrpc/rpc/pmap_clnt.h: Likewise.
26107 * sunrpc/rpc/pmap_prot.h: Likewise.
26108 * sunrpc/rpc/pmap_rmt.h: Likewise.
26109 * sunrpc/rpc/rpc.h: Likewise.
26110 * sunrpc/rpc/rpc_des.h: Likewise.
26111 * sunrpc/rpc/rpc_msg.h: Likewise.
26112 * sunrpc/rpc/svc.h: Likewise.
26113 * sunrpc/rpc/svc_auth.h: Likewise.
26114 * sunrpc/rpc/types.h: Likewise.
26115 * sunrpc/rpc/xdr.h: Likewise.
26116 * sunrpc/rpc_clntout.c: Likewise.
26117 * sunrpc/rpc_cmsg.c: Likewise.
26118 * sunrpc/rpc_common.c: Likewise.
26119 * sunrpc/rpc_cout.c: Likewise.
26120 * sunrpc/rpc_dtable.c: Likewise.
26121 * sunrpc/rpc_hout.c: Likewise.
26122 * sunrpc/rpc_main.c: Likewise.
26123 * sunrpc/rpc_parse.c: Likewise.
26124 * sunrpc/rpc_parse.h: Likewise.
26125 * sunrpc/rpc_prot.c: Likewise.
26126 * sunrpc/rpc_sample.c: Likewise.
26127 * sunrpc/rpc_scan.c: Likewise.
26128 * sunrpc/rpc_scan.h: Likewise.
26129 * sunrpc/rpc_svcout.c: Likewise.
26130 * sunrpc/rpc_tblout.c: Likewise.
26131 * sunrpc/rpc_util.c: Likewise.
26132 * sunrpc/rpc_util.h: Likewise.
26133 * sunrpc/rpcinfo.c: Likewise.
26134 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26135 * sunrpc/rpcsvc/key_prot.x: Likewise.
26136 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26137 * sunrpc/rpcsvc/mount.x: Likewise.
26138 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26139 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26140 * sunrpc/rpcsvc/rex.x: Likewise.
26141 * sunrpc/rpcsvc/rstat.x: Likewise.
26142 * sunrpc/rpcsvc/rusers.x: Likewise.
26143 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26144 * sunrpc/rpcsvc/spray.x: Likewise.
26145 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26146 * sunrpc/rtime.c: Likewise.
26147 * sunrpc/svc.c: Likewise.
26148 * sunrpc/svc_auth.c: Likewise.
26149 * sunrpc/svc_authux.c: Likewise.
26150 * sunrpc/svc_raw.c: Likewise.
26151 * sunrpc/svc_run.c: Likewise.
26152 * sunrpc/svc_simple.c: Likewise.
26153 * sunrpc/svc_tcp.c: Likewise.
26154 * sunrpc/svc_udp.c: Likewise.
26155 * sunrpc/svc_unix.c: Likewise.
26156 * sunrpc/svcauth_des.c: Likewise.
26157 * sunrpc/xcrypt.c: Likewise.
26158 * sunrpc/xdr.c: Likewise.
26159 * sunrpc/xdr_array.c: Likewise.
26160 * sunrpc/xdr_float.c: Likewise.
26161 * sunrpc/xdr_mem.c: Likewise.
26162 * sunrpc/xdr_rec.c: Likewise.
26163 * sunrpc/xdr_ref.c: Likewise.
26164 * sunrpc/xdr_sizeof.c: Likewise.
26165 * sunrpc/xdr_stdio.c: Likewise.
26167 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26170 2010-08-19 Andreas Schwab <schwab@redhat.com>
26172 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26174 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26176 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26177 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26178 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26179 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26181 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26182 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26183 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26184 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26185 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26186 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26187 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26188 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26189 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26191 2010-07-26 Anton Blanchard <anton@samba.org>
26193 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26194 * malloc/arena.c (heap_trim): Likewise.
26196 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26198 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26201 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26203 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26205 * sysdeps/i386/elf/Makefile: New file.
26207 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26209 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26210 from fanotify_init.
26211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26214 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26216 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26218 * sysdeps/multiarch/strcmp.S: Likewise.
26220 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26222 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26223 strncase_l-nonascii.
26224 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26225 Add strncase_l-ssse3.
26226 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26227 * sysdeps/x86_64/strcmp.S: Likewise.
26228 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26229 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26230 * sysdeps/x86_64/strncase.S: New file.
26231 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26232 * sysdeps/x86_64/strncase_l.S: New file.
26233 * string/Makefile (strop-tests): Add strncasecmp.
26234 * string/test-strncasecmp.c: New file.
26236 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26239 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26240 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26242 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26244 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26246 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26248 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26249 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26250 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26252 2010-05-01 Alan Modra <amodra@gmail.com>
26254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26255 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26256 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26257 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26258 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26259 tidying. Don't tail-call __sigjmp_save for static lib.
26260 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26262 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26263 (CALL_MCOUNT): Add eh info, and nop after bl.
26264 (TAIL_CALL_SYSCALL_ERROR): New macro.
26265 (PSEUDO_RET): Use it.
26266 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26267 Correct save location of integer regs and cr.
26268 (_dl_profile_resolve): Correct cr save location. Delete nops
26269 after bl when SHARED. Reduce cfi size a little by better
26270 placement of cfi directives.
26271 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26272 make a stack frame. Instead use parm save area as a temp.
26273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26274 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26276 Don't make a stack frame for parent, use parm save area.
26277 Increase child stack frame to 112 bytes. Don't save unused reg,
26278 and adjust reg usage. Set up cfi on error recovery and
26279 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26281 (__makecontext): Add dummy nop after jump to exit.
26282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26283 Use correct parm save area and cr save, reduce stack frame.
26284 Correct cfi for possible PSEUDO_RET frame setup.
26285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26286 Branch to local label emitted by PSEUDO_RET rather than
26289 2010-08-12 Andreas Schwab <schwab@redhat.com>
26292 * locale/programs/locale.c (print_assignment): New function.
26293 (show_locale_vars): Use it.
26295 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26297 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26299 (struct statfs64): Likewise.
26300 (_STATFS_F_FLAGS): Define.
26301 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26302 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26303 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26304 (ST_VALID): Define locally.
26305 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26306 __statvfs_getflags, use the provided value.
26307 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26308 __ASSUME_STATFS_F_FLAGS.
26310 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26312 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26313 Add sys/fanotify.h.
26314 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26315 fanotify_mask for GLIBC_2.13.
26316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26317 fanotify_init and fanotify_mark.
26318 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26319 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26321 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26323 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26324 prlimit64 for GLIBC_2.13.
26325 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26330 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26331 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26335 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26338 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26339 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26341 * nss/Makefile: Add rules to build and run tst-nss-test1.
26342 * shlib-versions: Add entry for libnss_test1.
26343 * nss/nss_test1.c: New file.
26344 * nss/tst-nss-test1.c: New file.
26346 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26347 (__nss_configure_lookup): Set appropriate entry in
26348 __nss_configure_lookup to true.
26349 * nss/nsswitch.h: Define enum with indeces of databases in
26350 databases and __nss_database_custom arrays. Declare
26351 __nss_database_custom.
26352 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26353 to avoid using nscd when custom rules are installed.
26354 * nss/getXXbyYY_r.c: Likewise.
26355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26357 * nss/nss_files/files-parse.c: Whitespace fixes.
26359 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26362 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26363 * posix/fnmatch_loop.c: Likewise.
26365 2010-07-17 Andi Kleen <ak@linux.intel.com>
26367 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26368 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26369 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26370 * Versions.def [GLIBC_2.13]: Add.
26372 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26374 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26375 Also fail if tpwd after pwuid call is NULL.
26377 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26379 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26380 when converting to ms.
26382 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26384 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26385 EOPNOTSUPP errors with ENOTTY.
26386 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26387 EOPNOTSUPP errors with ENOTTY.
26389 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26392 Add strcasecmp_l-ssse3.
26393 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26395 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26396 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26397 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26399 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26401 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26403 * string/Makefile (strop-tests): Add strcasecmp.
26404 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26405 strcasecmp_l-nonascii.
26406 (gen-as-const-headers): Add locale-defines.sym.
26407 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26408 * sysdeps/x86_64/strcasecmp.S: New file.
26409 * sysdeps/x86_64/strcasecmp_l.S: New file.
26410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26411 * sysdeps/x86_64/locale-defines.sym: New file.
26412 * string/test-strcasecmp.c: New file.
26414 * string/test-strcasestr.c: Test both ends of the range of characters.
26415 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26417 2010-07-29 Roland McGrath <roland@redhat.com>
26420 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26422 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26424 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26427 2010-07-27 Andreas Schwab <schwab@redhat.com>
26429 * manual/memory.texi (Malloc Tunable Parameters): Document
26432 2010-07-26 Roland McGrath <roland@redhat.com>
26435 * configure.in (-fgnu89-inline check): Set and substitute
26436 gnu89_inline, not libc_cv_gnu89_inline.
26437 * configure: Regenerated.
26438 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26440 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26442 * string/test-strnlen.c: New file.
26443 * string/Makefile (strop-tests): Add strnlen.
26444 * string/tester.c (test_strnlen): Add a few more test cases.
26445 * string/tst-strlen.c: Better error reporting.
26447 * sysdeps/x86_64/strnlen.S: New file.
26449 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26451 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26452 lower-latency instructions.
26454 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26456 * string/test-strcasestr.c: New file.
26457 * string/test-strstr.c: New file.
26458 * string/Makefile (strop-tests): Add strstr and strcasestr.
26459 * string/str-two-way.h: Don't undefine MAX.
26460 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26462 2010-07-21 Andreas Schwab <schwab@redhat.com>
26464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26465 strcasestr-nonascii.
26466 (CFLAGS-strcasestr-nonascii.c): Define.
26467 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26469 Remove unused attribute.
26471 2010-07-20 Roland McGrath <roland@redhat.com>
26473 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26474 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26475 ld.so.cache was broken. With it, there is no way to disable dsocaps
26476 like LD_HWCAP_MASK can disable hwcaps.
26478 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26480 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26482 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26484 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26485 call in strcasestr.
26486 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26487 __strcasestr_sse42_nonascii.
26488 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26489 strcasestr-nonascii.c.
26490 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26492 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26495 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26496 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26497 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26499 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26504 2010-07-06 Andreas Schwab <schwab@redhat.com>
26507 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26510 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26512 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26513 _PC_PIPE_BUF using F_GETPIPE_SZ.
26515 2010-07-05 Roland McGrath <roland@redhat.com>
26517 * manual/arith.texi (Rounding Functions): Fix rint description
26518 implicit in round description.
26520 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26522 * elf/Makefile: Fix linking for a few tests to make recent linker
26525 2010-06-30 Andreas Schwab <schwab@redhat.com>
26527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26528 $(common-objpfx)libc_nonshared.a.
26530 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26532 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26533 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26534 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26535 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26536 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26537 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26538 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26539 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26554 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26555 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26556 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26557 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26558 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26559 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26560 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26561 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26562 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26563 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26564 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26565 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26581 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26583 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26584 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26585 * string/memmove.c (memmove): Renamed to ...
26586 (MEMMOVE): ...this. Default to memmove.
26587 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26588 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26591 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26592 mempcpy-ssse3-back memmove-ssse3-back.
26593 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26596 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26597 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26598 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26599 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26600 * sysdeps/x86_64/multiarch/memmove.c: New file.
26601 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26602 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26603 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26604 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26605 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26608 (index_Fast_Copy_Backward): Define.
26609 (HAS_ARCH_FEATURE): Define.
26610 (HAS_FAST_REP_STRING): Define.
26611 (HAS_FAST_COPY_BACKWARD): Define.
26613 2010-06-21 Andreas Schwab <schwab@redhat.com>
26615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26616 Restore proper fallback handling.
26618 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26621 * posix/group_member.c (__group_member): Correct checking loop.
26623 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26624 OOM in getpwuid_r correctly. Return error number when the caller
26625 should return, otherwise -1.
26626 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26627 call returning > 0 value.
26628 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26630 2010-06-07 Andreas Schwab <schwab@redhat.com>
26632 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26633 libc_nonshared.a from targets in modules-names.
26635 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26637 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26640 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26643 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26647 2010-06-02 Andreas Schwab <schwab@redhat.com>
26649 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26651 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26653 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26660 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26662 2010-06-14 Roland McGrath <roland@redhat.com>
26664 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26666 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26668 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26669 __REDIRECT followed by __THROW.
26670 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26671 * posix/getopt.h (getopt): Likewise.
26673 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26675 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26676 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26677 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26679 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26680 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26682 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26684 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26686 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26690 Properly check family and model.
26692 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26694 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26696 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26698 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26700 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26702 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26705 2010-05-19 Andreas Schwab <schwab@redhat.com>
26707 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26710 2010-05-21 Andreas Schwab <schwab@redhat.com>
26712 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26713 and internal_recvmmsg.
26714 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26715 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26716 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26717 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26719 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26720 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26721 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26723 2010-05-20 Andreas Schwab <schwab@redhat.com>
26725 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26727 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26729 POWER7 optimizations.
26730 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26731 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26733 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26735 * version.h: Update for 2.13 development version.
26737 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26739 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26740 exceptions. Return 0.
26742 2010-05-07 Roland McGrath <roland@redhat.com>
26744 * elf/ldconfig.c (main): Add a const.
26746 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26748 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26749 (args_options): Add no-idn option.
26750 (ahosts_keys_int): Add idn_flags to ai_flags.
26751 (parse_option): Handle 'i' option to clear idn_flags.
26753 * malloc/malloc.c (_int_free): Possible race in the most recently
26754 added check. Only act on the data if no current modification
26757 See ChangeLog.17 for earlier changes.