1 2013-03-07 Andreas Jaeger <aj@suse.de>
3 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9 Include mpa.h and declare __MPEXP.
10 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
14 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19 (__slowpow): Use long double EXPL and LOGL functions to
21 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29 intermediate variable to calculate exponent.
31 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36 [!NO__SQR]: Define __sqr.
37 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38 and NO__SQR. Remove all code except __mul and __sqr. Include
39 sysdeps/ieee754/dbl-64/mpa.c.
40 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43 * posix/Makefile (tests): Add tst-pathconf.
44 * posix/tst-pathconf.c: New test case.
45 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
47 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
51 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53 2013-03-06 Andreas Jaeger <aj@suse.de>
55 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56 definition via __MAP_ANONYMOUS.
58 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59 it's not part of Linux headers.
61 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62 (MAP_HUGE_MASK): Define.
64 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
70 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
72 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
73 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
75 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
77 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
78 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
79 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
80 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
81 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
82 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
84 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
87 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88 Handle f2fs and efivarfs.
90 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
93 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
94 (EFIVARFS_MAGIC): Add.
97 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
99 * stdio-common/vfprintf.c: Replace __builtin_expect with
102 2013-03-06 Joseph Myers <joseph@codesourcery.com>
105 * sysdeps/generic/bp-sym.h: Remove file.
106 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
107 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
108 <bp-sym.h> and <bp-asm.h>.
109 (__longjmp): Don't use BP_SYM.
110 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
112 (memcpy): Don't use BP_SYM.
113 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
114 <bp-sym.h> and <bp-asm.h>.
115 (memcpy): Don't use BP_SYM.
116 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
118 (memcpy): Don't use BP_SYM.
119 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
121 (memset): Don't use BP_SYM.
122 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
123 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
124 (__bzero): Don't use BP_SYM.
125 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
126 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
127 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
128 <bp-sym.h> and <bp-asm.h>.
129 (memcmp): Don't use BP_SYM. Remove comment about bounded
131 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
132 <bp-sym.h> and <bp-asm.h>.
133 (memcpy): Don't use BP_SYM.
134 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (memset): Don't use BP_SYM.
137 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
138 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
139 (__bzero): Don't use BP_SYM.
140 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
141 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
142 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
143 <bp-sym.h> and <bp-asm.h>.
144 (strncmp): Don't use BP_SYM. Remove comment about bounded
146 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
147 <bp-sym.h> and <bp-asm.h>.
148 (memcpy): Don't use BP_SYM.
149 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
150 <bp-sym.h> and <bp-asm.h>.
151 (memset): Don't use BP_SYM.
152 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
153 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
154 (__bzero): Don't use BP_SYM.
155 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
156 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
157 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
158 <bp-sym.h> and <bp-asm.h>.
159 (__memchr): Don't use BP_SYM.
160 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
161 <bp-sym.h> and <bp-asm.h>.
162 (memcmp): Don't use BP_SYM. Remove comment about bounded
164 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
165 <bp-sym.h> and <bp-asm.h>.
166 (memcpy): Don't use BP_SYM.
167 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
168 <bp-sym.h> and <bp-asm.h>.
169 (__mempcpy): Don't use BP_SYM.
170 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
171 <bp-sym.h> and <bp-asm.h>.
172 (__memrchr): Don't use BP_SYM.
173 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
174 <bp-sym.h> and <bp-asm.h>.
175 (memset): Don't use BP_SYM.
177 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
178 <bp-sym.h> and <bp-asm.h>.
179 (__rawmemchr): Don't use BP_SYM.
180 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
181 <bp-sym.h> and <bp-asm.h>.
182 (__STRCMP): Don't use BP_SYM.
183 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
184 <bp-sym.h> and <bp-asm.h>.
185 (strchr): Don't use BP_SYM.
186 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
187 <bp-sym.h> and <bp-asm.h>.
188 (__strchrnul): Don't use BP_SYM.
189 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
190 <bp-sym.h> and <bp-asm.h>.
191 (strlen): Don't use BP_SYM.
192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
193 <bp-sym.h> and <bp-asm.h>.
194 (strncmp): Don't use BP_SYM. Remove comment about bounded
196 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
197 <bp-sym.h> and <bp-asm.h>.
198 (__strnlen): Don't use BP_SYM.
199 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
200 <bp-sym.h> and <bp-asm.h>.
201 (__GI__setjmp): Don't use BP_SYM.
203 (__sigsetjmp): Likewise.
204 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
205 (L(start_addresses)): Don't use BP_SYM.
207 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
209 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
210 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
211 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
212 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
213 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
215 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
216 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
217 about bounded pointers.
218 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
219 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
220 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
222 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
223 about bounded pointers. Remove GKM FIXME comments.
224 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
225 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
227 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
228 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
229 Remove GKM FIXME comments.
230 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
231 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
232 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
234 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
235 about bounded pointers. Remove GKM FIXME comment.
236 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
238 (strncmp): Don't use BP_SYM. Remove comment about bounded
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
241 <bp-sym.h> and <bp-asm.h>.
242 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
244 <bp-sym.h> and <bp-asm.h>.
245 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
248 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
250 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
253 2013-03-05 David S. Miller <davem@davemloft.net>
255 * po/es.po: Update from translation team.
257 2013-03-05 Andreas Jaeger <aj@suse.de>
259 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
261 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
264 <bits/mman-linux.h> to end of file.
265 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
267 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
268 <bits/mman-linux.h> to end of file.
269 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
271 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
272 <bits/mman-linux.h> to end of file.
274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
275 (MCL_CURRENT, MCL_FUTURE): Define here.
277 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
284 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
286 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
287 fourth parameter needed for rt_sigprocmask syscall.
288 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
289 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
290 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
291 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
292 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
293 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
295 2013-03-04 Joseph Myers <joseph@codesourcery.com>
298 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
299 comment about bounded pointers.
300 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
301 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
303 2013-03-04 Andreas Jaeger <aj@suse.de>
305 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
308 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
309 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
310 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
313 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
315 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
319 __ieee754_sqrl instead of __sqrl.
321 2013-03-01 Joseph Myers <joseph@codesourcery.com>
323 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
324 * sysdeps/powerpc/fpu_control.h: ... here.
325 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
326 * sysdeps/powerpc/bits/fenvinline.h: ... here.
327 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
328 * sysdeps/powerpc/bits/mathinline.h: ... here.
330 2013-03-01 Roland McGrath <roland@hack.frob.com>
332 * elf/dl-hwcaps.c (_dl_important_hwcaps):
333 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
334 to just [NEED_DL_SYSINFO_DSO].
335 * elf/dl-support.c: Likewise.
336 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
337 * elf/rtld.c (dl_main): Likewise.
338 * elf/setup-vdso.h (setup_vdso): Likewise.
339 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
340 * sysdeps/unix/sysv/linux/dl-sysdep.c
341 (_dl_discover_osversion): Likewise.
343 2013-03-01 Carlos O'Donell <carlos@redhat.com>
345 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
346 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
348 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
350 * NEWS: Mention libm performance improvements and non-x86 PI
353 * csu/libc-start.c (__pthread_initialize_minimal): Change
355 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
357 2013-02-28 Joseph Myers <joseph@codesourcery.com>
360 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
361 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
362 <bp-sym.h> and <bp-asm.h>.
363 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
364 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
366 (memcpy): Don't use BP_SYM.
367 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
369 (__mpn_add_n): Don't use BP_SYM.
370 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
371 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
373 (__mpn_addmul_1): Don't use BP_SYM.
374 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
375 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
377 (_setjmp): Don't use BP_SYM.
378 (__novmx_setjmp): Likewise.
379 (__GI__setjmp): Likewise.
380 (__vmx_setjmp): Likewise.
381 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
383 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
384 (__bzero): Don't use BP_SYM.
385 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
386 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
387 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
388 <bp-sym.h> and <bp-asm.h>.
389 (memcpy): Don't use BP_SYM.
390 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
391 <bp-sym.h> and <bp-asm.h>.
392 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
393 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
394 <bp-sym.h> and <bp-asm.h>.
395 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
396 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
398 (__mpn_lshift): Don't use BP_SYM.
399 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
400 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
402 (memset): Don't use BP_SYM.
403 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
404 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
405 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
407 (__mpn_mul_1): Don't use BP_SYM.
408 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
410 <bp-sym.h> and <bp-asm.h>.
411 (memcmp): Don't use BP_SYM.
412 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
413 <bp-sym.h> and <bp-asm.h>.
414 (memcpy): Don't use BP_SYM.
415 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
416 <bp-sym.h> and <bp-asm.h>.
417 (memset): Don't use BP_SYM.
418 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
419 <bp-sym.h> and <bp-asm.h>.
420 (strncmp): Don't use BP_SYM.
421 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
422 <bp-sym.h> and <bp-asm.h>.
423 (memcpy): Don't use BP_SYM.
424 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
425 <bp-sym.h> and <bp-asm.h>.
426 (memset): Don't use BP_SYM.
427 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
428 <bp-sym.h> and <bp-asm.h>.
429 (__memchr): Don't use BP_SYM.
430 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
431 <bp-sym.h> and <bp-asm.h>.
432 (memcmp): Don't use BP_SYM.
433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
434 <bp-sym.h> and <bp-asm.h>.
435 (memcpy): Don't use BP_SYM.
436 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
437 <bp-sym.h> and <bp-asm.h>.
438 (__mempcpy): Don't use BP_SYM.
439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
440 <bp-sym.h> and <bp-asm.h>.
441 (__memrchr): Don't use BP_SYM.
442 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
443 <bp-sym.h> and <bp-asm.h>.
444 (memset): Don't use BP_SYM.
445 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
446 <bp-sym.h> and <bp-asm.h>.
447 (__rawmemchr): Don't use BP_SYM.
448 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
449 <bp-sym.h> and <bp-asm.h>.
450 (__STRCMP): Don't use BP_SYM.
451 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
452 <bp-sym.h> and <bp-asm.h>.
453 (strchr): Don't use BP_SYM.
454 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
455 <bp-sym.h> and <bp-asm.h>.
456 (__strchrnul): Don't use BP_SYM.
457 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
458 <bp-sym.h> and <bp-asm.h>.
459 (strlen): Don't use BP_SYM.
460 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
461 <bp-sym.h> and <bp-asm.h>.
462 (strncmp): Don't use BP_SYM.
463 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
464 <bp-sym.h> and <bp-asm.h>.
465 (__strnlen): Don't use BP_SYM.
466 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
468 (__mpn_rshift): Don't use BP_SYM.
469 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
470 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
471 <bp-sym.h> and <bp-asm.h>.
472 (__sigsetjmp): Don't use BP_SYM.
473 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
474 (L(start_addresses)): Don't use BP_SYM.
476 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
478 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
479 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
480 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
481 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
483 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
484 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
485 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
486 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
488 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
490 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
491 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
493 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
495 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
496 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
497 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
499 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
501 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
503 (strncmp): Don't use BP_SYM,
504 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
506 (__mpn_sub_n): Don't use BP_SYM.
507 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
508 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
510 (__mpn_submul_1): Don't use BP_SYM.
511 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
513 <bp-sym.h> and <bp-asm.h>.
514 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
516 <bp-sym.h> and <bp-asm.h>.
517 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
520 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
523 Use ZK to minimize writes to Z.
524 (sub_magnitudes): Simplify code a bit.
525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
526 Use ZK to minimize writes to Z.
527 (sub_magnitudes): Simplify code a bit.
529 2013-02-27 Roland McGrath <roland@hack.frob.com>
531 * csu/gmon-start.c: Add special exception to license text.
533 2013-02-27 Richard Henderson <rth@redhat.com>
535 * scripts/config.guess: Update from config.git.
536 * scripts/config.sub: Likewise.
538 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
540 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
542 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
544 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
546 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
548 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
550 2013-02-26 Roland McGrath <roland@hack.frob.com>
552 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
553 [$(build-shared = yes].
555 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
557 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
558 (__mul): Reduce iterations for calculating mantissa.
560 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
562 (__mpranred): Likewise.
565 * malloc/memusagestat.c (main): Draw graphs for heap and stack
566 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
568 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
570 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
571 Define __attribute__.
573 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
575 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
577 * posix/regex_internal.h (__attribute): Remove.
578 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
579 (re_string_context_at): Likewise.
580 (bitset_not): Use __attribute__ and mark function as possibly
582 (bitset_merge): Likewise.
583 (bitset_mask): Likewise.
584 (re_string_char_size_at): Likewise.
585 (re_string_wchar_at): Likewise.
586 (re_string_elem_size_at): Likewise.
588 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
590 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
594 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
599 (__dbl_mp): Likewise.
600 (add_magnitudes): Likewise.
601 (sub_magnitudes): Likewise.
605 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
608 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
611 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
615 up changes with default code.
616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
619 2013-02-24 Allan McRae <allan@archlinux.org>
621 * manual/socket.texi (The Internet Namespace): Order menu items
622 to match that in the file.
624 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
625 node listing of the info page menu.
627 2013-02-21 Joseph Myers <joseph@codesourcery.com>
630 * sysdeps/i386/bp-asm.h: Remove file.
631 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
632 (PARMS): Do not use macros from bp-asm.h.
636 (__mpn_add_n): Do not use BP_SYM
637 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
639 (PARMS): Do not use macros from bp-asm.h.
642 (__mpn_addmul_1): Do not use BP_SYM
643 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
645 (PARMS): Do not use macros from bp-asm.h.
647 (_setjmp): Likewise. Do not use BP_SYM.
648 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
650 (PARMS): Do not use macros from bp-asm.h.
652 (setjmp): Likewise. Do not use BP_SYM.
653 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
655 (PARMS): Do not use macros from bp-asm.h.
656 (__frexp): Do not use BP_SYM.
658 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
660 (PARMS): Do not use macros from bp-asm.h.
661 (__frexpf): Do not use BP_SYM.
663 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
665 (PARMS): Do not use macros from bp-asm.h.
666 (__frexpl): Do not use BP_SYM.
668 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
670 (PARMS): Do not use macros from bp-asm.h.
671 (__remquo): Do not use BP_SYM.
673 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
675 (PARMS): Do not use macros from bp-asm.h.
676 (__remquof): Do not use BP_SYM.
678 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
680 (PARMS): Do not use macros from bp-asm.h.
681 (__remquol): Do not use BP_SYM.
683 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
685 (PARMS): Do not use macros from bp-asm.h.
688 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
689 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
691 (PARMS): Do not use macros from bp-asm.h.
692 (strlen): Do not use BP_SYM.
693 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
695 (PARMS): Do not use macros from bp-asm.h.
699 (__mpn_add_n): Do not use BP_SYM.
700 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
702 (PARMS): Do not use macros from bp-asm.h.
705 (__mpn_addmul_1): Do not use BP_SYM.
706 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
709 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
711 (PARMS): Do not use macros from bp-asm.h.
714 (__mpn_lshift): Do not use BP_SYM.
715 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
717 (PARMS): Do not use macros from bp-asm.h.
721 (memcpy): Likewise. Do not use BP_SYM.
722 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
723 libc_hidden_def and weak_alias.
724 (mempcpy): Do not use BP_SYM in weak_alias.
725 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
727 (PARMS): Do not use macros from bp-asm.h.
730 [!BZERO_P] (CHR): Likewise.
731 (memset): Likewise. Do not use BP_SYM.
732 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
734 (PARMS): Do not use macros from bp-asm.h.
737 (__mpn_mul_1): Do not use BP_SYM.
738 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
740 (PARMS): Do not use macros from bp-asm.h.
743 (__mpn_rshift): Do not use BP_SYM.
744 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
746 (PARMS): Do not use macros from bp-asm.h.
749 (strchr): Likewise. Do not use BP_SYM.
750 (index): Do not use BP_SYM in weak_alias.
751 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
753 (PARMS): Do not use macros from bp-asm.h.
756 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
757 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
759 (PARMS): Do not use macros from bp-asm.h.
760 (strlen): Do not use BP_SYM.
761 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
763 (PARMS): Do not use macros from bp-asm.h.
767 (__mpn_sub_n): Do not use BP_SYM.
768 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
770 (PARMS): Do not use macros from bp-asm.h.
773 (__mpn_submul_1): Do not use BP_SYM.
774 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
776 (PARMS): Do not use macros from bp-asm.h.
780 (__mpn_add_n): Do not use BP_SYM.
781 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
784 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
786 (PARMS): Do not use macros from bp-asm.h.
789 (memcmp): Do not use BP_SYM.
790 (bcmp): Do not use BP_SYM in weak_alias.
791 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
793 (PARMS): Do not use macros from bp-asm.h.
797 (memcpy): Likewise. Do not use BP_SYM.
798 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
800 (PARMS): Do not use macros from bp-asm.h.
804 (memmove): Likewise. Do not use BP_SYM.
805 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
807 (PARMS): Do not use macros from bp-asm.h.
811 (__mempcpy): Likewise. Do not use BP_SYM.
812 (mempcpy): Do not use BP_SYM in weak_alias.
813 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
815 (PARMS): Do not use macros from bp-asm.h.
818 [!BZERO_P] (CHR): Likewise.
819 (memset): Likewise. Do not use BP_SYM.
820 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
822 (PARMS): Do not use macros from bp-asm.h.
824 (strcmp): Do not use BP_SYM.
825 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
827 (PARMS): Do not use macros from bp-asm.h.
830 [USE_AS_STRTOK_R] (SAVE): Likewise.
831 (FUNCTION): Likewise. Do not use BP_SYM.
832 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
834 (strtok_r): Likewise.
835 (__GI___strtok_r): Likewise.
836 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
837 (PARMS): Do not use macros from bp-asm.h.
840 (__mpn_lshift): Do not use BP_SYM.
841 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
842 (PARMS): Do not use macros from bp-asm.h.
845 (__memchr): Do not use BP_SYM.
846 (memchr): Do not use BP_SYM in weak_alias.
847 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
848 (PARMS): Do not use macros from bp-asm.h.
851 (memcmp): Do not use BP_SYM.
852 (bcmp): Do not use BP_SYM in weak_alias.
853 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
854 (PARMS): Do not use macros from bp-asm.h.
857 (__mpn_mul_1): Do not use BP_SYM.
858 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
860 (PARMS): Do not use macros from bp-asm.h.
863 (__rawmemchr): Do not use BP_SYM.
864 (rawmemchr): Do not use BP_SYM in weak_alias.
865 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
866 (PARMS): Do not use macros from bp-asm.h.
869 (__mpn_rshift): Do not use BP_SYM.
870 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
871 (PARMS): Do not use macros from bp-asm.h.
873 (__sigsetjmp): Likewise. Do not use BP_SYM.
874 * sysdeps/i386/start.S: Do not include "bp-sym.h".
875 (_start): Do not use BP_SYM.
876 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
877 (PARMS): Do not use macros from bp-asm.h.
880 (__stpcpy): Likewise. Do not use BP_SYM.
881 (stpcpy): Do not use BP_SYM in weak_alias.
882 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
884 (PARMS): Do not use macros from bp-asm.h.
888 (__stpncpy): Likewise. Do not use BP_SYM.
889 (stpncpy): Do not use BP_SYM in weak_alias.
890 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
891 (PARMS): Do not use macros from bp-asm.h.
894 (strchr): Likewise. Do not use BP_SYM.
895 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
897 (PARMS): Do not use macros from bp-asm.h.
900 (__strchrnul): Likewise. Do not use BP_SYM.
901 (strchrnul): Do not use BP_SYM in weak_alias.
902 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
904 (PARMS): Do not use macros from bp-asm.h.
906 (strcspn): Do not use BP_SYM.
907 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
909 (PARMS): Do not use macros from bp-asm.h.
912 (strpbrk): Likewise. Do not use BP_SYM.
913 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
915 (PARMS): Do not use macros from bp-asm.h.
918 (strrchr): Likewise. Do not use BP_SYM.
919 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
920 (PARMS): Do not use macros from bp-asm.h.
922 (strspn): Do not use BP_SYM.
923 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
924 (PARMS): Do not use macros from bp-asm.h.
928 (FUNCTION): Likewise. Do not use BP_SYM.
929 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
931 (strtok_r): Likewise.
932 (__GI___strtok_r): Likewise.
933 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
934 (PARMS): Do not use macros from bp-asm.h.
938 (__mpn_sub_n): Do not use BP_SYM.
939 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
941 (PARMS): Do not use macros from bp-asm.h.
944 (__mpn_submul_1): Do not use BP_SYM.
945 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
947 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
949 (PARMS): Do not use macros from bp-asm.h.
954 (__clone): Do not use BP_SYM.
955 (clone): Do not use BP_SYM in weak_alias.
956 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
958 (PARMS): Do not use macros from bp-asm.h.
960 (__mmap64): Do not use BP_SYM.
961 (mmap64): Do not use BP_SYM in weak_alias.
962 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
963 <bp-sym.h> and <bp-asm.h>.
964 (PARMS): Do not use macros from bp-asm.h.
965 (__posix_fadvise64_l64): Do not use BP_SYM.
966 * sysdeps/unix/sysv/linux/i386/semtimedop.S
967 (PARMS): Do not use macros from bp-asm.h.
969 (semtimedop): Do not use BP_SYM.
970 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
973 2013-02-21 Allan McRae <allan@archlinux.org>
975 * manual/message.texi (Charset conversion in gettext):
976 Move @end statement to beginning of line.
978 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
985 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
990 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
992 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
993 tail-call to the resolved function if pltexit isn't needed.
995 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
998 or Y being zero as being unlikely.
999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1002 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1004 * manual/nss.texi (System Databases and Name Service Switch):
1005 Remove frobnicate @pxref.
1007 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1009 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1010 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1012 2013-02-20 Petr Machata <pmachata@redhat.com>
1014 * elf/elf.h (R_ARM_TARGET1): New macro.
1015 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1016 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1017 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1018 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1019 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1020 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1021 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1022 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1023 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1024 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1025 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1026 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1027 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1028 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1029 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1030 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1031 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1032 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1033 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1034 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1035 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1036 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1037 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1038 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1039 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1040 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1041 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1042 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1043 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1044 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1045 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1046 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1047 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1048 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1049 (R_ARM_THM_GOT_BREL12): Likewise.
1050 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1051 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1052 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1053 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1054 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1055 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1056 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1057 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1058 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1060 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1062 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1063 __attribute_used__ to __attribute__ ((unused)).
1065 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1067 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1073 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1076 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1078 (ENTER): Remove both macro definitions.
1080 (CHECK_BOUNDS_LOW): Likewise.
1081 (CHECK_BOUNDS_HIGH): Likewise.
1082 (CHECK_BOUNDS_BOTH): Likewise.
1083 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1084 (RETURN_BOUNDED_POINTER): Likewise.
1085 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1086 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1087 (POP_ERRNO_LOCATION_RETURN): Likewise.
1088 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1089 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1090 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1092 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1093 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1094 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1095 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1096 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1097 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1098 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1099 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1100 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1101 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1102 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1103 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1104 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1105 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1107 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1108 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1110 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1111 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1112 * sysdeps/i386/i586/memset.S (memset): Likewise.
1113 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1114 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1115 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1117 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1118 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1119 Change uses of L(2) to L(out).
1120 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1121 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1122 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1123 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1124 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1126 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1127 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1129 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1130 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1131 (RETURN): Do not use macro LEAVE.
1132 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1133 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1134 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1135 * sysdeps/i386/i686/memset.S (memset): Likewise.
1136 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1137 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1138 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1139 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1141 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1142 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1143 L(1_2) and L(1_3) into L(1).
1144 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1145 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1146 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1147 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1148 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1149 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1150 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1151 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1152 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1154 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1155 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1156 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1157 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1158 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1159 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1160 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1161 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1162 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1163 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1164 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1165 * sysdeps/i386/strspn.S (strspn): Likewise.
1166 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1168 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1169 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1170 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1171 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1173 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1174 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1175 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1179 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1181 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1184 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1186 * math/atest-exp.c (exp_mpn): Remove ROUND.
1187 * math/atest-exp2.c (exp_mpn): Likewise.
1188 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1190 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1191 * stdlib/tst-tls-atexit-lib.c: Likewise.
1192 * stdlib/tst-tls-atexit.c: Likewise.
1194 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1196 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1197 and __attribute_alloc_size__.
1199 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1201 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1202 __attribute_alloc_size__.
1203 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1204 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1206 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1208 * include/programs/xmalloc.h: New file.
1209 * catgets/gencat.c: Include it.
1210 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1211 * elf/pldd.c: Likewise.
1212 * iconv/iconv_charmap.c: Likewise.
1213 * iconv/iconvconfig.c: Likewise.
1214 * iconv/strtab.c: Likewise.
1215 * locale/programs/locale.c: Likewise.
1216 * locale/programs/localedef.h: Likewise.
1217 * locale/programs/simple-hash.c: Likewise.
1218 * nscd/nscd.h: Likewise.
1219 * nss/makedb.c: Likewise.
1220 * sysdeps/generic/ldconfig.h: Likewise.
1222 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1224 * Versions.def: Add GLIBC_2.18.
1225 * include/link.h (struct link_map): New member l_tls_dtor_count.
1226 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1227 (__call_tls_dtors): Likewise.
1228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1229 __cxa_thread_atexit_impl.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1246 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1247 (tests): Add test case tst-tls-atexit.
1248 (modules-names): Add shared library for tst-tls-atexit.
1249 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1250 (GLIBC_PRIVATE): Add __call_tls_dtors.
1251 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1253 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1254 * stdlib/tst-tls-atexit.c: New test case.
1255 * stdlib/tst-tls-atexit-lib.c: New test case.
1257 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1259 * elf/Versions (ld): Add _dl_find_dso_for_object.
1260 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1261 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1262 (dl_open_worker): Use _dl_find_dso_for_object.
1263 * elf/dl-sym.c (do_sym): Likewise.
1264 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1266 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1268 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1269 Syntactic changes only.
1270 (_dl_runtime_profile): Do a tail-call to the resolved function.
1272 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1275 * sysdeps/x86_64/bp-asm.h: Remove file.
1276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1277 <bp-sym.h> and <bp-asm.h>.
1278 (__clone): Do not use BP_SYM.
1279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1280 <bp-sym.h> and <bp-asm.h>.
1281 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1282 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1284 (_setjmp): Do not use BP_SYM.
1285 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1287 (setjmp): Do not use BP_SYM.
1288 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1290 (mempcpy): Do not use BP_SYM in weak_alias.
1291 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1293 (strchr): Do not use BP_SYM.
1294 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1296 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1297 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1298 (_start): Do not use BP_SYM.
1299 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1301 (strcat): Do not use BP_SYM.
1302 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1304 (STRCMP): Do not use BP_SYM.
1305 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1307 (STRCPY): Do not use BP_SYM.
1308 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1310 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1312 (FUNCTION): Do not use BP_SYM.
1313 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1315 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1317 2013-02-17 Andreas Jaeger <aj@suse.de>
1319 * time/Versions: Sort entries.
1320 * string/Versions: Likewise.
1321 * resolv/Versions: Likewise.
1322 * posix/Versions: Likewise.
1323 * iconv/Versions: Likewise.
1324 * elf/Versions: Likewise.
1325 * wcsmbs/Versions: Likewise.
1327 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1329 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1330 loop termination condition.
1332 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1333 variable to calculate EZ.
1336 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1337 the lower precision input.
1339 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1342 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1343 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1344 (run-via-rtld-prefix): Do not handle %-bp tests.
1345 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1346 (all-object-suffixes): Remove .ob.
1347 (bppfx): Remove variable.
1348 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1349 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1350 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1351 [$(build-bounded) = yes] (libtype.ob): Likewise.
1352 * Makerules (elide-routines.ob): Remove variable.
1353 (do-tests-clean): Do not handle *-bp.out.
1354 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1355 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1356 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1357 (tests): Do not include $(tests-bp.out).
1358 (xtests): Do not include $(xtests-bp.out).
1359 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1360 [$(build-bounded) = yes] ($(addprefix
1361 $(objpfx),$(binaries-bounded))): Remove rule.
1362 ($(objpfx)%-bp.out): Remove rule.
1363 * config.make.in (build-bounded): Remove variable.
1364 * crypt/Makefile [$(build-bounded) = yes]
1365 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1366 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1368 [$(build-bounded) = yes] (install-lib): Likewise.
1369 [$(build-bounded) = yes] (generated): Likewise.
1370 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1372 * intl/Makefile [$(build-bounded) = yes]
1373 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1374 * math/Makefile [$(build-bounded) = yes]
1375 ($(tests:%=$(objpfx)%-bp): Likewise.
1376 * misc/Makefile [$(build-bounded) = yes]
1377 ($(objpfx)tst-tsearch-bp): Likewise.
1378 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1379 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1381 * string/Makefile (o-objects.ob): Remove variable.
1382 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1383 (CFLAGS-.ob): Remove variable.
1384 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1385 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1386 both definitions of variable.
1387 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1388 (ASFLAGS-.ob): Remove variable.
1390 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1393 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1394 Remove __BOUNDED_POINTERS__ from condition.
1395 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1396 * string/bits/string2.h [!__NO_STRING_INLINES &&
1397 !__BOUNDED_POINTERS__]: Likewise.
1398 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1400 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1401 Remove conditional code.
1402 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1403 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1404 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1408 * csu/libc-start.c: Do not include <bp-sym.h>.
1409 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1410 * elf/dl-open.c: Do not include <bp-sym.h>.
1411 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1412 * math/fegetenv.c: Do not include <bp-sym.h>.
1413 (fegetenv): Do not use BP_SYM in versioned symbols.
1414 * nptl/sysdeps/pthread/bits/libc-lockP.h
1415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1418 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1420 (__pthread_mutex_destroy): Likewise.
1421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1422 (__pthread_mutex_lock): Likewise.
1423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1424 (__pthread_mutex_trylock): Likewise.
1425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1426 (__pthread_mutex_unlock): Likewise.
1427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1428 (__pthread_mutexattr_init): Likewise.
1429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1430 (__pthread_mutexattr_destroy): Likewise.
1431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1432 (__pthread_mutexattr_settype): Likewise.
1433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1434 (__pthread_rwlock_init): Likewise.
1435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1436 (__pthread_rwlock_destroy): Likewise.
1437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1438 (__pthread_rwlock_rdlock): Likewise.
1439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1440 (__pthread_rwlock_tryrdlock): Likewise.
1441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1442 (__pthread_rwlock_wrlock): Likewise.
1443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1444 (__pthread_rwlock_trywrlock): Likewise.
1445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1446 (__pthread_rwlock_unlock): Likewise.
1447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1448 (__pthread_key_create): Likewise.
1449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1450 (__pthread_setspecific): Likewise.
1451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1452 (__pthread_getspecific): Likewise.
1453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1456 (_pthread_cleanup_push_defer): Likewise.
1457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1458 (_pthread_cleanup_pop_restore): Likewise.
1459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1460 (pthread_setcancelstate): Likewise.
1461 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1463 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1464 (memchr): Do not use BP_SYM in weak_alias.
1465 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1466 (fegetenv): Do not use BP_SYM in versioned symbols.
1467 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1468 (fesetenv): Do not use BP_SYM in versioned symbols.
1469 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1470 (feupdateenv): Do not use BP_SYM in versioned symbols.
1471 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1472 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1473 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1474 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1475 (open64): Do not use BP_SYM in weak_alias.
1476 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1477 (fegetenv): Do not use BP_SYM in versioned symbols.
1478 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1479 (fesetenv): Do not use BP_SYM in versioned symbols.
1480 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1481 (feupdateenv): Do not use BP_SYM in versioned symbols.
1482 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1483 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1484 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1485 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1486 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1487 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1488 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1490 (__libc_start_main): Do not use BP_SYM.
1492 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1495 redundant return line.
1499 (sub_magnitudes): Likewise.
1505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1509 (sub_magnitudes): Likewise.
1516 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1519 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1522 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1523 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1525 of __mul for squares.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1530 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1531 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1533 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1536 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1538 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1539 prototype or function definition. Rename ubp_* variables and
1540 parameters. Remove argv definitions conditional on
1541 [__BOUNDED_POINTERS__].
1542 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1543 * elf/dl-runtime.c (_dl_fixup): Likewise.
1544 * include/set-hooks.h (RUN_HOOK): Likewise.
1545 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1547 * string/strcpy.c (strcpy): Do not use __unbounded.
1548 * sysdeps/generic/frame.h (struct layout): Likewise.
1549 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1550 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1551 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1552 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1553 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1554 (__backtrace): Likewise.
1555 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1557 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1558 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1559 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1561 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1562 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1563 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1564 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1565 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1566 Do not use __unbounded.
1567 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1568 Rename __unboundedrlimits parameter to rlimits in prototype.
1569 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1570 Do not use __unbounded.
1571 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1573 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1574 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1575 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1576 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1577 __ptrvalue or __unbounded.
1578 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1579 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1581 (__new_msgctl): Do not use __ptrvalue.
1582 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1584 (__libc_msgrcv): Do not use __ptrvalue.
1585 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1586 startup_info): Do not use __unbounded.
1587 (__libc_start_main): Likewise. Rename ubp_* variables and
1588 parameters. Remove argv definitions conditional on
1589 [__BOUNDED_POINTERS__].
1590 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1592 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1594 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1596 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1598 (__new_shmctl): Do not use __ptrvalue.
1599 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1600 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1602 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1604 (__libc_sigaction): Likewise.
1605 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1608 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1610 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1612 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1614 * string/mempcpy.c: Implement by calling memcpy.
1616 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1623 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1624 values in the mantissa.
1626 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1627 minimize writes to Z.
1628 (sub_magnitudes): Simplify code a bit.
1630 2013-02-12 Roland McGrath <roland@hack.frob.com>
1632 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1633 from the message. The linker prefixes all warnings with that already.
1635 2013-02-12 Andreas Schwab <schwab@suse.de>
1638 * posix/regexec.c (extend_buffers): Add parameter min_len.
1639 (check_matching): Pass minimum needed length.
1640 (clean_state_log_if_needed): Likewise.
1641 (get_subexp): Likewise.
1642 * posix/Makefile (tests): Add bug-regex34.
1643 (bug-regex34-ENV): Define.
1644 * posix/bug-regex34.c: New file.
1647 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1648 elements compare against the byte sequence of it, not its name.
1649 * posix/Makefile (tests): Add bug-regex35.
1650 (bug-regex35-ENV): Define.
1651 * posix/bug-regex35.c: New file.
1653 2013-02-11 Tom de Vries <tom@codesourcery.com>
1655 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1657 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1658 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1659 (CHECK_EOL): Add undef.
1661 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1663 * bits/stdlib-bsearch.h: New file.
1664 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1665 * stdlib/stdlib.h: Likewise.
1667 2013-02-11 Roland McGrath <roland@hack.frob.com>
1669 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1670 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1672 * manual/search.texi (Array Search Function): Add missing const in
1674 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1675 declaration to use rlim_t.
1676 (Basic Scheduling Functions): Remove erroneous const from
1677 sched_getparam prototype. Remove erroneous * from
1678 sched_get_priority_max and sched_get_priority_min prototypes.
1679 (Resource Usage): Fix summary @comment on vtimes to refer to
1680 sys/vtimes.h rather than vtimes.h.
1681 Add missing *s in vtimes prototype.
1682 (Limits on Resources): Fix ulimit prototype to return long int.
1683 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1684 prototypes to use long int rather than double.
1685 (BSD Random): Fix initstate and setstate to use char *, not void *.
1686 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1687 prototype to make second argument 'struct aiocb64 *const[]'.
1688 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1689 (Status of AIO Operations): Remove erroneous const in aio_return and
1690 aio_return64 prototypes.
1691 (Synchronizing I/O): Fix sync prototype to return void.
1692 * manual/startup.texi (Suboptions): Remove an erroneous const in
1693 getsubopt prototype.
1694 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1695 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1696 use size_t rather than int.
1697 (Scanning All Users): Likewise for getpwent_r.
1698 (Setting Groups): Add missing const to setgroups prototype.
1699 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1700 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1701 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1702 'const void *' rather than 'const char *'.
1703 (Host Address Functions): Likewise for inet_ntop.
1704 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1705 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1706 ssize_t for return value.
1707 (Sending Data): Likewise for send, sendto, sendmsg.
1708 (Socket Option Functions): Add a missing const in setsockopt prototype.
1709 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1710 use wchar_t for the argument.
1711 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1712 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1714 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1715 double/float/long double for second argument.
1716 Fix return types of significand, significandf, significandl.
1717 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1718 argument in fchmod prototype.
1719 (File Owner): Use uid_t and gid_t in fchown prototype.
1720 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1721 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1722 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1723 use 'const struct dirent **' as argument types to CMP function pointer
1725 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1726 (File Times): Fix summary magic @comment for struct utimbuf and utime
1727 to refer to utime.h, not time.h.
1728 * manual/string.texi (Argz Functions): Add missing const in
1729 argz_extract and argz_next prototypes.
1730 (Finding Tokens in a String): Likewise for basename.
1731 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1732 (Copying and Concatenation): Fix typo in wmemmove prototype.
1733 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1734 (Signal Stack): Remove erroneous const in sigstack prototype.
1735 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1737 (Simple Calendar Time): Likewise for stime.
1738 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1740 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1741 say sys/sysctl.h instead.
1742 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1743 and vsyslog prototypes.
1745 2013-02-11 Tom de Vries <tom@codesourcery.com>
1747 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1750 2013-02-11 Roland McGrath <roland@hack.frob.com>
1752 * misc/sys/mman.h: Fix typo in mremap comment.
1754 2013-02-08 Roland McGrath <roland@hack.frob.com>
1756 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1757 the '\0' terminator.
1759 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1762 * debug/segfault.c: Don't include <bp-checks.h>.
1763 * sysdeps/generic/bp-checks.h: Remove file.
1764 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1765 (__GETDENTS): Don't use CHECK_N.
1766 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1767 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1768 (__getgroups): Don't use CHECK_N.
1769 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1770 (setgroups): Don't use CHECK_N.
1771 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1772 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1773 (__libc_msgrcv): Don't use CHECK_N.
1774 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1775 (__libc_msgsnd): Don't use CHECK_N.
1776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1778 (__libc_pread): Don't use CHECK_N.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1780 include <bp-checks.h>.
1781 (__libc_pread64): Don't use CHECK_N.
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1783 include <bp-checks.h>.
1784 (__libc_pwrite): Don't use CHECK_N.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1786 include <bp-checks.h>.
1787 (__libc_pwrite64): Don't use CHECK_N.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1790 (__libc_pread): Don't use CHECK_N.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1792 include <bp-checks.h>.
1793 (__libc_pread64): Don't use CHECK_N.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1795 include <bp-checks.h>.
1796 (__libc_pwrite): Don't use CHECK_N.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1798 include <bp-checks.h>.
1799 (__libc_pwrite64): Don't use CHECK_N.
1800 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1801 (do_pread): Don't use CHECK_N.
1802 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1803 (do_pread64): Don't use CHECK_N.
1804 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1805 (do_pwrite): Don't use CHECK_N.
1806 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1807 (do_pwrite64): Don't use CHECK_N.
1808 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1809 (__libc_readv): Don't use CHECK_N.
1810 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1811 (semop): Don't use CHECK_N.
1812 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1814 (semtimedop): Don't use CHECK_N.
1815 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1816 (__libc_pread): Don't use CHECK_N.
1817 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1819 (__libc_pread64): Don't use CHECK_N.
1820 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1822 (__libc_pwrite): Don't use CHECK_N.
1823 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1825 (__libc_pwrite64): Don't use CHECK_N.
1826 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1828 (__libc_msgrcv): Don't use CHECK_N.
1829 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1830 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1831 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1832 (__libc_writev): Don't use CHECK_N.
1834 2013-02-08 Roland McGrath <roland@hack.frob.com>
1836 * string/strcpy.c: Removed unused variable.
1838 * Makeconfig (+sysdep-includes): Define with := rather than =.
1839 Use an existing include/ subdir of each sysdeps dir before it.
1841 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1843 * nscd/connection.c (register_traced_file): Comment function.
1844 [HAVE_INOTIFY] (union __inev): Define.
1845 [HAVE_INOTIFY] (inotify_check_files): New function.
1846 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1847 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1849 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1851 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1853 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1854 loaded if not already and that a failure is permanent.
1856 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1859 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1860 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1862 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1865 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1866 (CHECK_1_NULL_OK): Likewise.
1867 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1868 (__fxstat): Do not use CHECK_1.
1869 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1871 (___fxstat64): Do not use CHECK_1.
1872 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1874 (__fxstatat): Do not use CHECK_1.
1875 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1877 (__fxstatat64): Do not use CHECK_1.
1878 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1880 (__fxstat): Do not use CHECK_1.
1881 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1883 (__fxstatat): Do not use CHECK_1.
1884 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1886 (__getresgid): Do not use CHECK_1.
1887 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1889 (__getresuid): Do not use CHECK_1.
1890 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1892 (__lxstat): Do not use CHECK_1.
1893 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1895 (__old_msgctl): Do not use CHECK_1.
1896 (__new_msgctl): Likewise.
1897 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1899 (__new_setrlimit): Do not use CHECK_1.
1900 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1902 (__old_shmctl): Do not use CHECK_1.
1903 (__new_shmctl): Likewise.
1904 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1906 (__xstat): Do not use CHECK_1.
1907 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1908 (__lxstat): Do not use CHECK_1.
1909 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1911 (___lxstat64): Do not use CHECK_1.
1912 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1913 (__old_msgctl): Do not use CHECK_1.
1914 (__new_msgctl): Likewise.
1915 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1917 (__gettimeofday): Do not use CHECK_1.
1918 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1919 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1920 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1922 (__gettimeofday): Do not use CHECK_1.
1923 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1924 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1925 (__new_shmctl): Do not use CHECK_1.
1926 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1928 (do_sigtimedwait): Do not use CHECK_1.
1929 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1931 (do_sigwaitinfo): Do not use CHECK_1.
1932 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1934 (msgctl): Do not use CHECK_1.
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1937 (shmctl): Do not use CHECK_1.
1938 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1939 (ustat): Do not use CHECK_1.
1940 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1942 (__fxstat): Do not use CHECK_1.
1943 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1945 (__fxstatat): Do not use CHECK_1.
1946 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1948 (__lxstat): Do not use CHECK_1.
1949 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1951 (__xstat): Do not use CHECK_1.
1952 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1953 (__xstat): Do not use CHECK_1.
1954 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1955 (___xstat64): Do not use CHECK_1.
1958 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1960 (CHECK_BOUNDS_HIGH): Likewise.
1961 * string/strcpy.c: Do not include <bp-checks.h>.
1962 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1964 2013-02-07 Roland McGrath <roland@hack.frob.com>
1966 * nscd/nscd-client.h (__nscd_drop_map_ref):
1967 Add __attribute__ ((unused)).
1968 * nis/nss-nisplus.h (niserr2nss): Likewise.
1970 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1971 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1973 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1974 Remove inline keyword.
1975 * include/rounding-mode.h (round_away): Likewise.
1976 * libio/wfileops.c (adjust_wide_data): Likewise.
1977 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1978 (__m128i_strloadu_tolower): Likewise.
1979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1980 (__m128i_strloadu_tolower): Likewise.
1981 * time/mktime.c (ydhms_diff): Likewise.
1982 * locale/elem-hash.h (elem_hash): Likewise.
1983 * locale/setlocale.c (setdata): Likewise.
1984 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1985 (re_string_wchar_at): Likewise.
1986 (bitset_not, bitset_merge, bitset_mask): Likewise.
1987 [!(__GNUC__ > 3)] (inline): Remove macro.
1988 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1989 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1990 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1991 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1992 * string/memcmp.c (memcmp_bytes): Likewise.
1993 * locale/programs/locarchive.c (compute_hashval): Likewise.
1994 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1995 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1996 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1997 * nss/getent.c (print_rpc, print_protocols): Likewise.
1998 (print_passwd, print_group, print_aliases): Likewise.
1999 * nis/nss-nisplus.h (niserr2nss): Likewise.
2000 * nscd/connections.c (restart_p): Likewise.
2001 Change return type to bool.
2003 2013-02-05 Roland McGrath <roland@hack.frob.com>
2005 * Makeconfig (all-Depend-files): Add existing
2006 $(sorted-subdirs:=/Depend) files.
2007 (all-subdirs): Remove nss.
2008 * sysdeps/unix/inet/Subdirs: Add it here instead.
2009 * hesiod/Depend: New file.
2011 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2012 instead of calling alloca.
2014 * io/lseek.c (__lseek): Rename to __libc_lseek.
2015 Define __lseek as an alias.
2017 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2019 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2021 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2022 else clause and remove check for non-standard endianness.
2024 2013-02-04 David S. Miller <davem@davemloft.net>
2026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2028 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2031 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2032 (__ubp_memchr): Remove prototype.
2033 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2034 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2035 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2036 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2037 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2039 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2040 (__ubp_memchr): Likewise.
2041 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2042 (__ubp_memchr): Likewise.
2043 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2044 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2045 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2046 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2048 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2049 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2050 (__getcwd): Do not use CHECK_STRING.
2051 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2053 (__real_chown): Do not use CHECK_STRING.
2054 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2056 (fchownat): Do not use CHECK_STRING.
2057 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2059 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2061 (__lchown): Do not use CHECK_STRING.
2062 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2063 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2064 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2065 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2067 include <bp-checks.h>.
2068 (truncate64): Do not use CHECK_STRING.
2069 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2071 (__real_chown): Do not use CHECK_STRING.
2072 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2074 (__lchown): Do not use CHECK_STRING.
2075 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2077 (__chown): Do not use CHECK_STRING.
2078 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2080 (truncate64): Do not use CHECK_STRING.
2081 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2083 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2084 (__xmknod): Do not use CHECK_STRING.
2085 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2087 (__xmknodat): Do not use CHECK_STRING.
2088 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2089 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2091 2013-02-04 Andreas Schwab <schwab@suse.de>
2094 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2095 * include/netdb.h: Likewise for h_errno.
2096 * elf/tst-stackguard1.c: Include <tls.h>.
2098 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2100 * elf/link.h (struct link_map): Extend the l_addr comment.
2101 * include/link.h (struct link_map): Likewise.
2103 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2106 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2107 (BOUNDED_1): Remove macro.
2108 * debug/backtrace.c: Don't include <bp-checks.h>.
2109 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2110 (__backtrace): Likewise.
2111 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2113 (__backtrace): Don't use BOUNDED_1.
2114 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2116 (__backtrace): Don't use BOUNDED_1.
2117 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2118 (__backtrace): Don't use BOUNDED_1.
2119 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2120 (shmat): Don't use BOUNDED_N.
2122 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2125 * sysdeps/generic/bp-start.h: Remove file.
2126 * csu/libc-start.c: Don't include <bp-start.h>.
2127 (LIBC_START_MAIN): Set up __environ directly instead of using
2128 INIT_ARGV_and_ENVIRON.
2129 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2133 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2135 (CHECK_FCNTL): Likewise.
2136 (CHECK_N_PAGES): Likewise.
2139 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2141 (CHECK_SIGSET_NULL_OK): Likewise.
2142 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2144 (sigpending): Don't use CHECK_SIGSET.
2145 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2147 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2148 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2150 (do_sigsuspend): Don't use CHECK_SIGSET.
2151 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2153 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2154 (do_sigwait): Don't use CHECK_SIGSET.
2155 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2157 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2158 include <bp-checks.h>.
2159 (sigpending): Don't use CHECK_SIGSET.
2160 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2161 include <bp-checks.h>.
2162 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2163 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2165 (sigpending): Don't use CHECK_SIGSET.
2166 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2168 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2171 * sysdeps/generic/bp-semctl.h: Remove file.
2172 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2173 <bp-checks.h> and <bp-semctl.h>.
2174 (__old_semctl): Don't use CHECK_SEMCTL.
2175 (__new_semctl): Likewise.
2176 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2178 (__old_semctl): Don't use CHECK_SEMCTL.
2179 (__new_semctl): Likewise.
2180 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2181 <bp-checks.h> and <bp-semctl.h>.
2182 (__old_semctl): Don't use CHECK_SEMCTL.
2183 (__new_semctl): Likewise.
2184 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2185 <bp-checks.h> and <bp-semctl.h>.
2186 (semctl): Don't use CHECK_SEMCTL.
2189 * Makerules (elide-bp-thunks): Remove variable.
2190 (elide-routines.oS): Don't use $(elide-bp-thunks).
2191 (elide-routines.os): Likewise.
2192 (elide-routines.o): Likewise.
2193 (elide-routines.op): Likewise.
2194 (elide-routines.og): Likewise.
2195 (objects): Don't use $(bp-thunks).
2196 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2198 (common-generated): Do not add s-proto-bp.d.
2199 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2202 Do not generate makefile rules for bounded-pointer thunks.
2203 * sysdeps/generic/bp-thunks.h: Remove file.
2204 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2205 * sysdeps/unix/s-proto-bp.S: Likewise.
2208 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2209 parts of result separately when argument is not close to line from
2210 -i to i and one part of argument is small.
2211 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2212 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2213 * math/libm-test.inc (cacos_test): Add more tests.
2214 (casin_test): Likewise.
2215 (casinh_test): Likewise.
2216 * sysdeps/i386/fpu/libm-test-ulps: Update.
2217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2219 2013-01-31 David S. Miller <davem@davemloft.net>
2221 * po/de.po: Update from translation team.
2223 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2225 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2227 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2229 * configure.in (_AC_PROG_CC_C89): New definition.
2230 * configure: Regenerate.
2232 * configure.in (AC_PROG_CPP): New definition.
2233 * configure: Regenerate.
2235 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2237 * debug/tst-backtrace.h: New file.
2238 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2239 (ret): Remove variable.
2241 (FAIL): Remove macro.
2242 (NO_INLINE): Likewise.
2243 (fn1): Use match function instead of strstr.
2244 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2245 (ret): Remove variable.
2247 (FAIL): Remove macro.
2248 (NO_INLINE): Likewise.
2249 (fn): Use match function instead of strstr.
2250 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2251 (ret): Remove variable.
2253 (FAIL): Remove macro.
2254 (NO_INLINE): Likewise.
2255 (handle_signal): Use match function instead of strstr.
2256 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2257 (ret): Remove variable.
2259 (FAIL): Remove macro.
2260 (NO_INLINE): Likewise.
2261 (handle_signal): Use match function instead of strstr.
2263 2013-01-23 Roland McGrath <roland@hack.frob.com>
2265 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2267 2013-01-23 David S. Miller <davem@davemloft.net>
2269 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2270 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2271 argument of CAS if possible.
2272 * sysdeps/sparc/sparc64/bits/atomic.h
2273 (__arch_compare_and_exchange_val_32_acq): Likewise.
2274 (__arch_compare_and_exchange_val_64_acq): Likewise.
2276 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2278 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2279 * sysdeps/posix/ulimit.c: ... this.
2281 * sysdeps/unix/bsd/ulimit.c: Remove file.
2283 2013-01-23 Adam Conrad <adconrad@0c3.net>
2285 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2286 (LDFLAGS-tst-array5): Likewise.
2288 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2291 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2292 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2293 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2294 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2296 2013-01-21 David S. Miller <davem@davemloft.net>
2298 * sysdeps/sparc/backtrace.c: New file.
2299 * sysdeps/sparc/sparc32/backtrace.h: New file.
2300 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2301 * sysdeps/sparc/sparc64/backtrace.h: New file.
2302 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2303 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2306 2013-01-21 Andreas Schwab <schwab@suse.de>
2309 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2312 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2318 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2319 Mark Mitchell <mark@codesourcery.com>
2320 Tom de Vries <tom@codesourcery.com>
2321 Paul Pluzhnikov <ppluzhnikov@google.com>
2323 * debug/tst-backtrace2.c: New file.
2324 * debug/tst-backtrace3.c: Likewise.
2325 * debug/tst-backtrace4.c: Likewise.
2326 * debug/tst-backtrace5.c: Likewise.
2327 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2328 (CFLAGS-tst-backtrace3.c): Likewise.
2329 (CFLAGS-tst-backtrace4.c): Likewise.
2330 (CFLAGS-tst-backtrace5.c): Likewise.
2331 (LDFLAGS-tst-backtrace2): Likewise.
2332 (LDFLAGS-tst-backtrace3): Likewise.
2333 (LDFLAGS-tst-backtrace4): Likewise.
2334 (LDFLAGS-tst-backtrace5): Likewise.
2335 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2336 tst-backtrace4 and tst-backtrace5.
2338 2013-01-18 Anton Blanchard <anton@samba.org>
2339 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2341 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2342 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2343 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2344 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2346 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2347 "+r" and remove output regs list as redundant. Add explicit inline
2348 asm to specify register of return val to work around compiler codegen
2349 bug. Remove (int) cast on return value. Add return type parameter to
2350 use in macro so that this macro does not truncate return value for
2352 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2353 pass to INTERNAL_VSYSCALL_NCS.
2354 (INLINE_VSYSCALL): Add 'long int' as return type to
2355 INTERNAL_VSYSCALL_NCS macro invocation.
2356 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2357 INTERNAL_VSYSCALL_NCS macro invocation.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2360 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2363 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2364 Fix application of SIMD FP exception mask.
2366 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2367 mp_no from a power of two.
2368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2369 __mpexp_twomm1. Use __pow_mp.
2371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2374 2013-01-17 David S. Miller <davem@davemloft.net>
2376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2378 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2381 * include/complex.h: Condition contents on [!_COMPLEX_H].
2382 (__kernel_casinhf): New prototype.
2383 (__kernel_casinh): Likewise.
2384 (__kernel_casinhl): Likewise.
2385 * math/Makefile (libm_calls): Add k_casinh.
2386 * math/k_casinh.c: New file.
2387 * math/k_casinhf.c: Likewise.
2388 * math/k_casinhl.c: Likewise.
2389 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2390 finite nonzero arguments.
2391 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2392 finite nonzero arguments.
2393 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2394 finite nonzero arguments.
2395 * math/s_casinh.c: Do not include <float.h>.
2396 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2397 * math/s_casinhf.c: Do not include <float.h>.
2398 (__casinhf): Move code for finite nonzero arguments to
2400 * math/s_casinhl.c: Do not include <float.h>.
2401 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2403 (__casinhl): Move code for finite nonzero arguments to
2405 * math/libm-test.inc (cacos_test): Add more tests.
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2409 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2411 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2412 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2413 [!HAVE_MREMAP]: Remove [defined linux] case.
2414 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2416 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2418 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2420 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2422 * elf/elf.h (R_386_SIZE32): New relocation.
2423 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2425 (elf_machine_rela): Likewise.
2426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2427 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2429 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2431 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2432 (FP_FAST_FMA): Do not define.
2433 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2434 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2435 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2436 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2437 !_SOFT_FLOAT]: Likewise.
2438 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2442 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2443 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2444 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2445 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2446 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2449 2013-01-16 Andreas Schwab <schwab@suse.de>
2452 * include/stdlib.h (__mktemp): Add declaration.
2453 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2454 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2456 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2458 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2460 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2461 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2462 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2464 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2465 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2467 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2469 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2470 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2473 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2474 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2476 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2478 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2480 2013-01-15 David S. Miller <davem@davemloft.net>
2482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2483 trunc{,f} to libm-sysdep_routes.
2484 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2495 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2496 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2497 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2499 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2502 nearbyint{,f} to libm-sysdep_routes.
2503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2516 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2520 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2521 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2523 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2524 libc_feholdexcept and libc_fesetenv.
2526 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2528 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2530 2013-01-14 David S. Miller <davem@davemloft.net>
2532 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2533 (SPARC_ASM_VIS2_IFUNC): Likewise.
2534 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2536 use of 'siam' instruction.
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2570 routines to libm-sysdep_routines.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2574 fdim/fdimf to libm-sysdep_routines.
2575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2583 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2584 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2585 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2586 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2588 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2590 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2593 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2598 local variable MPTWO.
2599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2602 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2604 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2607 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2609 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2611 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2613 * manual/pattern.texi (glob_t): Document gl_flags.
2614 (glob64_t): Likewise.
2616 2013-01-11 David S. Miller <davem@davemloft.net>
2618 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2619 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2620 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2621 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2622 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2623 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2624 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2625 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2626 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2627 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2628 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2629 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2630 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2632 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2633 sparc V9 rather than using V8 code.
2634 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2635 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2637 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2639 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2642 2013-01-11 Roland McGrath <roland@hack.frob.com>
2644 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2645 not in the main loop.
2646 * configure: Regenerated.
2648 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2650 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2651 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2653 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2654 [!__GLIBC_HAVE_LONG_LONG] case.
2655 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2656 condition to just #else.
2657 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2658 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2659 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2660 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2662 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2663 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2664 #elif condition to just #else.
2665 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2666 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2667 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2668 #elif condition to just #else.
2670 2013-01-11 Steve Ellcey <sellcey@mips.com>
2672 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2673 (EF_MIPS_ARCH_64): Fix value.
2674 (EF_MIPS_ARCH_32R2): New.
2675 (EF_MIPS_ARCH_64R2): New.
2677 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2679 * Makeconfig (+link-pie-before-libc): New.
2680 (+link-pie-after-libc): Likewise.
2681 (+link-pie-tests): Likewise.
2682 (+link-pie): Rewritten.
2683 (link-before-libc): Remove $(config-LDFLAGS).
2684 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2685 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2686 (config-LDFLAGS): Renamed to ...
2687 (rtld-LDFLAGS): This.
2688 (rtld-tests-LDFLAGS): New macro.
2689 (link-libc-rpath-link): Likewise.
2690 (link-libc-tests-rpath-link): Likewise.
2691 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2692 (link-libc): Prepand $(link-libc-rpath-link).
2693 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2694 (test-program-prefix): New macro.
2695 (test-via-rtld-prefix): Likewise.
2696 (test-program-cmd): Likewise.
2697 (host-test-program-cmd): Likewise.
2698 * Makefile ($(common-objpfx)testrun.sh): Replace
2699 $(run-program-prefix) with $(test-program-prefix).
2700 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2702 ($(common-objpfx)shlib.lds): Likewise.
2703 (build-module-helper): Likewise.
2704 ($(common-objpfx)format.lds): Likewise.
2705 * Rules (binaries-pie-tests): New.
2706 (binaries-pie-notests): Likewise.
2707 (binaries-pie): Rewritten.
2708 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2709 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2710 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2711 (make-test-out): Replace $(host-built-program-cmd) with
2712 $(host-test-program-cmd).
2713 * config.make.in (build-hardcoded-path-in-tests): New variable.
2714 * configure.in (--enable-hardcoded-path-in-tests): New configure
2716 (hardcoded_path_in_tests): New AC_SUBST.
2717 * configure: Regenerated.
2718 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2719 $(built-program-cmd) with $(test-program-cmd).
2720 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2721 (test_program_cmd): This.
2722 * elf/Makefile ($(objpfx)order.out): Run test with
2723 $(test-program-prefix).
2724 ($(objpfx)order2.out): Likewise.
2725 ($(objpfx)tst-initorder.out): Likewise.
2726 ($(objpfx)tst-initorder2.out): Likewise.
2727 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2728 $(test-program-cmd).
2729 ($(objpfx)tst-array1-static.out): Likewise.
2730 ($(objpfx)tst-array2.out): Likewise.
2731 ($(objpfx)tst-array3.out): Likewise.
2732 ($(objpfx)tst-array4.out): Likewise.
2733 ($(objpfx)tst-array5.out): Likewise.
2734 ($(objpfx)tst-array5-static.out): Likewise.
2735 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2736 $(test-program-cmd).
2737 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2738 $(run-program-prefix) with $(test-program-prefix).
2739 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2740 (test_program_prefix): This.
2741 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2742 $(run-program-prefix) with $(test-program-prefix).
2743 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2744 (test_program_prefix): This.
2745 * iconvdata/tst-tables.sh: Likewise.
2746 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2747 $(run-program-prefix) with $(test-program-prefix).
2748 ($(objpfx)tst-translit.out): Likewise.
2749 ($(objpfx)tst-gettext2.out): Likewise.
2750 ($(objpfx)tst-gettext4.out): Likewise.
2751 ($(objpfx)tst-gettext6.out): Likewise.
2752 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2753 (test_program_prefix): This.
2754 * intl/tst-gettext2.sh: Likewise.
2755 * intl/tst-gettext4.sh Likewise.
2756 * intl/tst-gettext6.sh: Likewise.
2757 * intl/tst-translit.sh: Likewise.
2758 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2759 with $(test-program-cmd).
2760 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2761 $(run-program-prefix) with $(test-program-prefix).
2762 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2763 (test_program_prefix): This.
2764 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2765 $(run-program-prefix) with $(test-program-prefix).
2766 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2767 (test_program_prefix): This.
2768 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2769 * posix/Makefile ($(objpfx)globtest.out): Replace
2770 $(run-via-rtld-prefix) and $(test-wrapper) with
2771 $(test-program-prefix) and $(test-via-rtld-prefix).
2772 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2773 $(test-program-prefix).
2774 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2775 $(host-test-program-cmd).
2776 (tst-spawn-ARGS): Likewise.
2777 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2778 $(test-program-prefix).
2779 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2780 (test_via_rtld_prefix): This.
2781 (test_wrapper): Renamed to ...
2782 (test_program_prefix): This.
2783 (run_program_prefix): Replaced by test_program_prefix.
2784 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2785 (test_program_prefix): This.
2786 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2787 with $(host-test-program-cmd).
2788 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2789 $(run-program-prefix) with $(test-program-prefix).
2790 ($(objpfx)tst-printf.out): Likewise.
2791 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2792 $(test-program-cmd).
2793 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2794 (test_program_prefix): This.
2795 * stdio-common/tst-unbputc.sh: Likewise.
2796 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2797 $(run-program-prefix) with $(test-program-prefix).
2798 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2799 (test_program_prefix): This.
2800 * string/Makefile ($(objpfx)tst-svc.out): Replace
2801 $(built-program-cmd) with $(test-program-cmd).
2803 2013-01-11 Andreas Jaeger <aj@suse.de>
2806 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2807 value. Sync with Linux 3.7.
2809 2013-01-10 David S. Miller <davem@davemloft.net>
2811 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2812 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2813 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2815 2013-01-10 Roland McGrath <roland@hack.frob.com>
2817 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2819 * configure: Regenerated.
2821 2013-01-10 David S. Miller <davem@davemloft.net>
2823 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2824 sparc V9 rather than using V8 code.
2825 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2826 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2828 2013-01-10 Roland McGrath <roland@hack.frob.com>
2830 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2831 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2832 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2833 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2834 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2835 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2836 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2837 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2838 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2839 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2840 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2841 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2842 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2843 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2844 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2845 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2846 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2847 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2848 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2849 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2850 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2851 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2852 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2853 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2854 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2855 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2856 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2858 2013-01-10 David S. Miller <davem@davemloft.net>
2860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2862 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2864 * posix/Makefile (tests-static): New variable.
2865 (tests): Add $(tests-static).
2866 (tst-exec-static-ARGS): New variable.
2867 (tst-spawn-static-ARGS): Likewise.
2868 * posix/tst-exec-static.c: New file.
2869 * posix/tst-spawn-static.c: Likewise.
2870 * posix/tst-exec.c: Support run directly.
2871 * posix/tst-spawn.c: Likewise.
2873 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2875 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2877 * math/bits/mathcalls.h (llrint): Likewise.
2878 (llround): Likewise.
2879 * stdlib/stdlib.h (struct drand48_data): Likewise.
2880 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2881 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2884 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2886 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2887 (elf_greg_t): Likewise.
2888 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2889 (__jmp_buf): Likewise.
2890 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2892 (llrint): Likewise, for all definitions.
2893 (llrintl): Likewise.
2895 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2896 Remove [__GNUC__] condition.
2897 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2898 condition to just [__USE_ISOC99].
2899 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2901 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2904 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2905 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2907 (_POSIX_V6_ILP32_OFF32): Likewise.
2908 (_XBS5_ILP32_OFF32): Likewise.
2909 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2910 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2912 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2914 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2916 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2917 doubles __mpexp_twomm1. Adjust usage.
2918 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2921 2013-01-10 Andreas Schwab <schwab@suse.de>
2924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2925 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2927 2013-01-09 David S. Miller <davem@davemloft.net>
2930 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2931 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2932 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2933 TCP_FASTOPEN): Define.
2934 (tcp_repair_opt): New structure.
2935 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2937 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2938 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2939 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2940 (tcp_cookie_transactions): New structure.
2942 2013-01-09 Anton Blanchard <anton@samba.org>
2944 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2945 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2946 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2949 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2951 * include/features.h (__USE_ANSI): Remove.
2953 2013-01-09 Roland McGrath <roland@hack.frob.com>
2955 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2957 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2959 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2961 * sysdeps/s390/fpu/libm-test-ulps: Update.
2963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2965 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2970 (__mp_dbl): Likewise.
2971 (__dbl_mp): Likewise.
2972 (add_magnitudes): Likewise.
2973 (sub_magnitudes): Likewise.
2979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2984 (__mp_dbl): Likewise.
2985 (__dbl_mp): Likewise.
2986 (add_magnitudes): Likewise.
2987 (sub_magnitudes): Likewise.
2993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2998 (__mp_dbl): Likewise.
2999 (__dbl_mp): Likewise.
3000 (add_magnitudes): Likewise.
3001 (sub_magnitudes): Likewise.
3008 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3010 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3011 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3012 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3013 2 && __USE_EXTERN_INLINES]: Likewise.
3015 2013-01-08 Andreas Jaeger <aj@suse.de>
3018 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3020 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3021 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3023 2013-01-07 Anton Blanchard <anton@samba.org>
3025 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3026 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3027 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3028 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3029 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3030 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3031 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3032 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3034 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3037 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3038 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3039 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3041 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3042 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3043 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3046 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3048 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3049 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3050 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3052 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3053 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3054 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3055 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3059 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3060 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3061 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3062 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3064 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3067 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3069 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3071 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3072 (__MALLOC_PMT): Likewise.
3073 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3074 [__GNUC__], only on [_LIBC].
3075 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3076 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3077 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3078 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3079 forward declaration.
3080 (realloc_hook_ini): Likewise.
3081 (memalign_hook_ini): Likewise.
3082 (__libc_memalign): Do not use __MALLOC_PMT in variable
3084 (__libc_valloc): Likewise.
3085 (__libc_pvalloc): Likewise.
3086 (__libc_calloc): Likewise.
3087 (__posix_memalign): Likewise.
3090 * math/s_casinh.c: Include <float.h>.
3091 (__casinh): Do not do computation with squaring and square root
3092 for large arguments.
3093 * math/s_casinhf.c: Include <float.h>.
3094 (__casinhf): Do not do computation with squaring and square root
3095 for large arguments.
3096 * math/s_casinhl.c: Include <float.h>.
3097 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3098 (__casinhl): Do not do computation with squaring and square root
3099 for large arguments.
3100 * math/libm-test.inc (casin_test): Add more tests.
3101 (casinh_test): Likewise.
3102 * sysdeps/i386/fpu/libm-test-ulps: Update.
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3105 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3107 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3108 (__x86_64_raw_data_cache_size): Likewise.
3109 (__x86_64_data_cache_size_half): Likewise.
3110 (__x86_64_raw_data_cache_size_half): Likewise.
3111 (__x86_64_shared_cache_size): Likewise.
3112 (__x86_64_raw_shared_cache_size): Likewise.
3113 (__x86_64_shared_cache_size_half): Likewise.
3114 (__x86_64_raw_shared_cache_size_half): Likewise.
3115 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3117 (__x86_data_cache_size): This.
3118 (__x86_64_raw_data_cache_size): Renamed to ...
3119 (__x86_raw_data_cache_size): This.
3120 (__x86_64_data_cache_size_half): Renamed to ...
3121 (__x86_data_cache_size_half): This.
3122 (__x86_64_raw_data_cache_size_half): Renamed to ...
3123 (__x86_raw_data_cache_size_half): This.
3124 (__x86_64_shared_cache_size): Renamed to ...
3125 (__x86_shared_cache_size): This.
3126 (__x86_64_raw_shared_cache_size): Renamed to ...
3127 (__x86_raw_shared_cache_size): This.
3128 (__x86_64_shared_cache_size_half): Renamed to ...
3129 (__x86_shared_cache_size_half): This.
3130 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3131 (__x86_raw_shared_cache_size_half): This.
3132 * sysdeps/x86_64/memcpy.S: Updated.
3133 * sysdeps/x86_64/memset.S: Likewise.
3134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3135 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3138 2013-01-04 David S. Miller <davem@davemloft.net>
3140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3142 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3144 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3145 1 to avoid redefinition warning.
3146 (__USE_GNU): Don't define.
3147 (init_signaling_nan): Protoize.
3149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3151 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3153 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3155 (__cpymn): Likewise.
3156 (norm): Remove commented code.
3158 (__mp_dbl): Likewise.
3160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3161 (__cpymn): Likewise.
3162 (norm): Remove commented code.
3164 (__mp_dbl): Likewise.
3167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3168 mp_no value for 1.0 and 2.0.
3169 (norm): Use RADIXI instead of radixi.d.
3171 (__mul): Use 0.0 instead of zero.d.
3172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3173 mp_no value for 1.0 and 2.0.
3174 (norm): Use RADIXI instead of radixi.d.
3176 (__mul): Use 0.0 instead of zero.d.
3178 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3181 * math/s_casinh.c (__casinh): Reduce finite argument to first
3182 quadrant then set signs of results at the end.
3183 * math/s_casinhf.c (__casinhf): Likewise.
3184 * math/s_casinhl.c (__casinhl): Likewise.
3185 * math/libm-test.inc (casin_test): Add more tests.
3186 (casinh_test): Likewise.
3187 * sysdeps/i386/fpu/libm-test-ulps: Update.
3188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3190 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3192 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3194 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3196 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3199 (__mp_dbl): Likewise.
3202 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3203 and adjust the header comment.
3205 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3206 variable name from declaration.
3208 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3211 Initialize COMMON_CPUID_INDEX_7 element.
3212 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3213 (CPUID_RTM): Likewise.
3214 (HAS_RTM): Likewise.
3215 (COMMON_CPUID_INDEX_7): New enum.
3217 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3220 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3221 size is zero, record memory as freed.
3223 2013-01-03 Andreas Jaeger <aj@suse.de>
3225 * po/ia.po: Add new Interlingua translation.
3227 2012-01-03 Allan McRae <allan@archlinux.org>
3229 * locale/programs/localedef.c: Fix description of '--posix' flag.
3231 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3233 * NEWS: Update dates in second copyright notice.
3234 * README: Update copyright dates in example.
3235 * manual/libc.texinfo: Update copyright dates.
3236 * scripts/test-installation.pl: Update copyright date in --version
3239 * hurd/ctty-input.c: Fix copyright notice formatting.
3240 * hurd/ctty-output.c: Likewise.
3241 * hurd/dtable.c: Likewise.
3242 * hurd/hurd-raise.c: Likewise.
3243 * hurd/hurdprio.c: Likewise.
3244 * hurd/msgportdemux.c: Likewise.
3245 * misc/sys/file.h: Likewise.
3246 * misc/sys/ioctl.h: Likewise.
3247 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3248 * sysdeps/mach/hurd/chdir.c: Likewise.
3249 * sysdeps/mach/hurd/fchdir.c: Likewise.
3250 * sysdeps/mach/hurd/rename.c: Likewise.
3251 * sysdeps/mach/hurd/rmdir.c: Likewise.
3252 * sysdeps/mach/hurd/seekdir.c: Likewise.
3253 * sysdeps/mach/hurd/setsid.c: Likewise.
3254 * sysdeps/posix/wait3.c: Likewise.
3256 * All files with FSF copyright notices: Update copyright dates
3257 using scripts/update-copyrights.
3258 * intl/plural.c: Regenerated.
3259 * locale/programs/charmap-kw.h: Likewise.
3260 * locale/programs/locfile-kw.h: Likewise.
3262 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3264 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3267 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3268 calculation loop and add branch prediction.
3270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3271 check access beyond bounds of m1np.
3273 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3275 (__inv): Remove local variable MPTWO to use the global
3277 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3278 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3280 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3281 MP3HALFS static const.
3283 2013-01-01 David S. Miller <davem@davemloft.net>
3285 * po/ca.po: Update from translation team.
3287 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3289 * scripts/update-copyrights: New file.
3290 * Makeconfig: Reformat copyright notice.
3291 * ctype/ctype.h: Likewise.
3292 * debug/swprintf_chk.c: Likewise.
3293 * elf/dl-cache.c: Likewise.
3294 * elf/dl-debug.c: Likewise.
3295 * elf/dl-object.c: Likewise.
3296 * grp/initgroups.c: Likewise.
3297 * hurd/Makefile: Likewise.
3298 * hurd/hurd/signal.h: Likewise.
3299 * hurd/hurdfault.c: Likewise.
3300 * hurd/hurdioctl.c: Likewise.
3301 * hurd/hurdlookup.c: Likewise.
3302 * hurd/intr-msg.c: Likewise.
3303 * iconv/gconv_open.c: Likewise.
3304 * libio/swprintf.c: Likewise.
3305 * locale/lc-ctype.c: Likewise.
3306 * locale/nl_langinfo.c: Likewise.
3307 * mach/Machrules: Likewise.
3308 * mach/Makefile: Likewise.
3309 * malloc/obstack.h: Likewise.
3310 * manual/Makefile: Likewise.
3311 * manual/tsort.awk: Likewise.
3312 * misc/bits/stab.def: Likewise.
3313 * nis/nis_print_group_entry.c: Likewise.
3314 * nis/nis_table.c: Likewise.
3315 * nis/nss_compat/compat-pwd.c: Likewise.
3316 * nis/nss_compat/compat-spwd.c: Likewise.
3317 * po/Makefile: Likewise.
3318 * posix/fnmatch.c: Likewise.
3319 * posix/regex.h: Likewise.
3320 * resolv/Makefile: Likewise.
3321 * resolv/nss_dns/dns-network.c: Likewise.
3322 * resolv/res_hconf.c: Likewise.
3323 * scripts/gen-sorted.awk: Likewise.
3324 * soft-fp/soft-fp.h: Likewise.
3325 * stdio-common/printf.h: Likewise.
3326 * stdlib/monetary.h: Likewise.
3327 * stdlib/random.c: Likewise.
3328 * stdlib/random_r.c: Likewise.
3329 * sysdeps/generic/Makefile: Likewise.
3330 * sysdeps/gnu/Makefile: Likewise.
3331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3338 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3341 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3342 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3343 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3344 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3345 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3346 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3352 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3359 * sysdeps/mach/hurd/errnos.awk: Likewise.
3360 * sysdeps/mach/hurd/fork.c: Likewise.
3361 * sysdeps/mach/hurd/getcwd.c: Likewise.
3362 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3363 * sysdeps/mach/hurd/mmap.c: Likewise.
3364 * sysdeps/mach/hurd/utimes.c: Likewise.
3365 * sysdeps/mach/hurd/xmknod.c: Likewise.
3366 * sysdeps/posix/profil.c: Likewise.
3367 * sysdeps/posix/readdir_r.c: Likewise.
3368 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3369 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3370 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3371 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3373 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3374 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3375 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3377 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3378 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3379 * sysdeps/pthread/lio_listio.c: Likewise.
3380 * sysdeps/sparc/dl-procinfo.h: Likewise.
3381 * sysdeps/unix/i386/sysdep.S: Likewise.
3382 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3383 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3384 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3385 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3387 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3388 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3389 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3390 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3391 * sysdeps/wordsize-32/divdi3.c: Likewise.
3392 * time/sys/time.h: Likewise.
3393 * wcsmbs/Makefile: Likewise.
3395 2013-01-01 David S. Miller <davem@davemloft.net>
3397 * po/fr.po: Update from translation team.
3399 * catgets/gencat.c: Update copyright year.
3400 * csu/version.c: Likewise.
3401 * debug/catchsegv.sh: Likewise.
3402 * debug/pcprofiledump.c: Likewise.
3403 * debug/xtrace.sh: Likewise.
3404 * elf/ldconfig.c: Likewise.
3405 * elf/ldd.bash.in: Likewise.
3406 * elf/pldd.c: Likewise.
3407 * elf/sotruss.ksh: Likewise.
3408 * elf/sprof.c: Likewise.
3409 * iconv/iconv_prog.c: Likewise.
3410 * iconv/iconvconfig.c: Likewise.
3411 * locale/programs/locale.c: Likewise.
3412 * locale/programs/localedef.c: Likewise.
3413 * login/programs/pt_chown.c: Likewise.
3414 * malloc/memusage.sh: Likewise.
3415 * malloc/memusagestat.c: Likewise.
3416 * malloc/mtrace.pl: Likewise.
3417 * nscd/nscd.c: Likewise.
3418 * nss/getent.c: Likewise.
3419 * nss/makedb.c: Likewise.
3420 * posix/getconf.c: Likewise.
3422 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3424 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3427 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3429 * math/bits/mathcalls.h (modf): Use __nonnull.
3431 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3433 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3434 (split): Use macro CN instead of the bare value.
3435 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3438 instead of the bare value.
3441 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3445 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3447 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3449 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3450 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3451 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3452 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3454 2012-12-28 Andreas Jaeger <aj@suse.de>
3456 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3457 values are from Linux 3.7.
3459 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3460 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3462 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3464 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3467 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3469 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3470 variables with preprocessor constants.
3471 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3472 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3473 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3475 2012-12-27 Bruno Haible <bruno@clisp.org>
3478 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3481 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3484 and use variable directly.
3485 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3487 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3489 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3490 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3492 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3494 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3495 include directive. Remove local variable MPONE.
3496 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3497 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3498 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3500 2012-12-25 David S. Miller <davem@davemloft.net>
3502 * version.h (RELEASE): Set to "development".
3503 (VERSION): Set to "2.17.90".
3504 * NEWS: Add 2.18 section.
3506 2012-12-21 David S. Miller <davem@davemloft.net>
3508 * po/hr.po: Update from translation team.
3510 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3512 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3514 2012-12-19 Steve Ellcey <sellcey@mips.com>
3516 * NEWS: Mention new memcpy for MIPS.
3518 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3520 * manual/contrib.texi (Contributors): Spelling correction.
3522 2012-12-15 David S. Miller <davem@davemloft.net>
3524 * po/ru.po: Update from translation team.
3526 2012-12-13 David S. Miller <davem@davemloft.net>
3528 * NEWS: Mention IFUNC testsuite enhancements.
3530 * po/pl.po: Update from translation team.
3531 * po/bg.po: Likewise.
3533 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3534 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3536 2012-12-11 David S. Miller <davem@davemloft.net>
3538 * po/sv.po: Update from translation team.
3540 * po/vi.po: Update from translation team.
3542 * po/cs.po: Update from translation team.
3544 * po/de.po: Update from translation team.
3545 * po/eo.po: Likewise.
3546 * po/nl.po: Likewise.
3548 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3551 * manual/argp.texi (Argp Helper Functions): Move node to follow
3555 * manual/conf.texi (Limits on File System Capacity): Mention if
3556 terminating null is included in the max size.
3558 2012-12-10 Andreas Jaeger <aj@suse.de>
3560 * po/cs.po: Update from translation team.
3562 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3564 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3565 void pointer and cast to uintptr_t.
3566 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3568 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3569 * sysdeps/s390/s390-64/memset.S: Likewise.
3571 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3574 * menual/message.texi (Message Translation): Fix typos.
3575 (Helper programs for gettext): Likewise.
3577 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3580 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3583 2012-12-07 David S. Miller <davem@davemloft.net>
3585 * po/libc.pot: Update.
3587 2012-12-07 Richard Henderson <rth@redhat.com>
3590 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3591 normal/normal case to before the switch.
3592 (_FP_DIV): Likewise.
3594 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3595 Mike Frysinger <vapier@gentoo.org>
3597 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3598 check for __NR_fadvise64_64.
3600 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3602 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3603 0, not just to plain "0" as a statement.
3604 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3607 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3609 * NEWS: Use sourceware.org in Bugzilla URL.
3611 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3614 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3616 * stdio-common/tst-put-error.c (do_test): Add newline to the
3617 padded test to ensure flush.
3619 2012-12-05 Jeff Law <law@redhat.com>
3621 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3623 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3625 * README: Don't refer to ports add-on as distributed separately.
3626 Mention AArch64 in list of systems supported in the ports add-on.
3628 * LICENSES: Add more non-FSF copyright and license notices.
3630 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3635 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3636 10000 as width of padded output.
3638 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3640 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3642 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3643 variable LX with __attribute__ ((unused)).
3644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3646 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3647 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3649 with __attribute__ ((unused)).
3651 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3653 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3655 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3657 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3658 (CFLAGS-nldbl-acos.c): New variable.
3659 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3660 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3661 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3662 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3663 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3664 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3665 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3666 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3667 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3668 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3669 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3670 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3671 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3672 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3673 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3674 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3675 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3676 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3677 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3678 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3679 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3680 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3681 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3682 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3683 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3684 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3685 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3686 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3687 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3688 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3689 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3690 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3691 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3692 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3693 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3694 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3695 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3696 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3697 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3698 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3699 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3700 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3701 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3702 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3703 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3704 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3705 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3706 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3707 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3708 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3709 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3710 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3711 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3712 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3713 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3714 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3715 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3716 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3717 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3718 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3719 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3720 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3721 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3722 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3723 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3724 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3725 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3726 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3727 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3728 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3729 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3730 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3731 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3732 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3733 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3734 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3735 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3736 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3737 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3738 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3739 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3740 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3741 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3742 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3743 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3744 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3745 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3746 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3747 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3748 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3749 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3750 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3751 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3752 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3753 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3754 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3755 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3758 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3762 whole low double instead of just low 47 bits when splitting values
3765 2012-12-03 Allan McRae <allan@archlinux.org>
3767 * manual/stdio.texi (Predefined Printf Handlers): Remove
3768 @hsep and @vsep usage.
3770 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3772 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3773 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3775 2012-12-03 Jeff Law <law@redhat.com>
3777 * time/sys/time.h (settimeofday): Do not mark TV argument
3780 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3782 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3783 when currently writing and seek to current position when not.
3784 * libio/Makefile (tests): Remove bug-fclose1.
3785 * libio/bug-fclose1.c: Delete.
3787 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3789 * manual/arith.texi (feenableexcept): Fix typo.
3790 (fedisableexcept): Likewise.
3792 2012-11-30 Roland McGrath <roland@hack.frob.com>
3794 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3795 second, differently-typed declaration, rather than a cast.
3797 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3799 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3800 * include/rpc/svc.h: ... here.
3802 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3805 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3806 depending n and resplen2 to catch cases where answer
3809 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3811 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3812 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3814 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3816 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3818 2012-11-29 Roland McGrath <roland@hack.frob.com>
3820 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3822 2012-11-28 Jeff Law <law@redhat.com>
3825 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3826 dataset_temporary. Track alloca usage into alloca_used.
3827 If dataset is large allocate and release it via malloc/free.
3829 2012-06-04 Florian Weimer <fweimer@redhat.com>
3832 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3834 2012-11-28 David S. Miller <davem@davemloft.net>
3836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3838 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3841 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3842 of pi/2 rounded to nearest to 64 bits.
3843 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3845 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3848 2012-11-28 Jeff Law <law@redhat.com>
3849 Martin Osvald <mosvald@redhat.com>
3852 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3853 * sunrpc/svc.c: Include time.h.
3854 (__svc_accept_failed): New function.
3855 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3856 any reason other than EINTR, call __svc_accept_failed.
3857 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3858 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3860 2012-11-28 Andreas Schwab <schwab@suse.de>
3862 * scripts/abilist.awk: Also handle indirect functions in .opd
3865 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3868 * sysdeps/x86/fpu/powl_helper.c: New file.
3869 * sysdeps/x86/fpu/Makefile: Likewise.
3870 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3872 (__ieee754_powl): Use __powl_helper for finite arguments except
3873 integer exponents below 8.
3874 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3876 (__ieee754_powl): Use __powl_helper for finite arguments except
3877 integer exponents below 8.
3878 * math/libm-test.inc (pow_test): Add more tests and enable some
3879 previously disabled tests.
3880 * sysdeps/i386/fpu/libm-test-ulps: Update.
3881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3883 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3884 Carlos O'Donell <carlos_odonell@mentor.com>
3886 * nss/makedb.c (is_prime): Assert that input is odd and greater
3887 than 4. Note that fact in a comment too.
3888 (next_prime): Add 4 to input.
3890 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3893 * libio/Makefile (tests): Add test case tst-fwrite-error.
3894 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3895 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3896 * libio/tst-fwrite-error.c: New test case.
3898 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3900 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3901 before casting to void *.
3902 * include/libc-internal.h (__pointer_type): New macro.
3903 (__integer_if_pointer_type_sub): Likewise.
3904 (__integer_if_pointer_type): Likewise.
3905 (cast_to_integer): Likewise.
3906 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3907 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3908 before casting to atomic64_t.
3909 (atomic_exchange_acq): Likewise.
3910 (__arch_exchange_and_add_body): Likewise.
3911 (__arch_add_body): Likewise.
3912 (atomic_add_negative): Likewise.
3913 (atomic_add_zero): Likewise.
3915 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3917 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3918 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3919 (add_fdes): Likewise.
3920 (linear_search_fdes): Likewise.
3921 (binary_search_unencoded_fdes): Likewise.
3923 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3925 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3927 2012-11-24 Adam Conrad <adconrad@0c3.net>
3929 * configure.in: Autodetect C++ header directories.
3930 * configure: Regenerated.
3932 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3934 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3936 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3940 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3942 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3943 LDBL_MANT_DIG == 106]: Disable some tests.
3944 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3946 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3951 input for small inputs. Return +/- pi/2 for large inputs.
3952 * math/libm-test.inc (atan_test): Add more tests.
3954 * sysdeps/generic/unwind-dw2-fde-glibc.c
3955 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3956 __attribute__ ((unused)).
3959 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3960 x * y if x and y are nonzero and z is zero.
3963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3964 nonzero exponents with absolute value below 0x1p-117 to +/-
3968 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3969 up arguments below 2**-450, not just those below 2**-500.
3970 * math/libm-test.inc (hypot_test): Add another test.
3973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3974 Return a+b for ratio over 2**120, not 2**60.
3975 * math/libm-test.inc (hypot_test): Add another test.
3977 * math/libm-test.inc (clog_test): Use
3978 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3979 (clog10_test): Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3984 2012-11-22 Andreas Schwab <schwab@suse.de>
3986 * sysdeps/i386/fpu/libm-test-ulps: Update.
3988 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3990 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3991 printf output with newline.
3993 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3996 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3997 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3998 -z nodlopen, -z initfirst and -z execstack support.
3999 * configure: Regenerated.
4001 * elf/elf.h (DF_1_NODIRECT): New macro.
4002 (DF_1_IGNMULDEF): Likewise.
4003 (DF_1_NOKSYMS): Likewise.
4004 (DF_1_NOHDR): Likewise.
4005 (DF_1_EDITED): Likewise.
4006 (DF_1_NORELOC): Likewise.
4007 (DF_1_SYMINTPOSE): Likewise.
4008 (DF_1_GLOBAUDIT): Likewise.
4009 (DF_1_SINGLETON): Likewise.
4010 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4011 DT_1_SUPPORTED_MASK bits.
4012 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4014 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4016 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4018 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4020 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4023 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4024 (sendmmsg): Move declarations...
4025 * socket/sys/socket.h: ... here.
4026 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4027 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4029 * socket/recvmmsg.c: ... this new file.
4030 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4031 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4032 definition of __sendmmsg hidden.
4033 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4034 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4035 Move ENOSYS stub into and include it from...
4036 * socket/sendmmsg.c: ... this new file.
4037 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4038 (sysdep_routines): Move recvmmsg and sendmmsg...
4039 * socket/Makefile (routines): ... here.
4040 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4041 (GLIBC_PRIVATE): Add __sendmmsg.
4042 * include/sys/socket.h (__sendmmsg): Add declarations.
4043 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4046 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4048 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4049 variable I1 with __attribute__ ((unused)).
4050 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4052 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4054 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4055 DUMMY variables with __attribute__ ((unused)).
4057 * bits/byteswap.h: Include <bits/types.h>.
4058 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4060 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4062 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4063 string_t. Do not manually set errno.
4064 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4065 length with __strnlen. Make sure to both set errno and return it on
4068 2012-11-19 David S. Miller <davem@davemloft.net>
4070 With help from Joseph Myers.
4071 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4072 very large arguments properly.
4073 * math/libm-test.inc (atan_test): New tests.
4074 (atan2_test): New tests.
4075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4078 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4081 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4084 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4085 [POSIX] (EADDRNOTAVAIL): Likewise.
4086 [POSIX] (EAFNOSUPPORT): Likewise.
4087 [POSIX] (EALREADY): Likewise.
4088 [POSIX] (ECONNABORTED): Likewise.
4089 [POSIX] (ECONNREFUSED): Likewise.
4090 [POSIX] (ECONNRESET): Likewise.
4091 [POSIX] (EDESTADDRREQ): Likewise.
4092 [POSIX] (EDQUOT): Likewise.
4093 [POSIX] (EHOSTUNREACH): Likewise.
4094 [POSIX] (EIDRM): Likewise.
4095 [POSIX] (EISCONN): Likewise.
4096 [POSIX] (ELOOP): Likewise.
4097 [POSIX] (EMULTIHOP): Likewise.
4098 [POSIX] (ENETDOWN): Likewise.
4099 [POSIX] (ENETUNREACH): Likewise.
4100 [POSIX] (ENOBUFS): Likewise.
4101 [POSIX] (ENODATA): Likewise.
4102 [POSIX] (ENOLINK): Likewise.
4103 [POSIX] (ENOMSG): Likewise.
4104 [POSIX] (ENOPROTOOPT): Likewise.
4105 [POSIX] (ENOSR): Likewise.
4106 [POSIX] (ENOSTR): Likewise.
4107 [POSIX] (ENOTCONN): Likewise.
4108 [POSIX] (ENOTSOCK): Likewise.
4109 [POSIX] (EOPNOTSUPP): Likewise.
4110 [POSIX] (EOVERFLOW): Likewise.
4111 [POSIX] (EPROTO): Likewise.
4112 [POSIX] (EPROTONOSUPPORT): Likewise.
4113 [POSIX] (EPROTOTYPE): Likewise.
4114 [POSIX] (ESTALE): Likewise.
4115 [POSIX] (ETIME): Likewise.
4116 [POSIX] (ETXTBSY): Likewise.
4117 [POSIX] (EWOULDBLOCK): Likewise.
4118 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4119 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4120 [POSIX] (SEEK_CUR): Likewise.
4121 [POSIX] (SEEK_END): Likewise.
4122 [POSIX || UNIX98] (mode_t): Do not require.
4123 [POSIX] (off_t): Likewise.
4124 [POSIX] (pid_t): Likewise.
4125 [POSIX] (sys/stat.h): Do not allow header.
4126 [POSIX] (unistd.h): Likewise.
4127 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4128 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4130 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4132 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4133 sigevent): Specify elements.
4134 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4136 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4137 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4139 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4140 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4141 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4142 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4143 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4144 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4145 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4146 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4147 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4148 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4149 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4150 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4151 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4158 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4160 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4162 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4163 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4164 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4165 Specify lower bound on value.
4166 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4167 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4168 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4169 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4170 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4171 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4172 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4173 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4177 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4178 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4179 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4180 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4181 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4182 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4183 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4184 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4185 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4186 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4187 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4188 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4189 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4190 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4191 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4192 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4194 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4196 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4197 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4198 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4199 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4200 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4203 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4204 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4205 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4206 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4207 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4208 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4212 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4213 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4214 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4215 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4216 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4217 specify as optional.
4218 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4219 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4220 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4221 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4222 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4223 [XPG3] (NL_LANGMAX): Likewise.
4224 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4225 [POSIX || XPG3] (NL_NMAX): Likewise.
4226 [POSIX || XPG3] (NL_SETMAX): Likewise.
4227 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4228 [XPG3] (NZERO): Likewise.
4229 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4230 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4231 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4232 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4233 (REG_ERANGE): Expect.
4234 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4236 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4237 Use (void) in prototype.
4238 [POSIX] (*_t): Allow.
4239 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4240 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4241 (WRDE_BADVAL): Expect.
4243 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4245 [XPG3 || XPG4] (O_RSYNC): Likewise.
4246 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4248 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4249 [XPG3 || XPG4] (sigqueue): Likewise.
4250 [XPG3 || XPG4] (sigtimedwait): Likewise.
4251 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4252 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4253 [XPG3 || XPG4] (vsnprintf): Likewise.
4254 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4256 [XPG3 || XPG4] (blksize_t): Likewise.
4257 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4259 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4260 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4261 [XPG3 || XPG4] (struct itimerspec): Likewise.
4262 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4263 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4264 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4265 [XPG3 || XPG4] (clockid_t): Likewise.
4266 [XPG3 || XPG4] (timer_t): Likewise.
4267 [XPG3 || XPG4] (clock_getres): Likewise.
4268 [XPG3 || XPG4] (clock_gettime): Likewise.
4269 [XPG3 || XPG4] (clock_settime): Likewise.
4270 [XPG3 || XPG4] (nanosleep): Likewise.
4271 [XPG3 || XPG4] (timer_create): Likewise.
4272 [XPG3 || XPG4] (timer_delete): Likewise.
4273 [XPG3 || XPG4] (timer_gettime): Likewise.
4274 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4275 [XPG3 || XPG4] (timer_settime): Likewise.
4276 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4277 [XPG3 || XPG4] (getlogin_r): Likewise.
4278 [XPG3 || XPG4] (pread): Likewise.
4279 [XPG3 || XPG4] (pthread_atfork): Likewise.
4280 [XPG3 || XPG4] (pwrite): Likewise.
4283 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4286 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4288 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4289 finalizing MALLSTREAM.
4291 * sysdeps/mach/hurd/syncfs.c: New file.
4293 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4296 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4297 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4298 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4299 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4300 (_nss_dns_gethostbyname4_r): Likewise.
4301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4302 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4304 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4307 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4309 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4311 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4312 * elf/cache.c (print_entry): Print ",AArch64" for
4315 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4316 * elf/cache.c (print_entry): Print ",hard-float" for
4319 2012-11-18 David S. Miller <davem@davemloft.net>
4321 With help from Joseph Myers.
4322 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4324 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4326 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4327 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4329 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4330 * math/libm-test.inc (y0_test): New tests.
4331 (y1_test): New tests.
4332 * sysdeps/i386/fpu/libm-test-ulps: Update.
4333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4336 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4338 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4340 * configure: Regenerated.
4342 2012-11-17 David S. Miller <davem@davemloft.net>
4345 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4346 nonzero exponents with absolute value below 0x1p-128 to +/-
4349 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4351 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4353 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4355 * posix/getconf-speclist.c: New file.
4356 * posix/posix-envs.def: Likewise.
4357 * posix/confstr.c (START_ENV_GROUP): New macro.
4358 (END_ENV_GROUP): Likewise.
4359 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4360 (KNOWN_PRESENT_ENV_STRING): Likewise.
4361 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4362 (UNKNOWN_ENVIRONMENT): Likewise.
4363 (confstr): Include posix-envs.def instead of handling
4364 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4365 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4366 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4367 (END_ENV_GROUP): Likewise.
4368 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4369 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4370 (UNKNOWN_ENVIRONMENT): Likewise.
4371 (__sysconf): Include posix-envs.def instead of handling associated
4372 cases directly here.
4373 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4374 preprocessing getconf-speclist.c rather than running getconf or
4375 generating empty file.
4377 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4379 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4381 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4384 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4386 2012-11-16 David S. Miller <davem@davemloft.net>
4388 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4389 smaller than LDBL_EPSILON/2.0L, just return xm1.
4391 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4393 * elf/tst-array1.c (init): Set constructor priority to 1000.
4394 (fini): Set destructor priority to 1000.
4395 * elf/tst-array2dep.c: Likewise.
4397 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4400 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4401 (_IO_new_file_xsputn): Also return EOF if none of the input
4402 data was written when overflow failed.
4403 * libio/iopadn.c (_IO_padn): Likewise.
4404 * libio/iowpadn.c (_IO_wpadn): Likewise.
4405 * stdio-common/tst-put-error.c: Add copyright notice.
4406 (do_test): Add case for printing padded string.
4407 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4408 _IO_padn returned error.
4409 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4410 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4413 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4415 * libio/libioP.h: Add comment note that the references to C++
4416 bits are now obsolete.
4418 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4420 * math/libm-test.inc (check_complex): Use asprintf.
4422 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4424 * debug/pcprofiledump.c (print_version): Update copyright year.
4425 * malloc/memusagestat.c (print_version): Likewise.
4427 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4430 * elf/Makefile (tests): Add tst-audit8.
4431 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4432 ($(objpfx)tst-audit8.out): New target.
4433 (tst-audit8-ENV): New variable.
4434 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4435 audit if l_reloc_result is NULL.
4436 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4437 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4438 * elf/tst-audit8.c: New file.
4440 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4442 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4443 * misc/Makefile (CFLAGS-select.c): Define.
4444 * posix/Makefile (CFLAGS-pause.c): Define.
4446 2012-11-13 David S. Miller <davem@davemloft.net>
4448 * crypt/Makefile: Move test targets after toplevel Rules
4449 inclusion. Grab any necessary sysdep routines when linking.
4450 * crypt/md5.c (md5_process_block): Remove define, we will always
4451 name it __md5_process_block.
4452 (md5_finish_ctx): Update md5_process_block call.
4453 (md5_stream): Likewise.
4454 (md5_process_bytes): Likewise.
4455 (md5_process_block): Rename to __md5_process_block and move to ...
4456 * crypt/md5-block.c: ... here.
4457 * crypt/sha256.c (sha256_process_block): Move to ...
4458 * crypt/sha256-block.c: ... here.
4459 * crypt/sha512.c (sha512_process_block): Move to ...
4460 * crypt/sha512-block.c: ... here.
4461 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4463 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4464 * sysdeps/sparc/sparc64/multiarch/Makefile
4465 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4467 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4468 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4470 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4471 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4472 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4473 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4474 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4475 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4476 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4477 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4480 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4483 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4485 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4487 * timezone/tzselect.ksh: Update from tzcode git revision
4488 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4489 * timezone/zdump.c: Likewise.
4490 * timezone/zic.c: Likewise.
4491 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4492 in TZVERSION setting, not $(PKGVERSION).
4493 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4494 REPORT_BUGS_TO settings.
4497 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4500 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4502 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4503 detection to immediately after _FP_ROUND().
4504 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4507 2012-11-11 David S. Miller <davem@davemloft.net>
4509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4511 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4512 __close rather than their public counterparts.
4514 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4516 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4518 [UNIX98] (sem_timedwait): Do not expect.
4519 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4520 [XPG4 || UNIX98] (sockatmark): Do not expect.
4521 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4522 (clock_getcpuclockid): Do not expect.
4523 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4524 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4526 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4527 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4528 [UNIX98] (vwscanf): Likewise.
4529 [UNIX98] (vswscanf): Likewise.
4531 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4533 * timezone/version.h: Remove file.
4534 * timezone/README: Do not refer to version.h.
4535 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4537 ($(objpfx)zdump.o): Likewise.
4538 ($(objpfx)version.h): New target.
4540 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4542 * timezone/README: Don't mention modification to tzselect.ksh.
4543 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4544 work on unmodified tzselect.ksh. Substitute version numbers in
4547 * Makefile (format-me): Remove.
4548 (INSTALL): Adjust indentation. Use commands directly instead of
4551 * aclocal.m4 (ACX_PKGVERSION): New macro.
4552 (ACX_BUGURL): Likewise.
4553 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4554 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4555 (REPORT_BUGS_TO): Likewise.
4556 * configure: Regenerated.
4557 * config.h.in (PKGVERSION): New macro.
4558 (REPORT_BUGS_TO): Likewise.
4559 * config.make.in (PKGVERSION): New variable.
4560 (PKGVERSION_TEXI): Likewise.
4561 (REPORT_BUGS_TO): Likewise.
4562 (REPORT_BUGS_TEXI): Likewise.
4563 * Makefile (format-me): Use -I$(common-objpfx)manual.
4564 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4565 ($(common-objpfx)manual/%): New target.
4566 (manual/%): Remove target.
4567 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4568 (print_version): Use PKGVERSION.
4569 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4570 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4572 ($(objpfx)xtrace): Likewise.
4573 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4574 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4575 (print_version): Use PKGVERSION.
4576 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4577 (do_version): Use PKGVERSION.
4578 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4580 (common-ldd-rewrite): Likewise.
4581 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4582 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4583 (print_version): Use PKGVERSION.
4584 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4585 * elf/pldd.c (argp_program_bug_address): Remove variable.
4586 (more_help): New function.
4587 (argp): Use more_help.
4588 (print_version): Use PKGVERSION.
4589 * elf/sln.c (main): Use PKGVERSION.
4590 (usage): Use REPORT_BUGS_TO.
4591 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4592 (top level): Use PKGVERSION.
4593 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4594 (print_version): Use PKGVERSION.
4595 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4596 (print_version): Use PKGVERSION.
4597 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4598 (print_version): Use PKGVERSION.
4599 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4600 (print_version): Use PKGVERSION.
4601 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4602 (print_version): Use PKGVERSION.
4603 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4604 (print_version): Use PKGVERSION.
4605 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4607 ($(objpfx)memusage): Likewise.
4608 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4609 (do_version): Use PKGVERSION.
4610 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4611 (print_version): Use PKGVERSION.
4612 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4613 ($PKGVERSION): New variable.
4614 ($REPORT_BUGS_TO): Likewise.
4615 (usage): Use $REPORT_BUGS_TO.
4616 (top level): Use $PKGVERSION.
4617 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4618 ($(objpfx)pkgvers.texi): New rule.
4619 ($(objpfx)stamp-pkgvers): Likewise.
4620 * manual/install.texi: Include pkgvers.texi.
4621 (--with-pkgversion): Document new configure option.
4622 (--with-bugurl): Likewise.
4623 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4624 than necessarily for this particular distribution. Use
4625 REPORT_BUGS_TO for where to report bugs.
4626 * INSTALL: Regenerated.
4627 * manual/libc.texinfo: Include pkgvers.texi.
4628 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4629 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4630 (print_version): Use PKGVERSION.
4631 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4632 (print_version): Use PKGVERSION.
4633 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4634 (print_version): Use PKGVERSION.
4635 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4636 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4638 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4639 (print_version): Use PKGVERSION.
4640 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4641 (print_version): Use PKGVERSION.
4642 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4645 * timezone/checktab.awk: Update from tzcode 2012i.
4646 * timezone/ialloc.c: Likewise.
4647 * timezone/private.h: Likewise.
4648 * timezone/scheck.c: Likewise.
4649 * timezone/tzfile.h: Likewise.
4650 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4651 (TZVERSION): Hardcode tzcode version number.
4652 * timezone/zdump.c: Update from tzcode 2012i.
4653 * timezone/zic.c: Likewise.
4654 * timezone/version.h: New file.
4655 * timezone/README: Describe version.h. Update upstream location.
4658 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4659 (mktemp): Enable declaration.
4660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4677 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4678 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4679 for copies of such integer values.
4680 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4681 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4683 2012-11-09 Andreas Jaeger <aj@suse.de>
4685 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4686 definitions and declarations that are provided by
4687 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4689 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4691 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4692 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4693 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4696 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4698 * elf/elf.h: Update comment before AArch64 relocations.
4700 2012-11-07 David S. Miller <davem@davemloft.net>
4702 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4703 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4704 (__start_context): Declare.
4705 (__makecontext_ret): Delete.
4706 (__makecontext): Hook up __start_context instead of
4708 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4709 (sysdep_routines): Add __start_context when in stdlib.
4711 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4713 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4714 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4715 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4717 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4718 (READELF): New variable. Use it instead of hardcoded "readelf".
4720 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4722 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4723 * sysdeps/x86/Makefile: Here.
4724 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4725 * sysdeps/x86/tst-xmmymm.sh: This.
4727 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4729 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4731 [UNIX98] (pthread_barrier_t): Do not expect.
4732 [UNIX98] (pthread_barrierattr_t): Likewise.
4733 [UNIX98] (pthread_spinlock_t): Likewise.
4734 [UNIX98] (pthread_barrier_destroy): Likewise.
4735 [UNIX98] (pthread_barrier_init): Likewise.
4736 [UNIX98] (pthread_barrier_wait): Likewise.
4737 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4738 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4739 [UNIX98] (pthread_barrierattr_init): Likewise.
4740 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4741 [UNIX98] (pthread_getcpuclockid): Likewise.
4742 [UNIX98] (pthread_mutex_timedlock): Likewise.
4743 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4744 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4745 [UNIX98] (pthread_sigmask): Likewise.
4746 [UNIX98] (pthread_spin_destroy): Likewise.
4747 [UNIX98] (pthread_spin_init): Likewise.
4748 [UNIX98] (pthread_spin_lock): Likewise.
4749 [UNIX98] (pthread_spin_trylock): Likewise.
4750 [UNIX98] (pthread_spin_unlock): Likewise.
4751 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4753 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4754 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4755 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4756 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4757 [XPG3 || XPG4] (pthread_key_t): Likewise.
4758 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4759 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4760 [XPG3 || XPG4] (pthread_once_t): Likewise.
4761 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4762 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4764 [XPG3 || XPG4] (pthread_t): Likewise.
4766 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4768 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4770 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4771 Change function return type to int.
4773 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4774 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4775 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4776 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4777 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4778 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4779 [!POSIX] (posix_madvise): Likewise.
4780 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4782 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4783 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4785 (posix_mem_offset): Likewise.
4786 (posix_typed_mem_get_info): Likewise.
4787 (posix_typed_mem_open): Likewise.
4789 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4790 Change condition to [XOPEN2K8].
4792 * conform/conformtest.pl: Preprocess allow-header data with -x c
4793 instead of from stdin.
4794 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4795 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4796 [C99-based standards] (cerfc): Likewise.
4797 [C99-based standards] (cexp2): Likewise.
4798 [C99-based standards] (cexpm1): Likewise.
4799 [C99-based standards] (clog10): Likewise.
4800 [C99-based standards] (clog1p): Likewise.
4801 [C99-based standards] (clog2): Likewise.
4802 [C99-based standards] (clgamma): Likewise.
4803 [C99-based standards] (ctgamma): Likewise.
4804 [C99-based standards] (cerff): Likewise.
4805 [C99-based standards] (cerfcf): Likewise.
4806 [C99-based standards] (cexp2f): Likewise.
4807 [C99-based standards] (cexpm1f): Likewise.
4808 [C99-based standards] (clog10f): Likewise.
4809 [C99-based standards] (clog1pf): Likewise.
4810 [C99-based standards] (clog2f): Likewise.
4811 [C99-based standards] (clgammaf): Likewise.
4812 [C99-based standards] (ctgammaf): Likewise.
4813 [C99-based standards] (cerfl): Likewise.
4814 [C99-based standards] (cerfcl): Likewise.
4815 [C99-based standards] (cexp2l): Likewise.
4816 [C99-based standards] (cexpm1l): Likewise.
4817 [C99-based standards] (clog10l): Likewise.
4818 [C99-based standards] (clog1pl): Likewise.
4819 [C99-based standards] (clog2l): Likewise.
4820 [C99-based standards] (clgammal): Likewise.
4821 [C99-based standards] (ctgammal): Likewise.
4822 * conform/data/inttypes.h-data [C99-based standards]: Include
4823 stdint.h-data. Remove all expectations for stdint.h contents.
4824 [C99-based standards] (PRI*): Do not allow.
4825 [C99-based standards] (SCN*): Likewise.
4826 [C99-based standards] (*_t): Likewise.
4827 [C99-based-standards] (PRId8): Expect macro.
4828 [C99-based-standards] (PRIi8): Likewise.
4829 [C99-based-standards] (PRIo8): Likewise.
4830 [C99-based-standards] (PRIu8): Likewise.
4831 [C99-based-standards] (PRIx8): Likewise.
4832 [C99-based-standards] (PRIX8): Likewise.
4833 [C99-based-standards] (SCNd8): Likewise.
4834 [C99-based-standards] (SCNi8): Likewise.
4835 [C99-based-standards] (SCNo8): Likewise.
4836 [C99-based-standards] (SCNu8): Likewise.
4837 [C99-based-standards] (SCNx8): Likewise.
4838 [C99-based-standards] (PRIdLEAST8): Likewise.
4839 [C99-based-standards] (PRIiLEAST8): Likewise.
4840 [C99-based-standards] (PRIoLEAST8): Likewise.
4841 [C99-based-standards] (PRIuLEAST8): Likewise.
4842 [C99-based-standards] (PRIxLEAST8): Likewise.
4843 [C99-based-standards] (PRIXLEAST8): Likewise.
4844 [C99-based-standards] (SCNdLEAST8): Likewise.
4845 [C99-based-standards] (SCNiLEAST8): Likewise.
4846 [C99-based-standards] (SCNoLEAST8): Likewise.
4847 [C99-based-standards] (SCNuLEAST8): Likewise.
4848 [C99-based-standards] (SCNxLEAST8): Likewise.
4849 [C99-based-standards] (PRIdFAST8): Likewise.
4850 [C99-based-standards] (PRIiFAST8): Likewise.
4851 [C99-based-standards] (PRIoFAST8): Likewise.
4852 [C99-based-standards] (PRIuFAST8): Likewise.
4853 [C99-based-standards] (PRIxFAST8): Likewise.
4854 [C99-based-standards] (PRIXFAST8): Likewise.
4855 [C99-based-standards] (SCNdFAST8): Likewise.
4856 [C99-based-standards] (SCNiFAST8): Likewise.
4857 [C99-based-standards] (SCNoFAST8): Likewise.
4858 [C99-based-standards] (SCNuFAST8): Likewise.
4859 [C99-based-standards] (SCNxFAST8): Likewise.
4860 [C99-based-standards] (PRId16): Likewise.
4861 [C99-based-standards] (PRIi16): Likewise.
4862 [C99-based-standards] (PRIo16): Likewise.
4863 [C99-based-standards] (PRIu16): Likewise.
4864 [C99-based-standards] (PRIx16): Likewise.
4865 [C99-based-standards] (PRIX16): Likewise.
4866 [C99-based-standards] (SCNd16): Likewise.
4867 [C99-based-standards] (SCNi16): Likewise.
4868 [C99-based-standards] (SCNo16): Likewise.
4869 [C99-based-standards] (SCNu16): Likewise.
4870 [C99-based-standards] (SCNx16): Likewise.
4871 [C99-based-standards] (PRIdLEAST16): Likewise.
4872 [C99-based-standards] (PRIiLEAST16): Likewise.
4873 [C99-based-standards] (PRIoLEAST16): Likewise.
4874 [C99-based-standards] (PRIuLEAST16): Likewise.
4875 [C99-based-standards] (PRIxLEAST16): Likewise.
4876 [C99-based-standards] (PRIXLEAST16): Likewise.
4877 [C99-based-standards] (SCNdLEAST16): Likewise.
4878 [C99-based-standards] (SCNiLEAST16): Likewise.
4879 [C99-based-standards] (SCNoLEAST16): Likewise.
4880 [C99-based-standards] (SCNuLEAST16): Likewise.
4881 [C99-based-standards] (SCNxLEAST16): Likewise.
4882 [C99-based-standards] (PRIdFAST16): Likewise.
4883 [C99-based-standards] (PRIiFAST16): Likewise.
4884 [C99-based-standards] (PRIoFAST16): Likewise.
4885 [C99-based-standards] (PRIuFAST16): Likewise.
4886 [C99-based-standards] (PRIxFAST16): Likewise.
4887 [C99-based-standards] (PRIXFAST16): Likewise.
4888 [C99-based-standards] (SCNdFAST16): Likewise.
4889 [C99-based-standards] (SCNiFAST16): Likewise.
4890 [C99-based-standards] (SCNoFAST16): Likewise.
4891 [C99-based-standards] (SCNuFAST16): Likewise.
4892 [C99-based-standards] (SCNxFAST16): Likewise.
4893 [C99-based-standards] (PRId32): Likewise.
4894 [C99-based-standards] (PRIi32): Likewise.
4895 [C99-based-standards] (PRIo32): Likewise.
4896 [C99-based-standards] (PRIu32): Likewise.
4897 [C99-based-standards] (PRIx32): Likewise.
4898 [C99-based-standards] (PRIX32): Likewise.
4899 [C99-based-standards] (SCNd32): Likewise.
4900 [C99-based-standards] (SCNi32): Likewise.
4901 [C99-based-standards] (SCNo32): Likewise.
4902 [C99-based-standards] (SCNu32): Likewise.
4903 [C99-based-standards] (SCNx32): Likewise.
4904 [C99-based-standards] (PRIdLEAST32): Likewise.
4905 [C99-based-standards] (PRIiLEAST32): Likewise.
4906 [C99-based-standards] (PRIoLEAST32): Likewise.
4907 [C99-based-standards] (PRIuLEAST32): Likewise.
4908 [C99-based-standards] (PRIxLEAST32): Likewise.
4909 [C99-based-standards] (PRIXLEAST32): Likewise.
4910 [C99-based-standards] (SCNdLEAST32): Likewise.
4911 [C99-based-standards] (SCNiLEAST32): Likewise.
4912 [C99-based-standards] (SCNoLEAST32): Likewise.
4913 [C99-based-standards] (SCNuLEAST32): Likewise.
4914 [C99-based-standards] (SCNxLEAST32): Likewise.
4915 [C99-based-standards] (PRIdFAST32): Likewise.
4916 [C99-based-standards] (PRIiFAST32): Likewise.
4917 [C99-based-standards] (PRIoFAST32): Likewise.
4918 [C99-based-standards] (PRIuFAST32): Likewise.
4919 [C99-based-standards] (PRIxFAST32): Likewise.
4920 [C99-based-standards] (PRIXFAST32): Likewise.
4921 [C99-based-standards] (SCNdFAST32): Likewise.
4922 [C99-based-standards] (SCNiFAST32): Likewise.
4923 [C99-based-standards] (SCNoFAST32): Likewise.
4924 [C99-based-standards] (SCNuFAST32): Likewise.
4925 [C99-based-standards] (SCNxFAST32): Likewise.
4926 [C99-based-standards] (PRId64): Likewise.
4927 [C99-based-standards] (PRIi64): Likewise.
4928 [C99-based-standards] (PRIo64): Likewise.
4929 [C99-based-standards] (PRIu64): Likewise.
4930 [C99-based-standards] (PRIx64): Likewise.
4931 [C99-based-standards] (PRIX64): Likewise.
4932 [C99-based-standards] (SCNd64): Likewise.
4933 [C99-based-standards] (SCNi64): Likewise.
4934 [C99-based-standards] (SCNo64): Likewise.
4935 [C99-based-standards] (SCNu64): Likewise.
4936 [C99-based-standards] (SCNx64): Likewise.
4937 [C99-based-standards] (PRIdLEAST64): Likewise.
4938 [C99-based-standards] (PRIiLEAST64): Likewise.
4939 [C99-based-standards] (PRIoLEAST64): Likewise.
4940 [C99-based-standards] (PRIuLEAST64): Likewise.
4941 [C99-based-standards] (PRIxLEAST64): Likewise.
4942 [C99-based-standards] (PRIXLEAST64): Likewise.
4943 [C99-based-standards] (SCNdLEAST64): Likewise.
4944 [C99-based-standards] (SCNiLEAST64): Likewise.
4945 [C99-based-standards] (SCNoLEAST64): Likewise.
4946 [C99-based-standards] (SCNuLEAST64): Likewise.
4947 [C99-based-standards] (SCNxLEAST64): Likewise.
4948 [C99-based-standards] (PRIdFAST64): Likewise.
4949 [C99-based-standards] (PRIiFAST64): Likewise.
4950 [C99-based-standards] (PRIoFAST64): Likewise.
4951 [C99-based-standards] (PRIuFAST64): Likewise.
4952 [C99-based-standards] (PRIxFAST64): Likewise.
4953 [C99-based-standards] (PRIXFAST64): Likewise.
4954 [C99-based-standards] (SCNdFAST64): Likewise.
4955 [C99-based-standards] (SCNiFAST64): Likewise.
4956 [C99-based-standards] (SCNoFAST64): Likewise.
4957 [C99-based-standards] (SCNuFAST64): Likewise.
4958 [C99-based-standards] (SCNxFAST64): Likewise.
4959 [C99-based-standards] (PRIdMAX): Likewise.
4960 [C99-based-standards] (PRIiMAX): Likewise.
4961 [C99-based-standards] (PRIoMAX): Likewise.
4962 [C99-based-standards] (PRIuMAX): Likewise.
4963 [C99-based-standards] (PRIxMAX): Likewise.
4964 [C99-based-standards] (PRIXMAX): Likewise.
4965 [C99-based-standards] (SCNdMAX): Likewise.
4966 [C99-based-standards] (SCNiMAX): Likewise.
4967 [C99-based-standards] (SCNoMAX): Likewise.
4968 [C99-based-standards] (SCNuMAX): Likewise.
4969 [C99-based-standards] (SCNxMAX): Likewise.
4970 [C99-based-standards] (PRIdPTR): Likewise.
4971 [C99-based-standards] (PRIiPTR): Likewise.
4972 [C99-based-standards] (PRIoPTR): Likewise.
4973 [C99-based-standards] (PRIuPTR): Likewise.
4974 [C99-based-standards] (PRIxPTR): Likewise.
4975 [C99-based-standards] (PRIXPTR): Likewise.
4976 [C99-based-standards] (SCNdPTR): Likewise.
4977 [C99-based-standards] (SCNiPTR): Likewise.
4978 [C99-based-standards] (SCNoPTR): Likewise.
4979 [C99-based-standards] (SCNuPTR): Likewise.
4980 [C99-based-standards] (SCNxPTR): Likewise.
4981 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4983 * conform/data/stdint.h-data: Update comments to clarify
4985 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4987 [C99-based standards] (INT8_MAX): Likewise.
4988 [C99-based standards] (INT16_MIN): Likewise.
4989 [C99-based standards] (INT16_MAX): Likewise.
4990 [C99-based standards] (INT32_MIN): Likewise.
4991 [C99-based standards] (INT32_MAX): Likewise.
4992 [C99-based standards] (INT64_MIN): Likewise.
4993 [C99-based standards] (INT64_MAX): Likewise.
4994 [C99-based standards] (UINT8_MAX): Likewise.
4995 [C99-based standards] (UINT16_MAX): Likewise.
4996 [C99-based standards] (UINT32_MAX): Likewise.
4997 [C99-based standards] (UINT64_MAX): Likewise.
4998 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4999 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5000 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5001 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5002 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5003 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5004 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5005 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5006 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5007 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5008 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5009 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5010 [C99-based standards] (INT_FAST8_MIN): Likewise.
5011 [C99-based standards] (INT_FAST8_MAX): Likewise.
5012 [C99-based standards] (INT_FAST16_MIN): Likewise.
5013 [C99-based standards] (INT_FAST16_MAX): Likewise.
5014 [C99-based standards] (INT_FAST32_MIN): Likewise.
5015 [C99-based standards] (INT_FAST32_MAX): Likewise.
5016 [C99-based standards] (INT_FAST64_MIN): Likewise.
5017 [C99-based standards] (INT_FAST64_MAX): Likewise.
5018 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5019 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5020 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5021 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5022 [C99-based standards] (INTPTR_MIN): Likewise.
5023 [C99-based standards] (INTPTR_MAX): Likewise.
5024 [C99-based standards] (UINTPTR_MAX): Likewise.
5025 [C99-based standards] (INTMAX_MIN): Likewise.
5026 [C99-based standards] (INTMAX_MAX): Likewise.
5027 [C99-based standards] (UINTMAX_MAX): Likewise.
5028 [C99-based standards] (PTRDIFF_MIN): Likewise.
5029 [C99-based standards] (PTRDIFF_MAX): Likewise.
5030 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5031 [C99-based standards] (SIZE_MAX): Likewise.
5032 [C99-based standards] (WCHAR_MAX): Likewise.
5033 [C99-based standards] (WINT_MAX): Likewise.
5034 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5035 constraint on value.
5036 [C99-based standards] (WCHAR_MIN): Likewise.
5037 [C99-based standards] (WINT_MIN): Likewise.
5038 [C99-based standards] (*_t): Allow.
5039 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5040 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5041 Include math.h-data and complex.h-data. Remove all expectations
5042 of math.h and complex.h contents.
5043 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5045 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5046 (struct tm): Expect tag.
5047 [C99-based-standards] (wcstof): Expect function.
5048 [C99-based-standards] (wcstold): Likewise.
5049 [C99-based-standards] (wcstoll): Likewise.
5050 [C99-based-standards] (wcstoull): Likewise.
5051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5052 macro-int-constant. Specify type.
5053 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5054 constraint on value.
5055 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5057 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5059 [ISO C standards]: Do not allow headers.
5060 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5061 wcs[abcdefghijklmnopqrstuvwxyz]*.
5062 [ISO C standards] (*_t): Do not allow.
5063 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5065 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5066 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5068 [ISO C standards]: Do not allow headers.
5069 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5070 is[abcdefghijklmnopqrstuvwxyz]*.
5071 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5072 to[abcdefghijklmnopqrstuvwxyz]*.
5073 [ISO C standards] (*_t): Do not allow.
5074 * conform/data/stdalign.h-data: New file.
5075 * conform/data/stdbool.h-data: Likewise.
5076 * conform/data/stdnoreturn.h-data: Likewise.
5078 2012-11-07 Roland McGrath <roland@hack.frob.com>
5081 * manual/filesys.texi (Directory Entries): Typo fix.
5082 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5084 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5086 * elf/elf.h (EM_AARCH64): New macro.
5087 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5088 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5089 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5090 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5091 (R_AARCH64_TLSDESC): Likewise.
5092 (NT_ARM_TLS): Likewise.
5093 (NT_ARM_HW_BREAK): Likewise.
5094 (NT_ARM_HW_WATCH): Likewise.
5096 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5099 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5100 (__ieee754_powl): Saturate nonzero exponents with absolute value
5101 below 0x1p-79 to +/- 0x1p-79.
5102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5103 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5104 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5105 nonzero exponents with absolute value below 0x1p-32 to +/-
5107 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5108 (__ieee754_powl): Saturate nonzero exponents with absolute value
5109 below 0x1p-79 to +/- 0x1p-79.
5110 * math/libm-test.inc (pow_test): Add more tests.
5112 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5114 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5115 _dl_s390_cap_flags with kernel. Increase string length.
5116 (_dl_s390_platforms): Add z196 and zEC12.
5118 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5120 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5121 Change XOPEN21K to XOPEN2K.
5123 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5125 * string/memmove.c: Use memcpy when possible.
5127 2012-11-06 Andreas Jaeger <aj@suse.de>
5129 * po/eo.po: Update from translation team.
5131 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5135 exponent and small x and y exponents, scale x or y up. Increase
5136 by 2 the exponent used in scaling up.
5137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5139 * math/libm-test.inc (fma_test): Add more tests.
5140 (fma_test_towardzero): Likewise.
5141 (fma_test_downward): Likewise.
5142 (fma_test_upward): Likewise.
5144 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5147 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5151 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5152 namespace for names of struct fields.
5153 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5155 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5156 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5158 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5161 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5163 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5165 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5169 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5172 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5176 definitely overflow as x * y not x * y + z.
5177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5179 * math/libm-test.inc (fma_test): Add more tests.
5180 (fma_test_towardzero): Likewise.
5181 (fma_test_downward): Likewise.
5182 (fma_test_upward): Likewise.
5184 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5188 * include/stub-tag.h: Remove file.
5189 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5191 * manual/maint.texi (Porting): Don't reference it.
5192 * Makerules ($(objpfx)stubs): Likewise.
5193 * dirent/closedir.c: Don't include <stub-tag.h>.
5194 * dirent/dirfd.c: Likewise.
5195 * dirent/fdopendir.c: Likewise.
5196 * dirent/getdents.c: Likewise.
5197 * dirent/getdents64.c: Likewise.
5198 * dirent/opendir.c: Likewise.
5199 * dirent/readdir.c: Likewise.
5200 * dirent/readdir64.c: Likewise.
5201 * dirent/readdir64_r.c: Likewise.
5202 * dirent/readdir_r.c: Likewise.
5203 * dirent/rewinddir.c: Likewise.
5204 * dirent/seekdir.c: Likewise.
5205 * dirent/telldir.c: Likewise.
5206 * gmon/profil.c: Likewise.
5207 * grp/setgroups.c: Likewise.
5208 * inet/if_index.c: Likewise.
5209 * io/access.c: Likewise.
5210 * io/chdir.c: Likewise.
5211 * io/chmod.c: Likewise.
5212 * io/chown.c: Likewise.
5213 * io/close.c: Likewise.
5214 * io/dup.c: Likewise.
5215 * io/dup2.c: Likewise.
5216 * io/dup3.c: Likewise.
5217 * io/euidaccess.c: Likewise.
5218 * io/faccessat.c: Likewise.
5219 * io/fchdir.c: Likewise.
5220 * io/fchmod.c: Likewise.
5221 * io/fchmodat.c: Likewise.
5222 * io/fchown.c: Likewise.
5223 * io/fchownat.c: Likewise.
5224 * io/fcntl.c: Likewise.
5225 * io/flock.c: Likewise.
5226 * io/fstatfs.c: Likewise.
5227 * io/fstatfs64.c: Likewise.
5228 * io/fstatvfs.c: Likewise.
5229 * io/fstatvfs64.c: Likewise.
5230 * io/futimens.c: Likewise.
5231 * io/fxstat.c: Likewise.
5232 * io/fxstat64.c: Likewise.
5233 * io/fxstatat.c: Likewise.
5234 * io/fxstatat64.c: Likewise.
5235 * io/getcwd.c: Likewise.
5236 * io/isatty.c: Likewise.
5237 * io/lchmod.c: Likewise.
5238 * io/lchown.c: Likewise.
5239 * io/link.c: Likewise.
5240 * io/linkat.c: Likewise.
5241 * io/lseek.c: Likewise.
5242 * io/lseek64.c: Likewise.
5243 * io/lxstat64.c: Likewise.
5244 * io/mkdir.c: Likewise.
5245 * io/mkdirat.c: Likewise.
5246 * io/mkfifo.c: Likewise.
5247 * io/mkfifoat.c: Likewise.
5248 * io/open.c: Likewise.
5249 * io/open64.c: Likewise.
5250 * io/openat.c: Likewise.
5251 * io/openat64.c: Likewise.
5252 * io/pipe.c: Likewise.
5253 * io/pipe2.c: Likewise.
5254 * io/poll.c: Likewise.
5255 * io/posix_fadvise.c: Likewise.
5256 * io/posix_fadvise64.c: Likewise.
5257 * io/posix_fallocate.c: Likewise.
5258 * io/posix_fallocate64.c: Likewise.
5259 * io/read.c: Likewise.
5260 * io/readlink.c: Likewise.
5261 * io/readlinkat.c: Likewise.
5262 * io/rmdir.c: Likewise.
5263 * io/sendfile.c: Likewise.
5264 * io/sendfile64.c: Likewise.
5265 * io/statfs.c: Likewise.
5266 * io/statfs64.c: Likewise.
5267 * io/statvfs.c: Likewise.
5268 * io/statvfs64.c: Likewise.
5269 * io/symlink.c: Likewise.
5270 * io/symlinkat.c: Likewise.
5271 * io/ttyname.c: Likewise.
5272 * io/ttyname_r.c: Likewise.
5273 * io/umask.c: Likewise.
5274 * io/unlink.c: Likewise.
5275 * io/unlinkat.c: Likewise.
5276 * io/utime.c: Likewise.
5277 * io/utimensat.c: Likewise.
5278 * io/write.c: Likewise.
5279 * io/xmknod.c: Likewise.
5280 * io/xmknodat.c: Likewise.
5281 * io/xstat.c: Likewise.
5282 * io/xstat64.c: Likewise.
5283 * login/getpt.c: Likewise.
5284 * login/grantpt.c: Likewise.
5285 * login/unlockpt.c: Likewise.
5286 * math/e_acoshl.c: Likewise.
5287 * math/e_acosl.c: Likewise.
5288 * math/e_asinl.c: Likewise.
5289 * math/e_atan2l.c: Likewise.
5290 * math/e_atanhl.c: Likewise.
5291 * math/e_coshl.c: Likewise.
5292 * math/e_expl.c: Likewise.
5293 * math/e_fmodl.c: Likewise.
5294 * math/e_gammal_r.c: Likewise.
5295 * math/e_hypotl.c: Likewise.
5296 * math/e_j0l.c: Likewise.
5297 * math/e_j1l.c: Likewise.
5298 * math/e_jnl.c: Likewise.
5299 * math/e_lgammal_r.c: Likewise.
5300 * math/e_log10l.c: Likewise.
5301 * math/e_log2l.c: Likewise.
5302 * math/e_logl.c: Likewise.
5303 * math/e_powl.c: Likewise.
5304 * math/e_rem_pio2l.c: Likewise.
5305 * math/e_sinhl.c: Likewise.
5306 * math/e_sqrtl.c: Likewise.
5307 * math/fclrexcpt.c: Likewise.
5308 * math/fedisblxcpt.c: Likewise.
5309 * math/feenablxcpt.c: Likewise.
5310 * math/fegetenv.c: Likewise.
5311 * math/fegetexcept.c: Likewise.
5312 * math/fegetround.c: Likewise.
5313 * math/feholdexcpt.c: Likewise.
5314 * math/fesetenv.c: Likewise.
5315 * math/fesetround.c: Likewise.
5316 * math/feupdateenv.c: Likewise.
5317 * math/fgetexcptflg.c: Likewise.
5318 * math/fraiseexcpt.c: Likewise.
5319 * math/fsetexcptflg.c: Likewise.
5320 * math/ftestexcept.c: Likewise.
5321 * math/k_cosl.c: Likewise.
5322 * math/k_rem_pio2l.c: Likewise.
5323 * math/k_sinl.c: Likewise.
5324 * math/k_tanl.c: Likewise.
5325 * math/s_asinhl.c: Likewise.
5326 * math/s_atanl.c: Likewise.
5327 * math/s_cbrtl.c: Likewise.
5328 * math/s_erfl.c: Likewise.
5329 * math/s_expm1l.c: Likewise.
5330 * math/s_log1pl.c: Likewise.
5331 * math/s_tanhl.c: Likewise.
5332 * misc/acct.c: Likewise.
5333 * misc/brk.c: Likewise.
5334 * misc/chflags.c: Likewise.
5335 * misc/chroot.c: Likewise.
5336 * misc/fchflags.c: Likewise.
5337 * misc/fgetxattr.c: Likewise.
5338 * misc/flistxattr.c: Likewise.
5339 * misc/fremovexattr.c: Likewise.
5340 * misc/fsetxattr.c: Likewise.
5341 * misc/fsync.c: Likewise.
5342 * misc/ftruncate.c: Likewise.
5343 * misc/futimes.c: Likewise.
5344 * misc/futimesat.c: Likewise.
5345 * misc/getdomain.c: Likewise.
5346 * misc/getdtsz.c: Likewise.
5347 * misc/gethostid.c: Likewise.
5348 * misc/gethostname.c: Likewise.
5349 * misc/getloadavg.c: Likewise.
5350 * misc/getpagesize.c: Likewise.
5351 * misc/getsysstats.c: Likewise.
5352 * misc/getxattr.c: Likewise.
5353 * misc/gtty.c: Likewise.
5354 * misc/ioctl.c: Likewise.
5355 * misc/lgetxattr.c: Likewise.
5356 * misc/listxattr.c: Likewise.
5357 * misc/llistxattr.c: Likewise.
5358 * misc/lremovexattr.c: Likewise.
5359 * misc/lsetxattr.c: Likewise.
5360 * misc/lutimes.c: Likewise.
5361 * misc/madvise.c: Likewise.
5362 * misc/mincore.c: Likewise.
5363 * misc/mlock.c: Likewise.
5364 * misc/mlockall.c: Likewise.
5365 * misc/mmap.c: Likewise.
5366 * misc/mprotect.c: Likewise.
5367 * misc/msync.c: Likewise.
5368 * misc/munlock.c: Likewise.
5369 * misc/munlockall.c: Likewise.
5370 * misc/munmap.c: Likewise.
5371 * misc/preadv.c: Likewise.
5372 * misc/preadv64.c: Likewise.
5373 * misc/ptrace.c: Likewise.
5374 * misc/pwritev.c: Likewise.
5375 * misc/pwritev64.c: Likewise.
5376 * misc/readv.c: Likewise.
5377 * misc/reboot.c: Likewise.
5378 * misc/remap_file_pages.c: Likewise.
5379 * misc/removexattr.c: Likewise.
5380 * misc/revoke.c: Likewise.
5381 * misc/select.c: Likewise.
5382 * misc/setdomain.c: Likewise.
5383 * misc/setegid.c: Likewise.
5384 * misc/seteuid.c: Likewise.
5385 * misc/sethostid.c: Likewise.
5386 * misc/sethostname.c: Likewise.
5387 * misc/setregid.c: Likewise.
5388 * misc/setreuid.c: Likewise.
5389 * misc/setxattr.c: Likewise.
5390 * misc/sstk.c: Likewise.
5391 * misc/stty.c: Likewise.
5392 * misc/swapoff.c: Likewise.
5393 * misc/swapon.c: Likewise.
5394 * misc/sync.c: Likewise.
5395 * misc/syncfs.c: Likewise.
5396 * misc/syscall.c: Likewise.
5397 * misc/truncate.c: Likewise.
5398 * misc/ualarm.c: Likewise.
5399 * misc/usleep.c: Likewise.
5400 * misc/ustat.c: Likewise.
5401 * misc/utimes.c: Likewise.
5402 * misc/vhangup.c: Likewise.
5403 * misc/writev.c: Likewise.
5404 * posix/_exit.c: Likewise.
5405 * posix/alarm.c: Likewise.
5406 * posix/execve.c: Likewise.
5407 * posix/fexecve.c: Likewise.
5408 * posix/fork.c: Likewise.
5409 * posix/fpathconf.c: Likewise.
5410 * posix/getaddrinfo.c: Likewise.
5411 * posix/getegid.c: Likewise.
5412 * posix/geteuid.c: Likewise.
5413 * posix/getgid.c: Likewise.
5414 * posix/getgroups.c: Likewise.
5415 * posix/getlogin.c: Likewise.
5416 * posix/getlogin_r.c: Likewise.
5417 * posix/getpgid.c: Likewise.
5418 * posix/getpid.c: Likewise.
5419 * posix/getppid.c: Likewise.
5420 * posix/getresgid.c: Likewise.
5421 * posix/getresuid.c: Likewise.
5422 * posix/getsid.c: Likewise.
5423 * posix/getuid.c: Likewise.
5424 * posix/glob64.c: Likewise.
5425 * posix/nanosleep.c: Likewise.
5426 * posix/pathconf.c: Likewise.
5427 * posix/pause.c: Likewise.
5428 * posix/posix_madvise.c: Likewise.
5429 * posix/pread.c: Likewise.
5430 * posix/pread64.c: Likewise.
5431 * posix/pwrite.c: Likewise.
5432 * posix/pwrite64.c: Likewise.
5433 * posix/sched_getaffinity.c: Likewise.
5434 * posix/sched_getp.c: Likewise.
5435 * posix/sched_gets.c: Likewise.
5436 * posix/sched_primax.c: Likewise.
5437 * posix/sched_primin.c: Likewise.
5438 * posix/sched_rr_gi.c: Likewise.
5439 * posix/sched_setaffinity.c: Likewise.
5440 * posix/sched_setp.c: Likewise.
5441 * posix/sched_sets.c: Likewise.
5442 * posix/sched_yield.c: Likewise.
5443 * posix/setgid.c: Likewise.
5444 * posix/setlogin.c: Likewise.
5445 * posix/setpgid.c: Likewise.
5446 * posix/setresgid.c: Likewise.
5447 * posix/setresuid.c: Likewise.
5448 * posix/setsid.c: Likewise.
5449 * posix/setuid.c: Likewise.
5450 * posix/sleep.c: Likewise.
5451 * posix/spawni.c: Likewise.
5452 * posix/sysconf.c: Likewise.
5453 * posix/times.c: Likewise.
5454 * posix/wait.c: Likewise.
5455 * posix/wait3.c: Likewise.
5456 * posix/wait4.c: Likewise.
5457 * posix/waitpid.c: Likewise.
5458 * resolv/gai_sigqueue.c: Likewise.
5459 * resource/getpriority.c: Likewise.
5460 * resource/getrlimit.c: Likewise.
5461 * resource/getrusage.c: Likewise.
5462 * resource/nice.c: Likewise.
5463 * resource/setpriority.c: Likewise.
5464 * resource/setrlimit.c: Likewise.
5465 * resource/ulimit.c: Likewise.
5466 * rt/aio_cancel.c: Likewise.
5467 * rt/aio_fsync.c: Likewise.
5468 * rt/aio_read.c: Likewise.
5469 * rt/aio_sigqueue.c: Likewise.
5470 * rt/aio_suspend.c: Likewise.
5471 * rt/aio_write.c: Likewise.
5472 * rt/clock_getres.c: Likewise.
5473 * rt/clock_gettime.c: Likewise.
5474 * rt/clock_nanosleep.c: Likewise.
5475 * rt/clock_settime.c: Likewise.
5476 * rt/lio_listio.c: Likewise.
5477 * rt/mq_close.c: Likewise.
5478 * rt/mq_getattr.c: Likewise.
5479 * rt/mq_notify.c: Likewise.
5480 * rt/mq_open.c: Likewise.
5481 * rt/mq_receive.c: Likewise.
5482 * rt/mq_send.c: Likewise.
5483 * rt/mq_setattr.c: Likewise.
5484 * rt/mq_timedreceive.c: Likewise.
5485 * rt/mq_timedsend.c: Likewise.
5486 * rt/mq_unlink.c: Likewise.
5487 * rt/shm_open.c: Likewise.
5488 * rt/shm_unlink.c: Likewise.
5489 * rt/timer_create.c: Likewise.
5490 * rt/timer_delete.c: Likewise.
5491 * rt/timer_getoverr.c: Likewise.
5492 * rt/timer_gettime.c: Likewise.
5493 * rt/timer_settime.c: Likewise.
5494 * setjmp/__longjmp.c: Likewise.
5495 * setjmp/setjmp.c: Likewise.
5496 * signal/kill.c: Likewise.
5497 * signal/killpg.c: Likewise.
5498 * signal/raise.c: Likewise.
5499 * signal/sigaction.c: Likewise.
5500 * signal/sigaltstack.c: Likewise.
5501 * signal/sigblock.c: Likewise.
5502 * signal/sigignore.c: Likewise.
5503 * signal/sigintr.c: Likewise.
5504 * signal/signal.c: Likewise.
5505 * signal/sigpause.c: Likewise.
5506 * signal/sigpending.c: Likewise.
5507 * signal/sigqueue.c: Likewise.
5508 * signal/sigreturn.c: Likewise.
5509 * signal/sigset.c: Likewise.
5510 * signal/sigsetmask.c: Likewise.
5511 * signal/sigstack.c: Likewise.
5512 * signal/sigsuspend.c: Likewise.
5513 * signal/sigtimedwait.c: Likewise.
5514 * signal/sigvec.c: Likewise.
5515 * signal/sigwait.c: Likewise.
5516 * signal/sigwaitinfo.c: Likewise.
5517 * signal/sysv_signal.c: Likewise.
5518 * socket/accept.c: Likewise.
5519 * socket/accept4.c: Likewise.
5520 * socket/bind.c: Likewise.
5521 * socket/connect.c: Likewise.
5522 * socket/getpeername.c: Likewise.
5523 * socket/getsockname.c: Likewise.
5524 * socket/getsockopt.c: Likewise.
5525 * socket/isfdtype.c: Likewise.
5526 * socket/listen.c: Likewise.
5527 * socket/recv.c: Likewise.
5528 * socket/recvfrom.c: Likewise.
5529 * socket/recvmsg.c: Likewise.
5530 * socket/send.c: Likewise.
5531 * socket/sendmsg.c: Likewise.
5532 * socket/sendto.c: Likewise.
5533 * socket/setsockopt.c: Likewise.
5534 * socket/shutdown.c: Likewise.
5535 * socket/sockatmark.c: Likewise.
5536 * socket/socket.c: Likewise.
5537 * socket/socketpair.c: Likewise.
5538 * stdio-common/ctermid.c: Likewise.
5539 * stdio-common/cuserid.c: Likewise.
5540 * stdio-common/remove.c: Likewise.
5541 * stdio-common/rename.c: Likewise.
5542 * stdio-common/renameat.c: Likewise.
5543 * stdio-common/tempname.c: Likewise.
5544 * stdlib/getcontext.c: Likewise.
5545 * stdlib/makecontext.c: Likewise.
5546 * stdlib/setcontext.c: Likewise.
5547 * stdlib/swapcontext.c: Likewise.
5548 * stdlib/system.c: Likewise.
5549 * streams/fattach.c: Likewise.
5550 * streams/fdetach.c: Likewise.
5551 * streams/getmsg.c: Likewise.
5552 * streams/getpmsg.c: Likewise.
5553 * streams/putmsg.c: Likewise.
5554 * streams/putpmsg.c: Likewise.
5555 * sysdeps/unix/bsd/getpt.c: Likewise.
5556 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5557 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5558 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5561 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5562 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5563 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5564 * sysvipc/msgctl.c: Likewise.
5565 * sysvipc/msgget.c: Likewise.
5566 * sysvipc/msgrcv.c: Likewise.
5567 * sysvipc/msgsnd.c: Likewise.
5568 * sysvipc/semctl.c: Likewise.
5569 * sysvipc/semget.c: Likewise.
5570 * sysvipc/semop.c: Likewise.
5571 * sysvipc/semtimedop.c: Likewise.
5572 * sysvipc/shmat.c: Likewise.
5573 * sysvipc/shmctl.c: Likewise.
5574 * sysvipc/shmdt.c: Likewise.
5575 * sysvipc/shmget.c: Likewise.
5576 * termios/tcdrain.c: Likewise.
5577 * termios/tcflow.c: Likewise.
5578 * termios/tcflush.c: Likewise.
5579 * termios/tcgetattr.c: Likewise.
5580 * termios/tcgetpgrp.c: Likewise.
5581 * termios/tcsendbrk.c: Likewise.
5582 * termios/tcsetattr.c: Likewise.
5583 * termios/tcsetpgrp.c: Likewise.
5584 * time/adjtime.c: Likewise.
5585 * time/clock.c: Likewise.
5586 * time/getitimer.c: Likewise.
5587 * time/gettimeofday.c: Likewise.
5588 * time/setitimer.c: Likewise.
5589 * time/settimeofday.c: Likewise.
5590 * time/stime.c: Likewise.
5591 * time/time.c: Likewise.
5593 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5595 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5598 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5600 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5602 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5606 FE_TONEAREST before applying Dekker multiplication and Knuth
5607 addition. Clear inexact exceptions and check for exact zero
5609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5612 * math/libm-test.inc (fma_test): Add more tests.
5613 (fma_test_towardzero): Likewise.
5614 (fma_test_downward): Likewise.
5615 (fma_test_upward): Likewise.
5616 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5618 (libc_fesetround): New macro.
5619 (libc_fesetroundf): Likewise.
5620 (libc_fesetroundl): Likewise.
5621 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5623 (libc_fesetround_387): Likewise.
5624 (libc_fesetroundf): New macro.
5625 (libc_fesetround): Likewise.
5626 (libc_fesetroundl): Likewise.
5627 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5629 (libc_fesetroundf): New macro.
5630 (libc_fesetround): Likewise.
5631 (libc_fesetroundl): Likewise.
5632 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5633 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5634 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5636 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5637 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5639 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5640 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5642 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5646 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5647 integer constant usable in #if and use that to give value to enum
5649 (FE_DIVBYZERO): Likewise.
5650 (FE_UNDERFLOW): Likewise.
5651 (FE_OVERFLOW): Likewise.
5652 (FE_INVALID): Likewise.
5653 (FE_INVALID_SNAN): Likewise.
5654 (FE_INVALID_ISI): Likewise.
5655 (FE_INVALID_IDI): Likewise.
5656 (FE_INVALID_ZDZ): Likewise.
5657 (FE_INVALID_IMZ): Likewise.
5658 (FE_INVALID_COMPARE): Likewise.
5659 (FE_INVALID_SOFTWARE): Likewise.
5660 (FE_INVALID_SQRT): Likewise.
5661 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5662 (FE_TONEAREST): Likewise.
5663 (FE_TOWARDZERO): Likewise.
5664 (FE_UPWARD): Likewise.
5665 (FE_DOWNWARD): Likewise.
5666 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5667 (FE_DIVBYZERO): Likewise.
5668 (FE_OVERFLOW): Likewise.
5669 (FE_UNDERFLOW): Likewise.
5670 (FE_INEXACT): Likewise.
5671 (FE_TONEAREST): Likewise.
5672 (FE_DOWNWARD): Likewise.
5673 (FE_UPWARD): Likewise.
5674 (FE_TOWARDZERO): Likewise.
5675 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5676 (FE_UNDERFLOW): Likewise.
5677 (FE_OVERFLOW): Likewise.
5678 (FE_DIVBYZERO): Likewise.
5679 (FE_INVALID): Likewise.
5680 (FE_TONEAREST): Likewise.
5681 (FE_TOWARDZERO): Likewise.
5682 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5683 (FE_OVERFLOW): Likewise.
5684 (FE_UNDERFLOW): Likewise.
5685 (FE_DIVBYZERO): Likewise.
5686 (FE_INEXACT): Likewise.
5687 (FE_TONEAREST): Likewise.
5688 (FE_TOWARDZERO): Likewise.
5689 (FE_UPWARD): Likewise.
5690 (FE_DOWNWARD): Likewise.
5691 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5692 (FE_DIVBYZERO): Likewise.
5693 (FE_OVERFLOW): Likewise.
5694 (FE_UNDERFLOW): Likewise.
5695 (FE_INEXACT): Likewise.
5696 (FE_TONEAREST): Likewise.
5697 (FE_DOWNWARD): Likewise.
5698 (FE_UPWARD): Likewise.
5699 (FE_TOWARDZERO): Likewise.
5701 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5703 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5705 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5707 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5708 commands. Quote $PWD.
5709 (blacklist_exports): Don't use remove_newlines. Replace "declare
5711 (remove_newlines): Remove.
5713 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5715 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5716 * stdlib/stdlib.h (atof): Moved to ...
5717 * include/bits/stdlib-float.h: Here. New file.
5718 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5719 * stdlib/bits/stdlib-float.h: New file.
5720 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5722 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5725 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5727 * conform/conformtest.pl (@headers): Add fenv.h.
5728 * conform/data/fenv.h-data: New file.
5729 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5730 include of <math/fenv.h>.
5732 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5733 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5734 && !UNIX98]. Enables tests for XOPEN2K8.
5735 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5736 POSIX2008]: Likewise.
5738 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5739 (struct rusage): Do not expect type or its members.
5742 * math/math.h (FP_NAN): Define macro to integer constant usable in
5743 #if and use that to give value to enum constant.
5744 (FP_INFINITE): Likewise.
5745 (FP_ZERO): Likewise.
5746 (FP_SUBNORMAL): Likewise.
5747 (FP_NORMAL): Likewise.
5749 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5751 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5752 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5755 2012-11-02 Roland McGrath <roland@hack.frob.com>
5757 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5758 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5759 autoconf-time if not.
5760 * configure.in: Remove AC_PREREQ.
5762 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5764 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5765 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5766 of the internal implementation.
5768 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5770 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5771 except include of <misc/sys/syslog.h>.
5773 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5776 function returns with a NULL context exit with zero.
5778 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5780 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5782 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5784 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5785 (run_program_cmd): This.
5786 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5787 (tst_langinfo): New variable. Use it.
5789 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5791 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5792 floating point opcodes.
5794 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5796 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5799 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5801 * sysdeps/mach/hurd/powerpc: Remove directory.
5802 * sysdeps/mach/powerpc: Likewise.
5804 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5806 * scripts/check-local-headers.sh: Ignore c++ headers.
5808 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5810 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5811 __libc_cleanup_region_start argument.
5813 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5818 x * y using scaling, not as x * y + z.
5819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5820 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5821 * math/libm-test.inc (fma_test): Add more tests.
5822 (fma_test_towardzero): Likewise.
5823 (fma_test_downward): Likewise.
5824 (fma_test_upward): Likewise.
5826 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5828 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5830 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5832 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5835 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5837 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5839 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5846 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5849 Fix the order of the list for glibc 2.17.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5853 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5857 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5861 for low part of x being zero before using __atanl (y).
5862 * math/libm-test.inc (atan2_test): Add another test.
5864 * manual/install.texi (Configuring and compiling): Document
5865 general use of test-wrapper and test-wrapper-env.
5866 * INSTALL: Regenerated.
5868 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5869 (__fma): Do not extract and scale down low bits on after-rounding
5870 systems when result rounded to normal precision would have normal
5872 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5873 (__fmal): Do not extract and scale down low bits on after-rounding
5874 systems when result rounded to normal precision would have normal
5876 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5877 (__fmal): Do not extract and scale down low bits on after-rounding
5878 systems when result rounded to normal precision would have normal
5880 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5882 (fma_test): Add more tests.
5883 (fma_test_towardzero): Likewise.
5884 (fma_test_downward): Likewise.
5885 (fma_test_upward): Likewise.
5887 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5889 * sysdeps/i386/tininess.h: Renamed to ...
5890 * sysdeps/x86/tininess.h: This.
5891 * sysdeps/x86_64/tininess.h: Removed.
5893 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5895 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5896 input. Use $(build-program-cmd).
5897 ($(objpfx)tst-array1-static.out): Likewise.
5898 ($(objpfx)tst-array2.out): Likewise.
5899 ($(objpfx)tst-array3.out): Likewise.
5900 ($(objpfx)tst-array4.out): Likewise.
5901 ($(objpfx)tst-array5.out): Likewise.
5902 ($(objpfx)tst-array5-static.out): Likewise.
5904 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5906 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5909 * nss/nsswitch.h (nss_interface_function): Provide new
5910 macro for use with NSS functions.
5911 * grp/initgroups.c: Use new macro.
5912 * nss/getXXbyYY.c: Likewise.
5913 * nss/getXXbyYY_r.c: Likewise.
5914 * nss/getXXent.c: Likewise.
5915 * nss/getXXent_r.c: Likewise.
5916 * sysdeps/posix/getaddrinfo.c: Likewise.
5918 2012-10-30 Andreas Jaeger <aj@suse.de>
5920 * po/ru.po: Update Russion translation from translation project.
5922 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5927 result and shift together with sticky bit instead of replicating
5928 round-to-nearest rounding.
5929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5931 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5932 missing underflow exceptions.
5933 (fma_test_towardzero): Add more tests.
5934 (fma_test_downward): Likewise.
5935 (fma_test_upward): Likewise.
5938 * sysdeps/generic/tininess.h: New file.
5939 * sysdeps/i386/tininess.h: Likewise.
5940 * sysdeps/sh/tininess.h: Likewise.
5941 * sysdeps/x86_64/tininess.h: Likewise.
5942 * stdlib/tst-strtod-underflow.c: Likewise.
5943 * stdlib/tst-tininess.c: Likewise.
5944 * stdlib/strtod_l.c: Include <tininess.h>.
5945 (round_and_return): Do not set errno for exact underflow cases.
5946 Force an underflow exception when setting errno for underflow.
5947 Determine underflow based on rounding to normal precision if
5948 TININESS_AFTER_ROUNDING.
5949 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5950 ERANGE for exact underflow cases.
5951 * stdlib/Makefile (tests): Add tst-tininess and
5952 tst-strtod-underflow.
5953 ($(objpfx)tst-tininess): Use $(link-libm).
5954 ($(objpfx)tst-strtod-underflow): Likewise.
5956 2012-10-30 Andreas Jaeger <aj@suse.de>
5959 * elf/Makefile (tests): Remove conditional for have-initfini-array
5960 since this is now always required and the variable does not exist
5962 (tests-static): Likewise.
5963 (modules-names): Likewise.
5965 * po/eo.po: Add Esperanto translation from translation project.
5967 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5968 merged with constructor/destructor.
5969 (init_array): Likewise.
5970 * elf/tst-array2dep.c (fini_array): Likewise.
5971 (init_array): Likewise.
5973 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5975 * manual/message.texi: Delete @cartouche tags.
5977 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5979 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5981 * sysdeps/mach/hurd/fsync.c: Likewise.
5983 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5984 [_POSIX_REALTIME_SIGNALS]: Change condition to
5985 [_POSIX_REALTIME_SIGNALS > 0].
5987 2012-10-27 Andreas Jaeger <aj@suse.de>
5989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5990 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5992 [__WORDSIZE != 64]: Likewise.
5994 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5996 * iconvdata/tst-table.sh: Remove ${SHELL}.
5997 * iconvdata/tst-tables.sh: Likewise.
5999 2012-10-25 David S. Miller <davem@davemloft.net>
6001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6002 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6007 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6008 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6009 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6012 2012-10-25 Roland McGrath <roland@hack.frob.com>
6014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6015 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6018 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6019 Jim Blandy <jimb@codesourcery.com>
6021 * scripts/cross-test-ssh.sh: New file.
6022 * manual/install.texi (Configuring and compiling): Document use of
6024 * INSTALL: Regenerated.
6026 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6028 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6031 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6033 * Makeconfig (run-program-prefix): Fix comment.
6035 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6036 Jim Blandy <jimb@codesourcery.com>
6038 * Makeconfig (test-wrapper): New variable,
6039 (test-wrapper-env): Likewise.
6040 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6041 (run-built-tests): Define to yes.
6042 (run-program-prefix): Use $(test-wrapper).
6043 (built-program-cmd): Likewise.
6044 * Rules (make-test-out): Use $(test-wrapper-env) and
6045 $(host-built-program-cmd).
6046 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6047 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6049 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6050 $(test-wrapper-env) to tst-rtld-load-self.sh.
6051 ($(objpfx)order2.out): Use $(test-wrapper).
6052 ($(objpfx)tst-initorder.out): Likewise.
6053 ($(objpfx)tst-initorder2.out): Likewise.
6054 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6055 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6056 (test_wrapper_env): New variable. Use it to run ld.so.
6057 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6058 Use it to run ld.so.
6059 (test_wrapper_env): Likewise.
6060 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6061 $(test-wrapper) to run-iconv-test.sh.
6062 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6063 (ICONV): Use $test_wrapper.
6064 * posix/Makefile ($(objpfx)globtest.out): Pass
6065 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6066 globtest.sh, not $(run-program-prefix).
6067 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6068 (test_wrapper): Likewise.
6069 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6070 set together with run_via_rtld_prefix.
6071 (run_program_prefix): Define in terms of test_wrapper and
6072 run_via_rtld_prefix.
6074 2012-10-24 Roland McGrath <roland@hack.frob.com>
6076 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6077 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6081 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6082 Declare __clock_getres, __clock_gettime, __clock_settime,
6083 __clock_nanosleep, and __clock_getcpuclockid.
6084 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6085 Remove librt_hidden_def (clock_gettime).
6086 * sysdeps/unix/clock_gettime.c: Likewise.
6087 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6088 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6089 * rt/clock_getres.c: Define __clock_getres as an alias.
6090 * sysdeps/posix/clock_getres.c: Likewise.
6091 * rt/clock_settime.c: Define __clock_settime as an alias.
6092 * sysdeps/unix/clock_settime.c: Likewise.
6093 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6094 * sysdeps/unix/clock_nanosleep.c: Likewise.
6095 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6096 * rt/clock-compat.c: New file.
6097 * rt/Makefile (librt-routines): Add clock-compat and move
6098 $(clock-routines) to ...
6099 (routines): ... here, new variable.
6100 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6101 Don't add get_clockfreq here.
6102 * rt/Versions (libc: GLIBC_2.17): New version set.
6103 Add clock_* symbols here.
6104 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6106 (GLIBC_2.17): Add clock_* symbols.
6107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6118 * NEWS: Mention the move.
6120 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6121 Use __open, __read, __close rather than their public counterparts.
6122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6123 (__get_clockfreq_via_cpuinfo): Likewise.
6124 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6125 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6127 * config.h.in (HAVE_IFUNC): New #undef.
6128 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6130 * configure: Regenerated.
6132 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6134 * configure.in: Move READELF check to start of file.
6135 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6136 libc_cv_asm_gnu_indirect_function in the process.
6137 * configure: Regenerated.
6139 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6141 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6142 send the output to /dev/null.
6143 (libc_cv_cc_with_libunwind): Likewise.
6144 (libc_cv_as_noexecstack): Likewise.
6145 * configure: Regenerate.
6147 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6149 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6151 * posix/globtest.sh (TMPDIR): Do not set.
6152 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6153 (testout): Likewise.
6155 2012-10-24 Andreas Jaeger <aj@suse.de>
6157 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6158 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6159 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6160 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6161 posix_fadvise64, posix_fallocate64.
6163 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6164 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6165 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6167 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6169 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6172 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6173 <bits/fcntl-linux.h>.
6174 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6177 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6178 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6179 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6180 [__WORDSIZE != 64]: Likewise.
6182 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6184 * Makeconfig (run-built-tests): New variable.
6185 * Rules [$(cross-compiling) = yes]: Change condition to
6186 [$(run-built-tests) = no].
6187 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6188 to [$(run-built-tests) = yes].
6189 * elf/Makefile [$(cross-compiling) = no]: Likewise
6190 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6191 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6192 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6193 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6194 * io/Makefile [$(cross-compiling) = no]: Likewise.
6195 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6196 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6197 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6198 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6199 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6200 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6201 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6202 * string/Makefile [$(cross-compiling) = no]: Likewise.
6204 * posix/Makefile ($(objpfx)globtest.out): Pass
6205 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6206 $(rtld-installed-name).
6207 * posix/globtest.sh (elf_objpfx): Remove variable.
6208 (rtld_installed_name): Likewise.
6209 (library_path): Likewise.
6210 (run_program_prefix): New variable. Use for running globtest
6213 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6214 Joseph Myers <joseph@codesourcery.com>
6216 * Makeconfig (host-built-program-cmd): New variable.
6217 * elf/Makefile (tst-stackguard1-ARGS): Use
6218 $(host-built-program-cmd).
6219 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6220 (tst-spawn-ARGS): Likewise.
6221 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6223 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6224 Jim Blandy <jimb@codesourcery.com>
6226 * Makeconfig (run-via-rtld-prefix): New variable.
6227 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6228 (built-program-cmd): Likewise.
6230 2012-10-22 Andreas Jaeger <aj@suse.de>
6232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6233 __O_RSYNC if it exists, otherwise to O_SYNC.
6235 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6236 Joseph Myers <joseph@codesourcery.com>
6238 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6240 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6242 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6245 2012-10-22 Andreas Jaeger <aj@suse.de>
6247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6254 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6255 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6262 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6263 Joseph Myers <joseph@codesourcery.com>
6265 * config.make.in (NM): New variable.
6267 2012-10-21 Andreas Jaeger <aj@suse.de>
6269 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6270 definitions and declarations that are provided by
6271 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6273 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6276 * elf/Makefile (tests-static): Add tst-leaks1-static.
6277 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6278 ($(objpfx)tst-leaks1-static): New rule.
6279 ($(objpfx)tst-leaks1-static-mem): Likewise.
6280 (tst-leaks1-static-ENV): New macro.
6281 * elf/dl-open.c (dl_open_worker): Check the main application
6282 only if SHARED is defined.
6283 * elf/tst-leaks1-static.c: New file.
6285 2012-10-20 Andreas Jaeger <aj@suse.de>
6287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6288 generic values for Linux.
6289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6290 and declarations that are provided by <bits/fcntl-linux.h> and
6291 include <bits/fcntl-linux.h>.
6292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6295 2012-10-20 Roland McGrath <roland@hack.frob.com>
6297 * io/fcntl.h: Move include of <bits/types.h> to the top and
6298 include it unconditionally.
6300 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6302 * wcsmbs/Makefile (tests-ifunc): New variable.
6303 (tests): Add $(tests-ifunc).
6304 * wcsmbs/test-wcschr-ifunc.c: New file.
6305 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6306 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6307 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6308 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6309 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6311 * string/Makefile (tests-ifunc): New variable.
6312 (tests): Add $(tests-ifunc).
6313 * string/test-memccpy.c (TEST_NAME): New macro.
6314 * string/test-memchr.c (TEST_NAME): Likewise.
6315 * string/test-memcmp.c (TEST_NAME): Likewise.
6316 * string/test-memcpy.c (TEST_NAME): Likewise.
6317 * string/test-memmem.c (TEST_NAME): Likewise.
6318 * string/test-memmove.c (TEST_NAME): Likewise.
6319 * string/test-memset.c (TEST_NAME): Likewise.
6320 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6321 * string/test-stpcpy.c (TEST_NAME): Likewise.
6322 * string/test-stpncpy.c (TEST_NAME): Likewise.
6323 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6324 * string/test-strcasestr.c (TEST_NAME): Likewise.
6325 * string/test-strcat.c (TEST_NAME): Likewise.
6326 * string/test-strchr.c (TEST_NAME): Likewise.
6327 * string/test-strcmp.c(TEST_NAME): Likewise.
6328 * string/test-strcpy.c (TEST_NAME): Likewise.
6329 * string/test-strcspn.c (TEST_NAME): Likewise.
6330 * string/test-strlen.c (TEST_NAME): Likewise.
6331 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6332 * string/test-strncmp.c (TEST_NAME): Likewise.
6333 * string/test-strncpy.c (TEST_NAME): Likewise.
6334 * string/test-strnlen.c (TEST_NAME): Likewise.
6335 * string/test-strpbrk.c (TEST_NAME): Likewise.
6336 * string/test-strrchr.c (TEST_NAME): Likewise.
6337 * string/test-strspn.c (TEST_NAME): Likewise.
6338 * string/test-strstr.c (TEST_NAME): Likewise.
6339 * string/test-bcopy-ifunc.c: New file.
6340 * string/test-bzero-ifunc.c: Likewise.
6341 * string/test-memccpy-ifunc.c: Likewise.
6342 * string/test-memchr-ifunc.c: Likewise.
6343 * string/test-memcmp-ifunc.c: Likewise.
6344 * string/test-memcpy-ifunc.c: Likewise.
6345 * string/test-memmem-ifunc.c: Likewise.
6346 * string/test-memmove-ifunc.c: Likewise.
6347 * string/test-mempcpy-ifunc.c: Likewise.
6348 * string/test-memset-ifunc.c: Likewise.
6349 * string/test-rawmemchr-ifunc.c: Likewise.
6350 * string/test-stpcpy-ifunc.c: Likewise.
6351 * string/test-stpncpy-ifunc.c: Likewise.
6352 * string/test-strcasecmp-ifunc.c: Likewise.
6353 * string/test-strcasestr-ifunc.c: Likewise.
6354 * string/test-strcat-ifunc.c: Likewise.
6355 * string/test-strchr-ifunc.c: Likewise.
6356 * string/test-strchrnul-ifunc.c: Likewise.
6357 * string/test-strcmp-ifunc.c: Likewise.
6358 * string/test-strcpy-ifunc.c: Likewise.
6359 * string/test-strcspn-ifunc.c: Likewise.
6360 * string/test-strlen-ifunc.c: Likewise.
6361 * string/test-strncasecmp-ifunc.c: Likewise.
6362 * string/test-strncat-ifunc.c: Likewise.
6363 * string/test-strncmp-ifunc.c: Likewise.
6364 * string/test-strncpy-ifunc.c: Likewise.
6365 * string/test-strnlen-ifunc.c: Likewise.
6366 * string/test-strpbrk-ifunc.c: Likewise.
6367 * string/test-strrchr-ifunc.c: Likewise.
6368 * string/test-strspn-ifunc.c: Likewise.
6369 * string/test-strstr-ifunc.c: Likewise.
6371 * debug/Makefile (tests-ifunc): New variable.
6372 (tests): Add $(tests-ifunc).
6373 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6374 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6375 * debug/test-stpcpy_chk-ifunc.c: New file.
6376 * debug/test-strcpy_chk-ifunc.c: Likewise.
6378 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6381 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6382 header is not read in.
6384 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6386 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6387 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6388 directly. Pass built executable to script as
6389 $(built-program-cmd).
6390 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6391 $testprogram without using LD_LIBRARY_PATH and $ldso.
6393 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6394 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6395 $(rtld-installed-name).
6396 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6397 (rtld_installed_name): Likewise.
6398 (library_path): Likewise.
6399 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6400 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6401 $(run-program-prefix) to tst-tables.sh.
6402 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6403 it to run tst-table-from and tst-table-to.
6404 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6405 Pass it to tst-table.sh.
6406 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6407 $(run-program-prefix) to tst-gettext.sh.
6408 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6410 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6412 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6414 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6415 to run tst-gettext2.
6416 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6417 to run tst-translit.
6418 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6419 $(run-program-prefix) to tst-mtrace.sh.
6420 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6422 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6423 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6424 $(rtld-installed-name).
6425 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6426 (rtld_installed_name): Likewise.
6427 (run_program_prefix): New variable. Use it to run wordexp-test.
6429 * Makeconfig (ARCH): Remove all definitions.
6430 (machine): Likewise.
6431 [ARCH]: Remove conditional code.
6432 [!objdir]: Give error.
6433 [!objdir] (objpfx): Remove.
6434 [!objdir] (common-objpfx): Likewise.
6435 [!objdir] (common-objdir): Likewise.
6436 * configure.in (config_makefile): Remove. Hardcode Makefile in
6437 AC_CONFIG_FILES call.
6438 * configure: Regenerated.
6441 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6443 (testout): Likewise.
6445 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6446 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6447 $(rtld-installed-name).
6448 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6449 (rtld_installed_name): Likwise.
6450 (runit): Remove function.
6451 (run_getconf): New variable, Use it for running getconf binary.
6453 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6456 * string/test-memmem.c (check_result): New function.
6457 (do_one_test): Use it.
6458 (check1): New function.
6459 (test_main): Use it.
6461 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6463 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6465 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6467 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6468 (_G_LSEEK64): Likewise.
6469 (_G_MMAP64): Likewise.
6470 (_G_FSTAT64): Likewise.
6471 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6472 (_G_LSEEK64): Likewise.
6473 (_G_MMAP64): Likewise.
6474 (_G_FSTAT64): Likewise.
6475 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6476 unconditional. Call __mmap64 directly.
6477 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6478 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6480 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6481 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6483 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6484 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6486 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6487 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6489 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6490 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6492 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6493 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6494 __fxstat64 directly.
6495 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6496 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6498 (freopen64) [!_G_OPEN64]: Remove conditional code.
6499 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6501 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6502 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6504 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6505 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6507 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6508 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6510 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6511 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6513 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6514 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6516 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6517 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6519 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6521 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6524 * manual/memory.texi (Malloc Tunable Parameters): Add note
6525 about free list pointers overwriting some perturb bytes.
6526 Wording suggested by Roland McGrath.
6528 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6530 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6531 (lgamma_test): Likewise.
6532 (tgamma_test): Likewise.
6534 2012-10-16 Florian Weimer <fweimer@redhat.com>
6537 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6538 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6540 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6542 * NEWS: Mention BZ #14716.
6543 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6544 when removing AVAILABLE1_USES_J macro.
6546 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6548 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6549 (__bswap_64): __uint64_t for unsigned 64-bit int.
6551 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6553 * include/string.h (memmem): Declare libc hidden alias.
6554 * string/memmem.c (memmem): Define libc hidden alias.
6555 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6556 __read, __close instead of open, read, close.
6558 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6561 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6563 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6564 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6565 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6567 (__rawmemchr_sse2): Likewise.
6568 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6569 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6570 (__strchr_sse2): Likewise.
6571 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6572 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6573 (__strcasecmp_sse2): Likewise.
6574 (__strncasecmp_sse2): Likewise.
6575 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6576 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6577 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6578 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6579 (__strrchr_sse2): Likewise.
6580 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6582 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6583 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6584 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6585 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6586 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6587 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6588 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6589 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6590 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6591 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6592 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6593 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6594 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6595 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6596 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6597 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6598 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6599 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6600 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6601 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6602 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6603 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6604 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6605 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6606 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6607 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6608 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6609 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6610 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6611 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6613 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6615 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6616 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6617 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6618 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6620 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6622 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6623 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6624 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6625 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6627 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6628 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6629 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6630 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6631 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6632 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6633 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6634 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6635 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6636 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6637 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6638 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6639 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6640 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6641 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6642 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6643 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6644 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6645 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6646 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6648 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6649 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6650 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6651 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6657 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6658 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6659 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6660 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6661 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6662 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6663 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6664 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6665 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6666 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6667 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6669 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6670 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6671 * include/ifunc-impl-list.h: New file.
6672 * misc/ifunc-impl-list.c: Likewise.
6673 * misc/Makefile (routines): Add ifunc-impl-list.
6674 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6675 * string/test-string.h: Include <ifunc-impl-list.h>.
6676 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6677 impl_array): New variables.
6678 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6680 (test_init): Call __libc_ifunc_impl_list to initialize
6681 func_list if TEST_IFUNC and TEST_NAME are defined.
6683 * string/Makefile (strop-tests): Add bcopy and bzero.
6684 * string/test-bcopy.c: New file.
6685 * string/test-bzero.c: Likewise.
6686 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6688 * string/test-memset.c: Support bzero test if TEST_BZERO is
6690 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6692 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6694 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6697 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6699 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6700 * configure: Regenerated.
6702 * Makeconfig (+link-static-before-libc): Don't include
6703 $(link-static-libc).
6705 * libio/libio.h (_IO_pos_t): Remove.
6707 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6709 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6712 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6714 * crypt/crypt-entry.c: Include fips-private.h.
6715 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6716 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6717 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6718 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6720 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6722 * crypt/crypt-private.h: Include stdbool.h.
6723 (_ufc_setup_salt_r): Return bool.
6724 * crypt/crypt-entry.c: Include errno.h.
6725 (__crypt_r): Return NULL with EINVAL for bad salt.
6726 * crypt/crypt_util.c (bad_for_salt): New.
6727 (_ufc_setup_salt_r): Check that salt is long enough and within
6728 the specified alphabet.
6729 * crypt/badsalttest.c: New file.
6730 * crypt/Makefile (tests): Add it.
6731 ($(objpfx)badsalttest): New.
6733 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6735 * NEWS: Add entry for BZ #14602.
6737 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6739 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6741 * math/libm-test.inc: Update comment listing what functions and
6743 (isgreater_test): New function.
6744 (isgreaterequal_test): Likewise.
6745 (isless_test): Likewise.
6746 (islessequal_test): Likewise.
6747 (islessgreater_test): Likewise.
6748 (isunordered_test): Likewise.
6749 (main): Call the new functions.
6751 2012-10-09 Roland McGrath <roland@hack.frob.com>
6753 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6754 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6755 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6756 * sysdeps/i386/configure: Regenerated.
6757 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6758 * sysdeps/mach/configure: Regenerated.
6759 * sysdeps/mach/hurd/configure: Regenerated.
6760 * sysdeps/powerpc/configure: Regenerated.
6761 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6762 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6763 * sysdeps/s390/s390-32/configure: Regenerated.
6764 * sysdeps/s390/s390-64/configure: Regenerated.
6765 * sysdeps/sh/configure: Regenerated.
6766 * sysdeps/sparc/configure: Regenerated.
6767 * sysdeps/unix/sysv/linux/configure: Regenerated.
6768 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6769 * sysdeps/x86_64/configure: Regenerated.
6771 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6772 defined. Don't check if MAP is NULL.
6774 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6776 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6777 (_G_stat64): Likewise.
6778 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6779 (_G_stat64): Likewise.
6780 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6781 instead of struct _G_stat64.
6782 * libio/fileops.c (mmap_remap_check): Likewise.
6783 (decide_maybe_mmap): Likewise.
6784 (_IO_new_file_seekoff): Likewise.
6785 (_IO_file_stat): Likewise.
6786 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6788 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6789 instead of struct _G_stat64.
6790 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6792 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6795 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6797 (CHECK_EOL): New macro.
6798 (two_way_short_needle): Check beginning of haystack for EOL. Use
6800 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6801 Replace with CHECK_EOL.
6802 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6803 Replace with CHECK_EOL.
6805 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6807 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6809 * math/libm-test.inc: Update comment listing what functions and
6811 (finite_test): New function.
6812 (isinf_test): Likewise.
6813 (isnan_test): Likewise.
6814 (fpclassify_test): Test subnormal input.
6815 (isfinite_test): Likewise.
6816 (isnormal_test): Likewise.
6817 (main): Call the new functions.
6819 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6822 * Makerules (%.dynsym): Force C locale when running
6823 $(OBJDUMP) --dynamic-syms.
6825 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6827 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6830 2012-10-06 David S. Miller <davem@davemloft.net>
6832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6833 upper 32-bits of the length value in %o2 since we use branch-on-register
6834 tests which consider the entire 64-bit register.
6836 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6838 * string/test-strstr.c (check2): Add a test for page boundary.
6840 2012-10-05 David S. Miller <davem@davemloft.net>
6842 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6843 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6845 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6847 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6848 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6849 and bzero when HWCAP_SPARC_CRYPTO is present.
6851 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6854 * string/test-strstr.c (check2): New function.
6855 (test_main): Call check2.
6857 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6859 * string/bug-strcasestr1.c (do_test): Moved to ...
6860 * string/test-strcasestr.c (check1): Here. New function.
6861 (do_one_test): Break out result checking code into ...
6862 (check_result): This. New function.
6863 (do_one_test): Call check_result.
6864 (test_main): Call check1.
6865 * string/bug-strchr1.c (do_test): Moved to ...
6866 * string/test-strchr.c (check1): Here. New function.
6867 (do_one_test): Break out result checking code into ...
6868 (check_result): This. New function.
6869 (do_one_test): Call check_result.
6870 (test_main): Call check1.
6871 * string/bug-strstr1.c (main): Moved to ...
6872 * string/test-strstr.c (check1): Here. New function.
6873 (do_one_test): Break out result checking code into ...
6874 (check_result): This. New function.
6875 (do_one_test): Call check_result.
6876 (test_main): Call check1.
6877 * string/bug-strcasestr1.c: Removed.
6878 * string/bug-strchr1.c: Likewise.
6879 * string/bug-strstr1.c: Likewise.
6881 * elf/Makefile (dl-routines): Add hwcaps.
6882 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6883 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6884 (_dl_important_hwcaps): Moved to ...
6885 * elf/dl-hwcaps.c: Here. New file.
6886 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6889 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6890 if IS_IN_rtld isn't defined.
6892 * elf/dl-support.c (_dl_sysinfo_map): New.
6893 Include "get-dynamic-info.h" and "setup-vdso.h".
6894 (_dl_non_dynamic_init): Call setup_vdso.
6895 * elf/dynamic-link.h: Don't include <assert.h>.
6896 (elf_get_dynamic_info): Moved to ...
6897 * elf/get-dynamic-info.h: Here. New file.
6898 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6899 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6900 * elf/setup-vdso.h: Here. New file.
6901 * elf/rtld.c: Include "setup-vdso.h".
6902 (dl_main): Call setup_vdso.
6904 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6906 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6907 creal in comment listing functions tested. List finite, isinf,
6908 isnan, isless, islessequal, isgreater, isgreaterequal,
6909 islessgreater, isunordered, lgamma_r and pow10 as functions and
6910 macros not tested. Mention which functions not tested are aliases
6911 for other functions. Fix typo. Note that signs of NaNs are not
6914 * scripts/config.guess: Update from config.git.
6915 * scripts/config.sub: Likewise.
6917 2012-10-04 Roland McGrath <roland@hack.frob.com>
6919 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6920 * misc/madvise.c (madvise): Renamed to __madvise.
6921 Make madvise a weak alias.
6922 * include/sys/mman.h: Declare __madvise.
6923 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6924 * sysdeps/unix/syscalls.list
6925 (madvise): Make __madvise the strong name, and madvise a weak alias.
6926 * sysdeps/unix/sysv/linux/syscalls.list
6927 (madvise, mmap): Remove redundant entries.
6928 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6929 * malloc/malloc.c (mtrim): Likewise.
6930 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6932 2012-10-03 Roland McGrath <roland@hack.frob.com>
6934 * sysdeps/mach/hurd/dl-cache.c: File removed.
6935 * config.h.in (USE_LDCONFIG): New #undef.
6936 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6937 * configure: Regenerated.
6938 * elf/Makefile (dl-routines): Add dl-cache only under
6939 [$(use-ldconfig) = yes].
6940 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6941 cache on [USE_LDCONFIG].
6942 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6944 * elf/rtld.c (dl_main): Likewise.
6946 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6948 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6949 _SC_LEVEL4_CACHE_LINESIZE.
6951 2012-10-03 Roland McGrath <roland@hack.frob.com>
6953 * sysdeps/unix/bsd/confstr.h: File removed.
6955 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6957 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6960 2012-10-02 Roland McGrath <roland@hack.frob.com>
6962 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6963 Make 'mapoff' field ElfW(Off) rather than off_t.
6965 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6967 * nscd/Makefile: Remove nscd-cflags and all its users.
6968 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6969 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6972 * malloc.c (malloc_printerr): Clarify error message.
6974 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6978 Set bit_FMA_Usable if FMA is supported.
6979 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6981 (bit_FMA4_Usable): Updated.
6982 (index_FMA_Usable): New macro.
6983 (CPUID_FMA): Likewise
6984 (HAS_FMA): Defined with bit_FMA_Usable.
6986 2012-10-01 Roland McGrath <roland@hack.frob.com>
6988 * bits/types.h (__swblk_t): Type removed.
6989 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6990 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6992 (__SWBLK_T_TYPE): Likewise.
6993 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6994 (__SWBLK_T_TYPE): Likewise.
6995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6996 (__SWBLK_T_TYPE): Likewise.
6997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6998 (__SWBLK_T_TYPE): Likewise.
7000 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7001 Honza Horak <hhorak@redhat.com>
7003 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7004 (xdr_mapname): Use YPMAXMAP as maxsize.
7005 (xdr_peername): Use YPMAXPEER as maxsize.
7006 (xdr_keydat): Use YPAXRECORD as maxsize.
7007 (xdr_valdat): Use YPMAXRECORD as maxsize.
7009 2012-10-01 Roland McGrath <roland@hack.frob.com>
7011 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7013 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7014 * csu/init-first.c: ... here.
7015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7016 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7017 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7018 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7019 * sysdeps/i386/init-first.c: File removed.
7020 * sysdeps/sh/init-first.c: File removed.
7022 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7026 if x * y might underflow to zero and z is zero.
7027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7029 * math/libm-test.inc (min_subnorm_value): New variable.
7030 (fma_test): Add more tests.
7031 (fma_test_towardzero): Likewise.
7032 (fma_test_downward): Likewise
7033 (fma_test_upward): Likewise.
7034 (initialize): Set min_subnorm_value.
7036 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7041 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7042 mode for addition resulting in exact zero.
7043 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7048 * math/libm-test.inc (fma_test): Add more tests.
7049 (fma_test_towardzero): New function.
7050 (fma_test_downward): Likewise.
7051 (fma_test_upward): Likewise.
7052 (main): Call the new functions.
7054 2012-09-28 David S. Miller <davem@davemloft.net>
7056 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7058 2012-09-28 Roland McGrath <roland@hack.frob.com>
7060 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7063 * sysdeps/gnu/_G_config.h: Moved to ...
7064 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7065 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7066 * sysdeps/generic/_G_config.h: ... here.
7068 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7070 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7072 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7073 Conditionalize target on [libnss_test1.so-version].
7075 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7077 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7078 (elfobjdir): Move out of conditionals.
7080 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7081 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7082 (__nss_lookup_function): Conditionalize label remove_from_tree on
7083 [!DO_STATIC_NSS || SHARED], matching its only use.
7085 2012-09-28 David S. Miller <davem@davemloft.net>
7087 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7088 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7090 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7092 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7094 when HWCAP_SPARC_CRYPTO is present.
7096 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7098 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7100 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7103 * stdio-common/vfprintf.c (process_string_arg): Revert
7106 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7108 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7110 * stdio-common/tst-sprintf.c: Include <locale.h>
7111 (main): Test sprintf's handling of incomplete multibyte
7114 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7116 * elf/dl-runtime.c (VERSYMIDX): Removed.
7117 * elf/dl-version.c (VERSYMIDX): Likewise.
7118 * elf/do-rel.h (VERSYMIDX): Likewise.
7120 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7121 * elf/rtld.c (VALIDX): Likewise.
7122 (ADDRIDX): Likewise.
7123 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7124 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7125 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7126 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7128 (ADDRIDX): Likewise.
7130 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7132 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7134 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7137 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7139 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7140 addresses are in the same scope as 192.0.2/24.
7141 * posix/gai.conf: Document new scope table defaults.
7143 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7146 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7147 for ftell. Compute offsets from write pointers instead.
7148 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7150 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7153 * libio/Makefile (tests): New test case tst-fseek.
7154 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7155 combination works in wide mode.
7156 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7157 state when the external buffer state changes.
7159 2012-09-27 David S. Miller <davem@davemloft.net>
7162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7163 pass reloc->r_addend in as the 'high' argument to
7164 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7168 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7170 * rt/tst-aio2.c: Include <pthread.h>.
7171 * rt/tst-aio3.c: Likewise.
7173 2012-09-27 Steve Ellcey <sellcey@mips.com>
7175 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7177 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7179 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7180 contents on [SHARED].
7182 2012-09-26 Marek Polacek <polacek@redhat.com>
7186 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7187 for C++ and GCC <4.3 as well as for non GCC compilers.
7189 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7193 2012-09-25 Roland McGrath <roland@hack.frob.com>
7195 * Makefile.in (all, install): Declare with .PHONY.
7196 Reported by Michael Hope <michael.hope@linaro.org>.
7198 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7200 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7201 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7203 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7205 (sydep_routines): Add the new and the internal functions.
7206 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7207 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7209 (GLIBC_2.17): Add the new function.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7211 (GLIBC_2.17): Likewise.
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7213 (GLIBC_2.17): Likewise.
7214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7215 (GLIBC_2.17): Likewise.
7216 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7218 2012-09-25 Alan Modra <amodra@gmail.com>
7220 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7221 Add release barrier before setting once_control to say
7222 initialisation is done. Add hints on lwarx. Use macro in
7224 (clear_once_control): Add release barrier.
7226 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7229 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7231 * math/s_clog10.c (__clog10): Likewise.
7232 * math/s_clog10f.c (__clog10f): Likewise.
7233 * math/s_clog10l.c (__clog10l): Likewise.
7234 * math/s_clogf.c (__clogf): Likewise.
7235 * math/s_clogl.c (__clogl): Likewise.
7236 * math/Makefile (libm-calls): Add x2y2m1.
7237 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7238 (__x2y2m1): Likewise.
7239 (__x2y2m1l): Likewise.
7240 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7241 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7244 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7245 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7246 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7247 * sysdeps/i386/fpu/libm-test-ulps: Update.
7248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7251 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7252 int as type of variable DEPTH.
7253 (glob): Use size_t instead of int as type of variables NEWCOUNT
7256 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7258 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7260 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7261 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7262 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7263 macros for using routine as __sincosf_ia32.
7264 Use macro for function declaration and weak_alias.
7265 * sysdeps/i386/fpu/libm-test-ulps: Update.
7267 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7270 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7272 * math/s_cexpf.c (__cexpf): Likewise.
7273 * math/s_csinf.c (__csinf): Likewise.
7274 * math/s_csinhf.c (__csinhf): Likewise.
7275 * math/s_ctanf.c (__ctanf): Likewise.
7276 * math/s_ctanhf.c (__ctanhf): Likewise.
7277 * math/s_ccosh.c (__ccoshf): Likewise.
7278 * math/s_cexp.c (__cexpl): Likewise.
7279 * math/s_csin.c (__csin): Likewise.
7280 * math/s_csinh.c (__csinh): Likewise.
7281 * math/s_ctan.c (__ctan): Likewise.
7282 * math/s_ctanh.c (ctanh): Likewise.
7283 * math/s_ccoshl.c (__ccoshl): Likewise.
7284 * math/s_cexpl.c (__cexpl): Likewise.
7285 * math/s_csinl.c (__csinl): Likewise.
7286 * math/s_csinhl.c (__csinhl): Likewise.
7287 * math/s_ctanl.c (__ctanl): Likewise.
7288 * math/s_ctanhl.c (__ctanhl): Likewise.
7290 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7292 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7293 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7294 (_IO_off_t): Define to __off_t, not _G_off_t.
7295 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7296 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7297 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7298 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7299 type of __dummy and __dummy2 fields.
7300 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7301 (_G_ssize_t): Likewise.
7302 (_G_off_t): Likewise.
7303 (_G_pid_t): Likewise.
7304 (_G_uid_t): Likewise.
7305 (_G_wchar_t): Likewise.
7306 (_G_wint_t): Likewise.
7307 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7308 (_G_ssize_t): Likewise.
7309 (_G_off_t): Likewise.
7310 (_G_pid_t): Likewise.
7311 (_G_uid_t): Likewise.
7312 (_G_wchar_t): Likewise.
7313 (_G_wint_t): Likewise.
7314 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7315 (_G_ssize_t): Likewise.
7316 (_G_off_t): Likewise.
7317 (_G_pid_t): Likewise.
7318 (_G_uid_t): Likewise.
7319 (_G_wchar_t): Likewise.
7320 (_G_wint_t): Likewise.
7322 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7324 * malloc/arena.c: Include malloc-sysdep.h.
7325 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7326 is sufficient to shrink the heap or an unmap is needed.
7327 * sysdeps/generic/malloc-sysdep.h: New file. Define
7328 new function check_may_shrink_heap.
7329 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7330 new function check_may_shrink_heap.
7332 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7334 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7337 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7339 * catgets/test-gencat.sh: Add "set -e".
7340 * elf/tst-pathopt.sh: Likewise.
7341 * grp/tst_fgetgrent.sh: Likewise.
7342 * iconvdata/run-iconv-test.sh: Likewise.
7343 * intl/tst-gettext.sh: Likewise.
7344 * intl/tst-gettext2.sh: Likewise.
7345 * intl/tst-gettext4.sh: Likewise.
7346 * intl/tst-gettext6.sh: Likewise.
7347 * intl/tst-translit.sh: Likewise.
7348 * io/ftwtest-sh: Likewise.
7349 * libio/test-freopen.sh: Likewise.
7350 * malloc/tst-mtrace.sh: Likewise.
7351 * posix/globtest.sh: Likewise.
7352 * posix/tst-getconf.sh: Likewise.
7353 * posix/wordexp-tst.sh: Likewise.
7354 * stdio-common/tst-printf.sh: Likewise.
7355 * stdio-common/tst-unbputc.sh: Likewise.
7356 * stdlib/tst-fmtmsg.sh: Likewise.
7357 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7358 * catgets/Makefile: Do not specify -e option when running
7359 testsuite shell scripts.
7360 * elf/Makefile: Likewise.
7361 * grp/Makefile: Likewise.
7362 * iconvdata/Makefile: Likewise.
7363 * intl/Makefile: Likewise.
7364 * io/Makefile: Likewise.
7365 * libio/Makefile: Likewise.
7366 * malloc/Makefile: Likewise.
7367 * posix/Makefile: Likewise.
7368 * stdio-common/Makefile: Likewise.
7369 * stdlib/Makefile: Likewise.
7370 * sysdeps/x86_64/Makefile: Likewise.
7372 * io/ftwtest-sh: Add copyright header.
7373 * posix/globtest.sh: Likewise.
7374 * posix/tst-getconf.sh: Likewise.
7375 * posix/wordexp-tst.sh: Likewise.
7376 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7378 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7381 * Makeconfig (+link): Defined as $(+link-static) if
7382 $(build-shared) isn't yes.
7383 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7385 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7387 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7390 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7391 new chunk size with MALLOC_ALIGN_MASK.
7393 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7396 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7398 (__printf_fphex): Determine rounding using get_rounding_mode and
7400 * stdio-common/tst-printf-round.c (struct hex_test): New
7402 (hex_tests): New variable.
7403 (test_hex_in_one_mode): New function.
7404 (do_test): Also run tests for hex float output.
7406 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7408 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7409 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7410 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7411 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7412 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7413 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7414 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7415 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7417 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7419 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7420 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7421 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7422 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7424 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7427 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7429 * elf/tst-rtld-load-self.sh: New test.
7430 * elf/Makefile: Run it.
7432 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7435 (tst-writev-ENV): Remove.
7436 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7438 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7440 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7442 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7444 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7446 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7448 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7449 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7450 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7453 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7456 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7457 * config.make.in (have-cpp-asm-debuginfo): Removed.
7458 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7459 * configure: Regenerated.
7461 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7464 * stdio-common/printf_fp.c: Include <stdbool.h> and
7466 (___printf_fp): Determine rounding using get_rounding_mode and
7468 * stdio-common/tst-printf-round.c: New file.
7469 * stdio-common/Makefile (tests): Add tst-printf-round.
7470 (link-libm): New variable.
7471 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7473 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7476 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7477 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7479 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7482 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7484 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7485 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7486 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7487 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7489 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7492 * include/rounding-mode.h: New file.
7493 * sysdeps/generic/get-rounding-mode.h: Likewise.
7494 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7495 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7496 (MAX_VALUE): New macro.
7497 (MIN_VALUE): Likewise.
7498 (overflow_value): New function.
7499 (underflow_value): Likewise.
7500 (round_and_return): Use overflow_value and underflow_value to
7501 determine return values in overflow and underflow cases. Use
7502 round_away to determine rounding depending on rounding mode.
7503 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7504 determine return values in overflow and underflow cases.
7505 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7506 (struct test_results): New structure.
7507 (struct test): Use struct test_results to store expected results
7508 for all rounding modes.
7509 (TEST): Include expected results for all rounding modes.
7510 (test_in_one_mode): New function.
7511 (do_test): Use test_in_one_mode to compute and check results.
7512 Check results for all rounding modes.
7513 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7516 2012-12-09 Allan McRae <allan@archlinux.org>
7518 * sysdeps/i386/fpu/libm-test-ulps: Update
7520 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7522 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7523 (_G_int32_t): Likewise.
7524 (_G_uint16_t): Likewise.
7525 (_G_uint32_t): Likewise.
7526 (_G_HAVE_BOOL): Likewise.
7527 (_G_HAVE_ATEXIT): Likewise.
7528 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7529 (_G_HAVE_IO_FILE_OPEN): Likewise.
7530 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7531 (_G_int32_t): Likewise.
7532 (_G_uint16_t): Likewise.
7533 (_G_uint32_t): Likewise.
7534 (_G_HAVE_BOOL): Likewise.
7535 (_G_HAVE_ATEXIT): Likewise.
7536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7537 (_G_HAVE_IO_FILE_OPEN): Likewise.
7538 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7539 (_G_int32_t): Likewise.
7540 (_G_uint16_t): Likewise.
7541 (_G_uint32_t): Likewise.
7542 (_G_HAVE_BOOL): Likewise.
7543 (_G_HAVE_ATEXIT): Likewise.
7544 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7545 (_G_HAVE_IO_FILE_OPEN): Likewise.
7547 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7549 * csu/libc-tls.c: Update copyright years.
7551 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7553 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7554 [!_G_USING_THUNKS]: Remove conditional code.
7555 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7556 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7558 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7559 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7560 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7561 (_G_VTABLE_LABEL_PREFIX): Likewise.
7562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7563 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7564 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7565 (_G_VTABLE_LABEL_PREFIX): Likewise.
7566 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7567 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7568 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7569 (_G_VTABLE_LABEL_PREFIX): Likewise.
7570 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7572 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7574 * libio/Makefile: Include ../Makeconfig before tests.
7575 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7576 only if $(build-shared) is yes.
7578 * iconv/gconv_db.c: Update copyright years.
7580 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7582 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7583 unwind info if defined PIC. Fix special cases description.
7584 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7586 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7588 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7590 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7592 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7594 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7597 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7598 (LDLIBS-tst-chk4): This.
7599 (LDFLAGS-tst-chk5): Renamed to ...
7600 (LDLIBS-tst-chk5): This.
7601 (LDFLAGS-tst-chk6): Renamed to ...
7602 (LDLIBS-tst-chk6): This.
7603 (LDFLAGS-tst-lfschk4): Renamed to ...
7604 (LDLIBS-tst-lfschk4): This.
7605 (LDFLAGS-tst-lfschk5): Renamed to ...
7606 (LDLIBS-tst-lfschk5): This.
7607 (LDFLAGS-tst-lfschk6): Renamed to ...
7608 (LDLIBS-tst-lfschk6): This.
7610 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7611 on $(common-objpfx)soversions.mk.
7613 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7616 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7619 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7621 * malloc/arena.c (arena_get_retry): New function that gets
7622 another arena for the caller to try its request on.
7623 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7624 current arena cannot fulfill the request.
7625 (__libc_memalign): Likewise.
7626 (__libc_memalign): Likewise.
7627 (__libc_pvalloc): Likewise.
7628 (__libc_calloc): Likewise.
7630 2012-09-05 John Tobey <john.tobey@gmail.com>
7633 * manual/arith.texi (Operations on Complex): Fix description
7636 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7639 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7643 * manual/memory.texi (Memory): Make order of menu items match
7646 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7648 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7649 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7650 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7652 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7654 * csu/libc-tls.c (static_dtv): Renamed to ...
7655 (_dl_static_dtv): This. Make it global.
7656 (_dl_initial_dtv): Removed.
7657 (__libc_setup_tls): Updated.
7658 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7659 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7662 2012-09-06 Petr Machata <pmachata@redhat.com>
7664 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7665 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7666 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7667 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7669 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7672 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7673 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7676 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7679 * Makeconfig (link-static-before-libc): Replace $(+prector)
7681 (link-static-after-libc): Replace $(+postctor) with
7683 (link-bounded): Replace $(+prector)/$(+postctor) with
7684 $(+prectorT)/$(+postctorT).
7685 (+prectorT): New macro.
7686 (+postctorT): Likewise.
7688 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7690 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7691 (round_str): Handle values above the maximum for IBM long double
7693 * stdlib/tst-strtod-round.c (tests): Regenerated.
7695 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7697 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7699 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7700 zarch_nohighgprs around the zarch optimized routines.
7701 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7702 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7703 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7706 2012-09-05 David S. Miller <davem@davemloft.net>
7708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7710 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7711 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7712 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7713 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7718 * malloc/arena.c: Fold copyright years.
7719 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7721 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7723 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7725 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7727 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7729 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7731 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7732 change internal state upon failure.
7734 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7736 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7737 * malloc/memusage.c (mmap): Likewise.
7738 (mmap64, mremap): Likewise. Adjust name in comment.
7740 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7742 * libio/fileops.c: Fix typos in comments.
7743 * libio/oldfileops.c: Likewise.
7744 * libio/wfileops.c: Likewise.
7746 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7749 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7750 (tst-malloc-usable-ENV): Set environment for test case.
7751 * malloc/hooks.c (malloc_check_get_size): New function to get
7753 * malloc/malloc.c (musable): Use malloc_check_get_size.
7754 * malloc/tst-malloc-usable.c: New test case.
7756 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7758 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7760 2012-09-05 Allan McRae <allan@archlinux.org>
7763 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7764 determine header location.
7765 * configure: Regenerated.
7767 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7769 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7771 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7772 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7776 2012-09-04 David S. Miller <davem@davemloft.net>
7778 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7779 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7780 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7782 2012-09-04 Florian Weimer <fweimer@redhat.com>
7784 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7787 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7789 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7792 * libio/iogetdelim.c: Include <limits.h>.
7793 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7794 + len + 1 would overflow.
7796 2012-09-03 Andreas Jaeger <aj@suse.de>
7798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7799 * sysdeps/i386/fpu/libm-test-ulps: Update.
7801 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7803 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7804 Add s_sinf-sse2, s_conf-sse2.
7806 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7807 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7808 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7809 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7811 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7812 for using routine as __sinf_ia32.
7813 Use macro for function declaration and weak_alias.
7814 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7815 for using routine as __cosf_ia32.
7816 Use macro for function declaration and weak_alias.
7818 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7819 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7821 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7822 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7825 * math/libm-test.inc (cos_test): Add more test cases.
7826 (sin_test): Likewise.
7827 (sincos_test): Likewise.
7829 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7831 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7832 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7834 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7836 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7839 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7840 first element of the GOT.
7841 (elf_machine_load_address): Return the difference between
7842 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7844 2012-09-01 Allan McRae <allan@archlinux.org>
7847 * configure.in (AWK): Require gawk version 3.0 or later.
7848 * configure: Regenerated.
7850 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7852 * sysdeps/unix/sysv/linux/kernel-features.h
7853 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7855 [__NR_clock_getres]: Make code unconditional.
7856 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7857 (clock_getcpuclockid): Remove code left unreachable by removal of
7859 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7861 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7862 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7863 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7864 Make code unconditional.
7865 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7866 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7867 * sysdeps/unix/sysv/linux/clock_settime.c
7868 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7870 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7871 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7873 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7876 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7877 scripts/test-installation.pl.
7879 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7880 and $ld_so_version if it is set.
7882 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7885 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7886 failure if reading from procfs failed.
7887 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7889 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7891 * sysdeps/unix/sysv/linux/kernel-features.h
7892 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7893 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7894 Remove conditional code.
7895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7896 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7897 Remove conditional code.
7898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7899 * sysdeps/unix/sysv/linux/i386/fxstat.c
7900 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7901 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7902 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7903 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7904 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7905 * sysdeps/unix/sysv/linux/i386/lxstat.c
7906 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7908 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7909 Remove conditional code.
7910 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7911 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7912 Remove conditional code.
7913 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7914 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7915 <kernel-features.h>.
7916 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7918 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7919 Remove conditional code.
7920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7921 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7924 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7927 * NEWS: Add fixed bug number.
7929 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7932 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7933 underflowing exponent in case of negative sign.
7934 * stdlib/tst-strtod-round-data: Add more tests.
7935 * stdlib/tst-strtod-round.c (tests): Regenerated.
7938 * stdlib/strtod_l.c (NDIG): Remove.
7939 (HEXNDIG): Likewise.
7940 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7941 smallest representable value.
7942 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7943 lie within an exact representation of 1/2 ulp of the result.
7944 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7946 (TENS_P9_IDX): Define unconditionally.
7947 (TENS_P9_SIZE): Likewise.
7948 (TENS_P10_IDX): Likewise.
7949 (TENS_P10_SIZE): Likewise.
7950 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7951 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7953 entries for 10^2^13 and 10^2^14.
7954 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7955 (TENS_P13_IDX): Define.
7956 (TENS_P13_SIZE): Likewise.
7957 (TENS_P14_IDX): Likewise.
7958 (TENS_P14_SIZE): Likewise.
7959 (_fpioconst_pow10): Change array size to
7960 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7962 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7963 1024]: Add entries for 10^2^13 and 10^2^14.
7964 [LAST_POW10 > _LAST_POW10]: Remove #error.
7965 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7966 (_fpioconst_pow10): Change array size to
7967 FPIOCONST_POW10_ARRAY_SIZE.
7968 * stdlib/gen-fpioconst.c: New file.
7969 * stdlib/gen-tst-strtod-round.c: Likewise.
7970 * stdlib/tst-strtod-round-data: Likewise.
7971 * stdlib/tst-strtod-round.c: Likewise.
7972 * stdlib/Makefile (tests): Add tst-strtod-round.
7975 * stdlib/strtod_l.c: Include <stdint.h>.
7976 (NDEBUG): Do not define.
7977 (round_and_return): Change EXPONENT parameter to type intmax_t.
7978 Rearrange calculations to avoid internal overflow possibilities.
7979 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7980 Rearrange calculations to avoid internal overflow possibilities.
7981 Assert that number fits inside MPNSIZE limbs.
7982 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7983 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7984 calculations and add assertions to avoid internal overflow
7985 possibilities. Add casts to avoid signed/unsigned operations.
7986 * stdlib/tst-strtod-overflow.c: New file.
7987 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7989 2012-08-25 Marek Polacek <polacek@redhat.com>
7991 * time/time.h: Fix some typos in comments.
7993 2012-08-23 Roland McGrath <roland@hack.frob.com>
7995 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7996 * posix/tst-rfc3484-2.c: Likewise.
7997 * posix/tst-rfc3484-3.c: Likewise.
7999 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8001 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8002 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8004 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8006 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8007 #include of fxstatat64.c.
8009 2012-08-22 Roland McGrath <roland@hack.frob.com>
8011 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8012 * shadow/getspent_r.c: Likewise.
8013 * shadow/getspnam.c: Likewise.
8014 * shadow/getspnam_r.c: Likewise.
8015 * gshadow/getsgent.c: Likewise.
8016 * gshadow/getsgent_r.c: Likewise.
8017 * gshadow/getsgnam.c: Likewise.
8018 * gshadow/getsgnam_r.c: Likewise.
8019 * inet/getnetbyad.c: Likewise.
8020 * inet/getnetbyad_r.c: Likewise.
8021 * inet/getnetbynm.c: Likewise.
8022 * inet/getnetbynm_r.c: Likewise.
8023 * inet/getnetent.c: Likewise.
8024 * inet/getnetent_r.c: Likewise.
8025 * inet/getproto.c: Likewise.
8026 * inet/getproto_r.c: Likewise.
8027 * inet/getprtent.c: Likewise.
8028 * inet/getprtent_r.c: Likewise.
8029 * inet/getprtname.c: Likewise.
8030 * inet/getprtname_r.c: Likewise.
8031 * inet/getrpcbyname.c: Likewise.
8032 * inet/getrpcbyname_r.c: Likewise.
8033 * inet/getrpcbynumber.c: Likewise.
8034 * inet/getrpcbynumber_r.c: Likewise.
8035 * inet/getrpcent.c: Likewise.
8036 * inet/getrpcent_r.c: Likewise.
8037 * inet/getaliasent.c: Likewise.
8038 * inet/getaliasent_r.c: Likewise.
8039 * inet/getaliasname.c: Likewise.
8040 * inet/getaliasname_r.c: Likewise.
8041 * nscd/getgrgid_r.c: Likewise.
8042 * nscd/getgrnam_r.c: Likewise.
8043 * nscd/gethstbyad_r.c: Likewise.
8044 * nscd/gethstbynm3_r.c: Likewise.
8045 * nscd/getpwnam_r.c: Likewise.
8046 * nscd/getpwuid_r.c: Likewise.
8047 * nscd/getsrvbynm_r.c: Likewise.
8048 * nscd/getsrvbypt_r.c: Likewise.
8049 * nscd/gai.c: Likewise.
8051 * configure.in (build_nscd): New substituted variable, set
8052 by --disable-build-nscd and defaults to $use_nscd.
8053 * configure: Regenerated.
8054 * config.make.in (build-nscd): New substituted variable.
8055 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8056 Change conditional to require [$(build-nscd) = yes] as well.
8057 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8060 * configure.in (use_nscd): New substituted variable, set by
8061 --disable-nscd. If enabled, define USE_NSCD.
8062 * configure: Regenerated.
8063 * config.h.in: Add USE_NSCD.
8064 * config.make.in (use-nscd): New substituted variable.
8065 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8066 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8067 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8068 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8069 (CFLAGS-getgrnam_r.c): Likewise.
8070 (CFLAGS-initgroups.c): Likewise.
8071 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8072 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8074 * inet/getnetgrent_r.c
8075 (nscd_setnetgrent): New function, broken out of ...
8076 (setnetgrent): ... here. Call it.
8077 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8078 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8079 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8080 * nscd/Makefile (routines, aux): Move definitions after include of
8081 Makeconfig. Conditionalize on [$(use-nscd) != no].
8082 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8083 Conditionalize on [USE_NSCD].
8084 (is_nscd, nscd_init_cb): Likewise.
8085 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8086 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8087 * nss/nss_db/db-init.c: Likewise.
8088 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8090 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8091 (make_request): Use it.
8092 (cache_valid_p): New function.
8093 (__check_pf): Use it.
8094 * NEWS: Add item for --disable-nscd.
8096 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8098 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8099 to support sed >= 4.2.1-20-ga9bf076.
8100 * configure: Regenerated.
8102 2012-08-22 Roland McGrath <roland@hack.frob.com>
8104 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8105 Conditionalize whole body on [IREL].
8107 2012-08-22 Jeff Law <law@redhat.com>
8110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8111 if the family is PF_UNSPEC.
8113 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8115 * Makerules (lib-version): Rename from V.
8116 (install-lib-nosubdir): Change V to lib-version.
8118 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8121 * powerpc32/power6/wcschr.c: New file.
8122 * powerpc32/power6/wcscpy.c: New file.
8123 * powerpc32/power6/wcsrchr.c: New file.
8124 * powerpc64/power6/wcschr.c: New file.
8125 * powerpc64/power6/wcscpy.c: New file.
8126 * powerpc64/power6/wcsrchr.c: New file.
8128 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8130 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8131 (two_way_short_needle): Use it.
8132 * string/strstr.c (AVAILABLE1_USES_J): Define.
8133 * string/strcasestr.c: Likewise.
8135 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8137 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8140 * NEWS: Add an entry.
8141 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8142 define their defaults.
8143 (two_way_short_needle): Detect end-of-string on-the-fly.
8144 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8145 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8146 * string/bug-strcasestr1.c: New test.
8147 * string/Makefile: Run it.
8149 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8152 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8153 the first character.
8155 2012-08-21 Roland McGrath <roland@hack.frob.com>
8157 * csu/elf-init.c (__libc_csu_irel): Function removed.
8158 * csu/libc-start.c (apply_irel): New function.
8159 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8161 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8163 * sysdeps/unix/sysv/linux/kernel-features.h
8164 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8165 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8166 <kernel-features.h>.
8167 [__NR_fadvise64_64]: Make code unconditional.
8168 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8169 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8170 !__NR_fadvise64_64)]: Likewise.
8171 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8172 !__NR_fadvise64_64))]: Likewise.
8173 [__NR_fadvise64]: Make code unconditional.
8174 [!__NR_fadvise64]: Remove conditional code.
8175 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8176 <kernel-features.h>.
8177 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8179 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8182 not include <kernel-features.h>.
8183 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8185 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8187 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8188 include <kernel-features.h>.
8189 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8191 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8194 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8197 slight instruction rearrangements per scrollpipe analysis.
8198 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8200 2012-08-20 Roland McGrath <roland@hack.frob.com>
8202 * manual/syslog.texi (syslog; vsyslog, closelog):
8203 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8204 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8206 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8207 DSOCAPS to match condition on defining it.
8209 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8211 * sysdeps/unix/sysv/linux/kernel-features.h
8212 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8214 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8215 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8217 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8218 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8220 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8221 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8223 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8224 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8226 * sysdeps/unix/sysv/linux/kernel-features.h
8227 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8228 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8230 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8231 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8232 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8233 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8234 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8235 Make code unconditional.
8236 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8237 (__mmap64) [!__NR_mmap2]: Likewise.
8238 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8239 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8240 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8241 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8242 [__NR_mmap2]: Make code unconditional.
8243 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8244 (__mmap64) [!__NR_mmap2]: Likewise.
8246 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8248 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8250 2012-08-18 Andreas Jaeger <aj@suse.de>
8252 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8254 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8256 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8257 * include/unistd.h (__have_sock_cloexec): Likewise.
8258 (__have_pipe2): Likewise.
8259 (__have_dup3): Likewise.
8261 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8264 * include/unistd.h (__have_pipe2): Change define into an extern int.
8265 (__have_dup3): Likewise.
8266 * socket/have_sock_cloexec.c: Include fcntl.h.
8267 (__have_pipe2): New variable.
8268 (__have_dup3): Likewise.
8270 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8272 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8274 2012-08-17 Marek Polacek <polacek@redhat.com>
8276 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8277 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8279 2012-08-17 Roland McGrath <roland@hack.frob.com>
8281 * configure.in: Add AC_SUBST for sysheaders.
8282 * configure: Regenerated.
8283 * config.make.in (sysheaders): New substituted variable.
8285 * sysdeps/unix/mkfifo.c: Moved ...
8286 * sysdeps/posix/mkfifo.c: ... here.
8287 * sysdeps/unix/mkfifoat.c: Moved ...
8288 * sysdeps/posix/mkfifoat.c: ... here.
8290 * sysdeps/unix/utime.c: Moved ...
8291 * sysdeps/posix/utime.c: ... here.
8293 * sysdeps/unix/time.c: Moved ...
8294 * sysdeps/posix/time.c: ... here.
8295 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8296 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8298 * sysdeps/unix/nice.c: Moved ...
8299 * sysdeps/posix/nice.c: ... here.
8301 * sysdeps/unix/alarm.c: Moved ...
8302 * sysdeps/posix/alarm.c: ... here.
8304 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8306 2012-08-17 Jeff Law <law@redhat.com>
8308 * intl/Makefile (codeset_mo): New variable.
8309 ($(codeset_mo)): New target.
8310 (tst-codeset.out): Depend on that. Remove explicit rule.
8311 (tst-gettext3.out, tst-gettext5.out): Likewise.
8312 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8313 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8314 * intl/tst-codeset.sh: Remove.
8315 * intl/tst-gettext3.sh: Likewise.
8316 * intl/tst-gettext5.sh: Likewise.
8318 2012-08-17 Roland McGrath <roland@hack.frob.com>
8320 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8321 * sysdeps/unix/syscalls.list: ... here.
8323 * sysdeps/posix/getaddrinfo.c
8324 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8325 (gaiconf_init, gaiconf_reload): Use them.
8327 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8328 Define using time_t rather than struct timespec.
8330 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8331 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8333 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8335 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8336 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8339 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8340 __libc_cleanup_push argument.
8342 * bits/param.h: New file.
8343 * misc/sys/param.h: New file.
8344 * include/sys/param.h: New file.
8345 * misc/Makefile (headers): Add bits/param.h.
8346 * sysdeps/generic/sys/param.h: File removed.
8347 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8348 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8349 * sysdeps/mach/hurd/bits/param.h: New file.
8350 * sysdeps/mach/hurd/sys/param.h: File removed.
8352 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8355 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8357 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8358 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8361 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8362 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8363 rather than -D_IO_MTSAFE_IO conditionally.
8364 * stdio-common/Makefile (CPPFLAGS): Likewise.
8365 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8366 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8367 Use $(libio-mtsafe).
8368 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8370 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8371 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8372 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8373 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8374 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8375 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8376 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8377 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8378 (CFLAGS-fread_u_chk.c): Likewise.
8379 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8380 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8381 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8382 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8383 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8384 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8385 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8386 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8387 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8389 * libio/Makefile: Test [$(libc-reentrant) = yes]
8390 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8393 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8394 * sysdeps/pthread/configure: File removed.
8395 * sysdeps/pthread/Makeconfig: New file.
8396 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8397 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8399 2012-08-16 Gary Benson <gbenson@redhat.com>
8401 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8402 unmapping the first object in a namespace.
8404 2012-08-16 Roland McGrath <roland@hack.frob.com>
8406 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8407 (__internal_setnetgrent): ... this. Add internal_function to
8408 definition. Add libc_hidden_def.
8409 (setnetgrent): Update caller.
8410 (internal_endnetgrent): Renamed to ...
8411 (__internal_endnetgrent): ... this. Add internal_function to
8412 definition. Add libc_hidden_def.
8413 (endnetgrent): Update caller.
8414 (internal_getnetgrent_r): Renamed to ...
8415 (__internal_getnetgrent_r): ... this. Add internal_function to
8416 definition. Add libc_hidden_def.
8417 (__getnetgrent_r): Update caller.
8418 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8420 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8422 * stdlib/longlong.h: Update from GCC.
8424 2012-08-16 Roland McGrath <roland@hack.frob.com>
8426 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8427 on _QL, which is set by umul_ppmm but never used.
8428 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8429 variables, which are set by GMP macros but never used.
8430 * stdio-common/_itowa.c (_itowa): Likewise.
8431 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8432 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8434 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8436 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8437 struct La_sh_regs is not constant.
8438 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8439 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8440 and struct La_sparc64_regs are not constant.
8442 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8444 * sysdeps/unix/sysv/linux/kernel-features.h
8445 (__ASSUME_POSIX_TIMERS): Remove.
8446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8447 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8448 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8449 Make code unconditional.
8450 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8451 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8452 Make code unconditional.
8453 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8454 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8455 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8456 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8457 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8458 Make code unconditional.
8459 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8460 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8461 (__libc_missing_posix_timers): Remove.
8463 2012-08-15 Roland McGrath <roland@hack.frob.com>
8465 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8466 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8468 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8470 * elf/dl-sym.c: Include <stdlib.h>.
8472 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8473 constants, which avoids warnings in 32-bit builds.
8475 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8476 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8478 * misc/lseek.c: File moved to ...
8479 * io/lseek.c: ... here.
8481 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8483 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8484 shifting LEN more than 31 bits at once.
8486 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8489 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8490 segmentation fault for a case of two empty input strings.
8491 * string/test-strncasecmp.c (check1): Renamed to...
8493 (bz14195): Add new testcase for two empty input strings and N > 0.
8494 (test_main): Call new testcase, adapt for renamed function.
8496 2012-08-15 Andreas Jaeger <aj@suse.de>
8499 * crypt/md5test2.c: New test, based on test supplied by Serge
8500 Belyshev <belyshev@depni.sinp.msu.ru>.
8501 * crypt/Makefile (xtests): Add md5test-giant..
8502 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8504 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8507 * crypt/md5.c (md5_process_block): Don't assume the buffer
8508 length is less than 2**32.
8509 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8510 length is less than 2**64.
8512 2012-08-15 Roland McGrath <roland@hack.frob.com>
8514 * string/str-two-way.h: Include <sys/param.h>.
8515 (MAX): Macro removed.
8517 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8518 Move #define and #undef of memmove to just before and after
8519 including <string.h>.
8521 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8522 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8523 and after including <string.h>. Move declarations of
8524 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8525 to before #include "string/memmove.c".
8527 * include/dirent.h: Declare __getdirentries.
8529 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8530 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8532 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8534 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8535 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8536 * sysdeps/i386/configure: Regenerated.
8537 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8538 STABS_CURRENT_FILE, and STABS_FUN.
8539 (END): Remove call to STABS_FUN_END.
8540 (STABS_CURRENT_FILE1): Delete.
8541 (STABS_CURRENT_FILE): Likewise.
8542 (STABS_FUN): Likewise.
8543 (STABS_FUN_END): Likewise.
8544 (STABS_FUN2): Likewise.
8545 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8546 * sysdeps/x86_64/configure: Regenerated.
8548 2012-08-14 Roland McGrath <roland@hack.frob.com>
8550 * elf/dl-open.c: Include <atomic.h>.
8551 * elf/dl-lookup.c: Likewise.
8553 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8555 * sysdeps/unix/sysv/linux/kernel-features.h
8556 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8557 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8559 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8561 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8562 condition on __ASSUME_CLONE_THREAD_FLAGS.
8564 2012-08-14 Andreas Jaeger <aj@suse.de>
8566 * sysdeps/i386/fpu/libm-test-ulps: Update.
8568 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8570 * include/atomic.h (atomic_exchange_and_add): Split into ...
8571 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8574 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8578 2012-08-13 Jeff Law <law@redhat.com>
8580 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8581 null byte in the output string.
8583 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8585 * sysdeps/unix/sysv/linux/kernel-features.h
8586 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8587 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8588 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8589 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8590 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8591 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8592 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8594 2012-08-09 Jeff Law <law@redhat.com>
8597 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8598 When avoid_arena is set, don't retry in the that arena. Pick the
8599 next one, whatever it might be.
8600 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8601 (arena_lock): Pass in new parameter to arena_get2.
8602 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8604 (__libc_malloc): Unify retrying after main arena failure with
8605 __libc_memalign version.
8606 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8608 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8611 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8612 to __redirect_strstr.
8613 (__strstr_sse42): Use typeof __redirect_strstr.
8614 (__strstr_ia32): Likewise.
8615 (__libc_strstr): New prototype.
8616 (strstr): Renamed to ...
8617 (__libc_strstr): This.
8618 (strstr): New strong alias of __libc_strstr.
8619 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8620 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8623 (__libc_time): New prototype.
8624 (time_ifunc): Replace time with __libc_time.
8625 (time): New strong alias and hidden definition of __libc_time.
8626 (__GI_time): Remove strong alias.
8627 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8629 (memmove): Redefined to __redirect_memmove.
8630 (__memmove_sse2): Use typeof __redirect_memmove.
8631 (__memmove_ssse3): Likewise.
8632 (__memmove_ssse3_back): Likewise.
8633 (__libc_memmove): New prototype.
8634 (memmove): Renamed to ...
8635 (__libc_memmove): This.
8636 (memmove): New strong alias of __libc_memmove.
8638 2012-08-08 Mark Salter <msalter@redhat.com>
8641 (R_MN10300_TLS_GD): Define.
8642 (R_MN10300_TLS_LD): Likewise.
8643 (R_MN10300_TLS_LDO): Likewise.
8644 (R_MN10300_TLS_GOTIE): Likewise.
8645 (R_MN10300_TLS_IE): Likewise.
8646 (R_MN10300_TLS_LE): Likewise.
8647 (R_MN10300_TLS_DTPMOD): Likewise.
8648 (R_MN10300_TLS_DTPOFF): Likewise.
8649 (R_MN10300_TLS_TPOFF): Likewise.
8650 (R_MN10300_SYM_DIFF): Likewise.
8651 (R_MN10300_ALIGN): Likewise.
8652 (R_MN10300_NUM): Update.
8654 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8656 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8659 2012-08-08 Roland McGrath <roland@hack.frob.com>
8661 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8663 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8664 sysdeps/unix -> sysdeps/posix move.
8665 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8667 2012-08-07 Allan McRae <allan@archlinux.org>
8670 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8671 (SUNOS_CPP): Likewise.
8672 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8674 (open_input): Call CPP using execvp.
8676 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8678 * sysdeps/unix/sysv/linux/kernel-features.h
8679 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8680 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8681 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8682 (__ASSUME_WAITID_SYSCALL): Likewise.
8683 * sysdeps/unix/sysv/linux/dl-execstack.c
8684 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8686 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8689 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8690 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8692 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8694 [__ASSUME_WAITID_SYSCALL]: Likewise.
8695 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8697 2012-08-07 Roland McGrath <roland@hack.frob.com>
8699 * sysdeps/unix/closedir.c: Renamed to ...
8700 * sysdeps/posix/closedir.c: ... here.
8701 * sysdeps/unix/dirfd.c: Renamed to ...
8702 * sysdeps/posix/dirfd.c: ... here.
8703 * sysdeps/unix/dirstream.h: Renamed to ...
8704 * sysdeps/posix/dirstream.h: ... here.
8705 * sysdeps/unix/fdopendir.c: Renamed to ...
8706 * sysdeps/posix/fdopendir.c: ... here.
8707 * sysdeps/unix/opendir.c: Renamed to ...
8708 * sysdeps/posix/opendir.c: ... here.
8709 * sysdeps/unix/readdir.c: Renamed to ...
8710 * sysdeps/posix/readdir.c: ... here.
8711 * sysdeps/unix/readdir_r.c: Renamed to ...
8712 * sysdeps/posix/readdir_r.c: ... here.
8713 * sysdeps/unix/rewinddir.c: Renamed to ...
8714 * sysdeps/posix/rewinddir.c: ... here.
8715 * sysdeps/unix/seekdir.c: Renamed to ...
8716 * sysdeps/posix/seekdir.c: ... here.
8717 * sysdeps/unix/telldir.c: Renamed to ...
8718 * sysdeps/posix/telldir.c: ... here.
8719 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8720 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8721 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8722 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8724 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8725 * bits/fcntl.h: ... here.
8727 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8729 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8730 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8731 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8732 (struct flock): Move l_start, l_len to the beginning.
8733 Use __pid_t for l_pid.
8734 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8735 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8736 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8737 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8738 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8739 [__USE_LARGEFILE64] (struct flock64): New type.
8740 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8742 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8743 * bits/dirent.h: ... here.
8745 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8746 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8748 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8750 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8751 Change from 2.6.0 to 2.6.16.
8752 * sysdeps/unix/sysv/linux/configure: Regenerated.
8753 * sysdeps/unix/sysv/linux/kernel-features.h
8754 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8755 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8757 (__ASSUME_UTIMES): Likewise.
8758 (__ASSUME_CLONE_STOPPED): Remove.
8759 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8760 architectures, not kernel version.
8761 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8762 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8763 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8764 (__ASSUME_WAITID_SYSCALL): Likewise.
8765 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8766 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8767 * README: State 2.6.16 as minimum Linux kernel version. Do not
8768 refer to older versions.
8770 2012-08-06 Roland McGrath <roland@hack.frob.com>
8772 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8773 Define alphasort64 as an alias.
8774 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8775 Define versionsort64 as an alias.
8776 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8777 Define scandir64 as an alias.
8778 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8779 Define scandirat64 as an alias.
8780 * dirent/alphasort64.c (alphasort64):
8781 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8782 * dirent/versionsort64.c: Likewise.
8783 * dirent/scandir64.c: Likewise.
8784 * dirent/scandirat64.c: Likewise.
8785 * sysdeps/wordsize-64/alphasort.c: File removed.
8786 * sysdeps/wordsize-64/alphasort64.c: File removed.
8787 * sysdeps/wordsize-64/scandir.c: File removed.
8788 * sysdeps/wordsize-64/scandir64.c: File removed.
8789 * sysdeps/wordsize-64/scandirat.c: File removed.
8790 * sysdeps/wordsize-64/scandirat64.c: File removed.
8791 * sysdeps/wordsize-64/versionsort.c: File removed.
8792 * sysdeps/wordsize-64/versionsort64.c: File removed.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8796 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8798 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8799 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8800 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8802 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8804 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8806 [defined __arch64__ || defined __sparcv9]
8807 (__INO_T_MATCHES_INO64_T): New macro.
8808 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8809 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8810 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8811 * sysdeps/unix/sysv/linux/bits/dirent.h
8812 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8813 (_DIRENT_MATCHES_DIRENT64): New macro.
8815 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8816 Define lockf64 as an alias.
8817 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8818 Define fseeko64 as an alias.
8819 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8820 Define ftello64 as an alias.
8821 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8822 Define _IO_fgetpos64 and fgetpos64 as aliases.
8823 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8824 Define _IO_fsetpos64 and fsetpos64 as aliases.
8825 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8826 Conditionalize body on this.
8827 * libio/fseeko64.c: Likewise.
8828 * libio/ftello64.c: Likewise.
8829 * libio/iofgetpos64.c: Likewise.
8830 * libio/iofsetpos64.c: Likewise.
8831 * sysdeps/wordsize-64/lockf.c: File removed.
8832 * sysdeps/wordsize-64/lockf64.c: File removed.
8833 * sysdeps/wordsize-64/fseeko.c: File removed.
8834 * sysdeps/wordsize-64/fseeko64.c: File removed.
8835 * sysdeps/wordsize-64/ftello.c: File removed.
8836 * sysdeps/wordsize-64/ftello64.c: File removed.
8837 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8838 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8839 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8840 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8841 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8842 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8844 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8846 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8848 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8850 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8852 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8854 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8856 [defined __arch64__ || defined __sparcv9]
8857 (__OFF_T_MATCHES_OFF64_T): New macro.
8858 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8859 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8861 (__OFF_T_MATCHES_OFF64_T): New macro.
8863 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8865 * stdlib/secure-getenv.c (__secure_getenv): Replace
8866 GLIBC_2_16 with GLIBC_2_17.
8868 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8870 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8871 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8873 2012-08-03 David S. Miller <davem@davemloft.net>
8875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8877 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8879 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8881 (__ASSUME_CORRECT_SI_PID): Likewise.
8882 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8883 (__ASSUME_TMPFS_NAME): Likewise.
8884 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8885 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8886 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8887 (HAVE_AUX_SECURE): Make definition unconditional.
8888 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8889 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8891 2012-08-03 Roland McGrath <roland@hack.frob.com>
8893 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8894 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8895 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8896 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8897 __eloop_threshold instead of SYMLOOP_MAX.
8899 * sysdeps/generic/eloop-threshold.h: New file.
8900 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8902 * elf/chroot_canon.c (chroot_canon): Likewise.
8904 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8907 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8908 Change to 2.6.0 everywhere.
8909 * sysdeps/unix/sysv/linux/configure: Regenerated.
8910 * sysdeps/unix/sysv/linux/kernel-features.h
8911 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8912 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8914 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8915 (__ASSUME_FUTEX_REQUEUE): Remove.
8916 (__ASSUME_STATFS64): Define unconditionally.
8917 (__ASSUME_AT_SECURE): Likewise.
8918 (__ASSUME_CORRECT_SI_PID): Likewise.
8919 (__ASSUME_TGKILL): Define without depending on kernel version for
8921 (__ASSUME_UTIMES): Likewise.
8922 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8924 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8925 (__ASSUME_TMPFS_NAME): Likewise.
8926 * README: Update reference to Linux kernel versions.
8928 2012-08-02 Marek Polacek <polacek@redhat.com>
8931 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8932 libc_cv_asm_type_prefix with %.
8933 * configure: Regenerated.
8934 * include/libc-symbols.h: Remove comment about
8935 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8936 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8937 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8938 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8939 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8940 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8941 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8942 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8943 * elf/tst-unique2mod1.c: Likewise.
8944 * elf/tst-unique1mod2.c: Likewise.
8945 * elf/tst-unique1mod1.c: Likewise.
8946 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8947 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8948 Replace ASM_TYPE_DIRECTIVE with .type.
8949 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8950 * sysdeps/i386/sysdep.h: Likewise.
8951 * sysdeps/x86_64/sysdep.h: Likewise.
8952 * sysdeps/sh/sysdep.h: Likewise.
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8954 Do not define ASM_TYPE_DIRECTIVE.
8955 * sysdeps/powerpc/sysdep.h: Likewise.
8956 * sysdeps/powerpc/powerpc32/sysdep.h:
8957 Replace ASM_TYPE_DIRECTIVE with .type.
8958 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8959 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8960 * sysdeps/i386/fpu/e_powf.S: Likewise.
8961 * sysdeps/i386/fpu/e_expl.S: Likewise.
8962 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8963 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8964 * sysdeps/i386/fpu/e_pow.S: Likewise.
8965 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8967 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8968 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8969 * sysdeps/i386/fpu/e_log2.S: Likewise.
8970 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8972 * sysdeps/i386/fpu/e_powl.S: Likewise.
8973 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8974 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8975 * sysdeps/i386/fpu/e_logl.S: Likewise.
8976 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8977 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8978 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8979 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8980 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8981 * sysdeps/i386/fpu/e_log.S: Likewise.
8982 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8983 * sysdeps/i386/fpu/e_logf.S: Likewise.
8984 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8986 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8987 * sysdeps/i386/fpu/e_log10.S: Likewise.
8988 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8989 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8990 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8991 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8992 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8993 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8994 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8995 * sysdeps/i386/i686/strtok.S: Likewise.
8996 * sysdeps/i386/i386-mcount.S: Likewise.
8997 * sysdeps/i386/strtok.S: Likewise.
8998 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8999 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9000 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9001 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9002 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9003 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9004 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9005 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9006 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9007 * sysdeps/x86_64/_mcount.S: Likewise.
9008 * sysdeps/x86_64/strtok.S: Likewise.
9009 * sysdeps/sh/_mcount.S: Likewise.
9011 2012-08-01 Roland McGrath <roland@hack.frob.com>
9013 * libio/iofopen.c: Include <fcntl.h>.
9014 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9015 (_IO_fopen64, fopen64): Define as aliases.
9016 * libio/iofopen64.c: Include <fcntl.h>.
9017 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9018 Conditionalize body on this.
9019 * sysdeps/wordsize-64/iofopen.c: File removed.
9020 * sysdeps/wordsize-64/iofopen64.c: File removed.
9022 2012-08-01 Marek Polacek <polacek@redhat.com>
9024 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9025 Use dlfcn directly instead of a variable.
9026 (binfmt-subdir): Do not define.
9029 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9031 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9032 Remove all definitions.
9033 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9034 <kernel-features.h>.
9035 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9036 (miss_F_GETOWN_EX): Remove all definitions.
9037 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9039 [!__ASSUME_FCNTL64]: Remove conditional code.
9040 [__ASSUME_FCNTL64]: Make code unconditional.
9041 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9042 <kernel-features.h>.
9043 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9044 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9045 (lockf64) [__NR_fcntl64]: Make code unconditional.
9046 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9048 * sysdeps/unix/sysv/linux/kernel-features.h
9049 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9050 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9051 Make code unconditional.
9052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9055 [__NR_vfork]: Make code unconditional.
9056 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9057 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9059 [__NR_vfork]: Make code unconditional.
9060 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9061 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9063 2012-08-01 Roland McGrath <roland@hack.frob.com>
9065 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9066 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9068 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9069 Define mkstemp64 as an alias.
9070 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9071 Define mkstemps64 as an alias.
9072 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9073 Define mkostemp64 as an alias.
9074 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9075 Define mkostemps64 as an alias.
9076 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9077 Conditionalize body on this.
9078 * misc/mkostemp64.c: Likewise.
9079 * misc/mkostemps64.c: Likewise.
9080 * misc/mkstemps64.c: Likewise.
9081 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9082 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9083 * sysdeps/wordsize-64/mkostemp.c: File removed.
9084 * sysdeps/wordsize-64/mkstemp.c: File removed.
9085 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9087 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9088 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9091 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9092 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9093 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9094 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9096 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9097 compat_symbol macros from <shlib-compat.h> rather than the underlying
9098 default_symbol_version and symbol_version macros, so that DEFAULT
9099 lines in shlib-versions are respected.
9100 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9102 2012-08-01 Florian Weimer <fweimer@redhat.com>
9104 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9105 Declare with warn_unused_result.
9106 (setgid, setregid, setegid, setresgid): Likewise.
9107 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9109 * WUR-REPORT: Remove set*id functions.
9111 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9113 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9115 2012-07-31 Roland McGrath <roland@hack.frob.com>
9117 * include/sys/socket.h (__libc_accept, __libc_accept4):
9118 Add attribute_hidden.
9119 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9121 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9123 * inet/getnetgrent_r.c (setup): Likewise.
9125 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9127 2012-07-31 David S. Miller <davem@davemloft.net>
9129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9131 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9134 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9135 value between 1.0 and 2.0 and smaller part has absolute value less
9137 * math/s_clog10.c (__clog10): Likewise.
9138 * math/s_clog10f.c (__clog10f): Likewise.
9139 * math/s_clog10l.c (__clog10l): Likewise.
9140 * math/s_clogf.c (__clogf): Likewise.
9141 * math/s_clogl.c (__clogl): Likewise.
9142 * math/libm-test.inc (clog_test): Add more tests.
9143 (clog10_test): Likewise.
9144 * sysdeps/i386/fpu/libm-test-ulps: Update.
9145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9147 2012-07-31 Florian Weimer <fweimer@redhat.com>
9149 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9150 Exit with zero in case no suitable GID is found, and write a
9151 message to standard error.
9153 2012-07-30 Roland McGrath <roland@hack.frob.com>
9155 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9157 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9158 (MAXPATHLEN): Removed.
9159 (NOGROUP, NODEV): New macros.
9160 (setbit, clrbit, isset, isclr): New macros.
9161 (howmany, roundup, powerof2): New macros.
9162 (DEV_BSIZE): New macro.
9164 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9165 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9167 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9168 definition on [!__NO_LONG_DOUBLE_MATH].
9170 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9171 PTR_MANGLE and PTR_DEMANGLE.
9173 * socket/accept4.c (accept4): Rename to __libc_accept4.
9174 Define accept4 as a weak alias.
9176 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9177 on [_DIRENT_HAVE_D_TYPE].
9178 * io/ftw.c (ftw_dir): Likewise.
9180 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9182 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9184 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9185 Use the BSD numbers rather than the arbitrary ones we had.
9186 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9187 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9188 (SIGXCPU, SIGXFSZ): New macros.
9191 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9192 initializer on [_LIBC_REENTRANT].
9194 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9195 definitions inside [_POSIX_MAPPED_FILES].
9197 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9199 * dirent/opendir.c: Include <fcntl.h>.
9201 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9202 (__libc_getspecific): Likewise.
9203 (__libc_key_create): Likewise.
9205 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9206 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9207 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9208 (tmpfile64): Define as alias.
9209 * sysdeps/wordsize-64/tmpfile.c: File removed.
9210 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9212 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9214 * stdio-common/vfscanf.c: Include <stdbool.h>.
9215 * nss/makedb.c: Likewise.
9216 * stdio-common/_i18n_number.h: Likewise.
9217 * argp/argp-help.c: Likewise.
9218 * posix/wordexp.c: Likewise.
9219 * sysdeps/posix/spawni.c: Likewise.
9220 * nss/nss_files/files-initgroups.c: Likewise.
9221 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9222 * nss/nss_files/files-initgroups.c: Likewise.
9223 * nss/nss_db/db-netgrp.c: Likewise.
9224 * nss/nss_db/db-initgroups.c: Likewise.
9225 * io/fchmodat.c: Include <sys/stat.h>.
9227 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9228 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9230 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9233 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9234 Add multiple inclusion protection.
9236 2012-07-27 David S. Miller <davem@davemloft.net>
9238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9240 2012-07-27 Gary Benson <gbenson@redhat.com>
9243 * elf/rtld.c: Include <stap-probe.h>.
9244 (dl_main): Added static probes "init_start" and "init_complete".
9245 * elf/dl-load.c: Include <stap-probe.h>.
9246 (lose): Take new parameter "nsid".
9247 Added static probe "map_failed".
9248 (_dl_map_object_from_fd): Pass namespace id to lose.
9249 Added static probe "map_start".
9250 (open_verify): Pass namespace id to lose.
9251 * elf/dl-open.c: Include <stap-probe.h>.
9252 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9253 and "reloc_complete".
9254 * elf/dl-close.c: Include <stap-probe.h>.
9255 (_dl_close_worker): Added static probes "unmap_start" and
9257 * elf/rtld-debugger-interface.txt: New file documenting the above.
9259 2012-07-26 Roland McGrath <roland@hack.frob.com>
9261 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9262 rather than a string variable.
9263 * sunrpc/rpc_main.c (h_output): Likewise.
9264 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9266 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9268 * inet/check_native.c: New file.
9270 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9273 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9274 if larger part has absolute value 1.0.
9275 * math/s_clog10.c (__clog10): Likewise.
9276 * math/s_clog10f.c (__clog10f): Likewise.
9277 * math/s_clog10l.c (__clog10l): Likewise.
9278 * math/s_clogf.c (__clogf): Likewise.
9279 * math/s_clogl.c (__clogl): Likewise.
9280 * math/libm-test.inc (clog_test): Add more tests.
9281 (clog10_test): Likewise.
9282 * sysdeps/i386/fpu/libm-test-ulps: Update.
9283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9285 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9286 (pltexit): Likewise.
9287 (La_regs): Likewise.
9288 (La_retval): Likewise.
9289 (int_retval): Likewise.
9290 Update #error for removed macros to refer only to definitions in
9292 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9294 (pltexit): Likewise.
9295 (La_regs): Likewise.
9296 (La_retval): Likewise.
9297 (int_retval): Likewise.
9298 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9300 (pltexit): Likewise.
9301 (La_regs): Likewise.
9302 (La_retval): Likewise.
9303 (int_retval): Likewise.
9304 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9306 (pltexit): Likewise.
9307 (La_regs): Likewise.
9308 (La_retval): Likewise.
9309 (int_retval): Likewise.
9310 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9312 (pltexit): Likewise.
9313 (La_regs): Likewise.
9314 (La_retval): Likewise.
9315 (int_retval): Likewise.
9316 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9318 (pltexit): Likewise.
9319 (La_regs): Likewise.
9320 (La_retval): Likewise.
9321 (int_retval): Likewise.
9322 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9324 (pltexit): Likewise.
9325 (La_regs): Likewise.
9326 (La_retval): Likewise.
9327 (int_retval): Likewise.
9328 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9329 macro definitions in tst-audit.h.
9330 * sysdeps/i386/tst-audit.h: New file.
9331 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9332 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9333 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9334 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9335 * sysdeps/sh/tst-audit.h: Likewise.
9336 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9337 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9338 * sysdeps/x86_64/tst-audit.h: Likewise.
9340 2012-07-26 Andreas Jaeger <aj@suse.de>
9342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9345 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9346 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9347 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9349 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9350 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9351 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9353 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9356 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9358 (si_call_addr, si_syscall, si_arch): Define new macro.
9359 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9361 (si_call_addr, si_syscall, si_arch): Define new marcro.
9362 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9364 (si_call_addr, si_syscall, si_arch): Define new macro.
9365 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9367 (si_call_addr, si_syscall, si_arch): Define new macro.
9369 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9372 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9373 Change to 2.4.21 where previously 2.4.1.
9374 * sysdeps/unix/sysv/linux/configure: Regenerated.
9375 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9376 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9377 Linux kernel version.
9378 (__ASSUME_STD_AUXV): Remove.
9379 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9381 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9382 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9383 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9384 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9385 (__ASSUME_NETLINK_SUPPORT): Likewise.
9386 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9387 (__no_netlink_support): Remove conditional definition.
9388 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9390 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9391 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9392 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9393 (if_nameindex_ioctl): Remove.
9394 (if_nameindex_netlink): Do not handle __no_netlink_support.
9395 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9397 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9398 Remove conditional code.
9399 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9401 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9403 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9404 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9405 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9407 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9408 [!__ASSUME_STD_AUXV]: Remove conditional code.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9410 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9411 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9413 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9414 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9416 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9418 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9419 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9421 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9423 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9426 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9429 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9431 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9433 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9435 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9438 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9440 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9443 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9445 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9447 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9449 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9452 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9454 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9456 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9458 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9461 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9463 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9464 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9465 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9466 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9467 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9468 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9469 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9470 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9471 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9472 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9473 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9474 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9475 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9476 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9477 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9478 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9479 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9481 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9483 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9484 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9487 2012-07-25 Florian Weimer <fweimer@redhat.com>
9489 * Versions.def: Add GLIBC_2.17.
9490 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9491 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9492 Introduce __libc_secure_getenv.
9493 * stdlib/Versions (2.17): Add secure_getenv
9494 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9495 * stdlib/secure-getenv.c: Rename __secure_getenv to
9496 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9497 symbol __secure_getenv for GLIBC_2.0.
9498 * stdlib/tst-secure-getenv.c: New.
9499 * stdlib/Makefile (tests): Add testcase.
9500 * manual/startup.texi (Environment Access): Document
9502 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9503 __libc_secure_getenv.
9504 * inet/ruserpass.c (ruserpass): Likewise.
9505 * malloc/mtrace.c (mtrace): Likewise.
9506 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9507 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9508 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9509 * sysdeps/posix/tempname.c: Likewise. Evaluate
9511 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9512 __secure_getenv to __libc_secure_getenv.
9513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9526 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9528 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9529 (struct La_i86_retval): Likewise.
9530 (struct La_x86_64_regs): Likewise.
9531 (struct La_x86_64_retval): Likewise.
9532 (struct La_x32_regs): Likewise.
9533 (struct La_x32_retval): Likewise.
9534 (struct La_ppc32_regs): Likewise.
9535 (struct La_ppc32_retval): Likewise.
9536 (struct La_ppc64_regs): Likewise.
9537 (struct La_ppc64_retval): Likewise.
9538 (struct La_sh_regs): Likewise.
9539 (struct La_sh_retval): Likewise.
9540 (struct La_s390_32_regs): Likewise.
9541 (struct La_s390_32_retval): Likewise.
9542 (struct La_s390_64_regs): Likewise.
9543 (struct La_s390_64_retval): Likewise.
9544 (struct La_sparc32_regs): Likewise.
9545 (struct La_sparc32_retval): Likewise.
9546 (struct La_sparc64_regs): Likewise.
9547 (struct La_sparc64_retval): Likewise.
9548 (struct audit_ifaces): Remove architecture-specific pltenter and
9550 * sysdeps/i386/ldsodefs.h: New file.
9551 * sysdeps/powerpc/ldsodefs.h: Likewise.
9552 * sysdeps/s390/ldsodefs.h: Likewise.
9553 * sysdeps/sh/ldsodefs.h: Likewise.
9554 * sysdeps/sparc/ldsodefs.h: Likewise.
9555 * sysdeps/x86_64/ldsodefs.h: Likewise.
9557 2012-07-25 Marek Polacek <polacek@redhat.com>
9560 * math/libm-test.inc (yn_test): Add another test.
9561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9562 to ERANGE when the result is +-Inf.
9563 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9564 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9565 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9566 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9568 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9570 * conform/data/time.h-data (NULL): Use macro-constant. Require
9572 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9574 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9576 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9578 * configure.in <sysdeps resolving>: Correct printing
9580 * configure: Regenerate.
9582 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9584 * math/w_ilogb.c: Include <limits.h>.
9585 * math/w_ilogbl.c: Likewise.
9587 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9589 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9590 va_copy. Document allowing for unavailable va_copy only as
9591 pre-C99 compatibility.
9592 * manual/string.texi (Copying and Concatenation): Use va_copy
9593 instead of __va_copy in concat example.
9595 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9597 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9598 (__sendto): Use create_address_port. Initialize APORT and deallocate
9601 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9602 with O_NOLINK passed to __file_name_lookup.
9604 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9605 with O_NOLINK passed to __file_name_lookup.
9607 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9608 negative N or less than NGIDS.
9610 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9611 type to string_t. Set ERANGE as errno and return it if NAME is not big
9612 enough. Use memcpy instead of strncpy.
9614 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9616 * elf/Makefile (check-data): Remove.
9617 (localplt.data): New vpath directive.
9618 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9619 instead of $(check-data).
9620 * scripts/data/localplt-generic.data: Move to ...
9621 * sysdeps/generic/localplt.data: ... here.
9622 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9623 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9624 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9627 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9630 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9633 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9636 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9639 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9643 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9645 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9646 PPC32 and PPC64 files.
9647 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9648 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9650 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9652 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9653 __makecontext_ret to ...
9654 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9655 ... here and call exit if uc_link is NULL. New file.
9656 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9657 __makecontext_ret.S.
9658 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9659 __makecontext_ret to ...
9660 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9661 ... here and call exit if uc_link is NULL. New file.
9662 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9663 __makecontext_ret.S.
9665 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9667 * elf/elf.h (R_390_IRELATIVE): New definition.
9668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9669 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9670 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9671 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9672 (elf_machine_lazy_rel): Likewise.
9673 * sysdeps/s390/dl-irel.h: New file.
9674 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9675 * sysdeps/s390/s390-64/memset.S: New asm code.
9676 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9677 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9678 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9679 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9680 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9681 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9682 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9683 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9684 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9685 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9686 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9687 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9688 * sysdeps/s390/s390-32/memset.S: New asm code.
9689 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9691 2012-07-17 Marek Polacek <polacek@redhat.com>
9694 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9695 * sysdeps/s390/s390-64/configure.in: Likewise.
9696 * sysdeps/sparc/configure.in: Likewise.
9697 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9698 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9699 * sysdeps/i386/configure.in: Likewise.
9700 * sysdeps/x86_64/configure.in: Likewise.
9701 * sysdeps/sh/configure.in: Likewise.
9702 * sysdeps/s390/s390-32/configure: Regenerated.
9703 * sysdeps/s390/s390-64/configure: Likewise.
9704 * sysdeps/x86_64/configure: Likewise.
9705 * sysdeps/sh/configure: Likewise.
9706 * sysdeps/powerpc/powerpc64/configure: Likewise.
9707 * sysdeps/powerpc/powerpc32/configure: Likewise.
9708 * sysdeps/sparc/configure: Likwise.
9709 * sysdeps/i386/configure: Likewise.
9711 * elf/dl-open.c: Comment fixes.
9713 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9715 * Makefile [CXX] (check-data): Remove.
9716 [CXX] (c++-types.data): New vpath directive.
9717 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9718 vpath. Do not allow for C++ type data being missing.
9719 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9720 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9721 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9722 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9723 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9724 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9725 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9728 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9731 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9734 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9737 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9740 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9743 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9746 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9749 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9750 definitions to architecture-specific files.
9754 * sysdeps/i386/tls-macros.h: New file.
9755 * sysdeps/powerpc/tls-macros.h: Likewise.
9756 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9757 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9758 * sysdeps/sh/tls-macros.h: Likewise.
9759 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9760 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9761 * sysdeps/x86_64/tls-macros.h: Likewise.
9763 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9765 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9766 zero value for regular exit case.
9768 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9769 (__start_context): Preserve zero value for regular exit case.
9771 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9772 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9774 * manual/setjmp.texi (setcontext): Clarify normal process
9775 termination when uc_link is the null pointer.
9776 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9779 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9781 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9782 preprocessor. Test for each exception mask separately.
9784 2012-07-16 Andreas Jaeger <aj@suse.de>
9786 * po/ru.po: Update from translation team.
9788 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9790 * conform/data/string.h-data (NULL): Use macro-constant. Require
9792 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9793 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9794 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9795 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9798 2012-07-13 Andreas Jaeger <aj@suse.de>
9800 * po/fr.po: Update from translation team.
9802 2012-07-12 Marek Polacek <polacek@redhat.com>
9805 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9806 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9809 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9813 Change to 2.4.1 where previously 2.4.0.
9814 * sysdeps/unix/sysv/linux/configure: Regenerated.
9815 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9816 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9818 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9819 (__ASSUME_AT_CLKTCK): Remove.
9820 (__ASSUME_AT_PAGESIZE): Likewise.
9821 (__ASSUME_AT_XID): Likewise.
9822 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9823 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9824 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9826 (HAVE_AUX_PAGESIZE): Likewise.
9827 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9828 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9829 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9831 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9835 the temporary buffer used to invoke __gethostbyname2_r,
9836 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9837 host_data / struct gaih_addrtuple.
9838 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9839 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9840 header file nss/nsswitch.h.
9841 * nss/nsswitch.h (global scope): Add definition of implementation
9842 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9843 resolv/nss_dns/dns-host.c).
9845 2012-07-11 Andreas Jaeger <aj@suse.de>
9847 * po/fr.po: Update from translation team.
9849 * po/sv.po: Update from translation team
9850 * po/fr.po: Another update from translation team.
9852 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9854 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9855 for subnormals or multiply small sinh result by itself.
9856 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9859 2012-07-11 David S. Miller <davem@davemloft.net>
9861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9863 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9866 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9867 (INTERNAL_MARK): Shift it here.
9869 2012-07-10 Marek Polacek <polacek@redhat.com>
9872 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9873 libc_cv_asm_global_directive with .globl.
9874 * configure: Regenerated.
9875 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9877 * sysdeps/i386/configure: Regenerated.
9878 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9880 * sysdeps/x86_64/configure: Regenerated.
9881 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9882 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9883 * elf/tst-unique2mod2.c: Likewise.
9884 * elf/tst-unique2mod1.c: Likewise.
9885 * elf/tst-unique1mod2.c: Likewise.
9886 * elf/tst-unique1mod1.c: Likewise.
9887 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9888 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9890 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9891 * sysdeps/mach/sysdep.h: Likewise.
9892 * sysdeps/i386/sysdep.h: Likewise.
9893 * sysdeps/i386/i386-mcount.S: Likewise.
9894 * sysdeps/x86_64/_mcount.S: Likewise.
9895 * sysdeps/x86_64/sysdep.h: Likewise.
9896 * sysdeps/sh/_mcount.S: Likewise.
9897 * sysdeps/sh/sysdep.h: Likewise.
9898 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9899 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9900 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9901 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9902 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9903 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9904 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9905 * locale/localeinfo.h: Likewise.
9906 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9907 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9909 2012-07-09 Roland McGrath <roland@hack.frob.com>
9912 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9914 * manual/message.texi (The Uniforum approach): Likewise.
9915 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9916 (glibc iconv Implementation): Likewise.
9918 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9921 * math/s_clog.c (__clog): Avoid scaling a value down where that
9922 could result in underflow.
9923 * math/s_clog10.c (__clog10): Likewise.
9924 * math/s_clog10f.c (__clog10f): Likewise.
9925 * math/s_clog10l.c (__clog10l): Likewise.
9926 * math/s_clogf.c (__clogf): Likewise.
9927 * math/s_clogl.c (__clogl): Likewise.
9928 * math/libm-test.inc (clog_test): Add more tests.
9929 (clog10_test): Likewise.
9930 * sysdeps/i386/fpu/libm-test-ulps: Update.
9931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9933 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9936 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9937 by 7 not 8 to examine high bit of fractional part.
9940 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9941 for call to __mcount_internal.
9942 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9943 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9944 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9946 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9949 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9950 approximation for values within 0x1p-13f of an odd multiple of
9952 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9953 exception. Add more tests.
9954 * sysdeps/i386/fpu/libm-test-ulps: Update.
9957 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9958 inputs and return -1 for them. Do not check for +Inf in case not
9960 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9961 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9962 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9963 and return -1 for them. Do not check for +Inf in case not
9965 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9967 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9968 and return -1 for them. Do not check for +Inf in case not
9970 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9972 * sysdeps/i386/fpu/libm-test-ulps: Update.
9973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9975 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9977 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9979 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9983 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9984 could result in spurious underflow. Scale down values above
9985 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9986 * math/s_csqrtf.c (__csqrtf): Likewise.
9987 * math/s_csqrtl.c (__csqrtl): Likewise.
9988 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9990 * sysdeps/i386/fpu/libm-test-ulps: Update.
9991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9993 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9995 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9997 * catgets/xopen-msg.awk: New file.
9998 * catgets/xopen-msg.sed: Removed.
10000 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10002 * intl/po2test.awk: New file.
10003 * intl/po2test.sed: Removed.
10005 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10008 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10009 or multiply small sinh result by itself.
10010 * math/s_ctanf.c (__ctanf): Likewise.
10011 * math/s_ctanh.c (__ctanh): Likewise.
10012 * math/s_ctanhf.c (__ctanhf): Likewise.
10013 * math/s_ctanhl.c (__ctanhl): Likewise.
10014 * math/s_ctanl.c (__ctanl): Likewise.
10015 * math/libm-test.inc (ctan_test_tonearest): New function.
10016 (ctan_test_towardzero): Likewise.
10017 (ctan_test_downward): Likewise.
10018 (ctan_test_upward): Likewise.
10019 (ctanh_test_tonearest): Likewise.
10020 (ctanh_test_towardzero): Likewise.
10021 (ctanh_test_downward): Likewise.
10022 (ctanh_test_upward): Likewise.
10023 (main): Call these new functions.
10024 * sysdeps/i386/fpu/libm-test-ulps: Update.
10025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10027 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10029 * .gitignore: Delete /ports entry.
10031 2012-07-03 Andreas Jaeger <aj@suse.de>
10033 * po/bg.po: Update from translation team.
10034 * po/cs.po: Likewise.
10035 * po/de.po: Likewise.
10036 * po/hr.po: Likewise.
10037 * po/nl.pl: Likewise.
10038 * po/pl.po: Likewise.
10039 * po/vi.po: Likewise.
10041 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10043 * Makeconfig [!+link] (+link-before-libc): New variable.
10044 [!+link] (+link-after-libc): Likewise.
10045 [!+link] (+link-tests): Likewise.
10046 [!+link] (+link): Define in terms of $(+link-before-libc) and
10047 $(+link-after-libc).
10048 [!+link-static] (+link-static-before-libc): New variable.
10049 [!+link-static] (+link-static-after-libc): Likewise.
10050 [!+link-static] (+link-static-tests): Likewise.
10051 [!+link-static] (+link-static): Define in terms of
10052 $(+link-static-before-libc) and $(+link-static-after-libc).
10053 [build-shared] (link-libc-before-gnulib): New variable.
10054 [build-shared] (link-libc-tests): Likewise.
10055 [build-shared] (link-libc): Define in terms of
10056 $(link-libc-before-gnulib).
10057 [!build-shared] (link-libc-tests): New variable.
10058 (link-libc-static-tests): New variable.
10059 [!gnulib] (gnulib-arch): New variable.
10060 [!gnulib] (gnulib-tests): Likewise.
10061 [!gnulib] (static-gnulib-arch): Likewise.
10062 [!gnulib] (static-gnulib-tests): Likewise.
10063 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10064 Define with "=" instead of ":=".
10065 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10066 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10067 * Rules (binaries-all-notests): New variable.
10068 (binaries-all-tests): Likewise.
10069 (binaries-static-notests): Likewise.
10070 (binaries-static-tests): Likewise.
10071 (binaries-all): Define using $(binaries-all-notests) and
10072 $(binaries-all-tests).
10073 (binaries-static): Define using $(binaries-static-notests) and
10074 $(binaries-static-tests).
10075 (binaries-shared-tests): New variable.
10076 (binaries-shared-notests): Likewise.
10077 (binaries-shared): Remove variable.
10078 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10079 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10080 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10081 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10082 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10083 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10084 * elf/Makefile (sln-modules): New variable.
10085 (extra-objs): Add $(sln-modules:=.o).
10086 (ldconfig-modules): Add static-stubs.
10087 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10088 * elf/static-stubs.c: New file.
10091 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10092 by 7 not 8 to examine high bit of fractional part. Use volatile
10093 variables when splitting into final array of floats if
10094 __FLT_EVAL_METHOD__ != 0.
10095 * math/libm-test.inc (cos_test): Add another test.
10096 (sin_test): Likewise.
10097 * sysdeps/i386/fpu/libm-test-ulps: Update.
10100 * math/libm-test.inc (cosh_test): Add more tests.
10102 * version.h (RELEASE): Set to "development".
10103 (VERSION): Set to "2.16.90".
10105 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10107 * NEWS: Update copyright. Remove last-updated date.
10108 Mention math library bug fixes and timezone data changes.
10109 * README: Mention GNU/Hurd, x32, and HPPA support status.
10111 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10113 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10115 2012-06-27 Andreas Jaeger <aj@suse.de>
10117 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10119 2012-06-25 Andreas Jaeger <aj@suse.de>
10121 * sysdeps/s390/fpu/libm-test-ulps: Update.
10123 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10124 Thomas Schwinge <thomas@codesourcery.com>
10126 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10127 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10131 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10133 * sysdeps/mach/start.c: Remove file.
10134 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10135 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10136 * sysdeps/sh/init-first.c: Likewise.
10138 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10139 registers for frame unwinding purposes, add CFI directives.
10140 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10141 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10142 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10145 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10146 __fortify_fail returning.
10147 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10149 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10150 sysdeps/sh/____longjmp_chk.S.
10151 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10152 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10153 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10154 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10156 * sysdeps/sh/abort-instr.h: New file.
10157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10158 process in case exit returns.
10160 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10161 initialize the GOT register before use.
10163 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10164 calculation of ARGC > 4.
10166 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10167 meaningful names to some local labels.
10169 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10170 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10172 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10173 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10174 (__arch_compare_and_exchange_val_16_acq): Likewise.
10175 (__arch_compare_and_exchange_val_32_acq): Likewise.
10176 (atomic_exchange_and_add): Fix gUSA sequence.
10177 (atomic_add): Likewise.
10178 (atomic_add_negative): Likewise.
10179 (atomic_add_zero): Likewise.
10180 (atomic_bit_test_set): Likewise.
10182 2012-06-22 Andreas Schwab <schwab@redhat.com>
10185 * include/link.h (struct link_map): Add l_free_initfini.
10186 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10188 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10189 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10190 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10193 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10195 * configure.in: Use AC_LANG_SOURCE.
10196 * configure: Regenerate.
10198 2012-06-22 Roland McGrath <roland@hack.frob.com>
10200 * configure.in (libc_cv_localstatedir): New substituted variable.
10201 * configure: Regenerated.
10202 * config.make.in (localstatedir): New variable, substituted from
10203 libc_cv_localstatedir.
10204 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10205 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10206 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10207 * sysdeps/gnu/configure: Regenerated.
10209 2012-06-21 Jeff Law <law@redhat.com>
10212 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10213 free. Simplify list management for _LIBC case.
10215 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10218 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10219 Clear sign bit of 64-bit integer value before comparing against
10222 * sysdeps/mach/configure: Regenerated.
10224 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10227 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10229 2012-06-21 Jeff Law <law@redhat.com>
10232 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10233 uint16_t for elements in the "seen" array to avoid char overflows.
10234 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10235 * elf/dl-open.c (dl_open_worker): Likewise.
10237 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10239 * scripts/list-sources.sh: Scan PORTS for translations.
10240 * po/libc.pot: Regenerated.
10242 2012-06-21 Andreas Jaeger <aj@suse.de>
10245 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10247 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10248 * bits/byteswap-16.h (__bswap_16): Likewise.
10249 * bits/byteswap.h (__bswap_constant_16): Likewise.
10251 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10254 * sysdeps/i386/fpu_control.h: Removed.
10255 * sysdeps/x86_64/fpu_control.h: Moved to ...
10256 * sysdeps/x86/fpu_control.h: Here.
10258 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10259 (_FPU_SETCW): Likewise.
10261 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10264 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10265 * sysdeps/x86/fpu/bits/mathinline.h: This.
10266 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10270 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10271 functions if __x86_64__ is defined.
10273 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10275 * string/endian.h: Add !__ASSEMBLER__ condition for including
10276 conversion interfaces.
10278 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10282 of ABS(x) in calculating zero to negative powers other than odd
10284 * math/libm-test.inc (pow_test): Add more tests.
10286 2012-06-15 Andreas Jaeger <aj@suse.de>
10288 * manual/contrib.texi (Contributors): Update entry of Liubov
10289 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10292 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10294 * string/string.h: Add __wur to GNU version of strerror_r.
10296 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10299 * string/Makefile (tests): Add tst-strtok_r.
10300 * string/tst-strtok_r.c: New file.
10301 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10302 RAX_LP/RDX_LP on SAVE_PTR.
10304 2012-06-14 Roland McGrath <roland@hack.frob.com>
10306 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10308 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10310 * libm_test.inc (csqrt_test): Allow more spurious underflow
10312 (j0_test): Likewise.
10313 (j1_test): Likewise.
10314 (y0_test): Likewise.
10315 (y1_test): Likewise.
10317 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10319 * po/Makefile (libc.pot): Use UTF-8 charset.
10321 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10324 Suppress sign-conversion warning from FD_SET.
10325 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10326 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10327 not unsigned long int.
10328 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10330 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10334 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10335 __extern_always_inline instead of __extern_inline.
10336 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10337 (__signbit): Likewise.
10338 (__signbitl): Support C++ namespace.
10339 (lrintf): New inline function.
10341 (llrintf): Likewise.
10342 (llrint): Likewise.
10352 (floorf): Likewise.
10353 (nearbyint): Likewise.
10354 (nearbyintf): Likewise.
10356 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10359 non-default versions.
10361 2012-06-11 Roland McGrath <roland@hack.frob.com>
10364 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10366 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10368 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10369 (FE_UPWARD, FE_DOWNWARD): Don't define.
10370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10371 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10375 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10378 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10380 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10381 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10382 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10383 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10385 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10388 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10389 * sysdeps/i386/fpu/Implies: New file.
10390 * sysdeps/x86_64/fpu/Implies: Likewise.
10391 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10392 * sysdeps/x86/fpu/bits/fenv.h: This.
10394 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10397 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10400 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10401 character 0xffff that matches the last element of the
10404 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10409 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10411 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10412 values higher than 25.6283.
10414 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10416 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10417 subnormal exponent extraction and add some __builtin_expect.
10418 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10419 Fix for subnormal mantissa calculation.
10421 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10423 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10424 cpu2 is -1 and errno is not ENOSYS.
10426 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10429 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10430 * sysdeps/x86/bits/string.h: This.
10431 * sysdeps/x86_64/bits/string.h: Removed.
10433 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10434 if not compiling for x86-64, but compiling for >= i486.
10436 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10437 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10439 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10440 New macro from Linux kernel 3.4.0.
10441 (FP_XSTATE_MAGIC2): Likewise.
10442 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10443 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10444 (struct _fpx_sw_bytes): New struct.
10445 (struct _xsave_hdr): Likewise.
10446 (struct _ymmh_state): Likewise.
10447 (struct _xstate): Likewise.
10449 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10450 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10451 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10452 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10453 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10454 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10456 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10457 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10458 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10459 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10460 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10461 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10463 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10466 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10467 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10468 (sysdep_headers): Include sys/platform/ppc.h.
10469 * sysdeps/powerpc/test-gettimebase.c: Test for
10470 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10471 * manual/Makefile (appendices): Include platform.texi.
10472 * manual/contrib.texi (Contributors): Update @node pointers.
10473 * manual/maint.texi (Maintenance): Likewise.
10474 (Platform): New node.
10475 * manual/platform.texi: New file. Document the new features.
10477 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 Jakub Jelinek <jakub@redhat.com>
10481 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10482 where __builtin_expect is unavailable.
10484 2012-06-03 David S. Miller <davem@davemloft.net>
10486 * stdlib/longlong.h: Updated from GCC.
10488 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10491 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10492 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10495 (GLIBC_2.16): Likewise.
10497 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10499 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10501 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10504 (default-abi): New variable.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10506 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10508 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10510 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10512 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10515 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10516 definition. Document in comment.
10518 2012-06-01 David S. Miller <davem@davemloft.net>
10520 * stdlib/longlong.h: Updated from GCC.
10522 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10525 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10526 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10527 sys/debugreg.h sys/io.h here.
10528 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10529 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10531 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10532 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10533 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10534 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10535 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10536 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10539 Define only if __x86_64__ is defined.
10541 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10544 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10545 Use int64_t for variable i.
10546 * math/libm-test.inc (fmod_test): Add more tests.
10548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10549 z computation is not scheduled after fetestexcept.
10550 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10551 Use math_force_eval instead of asm to ensure calculation scheduled
10552 before exception test.
10553 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10554 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10556 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10559 computation is not scheduled after fetestexcept.
10561 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10564 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10565 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10567 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10569 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10570 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10572 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10575 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10577 (__WCHAR_MIN): Support __WORDSIZE == 64.
10578 (__WCHAR_MAX): Likewise.
10580 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10581 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10584 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10585 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10588 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10589 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10591 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10592 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10595 Defined to 1 if __x86_64__ isn't defined.
10596 (_STAT_VER_LINUX_OLD): New.
10597 (st_atime): Remove duplicate.
10598 (st_mtime): Likewise.
10599 (st_ctime): Likewise.
10601 2012-05-31 David S. Miller <davem@davemloft.net>
10603 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10606 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10608 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10612 * elf/dl-reloc.c: Include <_itoa.h>.
10613 (_dl_reloc_bad_type): Remove use of INTUSE.
10614 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10615 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10616 * stdio-common/psiginfo.c (psiginfo): Likewise.
10617 * stdio-common/psignal.c (psignal): Likewise.
10618 * string/strsignal.c (strsignal): Likewise.
10619 * include/signal.h (_sys_siglist): Declare hidden proto.
10620 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10621 INTVARDEF with libc_hidden_data_def.
10622 * stdio-common/itoa-udigits.c: Likewise.
10623 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10624 (_itoa_lower_digits_internal): Remove declaration.
10625 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10626 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10627 (_sys_sigabbrev_internal): Remove aliases.
10628 (_sys_siglist): Define hidden alias.
10630 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10635 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10638 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10639 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10641 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10642 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10643 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10644 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10646 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10648 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10649 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10650 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10652 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10660 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10661 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10662 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10664 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10665 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10666 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10667 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10668 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10669 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10671 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10672 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10674 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10675 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10677 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10678 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10681 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10682 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10684 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10686 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10687 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10688 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10690 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10692 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10694 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10696 * math/math.h (M_El): Use two more decimal places.
10697 (M_LOG2El): Likewise.
10698 (M_LOG10El): Likewise.
10699 (M_LN2l): Likewise.
10700 (M_LN10l): Likewise.
10702 (M_PI_2l): Likewise.
10703 (M_PI_4l): Likewise.
10704 (M_1_PIl): Likewise.
10705 (M_2_PIl): Likewise.
10706 (M_2_SQRTPIl): Likewise.
10707 (M_SQRT2l): Likewise.
10708 (M_SQRT1_2l): Likewise.
10710 2012-05-31 David S. Miller <davem@davemloft.net>
10712 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10713 values between float registers.
10714 * sysdeps/sparc/sparc64/memset.S: Likewise.
10715 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10717 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10719 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10720 -D_FORTIFY_SOURCE=1.
10721 (CPPFLAGS-tst-longjmp_chk.c): Define.
10722 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10723 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10724 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10725 CFLAGS-tst-wchar-h.c.
10727 2012-05-31 Marek Polacek <polacek@redhat.com>
10730 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10731 __endmntent_internal): Remove declaration.
10732 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10733 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10734 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10736 2012-05-30 David S. Miller <davem@davemloft.net>
10738 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10739 (___Q_simulate_exceptions): Use real FP ops rather than writing
10741 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10744 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10747 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10748 * sysdeps/x86/bits/xtitypes.h: This.
10750 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10751 * sysdeps/x86/bits/wordsize.h: This.
10753 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10754 * sysdeps/x86/bits/huge_vall.h: This.
10756 * sysdeps/i386/bits/select.h: Removed.
10757 * sysdeps/x86_64/bits/select.h: Renamed to ...
10758 * sysdeps/x86/bits/select.h: This.
10760 * sysdeps/i386/bits/setjmp.h: Removed.
10761 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10762 * sysdeps/x86/bits/setjmp.h: This.
10764 * sysdeps/i386/bits/mathdef.h: Removed.
10765 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10766 * sysdeps/x86/bits/mathdef.h: This.
10768 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10771 * include/sys/socket.h (__connect_internal)
10772 (__libc_sa_len_internal): Remove declaration.
10773 (__connect, __libc_sa_len): Declare hidden_proto.
10774 (SA_LEN): Remove use of INTUSE.
10775 * socket/connect.c: Add libc_hidden_def.
10776 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10777 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10778 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10780 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10782 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10783 of adding _internal alias.
10785 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10788 * sysdeps/i386/bits/link.h: Removed.
10789 * sysdeps/i386/bits/linkmap.h: Likewise.
10790 * sysdeps/x86_64/bits/link.h: Renamed to ...
10791 * sysdeps/x86/bits/link.h: This.
10792 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10793 * sysdeps/x86/bits/linkmap.h: This.
10795 * sysdeps/i386/bits/endian.h: Removed.
10796 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10797 * sysdeps/x86/bits/endian.h: This.
10799 * sysdeps/i386/bits/byteswap.h: Removed.
10800 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10801 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10802 * sysdeps/x86/bits/byteswap.h: This.
10803 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10804 * sysdeps/x86/bits/byteswap-16.h: This.
10805 * sysdeps/i386/Implies: Add x86.
10806 * sysdeps/x86_64/Implies: Likewise.
10808 2012-05-30 David S. Miller <davem@davemloft.net>
10810 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10811 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10813 (FP_TRAPPING_EXCEPTIONS): Define.
10814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10815 (FP_TRAPPING_EXCEPTIONS): Define.
10816 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10817 subnormals only when inexact has been signalled or underflow
10818 exceptions are enabled.
10819 (_FP_PACK_CANONICAL): Likewise.
10821 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10824 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10825 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10827 2012-05-30 Richard Henderson <rth@twiddle.net>
10829 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10830 with #ifndef NOT_IN_libc.
10832 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10833 marked to avoid plt entry.
10835 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10838 * Makeconfig (default-abi): New macro.
10839 (abi-includes): Likewise.
10840 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10841 $(abi-$(default-abi)-lib-soname) for soname if defined.
10842 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10844 * Makefile (installed-stubs): Likewise.
10845 * include/stubs-biarch.h: Removed.
10846 * scripts/lib-names.awk: Only handle one library at a time.
10847 * scripts/soversions.awk: Remove WORDSIZE support.
10848 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10850 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10852 (syscall-list-default-condition): Likewise.
10853 (syscall-list-default-condition): Likewise.
10854 (syscall-list-includes): Likewise.
10855 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10856 syscall-list-* with abi-*. Handle undefined abi-variants.
10857 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10858 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10859 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10860 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10861 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10862 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10864 (syscall-list-32-options): Likewise.
10865 (syscall-list-32-condition): Likewise.
10866 (syscall-list-64-options): Likewise.
10867 (syscall-list-64-condition): Likewise.
10868 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10870 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10873 (abi-64-ld-soname): New macro.
10874 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10875 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10878 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10879 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10881 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10883 * sysdeps/unix/sysv/linux/kernel-features.h
10884 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10885 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10886 include <kernel-features.h>.
10887 [!__NR_ftruncate64]: Remove conditional code.
10888 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10889 [__NR_ftruncate64]: Make code unconditional.
10890 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10891 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10892 include <kernel-features.h>.
10893 [!__NR_ftruncate64]: Remove conditional code.
10894 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10895 [__NR_ftruncate64]: Make code unconditional.
10896 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10898 include <kernel-features.h>.
10899 [!__NR_ftruncate64]: Remove conditional code.
10900 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10901 [__NR_ftruncate64]: Make code unconditional.
10902 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10904 include <kernel-features.h>.
10905 [!__NR_ftruncate64]: Remove conditional code.
10906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10907 [__NR_ftruncate64]: Make code unconditional.
10908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10910 * configure.in (libc_cv_fpie): Weaken to a compile test using
10911 LIBC_TRY_CC_OPTION.
10912 * configure: Regenerated.
10914 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10929 2012-05-27 David S. Miller <davem@davemloft.net>
10931 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10933 (__Q_simulate_exceptions): Return void. Change to simulate
10934 exceptions by writing into the %fsr.
10935 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10936 (__Qp_handle_exceptions): Likewise.
10938 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10939 __Qp_handle_exceptions.
10940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10941 __Qp_handle_exceptions.
10942 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10943 as unused and give dummy FP_RND_NEAREST initializer.
10944 (FP_INHIBIT_RESULTS): Define.
10945 (___Q_simulate_exceptions): Update declaration.
10946 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10948 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10949 as unused and give dummy FP_RND_NEAREST initializer.
10950 (__Qp_handle_exceptions): Update declaration.
10951 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10954 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10956 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10957 the temporary FPU control word.
10958 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10959 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10961 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10962 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10963 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10964 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10965 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10966 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10967 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10968 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10970 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10972 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10975 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10977 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10978 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10979 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10980 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10982 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10983 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10986 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10988 * po/h.po: Update from translation team.
10990 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10992 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10994 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10995 handling of denormals.
10996 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10997 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10998 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10999 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11005 2012-05-26 Marek Polacek <polacek@redhat.com>
11008 * math/libm-test.inc (fma_test): Don't always expect underflow
11011 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11014 * elf/tst-execstack.c: Include stackinfo.h.
11015 (do_test): Adjust test case to ensure that pthread_getattr_np
11016 behaviour remains the same after marking stack executable.
11018 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11020 * sysdeps/unix/sysv/linux/kernel-features.h
11021 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11022 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11024 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11025 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11026 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11028 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11029 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11031 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11033 * configure.in: Define the default includes to being none.
11034 * configure: Regenerated.
11036 2012-05-25 Roland McGrath <roland@hack.frob.com>
11038 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11039 * sysdeps/x86_64/setjmp.S: Likewise.
11040 * sysdeps/i386/bsd-setjmp.S: Likewise.
11041 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11042 * sysdeps/i386/setjmp.S: Likewise.
11043 * sysdeps/i386/__longjmp.S: Likewise.
11044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11045 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11047 * include/stap-probe.h: New file.
11048 * configure.in: Handle --enable-systemtap.
11049 * configure: Regenerated.
11050 * config.h.in (USE_STAP_PROBE): New #undef.
11051 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11052 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11053 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11055 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11059 to 2.4.0 where earlier.
11060 * sysdeps/unix/sysv/linux/configure: Regenerated.
11061 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11062 <kernel-features.h>.
11063 [__ASSUME_32BITUIDS]: Make code unconditional.
11064 [!__ASSUME_32BITUIDS]: Remove conditional code.
11065 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11066 <kernel-features.h>.
11067 [__ASSUME_32BITUIDS]: Make code unconditional.
11068 [!__ASSUME_32BITUIDS]: Remove conditional code.
11069 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11070 [__ASSUME_32BITUIDS]: Make code unconditional.
11071 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11072 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11073 <kernel-features.h>.
11074 [__ASSUME_32BITUIDS]: Make code unconditional.
11075 [!__ASSUME_32BITUIDS]: Remove conditional code.
11076 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11077 <kernel-features.h>.
11078 [__ASSUME_32BITUIDS]: Make code unconditional.
11079 [!__ASSUME_32BITUIDS]: Remove conditional code.
11080 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11081 <kernel-features.h>.
11082 [__ASSUME_32BITUIDS]: Make code unconditional.
11083 [!__ASSUME_32BITUIDS]: Remove conditional code.
11084 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11085 <kernel-features.h>.
11086 [__ASSUME_32BITUIDS]: Make code unconditional.
11087 [!__ASSUME_32BITUIDS]: Remove conditional code.
11088 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11089 <kernel-features.h>.
11090 [__ASSUME_32BITUIDS]: Make code unconditional.
11091 [!__ASSUME_32BITUIDS]: Remove conditional code.
11092 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11093 <kernel-features.h>.
11094 [__ASSUME_32BITUIDS]: Make code unconditional.
11095 [!__ASSUME_32BITUIDS]: Remove conditional code.
11096 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11097 <kernel-features.h>.
11098 [__ASSUME_32BITUIDS]: Make code unconditional.
11099 [!__ASSUME_32BITUIDS]: Remove conditional code.
11100 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11101 <kernel-features.h>.
11102 [__ASSUME_32BITUIDS]: Make code unconditional.
11103 [!__ASSUME_32BITUIDS]: Remove conditional code.
11104 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11105 <kernel-features.h>.
11106 [__ASSUME_32BITUIDS]: Make code unconditional.
11107 [!__ASSUME_32BITUIDS]: Remove conditional code.
11108 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11109 <kernel-features.h>.
11110 [__ASSUME_32BITUIDS]: Make code unconditional.
11111 [!__ASSUME_32BITUIDS]: Remove conditional code.
11112 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11113 <kernel-features.h>.
11114 [__NR_setresgid] (__setresgid): Do not declare.
11115 [__ASSUME_32BITUIDS]: Make code unconditional.
11116 [!__ASSUME_32BITUIDS]: Remove conditional code.
11117 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11118 <kernel-features.h>.
11119 [__NR_setresuid] (__setresuid): Do not declare.
11120 [__ASSUME_32BITUIDS]: Make code unconditional.
11121 [!__ASSUME_32BITUIDS]: Remove conditional code.
11122 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11123 <kernel-features.h>.
11124 [__ASSUME_32BITUIDS]: Make code unconditional.
11125 [!__ASSUME_32BITUIDS]: Remove conditional code.
11126 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11127 <kernel-features.h>.
11128 [__ASSUME_32BITUIDS]: Make code unconditional.
11129 [!__ASSUME_32BITUIDS]: Remove conditional code.
11130 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11131 <kernel-features.h>.
11132 [__ASSUME_32BITUIDS]: Make code unconditional.
11133 [!__ASSUME_32BITUIDS]: Remove conditional code.
11134 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11135 <kernel-features.h>.
11136 [__ASSUME_32BITUIDS]: Make code unconditional.
11137 [!__ASSUME_32BITUIDS]: Remove conditional code.
11138 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11139 <kernel-features.h>.
11140 [__ASSUME_32BITUIDS]: Make code unconditional.
11141 [!__ASSUME_32BITUIDS]: Remove conditional code.
11142 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11143 <kernel-features.h>.
11144 [__ASSUME_32BITUIDS]: Make code unconditional.
11145 [!__ASSUME_32BITUIDS]: Remove conditional code.
11146 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11147 <kernel-features.h>.
11148 [__ASSUME_32BITUIDS]: Make code unconditional.
11149 [!__ASSUME_32BITUIDS]: Remove conditional code.
11150 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11151 <kernel-features.h>.
11152 [__ASSUME_32BITUIDS]: Make code unconditional.
11153 [!__ASSUME_32BITUIDS]: Remove conditional code.
11154 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11155 <kernel-features.h>.
11156 [__ASSUME_32BITUIDS]: Make code unconditional.
11157 [!__ASSUME_32BITUIDS]: Remove conditional code.
11158 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11159 <kernel-features.h>.
11160 [__ASSUME_32BITUIDS]: Make code unconditional.
11161 [!__ASSUME_32BITUIDS]: Remove conditional code.
11162 * sysdeps/unix/sysv/linux/kernel-features.h
11163 (__ASSUME_SETRESUID_SYSCALL): Remove.
11164 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11165 (__ASSUME_32BITUIDS): Likewise.
11166 (__ASSUME_LDT_WORKS): Likewise.
11167 (__ASSUME_O_DIRECTORY): Likewise.
11168 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11169 architecture but not kernel version.
11170 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11171 (__ASSUME_MMAP2_SYSCALL): Likewise.
11172 (__ASSUME_STAT64_SYSCALL): Likewise.
11173 (__ASSUME_IPC64): Likewise.
11174 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11175 <kernel-features.h>.
11176 [__ASSUME_32BITUIDS]: Make code unconditional.
11177 [!__ASSUME_32BITUIDS]: Remove conditional code.
11178 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11179 <kernel-features.h>.
11180 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11181 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11182 132096]: Remove conditional code.
11183 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11184 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11185 <kernel-features.h>.
11186 [__ASSUME_32BITUIDS]: Make code unconditional.
11187 [!__ASSUME_32BITUIDS]: Remove conditional code.
11188 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11189 <kernel-features.h>.
11190 [__ASSUME_32BITUIDS]: Make code unconditional.
11191 [!__ASSUME_32BITUIDS]: Remove conditional code.
11192 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11193 <kernel-features.h>.
11194 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11196 (__setresgid): Do not declare.
11197 [__ASSUME_32BITUIDS]: Make code unconditional.
11198 [!__ASSUME_32BITUIDS]: Remove conditional code.
11199 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11200 <kernel-features.h>.
11201 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11203 (__setresuid): Do not declare.
11204 [__ASSUME_32BITUIDS]: Make code unconditional.
11205 [!__ASSUME_32BITUIDS]: Remove conditional code.
11206 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11207 <kernel-features.h>.
11208 [__ASSUME_32BITUIDS]: Make code unconditional.
11209 [!__ASSUME_32BITUIDS]: Remove conditional code.
11210 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11211 <kernel-features.h>.
11212 [__ASSUME_32BITUIDS]: Make code unconditional.
11213 [!__ASSUME_32BITUIDS]: Remove conditional code.
11215 2012-05-25 Richard Henderson <rth@twiddle.net>
11217 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11218 dl_hwcap to ifunc resolver.
11219 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11221 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11222 dl_hwcap to ifunc resolver.
11223 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11225 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11228 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11229 for |x| <= 2**-26, not 2**-57.
11230 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11233 2012-05-24 Jeff Law <law@redhat.com>
11235 * stdio-common/Makefile (tests): Add bug25.
11236 * stdio-common/bug25.c: New test.
11238 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11241 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11242 multiple of MALLOC_ALIGNMENT in size.
11243 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11245 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11247 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11249 (FILENAME_MAX): Use macro-int-constant.
11250 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11251 (_IOFBF): Use macro-int-constant.
11252 (_IOLBF): Likewise.
11253 (_IONBF): Likewise.
11254 (SEEK_CUR): Likewise.
11255 (SEEK_END): Likewise.
11256 (SEEK_SET): Likewise.
11257 (TMP_MAX): Likewise.
11258 (EOF): Use macro-int-constant. Require < 0.
11259 (NULL): Use macro-constant. Require == 0.
11260 (stdin): Require type to be FILE *.
11261 (stdout): Likewise.
11262 (stderr): Likewise.
11263 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11264 macro-int-constant.
11265 (EXIT_SUCCESS): Likewise.
11266 (NULL): Use macro-constant. Require == 0.
11267 (RAND_MAX): Use macro-int-constant.
11268 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11269 [C99-based standards] (strtof): Require function.
11270 [C99-based standards] (strtold): Likewise.
11271 [C99-based standards] (strtoll): Likewise.
11272 [C99-based standards] (strtoull): Likewise.
11273 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11274 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11275 [ISO || ISO99 || ISO11] (math.h): Likewise.
11276 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11277 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11280 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11283 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11284 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11285 * intl/dgettext.c (DCGETTEXT): Likewise.
11286 * intl/gettext.c (DCGETTEXT): Likewise.
11287 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11288 * posix/regex_internal.h (gettext): Likewise.
11289 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11290 Remove declaration.
11291 * include/argz.h (__argz_count_internal)
11292 (__argz_stringify_internal): Remove declaration.
11293 (__argz_count, __argz_stringify): Declare hidden proto.
11294 * intl/dcgettext.c: Remove use of INTDEF.
11295 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11296 * string/argz-stringify.c: Likewise.
11297 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11298 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11299 Declare hidden proto.
11300 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11301 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11302 Declare hidden proto.
11303 * include/stdio.h (__asprintf_internal): Don't declare.
11304 (__asprintf): Don't define as macro. Declare hidden proto.
11305 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11306 (__fsetlocking): Declare hidden proto.
11307 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11308 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11310 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11311 (_IO_setlinebuf): Remove use of INTUSE.
11312 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11313 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11314 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11315 Remove declaration.
11316 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11317 (_IO_do_flush): Remove use of INTUSE.
11318 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11319 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11320 (_IO_adjust_column, _IO_least_wmarker)
11321 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11322 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11323 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11324 (_IO_default_doallocate, _IO_wdefault_doallocate)
11325 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11326 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11327 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11328 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11329 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11330 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11331 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11332 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11333 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11334 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11335 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11336 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11337 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11339 (_IO_flush_all_internal, _IO_adjust_column_internal)
11340 (_IO_default_uflow_internal, _IO_default_finish_internal)
11341 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11342 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11343 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11344 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11345 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11346 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11347 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11348 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11349 (_IO_file_close_internal, _IO_file_close_it_internal)
11350 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11351 (_IO_file_init_internal, _IO_file_attach_internal)
11352 (_IO_file_fopen_internal, _IO_file_read_internal)
11353 (_IO_file_sync_internal, _IO_file_seek_internal)
11354 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11355 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11356 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11357 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11358 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11359 (_IO_list_all_internal, _IO_link_in_internal)
11360 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11361 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11362 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11363 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11364 (_IO_do_write_internal, _IO_padn_internal)
11365 (_IO_getline_info_internal, _IO_getline_internal)
11366 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11367 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11368 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11369 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11370 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11371 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11372 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11373 with libc_hidden_ver, remove use of INTUSE.
11374 * libio/genops.c: Likewise.
11375 * libio/freopen.c: Likewise.
11376 * libio/freopen64.c: Likewise.
11377 * libio/iofclose.c: Likewise.
11378 * libio/iofdopen.c: Likewise.
11379 * libio/iofflush.c: Likewise.
11380 * libio/iofflush_u.c: Likewise.
11381 * libio/iofgets.c: Likewise.
11382 * libio/iofgets_u.c: Likewise.
11383 * libio/iofopen.c: Likewise.
11384 * libio/iofopncook.c: Likewise.
11385 * libio/iofread.c: Likewise.
11386 * libio/iofread_u.c: Likewise.
11387 * libio/ioftell.c: Likewise.
11388 * libio/iofwrite.c: Likewise.
11389 * libio/iogetline.c: Likewise.
11390 * libio/iogets.c: Likewise.
11391 * libio/iogetwline.c: Likewise.
11392 * libio/iopadn.c: Likewise.
11393 * libio/iopopen.c: Likewise.
11394 * libio/ioseekoff.c: Likewise.
11395 * libio/ioseekpos.c: Likewise.
11396 * libio/iosetbuffer.c: Likewise.
11397 * libio/iosetvbuf.c: Likewise.
11398 * libio/ioungetc.c: Likewise.
11399 * libio/ioungetwc.c: Likewise.
11400 * libio/iovdprintf.c: Likewise.
11401 * libio/iovsprintf.c: Likewise.
11402 * libio/iovsscanf.c: Likewise.
11403 * libio/memstream.c: Likewise.
11404 * libio/obprintf.c: Likewise.
11405 * libio/oldfileops.c: Likewise.
11406 * libio/oldiofclose.c: Likewise.
11407 * libio/oldiofdopen.c: Likewise.
11408 * libio/oldiofopen.c: Likewise.
11409 * libio/oldiopopen.c: Likewise.
11410 * libio/oldstdfiles.c: Likewise.
11411 * libio/putc.c: Likewise.
11412 * libio/setbuf.c: Likewise.
11413 * libio/setlinebuf.c: Likewise.
11414 * libio/stdfiles.c: Likewise.
11415 * libio/strops.c: Likewise.
11416 * libio/vasprintf.c: Likewise.
11417 * libio/vscanf.c: Likewise.
11418 * libio/vsnprintf.c: Likewise.
11419 * libio/vswprintf.c: Likewise.
11420 * libio/wfiledoalloc.c: Likewise.
11421 * libio/wfileops.c: Likewise.
11422 * libio/wgenops.c: Likewise.
11423 * libio/wmemstream.c: Likewise.
11424 * libio/wstrops.c: Likewise.
11425 * libio/__fpurge.c: Likewise.
11426 * libio/__fsetlocking.c: Likewise.
11427 * assert/assert.c: Likewise.
11428 * debug/fgets_chk.c: Likewise.
11429 * debug/fgets_u_chk.c: Likewise.
11430 * debug/fread_chk.c: Likewise.
11431 * debug/fread_u_chk.c: Likewise.
11432 * debug/gets_chk.c: Likewise.
11433 * debug/obprintf_chk.c: Likewise.
11434 * debug/vasprintf_chk.c: Likewise.
11435 * debug/vdprintf_chk.c: Likewise.
11436 * debug/vsnprintf_chk.c: Likewise.
11437 * debug/vsprintf_chk.c: Likewise.
11438 * malloc/mtrace.c: Likewise.
11439 * misc/error.c: Likewise.
11440 * misc/syslog.c: Likewise.
11441 * stdio-common/asprintf.c: Likewise.
11442 * stdio-common/fxprintf.c: Likewise.
11443 * stdio-common/getw.c: Likewise.
11444 * stdio-common/isoc99_fscanf.c: Likewise.
11445 * stdio-common/isoc99_scanf.c: Likewise.
11446 * stdio-common/isoc99_vfscanf.c: Likewise.
11447 * stdio-common/isoc99_vscanf.c: Likewise.
11448 * stdio-common/isoc99_vsscanf.c: Likewise.
11449 * stdio-common/printf-prs.c: Likewise.
11450 * stdio-common/printf_fp.c: Likewise.
11451 * stdio-common/printf_fphex.c: Likewise.
11452 * stdio-common/printf_size.c: Likewise.
11453 * stdio-common/putw.c: Likewise.
11454 * stdio-common/scanf.c: Likewise.
11455 * stdio-common/sprintf.c: Likewise.
11456 * stdio-common/tmpfile.c: Likewise.
11457 * stdio-common/vfprintf.c: Likewise.
11458 * stdio-common/vfscanf.c: Likewise.
11459 * stdlib/strfmon_l.c: Likewise.
11460 * sunrpc/openchild.c: Likewise.
11461 * sunrpc/xdr_stdio.c: Likewise.
11462 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11463 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11465 2012-05-24 Roland McGrath <roland@hack.frob.com>
11467 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11469 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11470 in the third column, to generate for the shared library an IFUNC
11471 that uses _dl_vdso_vsym.
11472 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11473 * Makeconfig (object-suffixes-noshared): New variable.
11475 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11476 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11477 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11478 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11481 * include/sys/time.h (__gettimeofday): Remove macro.
11482 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11483 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11485 (__gettimeofday): Add libc_hidden_def.
11486 (gettimeofday): Add libc_hidden_weak.
11487 * sysdeps/mach/gettimeofday.c: Likewise.
11488 * sysdeps/posix/gettimeofday.c: Likewise.
11489 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11490 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11492 (__gettimeofday_internal): Remove strong_alias.
11493 (__gettimeofday): Add libc_hidden_def.
11494 (gettimeofday): Add libc_hidden_weak.
11495 * sysdeps/unix/syscalls.list (gettimeofday):
11496 Remove __gettimeofday_internal alias.
11498 2012-05-24 Daniel Jacobowitz <drow@false.org>
11499 H.J. Lu <hongjiu.lu@intel.com>
11502 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11503 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11504 (largebin_index_32_big): New.
11505 (largebin_index): Use it for 16-byte alignment.
11506 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11507 correction with front_misalign.
11509 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11537 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11538 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11540 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11544 * math/libm-test.inc (exp_test): Add test from bug 14036.
11545 (pow_test): Add test from bug 10846.
11547 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11549 (special_function): Do not include flags in test name.
11550 (parse_args): Likewise.
11551 * sysdeps/i386/fpu/libm-test-ulps: Update.
11552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11554 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11557 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11559 * math/libm-test.inc ("Philosophy"): Update comment about
11561 (UNDERFLOW_EXCEPTION): New macro.
11562 (UNDERFLOW_EXCEPTION_OK): Likewise.
11563 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11564 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11565 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11566 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11567 (INVALID_EXCEPTION_OK): Update value.
11568 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11569 (OVERFLOW_EXCEPTION_OK): Likewise.
11570 (IGNORE_ZERO_INF_SIGN): Likewise.
11571 (test_exceptions): Handle underflow exceptions.
11572 (acos_test): Update for underflow exception expectations.
11573 (cexp_test): Likewise.
11574 (clog_test): Likewise.
11575 (clog10_test): Likewise.
11576 (csqrt_test): Likewise.
11577 (ctan_test): Likewise.
11578 (ctanh_test): Likewise.
11579 (exp_test): Likewise.
11580 (exp10_test): Likewise.
11581 (exp2_test): Likewise.
11582 (expm1_test): Likewise.
11583 (fma_test): Likewise.
11584 (j0_test): Likewise.
11585 (jn_test): Likewise.
11586 (nexttoward_test): Likewise.
11587 (pow_test): Likewise.
11588 (scalbn_test): Likewise.
11589 (scalbln_test): Likewise.
11590 (tan_test): Likewise.
11591 (y1_test): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595 2012-05-23 David S. Miller <davem@davemloft.net>
11597 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11598 (__libc_sigaction): Remove unused local variables.
11600 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11602 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11604 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11606 mktime: avoid signed integer overflow
11607 * time/mktime.c (__mktime_internal): Do not mishandle the case
11608 where diff == INT_MIN.
11610 mktime: simplify computation of average
11611 * time/mktime.c (ranged_convert): Use new time_t_avg function
11612 instead of rolling our own (probably-slower) code.
11614 mktime: do not assume signed right shift propagates sign bit
11615 * time/mktime.c (isdst_differ): New static function.
11616 (__mktime_internal): No need to normalize tm_isdst now.
11617 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11620 mktime: merge another wrapv change from gnulib
11621 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11622 from some compilers.
11624 mktime: remove incorrect attempt at unusual arithmetics
11625 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11626 The code didn't really work on such machines anyway.
11627 (TYPE_MINIMUM): Assume two's complement.
11628 (twos_complement_arithmetic): Verify that long_int and time_t
11629 are two's complement (or unsigned, in the latter case).
11631 mktime: check signed shifts on long_int and time_t, too
11632 * time/mktime.c (SHR): Check that shifts work as desired
11633 on the types long_int and time_t too, as SHR is used on
11636 mktime: do not assume 'long' is wide enough
11637 * time/mktime.c (verify): Move decl up.
11638 (long_int): New type.
11639 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11640 to remove assumption in the code that 'long' is wide enough to
11641 store year values. This assumption is not true on x32 and on
11642 some non-glibc platforms.
11644 mktime: merge wrapv change from gnulib
11645 * time/mktime.c (WRAPV): New macro.
11646 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11647 (guess_time_tm, __mktime_internal): Do not assume that signed
11648 integer overflow wraps around; modern compilers generate code
11649 where this assumption is no longer valid.
11651 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11653 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11654 Replace "jmp L(pseudo_end)" with "ret".
11655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11658 2012-05-23 Andreas Jaeger <aj@suse.de>
11660 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11661 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11663 2012-05-23 Andreas Jaeger <aj@suse.de>
11664 Maximilian Attems <max@stro.at>
11666 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11669 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11672 code so that pseudo_end is just ret and the stack pointer is
11673 correct also for static library in error case.
11675 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11677 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11678 move to syscalls.list.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11684 * manual/install.texi (Running make install): Do not mention Linux
11685 kernel version for which pt_chown is not needed.
11686 (Linux): Do not mention problems with nscd with 2.0 kernels.
11687 * INSTALL: Regenerated.
11689 2012-05-23 Andreas Jaeger <aj@suse.de>
11691 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11692 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11694 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11695 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11696 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11697 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11698 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11701 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11704 * sysdeps/unix/sysv/linux/bits/in.h
11705 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11707 2012-05-22 Roland McGrath <roland@hack.frob.com>
11709 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11710 (PREPARE_VERSION): Just use assert instead, it will be elided
11711 under [NDEBUG] anyway.
11713 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11715 * sysdeps/unix/sysv/linux/Makefile: Include
11716 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11717 (sysdep_routines): Remove sysctl.
11718 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11719 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11722 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11724 2012-05-22 Andreas Jaeger <aj@suse.de>
11726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11727 that pseudo_end is just ret and the stack pointer is correct also
11728 for static library in error case.
11730 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11733 * nss/nsswitch.c (defconfig_entries): New variable.
11734 (__nss_database_lookup): Don't leak defconfig entries.
11735 (nss_parse_service_list): Don't leak on error paths.
11736 (free_database_entries): New function.
11737 (free_defconfig): New function.
11738 (free_mem): Move common code to free_database_entries.
11740 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11742 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11744 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11746 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11747 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11750 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11751 (INTERNAL_SYSCALL_TYPES): Likewise.
11752 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11753 (LOAD_REGS_TYPES_[1-6]): Likewise.
11754 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11755 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11757 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11759 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11760 copysignl for GLIBC_2_0.
11761 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11762 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11764 logbl for GLIBC_2_0.
11765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11766 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11768 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11773 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11776 * time/mktime.c: Update copyright years.
11778 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11780 mktime: merge comment-quoting-style change from gnulib
11781 * time/mktime.c: Quote 'like this' in comments.
11782 The GNU coding standards suggest that we no longer quote `like this',
11783 as "`" and "'" are typically rendered asymmetrically nowadays.
11784 The typical gnulib style is to quote 'like this' when quoting
11785 code, and "like this" when quoting English.
11787 * time/mktime.c (compile-command): Add "-I.".
11789 mktime: merge mktime-internal.h change from gnulib
11790 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11792 mktime: merge time_r change from gnulib
11793 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11795 mktime: merge DEBUG change from gnulib
11796 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11797 case system <time.h> has a #define.
11799 mktime: merge <sys/types.h> change from gnulib
11800 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11801 since <time.t> is now guaranteed to define time_t.
11803 mktime: merge HAVE_CONFIG_H change from gnulib
11804 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11806 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11811 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11813 (struct rusage): Use anonymous union to pad each field to
11816 2012-05-21 David S. Miller <davem@davemloft.net>
11818 * Makefules (o-iterator): Remove .s cases.
11819 (compile-command.s): Delete.
11820 (COMPILE.s): Delete.
11821 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11823 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11825 * configure.in (libc_cv_predef_stack_protector): Only consider
11826 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11827 * configure: Regenerated.
11829 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11832 New macro. Use R*LP on int and pointer.
11833 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11838 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11839 [__WORDSIZE_TIME64_COMPAT32] instead of
11840 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11841 (struct utmp): Likewise.
11842 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11843 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11845 (__WORDSIZE_TIME64_COMPAT32): This.
11846 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11847 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11848 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11849 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11850 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11851 (__WORDSIZE_TIME64_COMPAT32): New macro.
11853 2012-05-21 Andreas Jaeger <aj@suse.de>
11855 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11856 only if [SHARED]. Add prototype for __wcschr_ia32.
11858 2012-05-21 Roland McGrath <roland@hack.frob.com>
11860 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11861 of %rbp unmolested in the jmp_buf while mangling the low bits.
11862 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11863 unmolested high bits of %rbp while demangling the low bits.
11864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11866 2012-05-21 Andreas Jaeger <aj@suse.de>
11868 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11869 * sunrpc/svc_simple.c: Use it for registerrpc.
11870 * sunrpc/xcrypt.c: Use it for passwd2des.
11872 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11874 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11876 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11877 Don't define if [__SYSCALL_WORDSIZE != 32].
11878 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11881 2012-05-21 Bruno Haible <bruno@clisp.org>
11882 Andreas Jaeger <aj@suse.de>
11884 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11885 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11886 inptr and inend for must_buffer_ch.
11887 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11888 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11889 * stdio-common/Makefile (tests): Remove bug15.
11890 (bug15-ENV): Remove macro.
11891 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11894 2012-05-19 Andreas Jaeger <aj@suse.de>
11895 Roland McGrath <roland@hack.frob.com>
11897 * manual/contrib.texi: Completely rewritten. It contains now an
11898 alphabetical list of contributors and their contributions.
11900 2012-05-21 Richard Henderson <rth@twiddle.net>
11902 * misc/getauxval.c (__getauxval): Use unsigned long int.
11903 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11904 (getauxval): Use unsigned long int.
11906 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11908 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11910 2012-05-21 Roland McGrath <roland@hack.frob.com>
11912 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11913 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11914 __alignof__ (long double).
11916 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11920 2012-05-20 Richard Henderson <rth@twiddle.net>
11922 * misc/getauxval.c: New file.
11923 * misc/sys/auxv.h: New file.
11924 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11925 (routines): Add getauxval.
11926 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11927 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11928 * elf/dl-sysdep.c (_dl_auxv): Remove.
11929 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11930 * elf/dl-support.c (_dl_auxv): New variable.
11931 (_dl_aux_init): Initialize it.
11932 * manual/startup.texi (Auxiliary Vector): New node.
11933 * sysdeps/generic/bits/hwcap.h: New file.
11934 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11935 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11936 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11937 * sysdeps/sparc/sysdep.h: ... here. Include it.
11938 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11939 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11945 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11951 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11955 2012-05-19 David S. Miller <davem@davemloft.net>
11957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11959 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11962 * math/s_ccosh.c: Include <float.h>
11963 (__ccosh): Avoid internal overflow calculating sinh and cosh
11964 values before multiplying by sin and cos values.
11965 * math/s_ccoshf.c: Likewise.
11966 * math/s_ccoshl.c: Likewise.
11967 * math/s_csin.c: Likewise.
11968 * math/s_csinf.c: Likewise.
11969 * math/s_csinl.c: Likewise.
11970 * math/s_csinh.c: Likewise.
11971 * math/s_csinhf.c: Likewise.
11972 * math/s_csinhl.c: Likewise.
11973 * math/libm-test.inc (ccos_test): Add more tests.
11974 (ccosh_test): Likewise.
11975 (csin_test): Likewise.
11976 (csinh_test): Likewise.
11977 * sysdeps/i386/fpu/libm-test-ulps: Update.
11978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11980 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11982 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11983 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11985 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11987 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11989 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11990 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11991 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11992 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11993 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11994 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11995 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11996 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11997 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11998 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11999 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12000 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12001 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12002 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12003 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12004 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12005 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12006 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12007 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12008 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12009 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12010 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12011 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12012 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12013 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12014 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12015 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12016 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12017 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12018 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12019 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12021 2012-05-18 Andreas Jaeger <aj@suse.de>
12023 * csu/.gitignore: Delete.
12025 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12027 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12028 (timex): Use __syscall_slong_t.
12030 2012-05-18 Andreas Jaeger <aj@suse.de>
12031 Carlos O'Donell <carlos_odonell@mentor.com>
12033 * manual/install.texi (Configuring and compiling): Update
12034 description about files modified in the source directory.
12035 * INSTALL: Regenerated.
12037 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12039 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12040 value. Use "or" to set return value to -1.
12041 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12042 negate return value.
12044 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12046 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12047 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12048 failure if the compiler has Graphite support disabled.
12049 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12051 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12052 CFLAGS-memmove.c): Likewise.
12053 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12056 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12058 * sysdeps/x86_64/x32/_itoa.h: New file.
12060 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12061 getdents system call only if kernel and user dirents have the
12062 same d_ino and d_off.
12064 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12065 LLONG_MAX != LONG_MAX.
12066 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12067 (_fitoa_word): Likewise.
12069 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12072 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12073 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12075 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12076 include <bits/wordsize.h>. Check __x86_64__ instead of
12078 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12079 if __x86_64__ is defined. Use anonymous union on fpstate.
12081 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12084 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12086 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12087 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12088 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12089 Refer to _rtld_local_ro instead of _rtld_global_ro.
12090 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12092 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12094 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12096 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12097 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12098 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12100 * sysdeps/powerpc/powerpc32/dl-machine.c
12101 (__elf_machine_runtime_setup) [PROF]: Don't reference
12104 2012-05-18 Andreas Jaeger <aj@suse.de>
12106 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12107 function only available for GCCs before 3.4 since GCC 3.4
12108 introduced a builtin.
12110 (llrintf): Likewise.
12111 (llrint): Likewise.
12118 (nearbyint): Likewise.
12119 (nearbyintf): Likewise.
12123 (floorf): Likewise.
12125 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12127 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12128 on both fields and cast pointer to __syscall_ulong_t.
12130 * bits/types.h (__fsword_t): New type.
12131 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12132 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12134 (__FSWORD_T_TYPE): Likewise.
12135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12136 (__FSWORD_T_TYPE): Likewise.
12137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12138 (__FSWORD_T_TYPE): Likewise.
12139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12140 (__FSWORD_T_TYPE): Likewise.
12141 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12142 __SWORD_TYPE with __fsword_t.
12143 (statfs64): Likewise.
12145 2012-05-17 David S. Miller <davem@davemloft.net>
12147 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12149 2012-05-17 Andreas Jaeger <aj@suse.de>
12151 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12154 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12156 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12158 2012-05-17 Andreas Jaeger <aj@suse.de>
12160 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12163 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12165 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12167 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12169 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12170 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12172 2012-05-17 Andreas Jaeger <aj@suse.de>
12173 Carlos O'Donell <carlos_odonell@mentor.com>
12176 * sysdeps/x86_64/multiarch/init-arch.h
12177 (bit_YMM_Usable): Rename to...
12178 (bit_AVX_Usable): ... this.
12179 (bit_FMA4_Usable): New macro.
12180 (bit_XMM_state): New macro.
12181 (bit_YMM_state): New macro.
12182 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12183 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12184 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12185 (CPUID_OSXSAVE): New macro.
12186 (CPUID_AVX): New macro.
12187 (CPUID_FMA4): New macro.
12188 (index_YMM_Usable): Rename to...
12189 (index_AVX_Usable): ... this.
12190 (HAS_AVX): Use HAS_ARCH_FEATURE.
12191 (HAS_FMA4): Likewise.
12192 (HAS_YMM_USABLE): Remove.
12193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12194 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12196 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12197 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12198 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12199 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12200 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12202 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12204 * math/libm-test.c: Support platforms without multiple rounding modes.
12205 * math/bug-nextafter.c: Support platforms without FP exceptions.
12206 * math/bug-nexttoward.c: Likewise.
12207 * math/test-fenv.c: Likewise.
12208 * math/test-misc.c: Likewise.
12209 * stdlib/bug-getcontext.c: Likewise.
12211 2012-05-17 Andreas Jaeger <aj@suse.de>
12213 * manual/examples/search.c (critter_cmp): Change signature to
12215 * manual/string.texi (Collation Functions): Likewise.
12217 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12219 * bits/types.h: Fold copyright years.
12220 * bits/typesizes.h: Likewise.
12221 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12225 * time/time.h: Likewise.
12227 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12230 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12231 in instead of returning them. Return void.
12232 (__libc_mallinfo): Accumulate over all arenas.
12233 (__malloc_stats): Adjust for change in int_mallinfo interface.
12235 2012-05-16 Roland McGrath <roland@hack.frob.com>
12238 * configure.in (NM): Add AC_CHECK_TOOL for it.
12239 (libc_extra_cflags): New substituted variable.
12240 Check for -fstack-protector being used implicitly.
12241 * configure: Regenerated.
12242 * config.make.in (config-extra-cflags): New variable,
12243 gets @libc_extra_cflags@.
12244 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12247 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12248 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12249 * configure: Regenerated.
12250 * config.make.in (CPPUNDEFS): New substituted variable.
12251 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12252 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12253 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12257 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12258 (mq_attr): Use __syscall_slong_t.
12260 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12262 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12263 Check __x86_64__ instead of __WORDSIZE.
12264 (_STAT_VER_LINUX): Likewise.
12265 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12266 __syscall_ulong_t and __syscall_slong_t.
12267 (stat64): Likewise.
12269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12275 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12277 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12279 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12282 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12283 include <bits/wordsize.h>. Check __x86_64__ instead of
12285 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12287 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12290 include <bits/wordsize.h>. Check __x86_64__ instead of
12292 (user_regs_struct): Use "__extension__ unsigned long long"
12293 instead of "unsigned long" if __x86_64__ is defined.
12294 (user): Likewise. Pad after pointer field if __ILP32__ is
12297 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12299 * configure.in (makeinfo): Require version 4.5 or later. Allow
12301 * configure: Regenerated.
12302 * manual/install.texi (texinfo): Increase version requirement to
12304 * INSTALL: Regenerated.
12306 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12308 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12310 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12312 * sysdeps/x86_64/x32/ffs.c: New file.
12314 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12316 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12317 defined. Use __syscall_ulong_t.
12318 (shminfo): Use __syscall_ulong_t.
12319 (shm_info): Likewise.
12321 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12324 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12326 (msgqnum_t): Use __syscall_ulong_t.
12327 (msglen_t): Likewise.
12328 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12331 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12332 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12334 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12336 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12337 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12339 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12342 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12343 include <bits/wordsize.h>. Check __x86_64__ instead of
12346 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12347 "unsigned long long int" if __x86_64__ is defined.
12348 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12351 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12352 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12354 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12356 (GET_PC): Cast to uintptr_t first.
12357 (GET_FRAME): Likewise.
12358 (GET_STACK): Likewise.
12360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12361 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12363 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12365 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12367 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12368 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12370 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12374 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12376 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12378 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12380 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12382 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12384 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12386 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12388 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12390 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12392 * Makerules (+depfiles): Also collect depfiles from .oS in
12394 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12395 .oS, $(libnldbl-routines)).
12397 * Makerules (native-compile-mkdep-flags): Define.
12398 * sunrpc/Makefile (extra-objs): Add $(addprefix
12399 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12400 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12401 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12402 calling $(make-target-directory).
12404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12406 * bits/types.h (__snseconds_t): Removed.
12407 * time/time.h (struct timespec): Replace __snseconds_t with
12409 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12410 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12413 (__SNSECONDS_T_TYPE): Likewise.
12414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12415 (__SNSECONDS_T_TYPE): Likewise.
12416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12417 (__SNSECONDS_T_TYPE): Likewise.
12419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12421 * sysdeps/mach/hurd/bits/typesizes.h
12422 (__SYSCALL_SLONG_TYPE): New macro.
12423 (__SYSCALL_ULONG_TYPE): Likewise.
12425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12427 * bits/types.h (__syscall_slong_t): New type.
12428 (__syscall_ulong_t): Likewise.
12430 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12431 (__SYSCALL_ULONG_TYPE): Likewise.
12432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12433 (__SYSCALL_SLONG_TYPE): Likewise.
12434 (__SYSCALL_ULONG_TYPE): Likewise.
12435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12436 (__SYSCALL_SLONG_TYPE): Likewise.
12437 (__SYSCALL_ULONG_TYPE): Likewise.
12438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12439 (__SYSCALL_SLONG_TYPE): Likewise.
12440 (__SYSCALL_ULONG_TYPE): Likewise.
12442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12444 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12445 Add sigaltstack-offsets.sym.
12446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12447 <sigaltstack-offsets.h>.
12448 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12449 longjmp_msg pointer.
12450 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12451 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12453 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12455 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12457 * elf/stackguard-macros.h: Remove file.
12458 * sysdeps/generic/stackguard-macros.h: New file.
12459 * sysdeps/i386/stackguard-macros.h: Likewise.
12460 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12461 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12462 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12463 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12464 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12465 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12466 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12467 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12468 <elf/stackguard-macros.h>.
12471 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12472 __aligned__ in attribute.
12473 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12474 (gregset_t): Likewise.
12476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12478 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12479 * sysdeps/x86_64/64/Implies-after: Here. New file.
12480 * sysdeps/x86_64/x32/Implies-after: New file.
12482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12484 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12485 and access return value for _dl_profile_fixup. Use R10_LP to
12488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12490 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12494 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12495 * sysdeps/x86_64/x32/sysdep.h: New file.
12497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12499 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12500 * sysdeps/x86_64/setjmp.S: Likewise.
12502 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12505 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12506 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12507 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12508 remove unused global constant.
12510 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12512 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12513 include of <not-cancel.h>.
12515 2012-05-15 Roland McGrath <roland@hack.frob.com>
12517 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12519 2012-05-15 Jeff Law <law@redhat.com>
12520 Andreas Jaeger <aj@suse.de>
12523 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12525 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12526 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12527 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12528 code changing __hst_map_handle.map.
12530 2012-05-15 Roland McGrath <roland@hack.frob.com>
12532 * configure.in (sysnames): Look for Implies-before and Implies-after
12534 * configure: Regenerated.
12536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12538 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12539 8-byte data alignment with LP_SIZE alignment.
12541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12543 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12548 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12553 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12560 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12561 (stackinfo_sub_sp): Likewise.
12563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12580 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12584 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12585 into R11_LP and load __x86_64_shared_cache_size_half into
12588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12593 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12602 powerpc32/power7/fpu/s_logb.c via #include.
12603 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12604 powerpc32/power7/fpu/s_logbf.c via #include.
12605 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12606 powerpc32/power7/fpu/s_logbl.c via #include.
12608 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12610 * README.libm: Remove file.
12612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12614 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12615 count for x32. Use R*_LP and omit operand-size suffix.
12617 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12619 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12620 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12621 * sysdeps/x86_64/x32/shlib-versions: New file.
12623 2012-05-14 Roland McGrath <roland@hack.frob.com>
12625 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12626 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12627 Use _dl_fatal_printf instead.
12629 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12631 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12632 set if not set by the user. Do not allow for being unset.
12633 * sysdeps/unix/sysv/linux/configure: Regenerated.
12635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12637 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12638 the `q' suffix from lea and replace .quad with ASM_ADDR.
12640 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12643 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12645 (PTR_DEMANGLE): Likewise.
12647 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12649 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12651 (ASM_ADDR): Likewise.
12652 (RAX_LP): Likewise.
12653 (RBP_LP): Likewise.
12654 (RBX_LP): Likewise.
12655 (RCX_LP): Likewise.
12656 (RDI_LP): Likewise.
12657 (RSI_LP): Likewise.
12658 (RSP_LP): Likewise.
12661 (R10_LP): Likewise.
12662 (R10_LP): Likewise.
12663 (R11_LP): Likewise.
12664 (R12_LP): Likewise.
12665 (R13_LP): Likewise.
12666 (R14_LP): Likewise.
12667 (R15_LP): Likewise.
12669 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12671 * sysdeps/x86_64/x32/dl-machine.h: New file.
12673 2012-05-14 Andreas Jaeger <aj@suse.de>
12675 * manual/Makefile (subdir): Remove export of subdir.
12676 (all): Remove target.
12677 (.PHONY): Remove all from list.
12678 (mkinstalldirs): Remove.
12679 (.PHONY): Remove installdirs from list.
12680 ($(inst_infodir)/libc.info): Use make-target-directory.
12681 (installdirs): Remove.
12682 (subdir_%): Remove.
12683 (glibc-targets): Remove.
12686 ($(objpfx)stubs ../po/manual.pot): Remove.
12687 ($(objpfx)stamp%): Remove.
12688 (make-target-directory): Remove.
12689 (subdir_install): Remove.
12690 (routines): Remove.
12697 * manual/.gitignore: Remove, it's not needed anymore.
12698 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12700 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12702 (texis): Renamed to $(objpfx)texis.
12703 (texis-path): New, contains path to generated files.
12704 (chapters.%): Use texis-path for complete path, add extra argument
12706 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12707 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12708 (summary,texi, stamp-summary): Use complete path of
12709 files. Generate files in build dir.
12710 (dir-add.texi): Build in build dir.
12711 (libm-err.texi,stamp-libm-err): Likewise.
12712 (version.texi, stamp-version): Likewise.
12713 (.%c.texi): Likewise.
12714 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12715 (mostlyclean): Remove target.
12716 (realclean): Remove target.
12717 (generated): Add new variable with contents from mostlyclean and
12718 realclean, remove entries duplicated in common-mostlyclean, add
12719 stamp-libm-err and stamp-version.
12720 (generated-dirs): Add libc directory.
12721 ($(inst_infodir)/libc.info): Install files from build dir.
12723 * manual/install.texi (Configuring and compiling): Adjust since
12724 the info files are not part of the tar ball anymore.
12726 2012-05-14 Andreas Jaeger <aj@suse.de>
12728 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12731 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12734 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12735 to 2.2.0 where earlier.
12736 * sysdeps/unix/sysv/linux/configure: Regenerated.
12737 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12738 Remove conditional code.
12739 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12740 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12741 Remove conditional code.
12742 [!__NR_lchown]: Likewise.
12743 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12744 [__NR_lchown]: Likewise.
12745 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12746 comment referencing __ASSUME_LCHOWN_SYSCALL.
12747 * sysdeps/unix/sysv/linux/i386/sigaction.c
12748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12750 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12751 Remove conditional code.
12752 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12753 (__protocol_available): Remove #if 0 code.
12754 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12756 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12757 * sysdeps/unix/sysv/linux/kernel-features.h
12758 (__ASSUME_GETCWD_SYSCALL): Don't define.
12759 (__ASSUME_REALTIME_SIGNALS): Likewise.
12760 (__ASSUME_PREAD_SYSCALL): Likewise.
12761 (__ASSUME_PWRITE_SYSCALL): Likewise.
12762 (__ASSUME_POLL_SYSCALL): Likewise.
12763 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12764 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12766 (__ASSUME_SIOCGIFNAME): Don't define.
12767 (__ASSUME_MSG_NOSIGNAL): Likewise.
12768 (__ASSUME_SENDFILE): Define unconditionally.
12769 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12770 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12772 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12773 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12774 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12775 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12776 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12777 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12778 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12803 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12804 Remove conditional code.
12805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12806 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12807 Remove conditional code.
12808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12809 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12810 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12811 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12812 Remove conditional code.
12813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12814 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12815 Remove conditional code.
12816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12817 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12818 Remove conditional code.
12819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12820 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12821 Remove conditional code.
12822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12823 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12824 Remove conditional code.
12825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12826 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12827 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12829 * sysdeps/unix/sysv/linux/sigaction.c
12830 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12831 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12832 * sysdeps/unix/sysv/linux/sigpending.c
12833 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12834 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12835 * sysdeps/unix/sysv/linux/sigprocmask.c
12836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12838 * sysdeps/unix/sysv/linux/sigsuspend.c
12839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12842 (__libc_missing_rt_sigs): Remove.
12843 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12844 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12845 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12846 Remove conditional code.
12847 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12848 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12850 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12851 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12852 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12853 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12855 2012-05-14 Andreas Jaeger <aj@suse.de>
12857 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12858 it's not used in glibc.
12859 (__coshm1): Likewise.
12860 (__acosh1p): Likewise.
12863 * manual/string.texi (Copying and Concatenation): Add missing
12864 variable in concat example.
12865 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12870 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12871 __builtin_clzl with __builtin_clzll.
12873 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12876 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12879 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12881 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12882 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12883 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12884 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12886 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12888 * NEWS: Update ia64 info.
12890 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12892 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12895 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12897 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12898 * sysdeps/unix/syscalls.list (dup3): Likewise.
12899 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12900 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12902 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12904 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12905 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12907 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12909 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12911 (TLS_IE): Use mov/add instead of movq/addq to load thread
12913 (TLS_GD_PREFIX): New.
12916 2012-05-11 David S. Miller <davem@davemloft.net>
12918 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12919 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12920 (_FPU_SETCW): Likewise.
12922 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12924 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12925 is 32-byte aligned.
12927 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12930 * iconvdata/gb18030.c: Update tables.
12931 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12932 characters specially.
12933 (BODY for TO_LOOP): Add encoding of missing ranges.
12935 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12938 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12939 * sysdeps/mach/hurd/dup3.c: Likewise.
12940 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12941 * sysdeps/powerpc/memmove.c:: Likewise.
12943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12946 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12948 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12950 * elf/elf.h (R_X86_64_RELATIVE64): New.
12951 (R_X86_64_NUM): Updated.
12952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12953 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12954 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12955 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12956 tst-quad1pie tst-quad2pie
12957 (modules-names): Add tst-quadmod1 tst-quadmod2.
12958 ($(objpfx)tst-quad1): New dependency.
12959 ($(objpfx)tst-quad2): Likewise.
12960 ($(objpfx)tst-quad1pie): Likewise.
12961 ($(objpfx)tst-quad2pie): Likewise.
12962 * sysdeps/x86_64/tst-quad1.c: New file.
12963 * sysdeps/x86_64/tst-quad1pie.c: New file.
12964 * sysdeps/x86_64/tst-quad2.c: Likewise.
12965 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12966 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12967 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12968 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12969 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12971 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12973 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12974 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12975 * streams/stropts.h (t_scalar_t): Define type.
12977 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12978 (_PATH_PRESERVE): Set to "/var/lib".
12979 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12981 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12984 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12985 if __dir_mkfile succeeded.
12987 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12988 checking for _hurd_dtablesize. Unlock it right after having
12989 finished _hurd_dtable allocation.
12991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12993 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12994 * sysdeps/mach/hurd/configure: Regenerated.
12995 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12996 special-casing to...
12997 * sysdeps/gnu/configure.in: ... this new file.
12998 * sysdeps/unix/sysv/linux/configure: Regenerated.
12999 * sysdeps/gnu/configure: New generated file.
13001 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13002 for Linux: use nsec instead of usec, as well as:
13003 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13004 members of type struct timespec.
13005 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13007 (struct stat64): Likewise.
13008 (_STATBUF_ST_NSEC): New macro.
13009 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13011 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13012 __strtoul_internal rather than strtoul.
13014 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13016 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13021 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13022 which preserves existing values.
13023 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13025 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13027 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13028 TIMEOUT values. Return EINVAL for NFDS values either negative or
13029 greater than FD_SETSIZE.
13031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13033 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13034 allocated, call __vm_protect to finish enabling the existing space, and
13035 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13036 allocate the remainder.
13038 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13040 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13041 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13043 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13045 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13046 sysdeps/mach/hurd/readlink.c.
13048 * posix/tst-sysconf.c (posix_options): Only use
13049 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13050 _POSIX_SYNCHRONIZED_IO when they are defined
13051 * sysdeps/mach/hurd/bits/posix_opt.h:
13052 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13053 (_XOPEN_REALTIME): Undefine macro.
13054 (_XOPEN_REALTIME_THREADS): Undefine macro.
13055 (_XOPEN_SHM): Undefine macro.
13056 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13058 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13060 (_POSIX_ASYNC_IO): Undefine macro.
13061 (_POSIX_PRIORITIZED_IO): Undefine macro.
13062 (_POSIX_SPIN_LOCKS): Define macro to -1.
13064 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13065 SA_NODEFER, SA_RESETHAND.
13066 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13067 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13072 * elf/Makefile (pldd-modules): Define unconditionally.
13074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13076 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13080 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13081 Return ENOENT when name is empty.
13082 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13086 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13088 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13092 Fix mlock in all cases except non-readable pages.
13093 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13094 instead of VM_PROT_ALL as parameter to __vm_wire function.
13096 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13097 (__mkdir): When path is `/', just fail with EEXIST.
13098 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13102 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13103 <sys/uio.h> (for writev).
13104 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13105 and <sys/param.h> (for MIN).
13107 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13109 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13110 REQUESTED_TIME. Properly set the remaining time and return EINTR
13113 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13115 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13116 Depend on against $(link-rpcuserlibs).
13118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13120 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13121 (__libc_stack_end): Do not use attribute_relro.
13122 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13123 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13124 to libthread-provided value.
13125 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13128 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13131 * bits/libc-lock.h (__libc_once_get): New macro.
13132 * sysdeps/mach/bits/libc-lock.h: Likewise.
13133 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13135 instead of using implementation details.
13137 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13138 * libio/freopen.c: Likewise.
13139 * libio/freopen64.c: Likewise.
13140 * misc/syslog.c: Likewise.
13141 * nscd/connections.c: Likewise.
13142 * nscd/netgroupcache.c: Likewise.
13143 * sysdeps/posix/getcwd.c: Likewise.
13145 2012-05-10 Roland McGrath <roland@hack.frob.com>
13147 * math/w_ilogbf.c: Add #include <limits.h>.
13149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13151 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13152 path instead of returning without unlocking.
13154 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13155 immediate-write ioctls.
13156 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13158 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13160 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13161 __builtin_frame_address instead of making assumptions about the
13162 location of the return address relative to DATA. Force early load of
13163 the return address.
13164 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13165 __builtin_frame_address.
13168 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13169 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13170 implement dup3 and do some further code clean-ups.
13171 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13172 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13174 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13176 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13178 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13179 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13180 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13181 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13182 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13185 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13186 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13187 when handler == SIG_ERR, not when handler != SIG_ERR.
13189 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13191 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13192 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13195 accept4 for GNU Hurd.
13196 * include/sys/socket.h (__libc_accept4): New prototype.
13197 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13198 to implement __libc_accept4.
13199 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13201 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13203 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13204 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13205 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13206 signal-defines.sym.
13208 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13210 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13212 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13214 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13215 assertion on O_CLOEXEC flag.
13216 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13217 * hurd/intern-fd.c: Likewise.
13218 * hurd/port2fd.c: Likewise.
13220 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13223 * bits/in.h (IPV6_PKTINFO): Define new macro.
13224 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13226 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13231 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13233 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13234 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13235 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13236 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13237 * math/libm-test.inc (logb_test) : Additional logb tests.
13239 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13240 Andreas Jaeger <aj@suse.de>
13242 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13243 * configure: Regenerated.
13244 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13245 * config.make.in (link-obsolete-rpc): New substituted variable.
13246 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13247 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13248 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13249 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13250 so that libc.a contains the symbols.
13251 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13252 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13253 * sunrpc/auth_none.c: Likewise.
13254 * sunrpc/auth_unix.c: Likewise.
13255 * sunrpc/authdes_prot.c: Likewise.
13256 * sunrpc/authuxprot.c: Likewise.
13257 * sunrpc/clnt_gen.c: Likewise.
13258 * sunrpc/clnt_perr.c: Likewise.
13259 * sunrpc/clnt_raw.c: Likewise.
13260 * sunrpc/clnt_simp.c: Likewise.
13261 * sunrpc/clnt_tcp.c: Likewise.
13262 * sunrpc/clnt_udp.c: Likewise.
13263 * sunrpc/clnt_unix.c: Likewise.
13264 * sunrpc/des_crypt.c: Likewise.
13265 * sunrpc/des_soft.c: Likewise.
13266 * sunrpc/get_myaddr.c: Likewise.
13267 * sunrpc/key_call.c: Likewise.
13268 * sunrpc/key_prot.c: Likewise.
13269 * sunrpc/netname.c: Likewise.
13270 * sunrpc/pm_getmaps.c: Likewise.
13271 * sunrpc/pm_getport.c: Likewise.
13272 * sunrpc/pmap_clnt.c: Likewise.
13273 * sunrpc/pmap_prot.c: Likewise.
13274 * sunrpc/pmap_prot2.c: Likewise.
13275 * sunrpc/pmap_rmt.c: Likewise.
13276 * sunrpc/publickey.c: Likewise.
13277 * sunrpc/rpc_cmsg.c: Likewise.
13278 * sunrpc/rpc_common.c: Likewise.
13279 * sunrpc/rpc_dtable.c: Likewise.
13280 * sunrpc/rpc_prot.c: Likewise.
13281 * sunrpc/rpc_thread.c: Likewise.
13282 * sunrpc/rtime.c: Likewise.
13283 * sunrpc/svc.c: Likewise.
13284 * sunrpc/svc_auth.c: Likewise.
13285 * sunrpc/svc_raw.c: Likewise.
13286 * sunrpc/svc_run.c: Likewise.
13287 * sunrpc/svc_tcp.c: Likewise.
13288 * sunrpc/svc_udp.c: Likewise.
13289 * sunrpc/svc_unix.c: Likewise.
13290 * sunrpc/svcauth_des.c: Likewise.
13291 * sunrpc/xcrypt.c: Likewise.
13292 * sunrpc/xdr.c: Likewise.
13293 * sunrpc/xdr_array.c: Likewise.
13294 * sunrpc/xdr_float.c: Likewise.
13295 * sunrpc/xdr_intXX_t.c: Likewise.
13296 * sunrpc/xdr_mem.c: Likewise.
13297 * sunrpc/xdr_rec.c: Likewise.
13298 * sunrpc/xdr_ref.c: Likewise.
13299 * sunrpc/xdr_sizeof.c: Likewise.
13300 * sunrpc/xdr_stdio.c: Likewise.
13302 2012-05-10 Roland McGrath <roland@hack.frob.com>
13304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13305 change. Update copyright years.
13307 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13309 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13311 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13312 Joseph Myers <joseph@codesourcery.com>
13313 Paul Pluzhnikov <ppluzhnikov@google.com>
13316 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13318 [cross-compiling] (extra-libs): Likewise.
13319 [cross-compiling] (extra-libs-others): Likewise.
13320 [cross-compiling] (librpcsvc-routines): Likewise.
13321 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13322 [cross-compiling] (omit-deps): Likewise.
13323 (sunrpc-CPPFLAGS): New variable.
13324 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13325 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13326 (cross-rpcgen-objs): New variable.
13327 (extra-objs): Append $(cross-rpcgen-objs).
13328 ($(cross-rpcgen-objs)): New rule.
13329 ($(objpfx)cross-rpcgen): Likewise.
13330 (rpcgen-cmd): Define to use $(built-program-file). Expand
13332 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13333 ($(objpfx)x%.stmp): Likewise.
13334 * sunrpc/proto.h [IS_IN_build] (_): Define.
13335 [IS_IN_build] (_libc_intl_domainname): Likewise.
13337 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13339 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13340 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13341 and R_X86_64_TPOFF64.
13343 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13345 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13346 sysdeps/unix/sysv/syscalls.list.
13349 * sysdeps/unix/sysv/syscalls.list: Remove file.
13351 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13354 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13355 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13356 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13357 (__LC_IDENTIFICATION): Make these macros useful in #if
13358 expressions, as required by C99.
13360 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13362 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13363 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13366 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13368 * stdlib/longlong.h: Updated from GCC.
13370 2012-05-09 Andreas Jaeger <aj@suse.de>
13372 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13373 default is first entry.
13374 (run_mode): Set type.
13375 (main): Remove informal message about syslog.
13376 (options): Fix typo.
13379 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13382 (llrintf): Likewise.
13383 (llrint): Likewise.
13386 (nearbyint): Likewise.
13387 (nearbyintf): Likewise.
13389 2012-05-09 Andreas Jaeger <aj@suse.de>
13390 Pedro Alves <palves@redhat.com>
13392 * nscd/nscd.c (run_mode): Use enum.
13393 (main): Cleanup coding style issue.
13395 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13396 Andreas Jaeger <aj@suse.de>
13398 * nscd/nscd.c (go_background): Replaced with...
13399 (run_mode): ... this.
13400 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13401 (options): Add -F --foreground.
13402 (main): Implement it.
13403 (parse_opt): Parse it.
13405 2012-05-09 Andreas Jaeger <aj@suse.de>
13408 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13409 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13410 -Wconversion warning.
13411 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13414 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13416 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13418 (LC_ALL): Use macro-int-constant.
13419 (LC_COLLATE): Likewise.
13420 (LC_CTYPE): Likewise.
13421 (LC_MESSAGES): Likewise.
13422 (LC_MONETARY): Likewise.
13423 (LC_NUMERIC): Likewise.
13424 (LC_TIME): Likewise.
13425 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13426 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13428 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13430 [C99-based standards] (float_t): Expect type.
13431 [C99-based standards] (double_t): Expect type.
13432 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13434 [C99-based standards] (HUGE_VALL): Likewise.
13435 [C99-based standards] (INFINITY): Likewise.
13436 [C99-based standards] (NAN): Likewise.
13437 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13438 [C99-based standards] (FP_NAN): Likewise.
13439 [C99-based standards] (FP_NORMAL): Likewise.
13440 [C99-based standards] (FP_SUBNORMAL): Likewise.
13441 [C99-based standards] (FP_ZERO): Likewise.
13442 [C99-based standards] (FP_FAST_FMA): Use
13443 optional-macro-int-constant. Specify type. Require == 1.
13444 [C99-based standards] (FP_FAST_FMAF): Likewise.
13445 [C99-based standards] (FP_FAST_FMAL): Likewise.
13446 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13447 [C99-based standards] (FP_ILOGBNAN): Likewise.
13448 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13450 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13451 [C99-based standards] (math_errhandling): Specify type.
13452 [ISO99 || ISO11] (signgam): Do not allow.
13453 [non-C99-based standards] (copysignf): Do not allow.
13454 [non-C99-based standards] (exp2f): Likewise.
13455 [non-C99-based standards] (log2f): Likewise.
13456 [non-C99-based standards] (modff): Allow.
13457 [non-C99-based standards] (erff): Do not allow.
13458 [non-C99-based standards] (erfcf): Likewise.
13459 [non-C99-based standards] (gammaf): Likewise.
13460 [non-C99-based standards] (hypotf): Likewise.
13461 [non-C99-based standards] (j0f): Likewise.
13462 [non-C99-based standards] (j1f): Likewise.
13463 [non-C99-based standards] (jnf): Likewise.
13464 [non-C99-based standards] (lgammaf): Likewise.
13465 [non-C99-based standards] (tgammaf): Likewise.
13466 [non-C99-based standards] (y0f): Likewise.
13467 [non-C99-based standards] (y1f): Likewise.
13468 [non-C99-based standards] (ynf): Likewise.
13469 [non-C99-based standards] (isnanf): Likewise.
13470 [non-C99-based standards] (acoshf): Likewise.
13471 [non-C99-based standards] (asinhf): Likewise.
13472 [non-C99-based standards] (atanhf): Likewise.
13473 [non-C99-based standards] (cbrtf): Likewise.
13474 [non-C99-based standards] (expm1f): Likewise.
13475 [non-C99-based standards] (ilogbf): Likewise.
13476 [non-C99-based standards] (log1pf): Likewise.
13477 [non-C99-based standards] (logbf): Likewise.
13478 [non-C99-based standards] (nextafterf): Likewise.
13479 [non-C99-based standards] (remainderf): Likewise.
13480 [non-C99-based standards] (rintf): Likewise.
13481 [non-C99-based standards] (scalbf): Likewise.
13482 [non-C99-based standards] (copysignl): Likewise.
13483 [non-C99-based standards] (exp2l): Likewise.
13484 [non-C99-based standards] (log2l): Likewise.
13485 [non-C99-based standards] (modfl): Allow.
13486 [non-C99-based standards] (erfl): Do not allow.
13487 [non-C99-based standards] (erfcl): Likewise.
13488 [non-C99-based standards] (gammal): Likewise.
13489 [non-C99-based standards] (hypotl): Likewise.
13490 [non-C99-based standards] (j0l): Likewise.
13491 [non-C99-based standards] (j1l): Likewise.
13492 [non-C99-based standards] (jnl): Likewise.
13493 [non-C99-based standards] (lgammal): Likewise.
13494 [non-C99-based standards] (tgammal): Likewise.
13495 [non-C99-based standards] (y0l): Likewise.
13496 [non-C99-based standards] (y1l): Likewise.
13497 [non-C99-based standards] (ynl): Likewise.
13498 [non-C99-based standards] (isnanl): Likewise.
13499 [non-C99-based standards] (acoshl): Likewise.
13500 [non-C99-based standards] (asinhl): Likewise.
13501 [non-C99-based standards] (atanhl): Likewise.
13502 [non-C99-based standards] (cbrtl): Likewise.
13503 [non-C99-based standards] (expm1l): Likewise.
13504 [non-C99-based standards] (ilogbl): Likewise.
13505 [non-C99-based standards] (log1pl): Likewise.
13506 [non-C99-based standards] (logbl): Likewise.
13507 [non-C99-based standards] (nextafterl): Likewise.
13508 [non-C99-based standards] (remainderl): Likewise.
13509 [non-C99-based standards] (rintl): Likewise.
13510 [non-C99-based standards] (scalbl): Likewise.
13511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13512 [non-C99-based standards] (FP_*): Do not allow.
13513 [C99-based standards] (FP_*): Change to
13514 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13515 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13517 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13518 (SIG_ERR): Likewise.
13519 [X/Open-based standards] (SIG_HOLD): Likewise.
13520 (SIG_IGN): Likewise.
13521 (SIGABRT): Use macro-int-constant. Specify type. Require
13523 (SIGFPE): Likewise.
13524 (SIGILL): Likewise.
13525 (SIGINT): Likewise.
13526 (SIGSEGV): Likewise.
13527 (SIGTER): Likewise.
13528 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13529 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13530 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13531 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13532 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13533 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13534 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13535 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13536 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13537 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13538 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13539 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13540 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13541 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13542 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13543 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13544 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13545 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13546 [X/Open-based standards] (SIGTRAP): Likewise.
13547 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13548 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13549 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13550 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13551 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13554 2012-05-08 Ian Wienand <ianw@vmware.com>
13557 * time/tzset.c (__tzset_parse_tz): Update default rules for
13558 daylight time changes in the Energy Policy Act of 2005.
13560 2012-05-09 Andreas Jaeger <aj@suse.de>
13563 * elf/ldconfig.c (parse_conf): Change string to make clear that
13564 ldconfig only issued a warning if ld.so.conf does not exist.
13566 2012-05-08 David S. Miller <davem@davemloft.net>
13568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13569 movxtod instead of popping the value on the stack.
13571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13573 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13575 * config.h.in: Add HAVE_ARM_PCS_VFP.
13577 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13580 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13581 checking but the checks are disabled for any reason.
13583 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13585 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13586 and ELF64_R_TYPE with ELFW(R_TYPE).
13588 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13590 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13591 (ulimit): Likewise.
13593 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13594 (settimeofday): Likewise.
13596 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13598 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13599 a struct th_u2 inside the union, and move tu_block/tu_code into
13600 a new th_u3 union of tu_block/tu_code inside of that. Move
13601 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13602 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13603 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13604 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13605 (th_stuff): Change to th_u1.tu_stuff.
13607 (th_msg): Change to th_u1.th_u2.tu_data.
13609 2012-05-07 David S. Miller <davem@davemloft.net>
13611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13614 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13615 (SETUP_PIC_REG): Use it.
13616 (SETUP_PIC_REG_LEAF): Use it.
13618 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13622 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13624 (EXPL_FINITE): Likewise.
13625 (FLDLOG): Likewise.
13626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13627 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13629 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13631 (EXPL_FINITE): Likewise.
13632 (FLDLOG): Likewise.
13633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13634 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13636 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13637 test of -max_value argument for long double.
13638 * sysdeps/i386/fpu/libm-test-ulps: Update.
13639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13641 2012-05-06 David S. Miller <davem@davemloft.net>
13643 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13644 quad soft-float symbols whose references which are compiler
13646 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13648 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13654 (EXPL_FINITE): Likewise.
13655 (FLDLOG): Likewise.
13658 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13659 Adjust comments for base varying.
13660 (__expl_finite): Change alias to EXPL_FINITE.
13661 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13663 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13664 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13666 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13667 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13669 (EXPL_FINITE): Likewise.
13670 (FLDLOG): Likewise.
13673 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13674 Adjust comments for base varying.
13675 (__expl_finite): Change alias to EXPL_FINITE.
13676 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13681 * math/libm-test.inc (check_float_internal): Correct ulp
13682 calculation for subnormal expected results.
13684 2012-05-06 Andreas Jaeger <aj@suse.de>
13686 * Makeconfig (+math-flags): New, set to -frounding-math.
13687 (+cflags): Add +math-flags so that all of glibc gets compiled with
13690 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13692 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13694 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13700 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13701 (__ieee754_expl): Allow for and saturate large arguments.
13702 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13703 (u_threshold): Likewise.
13704 (__exp): Call __ieee754_exp before checking for overflow and
13706 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13707 (u_threshold): Likewise.
13708 (__expf): Call __ieee754_expf before checking for overflow and
13710 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13711 (u_threshold): Likewise.
13712 (__expl): Call __ieee754_expl before checking for overflow and
13714 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13715 (__ieee754_expl): Allow for and saturate large arguments.
13716 * math/libm-test.inc (exp_test): Add another test. Do not allow
13717 missing overflow exception on overflow.
13718 (expm1_test): Do not allow missing overflow exception on overflow.
13720 * sysdeps/i386/fpu/e_expl.c: Move to ...
13721 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13722 rather than using inline asm.
13723 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13724 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13725 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13727 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13730 (signal): Likewise.
13734 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13736 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13737 sysdeps/unix/common/syscalls.list.
13738 (fchmod): Likewise.
13739 (fchown): Likewise.
13740 (ftruncate): Likewise.
13741 (getrusage): Likewise.
13742 (gettimeofday): Likewise.
13743 (setpgid): Likewise.
13744 (setregid): Likewise.
13745 (setreuid): Likewise.
13746 (sigaction): Likewise.
13747 (truncate): Likewise.
13748 (vhangup): Likewise.
13749 * sysdeps/unix/common/syscalls.list: Remove file.
13750 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13751 * sysdeps/unix/sysv/linux/Implies: Likewise.
13753 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13755 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13757 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13761 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13764 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13767 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13770 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13773 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13776 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13779 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13783 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13787 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13790 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13794 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13798 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13800 * sysdeps/unix/common/bits/dirent.h: Remove file.
13801 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13803 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13804 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13805 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13806 * sysdeps/unix/bsd/isatty.c: Likewise.
13807 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13808 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13809 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13811 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13815 long double comparison inaccuracies.
13816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13819 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13821 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13822 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13824 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13827 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13828 nonzero digits before rounding a hex value.
13829 * stdlib/tst-strtod.c (tests): Add another test.
13831 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13833 * sysdeps/s390/fpu/libm-test-ulps: Update.
13835 2012-05-03 Andreas Jaeger <aj@suse.de>
13837 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13838 does not get optimized out.
13839 (malloc_opt_barrier): New.
13841 2012-05-03 Andreas Jaeger <aj@suse.de>
13842 Roland McGrath <roland@hack.frob.com>
13844 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13845 intermediate file deletion.
13846 (generated): Add .symlist files.
13848 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13851 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13852 Redirect under this condition.
13853 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13854 [__USE_GNU] (__dprintf_chk): Not under this condition.
13855 [__USE_GNU] (__vdprintf_chk): Likewise.
13856 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13857 under this condition.
13858 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13859 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13860 [__USE_XOPEN2K8] (vdprintf): Likewise.
13861 [__USE_GNU] (__dprintf_chk): Not under this condition.
13862 [__USE_GNU] (__vdprintf_chk): Likewise.
13863 [__USE_GNU] (dprintf): Likewise.
13864 [__USE_GNU] (vdprintf): Likewise.
13866 2012-05-03 Roland McGrath <roland@hack.frob.com>
13868 * elf/Makefile (common-generated): Set this instead of generated for
13869 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13870 $(all-built-dso)-derived lists.
13872 2012-05-03 Andreas Jaeger <aj@suse.de>
13874 * sysdeps/i386/fpu/libm-test-ulps: Update.
13877 * FAQ.in: Likewise.
13878 * scripts/gen-FAQ.pl: Likewise.
13879 * manual/install.texi (Installation): Point to online location of
13881 * Makefile (files-for-dist): Remove FAQ.
13884 2012-05-02 Allan McRae <allan@archlinux.org>
13886 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13887 (LDFLAGS-reldepmod5.so): Likewise.
13888 (LDFLAGS-reldep6mod1.so): Likewise.
13889 (LDFLAGS-reldep6mod4.so): Likewise.
13890 (LDFLAGS-reldep8mod3.so): Likewise.
13891 (LDFLAGS-unload4mod1.so): Likewise.
13892 (LDFLAGS-unload4mod2.so): Likewise.
13893 (LDFLAGS-tst-initorder): Likewise.
13894 (LDFLAGS-tst-initordera2.so): Likewise.
13895 (LDFLAGS-tst-initordera3.so): Likewise.
13896 (LDFLAGS-tst-initordera4.so): Likewise.
13897 (LDFLAGS-tst-initorderb2.so): Likewise.
13898 (LDFLAGS-noload): Likewise.
13899 (LDFLAGS-next): Likewise.
13900 (LDFLAGS-order2mod1.so): Likewise.
13901 (LDFLAGS-order2mod2.so): Likewise.
13902 (LDFLAGS-tst-initorder2): Likewise.
13903 (LDFLAGS-tst-initorder2a.so): Likewise.
13904 (LDFLAGS-tst-initorder2b.so): Likewise.
13905 (LDFLAGS-tst-initorder2c.so): Likewise.
13906 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13908 2012-05-02 David S. Miller <davem@davemloft.net>
13910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13912 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13915 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13917 2012-05-02 Andreas Jaeger <aj@suse.de>
13919 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13920 since we manipulate rounding mode.
13921 (CPPFLAGS-test-idouble.c): Likewise.
13922 (CPPFLAGS-test-ifloat.c): Likewise.
13923 (CFLAGS-test-ldouble.c): Likewise.
13924 (CFLAGS-test-double.c): Likewise.
13925 (CFLAGS-test-float.c): Likewise.
13926 (CFLAGS-test-misc.c): Likewise.
13927 (CFLAGS-test-test-fenv.c): Likewise.
13929 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13934 comparisons to determine direction to adjust input.
13936 2012-05-01 Roland McGrath <roland@hack.frob.com>
13938 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13939 output to the target.
13941 * scripts/localplt.awk: New file.
13942 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13943 (check-localplt-CFLAGS): Variable removed.
13944 ($(all-built-dso:=.jmprel)): New static pattern rule.
13945 (generated): Add those targets.
13946 (localplt-built-dso): New variable.
13947 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13949 * elf/check-localplt.c: File removed.
13951 * scripts/check-execstack.awk: New file.
13952 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13953 (check-execstack-CFLAGS): Variable removed.
13954 ($(objpfx)check-execstack.h): Target removed.
13955 ($(objpfx)execstack-default): New target.
13956 (generated): Add that instead of check-execstack.h.
13957 ($(all-built-dso:=.phdr)): New static pattern rule.
13958 (generated): Add those targets.
13959 * elf/check-execstack.c: File removed.
13961 * scripts/check-textrel.awk: New file.
13962 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13963 (check-textrel-CFLAGS): Variable removed.
13964 (all-built-dso): Use := to define.o
13965 ($(all-built-dso:=.dyn)): New static pattern rule.
13966 (generated): Add those targets.
13967 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13968 * config.make.in (READELF): New substituted variable.
13969 * elf/check-textrel.c: File removed.
13971 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13973 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13975 * conform/data/ctype.h-data [C99-based standards] (isblank):
13977 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13978 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13980 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13981 Specify type. Require positive value.
13982 (EILSEQ): Likewise.
13983 (ERANGE): Likewise.
13984 [ISO || POSIX] (EILSEQ): Do not expect.
13985 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13986 Specify type. Require positive value.
13987 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13988 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13989 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13990 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13991 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13992 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13993 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13994 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13995 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13996 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13997 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13998 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13999 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14000 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14001 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14002 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14003 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14004 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14005 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14006 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14007 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14008 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14009 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14010 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14011 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14012 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14013 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14014 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14015 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14016 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14017 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14018 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14019 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14020 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14021 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14022 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14023 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14024 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14025 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14026 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14027 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14028 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14029 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14030 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14031 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14032 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14033 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14034 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14035 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14036 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14037 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14038 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14039 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14040 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14041 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14042 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14043 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14044 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14045 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14046 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14047 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14048 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14049 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14050 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14051 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14052 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14053 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14054 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14055 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14056 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14057 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14058 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14059 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14060 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14061 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14062 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14063 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14065 (FLT_ROUNDS): Expect as macro, not constant.
14066 (FLT_MANT_DIG): Use macro-int-constant.
14067 (DBL_MANT_DIG): Likewise.
14068 (LDBL_MANT_DIG): Likewise.
14069 (FLT_DIG): Likewise.
14070 (DBL_DIG): Likewise.
14071 (LDBL_DIG): Likewise.
14072 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14073 (DBL_MIN_EXP): Likewise.
14074 (LDBL_MIN_EXP): Likewise.
14075 (FLT_MAX_EXP): Use macro-int-constant.
14076 (DBL_MAX_EXP): Likewise.
14077 (LDBL_MAX_EXP): Likewise.
14078 (FLT_MAX_10_EXP): Likewise.
14079 (DBL_MAX_10_EXP): Likewise.
14080 (LDBL_MAX_10_EXP): Likewise.
14081 (FLT_MAX): Use macro-constant.
14082 (DBL_MAX): Likewise.
14083 (LDBL_MAX): Likewise.
14084 (FLT_EPSILON): Use macro-constant. Give upper bound.
14085 (DBL_EPSILON): Likewise.
14086 (LDBL_EPSILON): Likewise.
14087 (FLT_MIN): Likewise.
14088 (DBL_MIN): Likewise.
14089 (LDBL_MIN): Likewise.
14090 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14091 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14092 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14093 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14094 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14095 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14096 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14097 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14098 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14099 [ISO11] (FLT_TRUE_MIN): Likewise.
14100 [ISO11] (LDBL_TRUE_MIN): Likewise.
14101 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14102 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14103 (SCHAR_MIN): Use macro-int-constant. Specify type.
14104 (SCHAR_MAX): Likewise.
14105 (UCHAR_MAX): Likewise.
14106 (CHAR_MIN): Likewise.
14107 (CHAR_MAX): Likewise.
14108 (MB_LEN_MAX): Use macro-int-constant.
14109 (SHRT_MIN): Use macro-int-constant. Specify type.
14110 (SHRT_MAX): Likewise.
14111 (USHRT_MAX): Likewise.
14112 (INT_MAX): Likewise.
14113 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14115 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14117 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14119 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14120 bound negative. Suffix upper bound with "L".
14121 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14123 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14125 [C99-based standards] (LLONG_MAX): Likewise.
14126 [C99-based standards] (ULLONG_MAX): Likewise.
14127 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14129 [ISO11] (max_align_t): Require type.
14130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14132 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14133 from $CFLAGS, without defining away __attribute__ calls.
14134 (checknamespace): Use $CFLAGS_namespace.
14136 * conform/conformtest.pl (@keywords): Only include C99 keywords
14137 for standards based on C99 or C11.
14139 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14141 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14144 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14145 usability of symbols in #if.
14147 * conform/conformtest.pl: If macro or constant types start
14148 "promoted:", expect the symbol to be of the following type
14149 promoted by the integer promotions.
14151 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14152 in one place. Also handle "macro-constant".
14154 * conform/conformtest.pl: Only accept expected macro values with
14155 "==". Parse all "macro" lines in one place.
14156 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14158 * conform/conformtest.pl: Handle braced types on "constant" lines
14159 instead of handling "typed-constant".
14160 * conform/data/signal.h-data: Use "constant" instead of
14163 * conform/conformtest.pl: Handle "optional-" at start of lines in
14164 one place rather than duplicating several cases. Handle each
14165 format of "macro" line with initial "optional-".
14167 * conform/conformtest.pl: Only accept expected constant or
14168 optional-constant values with "==". Parse all "constant" lines in
14169 one place. Parse all "optional-constant" lines in one place.
14170 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14171 * conform/data/fmtmsg.h-data: Likewise.
14172 * conform/data/netinet/in.h-data: Likewise.
14173 * conform/data/tar.h-data: Likewise.
14174 * conform/data/limits.h-data: Use "==" form on "constant" and
14175 "optional-constant" lines.
14177 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14178 Use -std=c99 for XOPEN2K.
14179 (@knownproblems): Remove.
14180 (newtoken): Don't check %isknown.
14182 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14183 Do not expect macro.
14184 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14185 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14186 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14187 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14188 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14189 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14190 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14191 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14192 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14193 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14194 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14195 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14196 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14197 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14198 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14199 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14200 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14201 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14202 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14203 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14204 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14207 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14208 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14209 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14210 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14211 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14212 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14213 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14214 [XPG3] (acosh): Likewise.
14215 [XPG3] (asinh): Likewise.
14216 [XPG3] (atanh): Likewise.
14217 [XPG3] (cbrt): Likewise.
14218 [XPG3] (expm1): Likewise.
14219 [XPG3] (ilogb): Likewise.
14220 [XPG3] (log1p): Likewise.
14221 [XPG3] (logb): Likewise.
14222 [XPG3] (nextafter): Likewise.
14223 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14224 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14225 [XPG3] (remainder): Likewise.
14226 [XPG3] (rint): Likewise.
14227 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14228 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14229 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14230 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14231 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14232 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14233 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14234 [UNIX98 || XOPEN2K] (scalb): Expect.
14235 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14236 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14237 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14245 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14246 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14247 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14248 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14249 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14267 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14268 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14269 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14270 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14271 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14272 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14273 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14274 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14275 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14277 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14278 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14286 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14287 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14288 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14305 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14306 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14307 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14308 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14309 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14310 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14311 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14312 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14313 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14314 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14315 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14316 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14317 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14318 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14319 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14320 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14321 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14322 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14323 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14324 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14325 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14326 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14327 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14328 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14329 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14330 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14331 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14332 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14333 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14334 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14335 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14336 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14337 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14338 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14339 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14340 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14341 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14342 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14343 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14344 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14345 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14346 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14347 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14348 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14349 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14350 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14351 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14353 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14354 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14355 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14356 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14357 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14358 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14359 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14360 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14361 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14362 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14363 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14364 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14365 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14366 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14367 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14368 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14369 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14370 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14371 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14373 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14374 _XOPEN_SOURCE_EXTENDED for XPG4.
14376 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14378 * Makeconfig (localtime): Remove variable.
14379 (inst_localtime-file): Likewise.
14381 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14402 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14406 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14407 comparisons to determine direction to adjust input.
14408 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14409 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14410 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14414 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14416 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14417 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14419 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14421 * math/libm-test.inc (nexttoward_test): Add more tests.
14423 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14427 in version GLIBC_2.1, not GLIBC_2.0.
14428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14431 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14436 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14437 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14438 * math/libm-test.inc (acos_test): Add more tests.
14439 (asin_test): Likewise.
14440 * sysdeps/i386/fpu/libm-test-ulps: Update.
14441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14444 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14446 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14447 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14448 * math/libm-test.inc (acos_test_tonearest): New function.
14449 (acos_test_towardzero): Likewise.
14450 (acos_test_downward): Likewise.
14451 (acos_test_upward): Likewise.
14452 (asin_test_tonearest): Likewise.
14453 (asin_test_towardzero): Likewise.
14454 (asin_test_downward): Likewise.
14455 (asin_test_upward): Likewise.
14456 (main): Call the new functions.
14457 * sysdeps/i386/fpu/libm-test-ulps: Update.
14458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14462 * math/e_exp10.c: Include <float.h>.
14463 (__ieee754_exp10): Handle underflow here rather than multiplying
14464 large negative argument by M_LN10.
14465 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14467 * math/e_exp10l.c: Include <float.h>.
14468 (__ieee754_exp10l): Handle underflow here rather than multiplying
14469 large negative argument by M_LN10l.
14470 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14471 spurious overflow exception on underflow.
14473 2012-04-29 Marek Polacek <polacek@redhat.com>
14475 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14476 (__fortify_function): New macro.
14477 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14478 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14479 __extern_always_inline.
14480 * libio/bits/stdio2.h: Likewise.
14481 * libio/bits/stdio.h: Likewise.
14482 * string/string.h: Likewise.
14483 * string/bits/string3.h: Likewise.
14484 * include/stdio.h: Likewise.
14485 * stdlib/bits/stdlib.h: Likewise.
14486 * stdlib/stdlib.h: Likewise.
14487 * rt/bits/mqueue2.h: Likewise.
14488 * rt/mqueue.h: Likewise.
14489 * posix/bits/unistd.h: Likewise.
14490 * posix/unistd.h: Likewise.
14491 * io/bits/poll2.h: Likewise.
14492 * io/bits/fcntl2.h: Likewise.
14493 * io/fcntl.h: Likewise.
14494 * io/sys/poll.h: Likewise.
14495 * misc/bits/syslog.h: Likewise.
14496 * misc/bits/syslog-ldbl.h: Likewise.
14497 * misc/sys/syslog.h: Likewise.
14498 * socket/bits/socket2.h: Likewise.
14499 * socket/sys/socket.h: Likewise.
14500 * debug/tst-chk1.c: Likewise.
14501 * wcsmbs/bits/wchar2.h: Likewise.
14502 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14503 * wcsmbs/wchar.h: Likewise.
14505 2012-04-29 Andreas Jaeger <aj@suse.de>
14507 * Makerules (tests): Remove enable-check-abi protection.
14508 (check-abi-warn): Remove.
14509 (check-abi-%): Remove check-abi-warn usage.
14511 * configure.in: Remove check-abi configure option.
14512 * configure: Regenerated.
14513 * config.make.in (enable-check-abi): Remove.
14515 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14518 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14519 double functions to double *_finite functions.
14522 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14523 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14525 * stdio-common/Makefile (tests): Add tst-sprintf3.
14526 * stdio-common/tst-sprintf3.c: New file.
14528 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14529 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14531 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14533 * conform/conformtest.pl: Remove duplicate typed-constant
14536 2012-04-28 David S. Miller <davem@davemloft.net>
14538 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14539 (check-abi-%): Remove AWK script prerequisite and explicit
14541 (check-abi): Rewrite to just diff the symlist with the abilist.
14542 (config-tls, config-abi-config): Delete, no longer used.
14543 (update-abi-%): Remove AWK script and explicit abilist directory.
14544 (update-abi): Rewrite to simply compare and conditionally copy the
14545 symlist and the sysdep abilist file. Remove update-abi-config
14547 * abilist/ld.abilist: Remove.
14548 * abilist/libBrokenLocale.abilist: Remove.
14549 * abilist/libanl.abilist: Remove.
14550 * abilist/libcrypt.abilist: Remove.
14551 * abilist/libdl.abilist: Remove.
14552 * abilist/librt.abilist: Remove.
14553 * abilist/libthread_db.abilist: Remove.
14554 * abilist/libutil.abilist: Remove.
14555 * scripts/extract-abilist.awk: Remove.
14556 * scripts/merge-abilist.awk: Remove.
14557 * sysdeps/generic/libcidn.abilist: New file.
14558 * sysdeps/generic/libnss_compat.abilist: New file.
14559 * sysdeps/generic/libnss_db.abilist: New file.
14560 * sysdeps/generic/libnss_dns.abilist: New file.
14561 * sysdeps/generic/libnss_files.abilist: New file.
14562 * sysdeps/generic/libnss_hesiod.abilist: New file.
14563 * sysdeps/generic/libnss_nis.abilist: New file.
14564 * sysdeps/generic/libnss_nisplus.abilist: New file.
14565 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14566 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14567 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14570 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14571 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14572 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14573 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14574 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14575 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14576 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14577 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14579 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14580 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14581 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14582 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14584 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14585 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14586 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14587 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14588 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14589 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14591 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14592 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14593 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14595 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14698 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14699 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14700 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14703 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14704 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14705 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14706 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14707 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14708 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14709 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14710 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14711 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14763 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14765 * conform/conformtest.pl: Fix typo in handling typed-constant from
14768 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14770 * README: Cut down references to pre-2.6 Linux kernels and
14771 Linuxthreads. Update lists of configurations in libc and ports
14772 and sort alphabetically. Say "or newer" with Linux kernel version
14775 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14777 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14780 * math/libm-test.inc (logb_test_downward): New test to expose
14781 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14784 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14787 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14789 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14790 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14792 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14794 * sysdeps/unix/i386/brk.S: Remove file.
14795 * sysdeps/unix/i386/dl-brk.S: Likewise.
14796 * sysdeps/unix/i386/pipe.S: Likewise.
14797 * sysdeps/unix/i386/sigreturn.S: Likewise.
14798 * sysdeps/unix/i386/syscall.S: Likewise.
14799 * sysdeps/unix/i386/vfork.S: Likewise.
14800 * sysdeps/unix/i386/wait.S: Likewise.
14802 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14803 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14805 * configure.in (arm*-none*): Do not allow without
14806 --enable-hacker-mode.
14807 (netbsd*): Remove case setting base_os.
14808 (386bsd*): Likewise.
14809 (freebsd*): Likewise.
14812 (sunos*): Likewise.
14813 (ultrix*): Likewise.
14814 (newsos*): Likewise.
14815 (dynix*): Likewise.
14821 (minix*): Likewise.
14822 (irix4*): Likewise.
14823 (irix6*): Likewise.
14824 (solaris[2-9]*): Likewise.
14826 * configure: Regenerated.
14828 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14831 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14832 overflow or cancellation in calculating denominator.
14833 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14835 down expression to avoid unexpected rounding in newer GCCs.
14836 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14838 2012-04-26 David S. Miller <davem@davemloft.net>
14840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14841 long-double compat symbols.
14842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14856 2012-04-25 David S. Miller <davem@davemloft.net>
14858 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14859 HWCAP_* values only after the memory barriers have been defined.
14860 (atomic_full_barrier): Define.
14861 (atomic_read_barrier): Define.
14862 (atomic_write_barrier): Define.
14864 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14866 * shlib-versions: Add libgcc_s version information.
14867 * sysdeps/generic/libgcc_s.h: Remove.
14868 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14870 * sysdeps/gnu/unwind-resume.c: Likewise.
14871 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14873 2012-04-25 David S. Miller <davem@davemloft.net>
14875 * sysdeps/unix/sparc/brk.S: Delete.
14876 * sysdeps/unix/sparc/dl-brk.S: Delete.
14877 * sysdeps/unix/sparc/pipe.S: Delete.
14878 * sysdeps/unix/sparc/sysdep.S: Delete.
14879 * sysdeps/unix/sparc/sysdep.h: Delete.
14880 * sysdeps/unix/sparc/vfork.S: Delete.
14881 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14882 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14883 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14884 ret_ERRVAL, r0, r1, MOVE): Define.
14885 (JUMPTARGET): Remove.
14886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14887 sysdeps/unix/sparc/sysdep.h
14888 (ENTRY, END): Remove.
14889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14891 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14893 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14894 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14897 * timezone/README: Update upstream location and email address for
14899 * timezone/zdump.c: Update from tzcode 2012b.
14900 * timezone/zic.c: Likewise.
14902 * configure.in (libc_cv_as_needed): Remove test.
14903 * configure: Regenerated.
14904 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14905 conditional definition.
14906 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14907 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14908 * config.make.in (have-as-needed): Remove variable.
14910 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14911 Paul Pluzhnikov <ppluzhnikov@google.com>
14913 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14916 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14918 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14919 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14920 * sysdeps/sh/strlen.S: Likewise.
14922 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14924 * sysdeps/unix/fork.S: Remove file.
14925 * sysdeps/unix/i386/fork.S: Likewise.
14926 * sysdeps/unix/sparc/fork.S: Likewise.
14928 * sysdeps/unix/system.c: Remove file.
14929 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14931 * sysdeps/unix/getegid.S: Remove file.
14932 * sysdeps/unix/geteuid.S: Likewise.
14934 2012-04-24 Roland McGrath <roland@hack.frob.com>
14936 * scripts/check-localplt.awk: New file.
14937 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14939 * scripts/data/localplt-generic.data: Add a comment.
14941 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14942 NODE when __dir_mkfile failed.
14943 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14944 Reported by Ludovic Courtès <ludo@gnu.org>.
14946 2012-04-24 Andreas Jaeger <aj@suse.de>
14948 * Makerules (common-clean): Also remove gen-as-const-headers
14951 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14953 * Makerules (native-compile): Do not change working directory for
14954 build. Use $(OUTPUT_OPTION) in command.
14955 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14957 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14960 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14961 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14962 * math/libm-test.inc (floor_test): Add more tests.
14963 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14965 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14967 * sysdeps/unix/getdents.c: Remove file.
14968 * sysdeps/unix/sysv/getdents.c: Likewise.
14969 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14971 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14972 sysdeps/unix/mman/syscalls.list.
14974 (mprotect): Likewise.
14976 (munmap): Likewise.
14977 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14978 * sysdeps/unix/mman/syscalls.list: Remove.
14979 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14981 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14982 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14983 * configure: Regenerated.
14984 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14985 $(libgcc_s_suffix).
14986 * config.make.in (libgcc_s_suffix): Remove variable.
14988 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14990 * sysdeps/unix/sysv/gethostname.c: Move to ...
14991 * sysdeps/posix/gethostname.c: ... here.
14993 * sysdeps/unix/execve.S: Remove file.
14995 * sysdeps/unix/_exit.S: Remove file.
14997 2012-04-23 Andreas Jaeger <aj@suse.de>
15000 * manual/Makefile: Remove make dist support, there's no
15001 need for a stand-alone documentation tar ball.
15002 (TEXI2DVI): Define always, it's not in Makeconfig.
15005 (edition): Removed.
15006 (glibc-doc-$(edition).tar): Removed
15010 (ETAGS): Remove, it's in Makeconfig.
15011 (move-if-change): Remove, it's in Makeconfig.
15013 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15016 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15017 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15018 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15019 (strtod_l, strtof_l, strtold_l): Remove __wur.
15020 It is not necessarily an error to ignore strtol's return value.
15021 One can reliably look at the stored endptr to decide whether
15022 the number had valid syntax.
15024 2012-04-21 Andreas Jaeger <aj@suse.de>
15027 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15029 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15031 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15032 * sysdeps/unix/sysv/Versions: Remove file.
15034 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15039 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15042 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15043 version from __vm86.
15045 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15047 * sysdeps/unix/common/lxstat.c: Remove file.
15048 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15050 * sysdeps/unix/sysv/Makefile: Remove file.
15052 * sysdeps/unix/sysv/direct.h: Remove file.
15054 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15055 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15056 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15057 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15058 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15059 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15060 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15062 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15064 * sysdeps/unix/xmknod.c: Remove file.
15065 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15067 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15069 * sysdeps/unix/sysv/i386/time.S: Remove file.
15071 * sysdeps/unix/fxstat.c: Remove file.
15072 * sysdeps/unix/xstat.c: Likewise.
15073 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15075 * sysdeps/unix/sysv/sigaction.c: Remove file.
15077 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15078 (sysdep_headers): Remove variable.
15079 [termio.h not in sysdep_headers] (generated): Likewise.
15080 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15081 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15082 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15083 * sysdeps/unix/sysv/tcflow.c: Likewise.
15084 * sysdeps/unix/sysv/tcflush.c: Likewise.
15085 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15086 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15087 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15088 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15089 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15091 * sysdeps/unix/siglist.c: Remove file.
15093 * sysdeps/unix/getppid.S: Remove file.
15095 * sysdeps/unix/mkdir.c: Remove file.
15096 * sysdeps/unix/rmdir.c: Likewise.
15098 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15100 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15102 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15103 errlist-compat value.
15105 2012-04-18 David S. Miller <davem@davemloft.net>
15107 * sysdeps/generic/memcopy.h (reg_char): Delete.
15108 * debug/strcat_chk.c: Use char, not reg_char.
15109 * debug/strcpy_chk.c: Likewise.
15110 * debug/strncat_chk.c: Likewise.
15111 * debug/strncpy_chk.c: Likewise.
15112 * string/memchr.c: Likewise.
15113 * string/memrchr.c: Likewise.
15114 * string/rawmemchr.c: Likewise.
15115 * string/strcat.c: Likewise.
15116 * string/strchr.c: Likewise.
15117 * string/strchrnul.c: Likewise.
15118 * string/strcmp.c: Likewise.
15119 * string/strcpy.c: Likewise.
15120 * string/strncat.c: Likewise.
15121 * string/strncmp.c: Likewise.
15122 * string/strncpy.c: Likewise.
15124 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15126 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15127 __builtin_memcopy is called when src and dest ranges are known to not
15130 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15133 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15134 fwd_align_merge macro call.
15135 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15136 bwd_align_merge macro call.
15137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15139 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15142 bwd_align_merge macros.
15143 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15144 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15147 2012-04-18 David S. Miller <davem@davemloft.net>
15149 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15151 2012-04-18 Andreas Jaeger <aj@suse.de>
15154 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15155 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15159 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15162 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15163 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15164 Adjust for changed ldbl-128 files.
15166 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15167 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15170 2012-04-17 David S. Miller <davem@davemloft.net>
15172 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15174 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15176 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15177 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15178 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15179 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15180 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15181 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15183 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15186 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15187 * math/libm-test.inc: Add ilogb errno and exception tests.
15188 * math/w_ilogb.c: New file: ilogb wrapper.
15189 * math/w_ilogbf.c: New file: ilogbf wrapper.
15190 * math/w_ilogbl.c: New file: ilogbl wrapper.
15191 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15192 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15193 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15194 exception being thrown with 0.0 as argument.
15195 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15196 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15197 exception being thrown with 0.0 as argument.
15198 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15199 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15200 exception being thrown with 0.0 as argument.
15201 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15202 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15203 exception being thrown with 0.0 as argument.
15204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15205 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15206 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15207 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15208 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15209 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15210 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15211 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15212 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15214 2012-04-17 Petr Baudis <pasky@ucw.cz>
15216 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15219 2012-04-16 Marek Polacek <polacek@redhat.com>
15221 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15223 2012-04-16 Marek Polacek <polacek@redhat.com>
15225 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15226 operands of fdivp instruction.
15228 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15230 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15231 * elf/tst-auditmod3b.c: Likewise.
15232 * elf/tst-auditmod4b.c: Likewise.
15233 * elf/tst-auditmod5b.c: Likewise.
15234 * elf/tst-auditmod6b.c: Likewise.
15235 * elf/tst-auditmod6c.c: Likewise.
15236 * elf/tst-auditmod7b.c: Likewise.
15237 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15238 * sysdeps/x86_64/preconfigure.in: Likewise.
15239 * sysdeps/x86_64/preconfigure: Regenerated.
15241 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15243 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15246 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15249 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15251 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15254 * locale/iso-639.def: Fix gl language name. Spotted by
15257 2012-04-12 Roland McGrath <roland@hack.frob.com>
15260 * libio/libio.h (__io_write_fn): Update comment.
15262 2012-04-12 Petr Baudis <pasky@ucw.cz>
15265 * stdio.texi (Hook Functions): The user provided writer function
15266 is not allowed to return -1.
15268 2012-04-11 David S. Miller <davem@davemloft.net>
15270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15272 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15274 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15275 Add a leading slash to rtkaio.
15277 2012-04-11 Jim Meyering <meyering@redhat.com>
15280 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15281 It is not necessarily an error to ignore fwrite's return
15282 value. One can reliably use ferror to test for errors after
15285 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15287 * bits/types.h (__snseconds_t): New type.
15288 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15290 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15292 (__SNSECONDS_T_TYPE): Likewise.
15293 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15294 (__SNSECONDS_T_TYPE): Likewise.
15295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15296 (__SNSECONDS_T_TYPE): Likewise.
15298 2012-04-10 Andreas Jaeger <aj@suse.de>
15301 * manual/time.texi (Processor Time): Return type of times is
15302 elapsed real time since an arbitrary point in the past.
15303 (CPU Time): Move CLK_TCK from here...
15304 (Processor Time): ...to here. Correct description.
15305 * manual/conf.texi (Constants for Sysconf): Correct description of
15308 2012-04-10 David S. Miller <davem@davemloft.net>
15311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15312 where the is a gap between DT_REL(A) and DT_JMPREL.
15314 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15316 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15317 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15318 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15320 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15322 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15323 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15324 (dl_main): Handle --inhibit-cache.
15325 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15327 * elf/dl-load.c (_dl_map_object): Use it.
15328 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15330 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15333 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15334 (__ieee754_powl): Saturate large exponents rather than testing for
15335 overflow of y*log2(x).
15336 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15337 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15341 * math/s_ctan.c: Include <float.h>.
15342 (__ctan): Avoid internal overflow or cancellation in calculating
15344 * math/s_ctanf.c: Likewise.
15345 * math/s_ctanl.c: Likewise.
15346 * math/s_ctanh.c: Likewise.
15347 * math/s_ctanhf.c: Likewise.
15348 * math/s_ctanhl.c: Likewise.
15349 * math/libm-test.inc (ctan_test): Add more tests.
15350 (ctanh_test): Likewise.
15351 * sysdeps/i386/fpu/libm-test-ulps: Update.
15352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15354 2012-04-09 Andreas Jaeger <aj@suse.de>
15357 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15358 is an optional BSD extension.
15361 * manual/stdio.texi (Opening Streams): Document additional fopen
15364 2012-04-09 Roland McGrath <roland@hack.frob.com>
15366 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15367 %eax without telling the compiler.
15369 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15372 * manual/install.texi: Use sourceware.org.
15374 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15377 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15378 (__ieee754_pow): Generate overflow and underflow using huge*huge
15379 and tiny*tiny rather than just returning constant infinity or zero
15380 for large exponents.
15381 * math/libm-test.inc (pow_test): Require overflow exceptions for
15382 applicable cases of large exponents.
15385 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15386 (__ieee754_pow): Use iterative multiplication algorithm only for
15387 integer exponents with absolute value below 1024. Check for odd
15388 integer exponents when using algorithm for real exponents.
15389 * math/libm-test.inc (pow_test): Add more tests.
15390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15392 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15395 * math/libm-test.inc (exp_test): Do not allow overflow exception
15398 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15401 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15402 instead of __kernel_standard_f.
15404 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15406 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15407 * sysdeps/x86_64/memset_chk.S: Likewise.
15409 2012-04-08 Andreas Jaeger <aj@suse.de>
15412 * manual/startup.texi (Environment Access): Describe return value
15413 for putenv and setenv.
15416 * manual/filesys.texi (Directory Entries): Add description for
15420 * manual/filesys.texi (Directory Entries): Clarify that it's file
15421 system not operating system in the description of DT_UNKNOWN.
15424 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15426 2012-04-08 Stephen Compall <s11@member.fsf.org>
15429 * manual/llio.texi (Opening and Closing Files): Add cross
15430 reference to explain mode argument.
15432 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15434 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15435 * sysdeps/x86_64/memset_chk.S: Likewise.
15437 2012-04-07 David S. Miller <davem@davemloft.net>
15439 * elf/elf.h (R_SPARC_WDISP10): Define.
15440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15443 R_SPARC_SIZE64 and R_SPARC_H34.
15445 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15447 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15448 conditions and remove no longer applicable assertion.
15450 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15452 * bits/byteswap.h: Include <features.h>.
15453 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15454 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15456 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15458 * bits/byteswap.h (__bswap_16): Removed.
15459 Include <bits/byteswap-16.h> to get __bswap_16.
15460 * sysdeps/i386/bits/byteswap.h: Likewise.
15461 * sysdeps/s390/bits/byteswap.h: Likewise.
15462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15463 * bits/byteswap-16.h: New file.
15464 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15465 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15466 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15467 * string/Makefile (headers): Add bits/byteswap-16.h.
15469 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15472 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15474 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15475 * nss/tst-nss-static.c: New.
15477 2012-04-06 Robert Millan <rmh@gnu.org>
15480 * manual/llio.texi (File Position Primitive): lseek
15481 refers to WHENCE when it really means OFFSET.
15483 2012-04-06 Andreas Jaeger <aj@suse.de>
15485 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15486 strncmp declarations.
15488 * abilist/libc.abilist: Add __poll and __ppoll.
15490 2012-04-05 David S. Miller <davem@davemloft.net>
15492 * scripts/check-local-headers.sh: Accept a host triplet in the
15493 path matched by the exclude regexp.
15495 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15497 * sysdeps/powerpc/powerpc32/dl-machine.h
15498 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15499 * sysdeps/s390/s390-32/dl-machine.h
15500 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15501 * sysdeps/sparc/sparc32/dl-machine.h
15502 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15503 * sysdeps/sparc/sparc64/dl-machine.h
15504 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15506 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15508 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15509 undefined symbol errors.
15511 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15514 2012-04-05 Michael Matz <matz@suse.de>
15517 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15519 2012-04-05 Andreas Jaeger <aj@suse.de>
15522 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15525 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15527 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15528 which ROUND is no valid rounding mode.
15530 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15532 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15534 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15536 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15538 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15539 an exception using FPU order intentionally.
15541 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15543 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15544 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15545 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15546 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15548 2012-04-05 Simon Josefsson <simon@josefsson.org>
15551 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15552 EINVAL when BUFLEN is too smal.
15554 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15557 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15558 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15560 2012-04-03 Andreas Jaeger <aj@suse.de>
15563 * manual/setjmp.texi (System V contexts): Fix sentence.
15566 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15567 New macro for this case.
15568 [!__GNUC__] (__bswap_64): New inline function for this case.
15569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15570 * bits/byteswap.h: Likewise.
15571 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15572 ull, guard with __GLIBC_HAVE_LONG_LONG.
15574 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15575 __GLIBC_HAVE_LONG_LONG.
15577 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15578 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15580 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15583 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15584 inptr and inend, rather than using last_ch.
15586 2012-04-02 David S. Miller <davem@davemloft.net>
15588 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15589 * stdio-common/printf-parse.h (read_int): Change return type to
15590 'int', return -1 on INT_MAX overflow.
15591 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15592 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15593 overflows INT_MAX. Check for overflow of in-format-string precision
15594 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15595 SIZE_MAX not INT_MAX for integer overflow test.
15596 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15597 skip the construct in the format string but do not record anything.
15598 * stdio-common/bug22.c: Adjust to test both width/prevision
15599 INT_MAX overflow as well as total length INT_MAX overflow. Check
15600 explicitly for proper errno values.
15602 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15604 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15606 * string/test-strcmp.c [! WIDE]: Likewise.
15607 * time/tst-mktime2.c: Likewise for INT_MAX.
15608 * string/test-string.h: #include <sys/param.h> for MIN.
15610 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15611 * sysdeps/i386/init-first.c (init): Likewise.
15612 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15613 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15614 * sysdeps/sh/init-first.c (init): Likewise.
15616 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15618 * po/ru.po: Update from translation team.
15619 * po/vi.po: Likewise.
15621 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15623 * resolv/nss_dns/dns-host.c: Merge copyright years.
15625 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15628 Optimize memcpy with prefetch if
15629 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15630 src, dst pointers have unequal 16 byte alignments.
15632 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15635 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15636 from a CNAME entry and return the minimum ttl for the query.
15637 (gaih_getanswer_slice): Likewise.
15639 2012-03-30 Jeff Law <law@redhat.com>
15641 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15643 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15644 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15646 * resolv/nss_dns/dns-host.c: Update copyright year.
15648 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15650 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15651 requests to save a system call. Fix check that all bytes are sent.
15653 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15654 comments for sendmmsg.
15656 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15659 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15660 with only 1 character between 0x0041 and 0x01b0.
15661 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15662 * wcsmbs/tst-mbsnrtowcs.c: New file.
15664 2012-03-29 David S. Miller <davem@davemloft.net>
15666 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15667 small copies by hand.
15669 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15672 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15673 _nss_compat_initgroups_dyn): Fall back to malloc/free
15674 for large group memberships.
15676 2012-03-28 David S. Miller <davem@davemloft.net>
15678 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15679 that branches into memcpy.
15680 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15683 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15686 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15687 implementation too.
15688 * sysdeps/sparc/mempcpy.S: New file.
15690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15691 the IFUNC routine in the libc case.
15692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15695 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15696 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15697 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15698 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15699 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15700 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15701 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15703 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15704 loop to 256 bytes instead of 64 bytes and fix test signedness.
15706 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15707 * sysdeps/sparc/sparc32/Makefile: rather than here...
15708 * sysdeps/sparc/sparc64/Makefile: and here.
15710 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15712 * malloc/mallocbug.c: Avoid warnings about unused variables.
15714 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15717 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15718 in the right place. Discard and retry query if response is
15719 larger than input buffer size.
15721 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15726 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15727 x for large integer exponent.
15728 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15729 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15730 sign of result as needed afterwards.
15731 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15732 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15733 result for underflowing pow the same as for overflow.
15734 (__kernel_standard_l): Handle powl overflow and underflow here
15735 rather than calling __kernel_standard.
15736 * math/libm-test.inc (pow_test): Add more tests.
15751 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15752 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15753 (__kernel_standard_l): New function.
15754 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15756 * math/w_acosl.c (__acosl): Likewise.
15757 * math/w_asinl.c (__asinl): Likewise.
15758 * math/w_atan2l.c (__atan2l): Likewise.
15759 * math/w_atanhl.c (__atanhl): Likewise.
15760 * math/w_coshl.c (__coshl): Likewise.
15761 * math/w_exp10l.c (__exp10l): Likewise.
15762 * math/w_exp2l.c (__exp2l): Likewise.
15763 * math/w_fmodl.c (__fmodl): Likewise.
15764 * math/w_hypotl.c (__hypotl): Likewise.
15765 * math/w_j0l.c (__j0l, __y0l): Likewise.
15766 * math/w_j1l.c (__j1l, __y1l): Likewise.
15767 * math/w_jnl.c (__jnl, __ynl): Likewise.
15768 * math/w_lgammal.c (__lgammal): Likewise.
15769 * math/w_log10l.c (__log10l): Likewise.
15770 * math/w_log2l.c (__log2l): Likewise.
15771 * math/w_logl.c (__logl): Likewise.
15772 * math/w_powl.c (__powl): Likewise.
15773 * math/w_remainderl.c (__remainderl): Likewise.
15774 * math/w_scalbl.c (sysv_scalbl): Likewise.
15775 * math/w_sinhl.c (__sinhl): Likewise.
15776 * math/w_sqrtl.c (__sqrtl): Likewise.
15777 * math/w_tgammal.c (__tgammal): Likewise.
15778 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15779 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15780 * math/libm-test.inc (acos_test): Add more tests.
15781 (acosh_test): Likewise.
15782 (asin_test): Likewise.
15783 (atanh_test): Likewise.
15784 (exp_test): Likewise.
15785 (exp10_test): Likewise.
15786 (exp2_test): Likewise.
15787 (expm1_test): Likewise.
15788 (lgamma_test): Likewise.
15789 (log_test): Likewise.
15790 (log10_test): Likewise.
15791 (log1p_test): Likewise.
15792 (log2_test): Likewise.
15793 (pow_test): Do not allow some spurious overflow exceptions.
15794 (sqrt_test): Add more tests.
15795 (tgamma_test): Likewise.
15796 (y0_test): Likewise.
15797 (y1_test): Likewise.
15798 (yn_test): Likewise.
15800 2012-03-27 Anton Blanchard <anton@samba.org>
15802 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15804 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15805 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15806 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15808 2012-03-27 David S. Miller <davem@davemloft.net>
15810 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15812 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15813 have-as-vis3 check.
15815 2012-03-27 Andreas Jaeger <aj@suse.de>
15817 * sysdeps/x86_64/elf/configure.in: Moved to ...
15818 * sysdeps/x86_64/configure.in: ... here.
15819 * sysdeps/x86_64/elf/start.S: Moved to ...
15820 * sysdeps/x86_64/start.S: ... here.
15821 * sysdeps/x86_64/elf/configure: Delete.
15823 * sysdeps/x86_64/configure.in: Merge contents from
15824 sysdeps/i386/configure.in (without i686 check).
15826 * sysdeps/i386/elf/Versions: Merge into ...
15827 * sysdeps/i386/Versions: ... this.
15828 * sysdeps/i386/elf/Versions: Delete file.
15829 * sysdeps/i386/elf/start.S: Moved to ...
15830 * sysdeps/i386/start.S: ...here.
15831 * sysdeps/i386/elf/configure.in: Merge into...
15832 * sysdeps/i386/configure.in: ...here.
15833 * sysdeps/i386/elf/configure.in: Delete file.
15834 * sysdeps/i386/elf/configure: Delete file.
15836 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15837 * debug/backtracesyms.c: ... here.
15838 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15839 * debug/backtracesymsfd.c: ... here.
15840 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15841 * sysdeps/generic/ifunc-sel.h: ... here.
15843 * sysdeps/unix/i386/start.c: Delete file.
15844 * sysdeps/unix/sparc/start.c: Delete file.
15845 * sysdeps/unix/start.c: Delete file.
15847 * sysdeps/sh/elf/configure.in: Moved to ...
15848 * sysdeps/sh/configure.in: ... here.
15849 * sysdeps/sh/elf/start.S: Moved to ...
15850 * sysdeps/sh/start.S: ... here.
15851 * sysdeps/sh/elf/configure: Delete file.
15853 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15854 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15855 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15856 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15857 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15858 * sysdeps/powerpc/powerpc64/start.S: here.
15859 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15860 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15861 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15862 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15863 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15865 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15866 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15867 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15868 * sysdeps/powerpc/powerpc32/start.S: ... here.
15869 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15870 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15871 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15873 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15874 * sysdeps/powerpc/ifunc-sel.h: ... here.
15875 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15876 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15878 * sysdeps/sparc/elf/configure.in: Moved to ...
15879 * sysdeps/sparc/configure.in: ... here.
15880 * sysdeps/sparc/elf/configure: Delete file.
15881 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15882 * sysdeps/sparc/sparc32/start.S: ... here.
15883 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15884 * sysdeps/sparc/sparc64/start.S: ... here.
15885 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15886 * sysdeps/sparc/sparc32/Makefile: ... this.
15887 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15888 * sysdeps/sparc/sparc64/Makefile: ... this.
15890 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15891 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15892 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15893 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15894 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15895 * sysdeps/s390/s390-32/setjmp.S: ... here.
15896 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15897 * sysdeps/s390/s390-32/configure.in: ... here.
15898 * sysdeps/s390/s390-32/elf/configure: Delete file.
15899 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15900 * sysdeps/s390/s390-32/start.S: ... here.
15902 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15903 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15904 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15905 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15906 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15907 * sysdeps/s390/s390-64/setjmp.S: ... here.
15908 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15909 * sysdeps/s390/s390-64/configure.in: ... here
15910 * sysdeps/s390/s390-64/elf/configure: Delete file.
15911 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15912 * sysdeps/s390/s390-64/start.S: ... here.
15913 * sysdeps/s390/s390-64/elf/configure: Delete.
15915 * configure.in: Remove support for elf directories in sysdeps.
15917 * configure: Regenerated.
15918 * sysdeps/i386/configure: Regenerated.
15919 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15920 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15921 * sysdeps/s390/s390-32/configure: Regenerated.
15922 * sysdeps/s390/s390-64/configure: Regenerated.
15923 * sysdeps/sh/configure: Regenerated.
15924 * sysdeps/sparc/configure: Regenerated.
15925 * sysdeps/x86_64/configure: Regenerated.
15927 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15932 denormal result into account.
15934 2012-03-25 Roland McGrath <roland@hack.frob.com>
15936 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15937 Reported by Allan McRae <allan@archlinux.org>.
15939 2012-03-23 Jeff Law <law@redhat.com>
15941 * nss/getnssent.c (__nss_getent): Fix typo.
15943 2012-03-23 David S. Miller <davem@davemloft.net>
15945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15947 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15949 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15950 to pad to uint64_t for each field.
15951 (dl_tls_index): Replace unsigned long with uint64_t.
15953 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15954 Paul Pluzhnikov <ppluzhnikov@google.com>
15957 * grp/Makefile (otherlibs): Don't set it.
15958 * inet/Makefile (otherlibs): Likewise.
15959 * login/Makefile (otherlibs): Likewise.
15960 * nscd/Makefile (otherlibs): Likewise.
15961 * posix/Makefile (otherlibs): Likewise.
15962 * pwd/Makefile (otherlibs): Likewise.
15963 * rt/Makefile (otherlibs): Likewise.
15964 * sunrpc/Makefile (otherlibs): Likewise.
15965 * nss/Makefile (otherlibs): Likewise.
15966 Add libnss_files to routines and static-only-routines.
15967 ($(objpfx)getent): Remove rule.
15968 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15969 static-only-routines.
15971 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15974 * math/s_cexp.c: Include <float.h>.
15975 (__cexp): Handle exp result overflowing not necessarily
15976 overflowing both real and imaginary parts of result.
15977 * math/s_cexpf.c: Likewise.
15978 * math/s_cexpl.c: Likewise.
15979 * math/libm-test.inc (cexp_test): Add more tests.
15980 * sysdeps/i386/fpu/libm-test-ulps: Update.
15981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15983 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15985 * include/link.h (ELFW): New macro.
15986 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15987 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15989 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15991 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15994 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15996 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15998 (struct La_x32_retval): Likewise.
16000 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16002 * sysdeps/x86_64/preconfigure.in: New file.
16003 * sysdeps/x86_64/preconfigure: New generated file.
16005 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16008 * math/e_exp2l.c: Include <float.h>.
16009 (__ieee754_exp2l): Handle overflow and underflow cases
16010 separately. Only pass fractional part of argument to
16012 * math/libm-test.inc (exp2_test): Add more tests.
16014 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16015 negating x to take absolute value.
16016 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16018 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16021 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16022 computing low part if x was negated.
16023 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16025 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16027 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16028 la_x32_gnu_pltexit.
16029 (pltexit): Cast int_retval to ptrdiff_t.
16030 * elf/tst-auditmod3b.c: Likewise.
16031 * elf/tst-auditmod4b.c: Likewise.
16032 * elf/tst-auditmod5b.c: Likewise.
16033 * elf/tst-auditmod6b.c: Likewise.
16034 * elf/tst-auditmod6c.c: Likewise.
16035 * elf/tst-auditmod7b.c: Likewise.
16037 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16038 and x32_gnu_pltexit.
16040 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16041 __ELF_NATIVE_CLASS.
16042 (La_x32_regs): New macro.
16043 (La_x32_retval): Likewise.
16044 (la_x32_gnu_pltenter): New function prototype.
16045 (la_x32_gnu_pltexit): Likewise.
16047 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16054 * configure.in (libc_cv_cc_nofma): Check for option to disable
16055 generation of FMA instructions.
16056 * configure: Regenerate.
16057 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16058 * sysdeps/ieee754/dbl-64/Makefile: New file.
16059 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16060 Remove brandred-fma4.
16061 (CFLAGS-brandred-fma4.c): Remove.
16062 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16063 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16065 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16068 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16070 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16071 LLONG_MAX != LONG_MAX.
16072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16073 (_fitoa_word): Likewise.
16074 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16075 LLONG_MAX != LONG_MAX.
16076 * stdio-common/_itowa.h: Include <_itoa.h>.
16077 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16078 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16079 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16080 only if not defined.
16081 (_ITOA_WORD_TYPE): Likewise.
16082 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16083 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16085 2012-03-21 David S. Miller <davem@davemloft.net>
16087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16089 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16091 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16092 of x86_64 when setting libc_cv_slibdir, libdir and
16094 * sysdeps/unix/sysv/linux/configure: Regenerated.
16096 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16098 * manual/lang.texi (Old Varargs): Remove section.
16099 (How Variadic): Update menu.
16100 (va_start): Do not mention varargs.h.
16102 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16103 Joseph Myers <joseph@codesourcery.com>
16105 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16107 * configure: Regenerated.
16109 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16111 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16112 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16115 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16118 * Makefile (files-for-dist): Remove NOTES.
16119 (NOTES): Remove rule.
16120 * README: Don't refer to NOTES.
16121 * manual/creature.texi: Don't include macros.texi.
16122 * manual/intro.texi (creature.texi): Remove comment referring to
16125 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16126 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16127 * configure: Regenerated.
16128 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16129 LIBC_TRY_CC_OPTION.
16130 (libc_cv_as_i686): Likewise.
16131 (libc_cv_cc_avx): Likewise.
16132 (libc_cv_cc_sse2avx): Likewise.
16133 (libc_cv_cc_fma4): Likewise.
16134 (libc_cv_cc_novzeroupper): Likewise.
16135 * sysdeps/i386/configure: Regenerated.
16138 * sysdeps/i386/fpu/s_cexp.S: Remove.
16139 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16140 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16141 * math/libm-test.inc (cexp_test): Add more tests.
16142 * sysdeps/i386/fpu/libm-test-ulps: Update.
16143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16145 2012-03-21 Allan McRae <allan@archlinux.org>
16147 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16149 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16152 * math/w_exp2.c: Do not include <float.h>.
16153 (o_threshold, u_threshold): Remove.
16154 (__exp2): Calculate result before checking finiteness and calling
16156 * math/w_exp2f.c: Likewise.
16157 * math/w_exp2l.c: Likewise.
16158 * math/libm-test.inc (exp2_test): Require overflow exception for
16162 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16163 range of signed 64-bit integers before using fistpll. Remove
16164 checks for whether integers fit in mantissa bits.
16165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16166 the range of signed 32-bit integers before using fistpl. Remove
16167 checks for whether integers fit in mantissa bits.
16168 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16169 (__ieee754_powl): Test for y outside the range of signed 64-bit
16170 integers before using fistpll. Reduce 64-bit values to 63-bit
16172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16173 divide-by-zero is raised for zero to large negative powers.
16174 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16175 (__ieee754_powl): Test for y outside the range of signed 64-bit
16176 integers before using fistpll. Reduce 64-bit values to 63-bit
16178 * math/libm-test.inc (pow_test): Add more tests.
16180 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16182 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16183 <stdio-common/_itoa.h>.
16184 * debug/segfault.c: Likewise.
16185 * elf/dl-cache.c: Likewise.
16186 * elf/dl-minimal.c: Likewise.
16187 * elf/dl-misc.c: Likewise.
16188 * elf/dl-sysdep.c: Likewise.
16189 * elf/dl-version.c: Likewise.
16190 * elf/rtld.c: Likewise.
16191 * hurd/hurdsock.c: Likewise.
16192 * hurd/lookup-retry.c: Likewise.
16193 * malloc/malloc.c: Likewise.
16194 * malloc/mtrace.c: Likewise.
16195 * nscd/nscd_getgr_r.c: Likewise.
16196 * nscd/nscd_getpw_r.c: Likewise.
16197 * nscd/nscd_getserv_r.c: Likewise.
16198 * posix/getopt_init.c: Likewise.
16199 * posix/wordexp.c: Likewise.
16200 * stdio-common/_itoa.c: Likewise.
16201 * stdio-common/printf_fphex.c: Likewise.
16202 * stdio-common/vfprintf.c: Likewise.
16203 * string/_strerror.c: Likewise.
16204 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16205 * sysdeps/i386/i686/hp-timing.h: Likewise.
16206 * sysdeps/mach/_strerror.c: Likewise.
16207 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16208 * sysdeps/mach/hurd/sethostid.c: Likewise.
16209 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16210 * sysdeps/mach/xpg-strerror.c: Likewise.
16211 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16212 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16213 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16214 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16215 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16216 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16217 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16218 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16219 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16220 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16221 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16222 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16223 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16224 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16225 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16226 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16227 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16229 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16230 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16231 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16233 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16235 * stdio-common/_itoa.h: Moved to ...
16236 * sysdeps/generic/_itoa.h: Here.
16238 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16240 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16241 instead of "_itoa.h" and "_itowa.h".
16242 * stdio-common/vfprintf.: Likewise.
16244 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16246 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16248 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16249 (__signbit): Likwise.
16250 (llrintf): Likwise.
16253 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16255 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16258 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16260 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16261 OVERFLOW_EXCEPTION_OK.
16262 * math/libm-test.inc ("Philosophy"): Update comment about
16264 (OVERFLOW_EXCEPTION): Define.
16265 (OVERFLOW_EXCEPTION_OK): Likewise.
16266 (INVALID_EXCEPTION_OK): Renumber.
16267 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16268 (IGNORE_ZERO_INF_SIGN): Likewise.
16269 (test_exceptions): Handle FE_OVERFLOW.
16270 (exp10_test): Expect overflow exceptions.
16271 (exp2_test): Likewise.
16272 (expm1_test): Likewise.
16273 (nextafter_test): Likewise.
16274 (pow_test): Likewise.
16275 (scalbn_test): Likewise.
16276 (scalbln_test): Likewise.
16278 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16280 * sysdeps/x86_64/bits/atomic.h
16281 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16283 (atomic_exchange_acq): Likewise.
16284 (__arch_exchange_and_add_body): Likewise.
16285 (__arch_add_body): Likewise.
16286 (atomic_add_negative): Likewise.
16287 (atomic_add_zero): Likewise.
16289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16291 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16292 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16294 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16296 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16297 Check __x86_64__ instead of __WORDSIZE.
16299 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16301 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16303 2012-03-19 David S. Miller <davem@davemloft.net>
16305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16307 * sysdeps/sparc/fpu/fenv_private.h: New file.
16308 * sysdeps/sparc/fpu/math_private.h: Use it.
16309 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16311 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16312 (libc_feholdexcept_setroundl): Remove.
16313 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16315 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16316 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16318 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16320 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16321 int64_t instead of long int.
16322 (INSERT_WORDS64): Likwise.
16324 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16326 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16327 _Unwind_GetCFA return to _Unwind_Ptr first.
16329 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16332 * math/s_clog.c: Include <float.h>.
16333 (__clog): Scale large or subnormal inputs.
16334 * math/s_clogf.c: Likewise.
16335 * math/s_clogl.c: Likewise.
16336 * math/s_clog10.c: Include <float.h>.
16337 (M_LOG10_2): Define.
16338 (__clog10): Scale large or subnormal inputs.
16339 * math/s_clog10f.c: Likewise.
16340 * math/s_clog10l.c: Likewise.
16341 * math/libm-test.inc (clog_test): Add more tests.
16342 (clog10_test): Likewise.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16347 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16349 * math/libm-test.inc (atan2_test): Add another test.
16351 * Makerules (common-objdir-compile): Remove.
16352 * sysdeps/unix/Makefile (config-generated): Do not add
16353 $(unix-generated) to variable.
16354 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16355 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16357 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16359 [generic bits/local_lim.h] (before-compile): Do not append to
16361 [generic bits/local_lim.h] (common-generated): Likewise.
16362 [generic sys/param.h] (before-compile): Do not append to variable.
16363 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16364 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16366 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16368 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16369 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16370 [generic sys/param.h] ($(addprefix
16371 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16372 [generic sys/param.h] (common-generated): Do not append to
16374 [generic sys/param.h] (sysdep_headers): Likewise.
16375 [generic bits/errno.h] (before-compile): Do not append to
16377 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16379 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16380 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16381 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16382 [generic bits/errno.h] (common-generated): Do not append to
16384 [generic bits/ioctls.h] (before-compile): Do not append to
16386 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16388 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16389 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16390 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16392 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16393 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16394 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16395 [generic bits/ioctls.h] (common-generated): Do not append to
16397 [generic sys/syscall.h] (syscall.h): Remove variable.
16398 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16400 [generic sys/syscall.h] (before-compile): Do not append to
16402 [generic sys/syscall.h] (common-generated): Likewise.
16403 * sysdeps/unix/errnos-tmpl.c: Remove file.
16404 * sysdeps/unix/errnos.awk: Likewise.
16405 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16406 * sysdeps/unix/ioctls.awk: Likewise.
16407 * sysdeps/unix/mk-local_lim.c: Likewise.
16408 * sysdeps/unix/snarf-ioctls: Likewise.
16410 2012-03-19 Richard Henderson <rth@twiddle.net>
16412 * sysdeps/i386/fpu/fenv_private.h: New file.
16413 * sysdeps/i386/fpu/math_private.h: Use it.
16414 (math_opt_barrier, math_force_eval): Remove.
16415 (libc_feholdexcept_setround_53bit): Remove.
16416 (libc_feupdateenv_53bit): Remove.
16417 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16418 (math_opt_barrier, math_force_eval): Remove.
16419 (libc_feholdexcept): Remove.
16420 (libc_feholdexcept_setround): Remove.
16421 (libc_fetestexcept, libc_fesetenv): Remove.
16422 (libc_feupdateenv_test): Remove.
16423 (libc_feupdateenv, libc_feholdsetround): Remove.
16424 (libc_feresetround): Remove.
16426 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16427 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16429 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16430 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16431 (libc_feupdateenv_testl): New.
16432 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16433 (libc_feupdateenv_testf): New.
16434 (libc_feupdateenv): Use libc_feupdateenv_test.
16435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16438 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16439 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16440 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16441 (libc_feresetround_noex): New.
16442 (libc_feresetround_noexf): New.
16443 (libc_feresetround_noexl): New.
16444 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16445 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16446 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16447 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16450 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16452 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16453 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16454 SET_RESTORE_ROUND_NOEX.
16455 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16456 SET_RESTORE_ROUND_NOEXF.
16457 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16458 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16459 (libc_feholdsetroundf): New.
16460 (libc_feresetround, libc_feresetroundf): New.
16462 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16463 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16464 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16466 * sysdeps/generic/math_private.h: Include <fenv.h>.
16467 (default_libc_feholdexcept): New.
16468 (default_libc_feholdexcept_setround): New.
16469 (default_libc_fesetenv, default_libc_feupdateenv): New.
16470 (libc_feholdexcept): Only define if undefined.
16471 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16472 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16473 (libc_feholdexcept_setroundl): Likewise.
16474 (libc_feholdexcept_setround_53bit): Likewise.
16475 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16476 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16477 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16478 (libc_feupdateenv_53bit): Likewise.
16479 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16480 (libc_feholdexcept): Convert from macro to inline function.
16481 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16482 (libc_fesetenv, libc_feupdateenv): Likewise.
16484 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16485 not previously defined.
16486 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16487 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16488 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16489 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16490 * sysdeps/ieee754/flt-32/math_private.h: New file.
16491 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16492 math_private.h below SET_FLOAT_WORD.
16493 (__isnan, __isinf_ns, __finite): Remove.
16494 (__isnanf, __isinf_nsf, __finitef): Remove.
16496 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16500 2012-03-17 David S. Miller <davem@davemloft.net>
16503 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16506 2012-03-16 David S. Miller <davem@davemloft.net>
16508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16512 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16514 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16515 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16516 sysdep_routines when subdir is sysvipc.
16517 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16518 __getshmlba helper.
16520 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16522 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16524 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16527 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16529 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16530 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16531 (__lround): Renamed to ...
16532 (__llround): This. Replace long int with long long int.
16533 Define lround functions as aliases of llround functions.
16534 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16536 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16538 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16539 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16540 adresses to uintptr_t. Replace "long int" and "unsigned long
16541 int" with "greg_t" on va_arg.
16543 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16545 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16546 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16548 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16549 Move e_machine check before EI_CLASS check. Handle x32
16550 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16551 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16552 SKIP_EM_IA_64 and include
16553 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16555 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16556 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16557 (add_system_dir): New macro.
16559 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16560 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16562 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16573 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16575 * math/w_j0f.c (j0f): Likewise.
16577 * math/w_j0l.c (__j0l): Likewise.
16579 * math/w_j1.c (j1): Likewise.
16581 * math/w_j1f.c (j1f): Likewise.
16583 * math/w_j1l.c (__j1l): Likewise.
16585 * math/w_jn.c (jn): Likewise.
16587 * math/w_jnf.c (jnf): Likewise.
16589 * math/w_jnl.c (__jnl): Likewise.
16591 * math/libm-test.inc (j0_test): Add more tests.
16592 (j1_test): Likewise.
16593 (jn_test): Likewise. Add trailing semicolon to existing test.
16594 (y0_test): Likewise.
16595 (y1_test): Likewise.
16596 * sysdeps/i386/fpu/libm-test-ulps: Update.
16597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16602 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16603 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16605 (__tanl): Set errno for infinite argument.
16606 * sysdeps/i386/fpu/mptan.c: Remove.
16607 * sysdeps/i386/fpu/s_tan.S: Likewise.
16608 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16609 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16610 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16611 * math/libm-test.inc (tan_test): Add more tests and enable more
16612 tests for double and long double.
16613 * sysdeps/i386/fpu/libm-test-ulps: Update.
16614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16616 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16618 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16619 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16621 2012-03-16 Roland McGrath <roland@hack.frob.com>
16623 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16624 * configure.in: Use it for both main tree and add-ons.
16625 * configure: Regenerated.
16627 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16629 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16631 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16637 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16638 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16639 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16640 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16641 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16643 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16645 != 0 for prec == 2.
16646 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16647 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16648 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16649 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16650 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16651 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16652 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16653 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16654 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16655 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16656 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16657 * math/libm-test.inc (cos_test): Add more tests and enable more
16658 tests for long double.
16659 (sin_test): Likewise.
16660 (sincos_test): Likewise.
16661 * sysdeps/i386/fpu/libm-test-ulps: Update.
16662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16664 2012-03-16 David S. Miller <davem@davemloft.net>
16666 * sysdeps/sparc/fpu/math_private.h: New file.
16668 2012-03-15 David S. Miller <davem@davemloft.net>
16670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16684 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16685 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16687 * sysdeps/sparc/sparc-ifunc.h: New file.
16688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16733 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16735 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16739 2012-03-15 Andreas Jaeger <aj@suse.de>
16742 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16743 ieee754/flt-32 implementation for sin, cos and sincos.
16744 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16745 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16746 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16747 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16748 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16749 ieee754/flt-32 implementation for tan.
16751 * math/libm-test.inc (cos_test): Enable some large input tests for
16753 (sin_test): Likewise.
16754 (sincos_test): Likewise.
16755 (tan_test): Add tests for large input.
16757 * sysdeps/i386/fpu/libm-test-ulps: Update.
16759 2012-03-15 Andreas Jaeger <aj@suse.de>
16762 * math/libm-test.inc (cos_test): Add more test cases.
16763 (sin_test): Likewise.
16764 (sincos_test): Likewise.
16766 2012-03-15 Andreas Jaeger <aj@suse.de>
16769 * math/libm-test.inc (cos_test): Add a test case for large input
16771 (sin_test): Likewise.
16772 (sincos_test): Likewise.
16774 2012-03-15 Andreas Jaeger <aj@suse.de>,
16775 Joseph Myers <joseph@codesourcery.com>
16778 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16779 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16780 * sysdeps/i386/fpu/branred.c: Likewise.
16781 * sysdeps/i386/fpu/dosincos.c: Likewise.
16782 * sysdeps/i386/fpu/mpa.c: Likewise.
16783 * sysdeps/i386/fpu/s_cos.S: Likewise.
16784 * sysdeps/i386/fpu/s_sin.S: Likewise.
16785 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16786 * sysdeps/i386/fpu/sincos32.c: Likewise.
16788 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16790 (libc_feupdateenv_53bit): Define.
16791 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16793 (libc_feupdateenv_53bit): Define.
16795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16796 53 bit (without extend i386 double precision).
16798 * math/libm-test.inc (sincos_test): Add tests for large input.
16802 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16804 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16808 2012-03-15 David S. Miller <davem@davemloft.net>
16810 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16811 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16812 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16813 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16838 fmin/fmax sysdep routines.
16839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16841 2012-03-14 David S. Miller <davem@davemloft.net>
16843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16915 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16920 * sysdeps/sparc/configure.in: New file.
16921 * sysdeps/sparc/configure: Generate.
16922 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16923 * configure: Regenerate.
16924 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16925 * config.make.in (have-as-vis3): New.
16926 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16927 available use -Av9d instead of -Av9a.
16928 * sysdeps/sparc/sparc64/Makefile: Likewise.
16929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16944 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16945 fzeros/fnegs to load 0x80000000 into a float register instead of
16947 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16949 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16953 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16954 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16955 ($(inst_includedir)/bits/syscall.h): Remove rule.
16956 ($(objpfx)bits/syscall.d): Include instead of
16957 $(objpfx)syscall-list.d.
16958 (generated): Change syscall-list.h and syscall-list.d to
16959 bits/syscall.h and bits/syscall.d.
16961 2012-03-14 Roland McGrath <roland@hack.frob.com>
16964 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16966 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16969 * math/s_csqrt.c: Include <float.h>.
16970 (__csqrt): Scale large or subnormal inputs.
16971 * math/s_csqrtf.c: Likewise.
16972 * math/s_csqrtl.c: Likewise.
16973 * math/libm-test.inc (csqrt_test): Add more tests.
16974 * sysdeps/i386/fpu/libm-test-ulps: Update.
16975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16978 * math/libm-test.inc (hypot_test): Add more tests.
16980 2012-03-13 David S. Miller <davem@davemloft.net>
16983 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16984 double-precision for the calculation instead of scaling.
16986 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16988 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16989 manipulate bits before adding and subtracting TWO52[sx].
16990 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16991 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16993 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16995 2012-03-13 David S. Miller <davem@davemloft.net>
16997 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16998 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17000 rtld-global-offsets.h
17001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17003 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17006 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17008 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17009 'err' in the ifdef scope in which it is actually used.
17011 * nss/nss_db/db-init.c: Include string.h
17013 2012-03-12 David S. Miller <davem@davemloft.net>
17015 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17016 masking out of the most significant byte of random value used.
17017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17018 Fix coding style in previous change.
17020 * sysdeps/unix/sysv/linux/kernel-features.h
17021 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17022 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17024 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17027 2012-03-11 David S. Miller <davem@davemloft.net>
17029 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17030 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17031 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17032 for 'resultvar' otherwise things get truncated on 64-bit.
17034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17035 Fix masking out of the most significant byte of random value used.
17037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17039 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17043 2012-03-09 David S. Miller <davem@davemloft.net>
17045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17046 variables with appropriate CPP guards.
17047 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17048 frame pointer, not the stack pointer. Correct layout comments. Fix test
17049 on resulting framesize and the management of the outregs buffer for pltexit.
17050 Preserve floating point return values across _dl_call_pltexit call.
17051 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17052 framesize and the management of the outregs buffer for pltexit.
17053 Preserve floating point return values across _dl_call_pltexit
17055 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17056 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17057 (print_exit): Fix format string for return register value.
17059 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17061 * sunrpc/Makefile (others): Add rpcgen.
17062 ($(objpfx)rpcgen): Remove special build rule and dependency on
17064 * sunrpc/rpcgen.c: New file.
17066 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17069 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17070 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17071 * sysdeps/i386/crti.S: Likewise.
17072 * sysdeps/i386/crtn.S: Likewise.
17073 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17074 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17075 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17076 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17077 * sysdeps/sh/crti.S: Likewise.
17078 * sysdeps/sh/crtn.S: Likewise.
17079 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17082 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17084 * locale/programs/locfile-kw.gperf: Likewise.
17085 * locale/programs/charmap-kw.h: Regenerated.
17086 * locale/programs/locfile-kw.h: Likewise.
17089 * intl/plural.y: Replace FSF snail mail address with URL.
17090 * intl/plural.c: Regenerated.
17092 2012-03-09 Richard Henderson <rth@twiddle.net>
17094 * include/math_private.h: Remove file.
17095 * math/math_private.h: Move file ...
17096 * sysdeps/generic/math_private.h: ... here.
17098 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17099 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17100 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17102 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17103 and <math_private.h>.
17104 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17105 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17106 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17107 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17108 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17137 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17147 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17151 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17172 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17173 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17174 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17175 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17176 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17184 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17190 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17191 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17192 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17195 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17197 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17198 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17199 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17200 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17201 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17202 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17203 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17204 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17205 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17206 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17207 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17209 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17210 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17211 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17212 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17213 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17214 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17215 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17216 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17217 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17218 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17219 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17220 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17221 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17222 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17223 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17224 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17225 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17226 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17227 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17228 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17229 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17231 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17232 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17233 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17234 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17235 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17236 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17237 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17238 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17239 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17240 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17241 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17242 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17243 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17245 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17246 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17247 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17248 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17249 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17250 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17251 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17252 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17253 * sysdeps/ieee754/k_standard.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17369 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17373 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17374 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17376 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17380 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17381 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17386 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17397 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17402 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17403 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17404 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17408 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17409 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17414 * sysdeps/ieee754/s_lib_version.c: Likewise.
17415 * sysdeps/ieee754/s_matherr.c: Likewise.
17416 * sysdeps/ieee754/s_signgam.c: Likewise.
17417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17419 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17420 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17421 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17422 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17423 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17424 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17425 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17426 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17427 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17428 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17429 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17430 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17431 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17432 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17433 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17434 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17439 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17441 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17442 * sunrpc/rpc_main.c: Likewise.
17443 * sunrpc/rpc_svcout.c: Likewise.
17445 2012-03-09 David S. Miller <davem@davemloft.net>
17447 * include/math_private.h: New file.
17449 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17451 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17452 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17453 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17454 from <bits/socket_type.h>.
17455 (enum __socket_type): Don't define here.
17456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17458 bits/socket_type.h.
17461 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17462 checking __USE_GNU.
17464 * Makerules ($(inst_includedir)/%.h): New rule.
17465 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17466 (install-others): Remove variable setting.
17467 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17469 2012-03-08 Richard Henderson <rth@twiddle.net>
17471 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17472 from macro to inline function; merge with the
17473 !__LIBC_INTERNAL_MATH_INLINES version.
17474 (__ieee754_sqrtf): Likewise.
17476 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17477 to inline function.
17478 (__rintf, __floor, __floorf): Likewise.
17480 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17481 macro to inline function.
17482 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17484 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17485 not <math/math_private.h>.
17487 2012-03-08 David S. Miller <davem@davemloft.net>
17489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17491 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17493 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17495 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17497 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17498 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17500 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17502 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17503 be defined individually, they must be defined as a block. Define
17504 S for printing a string instead of hidint the different by using a
17505 macro for adding the 'l'.
17506 * stdio-common/tst-fphex-wide.c: Adjust.
17508 2012-03-07 Marek Polacek <polacek@redhat.com>
17510 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17512 2012-03-08 Marek Polacek <polacek@redhat.com>
17515 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17516 * stdio-common/tst-fphex.c: Define a few macros to make the
17517 test reusable. Use them.
17518 * stdio-common/tst-fphex-wide.c: New file.
17520 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17523 * manual/macros.texi (gnusystems): New macro.
17524 (nongnusystems): Likewise.
17525 (gnulinuxhurdsystems): Likewise.
17526 (gnuhurdsystems): Likewise..
17527 (gnulinuxsystems): Likewise.
17528 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17529 variants of the GNU system, not "GNU system".
17530 * manual/conf.texi: Likewise.
17531 * manual/errno.texi: Likewise. Update example of errno macro
17533 * manual/filesys.texi: Likewise.
17534 (getumask): Document as specific to GNU/Hurd.
17535 * manual/install.texi: Likewise. Reword some references to
17537 * manual/intro.texi: Likewise.
17538 * manual/io.texi: Likewise.
17539 (File Name Portability): Detail which constraints are inapplicable
17540 to all GNU systems and which are only inapplicable to GNU/Hurd.
17541 * manual/job.texi: Likewise.
17542 * manual/llio.texi: Likewise.
17543 (O_NOCTTY): Document as present on GNU/Linux.
17544 * manual/maint.texi: Likewise.
17545 * manual/memory.texi: Likewise.
17546 * manual/pattern.texi: Likewise.
17547 * manual/pipe.texi: Likewise.
17548 * manual/process.texi: Likewise.
17549 * manual/resource.texi: Likewise.
17550 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17552 * manual/setjmp.texi: Likewise.
17553 * manual/signal.texi: Likewise.
17554 * manual/startup.texi: Likewise.
17555 * manual/stdio.texi: Likewise.
17556 * manual/terminal.texi: Likewise.
17557 (ONLCR): Document as POSIX.
17558 (OXTABS): Document availability on GNU/Linux as XTABS.
17559 (ONOEOT): Document availability separately from other bits.
17560 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17561 * manual/time.texi: Likewise.
17562 * manual/users.texi: Likewise.
17563 * INSTALL: Regenerated.
17564 * sysdeps/gnu/errlist.c: Regenerated.
17566 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17567 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17568 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17570 * configure: Regenerated.
17572 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17574 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17575 default includes instead of AC_HEADER_CHECK.
17576 * sysdeps/i386/configure: Regenerated.
17579 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17580 * math/s_cacoshf.c (__cacoshf): Likewise.
17581 * math/s_cacoshl.c (__cacoshl): Likewise.
17582 * math/s_casinh.c (__casinh): Set signs of result from argument.
17583 * math/s_casinhf.c (__casinhf): Likewise.
17584 * math/s_casinhl.c (__casinhl): Likewise.
17585 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17586 (casinh_test): Add more tests.
17587 * sysdeps/i386/fpu/libm-test-ulps: Update.
17588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17590 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17592 * po/zh_TW.po: Update from translation team.
17594 * login/Makefile (distribute): Remove variable.
17595 * catgets/Makefile: Likewise.
17596 * mach/Makefile: Likewise.
17597 * malloc/Makefile: Likewise.
17598 * misc/Makefile: Likewise.
17599 * iconv/Makefile: Likewise.
17600 * nscd/Makefile: Likewise.
17601 * hurd/Makefile: Likewise.
17602 * manual/Makefile: Likewise.
17603 * locale/Makefile: Likewise.
17604 * intl/Makefile: Likewise.
17605 * conform/Makefile: Likewise.
17606 * nss/Makefile: Likewise.
17607 * time/Makefile: Likewise.
17608 * soft-fp/Makefile: Likewise.
17609 * dirent/Makefile: Likewise.
17610 * gmon/Makefile: Likewise.
17611 * po/Makefile: Likewise.
17612 * rt/Makefile: Likewise.
17613 * socket/Makefile: Likewise.
17614 * math/Makefile: Likewise.
17615 * signal/Makefile: Likewise.
17616 * debug/Makefile: Likewise.
17617 * elf/Makefile: Likewise.
17618 * timezone/Makefile: Likewise.
17619 * stdlib/Makefile: Likewise.
17620 * iconvdata/Makefile: Likewise.
17621 * sunrpc/Makefile: Likewise.
17622 * io/Makefile: Likewise.
17623 * argp/Makefile: Likewise.
17624 * inet/Makefile: Likewise.
17625 * hesiod/Makefile: Likewise.
17626 * grp/Makefile: Likewise.
17627 * csu/Makefile: Likewise.
17628 * wctype/Makefile: Likewise.
17629 * crypt/Makefile: Likewise.
17630 * libio/Makefile: Likewise.
17631 * string/Makefile: Likewise.
17632 * nis/Makefile: Likewise.
17633 * resolv/Makefile: Likewise.
17634 * stdio-common/Makefile: Likewise.
17635 * wcsmbs/Makefile: Likewise.
17636 * dlfcn/Makefile: Likewise.
17637 * posix/Makefile: Likewise.
17640 * timezone/Makefile: Don't install timezone files, just the programs
17643 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17645 * nss/databases.def: Add missing gshadow entry.
17647 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17649 2012-03-06 Marek Polacek <polacek@redhat.com>
17652 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17653 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17654 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17655 * stdio-common/tst-long-dbl-fphex.c: New file.
17657 2012-03-06 David S. Miller <davem@davemloft.net>
17659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17660 (set_obp_int): New function.
17661 (get_obp_int): New function.
17662 (__get_clockfreq_via_dev_openprom): Likewise.
17663 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17664 Avoid unused variable warnings on 'val' and use builtin_expect.
17665 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17667 (INLINE_CLONE_SYSCALL): Likewise.
17669 2012-03-05 David S. Miller <davem@davemloft.net>
17671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17673 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17678 only for |x| >= 40.
17679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17681 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17684 Replace gettimeofday with __vdso_gettimeofday.
17686 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17687 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17688 __vdso_clock_gettime and __vdso_getcpu.
17690 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17691 time with __vdso_time.
17693 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17695 * manual/lang.texi (size_t): Note types to which size_t may be
17696 equivalent with the GNU C Library, but do not describe when
17697 differences between them are significant.
17699 2012-03-05 Andreas Jaeger <aj@suse.de>
17701 * sysdeps/i386/fpu/libm-test-ulps: Update.
17703 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17706 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17707 (__ieee754_pow): Save and restore rounding mode and use
17708 round-to-nearest for main computations.
17709 * math/libm-test.inc (pow_test_tonearest): New function.
17710 (pow_test_towardzero): Likewise.
17711 (pow_test_downward): Likewise.
17712 (pow_test_upward): Likewise.
17713 (main): Call the new functions.
17714 * sysdeps/i386/fpu/libm-test-ulps: Update.
17715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17718 * math/libm-test.inc (cosh_test_tonearest): New function.
17719 (cosh_test_towardzero): Likewise.
17720 (cosh_test_downward): Likewise.
17721 (cosh_test_upward): Likewise.
17722 (sinh_test_tonearest): Likewise.
17723 (sinh_test_towardzero): Likewise.
17724 (sinh_test_downward): Likewise.
17725 (sinh_test_upward): Likewise.
17726 (main): Call the new functions.
17727 * sysdeps/i386/fpu/libm-test-ulps: Update.
17728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17730 2012-03-05 Tom de Vries <tom@codesourcery.com>
17732 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17733 default stack guard is set in last bytes.
17734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17736 2012-03-05 Kees Cook <keescook@chromium.org>
17738 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17741 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17742 possibly allocate from heap instead of stack.
17743 * stdio-common/bug-vfprintf-nargs.c: New file.
17744 * stdio-common/Makefile (tests): Add nargs overflow test.
17746 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17750 2012-03-03 Marek Polacek <polacek@redhat.com>
17752 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17753 * math/math_private.h: Likewise.
17754 * stdlib/tst-strtod.c: Likewise.
17755 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17756 * sysdeps/x86_64/bits/atomic.h: Likewise.
17758 2012-03-02 David S. Miller <davem@davemloft.net>
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17764 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17765 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17766 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17767 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17769 2012-03-02 Roland McGrath <roland@hack.frob.com>
17772 * manual/examples/README: New file, says the example source files
17773 can be used under GPL>=2.
17774 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17775 line containing just "*/".
17776 * manual/examples/add.c: Add copyright header (GPL>=2).
17777 * manual/examples/argp-ex1.c: Likewise.
17778 * manual/examples/argp-ex2.c: Likewise.
17779 * manual/examples/argp-ex3.c: Likewise.
17780 * manual/examples/argp-ex4.c: Likewise.
17781 * manual/examples/atexit.c: Likewise.
17782 * manual/examples/db.c: Likewise.
17783 * manual/examples/dir.c: Likewise.
17784 * manual/examples/dir2.c: Likewise.
17785 * manual/examples/execinfo.c: Likewise.
17786 * manual/examples/filecli.c: Likewise.
17787 * manual/examples/filesrv.c: Likewise.
17788 * manual/examples/fmtmsgexpl.c: Likewise.
17789 * manual/examples/genpass.c: Likewise.
17790 * manual/examples/inetcli.c: Likewise.
17791 * manual/examples/inetsrv.c: Likewise.
17792 * manual/examples/isockad.c: Likewise.
17793 * manual/examples/longopt.c: Likewise.
17794 * manual/examples/memopen.c: Likewise.
17795 * manual/examples/memstrm.c: Likewise.
17796 * manual/examples/mkfsock.c: Likewise.
17797 * manual/examples/mkisock.c: Likewise.
17798 * manual/examples/mygetpass.c: Likewise.
17799 * manual/examples/pipe.c: Likewise.
17800 * manual/examples/popen.c: Likewise.
17801 * manual/examples/rprintf.c: Likewise.
17802 * manual/examples/search.c: Likewise.
17803 * manual/examples/select.c: Likewise.
17804 * manual/examples/setjmp.c: Likewise.
17805 * manual/examples/sigh1.c: Likewise.
17806 * manual/examples/sigusr.c: Likewise.
17807 * manual/examples/stpcpy.c: Likewise.
17808 * manual/examples/strdupa.c: Likewise.
17809 * manual/examples/strftim.c: Likewise.
17810 * manual/examples/strncat.c: Likewise.
17811 * manual/examples/subopt.c: Likewise.
17812 * manual/examples/swapcontext.c: Likewise.
17813 * manual/examples/termios.c: Likewise.
17814 * manual/examples/testopt.c: Likewise.
17815 * manual/examples/testpass.c: Likewise.
17816 * manual/examples/timeval_subtract.c: Likewise.
17819 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17821 * manual/timeval_subtract.c.texi: ... here, new file.
17823 2012-03-02 David S. Miller <davem@davemloft.net>
17825 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17827 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17830 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17831 (__sin): Save and restore rounding mode and use round-to-nearest
17832 for all computations.
17833 (__cos): Save and restore rounding mode and use round-to-nearest
17834 for all computations.
17835 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17837 (tan): Save and restore rounding mode and use round-to-nearest for
17839 * math/libm-test.inc (cos_test_tonearest): New function.
17840 (cos_test_towardzero): Likewise.
17841 (cos_test_downward): Likewise.
17842 (cos_test_upward): Likewise.
17843 (sin_test_tonearest): Likewise.
17844 (sin_test_towardzero): Likewise.
17845 (sin_test_downward): Likewise.
17846 (sin_test_upward): Likewise.
17847 (tan_test_tonearest): Likewise.
17848 (tan_test_towardzero): Likewise.
17849 (tan_test_downward): Likewise.
17850 (tan_test_upward): Likewise.
17851 (main): Call the new functions.
17852 * sysdeps/i386/fpu/libm-test-ulps: Update.
17853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17856 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17857 small n, then large n, before computing and testing k+n.
17858 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17859 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17863 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17864 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17867 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17868 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17869 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17870 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17871 * math/libm-test.inc (scalbn_test): Add more tests.
17872 (scalbln_test): Likewise.
17874 * manual/filesys.texi (mode_t): Describe constraints on size and
17875 signedness, not exact equivalence to a particular type.
17877 (ino64_t): Likewise.
17879 (nlink_t): Likewise.
17880 (blkcnt_t): Likewise.
17881 (blkcnt64_t): Likewise.
17882 * manual/llio.texi (off_t): Likewise.
17885 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17886 (__ieee754_exp): Save and restore rounding mode and use
17887 round-to-nearest for all computations.
17888 * math/libm-test.inc (exp_test_tonearest): New function.
17889 (exp_test_towardzero): Likewise.
17890 (exp_test_downward): Likewise.
17891 (exp_test_upward): Likewise.
17892 (main): Call the new functions.
17893 * sysdeps/i386/fpu/libm-test-ulps: Update.
17894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17896 2012-03-01 Chris Demetriou <cgd@google.com>
17898 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17899 have predictable order.
17901 2012-03-01 David S. Miller <davem@davemloft.net>
17903 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17905 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17906 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17907 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17908 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17910 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17911 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17912 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17914 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17915 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17916 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17917 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17918 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17923 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17924 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17926 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17927 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17928 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17929 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17930 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17933 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17934 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17935 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17936 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17939 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17940 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17942 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17943 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17944 * sysdeps/sparc/elf/configure: Regenerated.
17946 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17948 * configure.in (AS, LD): Require binutils 2.20 or later.
17949 * configure: Regenerated.
17950 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17951 as required minimum version.
17952 * INSTALL: Regenerated.
17956 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17957 before squaring exponent.
17958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17959 bottom long double and 27 bits of top long double before squaring
17961 * math/libm-test.inc (erfc_test): Add more tests.
17962 * sysdeps/i386/fpu/libm-test-ulps: Update.
17963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17966 2012-03-01 Kai Tietz <ktietz@redhat.com>
17968 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17969 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17970 containing bit-fields.
17971 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17972 * soft-fp/single.h (_FP_UNION_S): Likewise.
17973 * soft-fp/double.h (_FP_UNION_D): Likewise.
17975 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17978 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17979 not include ../strcmp.S.
17980 [USE_AS_STRNCASECMP_L]: Likewise.
17981 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17982 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17983 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17984 (__strncasecmp_l_ia32): Define as alias to
17985 __strncasecmp_l_nonascii.
17988 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17989 * sysdeps/i386/fpu/libm-test-ulps: Update.
17990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17992 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17995 2012-02-29 Jeff Law <law@redhat.com>
17997 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17998 out of bounds read.
18000 2012-02-29 Marek Polacek <polacek@redhat.com>
18003 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18004 * elf/Makefile: Add rules to run tst-unused-dep.out.
18006 2012-02-28 David S. Miller <davem@davemloft.net>
18008 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18009 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18011 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18012 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18013 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18015 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18017 * math/libm-test.inc (llround_test): Move one test from
18018 lround_test. Use TEST_f_L in moved test.
18019 (lround_test): Move misplaced test to llround_test. Add testcase
18022 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18024 * sysdeps/x86_64/fpu/e_expf.S: New file.
18025 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18027 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18030 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18031 of remain_len that may cause incomplete multi-byte character and
18033 * posix/bug-regex33.c: New file.
18034 * posix/Makefile (tests): Add bug-regex33.
18036 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18038 * manual/macros.texi: New file.
18039 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18040 * manual/libc.texinfo: Include macros.texi.
18041 * manual/creatute.texi: Likewise.
18042 * manual/install.texi: Likewise.
18043 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18044 @glibcadj{} in references to the GNU C Library.
18045 * manual/charset.texi: Likewise.
18046 * manual/conf.texi: Likewise.
18047 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18048 when not using those macros.
18049 * manual/creature.texi: Likewise.
18050 * manual/crypt.texi: Likewise.
18051 * manual/errno.texi: Likewise.
18052 * manual/filesys.texi: Likewise.
18053 * manual/header.texi: Likewise.
18054 * manual/install.texi: Likewise.
18055 * manual/intro.texi: Likewise.
18056 * manual/io.texi: Likewise.
18057 * manual/job.texi: Likewise.
18058 * manual/lang.texi: Likewise.
18059 * manual/libc.texiinfo: Likewise.
18060 * manual/llio.texi: Likewise.
18061 * manual/locale.texi: Likewise.
18062 * manual/maint.texi: Likewise.
18063 * manual/math.texi: Likewise.
18064 * manual/memory.texi: Likewise.
18065 * manual/message.texi: Likewise.
18066 * manual/nss.texi: Likewise.
18067 * manual/pattern.texi: Likewise.
18068 * manual/process.texi: Likewise.
18069 * manual/resource.texi: Likewise.
18070 * manual/search.texi: Likewise.
18071 * manual/setjmp.texi: Likewise.
18072 * manual/signal.texi: Likewise.
18073 * manual/socket.texi: Likewise.
18074 * manual/startup.texi: Likewise.
18075 * manual/stdio.texi: Likewise.
18076 * manual/string.texi: Likewise.
18077 * manual/sysinfo.texi: Likewise.
18078 * manual/syslog.texi: Likewise.
18079 * manual/terminal.texi: Likewise.
18080 * manual/time.texi: Likewise.
18081 * manual/users.texi: Likewise.
18082 * INSTALL: Regenerated.
18083 * NOTES: Regenerated.
18084 * sysdeps/gnu/errlist.c: Regenerated.
18086 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18088 * include/dirent.h: Include <dirstream.h> before
18091 2012-02-28 David S. Miller <davem@davemloft.net>
18093 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18094 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18095 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18096 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18098 2012-02-27 David S. Miller <davem@davemloft.net>
18100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18102 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18103 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18106 frame pointer instead of stack pointer relative arg slot.
18107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18108 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18109 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18111 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18114 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18116 2012-02-27 David S. Miller <davem@davemloft.net>
18118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18122 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18123 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18124 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18125 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18127 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18129 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18130 later. Allow versions 5-9.
18131 * configure: Regenerated.
18132 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18133 required minimum version and 4.6 as recommended version. Do not
18134 mention bugs in GCC 2.7 and 2.8.
18135 * INSTALL: Regenerated.
18137 2012-02-27 David S. Miller <davem@davemloft.net>
18139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18143 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18144 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18145 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18146 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18149 manipulate bits before adding and subtracting TWO112[sx].
18150 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18152 2012-02-27 Roland McGrath <roland@hack.frob.com>
18155 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18156 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18157 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18158 being in POSIX, because they are in 1003.1-2008.
18160 * rt/tst-aio.c: Include <fcntl.h>.
18161 * rt/tst-aio7.c: Likewise.
18162 * rt/tst-aio64.c: Likewise.
18164 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18166 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18168 * manual/install.texi (--with-headers): Describe headers as
18169 interface headers, not private headers.
18170 (Specific advice for GNU/Linux systems): Describe use of headers
18171 from "make headers_install", not private headers from older
18173 * INSTALL: Regenerated.
18174 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18176 * sysdeps/unix/sysv/linux/configure: Regenerated.
18178 * manual/llio.texi (fclean): Remove documentation.
18180 * manual/Makefile (libc-texi-generated): New variable. Include
18182 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18183 $(libc-texi-generated), not duplicated list of files.
18184 (version.texi, stamp-version): New rules.
18185 (realclean): Remove $(libc-texi-generated), not individual files
18186 from that list. Do not remove dir-add.texinfo.
18187 * manual/libc.texinfo: Comment out uses of edition numbers and
18188 references to printed manual. Remove last-updated dates.
18189 (EDITION): Comment out.
18191 (VERSION, UPDATED): Remove.
18192 (version.texi): Include.
18194 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18196 * sysdeps/posix/spawni.c: Include <signal.h>.
18197 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18198 * sysdeps/pthread/aio_fsync.c: Likewise.
18200 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18202 * conform/Makefile (tests): Run only when not cross-compiling and
18203 when fast-check is not defined.
18205 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18206 * conform/data/limits.h-data: Fixes for POSIX2008.
18207 * conform/run-conformtest.sh: Run all tests.
18208 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18210 * include/bits/dlfcn.h: Likewise.
18211 * include/langinfo.h: Likewise.
18212 * include/monetary.h: Likewise.
18213 * include/sys/poll.h: Likewise.
18215 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18217 * posix/spawn.h: Define __need_sigset_t.
18218 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18219 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18220 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18221 to get sigevent_t only.
18222 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18223 only for __USE_GNU.
18224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18225 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18226 process_vm_writev only for __USE_GNU.
18227 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18229 * conform/Makefile: For now ignore errors from run-conformtest.
18230 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18231 POSIX to avoid namespace pollution. Don't prepend headers.
18232 * conform/data/aio.h-data: Fixes for POSIX testing.
18233 * conform/data/fcntl.h-data: Likewise.
18234 * conform/data/glob.h-data: Likewise.
18235 * conform/data/grp.h-data: Likewise.
18236 * conform/data/pthread.h-data: Likewise.
18237 * conform/data/pwd.h-data: Likewise.
18238 * conform/data/signal.h-data: Likewise.
18239 * conform/data/spawn.h-data: Likewise.
18240 * conform/data/stdio.h-data: Likewise.
18241 * conform/data/stdlib.h-data: Likewise.
18242 * conform/data/stropts.h-data: Likewise.
18243 * conform/data/sys/mman.h-data: Likewise.
18244 * conform/data/sys/stat.h-data: Likewise.
18245 * conform/data/sys/types.h-data: Likewise.
18246 * conform/data/sys/wait.h-data: Likewise.
18247 * conform/data/time.h-data: Likewise.
18248 * conform/data/unistd.h-data: Likewise.
18249 * conform/data/utime.h-data: Likewise.
18251 * io/sys/stat.h: fchmod was always in POSIX.
18252 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18253 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18254 * rt/aio.h: Define __need_timespec before including <time.h>.
18255 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18256 struct. Add forward declaration of pthread_attr_t and use it in
18258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18260 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18261 always remove CLK_TCK definition.
18263 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18265 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18267 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18269 * conform/run-conformtest.sh: New file.
18270 * conform/Makefile: Run run-conformtest for tests.
18271 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18274 * conform/data/uchar.h-data: New file.
18275 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18276 * conform/data/arpa/inet.h-data: Likewise.
18277 * conform/data/assert.h-data: Likewise.
18278 * conform/data/complex.h-data: Likewise.
18279 * conform/data/cpio.h-data: Likewise.
18280 * conform/data/ctype.h-data: Likewise.
18281 * conform/data/dirent.h-data: Likewise.
18282 * conform/data/dlfcn.h-data: Likewise.
18283 * conform/data/errno.h-data: Likewise.
18284 * conform/data/fcntl.h-data: Likewise.
18285 * conform/data/float.h-data: Likewise.
18286 * conform/data/fmtmsg.h-data: Likewise.
18287 * conform/data/fnmatch.h-data: Likewise.
18288 * conform/data/ftw.h-data: Likewise.
18289 * conform/data/glob.h-data: Likewise.
18290 * conform/data/grp.h-data: Likewise.
18291 * conform/data/iconv.h-data: Likewise.
18292 * conform/data/inttypes.h-data: Likewise.
18293 * conform/data/langinfo.h-data: Likewise.
18294 * conform/data/libgen.h-data: Likewise.
18295 * conform/data/limits.h-data: Likewise.
18296 * conform/data/locale.h-data: Likewise.
18297 * conform/data/math.h-data: Likewise.
18298 * conform/data/monetary.h-data: Likewise.
18299 * conform/data/mqueue.h-data: Likewise.
18300 * conform/data/ndbm.h-data: Likewise.
18301 * conform/data/net/if.h-data: Likewise.
18302 * conform/data/netdb.h-data: Likewise.
18303 * conform/data/netinet/in.h-data: Likewise.
18304 * conform/data/nl_types.h-data: Likewise.
18305 * conform/data/poll.h-data: Likewise.
18306 * conform/data/pthread.h-data: Likewise.
18307 * conform/data/pwd.h-data: Likewise.
18308 * conform/data/regex.h-data: Likewise.
18309 * conform/data/sched.h-data: Likewise.
18310 * conform/data/search.h-data: Likewise.
18311 * conform/data/semaphore.h-data: Likewise.
18312 * conform/data/setjmp.h-data: Likewise.
18313 * conform/data/signal.h-data: Likewise.
18314 * conform/data/spawn.h-data: Likewise.
18315 * conform/data/stdarg.h-data: Likewise.
18316 * conform/data/stdio.h-data: Likewise.
18317 * conform/data/stdlib.h-data: Likewise.
18318 * conform/data/string.h-data: Likewise.
18319 * conform/data/strings.h-data: Likewise.
18320 * conform/data/stropts.h-data: Likewise.
18321 * conform/data/sys/ipc.h-data: Likewise.
18322 * conform/data/sys/mman.h-data: Likewise.
18323 * conform/data/sys/msg.h-data: Likewise.
18324 * conform/data/sys/resource.h-data: Likewise.
18325 * conform/data/sys/select.h-data: Likewise.
18326 * conform/data/sys/sem.h-data: Likewise.
18327 * conform/data/sys/shm.h-data: Likewise.
18328 * conform/data/sys/socket.h-data: Likewise.
18329 * conform/data/sys/stat.h-data: Likewise.
18330 * conform/data/sys/statvfs.h-data: Likewise.
18331 * conform/data/sys/time.h-data: Likewise.
18332 * conform/data/sys/timeb.h-data: Likewise.
18333 * conform/data/sys/times.h-data: Likewise.
18334 * conform/data/sys/types.h-data: Likewise.
18335 * conform/data/sys/uio.h-data: Likewise.
18336 * conform/data/sys/un.h-data: Likewise.
18337 * conform/data/sys/utsname.h-data: Likewise.
18338 * conform/data/sys/wait.h-data: Likewise.
18339 * conform/data/syslog.h-data: Likewise.
18340 * conform/data/tar.h-data: Likewise.
18341 * conform/data/termios.h-data: Likewise.
18342 * conform/data/utime.h-data: Likewise.
18343 * conform/data/utmpx.h-data: Likewise.
18344 * conform/data/varargs.h-data: Likewise.
18345 * conform/data/wchar.h-data: Likewise.
18346 * conform/data/wctype.h-data: Likewise.
18347 * conform/data/wordexp.h-data: Likewise.
18349 * include/stropts.h: New file.
18350 * include/uchar.h: New file.
18351 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18352 * include/assert.h: Likewise.
18353 * include/ctype.h: Likewise.
18354 * include/dirent.h: Likewise.
18355 * include/dlfcn.h: Likewise.
18356 * include/fcntl.h: Likewise.
18357 * include/fnmatch.h: Likewise.
18358 * include/glob.h: Likewise.
18359 * include/grp.h: Likewise.
18360 * include/libio.h: Likewise.
18361 * include/locale.h: Likewise.
18362 * include/math.h: Likewise.
18363 * include/net/if.h: Likewise.
18364 * include/netdb.h: Likewise.
18365 * include/netinet/in.h: Likewise.
18366 * include/pthread.h: Likewise.
18367 * include/pwd.h: Likewise.
18368 * include/regex.h: Likewise.
18369 * include/sched.h: Likewise.
18370 * include/search.h: Likewise.
18371 * include/setjmp.h: Likewise.
18372 * include/signal.h: Likewise.
18373 * include/stdio.h: Likewise.
18374 * include/stdlib.h: Likewise.
18375 * include/string.h: Likewise.
18376 * include/sys/cdefs.h: Likewise.
18377 * include/sys/mman.h: Likewise.
18378 * include/sys/msg.h: Likewise.
18379 * include/sys/resource.h: Likewise.
18380 * include/sys/select.h: Likewise.
18381 * include/sys/socket.h: Likewise.
18382 * include/sys/stat.h: Likewise.
18383 * include/sys/statvfs.h: Likewise.
18384 * include/sys/time.h: Likewise.
18385 * include/sys/times.h: Likewise.
18386 * include/sys/uio.h: Likewise.
18387 * include/sys/utsname.h: Likewise.
18388 * include/sys/wait.h: Likewise.
18389 * include/termios.h: Likewise.
18390 * include/time.h: Likewise.
18391 * include/ulimit.h: Likewise.
18392 * include/unistd.h: Likewise.
18393 * include/utime.h: Likewise.
18394 * include/wchar.h: Likewise.
18395 * include/wctype.h: Likewise.
18396 * include/wordexp.h: Likewise.
18398 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18400 * time/time.h: TIME_UTC must be a macro.
18401 Make timespec_get available for ISO C11 only as well.
18403 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18405 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18406 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18408 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18410 * configure.in: Use -o not -a in test for unsupported multi-arch.
18412 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18414 * manual/texinfo.tex: Update to version 2012-01-19.16.
18416 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18418 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18420 2012-02-24 Roland McGrath <roland@hack.frob.com>
18423 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18424 * manual/fdl-1.3.texi: New file.
18425 * manual/fdl-1.1.texi: File removed.
18428 * manual/libc.texinfo (FDL_VERSION): New @set.
18429 Use it for mention of FDL in cover text.
18430 (Documentation License): Use it in @include file name.
18432 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18433 Roland McGrath <roland@hack.frob.com>
18436 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18437 not LONG_LONG_MAX and LONG_LONG_MIN.
18438 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18439 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18441 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18443 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18447 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18448 manipulate bits before adding and subtracting TWO23[sx].
18449 * math/libm-test.inc (nearbyint_test): Add more tests.
18451 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18454 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18455 bits before adding and subtracting TWO23[sx].
18456 * math/libm-test.inc (rint_test): Add more tests.
18457 (rint_test_tonearest): Likewise.
18458 (rint_test_towardzero): Likewise.
18459 (rint_test_downward): Likewise.
18460 (rint_test_upward: Likewise.
18462 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18465 * include/stdc-predef.h: New file. Extracted from features.h.
18466 * include/features.h: Include stdc-predef.h.
18467 * Makefile (headers): Add stdc-predef.h.
18468 * CONFORMANCE (Compiler limitations): Update.
18470 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18472 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18474 2012-02-21 David S. Miller <davem@davemloft.net>
18476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18477 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18479 2012-02-20 David S. Miller <davem@davemloft.net>
18481 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18482 using a normal save/restore sequence, rather than allocating a
18483 dummy stack frame just to store a frame pointer and restore.
18484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18486 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18488 * manual/install.texi: Fix stray word in line-wrapped comment.
18490 2012-02-20 David S. Miller <davem@davemloft.net>
18492 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18493 both binutils and gcc support GOTDATA.
18495 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18496 "rd %pc" in the PIC register setup sequences.
18498 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18499 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18500 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18501 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18502 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18504 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18505 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18506 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18507 (SYSCALL_ERROR_HANDLER): Likewise.
18508 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18509 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18511 (SYSCALL_ERROR_HANDLER): Likewise.
18513 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18514 (HAVE_GCC_GOTDATA): New.
18515 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18516 relocation support in both binutils and gcc.
18517 * sysdeps/sparc/elf/configure: Regenerate.
18519 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18520 * sysdeps/sparc/sparc32/elf/configure: Delete.
18521 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18522 * sysdeps/sparc/sparc64/elf/configure: Delete.
18523 * sysdeps/sparc/elf/configure.in: New file.
18524 * sysdeps/sparc/elf/configure: Generate.
18526 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18527 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18528 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18529 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18530 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18532 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18534 * manual/install.texi: Do not mention specific glibc version
18536 * manual/libc.texinfo (VERSION, UPDATED): Update.
18537 (@copying): Use @copyright{} and range of years.
18539 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18542 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18543 [crti.S not in sysdirs] (generated): Do not append.
18544 [crti.S not in sysdirs] (omit-deps): Likewise.
18545 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18546 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18547 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18548 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18549 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18551 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18552 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18553 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18554 * csu/defs.awk: Remove file.
18555 * sysdeps/generic/initfini.c: Likewise.
18556 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18558 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18561 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18563 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18564 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18566 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18568 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18570 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18571 (__EPOLL_PACKED): Define to empty if not defined by
18573 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18577 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18579 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18580 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18581 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18582 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18584 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18588 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18590 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18592 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18593 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18597 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18599 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18600 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18602 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18604 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18605 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18607 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18609 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18612 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18614 * math/w_acos.c: Use non-signaling floating-point comparisons.
18615 * math/w_acosf.c: Likewise.
18616 * math/w_acosh.c: Likewise.
18617 * math/w_acoshf.c: Likewise.
18618 * math/w_acoshl.c: Likewise.
18619 * math/w_acosl.c: Likewise.
18620 * math/w_asin.c: Likewise.
18621 * math/w_asinf.c: Likewise.
18622 * math/w_asinl.c: Likewise.
18623 * math/w_atanh.c: Likewise.
18624 * math/w_atanhf.c: Likewise.
18625 * math/w_atanhl.c: Likewise.
18626 * math/w_exp2.c: Likewise.
18627 * math/w_exp2f.c: Likewise.
18628 * math/w_exp2l.c: Likewise.
18629 * math/w_j0.c: Likewise.
18630 * math/w_j0f.c: Likewise.
18631 * math/w_j0l.c: Likewise.
18632 * math/w_j1.c: Likewise.
18633 * math/w_j1f.c: Likewise.
18634 * math/w_j1l.c: Likewise.
18635 * math/w_jn.c: Likewise.
18636 * math/w_jnf.c: Likewise.
18637 * math/w_log.c: Likewise.
18638 * math/w_log10.c: Likewise.
18639 * math/w_log10f.c: Likewise.
18640 * math/w_log10l.c: Likewise.
18641 * math/w_log2.c: Likewise.
18642 * math/w_log2f.c: Likewise.
18643 * math/w_log2l.c: Likewise.
18644 * math/w_logf.c: Likewise.
18645 * math/w_logl.c: Likewise.
18646 * math/w_sqrt.c: Likewise.
18647 * math/w_sqrtf.c: Likewise.
18648 * math/w_sqrtl.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18650 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18652 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18653 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18655 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18658 * manual/string.texi (strnlen): Use correct parameter name in
18659 equivalent expression.
18661 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18664 * manual/users.texi (seteuid): Consistently use neweuid for
18667 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18670 * manual/nss.texi (Services in the NSS configuration): Correct
18671 list of services in example configuration file.
18673 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18676 * manual/arith.texi: Remove statements about negative zero
18677 behaving identically to zero.
18679 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18682 * manual/install.texi: Do not document upgrading from libc5.
18684 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18687 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18689 2012-02-18 David S. Miller <davem@davemloft.net>
18691 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18692 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18693 %o7 across the call.
18694 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18697 SETUP_PIC_REG_LEAF.
18698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18699 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18700 * sysdeps/sparc/crtn.S: Likewise.
18702 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18704 * aout/Makefile: Remove.
18706 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18709 * manual/examples/argp-ex1.c (main): Format definition in GNU
18711 * manual/examples/argp-ex2.c (main): Likewise.
18712 * manual/examples/argp-ex3.c (main): Likewise.
18713 * manual/examples/argp-ex4.c (main): Likewise.
18714 * manual/examples/longopt.c (main): Use new-style prototype
18716 * manual/examples/strncat.c (main): Specify return type and use
18717 (void) for arguments.
18718 * manual/examples/subopt.c (main): Use char **argv argument.
18720 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18723 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18726 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18729 * manual/string.texi (strchr): Change when strchrnul is
18732 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18735 * manual/locale.texi (setlocale): Document LOCPATH.
18737 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18740 * manual/process.texi (execle): Move @dots{} before last argument.
18742 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18745 * manual/charset.texi (Generic Charset Conversion): Fix typo
18746 (LC_TYPE -> LC_CTYPE).
18748 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18751 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18752 (scalbnf): Likewise.
18753 (scalbnl): Likewise.
18754 (scalbln): Likewise.
18755 (scalblnf): Likewise.
18756 (scalblnl): Likewise.
18757 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18758 (vwarnx): Likewise.
18761 * manual/filesys.texi (telldir): Use braces around return type.
18762 * manual/llio.texi (mmap): Add space after comma.
18763 (mmap64): Likewise.
18764 * manual/math.texi (jn): Use @var{} on parameter names.
18770 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18772 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18774 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18775 (sched_get_priority_max): Likewise.
18776 * manual/signal.texi (sigvec): Add space after comma.
18777 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18779 (if_indextoname): Likewise.
18780 (if_freenameindex): Likewise.
18781 (sendto): Use ',' instead of '.' in prototype.
18782 * manual/startup.texi (syscall): Use @dots{} instead of literal
18784 * manual/stdio.texi (__fpending): Separate initial words of
18785 paragraph from @deftypefun line.
18786 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18788 (vsyslog): Use @var{} on parameter names.
18789 * manual/terminal.texi (stty): Use @var{} on parameter names.
18790 * manual/users.texi (getutmp): Use @var{} on parameter names.
18791 (getutmpx): Likewise.
18793 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18796 * manual/stdio.texi (fopen): Fix typos in description of
18799 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18802 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18803 get clock_id definition.
18805 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18808 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18809 (madvise): Cast every argument to void on its own.
18811 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18814 * manual/startup.texi (Exit Status): Fix typo.
18816 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18819 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18820 * manual/examples/argp-ex2.c: Likewise.
18821 * manual/examples/argp-ex3.c: Likewise.
18823 2012-02-16 Richard Henderson <rth@redhat.com>
18825 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18826 * sysdeps/s390/s390-32/initfini.c: Remove.
18827 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18828 * sysdeps/s390/s390-64/initfini.c: Remove.
18830 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18832 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18833 compiler output for sysdeps/generic/initfini.c.
18834 * sysdeps/sh/elf/initfini.c: Remove file.
18836 2012-02-16 David S. Miller <davem@davemloft.net>
18839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18841 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18842 * sysdeps/sparc/crti.S: New file.
18843 * sysdeps/sparc/crtn.S: New file.
18844 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18845 * sysdeps/sparc/sparc64/Makefile: Likewise.
18847 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18850 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18852 2012-02-15 Roland McGrath <roland@hack.frob.com>
18855 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18857 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18858 (write, read, close): Likewise.
18859 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18861 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18863 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18864 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18865 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18866 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18868 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18872 2012-02-14 Marek Polacek <polacek@redhat.com>
18874 * sysdeps/x86_64/crti.S: New file.
18875 * sysdeps/x86_64/crtn.S: New file.
18876 * sysdeps/x86_64/elf/initfini.c: Remove file.
18878 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18880 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18881 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18883 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18885 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18889 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18891 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18892 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18893 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18894 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18896 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18900 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18902 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18903 __feraiseexcept instead of feraiseexcept.
18905 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18906 nanosleep invocations.
18907 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18908 strings, and add error checking for a nanosleep invocations.
18910 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18912 Replace FSF snail mail address with URLs, as per GNU coding standards.
18913 Most of the snail mail addresses were wrong anyway, and omitting
18914 them makes the source code easier to maintain. Almost all of the
18915 changes are to license notices and to locale LC_IDENTIFICATION
18916 addresses, except for this one:
18917 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18918 not its snail mail address.
18920 2012-02-09 Richard Henderson <rth@twiddle.net>
18922 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18923 of kernel-features.h.
18925 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18927 2012-02-08 Marek Polacek <polacek@redhat.com>
18929 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18930 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18931 * sysdeps/gnu/_G_config.h: Likewise.
18932 * sysdeps/generic/_G_config.h: Likewise.
18934 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18936 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18940 * sysdeps/powerpc/powerpc32/crti.S: New file.
18941 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18942 * sysdeps/powerpc/powerpc64/crti.S: New file.
18943 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18945 * Makeconfig (have-initfini): Don't set.
18946 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18947 * configure.in (nopic_initfini): Don't substitute.
18948 * config.h.in (HAVE_INITFINI): Don't #undef.
18949 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18950 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18952 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18954 Support crti.S and crtn.S provided directly by architectures.
18955 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18956 [crti.S in sysdirs] (omit-deps): Likewise.
18957 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18958 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18959 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18960 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18961 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18962 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18963 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18964 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18965 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18966 compiler output for sysdeps/generic/initfini.c.
18967 * sysdeps/i386/elf/Makefile: Remove file.
18968 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18970 2012-02-07 Marek Polacek <polacek@redhat.com>
18972 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18973 * sysdeps/gnu/_G_config.h: Likewise.
18974 * sysdeps/mach/hurd/_G_config.h: Likewise.
18976 2012-02-07 Marek Polacek <polacek@redhat.com>
18978 * math/Makefile (tests): Add tst-CMPLX2.
18979 * math/tst-CMPLX2.c: New file.
18981 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18983 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18985 * math/libm-test.inc (jn_test): Add missing L suffix.
18987 2012-02-06 Marek Polacek <polacek@redhat.com>
18989 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18990 * sysdeps/i386/fpu/e_powf.S: Likewise.
18991 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18992 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18993 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18994 * sysdeps/i386/fpu/e_pow.S: Likewise.
18995 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18996 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18997 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18998 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18999 * sysdeps/i386/fpu/e_log2.S: Likewise.
19000 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19001 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19002 * sysdeps/i386/fpu/e_powl.S: Likewise.
19003 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19004 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19005 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19006 * sysdeps/i386/fpu/e_logl.S: Likewise.
19007 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19008 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19009 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19010 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19011 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19012 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19013 * sysdeps/i386/fpu/e_log.S: Likewise.
19014 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19015 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19016 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19017 * sysdeps/i386/fpu/e_logf.S: Likewise.
19018 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19019 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19020 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19021 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19022 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19023 * sysdeps/i386/fpu/e_log10.S: Likewise.
19024 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19025 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19026 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19027 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19028 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19029 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19030 * sysdeps/i386/asm-syntax.h: Likewise.
19031 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19032 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19033 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19034 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19035 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19036 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19037 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19038 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19039 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19040 * sysdeps/powerpc/sysdep.h: Likewise.
19041 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19042 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19044 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19047 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19049 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19051 * sysdeps/i386/sysdep.h: Include <features.h>.
19052 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19055 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19057 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19059 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19062 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19064 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19065 (SETUP_PIC_REG): Use GET_PC_THUNK.
19066 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19069 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19071 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19072 for non-PIC compilation.
19073 (SETUP_PIC_REG): Add .p2align directive.
19074 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19075 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19076 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19077 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19078 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19079 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19080 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19081 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19082 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19083 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19084 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19085 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19086 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19087 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19088 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19089 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19090 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19091 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19092 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19093 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19095 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19096 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19097 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19100 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19102 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19103 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19104 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19105 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19106 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19107 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19108 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19109 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19110 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19111 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19112 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19113 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19114 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19116 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19118 * math/tst-CMPLX.c: Include <stdio.h>.
19120 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19122 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19124 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19125 * sysdeps/sparc/bits/mathdef.h: Likewise.
19127 2012-01-31 Marek Polacek <polacek@redhat.com>
19129 * libio/libio.h: Don't define _PARAMS.
19130 * locale/programs/config.h: Don't define PARAMS.
19131 * stdlib/strtol_l.c: Likewise.
19132 (__strtol_l): Remove PARAMS from the prototype.
19134 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19136 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19137 names. Just use the correct names. Remove unnecessary wrapper
19139 * malloc/arena.c: Likewise.
19140 * malloc/hooks.c: Likewise.
19142 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19143 ARENA_TEST says not to. Simplify test for creation of a new arena.
19144 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19146 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19148 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19150 (update_get_addr): New function.
19151 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19152 GET_ADDR_MODULE parameter.
19154 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19156 * crypt/cert.c: Remove __STDC__ conditionals.
19157 * crypt/crypt-entry.c: Likewise.
19158 * crypt/crypt_util.c: Likewise.
19159 * libio/filedoalloc.c: Likewise.
19160 * libio/fileops.c: Likewise.
19161 * libio/genops.c: Likewise.
19162 * libio/iofclose.c: Likewise.
19163 * libio/iofdopen.c: Likewise.
19164 * libio/iofopen.c: Likewise.
19165 * libio/iofopen64.c: Likewise.
19166 * libio/iogetdelim.c: Likewise.
19167 * libio/iopopen.c: Likewise.
19168 * libio/obprintf.c: Likewise.
19169 * libio/oldfileops.c: Likewise.
19170 * libio/oldiofclose.c: Likewise.
19171 * libio/oldiofdopen.c: Likewise.
19172 * libio/oldiofopen.c: Likewise.
19173 * libio/oldiopopen.c: Likewise.
19174 * libio/wfiledoalloc.c: Likewise.
19175 * libio/wgenops.c: Likewise.
19176 * locale/programs/xmalloc.c: Likewise.
19177 * misc/syslog.c: Likewise.
19178 * stdio-common/xbug.c: Likewise.
19179 * string/memchr.c: Likewise.
19180 * string/memcmp.c: Likewise.
19181 * string/memrchr.c: Likewise.
19182 * string/rawmemchr.c: Likewise.
19183 * sysdeps/posix/getcwd.c: Likewise.
19184 * time/strftime_l.c: Likewise.
19186 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19188 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19189 * config.make.in (config-cflags-sse2avx): Define.
19190 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19193 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19195 * scripts/config.guess: Update from upstream config git repository.
19196 * scripts/config.sub: Likewise.
19198 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19200 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19202 (R_TILEPRO_*, R_TILEGX_*): New macros.
19204 * scripts/firstversions.awk: Fix bug in version range handling.
19206 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19208 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19210 * include/sys/epoll.h: New file.
19211 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19214 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19216 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19217 Avoid unnecessary __WORDSIZE == 64 test.
19218 (fmaxf): Use VEX format if possible.
19223 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19224 * math/math_private.h: Remove libc_fegetround* and
19226 * sysdeps/i386/configure.in: Check for -msse2avx.
19227 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19228 also if SSE2AVX is defined.
19229 Remove libc_fegetround* and libc_fesetround*.
19230 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19231 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19234 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19235 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19236 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19237 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19238 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19240 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19242 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19244 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19246 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19248 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19251 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19253 * Makeconfig (libm): Define.
19254 * elf/Makefile: Add rules to build and run tst-relsort1.
19255 * elf/tst-relsort1.c: New file.
19256 * elf/tst-relsort1mod1.c: New file.
19257 * elf/tst-relsort1mod2.c: New file.
19259 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19261 * math/s_ldexp.c: Remove __STDC__ conditionals.
19262 * math/s_ldexpf.c: Likewise.
19263 * math/s_ldexpl.c: Likewise.
19264 * math/s_nextafter.c: Likewise.
19265 * math/s_nexttowardf.c: Likewise.
19266 * math/s_significand.c: Likewise.
19267 * math/s_significandf.c: Likewise.
19268 * math/s_significandl.c: Likewise.
19269 * math/w_jnl.c: Likewise.
19270 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19271 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19272 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19273 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19274 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19276 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19280 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19282 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19283 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19284 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19285 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19287 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19289 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19290 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19291 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19292 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19293 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19294 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19295 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19296 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19297 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19298 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19299 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19300 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19301 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19302 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19304 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19306 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19307 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19308 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19309 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19310 * sysdeps/ieee754/k_standard.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19320 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19322 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19323 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19353 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19360 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19361 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19364 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19365 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19366 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19369 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19372 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19373 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19377 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19381 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19383 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19384 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19385 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19386 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19387 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19390 * sysdeps/ieee754/s_matherr.c: Likewise.
19391 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19392 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19396 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19398 * crypt/md5.h: Remove __STDC__ conditionals.
19399 * libio/libioP.h: Likewise.
19400 * locale/programs/config.h: Likewise.
19401 * sysdeps/generic/sysdep.h: Likewise.
19402 * sysdeps/i386/asm-syntax.h: Likewise.
19403 * sysdeps/s390/asm-syntax.h: Likewise.
19404 * sysdeps/unix/sysdep.h: Likewise.
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19408 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19410 * libio/libio.h: Remove __STDC__ conditionals.
19411 * malloc/obstack.h: Likewise.
19412 * math/complex.h: Likewise.
19413 * math/math.h: Likewise.
19414 * sysdeps/generic/_G_config.h: Likewise.
19415 * sysdeps/gnu/_G_config.h: Likewise.
19416 * sysdeps/mach/hurd/_G_config.h: Likewise.
19417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19418 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19419 * sysdeps/sparc/bits/mathdef.h: Likewise.
19421 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19424 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19425 Clean up HAS_* macros.
19426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19427 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19432 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19433 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19437 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19439 * elf/tst-unique3.cc (gets): Remove declaration.
19440 * elf/tst-unique3lib.cc (gets): Likewise.
19441 * elf/tst-unique3lib2.cc (gets): Likewise.
19442 * elf/tst-unique4.cc (gets): Likewise.
19444 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19446 * include/stdio.h: Add C++ protection. Add gets declarations and
19448 * debug/tst-chk1.c: Don't declare gets here.
19449 * stdio-common/tst-gets.c: Likewise.
19451 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19453 * posix/glob: Remove directory.
19455 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19457 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19459 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19461 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19462 of the non-standard EPFNOSUPPORT.
19464 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19466 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19467 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19468 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19470 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19472 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19474 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19476 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19478 * nscd/grpcache.c (cache_addgr): Likewise.
19479 * nscd/hstcache.c (cache_addhst): Likewise.
19480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19481 * nscd/pwdcache.c (cache_addpw): Likewise.
19482 * nscd/servicescache.c (cache_addserv): Likewise.
19484 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19486 * malloc/malloc.c: Various cleanups.
19487 * malloc/hooks.c: Likewise.
19489 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19490 * stdlib/bug-fmtmsg1.c: New file.
19492 * stdlib/fmtmsg.c (init): Add missing unlock.
19493 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19495 2012-01-12 Marek Polacek <polacek@redhat.com>
19497 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19500 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19502 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19503 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19504 macro to ensure uniqueness of label name.
19505 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19506 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19508 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19510 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19512 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19513 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19514 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19517 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19521 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19522 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19523 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19525 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19527 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19528 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19529 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19530 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19532 * math/bits/math-finite.h: Add ldexp support.
19534 2012-01-10 Marek Polacek <polacek@redhat.com>
19536 * locale/programs/localedef.h (show_archive_content): Add noreturn
19539 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19541 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19543 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19545 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19547 * io/Makefile (headers): Add bits/poll2.h.
19549 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19552 typo #include statement.
19554 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19556 * include/sys/cdefs.h: Define __attribute_alloc_size.
19557 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19558 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19559 * elf/pldd.c: Likewise.
19560 * iconv/iconv_charmap.c: Likewise.
19561 * iconv/iconvconfig.c: Likewise.
19562 * iconv/strtab.c: Likewise.
19563 * locale/programs/locale.c: Likewise.
19564 * locale/programs/localedef.h: Likewise.
19565 * locale/programs/simple-hash.c: Likewise.
19566 * nscd/nscd.h: Likewise.
19567 * nss/makedb.c: Likewise.
19568 * sysdeps/generic/ldconfig.h: Likewise.
19569 * locale/programs/localedef.c: Remove xmalloc prototype.
19570 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19572 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19577 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19579 * math/Makefile (tests): Add tst-CMPLX.
19580 * math/tst-CMPLX.c: New file.
19582 * math/complex.h (CMPLXL): Fix typo.
19584 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19585 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19587 * debug/tst-chk1.c: Add poll and ppoll tests.
19588 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19589 * include/sys/poll.h: Add hidden proto for ppoll.
19590 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19591 * sysdeps/mach/hurd/ppoll.c: Likewise.
19592 * io/ppoll.c: Likewise.
19593 * debug/poll_chk.c: New file.
19594 * debug/ppoll_chk.c: New file.
19595 * include/bits/poll2.h: New file.
19596 * io/bits/poll2.h: New file.
19599 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19601 * configure.in: static is always set to yes. Remove.
19602 * config.make.in: Don't set build-static.
19603 * Makeconfig: Remove use of build-static.
19604 * dlfcn/Makefile: Likewise.
19605 * elf/Makefile: Likewise.
19606 * math/Makefile: Likewise.
19607 * misc/Makefile: Likewise.
19608 * nptl/Makefile: Likewise.
19609 * sysdeps/mach/hurd/Makefile: Likewise.
19611 * configure.in: PWD_P is not used anymore.
19612 * config.make.in: Remove PWD_P entry.
19614 * configure.in: Remove last remnants of RANLIB.
19615 No need to check for signed size_t anymore.
19616 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19618 Remove __builtin_expect test because we require at least gcc 3.4.
19619 * aclocal.m4: Likewise.
19621 * wcsmbs/mbrtoc16.c: Implement using towc function.
19622 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19623 * wcsmbs/wcsmbsload.c: Likewise.
19624 * iconv/gconv_simple.c: Likewise.
19625 * iconv/gconv_int.h: Likewise.
19626 * iconv/gconv_builtin.h: Likewise.
19627 * iconv/iconv_prog.c: Remove CHAR16 handling.
19629 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19631 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19633 * configure.in: Remove --with-elf and --enable-bounded options.
19634 Dont set base_machine for ia64. More non-ELF conditions removed.
19635 Remove testing and setting of leading underscore information.
19636 * config.make.in (build-bounded): Set to no.
19637 * config.h.in: Remove NO_UNDERSCORES entry.
19638 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19640 * csu/start.c: Remove !NO_UNDERSCORE code.
19641 * locale/localeinfo.h: Likewise.
19642 * sysdeps/generic/machine-gmon.h: Likewise.
19643 * sysdeps/generic/sysdep.h: Likewise.
19644 * sysdeps/i386/sysdep.h: Likewise.
19645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19646 * sysdeps/mach/sysdep.h: Likewise.
19647 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19649 * sysdeps/sh/sysdep.h: Likewise.
19650 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19651 * sysdeps/unix/i386/sysdep.S: Likewise.
19652 * sysdeps/unix/sparc/start.c: Likewise.
19653 * sysdeps/unix/sparc/sysdep.S: Likewise.
19654 * sysdeps/unix/sparc/sysdep.h: Likewise.
19655 * sysdeps/unix/start.c: Likewise.
19656 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19657 * sysdeps/x86_64/sysdep.h: Likewise.
19659 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19662 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19664 * argp/argp-fmtstream.h: Use const instead __const.
19665 * argp/argp.h: Likewise.
19666 * assert/assert.h: Likewise.
19667 * bits/fenv.h: Likewise.
19668 * bits/sched.h: Likewise.
19669 * bits/sigset.h: Likewise.
19670 * bits/sigthread.h: Likewise.
19671 * catgets/nl_types.h: Likewise.
19672 * conform/data/pthread.h-data: Likewise.
19673 * crypt/crypt-private.h: Likewise.
19674 * crypt/crypt.h: Likewise.
19675 * crypt/crypt_util.c: Likewise.
19676 * ctype/ctype.h: Likewise.
19677 * debug/execinfo.h: Likewise.
19678 * debug/mbsnrtowcs_chk.c: Likewise.
19679 * debug/mbsrtowcs_chk.c: Likewise.
19680 * debug/wcsnrtombs_chk.c: Likewise.
19681 * debug/wcsrtombs_chk.c: Likewise.
19682 * debug/wcstombs_chk.c: Likewise.
19683 * dirent/dirent.h: Likewise.
19684 * dlfcn/dlfcn.h: Likewise.
19685 * elf/neededtest4.c: Likewise.
19686 * grp/grp.h: Likewise.
19687 * gshadow/gshadow.h: Likewise.
19688 * iconv/gconv.h: Likewise.
19689 * iconv/gconv_int.h: Likewise.
19690 * iconv/gconv_simple.c: Likewise.
19691 * iconv/iconv.h: Likewise.
19692 * iconv/loop.c: Likewise.
19693 * iconv/skeleton.c: Likewise.
19694 * include/aio.h: Likewise.
19695 * include/aliases.h: Likewise.
19696 * include/argz.h: Likewise.
19697 * include/arpa/inet.h: Likewise.
19698 * include/assert.h: Likewise.
19699 * include/dirent.h: Likewise.
19700 * include/dlfcn.h: Likewise.
19701 * include/execinfo.h: Likewise.
19702 * include/fcntl.h: Likewise.
19703 * include/fenv.h: Likewise.
19704 * include/glob.h: Likewise.
19705 * include/grp.h: Likewise.
19706 * include/libintl.h: Likewise.
19707 * include/mntent.h: Likewise.
19708 * include/netdb.h: Likewise.
19709 * include/pwd.h: Likewise.
19710 * include/rpc/netdb.h: Likewise.
19711 * include/sched.h: Likewise.
19712 * include/search.h: Likewise.
19713 * include/shadow.h: Likewise.
19714 * include/signal.h: Likewise.
19715 * include/stdio.h: Likewise.
19716 * include/stdlib.h: Likewise.
19717 * include/string.h: Likewise.
19718 * include/sys/socket.h: Likewise.
19719 * include/sys/stat.h: Likewise.
19720 * include/sys/statfs.h: Likewise.
19721 * include/sys/statvfs.h: Likewise.
19722 * include/sys/syslog.h: Likewise.
19723 * include/sys/time.h: Likewise.
19724 * include/sys/uio.h: Likewise.
19725 * include/time.h: Likewise.
19726 * include/unistd.h: Likewise.
19727 * include/utmp.h: Likewise.
19728 * include/wchar.h: Likewise.
19729 * include/wctype.h: Likewise.
19730 * inet/aliases.h: Likewise.
19731 * inet/arpa/inet.h: Likewise.
19732 * inet/netinet/ether.h: Likewise.
19733 * inet/netinet/in.h: Likewise.
19734 * intl/libintl.h: Likewise.
19735 * io/bits/fcntl2.h: Likewise.
19736 * io/fcntl.h: Likewise.
19737 * io/ftw.h: Likewise.
19738 * io/sys/poll.h: Likewise.
19739 * io/sys/stat.h: Likewise.
19740 * io/sys/statfs.h: Likewise.
19741 * io/sys/statvfs.h: Likewise.
19742 * io/utime.h: Likewise.
19743 * libio/bits/stdio.h: Likewise.
19744 * libio/bits/stdio2.h: Likewise.
19745 * libio/libio.h: Likewise.
19746 * libio/libioP.h: Likewise.
19747 * libio/stdio.h: Likewise.
19748 * locale/lc-ctype.c: Likewise.
19749 * locale/locale.h: Likewise.
19750 * login/utmp.h: Likewise.
19751 * malloc/arena.c: Likewise.
19752 * malloc/malloc.c: Likewise.
19753 * malloc/malloc.h: Likewise.
19754 * malloc/mcheck.c: Likewise.
19755 * malloc/mtrace.c: Likewise.
19756 * math/bits/mathcalls.h: Likewise.
19757 * math/fenv.h: Likewise.
19758 * math/math_private.h: Likewise.
19759 * misc/bits/error.h: Likewise.
19760 * misc/bits/syslog.h: Likewise.
19761 * misc/err.h: Likewise.
19762 * misc/error.h: Likewise.
19763 * misc/fstab.h: Likewise.
19764 * misc/mntent.h: Likewise.
19765 * misc/regexp.h: Likewise.
19766 * misc/search.h: Likewise.
19767 * misc/sgtty.h: Likewise.
19768 * misc/sys/mman.h: Likewise.
19769 * misc/sys/syslog.h: Likewise.
19770 * misc/sys/uio.h: Likewise.
19771 * misc/sys/xattr.h: Likewise.
19772 * misc/ttyent.h: Likewise.
19773 * nis/rpcsvc/ypclnt.h: Likewise.
19774 * nss/nss.h: Likewise.
19775 * posix/bits/unistd.h: Likewise.
19776 * posix/fnmatch.h: Likewise.
19777 * posix/glob.h: Likewise.
19778 * posix/sched.h: Likewise.
19779 * posix/spawn.h: Likewise.
19780 * posix/sys/wait.h: Likewise.
19781 * posix/unistd.h: Likewise.
19782 * posix/wordexp.h: Likewise.
19783 * pwd/pwd.h: Likewise.
19784 * resolv/netdb.h: Likewise.
19785 * resource/sys/resource.h: Likewise.
19786 * rt/aio.h: Likewise.
19787 * rt/bits/mqueue2.h: Likewise.
19788 * rt/mqueue.h: Likewise.
19789 * shadow/shadow.h: Likewise.
19790 * signal/signal.h: Likewise.
19791 * socket/send.c: Likewise.
19792 * socket/sendto.c: Likewise.
19793 * socket/sys/socket.h: Likewise.
19794 * stdio-common/printf.h: Likewise.
19795 * stdlib/bits/stdlib.h: Likewise.
19796 * stdlib/fmtmsg.h: Likewise.
19797 * stdlib/monetary.h: Likewise.
19798 * stdlib/stdlib.h: Likewise.
19799 * stdlib/ucontext.h: Likewise.
19800 * streams/stropts.h: Likewise.
19801 * string/argz.h: Likewise.
19802 * string/bits/string2.h: Likewise.
19803 * string/string.h: Likewise.
19804 * string/strings.h: Likewise.
19805 * sunrpc/rpc/auth.h: Likewise.
19806 * sunrpc/rpc/auth_des.h: Likewise.
19807 * sunrpc/rpc/clnt.h: Likewise.
19808 * sunrpc/rpc/netdb.h: Likewise.
19809 * sunrpc/rpc/pmap_clnt.h: Likewise.
19810 * sunrpc/rpc/xdr.h: Likewise.
19811 * sysdeps/generic/inttypes.h: Likewise.
19812 * sysdeps/generic/net/if.h: Likewise.
19813 * sysdeps/generic/sys/swap.h: Likewise.
19814 * sysdeps/gnu/net/if.h: Likewise.
19815 * sysdeps/gnu/utmpx.h: Likewise.
19816 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19817 * sysdeps/i386/i486/bits/string.h: Likewise.
19818 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19819 * sysdeps/s390/bits/string.h: Likewise.
19820 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19821 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19822 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19823 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19824 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19825 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19826 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19827 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19828 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19829 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19830 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19831 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19832 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19833 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19834 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19835 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19836 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19838 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19839 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19841 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19842 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19843 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19844 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19845 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19846 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19848 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19850 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19851 * sysvipc/sys/ipc.h: Likewise.
19852 * sysvipc/sys/msg.h: Likewise.
19853 * sysvipc/sys/sem.h: Likewise.
19854 * sysvipc/sys/shm.h: Likewise.
19855 * termios/termios.h: Likewise.
19856 * time/sys/time.h: Likewise.
19857 * time/time.h: Likewise.
19858 * wcsmbs/bits/wchar2.h: Likewise.
19859 * wcsmbs/uchar.h: Likewise.
19860 * wcsmbs/wchar.h: Likewise.
19861 * wctype/wctype.h: Likewise.
19864 * Makeconfig: Remove all but ELF support including AIX support.
19865 * Makerules: Likewise.
19866 * config.h.in: Likewise.
19867 * config.make.in: Likewise.
19868 * configure: Likewise.
19869 * configure.in: Likewise.
19870 * csu/Makefile: Likewise.
19871 * csu/version.c: Likewise.
19872 * debug/Makefile: Likewise.
19873 * dlfcn/Makefile: Likewise.
19874 * elf/Makefile: Likewise.
19875 * extra-lib.mk: Likewise.
19876 * iconv/Makefile: Likewise.
19877 * include/libc-symbols.h: Likewise.
19878 * include/shlib-compat.h: Likewise.
19879 * resolv/Makefile: Likewise.
19880 * resolv/res_libc.c: Likewise.
19881 * rt/Makefile: Likewise.
19882 * sysdeps/i386/asm-syntax.h: Likewise.
19883 * sysdeps/i386/sysdep.h: Likewise.
19884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19885 * sysdeps/mach/sysdep.h: Likewise.
19886 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19887 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19888 * sysdeps/s390/asm-syntax.h: Likewise.
19889 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19891 * sysdeps/sh/sysdep.h: Likewise.
19892 * sysdeps/unix/sparc/sysdep.h: Likewise.
19893 * sysdeps/wordsize-32/divdi3.c: Likewise.
19894 * sysdeps/x86_64/sysdep.h: Likewise.
19896 * argp/Versions: Remove _argp_unlock_xxx.
19899 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19900 * abilist/libBrokenLocale.abilist: Likewise.
19901 * abilist/libanl.abilist: Likewise.
19902 * abilist/libc.abilist: Likewise.
19903 * abilist/libcrypt.abilist: Likewise.
19904 * abilist/libdl.abilist: Likewise.
19905 * abilist/libm.abilist: Likewise.
19906 * abilist/libnsl.abilist: Likewise.
19907 * abilist/libpthread.abilist: Likewise.
19908 * abilist/libresolv.abilist: Likewise.
19909 * abilist/librt.abilist: Likewise.
19910 * abilist/libthread_db.abilist: Likewise.
19911 * abilist/libutil.abilist: Likewise.
19912 * abilist/libnss_db.abilist: New file.
19914 * scripts/abilist.awk: Add support for indirect functions.
19916 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19918 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19920 * shlib-versions: Remove entries for ports architectures.
19922 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19924 * elf/stackguard-macros.h: Remove support for IA-64.
19925 * elf/tst-auditmod1.c: Likewise.
19926 * sysdeps/generic/ldsodefs.h: Likewise.
19928 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19929 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19933 * configure.in: Remove --enable-omitfp support.
19935 * config.make.in: Likewise.
19936 * Makeconfig: Likewise.
19937 * manual/install.texi: Likewise.
19939 In case anyone cares, the IA-64 architecture could move to ports.
19940 * sysdeps/ia64/*: Removed.
19941 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19942 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19945 * configure.in: Remove entries for unsupported architectures.
19948 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19949 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19951 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19952 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19953 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19954 fall back to using wcrtomb.
19955 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19956 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19958 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19959 * wcsmbs/tst-c16c32-1.c: New file.
19961 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19964 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19966 * elf/tst-unique3.cc: Add explicit declaration of gets.
19967 * elf/tst-unique3lib.cc: Likewise.
19968 * elf/tst-unique3lib2.cc: Likewise.
19969 * elf/tst-unique4.cc: Likewise.
19971 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19973 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19976 * assert/assert.h (static_assert): Don't define for C++.
19977 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19978 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19980 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19982 * iconv/loop.c (single loop): Fix assertion in storing of
19985 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19987 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19989 * posix/getconf.c: Update copyright year.
19990 * nss/getent.c: Likewise.
19991 * nss/makedb.c: Likewise.
19992 * iconv/iconvconfig.c: Likewise.
19993 * iconv/iconv_prog.c: Likewise.
19994 * elf/ldconfig.c: Likewise.
19995 * elf/pldd.c: Likewise.
19996 * elf/sotruss.ksh: Likewise.
19997 * catgets/gencat.c: Likewise.
19998 * csu/version.c: Likewise.
19999 * elf/ldd.bash.in: Likewise.
20000 * elf/sprof.c (print_version): Likewise.
20001 * locale/programs/locale.c: Likewise.
20002 * locale/programs/localedef.c: Likewise.
20003 * login/programs/pt_chown.c: Likewise.
20004 * nscd/nscd.c (print_version): Likewise.
20005 * debug/xtrace.sh: Likewise.
20006 * malloc/memusage.sh: Likewise.
20007 * malloc/mtrace.pl: Likewise.
20008 * debug/catchsegv.sh: Likewise.
20010 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20012 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20015 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20018 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20019 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20021 * iconv/gconv_int.h: Likewise.
20022 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20023 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20024 from libc for GLIBC_2.16.
20025 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20026 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20027 * wcsmbs/uchar.h: Really define mbstate_t.
20028 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20029 * wcsmbs/c16rtomb.c: New file.
20030 * wcsmbs/mbrtoc16.c: New file.
20031 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20032 for C/POSIX locale.
20033 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20034 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20036 * wcsmbs/wchar.h: Add missing __restrict.
20038 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20041 * time/Makefile (routines): Add timespec_get.
20042 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20043 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20044 timespec for ISO C11.
20045 * time/timespec_get.c: New file.
20046 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20047 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20050 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20051 * stdlib/stdlib.h: Declare aligned_alloc.
20052 * Versions.def: Add GLIBC_2.16 for libc.
20053 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20056 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20059 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20063 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20066 * assert/assert.h (static_assert): Define.
20068 * version.h: Update for 2.16 development version.
20071 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20074 * version.h (RELEASE): Bump for 2.15 release.
20075 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20077 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20078 Patch by Marek Polacek <mpolacek@redhat.com>.
20080 * bits/byteswap.h: Protect long long constants with __extension__.
20081 * sysdeps/i386/bits/byteswap.h: Likewise.
20082 * sysdeps/ia64/bits/byteswap.h: Likewise.
20083 * sysdeps/s390/bits/byteswap.h: Likewise.
20084 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20086 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20090 destination buffer.
20091 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20093 2011-12-23 Marek Polacek <polacek@redhat.com>
20095 * elf/dl-addr.c (determine_info): Add inline keyword.
20096 * elf/tst-auditmod4b.c (check_avx): Likewise.
20097 * elf/tst-auditmod6b.c (check_avx): Likewise.
20098 * elf/tst-auditmod6c.c (check_avx): Likewise.
20099 * elf/tst-auditmod7b.c (check_avx): Likewise.
20101 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20103 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20106 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20109 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20110 processing for last bytes.
20112 2011-08-06 Bruno Haible <bruno@clisp.org>
20115 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20116 U+0385, not to U+1FEE.
20119 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20120 entry for U+00A5 U+0301.
20122 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20125 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20126 buffer for the output is too small.
20128 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20132 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20133 SSE flags if possible.
20135 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20139 processing for last bytes.
20141 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20143 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20144 (syscall-list-default-options, syscall-list-default-condition)
20145 (syscall-list-includes): Define.
20146 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20147 list of ABIs and options and #if conditions for each ABI. Do not
20148 handle common syscalls between ABIs specially.
20149 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20151 (syscall-list-variants, syscall-list-32bit-options)
20152 (syscall-list-32bit-condition, syscall-list-64bit-options)
20153 (syscall-list-64bit-condition): Define.
20154 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20155 (syscall-list-variants, syscall-list-32bit-options)
20156 (syscall-list-32bit-condition, syscall-list-64bit-options)
20157 (syscall-list-64bit-condition): Define.
20158 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20160 (syscall-list-variants, syscall-list-32bit-options)
20161 (syscall-list-32bit-condition, syscall-list-64bit-options)
20162 (syscall-list-64bit-condition): Define.
20163 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20165 (syscall-list-variants, syscall-list-32bit-options)
20166 (syscall-list-32bit-condition, syscall-list-64bit-options)
20167 (syscall-list-64bit-condition): Define.
20169 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20171 * locale/iso-639.def: Add brx entry.
20174 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20175 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20177 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20178 __feraiseexcept_renamed.
20180 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20183 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20184 EPOLLET with unsigned values.
20185 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20188 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20189 to large cancellation.
20190 * math/s_cacoshf.c: Likewise.
20191 * math/s_cacoshl.c: Likewise.
20193 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20197 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20198 * math/s_cacoshf.c: Likewise.
20199 * math/s_cacoshl.c: Likewise.
20201 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20204 * iconv/gconv.h: Define __GCONV_SWAP.
20205 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20206 * iconvdata/utf-16.c: Likewise.
20207 * iconvdata/utf-32.c: Likewise.
20209 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20213 numerator after shifting it by one limb.
20215 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20217 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20218 under [__USE_EXTERN_INLINES].
20220 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20223 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20225 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20227 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20228 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20230 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20231 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20232 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20233 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20234 for strncasecmp/strncasecmp_l compilation.
20235 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20236 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20238 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20241 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20244 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20247 * time/tzfile.c (__tzfile_read): Check values from file header.
20249 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20251 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20252 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20253 * powerpc/powerpc32/dl-start.S: Likewise.
20254 * powerpc/powerpc32/elf/start.S: Likewise.
20255 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20256 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20257 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20258 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20259 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20260 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20261 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20262 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20263 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20264 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20265 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20266 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20267 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20268 * powerpc/powerpc32/memset.S: Likewise.
20269 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20270 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20271 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20272 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20273 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20274 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20275 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20276 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20277 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20278 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20279 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20280 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20281 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20283 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20285 * math/libm-test.inc: Added more nearbyint tests.
20286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20287 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20289 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20291 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20293 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20296 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20298 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20299 Add wcscpy-ssse3 wcscpy-c.
20300 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20301 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20302 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20303 * sysdeps/x86_64/wcschr.S: New file.
20304 * sysdeps/x86_64/wcsrchr.S: New file.
20305 * string/test-strcmp.c: Remove checking of wcscmp function for
20307 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20308 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20309 wcsrchr-sse2 wcsrchr-c.
20310 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20311 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20312 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20313 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20314 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20315 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20316 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20317 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20318 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20319 * wcsmbc/wcschr.c (WCSCHR): New macro.
20321 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20323 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20324 * wcsmbs/test-wcsrchr.c: New file.
20325 * string/test-strrchr.c: Add wcsrchr support.
20327 * wcsmbs/test-wcscpy.c: New file.
20328 * string/test-strcpy.c: Add wcscpy support.
20331 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20336 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20339 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20341 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20343 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20344 Minor optimizations.
20346 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20347 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20348 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20350 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20352 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20353 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20354 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20355 for gcc to avoid warnings.
20356 * inet/Makefile (tests): Add tst-checks.
20357 * inet/tst-checks.c: New file.
20359 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20362 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20365 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20366 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20368 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20370 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20372 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20375 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20377 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20379 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20380 conditional on GCC version.
20381 (__arch_compare_and_exchange_val_8_acq)
20382 (__arch_compare_and_exchange_val_16_acq)
20383 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20384 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20385 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20387 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20389 * sysdeps/sh/backtrace.c: New file.
20391 2011-12-02 Andreas Schwab <schwab@redhat.com>
20393 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20396 2011-12-01 Andreas Schwab <schwab@redhat.com>
20398 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20399 falling back to utime.
20401 2011-11-30 Andreas Schwab <schwab@redhat.com>
20403 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20404 expectations for float.
20406 2011-11-29 Andreas Schwab <schwab@redhat.com>
20408 * locale/weight.h (findidx): Add parameter len.
20409 * locale/weightwc.h (findidx): Likewise.
20410 * posix/fnmatch_loop.c (FCT): Adjust caller.
20411 * posix/regcomp.c (build_equiv_class): Likewise.
20412 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20413 * posix/regexec.c (check_node_accept_bytes): Likewise.
20414 * string/strcoll_l.c (STRCOLL): Likewise.
20415 * string/strxfrm_l.c (STRXFRM): Likewise.
20417 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20419 * Makefile.in: Remove CVSOPT handling.
20420 * configure.in: Remove use of AC_REVISION.
20421 * iconvdata/Makefile (distribute): No need to filter out CVS.
20422 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20425 2011-11-16 Andreas Schwab <schwab@redhat.com>
20427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20428 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20429 [USE_AS_STRNCASECMP_L]: Likewise.
20430 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20431 NO_TLS_DIRECT_SEG_REFS.
20432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20433 Fix argument offsets for non-PIC.
20434 [USE_AS_STRNCASECMP_L]: Likewise.
20435 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20436 NO_TLS_DIRECT_SEG_REFS.
20438 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20440 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20442 * locale/loadlocale.c (_nl_load_locale): Likewise.
20444 2011-11-15 Andreas Schwab <schwab@redhat.com>
20446 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20447 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20449 (SYSCALL_GETTIME): Set errno on error.
20451 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20452 count references to noai6ai_cached.
20454 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20456 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20458 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20459 FD_CLOEXEC for /proc/self/maps.
20461 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20462 FD_CLOEXEC for /proc/meminfo.
20464 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20467 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20468 FD_CLOEXEC for given file.
20470 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20472 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20473 FD_CLOEXEC for /etc/hosts.
20474 (_gethtent): Likewise.
20476 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20478 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20479 cancellation and set FD_CLOEXEC for /etc/netgroup.
20481 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20482 reading /etc/publickey.
20484 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20485 allow cancellation when reading /etc/group.
20487 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20489 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20491 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20492 when using data file.
20494 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20496 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20497 (write_nis_obj): Use "c" and "e" in fopen.
20499 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20501 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20503 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20505 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20507 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20510 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20512 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20514 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20516 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20517 file parsing and set FD_CLOEXEC.
20519 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20521 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20523 2011-11-14 Andreas Schwab <schwab@redhat.com>
20525 * malloc/arena.c (arena_get2): Don't call reused_arena when
20526 _int_new_arena failed.
20528 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20530 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20531 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20532 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20536 to compile strcasecmp and strncasecmp.
20537 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20538 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20542 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20544 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20545 locale-defines.sym to gen-as-const-headers.
20546 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20547 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20549 to compile strcasecmp and strncasecmp.
20550 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20551 strcasecmp_l and strncasecmp_l.
20552 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20553 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20554 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20555 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20556 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20557 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20558 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20559 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20560 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20561 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20562 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20564 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20566 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20567 result of SYSDEP_GETTIME_CPU to retval.
20568 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20569 parameter list to macro. Remove trailing semicolon. Adjust users.
20571 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20574 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20578 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20579 from unused variable.
20581 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20583 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20586 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20589 * sunrpc/rpc_prot.c (rejected): Fix case value.
20591 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20592 unsigned long long int to avoid warnings in shift.
20594 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20596 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20599 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20600 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20601 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20603 * nis/nis_table.c (nis_list): Use variable of correct type for
20604 result of __follow_path call.
20606 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20608 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20609 of math functions ceil, trunc, floor, round, and sqrt, when
20610 avaliable on the platform.
20611 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20613 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20614 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20615 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20617 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20619 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20620 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20622 2011-11-11 Roland McGrath <roland@hack.frob.com>
20624 * include/unistd.h: Fix __readlink return type.
20625 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20627 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20629 * stdlib/ucontext.h: Undo last change for makecontext.
20631 2011-11-11 Andreas Schwab <schwab@redhat.com>
20633 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20635 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20636 * setjmp/setjmp.h: Mark functions as non-leaf.
20637 * setjmp/bits/setjmp2.h: Likewise.
20638 * stdlib/ucontext.h: Likewise.
20640 2011-11-10 Andreas Schwab <schwab@redhat.com>
20642 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20643 (reused_arena): Don't check arena limit.
20644 (arena_get2): Atomically check arena limit.
20646 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20648 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20649 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20654 2011-11-07 Andreas Schwab <schwab@redhat.com>
20656 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20657 handler when locking.
20659 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20660 Fix size of allocated buffer.
20662 2011-11-04 Andreas Schwab <schwab@redhat.com>
20665 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20666 declarations for long double functions.
20667 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20669 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20671 2011-11-03 Andreas Schwab <schwab@redhat.com>
20673 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20676 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20679 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20681 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20683 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20685 * include/alloca.h (stackinfo_alloca_round): Define.
20686 (extend_alloca): Use it.
20687 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20688 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20691 * scripts/check-local-headers.sh: Ignore libaudit.h.
20693 * nscd/Makefile (extra-objs): Make recursively expanded.
20695 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20697 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20700 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20701 * posix/tst-rfc3484-2.c: Likewise.
20702 * posix/tst-rfc3484-3.c: Likewise.
20704 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20706 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20708 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20709 process_vm_writev from libc using GLIBC_2.15 version.
20711 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20713 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20715 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20718 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20721 * nss/getent.c (initgroups_keys): Show error message in case no group
20724 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20725 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20726 __bump_nl_timestamp.
20727 * nscd/connections (nscd_init): When host database is served open
20728 netlink socket and request notification about configuration changes.
20729 (main_loop_poll): Track netlink file descriptor and bump timestamp
20730 in case data becomes available.
20731 (main_loop_epoll): Likewise.
20732 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20733 (database_pers_head): Add extra_data fileds.
20734 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20735 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20736 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20739 in6ai data, call __free_in6ai.
20740 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20741 Add -DHAVE_NETLINK.
20742 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20743 interface information. Reuse previous data if netlink timestamp
20745 (__bump_nl_timestamp): New function.
20746 (__free_in6ai): New function.
20748 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20751 close_not_cancel_no_status here.
20752 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20754 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20757 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20760 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20761 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20762 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20764 2011-07-03 Andreas Jaeger <aj@suse.de>
20767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20768 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20769 * math/libm-test.inc (sin_test): Add test case.
20771 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20774 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20777 * elf/chroot_canon.c (chroot_canon): Cleanups.
20779 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20782 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20783 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20785 * string/test-strchr.c: Make usable for strchrnul testing.
20786 * string/test-strchrnul.c: New file.
20787 * string/Makefile (strop-tests): Add strchrnul.
20789 * po/it.po: Update from translation team.
20790 * po/es.po: Likewise.
20792 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20795 the three constants needed as parameters. Drop the others.
20796 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20797 __m128i_strloadu_tolower.
20798 Create and initialize variable zero and use it in all the places
20799 where _mm_setzero_si128 was used.
20801 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20802 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20803 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20804 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20806 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20807 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20808 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20809 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20810 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20811 __mpranred, __mptan.
20812 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20813 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20814 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20815 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20816 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20817 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20819 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20820 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20822 2011-10-28 Andreas Schwab <schwab@redhat.com>
20824 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20825 redefine if SHARED.
20826 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20829 wide char related routines to wcsmbs subdir.
20831 2011-10-27 Andreas Schwab <schwab@redhat.com>
20834 * misc/sys/cdefs.h (__THROWNL): Define.
20835 * posix/unistd.h: Use __THREADNL instead of __THREAD
20836 for memory synchronization functions.
20838 2011-10-26 Roland McGrath <roland@hack.frob.com>
20841 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20843 * manual/stdio.texi (Obstack Streams): Node removed.
20845 2011-10-26 Andreas Schwab <schwab@redhat.com>
20847 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20848 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20849 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20851 * math/math_private.h (math_force_eval): Allow non-addressable
20853 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20855 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20857 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20858 file is not needed.
20860 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20861 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20862 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20863 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20864 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20867 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20869 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20870 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20871 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20872 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20873 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20874 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20875 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20876 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20877 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20878 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20879 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20880 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20881 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20882 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20883 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20884 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20885 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20886 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20887 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20889 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20890 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20893 place. Use VEX encoding when compiling for AVX.
20895 2011-10-25 Andreas Schwab <schwab@redhat.com>
20897 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20898 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20900 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20902 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20904 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20905 useless if() expression.
20906 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20907 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20909 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20910 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20911 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20912 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20913 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20914 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20917 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20919 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20920 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20921 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20922 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20923 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20924 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20926 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20928 2011-10-25 Andreas Schwab <schwab@redhat.com>
20930 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20934 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20936 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20937 .text section. Avoid duplicate constants.
20938 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20948 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20950 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20953 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20955 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20961 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20962 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20963 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20964 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20965 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20966 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20967 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20968 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20969 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20971 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20972 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20973 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20974 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20976 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20977 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20978 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20980 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20981 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20982 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20984 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20986 * sysdeps/x86_64/dla.h: Move to ...
20987 * sysdeps/x86_64/fpu/dla.h: ...here.
20988 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20989 situations. Use __builtin_fma only for gcc 4.6 and up.
20991 * config.make.in: Add have-mfma4 entry.
20992 * configure.in: Substitute libc_cv_cc_fma4.
20993 * math/Makefile (dbl-only-routines): Add sincostab.
20994 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20995 Use __sincostab not sincos.
20996 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20998 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21003 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21004 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21005 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21006 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21008 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21009 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21011 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21012 define aliases when function name is a macro.
21013 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21014 sysdeps/ieee754/dbl-64/sincos.tbl.
21015 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21016 fma4-enabled routines.
21017 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21018 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21019 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21020 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21021 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21022 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21023 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21025 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21026 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21027 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21028 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21029 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21030 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21032 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21033 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21034 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21035 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21037 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21038 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21040 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21041 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21042 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21043 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21044 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21045 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21046 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21048 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21059 2011-10-24 Andreas Schwab <schwab@redhat.com>
21061 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21063 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21065 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21067 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21071 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21072 Remove unused variable magic_bits.
21073 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21075 * string/strnlen.c: Define and use STRNLEN macro.
21076 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21077 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21079 * wcsmbs/wcslen.c: Define and use WCSLEN.
21080 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21081 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21082 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21083 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21084 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21085 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21086 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21088 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21091 strnlen-sse2-no-bsf.
21092 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21095 Add strnlen support.
21096 (USE_AS_STRNLEN): New macro.
21097 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21098 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21099 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21100 * sysdeps/x86_64/wcslen.S: New file.
21102 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21104 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21105 XMM-moves are used for copying on small sizes.
21107 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21109 * wcsmbs/Makefile (strop-tests): Add wcschr.
21110 * wcsmbs/test-wcschr.c: New file.
21111 * string/test-strchr.c: Update.
21112 Add wcschr support.
21115 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21117 * wcsmbs/Makefile (strop-tests): Add wcslen.
21118 * wcsmbs/test-wcslen.c: New file.
21119 * string/test-strlen.c: Update.
21120 Add wcslen support.
21123 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21125 * po/it.po: Update from translation team.
21127 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21129 * sysdeps/x86_64/wcscmp.S: Update.
21130 Fix wrong comparison semantics.
21131 wcscmp shall use signed comparison not unsigned.
21132 Don't use substraction to avoid overflow bug.
21133 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21134 * wcsmbc/wcscmp.c: Likewise.
21135 * string/test-strcmp.c: Likewise.
21136 Add new tests to check cases with negative values.
21138 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21140 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21141 * sysdeps/x86_64/dla.h: ...here. New file.
21142 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21152 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21155 __ynl_finite aliases.
21157 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21161 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21163 [DLA_FMA] (EMULV): Use DLA_FMA.
21164 [DLA_FMA] (MUL12): Use EMULV.
21165 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21166 that are not needed.
21167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21175 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21177 * math/s_nan.c: Undef __nan.
21178 * math/s_nanf.c: Undef __nanf.
21179 * math/s_nanl.c: Undef __nanl.
21180 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21183 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21185 * math/s_catan.c: Add branch predictions.
21186 * math/s_catanf.c: Likewise.
21187 * math/s_catanh.c: Likewise.
21188 * math/s_catanhf.c: Likewise.
21189 * math/s_catanhl.c: Likewise.
21190 * math/s_catanl.c: Likewise.
21191 * math/s_cexp.c: Likewise.
21192 * math/s_cexpf.c: Likewise.
21193 * math/s_cexpl.c: Likewise.
21194 * math/s_clog.c: Likewise.
21195 * math/s_clog10.c: Likewise.
21196 * math/s_clog10f.c: Likewise.
21197 * math/s_clog10l.c: Likewise.
21198 * math/s_clogf.c: Likewise.
21199 * math/s_clogl.c: Likewise.
21200 * math/s_csqrt.c: Likewise.
21201 * math/s_csqrtf.c: Likewise.
21202 * math/s_csqrtl.c: Likewise.
21203 * math/s_ctanf.c: Likewise.
21204 * math/s_ctanh.c: Likewise.
21205 * math/s_ctanhf.c: Likewise.
21206 * math/s_ctanhl.c: Likewise.
21207 * math/s_ctanl.c: Likewise.
21209 * math/math_private.h: Define __nan, __nanf, __nanl.
21210 * math/s_cacosh.c: Include <math_private.h>.
21211 * math/s_cacoshl.c: Likewise.
21212 * math/s_casinh.c: Likewise.
21213 * math/s_casinhf.c: Likewise.
21214 * math/s_casinhl.c: Likewise.
21215 * math/s_ccos.c: Rely entire on ccosh.
21216 * math/s_ccosf.c: Rely entire on ccoshf.
21217 * math/s_ccosl.c: Rely entirely on ccoshl.
21218 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21219 Remove tests for FE_INVALID.
21220 * math/s_ccoshf.c: Likewise.
21221 * math/s_ccoshl.c: Likewise.
21222 * math/s_csin.c: Likewise.
21223 * math/s_csinf.c: Likewise.
21224 * math/s_csinh.c Likewise.
21225 * math/s_csinhf.c: Likewise.
21226 * math/s_csinhl.c: Likewise.
21227 * math/s_csinl.c: Likewise.
21228 * math/s_ctan.c: Likewise.
21229 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21230 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21231 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21233 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21236 compilation problems.
21238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21241 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21243 * sysdeps/i386/configure.in: Test for -mfma4 option.
21244 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21245 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21246 COMMON_CPUID_INDEX_80000001.
21247 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21248 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21249 use it if FMA3 is not supported.
21250 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21252 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21255 2011-10-20 Andreas Schwab <schwab@redhat.com>
21258 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21259 it would create a cycle with a link time dependency.
21261 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21263 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21265 * string/Makefile (strop-tests): Add rawmemchr.
21266 * string/test-rawmemchr.c: New file.
21268 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21270 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21271 when compiling str{,n}casecmp and when AVX is available. Hook up
21272 new optimized code in initializers.
21274 2011-10-19 Andreas Schwab <schwab@redhat.com>
21276 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21277 __feraiseexcept instead of feraiseexcept.
21279 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21281 * math/math_private.h: Define defaults for libc_fetestexcept and
21283 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21284 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21285 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21287 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21288 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21289 libc_fetestexcept and libc_feupdateenv.
21291 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21292 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21293 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21294 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21295 libc_feholdexcept_setround.
21297 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21298 Add s_nearbyint-c and s_nearbyintf-c.
21299 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21300 nearbyintf inlines.
21301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21302 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21304 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21306 * math/math_private.h: Define defaults for libc_fegetround,
21307 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21308 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21309 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21310 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21311 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21312 standard functions.
21313 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21314 Remove comments and hacks for old compiler versions.
21315 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21316 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21317 libc_feholdexceptl.
21319 2011-10-18 Andreas Schwab <schwab@redhat.com>
21321 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21322 (__feraiseexcept_renamed): Add __NTH.
21323 (feraiseexcept): Add __NTH. Rename local variables to fix
21324 namespace violations.
21326 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21328 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21330 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21332 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21333 recently added interfaces.
21334 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21336 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21337 about macro parameter expansion.
21339 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21340 __NO_MATH_INLINES is defined. Cleanups.
21342 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21343 and __floorf is target has SSE4.1.
21344 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21345 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21346 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21347 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21349 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21351 (floorf): Likewise.
21353 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21355 2011-10-17 Andreas Schwab <schwab@redhat.com>
21357 * misc/sys/cdefs.h: Fix last change.
21359 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21362 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21364 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21366 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21368 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21369 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21371 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21372 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21373 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21374 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21375 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21376 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21377 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21378 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21379 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21380 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21381 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21382 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21383 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21384 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21385 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21386 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21387 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21389 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21390 ceil, ceilf, floor, floorf.
21392 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21393 Perform IRELATIVE relocations last.
21395 * elf/do-rel.h: Add another parameter nrelative, replacing the
21396 local variable with the same name. Change name of the function
21397 to end in Rel or Rela (uppercase).
21398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21399 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21400 elf_dynamic_do_##reloc function.
21402 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21404 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21405 is sufficient, at least on modern CPUs.
21407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21409 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21410 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21412 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21414 * math/bits/math-finite.h: Add entries for exp.
21415 * math/e_expl.c: Add __*_finite alias.
21416 * sysdeps/i386/fpu/e_exp.S: Likewise.
21417 * sysdeps/i386/fpu/e_expf.S: Likewise.
21418 * sysdeps/i386/fpu/e_expl.c: Likewise.
21419 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21420 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21423 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21427 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21428 is sufficient, at least on modern CPUs.
21430 * ctype/ctype-info.c (__ctype_init): Define.
21431 * include/ctype.h (__ctype_init): Declare.
21432 (__ctype_b_loc): The variable is always initialized.
21433 (__ctype_toupper_loc): Likewise.
21434 (__ctype_tolower_loc): Likewise.
21435 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21436 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21438 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21440 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21442 * configure.in: Also look in $cxxmachine/include for C++ system
21445 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21447 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21448 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21449 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21450 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21451 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21452 (USE_AS_WMEMCMP): New macro.
21454 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21455 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21456 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21457 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21459 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21460 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21461 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21462 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21463 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21464 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21465 (USE_AS_WMEMCMP): New macro.
21466 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21467 * sysdeps/string/test-memcmp.c: Update.
21468 Fix simple_wmemcmp.
21470 * wcsmbs/wmemcmp.c: Update.
21471 (WMEMCMP): New macro.
21474 2011-10-12 Andreas Jaeger <aj@suse.de>
21477 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21479 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21481 * libio/iofwide.c (do_length): Avoid warning.
21483 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21485 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21487 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21489 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21490 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21491 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21492 * sysdeps/i386/i686/fpu/e_log.S: New file.
21493 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21494 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21496 * ctype/ctype.h: Add support for inlined isXXX functions when
21497 compiling C++ code.
21499 2011-10-14 Andreas Schwab <schwab@redhat.com>
21501 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21503 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21505 2011-10-13 Roland McGrath <roland@hack.frob.com>
21508 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21510 2011-10-13 Andreas Schwab <schwab@redhat.com>
21512 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21513 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21516 * sysdeps/x86_64/memrchr.S: Check for zero size.
21518 * string/stratcliff.c: Add memrchr tests.
21520 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21523 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21524 rawmemchr-sse2 rawmemchr-sse2-bsf.
21525 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21526 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21527 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21528 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21529 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21530 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21531 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21532 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21534 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21535 * string/memrchr.c (MEMRCHR): New macro.
21537 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21539 Add integration with gcc's -ffinite-math-only and optimize wrapper
21541 * Versions.def: Define GLIBC_2.15 version for libm.
21542 * math/Makefile (headers): Add bits/math-finite.h.
21543 * math/bits/math-finite.h: New file.
21544 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21545 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21546 * math/e_acoshl.c: Add __*_finite alias.
21547 * math/e_acosl.c: Likewise.
21548 * math/e_asinl.c: Likewise.
21549 * math/e_atan2l.c: Likewise.
21550 * math/e_atanhl.c: Likewise.
21551 * math/e_coshl.c: Likewise.
21552 * math/e_exp10.c: Likewise.
21553 * math/e_exp10f.c: Likewise.
21554 * math/e_exp10l.c: Likewise.
21555 * math/e_exp2l.c: Likewise.
21556 * math/e_fmodl.c: Likewise.
21557 * math/e_gammal_r.c: Likewise.
21558 * math/e_hypotl.c: Likewise.
21559 * math/e_j0l.c: Likewise.
21560 * math/e_j1l.c: Likewise.
21561 * math/e_jnl.c: Likewise.
21562 * math/e_lgammal_r.c: Likewise.
21563 * math/e_log10l.c: Likewise.
21564 * math/e_log2l.c: Likewise.
21565 * math/e_logl.c: Likewise.
21566 * math/e_powl.c: Likewise.
21567 * math/e_sinhl.c: Likewise.
21568 * math/e_sqrtl.c: Likewise.
21569 * math/e_scalb.c: Completely rewritten and optimized.
21570 * math/e_scalbf.c: Likewise.
21571 * math/e_scalbl.c: Likewise.
21572 * math/w_acos.c: Likewise.
21573 * math/w_acosf.c: Likewise.
21574 * math/w_acosl.c: Likewise.
21575 * math/w_acosh.c: Likewise.
21576 * math/w_acoshf.c: Likewise.
21577 * math/w_acoshl.c: Likewise.
21578 * math/w_asin.c: Likewise.
21579 * math/w_asinf.c: Likewise.
21580 * math/w_asinl.c: Likewise.
21581 * math/w_atan2.c: Likewise.
21582 * math/w_atan2f.c: Likewise.
21583 * math/w_atan2l.c: Likewise.
21584 * math/w_atanh.c: Likewise.
21585 * math/w_atanhf.c: Likewise.
21586 * math/w_atanhl.c: Likewise.
21587 * math/w_exp10.c: Likewise.
21588 * math/w_exp10f.c: Likewise.
21589 * math/w_exp10l.c: Likewise.
21590 * math/w_fmod.c: Likewise.
21591 * math/w_fmodf.c: Likewise.
21592 * math/w_fmodl.c: Likewise.
21593 * math/w_j0.c: Likewise.
21594 * math/w_j0f.c: Likewise.
21595 * math/w_j0l.c: Likewise.
21596 * math/w_j1.c: Likewise.
21597 * math/w_j1f.c: Likewise.
21598 * math/w_j1l.c: Likewise.
21599 * math/w_jn.c: Likewise.
21600 * math/w_jnf.c: Likewise.
21601 * math/w_log.c: Likewise.
21602 * math/w_logf.c: Likewise.
21603 * math/w_logl.c: Likewise.
21604 * math/w_log10.c: Likewise.
21605 * math/w_log10f.c: Likewise.
21606 * math/w_log10l.c: Likewise.
21607 * math/w_log2.c: Likewise.
21608 * math/w_log2f.c: Likewise.
21609 * math/w_log2l.c: Likewise.
21610 * math/w_pow.c: Likewise.
21611 * math/w_powf.c: Likewise.
21612 * math/w_powl.c: Likewise.
21613 * math/w_remainder.c: Likewise.
21614 * math/w_remainderf.c: Likewise.
21615 * math/w_remainderl.c: Likewise.
21616 * math/w_scalb.c: Likewise.
21617 * math/w_scalbf.c: Likewise.
21618 * math/w_scalbl.c: Likewise.
21619 * math/w_sqrt.c: Likewise.
21620 * math/w_sqrtf.c: Likewise.
21621 * math/w_sqrtl.c: Likewise.
21622 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21623 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21625 * math/math_private.h: Declare __kernel_standard_f.
21626 * math/w_cosh.c: Remove cruft and optimize a bit.
21627 * math/w_coshf.c: Likewise.
21628 * math/w_coshl.c: Likewise.
21629 * math/w_exp2.c: Likewise.
21630 * math/w_exp2f.c: Likewise.
21631 * math/w_exp2l.c: Likewise.
21632 * math/w_hypot.c: Likewise.
21633 * math/w_hypotf.c: Likewise.
21634 * math/w_hypotl.c: Likewise.
21635 * math/w_lgamma.c: Likewise.
21636 * math/w_lgamma_r.c: Likewise.
21637 * math/w_lgammaf.c: Likewise.
21638 * math/w_lgammaf_r.c: Likewise.
21639 * math/w_lgammal.c: Likewise.
21640 * math/w_lgammal_r.c: Likewise.
21641 * math/w_sinh.c: Likewise.
21642 * math/w_sinhf.c: Likewise.
21643 * math/w_sinhl.c: Likewise.
21644 * math/w_tgamma.c: Likewise.
21645 * math/w_tgammaf.c: Likewise.
21646 * math/w_tgammal.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21649 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21650 Minor optimizations. Pretty printing. Remove cruft.
21651 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21653 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21654 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21655 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21656 * sysdeps/i386/fpu/e_asin.S: Likewise.
21657 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21658 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21659 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21660 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21661 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21662 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21663 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21664 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21665 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21666 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21667 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21668 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21669 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21670 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21671 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21672 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21673 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21674 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21675 * sysdeps/i386/fpu/e_log.S: Likewise.
21676 * sysdeps/i386/fpu/e_log10.S: Likewise.
21677 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21678 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21679 * sysdeps/i386/fpu/e_log2.S: Likewise.
21680 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21681 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21682 * sysdeps/i386/fpu/e_logf.S: Likewise.
21683 * sysdeps/i386/fpu/e_logl.S: Likewise.
21684 * sysdeps/i386/fpu/e_pow.S: Likewise.
21685 * sysdeps/i386/fpu/e_powf.S: Likewise.
21686 * sysdeps/i386/fpu/e_powl.S: Likewise.
21687 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21688 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21689 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21690 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21691 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21692 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21693 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21694 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21695 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21699 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21700 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21701 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21702 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21703 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21716 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21717 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21720 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21721 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21723 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21724 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21725 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21726 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21727 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21728 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21729 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21730 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21731 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21732 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21733 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21734 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21735 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21736 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21737 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21787 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21788 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21789 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21790 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21791 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21792 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21793 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21794 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21795 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21796 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21797 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21798 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21799 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21800 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21801 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21802 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21804 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21805 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21806 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21807 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21808 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21809 (__isnanf): Likewise.
21810 (__isinf_ns): Likewise.
21811 (__isinf_nsf): Likewise.
21812 (__finite): Likewise.
21813 (__finitef): Likewise.
21814 (__ieee754_sqrt): Define as macro.
21815 (__ieee754_sqrtf): Define as macro.
21816 (__ieee754_sqrtl): Define as macro.
21817 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21819 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21820 __FINITE_MATH_ONLY__ consistent.
21821 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21823 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21825 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21828 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21830 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21832 * po/ja.po: Update from translation team.
21834 2011-10-08 Roland McGrath <roland@hack.frob.com>
21836 * locale/programs/locarchive.c (prepare_address_space): New function.
21837 (create_archive, enlarge_archive, open_archive): Use it.
21839 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21840 inside [SHARED], where it is used.
21842 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21844 * nss/getent.c (netgroup_keys): Remove unused variable.
21845 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21847 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21849 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21852 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21853 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21854 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21855 * math/Makefile (libm-calls): Add s_isinf_ns.
21856 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21857 * math/multc3.c: Likewise.
21858 * math/s_casin.c: Likewise.
21859 * math/s_casinf.c: Likewise.
21860 * math/s_casinl.c: Likewise.
21861 * math/s_ccos.c: Likewise.
21862 * math/s_ccosf.c: Likewise.
21863 * math/s_ccosl.c: Likewise.
21864 * math/s_ctan.c: Likewise.
21865 * math/s_ctanf.c: Likewise.
21866 * math/s_ctanh.c: Likewise.
21867 * math/s_ctanhf.c: Likewise.
21868 * math/s_ctanhl.c: Likewise.
21869 * math/s_ctanl.c: Likewise.
21870 * math/w_fmod.c: Likewise.
21871 * math/w_fmodf.c: Likewise.
21872 * math/w_fmodl.c: Likewise.
21873 * math/w_remainder.c: Likewise.
21874 * math/w_remainderf.c: Likewise.
21875 * math/w_remainderl.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21877 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21880 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21881 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21882 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21883 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21885 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21887 * stdio-common/printf_fphex.c: Likewise.
21888 * stdio-common/printf_size.c: Likewise.
21890 * math/e_exp10.c: Include math_private.h using <...> not "...".
21891 * math/e_exp10f.c: Likewise.
21892 * math/e_exp10l.c: Likewise.
21893 * math/e_exp2l.c: Likewise.
21894 * math/e_j0l.c: Likewise.
21895 * math/e_j1l.c: Likewise.
21896 * math/e_jnl.c: Likewise.
21897 * math/e_lgammal_r.c: Likewise.
21898 * math/e_rem_pio2l.c: Likewise.
21899 * math/e_scalb.c: Likewise.
21900 * math/e_scalbf.c: Likewise.
21901 * math/e_scalbl.c: Likewise.
21902 * math/k_cosl.c: Likewise.
21903 * math/k_sinl.c: Likewise.
21904 * math/k_tanl.c: Likewise.
21905 * math/s_cacoshf.c: Likewise.
21906 * math/s_catan.c: Likewise.
21907 * math/s_catanf.c: Likewise.
21908 * math/s_catanh.c: Likewise.
21909 * math/s_catanhf.c: Likewise.
21910 * math/s_catanhl.c: Likewise.
21911 * math/s_catanl.c: Likewise.
21912 * math/s_ccosh.c: Likewise.
21913 * math/s_ccoshf.c: Likewise.
21914 * math/s_ccoshl.c: Likewise.
21915 * math/s_cexp.c: Likewise.
21916 * math/s_cexpf.c: Likewise.
21917 * math/s_cexpl.c: Likewise.
21918 * math/s_clog.c: Likewise.
21919 * math/s_clog10.c: Likewise.
21920 * math/s_clog10f.c: Likewise.
21921 * math/s_clog10l.c: Likewise.
21922 * math/s_clogf.c: Likewise.
21923 * math/s_clogl.c: Likewise.
21924 * math/s_csin.c: Likewise.
21925 * math/s_csinf.c: Likewise.
21926 * math/s_csinh.c: Likewise.
21927 * math/s_csinhf.c: Likewise.
21928 * math/s_csinhl.c: Likewise.
21929 * math/s_csinl.c: Likewise.
21930 * math/s_csqrt.c: Likewise.
21931 * math/s_csqrtf.c: Likewise.
21932 * math/s_csqrtl.c: Likewise.
21933 * math/s_ctan.c: Likewise.
21934 * math/s_ctanf.c: Likewise.
21935 * math/s_ctanh.c: Likewise.
21936 * math/s_ctanhf.c: Likewise.
21937 * math/s_ctanhl.c: Likewise.
21938 * math/s_ctanl.c: Likewise.
21939 * math/s_ldexp.c: Likewise.
21940 * math/s_ldexpf.c: Likewise.
21941 * math/s_ldexpl.c: Likewise.
21942 * math/s_significand.c: Likewise.
21943 * math/s_significandf.c: Likewise.
21944 * math/s_significandl.c: Likewise.
21945 * math/w_acos.c: Likewise.
21946 * math/w_acosf.c: Likewise.
21947 * math/w_acosh.c: Likewise.
21948 * math/w_acoshf.c: Likewise.
21949 * math/w_acoshl.c: Likewise.
21950 * math/w_acosl.c: Likewise.
21951 * math/w_asin.c: Likewise.
21952 * math/w_asinf.c: Likewise.
21953 * math/w_asinl.c: Likewise.
21954 * math/w_atan2.c: Likewise.
21955 * math/w_atan2f.c: Likewise.
21956 * math/w_atan2l.c: Likewise.
21957 * math/w_atanh.c: Likewise.
21958 * math/w_atanhf.c: Likewise.
21959 * math/w_atanhl.c: Likewise.
21960 * math/w_cosh.c: Likewise.
21961 * math/w_coshf.c: Likewise.
21962 * math/w_coshl.c: Likewise.
21963 * math/w_dremf.c: Likewise.
21964 * math/w_exp10.c: Likewise.
21965 * math/w_exp10f.c: Likewise.
21966 * math/w_exp10l.c: Likewise.
21967 * math/w_exp2.c: Likewise.
21968 * math/w_exp2f.c: Likewise.
21969 * math/w_fmod.c: Likewise.
21970 * math/w_fmodf.c: Likewise.
21971 * math/w_fmodl.c: Likewise.
21972 * math/w_hypot.c: Likewise.
21973 * math/w_hypotf.c: Likewise.
21974 * math/w_hypotl.c: Likewise.
21975 * math/w_j0.c: Likewise.
21976 * math/w_j0f.c: Likewise.
21977 * math/w_j0l.c: Likewise.
21978 * math/w_j1.c: Likewise.
21979 * math/w_j1f.c: Likewise.
21980 * math/w_j1l.c: Likewise.
21981 * math/w_jn.c: Likewise.
21982 * math/w_jnf.c: Likewise.
21983 * math/w_jnl.c: Likewise.
21984 * math/w_lgamma.c: Likewise.
21985 * math/w_lgamma_r.c: Likewise.
21986 * math/w_lgammaf.c: Likewise.
21987 * math/w_lgammaf_r.c: Likewise.
21988 * math/w_lgammal.c: Likewise.
21989 * math/w_lgammal_r.c: Likewise.
21990 * math/w_log.c: Likewise.
21991 * math/w_log10.c: Likewise.
21992 * math/w_log10f.c: Likewise.
21993 * math/w_log10l.c: Likewise.
21994 * math/w_log2.c: Likewise.
21995 * math/w_log2f.c: Likewise.
21996 * math/w_log2l.c: Likewise.
21997 * math/w_logf.c: Likewise.
21998 * math/w_logl.c: Likewise.
21999 * math/w_pow.c: Likewise.
22000 * math/w_powf.c: Likewise.
22001 * math/w_powl.c: Likewise.
22002 * math/w_remainder.c: Likewise.
22003 * math/w_remainderf.c: Likewise.
22004 * math/w_remainderl.c: Likewise.
22005 * math/w_scalb.c: Likewise.
22006 * math/w_scalbf.c: Likewise.
22007 * math/w_scalbl.c: Likewise.
22008 * math/w_sinh.c: Likewise.
22009 * math/w_sinhf.c: Likewise.
22010 * math/w_sinhl.c: Likewise.
22011 * math/w_sqrt.c: Likewise.
22012 * math/w_sqrtf.c: Likewise.
22013 * math/w_sqrtl.c: Likewise.
22014 * math/w_tgamma.c: Likewise.
22015 * math/w_tgammaf.c: Likewise.
22016 * math/w_tgammal.c: Likewise.
22018 * po/ja.po: Update from translation team.
22020 2011-09-29 Andreas Jaeger <aj@suse.de>
22023 * sunrpc/netname.c (netname2host): Fix logic.
22027 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22029 * math/w_remainder.c (__remainder): Likewise.
22030 * math/w_remainderf.c (__remainderf): Likewise.
22031 * math/libm-test.inc (remainder_test): Add test cases.
22033 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22035 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22038 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22040 * string/test-memcmp.c: Avoid unncessary #defines.
22041 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22043 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22045 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22046 Use new sse2 version for core i3 - i7 as it's faster
22047 than sse42 version.
22048 (bit_Prefer_PMINUB_for_stringop): New.
22049 * sysdeps/x86_64/rawmemchr.S: Update.
22050 Replace with faster SSE2 version.
22051 * sysdeps/x86_64/memrchr.S: New file.
22052 * sysdeps/x86_64/memchr.S: Update.
22053 Replace with faster SSE2 version.
22055 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22057 * elf/dl-load.c (lose): Add cast to avoid warning.
22059 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22061 * po/ca.po: Update from translation team.
22063 * inet/getnetgrent_r.c: Hook up nscd.
22064 * nscd/Makefile (routines): Add nscd_netgroup.
22065 (nscd-modules): Add netgroupcache.
22066 (CFLAGS-netgroupcache.c): Define.
22067 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22068 (cache_search): Add const to second parameter.
22069 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22071 (dbs): Add netgrdb entry.
22072 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22073 (verify_persistent_db): Handle netgrdb.
22074 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22075 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22077 (netgroup_response_header): Define.
22078 (innetgroup_response_header): Define.
22079 (datahead): Add netgroup_response_header and innetgroup_response_header
22081 * nscd/nscd.conf: Add entries for netgroup cache.
22082 * nscd/nscd.h (dbtype): Add netgrdb.
22083 (_PATH_NSCD_NETGROUP_DB): Define.
22084 (netgroup_iov_disabled): Declare.
22085 (xmalloc, xcalloc, xrealloc): Move declarations here.
22086 (cache_search): Adjust prototype.
22087 Add netgroup-related prototypes.
22088 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22089 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22090 (__nscd_innetgr): Declare.
22091 * nscd/selinux.c (perms): Use access_vector_t as element type and
22092 add netgroup-related initializers.
22093 * nscd/netgroupcache.c: New file.
22094 * nscd/nscd_netgroup.c: New file.
22095 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22096 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22097 For four parameters use innetgr.
22098 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22099 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22100 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22101 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22103 * nscd/connections.c (register_traced_file): Don't register file
22104 for disabled databases.
22106 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22108 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22110 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22111 from tree and freeing node.
22113 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22115 * nss/nsswitch.c (__nss_database_lookup): Handle
22116 nss_parse_service_list out of memory case.
22118 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22120 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22121 out of memory case.
22123 2011-10-04 Andreas Schwab <schwab@redhat.com>
22125 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22126 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22128 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22129 elf_machine_rela, elf_machine_lazy_rel.
22130 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22131 (ELF_DYNAMIC_DO_REL): Likewise.
22132 (ELF_DYNAMIC_DO_RELA): Likewise.
22133 (ELF_DYNAMIC_RELOCATE): Likewise.
22134 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22135 to ELF_DYNAMIC_DO_REL.
22136 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22137 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22138 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22140 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22141 skip_ifunc, don't call ifunc function if non-zero.
22142 (elf_machine_rela): Likewise.
22143 (elf_machine_lazy_rel): Likewise.
22144 (elf_machine_lazy_rela): Likewise.
22145 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22146 (elf_machine_lazy_rel): Likewise.
22147 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22149 (elf_machine_lazy_rel): Likewise.
22150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22152 (elf_machine_lazy_rel): Likewise.
22153 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22154 (elf_machine_lazy_rel): Likewise.
22155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22156 (elf_machine_lazy_rel): Likewise.
22157 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22158 (elf_machine_lazy_rel): Likewise.
22159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22160 (elf_machine_lazy_rel): Likewise.
22161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22162 (elf_machine_lazy_rel): Likewise.
22163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22164 (elf_machine_lazy_rel): Likewise.
22166 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22168 * nss/nss_files/files-init.c (_nss_files_init): Use static
22169 initialization for all the *_traced_file variables.
22171 2011-09-28 Andreas Schwab <schwab@redhat.com>
22173 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22175 2011-09-27 Roland McGrath <roland@hack.frob.com>
22178 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22180 2011-09-27 Andreas Schwab <schwab@redhat.com>
22182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22183 Reread the line before reparsing it.
22185 2011-09-26 Andreas Schwab <schwab@redhat.com>
22187 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22189 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22190 Maxim Kuvyrkov <maxim@codesourcery.com>
22191 Joseph Myers <joseph@codesourcery.com>
22193 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22194 if needed for __stack_chk_guard.
22196 2011-09-19 Roland McGrath <roland@hack.frob.com>
22198 * sysdeps/posix/spawni.c (script_execute): Always define it.
22199 It will be optimized away if unused.
22200 (maybe_script_execute): New function.
22201 (__spawni): Call it.
22203 * Makerules: Don't include tls.make.
22204 (config-tls): Always set to thread.
22205 * tls.make.c: File removed.
22207 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22209 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22210 * config.make.in (CPPFLAGS-config): New substituted variable.
22212 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22214 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22217 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22218 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22220 2011-09-15 Roland McGrath <roland@hack.frob.com>
22222 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22223 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22225 (CALL_FAIL): Likewise.
22226 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22227 (CALL_FAIL): Macro removed.
22228 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22230 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22233 for __FINITE_MATH_ONLY__ == 1.
22235 2011-09-15 Andreas Schwab <schwab@redhat.com>
22237 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22238 __ieee754_sqrt instead of sqrt.
22239 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22240 __ieee754_sqrtf instead of sqrtf.
22241 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22242 __floorf instead of floorf.
22243 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22244 __floorf, __truncf instead of floorf, truncf.
22246 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22248 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22250 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22251 __extern_always_inline.
22252 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22255 2011-09-14 Andreas Schwab <schwab@redhat.com>
22257 * elf/rtld.c (dl_main): Also relocate in dependency order when
22258 doing symbol dependency testing.
22260 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22263 Always define `refsym'.
22265 2011-09-13 Andreas Schwab <schwab@redhat.com>
22267 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22268 (__FD_ELT): Renamed from __FDELT.
22269 * misc/bits/select2.h (__FD_ELT): Likewise.
22270 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22271 __FD_MASK instead of __FDELT, __FDMASK.
22272 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22274 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22277 * elf/Makefile (gen-ldd): Fix pattern.
22279 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22280 (init_tls): Likewise.
22282 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22286 2011-09-12 Andreas Schwab <schwab@redhat.com>
22288 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22289 `struct cmsghdr *' instead of `void *'.
22290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22293 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22295 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22297 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22298 ldd_rewrite_script.
22300 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22302 * configure.in: Remove --with-tls option.
22303 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22304 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22305 out in case it is missing.
22306 * sysdeps/ia64/elf/configure.in: Likewise.
22307 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22308 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22309 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22310 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22311 * sysdeps/sh/elf/configure.in: Likewise.
22312 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22313 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22314 * sysdeps/x86_64/elf/configure.in: Likewise.
22315 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22316 * sysdeps/mach/hurd/tls.h: Likewise.
22319 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22322 * configure.in: Fix use of AC_INIT.
22324 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22326 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22328 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22330 * malloc/hooks.c: Likewise.
22333 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22334 variables statically.
22335 (narenas): Initialize.
22336 (list_lock): Initialize.
22337 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22338 initializtion of main_arena and list_lock. Small cleanups.
22339 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22340 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22341 Add initializers to main_arena and mp_.
22342 (malloc_state): Remove pagesize member. Change all users to use
22345 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22346 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22347 is always initialized.
22349 * malloc/malloc.c: Removed unused configurations and dead code.
22350 * malloc/arena.c: Likewise.
22351 * malloc/hooks.c: Likewise.
22352 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22354 * include/tls.h: Removed. USE___THREAD must always be defined.
22355 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22356 * elf/dl-libc.c: Likewise.
22357 * elf/dl-tsd.c: Likewise.
22358 * include/errno.h: Likewise.
22359 * include/netdb.h: Likewise.
22360 * include/resolv.h: Likewise.
22361 * inet/herrno-loc.c: Likewise.
22362 * inet/herrno.c: Likewise.
22363 * malloc/arena.c: Likewise.
22364 * malloc/hooks.c: Likewise.
22365 * malloc/malloc.c: Likewise.
22366 * resolv/res-state.c: Likewise.
22367 * resolv/res_libc.c: Likewise.
22368 * sysdeps/i386/dl-machine.h: Likewise.
22369 * sysdeps/ia64/dl-machine.h: Likewise.
22370 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22372 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22373 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22374 * sysdeps/sh/dl-machine.h: Likewise.
22375 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22376 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22377 * sysdeps/unix/i386/sysdep.S: Likewise.
22378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22379 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22384 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22388 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22389 * sysdeps/x86_64/dl-machine.h: Likewise.
22390 * tls.make.c: Likewise.
22392 * configure.in: Remove --with-__thread option. Make tests for
22393 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22394 tls_model attribute fail if no support is available. Remove
22396 * Makeconfig: Adjust for dropped configure option. All features are
22398 * Makerules: Likewise.
22399 * Versions.def: Likewise.
22400 * argp/argp-fmtstream.c: Likewise.
22401 * argp/argp-fmtstream.h: Likewise.
22402 * argp/argp-help.c: Likewise.
22403 * assert/assert.c: Likewise.
22404 * config.h.in: Likewise.
22405 * config.make.in: Likewise.
22406 * configure: Likewise.
22407 * configure.in: Likewise.
22408 * csu/Versions: Likewise.
22409 * csu/init.c: Likewise.
22410 * elf/tst-audit2.c: Likewise.
22411 * elf/tst-tls10.c: Likewise.
22412 * elf/tst-tls10.h: Likewise.
22413 * elf/tst-tls11.c: Likewise.
22414 * elf/tst-tls12.c: Likewise.
22415 * elf/tst-tls14.c: Likewise.
22416 * elf/tst-tlsmod11.c: Likewise.
22417 * elf/tst-tlsmod12.c: Likewise.
22418 * elf/tst-tlsmod13.c: Likewise.
22419 * elf/tst-tlsmod13a.c: Likewise.
22420 * elf/tst-tlsmod14a.c: Likewise.
22421 * elf/tst-tlsmod15b.c: Likewise.
22422 * elf/tst-tlsmod16a.c: Likewise.
22423 * elf/tst-tlsmod16b.c: Likewise.
22424 * elf/tst-tlsmod7.c: Likewise.
22425 * elf/tst-tlsmod8.c: Likewise.
22426 * elf/tst-tlsmod9.c: Likewise.
22427 * gmon/gmon.c: Likewise.
22428 * grp/fgetgrent_r.c: Likewise.
22429 * grp/putgrent.c: Likewise.
22430 * hurd/fopenport.c: Likewise.
22431 * include/libc-symbols.h: Likewise.
22432 * include/tls.h: Likewise.
22433 * intl/gettextP.h: Likewise.
22434 * intl/loadinfo.h: Likewise.
22435 * locale/global-locale.c: Likewise.
22436 * locale/localeinfo.h: Likewise.
22437 * mach/devstream.c: Likewise.
22438 * malloc/arena.c: Likewise.
22439 * malloc/set-freeres.c: Likewise.
22440 * misc/err.c: Likewise.
22441 * misc/getttyent.c: Likewise.
22442 * misc/mntent_r.c: Likewise.
22443 * posix/getopt.c: Likewise.
22444 * posix/wordexp.c: Likewise.
22445 * pwd/fgetpwent_r.c: Likewise.
22446 * resolv/Versions: Likewise.
22447 * resolv/res_hconf.c: Likewise.
22448 * shadow/fgetspent_r.c: Likewise.
22449 * shadow/putspent.c: Likewise.
22450 * stdio-common/printf_fphex.c: Likewise.
22451 * stdio-common/tmpfile.c: Likewise.
22452 * stdlib/abort.c: Likewise.
22453 * stdlib/fmtmsg.c: Likewise.
22454 * sunrpc/auth_unix.c: Likewise.
22455 * sunrpc/clnt_perr.c: Likewise.
22456 * sunrpc/clnt_tcp.c: Likewise.
22457 * sunrpc/clnt_udp.c: Likewise.
22458 * sunrpc/clnt_unix.c: Likewise.
22459 * sunrpc/openchild.c: Likewise.
22460 * sunrpc/svc_simple.c: Likewise.
22461 * sunrpc/svc_tcp.c: Likewise.
22462 * sunrpc/svc_udp.c: Likewise.
22463 * sunrpc/svc_unix.c: Likewise.
22464 * sunrpc/xdr.c: Likewise.
22465 * sunrpc/xdr_array.c: Likewise.
22466 * sunrpc/xdr_rec.c: Likewise.
22467 * sunrpc/xdr_ref.c: Likewise.
22468 * sunrpc/xdr_stdio.c: Likewise.
22470 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22472 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22474 2011-07-03 Andreas Jaeger <aj@suse.de>
22476 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22477 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22478 regenerate with gen-libm-tests.pl.
22480 2010-05-12 Petr Baudis <pasky@suse.cz>
22483 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22484 around j0() zero points by switching to j1().
22485 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22490 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22492 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22494 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22497 Patch in part by Pavel Roskin <proski@gnu.org>.
22500 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22502 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22503 Free memory block if necessary.
22506 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22507 be NULL. Don't lock in this case.
22509 2011-09-09 Roland McGrath <roland@hack.frob.com>
22511 * elf/elf.h (ELFOSABI_GNU): New macro.
22512 (ELFOSABI_LINUX): Define to that.
22514 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22516 * string/strncat.c (strncat): Undef the symbol in case it has been
22517 defined in bits/string.h.
22519 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22521 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22523 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22526 2011-08-17 Andreas Jaeger <aj@suse.de>
22528 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22530 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22531 Ian Lance Taylor <iant@google.com>
22533 * math/libm-test.inc (lround_test): New testcase.
22534 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22536 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22538 * Makefile: Remove support for automatic cvs check-ins.
22539 * Makerules: Likewise.
22540 * config.make.in: Likewise.
22541 * configure.in: Likewise.
22542 * intl/Makefile: Likewise.
22543 * locale/Makefile: Likewise.
22544 * po/Makefile: Likewise.
22545 * posix/Makefile: Likewise.
22546 * sysdeps/gnu/Makefile: Likewise.
22547 * sysdeps/mach/hurd/Makefile: Likewise.
22548 * sysdeps/sparc/sparc32/Makefile: Likewise.
22551 * posix/Makefile (bug-regex32-ENV): Define.
22552 Patch by John Stanley <jpsinthemix@verizon.net>.
22554 * misc/Makefile (headers): Add bits/select2.h.
22555 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22556 * misc/bits/select2.h: New file.
22557 * include/bits/select2.h: New file.
22558 * debug/Makefile (routines): Add fdelt_chk.
22559 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22560 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22562 * debug/fdelt_chk.c: New file.
22564 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22565 * wcsmbs/test-wmemcmp.c: Likewise.
22566 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22567 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22569 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22571 * string/Makefile (strop-tests): Add memcmp.
22572 * string/test-wmemcmp.c: New file.
22573 * string/test-memcmp.c: Add wmemcmp support.
22575 2011-09-08 Roland McGrath <roland@hack.frob.com>
22578 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22581 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22582 garbage value in a __mach_port_mod_refs call in the cases of the
22583 task-self and thread-self ports.
22585 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22587 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22589 2011-09-08 Andreas Schwab <schwab@redhat.com>
22591 * elf/dl-load.c (lose): Check for non-null L.
22593 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22595 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22597 * elf/dl-libc.c (dlerror_run): Pass back error code from
22601 * elf/dl-load.c (lose): Free l_origin if it is valid.
22603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22605 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22606 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22607 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22608 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22609 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22610 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22612 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22614 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22615 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22616 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22617 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22618 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22619 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22620 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22621 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22622 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22623 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22625 2011-08-15 Alan Modra <amodra@gmail.com>
22628 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22629 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22630 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22631 ppc_mcount to static-only-routines.
22632 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22634 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22635 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22637 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22639 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22640 for finite and infinity parameters.
22642 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22645 and add nop instructions for throughput optimization.
22646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22648 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22651 aligned copy for power7 with vector-scalar instructions.
22652 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22654 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22659 2011-09-07 Andreas Schwab <schwab@redhat.com>
22662 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22665 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22667 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22668 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22669 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22670 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22673 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22676 Forgot to demangle the pointer.
22678 * sysdeps/i386/sysdep.h: Define atom_text_section.
22679 * sysdeps/x86_64/sysdep.h: Likewise.
22680 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22681 section with atom_text_section.
22682 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22684 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22686 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22688 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22689 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22690 already be defined. Change to take two parameters and don't assign
22691 result to variable. Adjust all users.
22692 Define INTERNAL_GETTIME if not already defined.
22693 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22696 HAVE_CLOCK_GETTIME_VSYSCALL.
22697 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22700 gettimeofday vsyscall, just use time.
22702 2011-09-06 Andreas Schwab <schwab@redhat.com>
22704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22707 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22709 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22713 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22715 syscall if possible.
22717 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22719 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22720 e_ident. Don't pass to find_mapsXX.
22721 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22723 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22726 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22727 * sysdeps/x86_64/multiarch/strchr.S: Update.
22728 Check bit_slow_BSF bit.
22729 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22730 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22731 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22733 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22736 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22738 (tryshell): Define.
22739 (__spawni): Change last parameter to be flag. Test
22740 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22741 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22742 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22743 * posix/spawni.c: Likewise.
22744 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22745 * posix/spawnp.c: Likewise. Change normal version to use
22746 SPAWN_XFLAGS_USE_PATH.
22747 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22748 SPAWN_XFLAGS_TRY_SHELL.
22751 * posix/glob.h: Remove gcc 1.x support.
22754 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22756 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22759 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22761 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22762 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22763 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22764 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22765 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22766 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22768 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22770 * sysdeps/x86_64/wcscmp.S: New file.
22772 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22773 wcscmp-c wcscmp-sse2
22774 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22775 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22776 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22777 * wcsmbs/wcscmp.c: Allow renaming.
22779 2011-09-05 David S. Miller <davem@davemloft.net>
22781 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22782 stack slot, rather than the struct return pointer slot.
22783 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22784 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22786 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22788 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22790 * po/ja.po: Update from translation team.
22793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22794 kernel in 64-bit binaries.
22796 2011-09-01 David S. Miller <davem@davemloft.net>
22798 * elf/elf.h (HWCAP_SPARC_*): Move to..
22799 * sysdeps/sparc/sysdep.h: this new file and add new values.
22800 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22801 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22802 _DL_HWCAP_COUNT to 24.
22803 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22805 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22806 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22807 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22809 instead of magic constants.
22810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22812 2011-08-31 David S. Miller <davem@davemloft.net>
22814 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22816 Reimplement to do errno handling inline.
22817 (SYSCALL_ERROR_HANDLER): New macro.
22818 (__SYSCALL_STRING): Do not do errno handling in asm.
22819 (__CLONE_SYSCALL_STRING): Delete.
22820 (__INTERNAL_SYSCALL_STRING): Delete.
22821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22822 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22823 (PSEUDO): Reimplement to do errno handling inline.
22824 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22825 (SYSCALL_ERROR_HANDLER): New macro.
22826 (__SYSCALL_STRING): Do not do errno handling in asm.
22827 (__CLONE_SYSCALL_STRING): Delete.
22828 (__INTERNAL_SYSCALL_STRING): Delete.
22829 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22830 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22832 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22833 (inline_syscall*): Add 'err' argument.
22834 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22835 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22836 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22837 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22839 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22840 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22842 2011-08-30 Andreas Schwab <schwab@redhat.com>
22844 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22846 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22848 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22851 2011-08-24 David S. Miller <davem@davemloft.net>
22853 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22855 2011-08-24 Andreas Schwab <schwab@redhat.com>
22857 * elf/Makefile: Add rules to build and run unload8 test.
22858 * elf/unload8.c: New file.
22859 * elf/unload8mod1.c: New file.
22860 * elf/unload8mod1x.c: New file.
22861 * elf/unload8mod2.c: New file.
22862 * elf/unload8mod3.c: New file.
22864 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22867 2011-08-23 David S. Miller <davem@davemloft.net>
22869 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22870 subtract stack bias.
22871 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22872 %sp not %fp in calculations.
22873 (_JMPBUF_UNWINDS_ADJ): Likewise.
22875 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22876 (aio_suspend): Call it to force an exception region around the
22877 AIO_MISC_WAIT() invocation.
22879 2011-08-23 Andreas Schwab <schwab@redhat.com>
22881 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22884 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22886 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22888 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22889 and <dl-machine.h>.
22890 (Elf64_FuncDesc): Remove.
22892 2011-08-22 David S. Miller <davem@davemloft.net>
22894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22895 sigaltstack check, add missing cfi directives.
22896 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22897 missing cfi directives, and sigaltstack handling.
22899 2011-08-16 Andreas Schwab <schwab@redhat.com>
22902 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22903 object is seen twice.
22904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22906 * elf/Makefile (distribute): Add tst-initorder2.c.
22907 (tests): Add tst-initorder2.
22908 (modules-names): Add tst-initorder2a tst-initorder2b
22909 tst-initorder2c tst-initorder2d. Add rules to build them.
22910 ($(objpfx)tst-initorder2.out): New rule.
22911 * elf/tst-initorder2.c: New file.
22912 * elf/tst-initorder2.exp: New file.
22914 2011-08-22 Andreas Schwab <schwab@redhat.com>
22916 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22918 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22919 dependencies back to end of function.
22921 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22922 $(elfobjdir)/ld.so.
22924 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22927 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22929 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22930 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22931 of __vdso_gettimeofday.
22932 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22933 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22935 (_libc_vdso_platform_setup): Remove initialization of
22936 __vdso_gettimeofday and __vdso_time.
22938 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22940 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22941 and fgetc_unlocked.
22942 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22945 * elf/dl-open.c (add_to_global): Report additions to the global scope
22946 for LD_DEBUG=scopes.
22947 (dl_open_worker): Also print scope of newly loaded dependencies.
22948 (_dl_show_scope): Indicate if there is no scope.
22951 * stdio-common/Makefile (tests): Add bug24.
22952 * stdio-common/bug24.c: New file.
22954 2011-08-19 Andreas Jaeger <aj@suse.de>
22957 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22958 non-existant file when using close-on-exec mode.
22960 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22963 the very first instruction.
22965 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22966 the CFI state in the end.
22967 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22968 inclusion of dl-trampoline.h.
22969 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22971 2011-08-19 Andreas Schwab <schwab@redhat.com>
22973 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22974 expectations for long double.
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22977 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22979 2011-08-14 David S. Miller <davem@davemloft.net>
22981 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22982 artificual limit depends upon the system page size.
22984 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22986 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22987 * resolv/Makefile: Define CFLAGS-libresolv.
22989 2011-08-17 Andreas Schwab <schwab@redhat.com>
22991 * nss/makedb.c (compute_tables): Make variables used in nested
22994 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22996 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22997 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22998 if buffer was too small.
23000 * elf/pldd.c (main): Attach to all threads in the process.
23001 Rewrite /proc handling to use *at functions.
23003 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23005 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23006 specifies first scope to show.
23007 (dl_open_worker): Update callers. Move printing scope of new
23008 object to before the relocation.
23009 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23010 * sysdeps/generic/ldsodefs.h: Update declaration.
23012 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23013 string for the scope number.
23015 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23017 * nscd/servicescache.c (cache_addserv): Make sure written is always
23020 2011-08-14 Roland McGrath <roland@hack.frob.com>
23022 * sysdeps/i386/i486/bits/atomic.h
23023 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23024 statement expression, so as to suppress "set but not used" warning.
23025 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23027 * string/strncat.c (STRNCAT): Use prototype definition.
23029 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23030 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23032 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23033 (localedef-modules): Add localedef.
23034 (locale-modules): Add locale.
23036 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23037 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23038 to avoid a warning.
23040 2011-08-14 David S. Miller <davem@davemloft.net>
23042 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23043 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23045 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23047 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23048 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23049 * elf/rtld.c (dl_main): Set l_name of vDSO.
23050 Call _dl_show_scope when DL_DEBUG_SCOPES.
23051 (process_dl_debug): Recognize scopes flag and also set it for all.
23052 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23053 Declare _dl_show_scope.
23055 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23056 (do_dlopen): Pass caller_dlopen to dl_open.
23057 (__libc_dlopen_mode): Initialize caller_dlopen.
23059 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23060 of libc. Make tolower call locale-independent. Optimize a bit by
23061 using isdigit instead of isalnum.
23062 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23064 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23066 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23067 was a dependency or dynamically loaded.
23069 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23071 * intl/l10nflist.c: Allow architecture-specific pop function.
23072 * sysdeps/x86_64/l10nflist.c: New file.
23074 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23077 2011-08-10 Andreas Schwab <schwab@redhat.com>
23079 * include/dirent.h: Add libc_hidden_proto for scandirat and
23080 scandirat64. Don't declare __scandirat64.
23081 * dirent/scandirat.c: Add libc_hidden_def.
23082 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23083 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23085 2011-08-10 David S. Miller <davem@davemloft.net>
23087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23093 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23095 * Versions.def [libc]: Add GLIBC_2.15.
23096 * dirent/Makefile (routines): Add scandirat and scandirat64.
23097 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23099 * dirent/dirent.h: Declare scandirat and scandirat64.
23100 * dirent/scandirat.c: New file.
23101 * dirent/scandirat64.c: New file.
23102 * sysdeps/wordsize-64/scandirat.c: New file.
23103 * sysdeps/wordsize-64/scandirat64.c: New file.
23104 * dirent/opendir.c: Define opendirat.
23105 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23107 * dirent/scandir64.c: Adjust for scandir.c change.
23108 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23109 __scandirat64, and __scandir_cancel_handler.
23110 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23111 additional parameter and use openat instead of open (outside of ld.so).
23112 Add new __opendir as wrapper around __opendirat.
23113 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23114 here without requiring old scandirat implementation.
23116 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23118 * dirent/scandir.c (cancel_handler): Renamed to
23119 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23120 defined. Adjust users.
23121 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23122 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23124 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23126 * string/test-string.h (IMPL): Use __STRING to expand name and then
23129 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23132 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23134 * string/Makefile: Update.
23135 (strop-tests): Append strncat.
23136 * string/test-wcscmp.c: New file.
23137 New comprehensive test for wcscmp.
23138 * string/test-strcmp.c: Update.
23139 (WIDE): New define.
23141 2011-07-22 Andreas Schwab <schwab@redhat.com>
23143 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23146 2011-07-26 Andreas Schwab <schwab@redhat.com>
23148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23149 encoding to ACE if AI_IDN.
23151 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23154 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23156 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23158 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23159 Fix overflow bug in strncat.
23160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23162 * string/test-strncat.c: Update.
23163 Add new tests for checking overflow bugs.
23165 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23168 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23169 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23170 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23171 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23172 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23173 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23174 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23175 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23178 (USE_AS_STRCAT): Define.
23179 Add strcat and strncat support.
23180 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23182 2011-07-25 Andreas Schwab <schwab@redhat.com>
23184 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23185 __n bigger than INT_MAX+1.
23186 (__strncmp_g): Likewise.
23188 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23190 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23191 * libio/stido.h: Likewise.
23193 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23198 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23199 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23201 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23205 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23210 (_dl_x86_64_save_sse): Likewise.
23212 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23216 (_dl_x86_64_save_sse): Likewise.
23218 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23220 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23222 2011-07-21 Andreas Schwab <schwab@redhat.com>
23224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23226 (_dl_x86_64_save_sse): Use correct AVX check.
23228 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23230 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23231 bug in strncpy/strncat.
23232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23234 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23236 * string/tester.c (test_strcat): Add tests for different alignments
23237 of source and destination.
23238 (test_strncat): Likewise.
23240 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23243 * posix/glob.c (glob): Check passed in values before using them in
23244 expressions to avoid some overflows.
23245 (glob_in_dir): Likewise.
23248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23249 check for AVX enablement so that we don't crash with old kernels and
23251 * elf/tst-audit4.c: Add same checks here.
23252 * elf/tst-audit6.c: Likewise.
23254 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23256 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23258 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23260 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23262 * po/cs.po: Update from translation team.
23263 * po/bg.po: Likewise.
23265 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23267 * misc/sys/cdefs.h: Add support for const attribute.
23268 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23269 to gnu_dev_{major,minor,makedev} functions.
23271 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23273 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23275 2011-07-20 Andreas Schwab <schwab@redhat.com>
23277 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23280 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23283 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23284 register in order to avoid conflicts with the soft frame pointer
23285 being held in r11 when necessary.
23286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23287 (INTERNAL_VSYSCALL_NCS): Likewise.
23289 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23291 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23292 * elf/dl-fini.c (_dl_fini): Adjust caller.
23293 * elf/dl-close.c (_dl_close_worker): Likewise.
23294 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23296 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23298 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23299 "aux_cache->nlibs < 0".
23301 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23302 in the reload-count case.
23304 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23307 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23308 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23309 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23310 * sysdeps/x86_64/multiarch/strcat.S: New file.
23311 * sysdeps/x86_64/multiarch/strncat.S: New file.
23312 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23313 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23314 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23315 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23317 (USE_AS_STRCAT): Define.
23318 Add strcat and strncat support.
23319 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23321 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23322 * string/strncat.c: Update.
23323 (USE_AS_STRNCAT): Define.
23324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23325 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23327 * sysdeps/x86_64/multiarch/init-arch.h
23328 (bit_Prefer_PMINUB_for_stringop): New.
23329 (index_Prefer_PMINUB_for_stringop): Likewise.
23330 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23331 bit_Prefer_PMINUB_for_stringop.
23333 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23335 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23337 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23338 of casting of buffer.
23339 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23340 buffer32 and buffer64.
23341 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23342 writes instead of casting of buffer.
23343 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23345 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23348 2011-07-19 Andreas Schwab <schwab@redhat.com>
23350 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23352 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23354 * nscd/nscd.c (termination_handler): Don't do anything for a database
23355 if it has not yet been initialized.
23357 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23359 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23361 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23363 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23365 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23367 * po/nl.po: Update from translation team.
23368 * po/sv.po: Likewise.
23370 2011-07-16 Roland McGrath <roland@hack.frob.com>
23372 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23373 now disallowed by GCC.
23375 * configure.in (use-default-link): Default to yes if a test -shared
23376 link meets our qualifications.
23377 * configure: Regenerated.
23379 * config.make.in (output-format): New variable.
23380 * configure.in: Check for ld --print-output-format support.
23381 * configure: Regenerated.
23382 * Makerules ($(common-objpfx)format.lds)
23383 [$(output-format) != unknown]: Just use $(output-format),
23384 instead of the linker-script munging.
23386 2011-07-14 Roland McGrath <roland@hack.frob.com>
23388 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23389 of $(common-objpfx)shlib.lds.
23390 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23392 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23393 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23395 * configure.in (-z relro check): Adjust test code to add a large
23396 writable data section after it.
23397 * configure: Regenerated.
23399 2011-07-11 Roland McGrath <roland@hack.frob.com>
23401 * configure.in (-z relro check): Fix test code to make the variable
23403 * configure: Regenerated.
23405 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23407 * nscd/nscd.h (struct traced_file): Define.
23408 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23409 elements. Add traced_files.
23410 (inotify_fd): Declare.
23411 (register_traced_file): Declare.
23412 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23413 (inotify_fd): Export.
23414 (resolv_conf_descr): Remove.
23415 (nscd_init): Move inotify descriptor creation to main.
23416 Don't register files for notification here.
23417 (register_traced_file): New function.
23418 (invalidate_cache): Don't use reset_res to determine whether to call
23419 res_init, go through the list of registered files.
23420 (main_loop_poll): The inotify descriptors are now stored in the
23421 structures for the traced files.
23422 (main_loop_epoll): Likewise
23423 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23424 to __nss_disable_nscd.
23425 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23426 for a database anymore. Check the records for all the registered
23428 * nss/Makefile (libnss_files-routines): Add files-init.
23429 (libnss_db-routines): Add db-init.
23430 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23431 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23432 * nss/nss_db/db-init.c: New file.
23433 * nss/nss_files/files-init.c: New file.
23434 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23435 __nss_lookup_function.
23436 (__nss_lookup_function): Call nss_load_library.
23437 (nss_load_all_libraries): New function.
23438 (__nss_disable_nscd): Take parameter with callback function for files
23439 to register. Set is_nscd. Load all the DSOs for the NSS modules
23440 used for the cached services.
23441 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23442 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23443 options for features to all the files in nscd.
23445 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23447 2011-07-10 Roland McGrath <roland@hack.frob.com>
23449 * csu/elf-init.c (__libc_csu_init): Comment typo.
23451 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23453 * po/pl.po: Update from translation team.
23454 * po/ja.po: Likewise.
23455 * po/ru.po: Likewise.
23456 * po/ko.po: Likewise.
23457 * po/fr.po: Likewise.
23459 2011-07-09 Roland McGrath <roland@hack.frob.com>
23461 * configure.in (.ctors/.dtors header and trailer check):
23462 Use an empirical test on a built program.
23463 * configure: Regenerated.
23465 * configure.in (-z relro check): Use an empirical test on a built DSO.
23466 Detect, but do not require, on ia64.
23467 * configure: Regenerated.
23469 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23470 Update tests that use readelf to use $READELF instead.
23471 * configure: Regenerated.
23473 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23475 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23476 if the result is not used.
23478 2011-07-05 Andreas Jaeger <aj@suse.de>
23481 * stdlib/tst-strtod.c: Add testcase.
23483 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23485 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23486 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23487 The latter has a higher limit. Take additional parameter to pass to
23489 (__pathconf): Pass file to __statfs_link_max.
23490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23492 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23496 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23497 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23500 (__statfs_filesize_max): Likewise.
23501 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23503 2011-07-05 Andreas Jaeger <aj@suse.de>
23505 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23507 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23509 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23511 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23514 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23516 * Makefile (strop-tests): Add strncat.
23517 * string/test-strncat.c: New file.
23519 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23521 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23523 2011-06-21 Andreas Jaeger <aj@suse.de>
23525 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23526 Copy rule from iconvdata/Makefile.
23528 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23531 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23532 but no long options are defined, just return 'W'.
23534 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23537 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23539 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23541 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23543 (innetgr): Likewise.
23545 2011-07-05 Roland McGrath <roland@hack.frob.com>
23547 * config.make.in (install_root): Default to $(DESTDIR).
23549 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23553 2011-07-02 Roland McGrath <roland@hack.frob.com>
23555 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23557 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23558 containing directory rather than embedding absolute directory names.
23560 * scripts/check-local-headers.sh: Rewritten using awk.
23561 Match by word, not by line. Print error messages for matches.
23562 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23564 * Makerules [shlib-lds-flags empty]:
23565 ($(common-objpfx)libc_pic.opts): New target.
23566 ($(common-objpfx)libc_pic.os.clean): New target.
23567 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23569 * config.make.in (OBJCOPY): New variable.
23570 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23571 * configure: Regenerated.
23573 * config.make.in (use-default-link): New variable.
23574 * configure.in (use_default_link): Grok --with-default-link to set it.
23575 * configure: Regenerated.
23576 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23577 (shlib-lds, shlib-lds-flags): Define to empty.
23579 * Makerules (shlib-lds): New variable.
23580 (shlib-lds-flags): New variable.
23581 (build-shlib, build-moduile, build-module-asneeded): Use it.
23582 ($(common-objpfx)libc.so): Use $(shlib-lds).
23583 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23584 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23586 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23587 DT_FLAGS/DT_FLAGS_1 with zero flags.
23589 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23590 linker script munging.
23592 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23594 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23596 * crypt/sha512.c (sha512_process_block): Perform total addition using
23597 128-bit if possible.
23598 (__sha512_finish_ctx): Likewise.
23599 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23601 * crypt/sha256.c (SWAP64): Define.
23602 (sha256_process_block): Perform total addition using 64-bit if
23604 (__sha256_finish_ctx): Likewise.
23606 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23608 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23610 * nscd/hstcache.c (cache_addhst): Likewise.
23611 * nscd/grpcache.c (cache_addgr): Likewise.
23612 * nscd/aicache.c (addhstaiX): Likewise
23613 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23615 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23617 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23619 * nscd/hstcache.c (cache_addhst): Likewise.
23620 * nscd/grpcache.c (cache_addgr): Likewise.
23621 * nscd/aicache.c (addhstaiX): Likewise
23623 2011-07-01 Andreas Schwab <schwab@redhat.com>
23625 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23626 domain only when needed.
23628 2011-06-30 Andreas Schwab <schwab@redhat.com>
23630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23631 is always restored.
23633 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23635 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23636 are re-adding the entry.
23637 * nscd/servicescache.c (cache_addserv): Likewise.
23639 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23641 * sysdeps/generic/dl-irel.h: fix protection against multiple
23643 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23645 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23648 * malloc/memusage.sh: Fix quoting in message.
23649 * debug/xtrace.sh: Likewise.
23651 * configure.in: Remove support for --experimental-malloc option, make
23653 * config.make.in: Likewise.
23654 * malloc/Makefile: Likewise.
23656 2011-06-27 Andreas Schwab <schwab@redhat.com>
23658 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23659 two-byte characters.
23661 2011-06-27 Roland McGrath <roland@hack.frob.com>
23663 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23664 AC_CACHE_CHECK invocation.
23665 * configure: Regenerated.
23667 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23669 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23672 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23673 bit from old_res_options.
23675 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23677 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23678 value type for setfct.
23680 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23683 __gettimeofday instead of gettimeofday.
23685 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23687 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23689 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23691 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23693 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23696 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23699 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23700 strcpy-sse2-unaligned strncpy-sse2-unaligned
23701 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23702 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23703 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23704 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23705 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23708 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23709 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23710 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23711 (STRCPY): Support SSE2 and SSSE3 versions.
23713 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23716 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23717 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23718 kernels which artificially limit size of requests.
23720 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23723 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23724 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23725 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23726 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23727 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23728 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23729 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23730 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23731 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23732 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23733 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23734 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23735 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23736 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23738 Enable unaligned load optimization for Intel Core i3, i5 and i7
23740 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23742 (index_Fast_Unaligned_Load): Define.
23743 (HAS_FAST_UNALIGNED_LOAD): Define.
23745 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23747 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23749 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23753 until it is clear that the information is realy needed.
23754 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23756 2011-06-22 Andreas Schwab <schwab@redhat.com>
23758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23760 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23763 /sys/devices/system/cpu/online if it is usable.
23765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23766 reading the information from the /proc filesystem to once a second.
23768 2011-06-21 Andreas Jaeger <aj@suse.de>
23770 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23771 NULL after inclusion of kernel headers.
23773 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23775 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23776 calls to internal_setent.
23779 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23780 addresses using gethostbyname4_r ignore IPv4 addresses.
23782 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23783 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23785 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23787 2011-06-20 David S. Miller <davem@davemloft.net>
23789 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23791 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23793 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23794 (elf_irel): Use it.
23795 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23796 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23797 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23798 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23799 * sysdeps/x86_64/dl-irel.h: Likewise.
23801 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23802 * elf/dl-sym.c: Likewise.
23804 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23806 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23807 need to dereference resplen2.
23809 2011-06-14 Andreas Schwab <schwab@redhat.com>
23811 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23813 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23815 * Makeconfig: Define vardbdir and inst_vardbdir.
23816 * nss/Makefile: Add rules to install db-Makefile.
23818 * nss/nss_db/db-XXX.c: Cleanup.
23820 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23821 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23823 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23824 * nss/makedb.c: Implement -g option to specify that value strings
23825 are generated and should not be added to table iterated over for
23827 * nss/nss_db/db-initgroups.c: New file.
23829 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23832 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23833 (internal_getgrouplist): Adjust to name change.
23834 Update use_initgroups_entry if this is not the first call.
23835 * nss/databases.def: Add initgroups entry.
23837 * nss/makedb.c (compute_tables): Check result of multiple hash table
23838 sizes to minimize maximum chain length.
23840 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23842 * Versions.def: Add entry for libnss_db.
23843 * shlib-versions: Likewise.
23844 * nss/Makefile: Add rules to build libnss_db.
23845 * nss/Versions: Add libnss_db information. Organize libnss_files
23847 * nss/db-Makefile: Add gshadow support. Change rules for the new
23848 makedb progra. Some minor improvements to generate smaller files.
23849 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23851 * nss/makedb.c: ...here.
23852 Improve database format to be smaller and require less memory at
23854 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23856 * nss/nss_db/db-netgrp.c: Likewise.
23857 * nss/nss_db/db-open.c: Likewise.
23858 * nss/nss_files/flies-XXX.x: Adjust comments.
23859 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23860 * nss/nss_files/files-grp.c: Likewise.
23861 * nss/nss_files/files-hosts.c: Likewise.
23862 * nss/nss_files/files-network.c: Likewise.
23863 * nss/nss_files/files-proto.c: Likewise.
23864 * nss/nss_files/files-pwd.c: Likewise.
23865 * nss/nss_files/files-rpc.c: Likewise.
23866 * nss/nss_files/files-service.c: Likewise.
23867 * nss/nss_files/files-sgrp.c: Likewise.
23868 * nss/nss_files/files-spwd.c: Likewise.
23869 * nss/nss_db/db-alias.c: Removed.
23870 * nss/nss_db/dummy-db.h: Removed.
23872 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23874 * nss/makedb.c: Rewritten to not use database library.
23875 * nss/Makefile: Update to build new makedb program.
23877 2011-06-14 Andreas Jaeger <aj@suse.de>
23879 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23880 memset declaration.
23882 2011-06-10 Andreas Schwab <schwab@redhat.com>
23884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23887 2011-06-10 Roland McGrath <roland@hack.frob.com>
23889 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23890 * elf/Makefile ($(objpfx)ld.so): Likewise.
23892 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23893 Don't list ld.so twice in dependencies.
23895 * posix/bug-regex31.c: Include <stdlib.h>.
23897 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23899 * nis/nss_compat/compat-spwd.c
23900 (getspent_next_nss_netgr): Remove unused variable.
23901 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23903 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23904 nonmembers" output to use the right array.
23906 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23908 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23910 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23911 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23912 * catgets/gencat.c (read_input_file): Likewise.
23913 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23915 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23916 variable definition inside #if's controlling its use.
23918 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23920 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23922 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23924 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23927 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23929 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23930 * configure: Regenerated.
23932 * Makerules: Revert last change.
23933 * elf/Makefile: Likewise.
23935 2011-06-09 Roland McGrath <roland@hack.frob.com>
23937 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23938 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23939 (reloc-link): Likewise.
23941 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23943 * elf/Makefile: Add rules to build pldd.
23944 * elf/pldd.c: New file.
23945 * elf/pldd-xx.c: New file.
23947 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23949 * version.h: Update for 2.15 development version.
23951 2011-06-07 David S. Miller <davem@davemloft.net>
23953 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23955 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23956 elf_machine_lazy_rel): Likewise.
23957 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23959 elf_machine_lazy_rel): Likewise.
23960 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23961 dl_hwcap via passed in argument.
23962 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23965 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23967 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23969 2011-06-06 Roland McGrath <roland@hack.frob.com>
23972 * manual/fdl-1.1.texi: New file, verbatim from:
23973 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23974 * manual/lgpl-2.1.texi: New file, verbatim from:
23975 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23976 * manual/Makefile (licenses): New variable, list those new file names.
23978 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23980 * manual/fdl.texi: File removed.
23981 * manual/lesser.texi: File removed.
23982 * manual/libc.texinfo (Copying, Documentation License):
23983 Use new @include file names, put @appendix directive before @include.
23985 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23988 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23989 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23990 (mq_open): Add __NTH.
23992 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23995 Assume Intel Core i3/i5/i7 processor if AVX is available.
23997 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24002 2011-05-31 Andreas Schwab <schwab@redhat.com>
24004 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24005 memory. Use alloca_account. Fix memory leak when retrying.
24007 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24009 * version.h (RELEASE): Bump for 2.14 release.
24010 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24012 * config.make.in (RANLIB): Remove entry.
24014 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24016 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24017 (libc.pot): Work around missing support for .ksh extension in xgettext.
24020 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24021 if both request failed.
24022 (send_dg): In case of server errors clear resplen or *resplen2.
24025 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24026 when there are multiple maps.
24027 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24028 (_dl_fini): Remove test here.
24030 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24032 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24035 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24036 bit from old_res_options.
24037 (gaih_inet): Likewise.
24040 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24043 * resolv/res_init.c (res_setoptions): Make the code more compact.
24046 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24050 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24052 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24055 * malloc/malloc.h: Declare malloc hook variables as volatile.
24057 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24061 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24062 raise in the comment.
24063 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24065 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24067 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24070 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24071 grow the buffers more if it already has to be sufficient.
24072 (build_wcs_upper_buffer): Likewise.
24073 * posix/regexec.c (check_matching): Likewise.
24074 (clean_state_log_if_needed): Likewise.
24075 (extend_buffers): Don't enlarge buffers beyond size of the input
24077 Patches mostly by Emil Wojak <emil@wojak.eu>.
24078 * posix/bug-regex32.c: New file.
24079 * posix/Makefile (tests): Add bug-regex32.
24081 * locale/findlocale.c (_nl_find_locale): Return right away if
24082 _nl_explode_name failed.
24083 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24085 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24087 * debug/xtrace.sh: Unify messages.
24088 * malloc/memusage.sh: Likewise.
24091 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24092 time symbol from vDSO. Substitute with vsyscall if not available.
24093 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24096 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24097 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24098 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24099 Add sendmmsg and internal_sendmmsg.
24100 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24101 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24102 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24104 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24105 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24108 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24111 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24112 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24118 * iconvdata/Makefile (tests): Add bug-iconv9.
24119 * iconvdata/bug-iconv9.c: New file.
24121 2011-05-27 Andreas Schwab <schwab@redhat.com>
24124 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24126 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24129 (struct user_regs_struct): Change intcs field back to cs.
24131 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24133 * po/ja.po: Update from translation team.
24135 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24138 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24141 2011-05-20 Andreas Schwab <schwab@redhat.com>
24143 * stdlib/longlong.h: Update from GCC.
24145 2011-05-23 Andreas Schwab <schwab@redhat.com>
24147 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24149 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24150 Add parameter name.
24151 (__sysconf): Pass it down.
24153 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24156 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24158 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24159 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24160 add in in __libc_use_alloca calls. Adjust callers.
24161 (glob): Use malloc in some situations.
24163 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24164 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24167 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24169 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24170 and CLOCK_BOOTTIME_ALARM.
24173 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24176 * string/_strerror.c (__strerror_r): Print negative errors as signed
24180 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24181 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24182 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24184 * configure.in: Fix typo in redirection and correct removal of test
24185 files in two cases.
24188 * locale/setlocale.c (new_composite_name): Fix test to check for
24189 identical name of all categories.
24192 * libio/filedoalloc.c (local_isatty): New function.
24193 (_IO_file_doallocate): Use local_isatty.
24194 * stdio-common/perror.c (perror): In case a new stream is used
24195 forward the stream error.
24196 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24199 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24204 * include/alloca.h (extend_alloca_account): Define.
24207 * posix/regex.h: Fix comments with documentation of user-accessible
24208 fields after compilation and describe correct free'ing of pattern
24209 after re_compile_pattern.
24210 Patch by Reuben Thomas <rrt@sc3d.org>.
24212 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24214 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24215 and -mno-altivec to prevent the compiler from using Altivec and/or
24216 VSX instructions when the corresponding registers are not available.
24218 2011-05-19 Andreas Schwab <schwab@redhat.com>
24220 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24222 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24224 * libio/freopen.c (freopen): Use __dup2, not dup2.
24225 * libio/freopen64.c (freopen64): Likewise.
24227 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24230 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24231 * math/Makefile (tests): Add test-powl.
24232 (CFLAGS-test-powl.c): Define.
24233 * math/test-powl.c: New file.
24235 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24237 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24239 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24242 * iconvdata/gb18030.c: Update to GB18020-2005.
24244 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24246 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24247 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24248 Patch by Aharon Robbins <arnold@skeeve.com>.
24251 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24255 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24256 through underflows.
24259 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24260 point to strings before performing equality test for error_one_per_line
24264 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24268 (struct user_fpregs_struct): Avoid __uint*_t types.
24271 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24272 symbol info. Use it instead of calling _dl_addr locally.
24273 (lock_and_info): New function.
24274 (tr_freehook): Call lock_and_info and pass symbol info as additional
24275 parameter to tr_where.
24276 (tr_mallochook): Likewise.
24277 (tr_reallochook): Likewise.
24278 (tr_memalignhook): Likewise.
24280 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24281 used and couldn't be at all thread-safe.
24283 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24285 * libio/freopen.c (freopen): Don't close old file descriptor
24286 before the new one is opened. Instead dup the new file descriptor
24287 to the old one after the new stream is created.
24288 * libio/freopen64.c (freopen64): Likewise.
24289 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24290 * libio/fileops.c (_IO_new_file_close_it): Handle new
24291 _IO_FLAGS2_NOCLOSE flag.
24292 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24293 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24294 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24295 _IO_FLAGS2_NOCLOSE flag.
24296 * include/unistd.h: Add hidden_proto for dup3.
24297 Define __have_dup3.
24298 * io/dup3.c: Define hidden symbol.
24299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24302 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24303 when an incomplete long option is used.
24304 * posix/tst-getopt_long1.c: New file.
24305 * posix/Makefile (tests): Add tst-getopt_long1.
24308 * scripts/config.guess: Update from autoconf-2.68.
24309 * scripts/config.sub: Likewise.
24312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24314 (has_cpuclock): ...this. New function.
24315 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24316 macro here based on has_cpuclock code.
24319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24320 First byte (not low byte) is now always NUL.
24321 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24324 Use non-cancelable interfaces.
24327 * locale/iso-639.def: Add entry for Sorani.
24330 * include/stdlib.h: Move include protection to the right place.
24331 Define abort_msg_s. Declare __abort_msg with it.
24332 * stdlib/abort.c (__abort_msg): Adjust type.
24333 * assert/assert.c (__assert_fail_base): New function. Majority
24334 of code from __assert_fail. Allocate memory for __abort_msg with
24336 (__assert_fail): Now call __assert_fail_base.
24337 * assert/assert-perr.c: Remove bulk of implementation. Use
24338 __assert_fail_base.
24339 * include/assert.hL Declare __assert_fail_base.
24340 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24342 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24344 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24348 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24349 until all modules are registered in the DTV.
24350 * elf/Makefile: Add rules to build and run tst-tls19.
24351 * elf/tst-tls19.c: New file.
24352 * elf/tst-tls19mod1.c: New file.
24353 * elf/tst-tls19mod2.c: New file.
24354 * elf/tst-tls19mod3.c: New file.
24355 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24358 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24362 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24363 two-byte sequence errors.
24364 * iconvdata/Makefile (tests): Add bug-iconv8.
24365 * iconvdata/bug-iconv8.c: New file.
24368 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24371 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24374 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24375 (dummy_getcfa): New function.
24376 (init): Get _Unwind_GetCFA address, use dummy if not found.
24377 (backtrace_helper): In recursion check, also check whether CFA changes.
24378 (__backtrace): Completely initialize arg.
24380 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24381 storing incomplete byte sequence in state object. Avoid testing for
24382 guaranteed too small input if we know there is enough data available.
24384 2011-05-11 Andreas Schwab <schwab@redhat.com>
24386 * Makeconfig (+link-pie): Indent.
24387 * Rules (binaries-pie): Define if $(have-fpie) and
24389 (binaries-shared): Also filter out $(binaries-pie).
24390 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24391 * nscd/Makefile (others-pie): Add nscd.
24392 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24393 ($(objpfx)nscd): Remove command override.
24394 * login/Makefile (others-pie): Add pt_chown.
24395 ($(objpfx)pt_chown): Remove command override.
24396 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24397 remove command overrides.
24399 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24401 * libio/tst_putwc.c: Fix error messages.
24404 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24405 currently writing and seek to current position when not.
24406 * libio/Makefile (tests): Add bug-fclose1.
24407 * libio/bug-fclose1.c: New file.
24409 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24412 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24413 don't set DF_1_NODELETE here.
24414 (do_lookup_x): When entering new entry test for copy relocation
24415 and if necessary set DF_1_NODELETE flag.
24416 * elf/tst-unique4.cc: New file.
24417 * elf/tst-unique4.h: New file.
24418 * elf/tst-unique4lib.cc: New file.
24419 * elf/Makefile: Add rules to build and run tst-unique4.
24420 Patch by Piotr Bury <pbury@goahead.com>.
24422 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24425 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24428 * misc/mntent_r.c (addmntent): Flush the stream after the output
24431 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24432 (is_trusted_path_normalize): Skip initial colon. Append slash
24433 to empty buffer. Duplicate is_trusted_path code but allow
24434 constructed patch to be prefix.
24435 (is_dst): Allow $ORIGIN followed by /.
24436 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24437 Correct testing of result of is_trusted_path_normalize
24438 (decompose_rpath): Fix warning.
24440 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24443 * grp/initgroups.c (internal_getgrouplist): When we found the service
24444 list through the initgroups entry in nsswitch.conf do not always
24445 continue on a successful lookup. Don't always use the
24446 __nss_group_database value if it is set.
24447 * nss/nsswitch.conf (initgroups): Change action for successful db
24448 lookup to continue for compatibility.
24450 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24453 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24455 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24457 * iconvdata/tst-tables.sh: Likewise.
24458 * iconvdata/cp770.c: New file.
24459 * iconvdata/cp771.c: New file.
24460 * iconvdata/cp772.c: New file.
24461 * iconvdata/cp773.c: New file.
24462 * iconvdata/cp774.c: New file.
24463 * iconvdata/testdata/CP770: New file.
24464 * iconvdata/testdata/CP770..UTF8: New file.
24465 * iconvdata/testdata/CP771: New file.
24466 * iconvdata/testdata/CP771..UTF8: New file.
24467 * iconvdata/testdata/CP772: New file.
24468 * iconvdata/testdata/CP772..UTF8: New file.
24469 * iconvdata/testdata/CP773: New file.
24470 * iconvdata/testdata/CP773..UTF8: New file.
24471 * iconvdata/testdata/CP774: New file.
24472 * iconvdata/testdata/CP774..UTF8: New file.
24474 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24476 * iconvdata/gen-8bit-gap.sh: Likewise.
24477 * iconvdata/gen-8bit.sh: Likewise.
24479 * locale/iso-639.def: Add ary entry.
24482 * locale/C-translit.h.in: Add U20A1 transliteration.
24485 * locale/iso-639.def: Add wae entry.
24486 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24489 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24493 * locale/C-translit.h.in: Add entry for U20B9.
24494 Patch by pravin.d.s@gmail.com.
24496 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24499 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24500 ENAMETOOLONG use generic getcwd.
24501 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24502 in rtld. Use *stat64.
24503 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24504 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24505 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24506 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24507 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24508 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24509 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24510 __fstatat64 macros.
24511 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24512 * dirent/rewinddir.c: Add libc_hidden_def.
24513 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24514 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24516 * include/dirent.h (__alloc_dir): Add flags parameter.
24517 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24518 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24520 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24521 from fdopendir if O_CLOEXEC is already set.
24523 2011-03-15 Alan Modra <amodra@gmail.com>
24525 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24526 l_tls_firstbyte_offset non-zero. Save padding offset in
24527 l_tls_firstbyte_offset for later use.
24528 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24529 freeing static tls block.
24531 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24533 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24534 where #ifdef was intended. The intent is to prevent ARG_MAX from
24535 being defined by the kernel headers.
24537 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24540 * resolv/resolv.h: Define RES_NOTLDQUERY.
24541 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24542 no-tld-query and set RES_NOTLDQUERY.
24543 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24544 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24545 modern BIND to search name as TLD unless forbidden.
24547 2011-05-07 Petr Baudis <pasky@suse.cz>
24548 Ulrich Drepper <drepper@gmail.com>
24551 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24552 (is_trusted_path): ...to here.
24553 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24554 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24555 using is_trusted_path_normalize() in setuid scripts.
24557 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24559 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24560 __BEGIN/__END_DECLS.
24562 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24565 NSS_STATUS_NOTFOUND if no record was found.
24567 2011-05-05 Andreas Schwab <schwab@redhat.com>
24569 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24570 (headers-not-in-tirpc): Remove rpc/netdb.h
24571 * resolv/netdb.h: Revert last change.
24573 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24575 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24576 circular dependency between libgcc.a and libc.a.
24578 2011-05-05 Andreas Schwab <schwab@redhat.com>
24580 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24581 * nis/Makefile: Don't install rpcsvc/*.
24582 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24583 instead of <rpc/types.h>.
24584 (MAXHOSTNAMELEN): Define.
24586 2011-05-03 Andreas Schwab <schwab@redhat.com>
24588 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24590 2011-04-28 Maciej Babinski <mbabinski@google.com>
24593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24594 gethostbyname4_r when IPv6 results are possible.
24596 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24599 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24600 _PC_PIPE_BUF handling.
24602 2011-04-30 Bruno Haible <bruno@clisp.org>
24605 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24606 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24608 * inet/getnameinfo.c (getnameinfo): Likewise.
24610 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24612 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24613 to groups setting in database lookup.
24614 * nss/nsswitch.conf: Add initgroups entry.
24616 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24619 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24621 Patch by Eric Blake <eblake@redhat.com>.
24623 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24625 * sunrpc/Makefile (need-export-routines): Add svc_run.
24626 (routines): Remove svc_run.
24627 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24628 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24629 * sunrpc/svc_run.c (svc_run): Likewise.
24630 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24632 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24635 problem in reallocation in last patch.
24637 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24639 * sunrpc/Makefile: Move inclusion of Rules.
24641 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24643 * nss/nss_files/files-initgroups.c: New file.
24644 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24645 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24646 _nss_files_initgroups_dyn.
24648 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24650 * elf/elf.h (R_ARM_IRELATIVE): Define.
24652 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24654 * po/ru.po: Update from translation team.
24656 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24658 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24661 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24664 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24665 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24666 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24670 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24672 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24674 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24675 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24678 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24681 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24683 * stdlib/bug-getcontext.c: New file.
24684 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24686 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24688 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24689 instructions into .machine "z9-109".
24690 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24691 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24693 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24695 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24696 between environment variables and auxiliary vector.
24698 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24700 * Makefile: Add rules to build linkobj/libc.so.
24701 * include/libc-symbols.h: Define libc_hidden_nolink.
24702 * include/rpc/auth.h: Mark functions which are to be hidden.
24703 * include/rpc/auth_des.h: Likewise.
24704 * include/rpc/auth_unix.h: Likewise.
24705 * include/rpc/clnt.h: Likewise.
24706 * include/rpc/des_crypt.h: Likewise.
24707 * include/rpc/key_prot.h: Likewise.
24708 * include/rpc/pmap_clnt.h: Likewise.
24709 * include/rpc/pmap_prot.h: Likewise.
24710 * include/rpc/pmap_rmt.h: Likewise.
24711 * include/rpc/rpc_msg.h: Likewise.
24712 * include/rpc/svc.h: Likewise.
24713 * include/rpc/svc_auth.h: Likewise.
24714 * include/rpc/xdr.h: Likewise.
24715 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24716 * nss/Makefile: Likewise.
24717 * sunrpc/Makefile: Don't install headers. Build library with normal
24718 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24719 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24720 for the compat linking library. Remove use of INTDEF/INTUSE.
24721 * sunrpc/auth_none.c: Likewise.
24722 * sunrpc/auth_unix.c: Likewise.
24723 * sunrpc/authdes_prot.c: Likewise.
24724 * sunrpc/authuxprot.c: Likewise.
24725 * sunrpc/clnt_gen.c: Likewise.
24726 * sunrpc/clnt_perr.c: Likewise.
24727 * sunrpc/clnt_raw.c: Likewise.
24728 * sunrpc/clnt_simp.c: Likewise.
24729 * sunrpc/clnt_tcp.c: Likewise.
24730 * sunrpc/clnt_udp.c: Likewise.
24731 * sunrpc/clnt_unix.c: Likewise.
24732 * sunrpc/des_crypt.c: Likewise.
24733 * sunrpc/des_soft.c: Likewise.
24734 * sunrpc/get_myaddr.c: Likewise.
24735 * sunrpc/key_call.c: Likewise.
24736 * sunrpc/key_prot.c: Likewise.
24737 * sunrpc/netname.c: Likewise.
24738 * sunrpc/pm_getmaps.c: Likewise.
24739 * sunrpc/pm_getport.c: Likewise.
24740 * sunrpc/pmap_clnt.c: Likewise.
24741 * sunrpc/pmap_prot.c: Likewise.
24742 * sunrpc/pmap_prot2.c: Likewise.
24743 * sunrpc/pmap_rmt.c: Likewise.
24744 * sunrpc/publickey.c: Likewise.
24745 * sunrpc/rpc_cmsg.c: Likewise.
24746 * sunrpc/rpc_common.c: Likewise.
24747 * sunrpc/rpc_dtable.c: Likewise.
24748 * sunrpc/rpc_prot.c: Likewise.
24749 * sunrpc/rpc_thread.c: Likewise.
24750 * sunrpc/rtime.c: Likewise.
24751 * sunrpc/svc.c: Likewise.
24752 * sunrpc/svc_auth.c: Likewise.
24753 * sunrpc/svc_authux.c: Likewise.
24754 * sunrpc/svc_raw.c: Likewise.
24755 * sunrpc/svc_run.c: Likewise.
24756 * sunrpc/svc_simple.c: Likewise.
24757 * sunrpc/svc_tcp.c: Likewise.
24758 * sunrpc/svc_udp.c: Likewise.
24759 * sunrpc/svc_unix.c: Likewise.
24760 * sunrpc/svcauth_des.c: Likewise.
24761 * sunrpc/xcrypt.c: Likewise.
24762 * sunrpc/xdr.c: Likewise.
24763 * sunrpc/xdr_array.c: Likewise.
24764 * sunrpc/xdr_float.c: Likewise.
24765 * sunrpc/xdr_intXX_t.c: Likewise.
24766 * sunrpc/xdr_mem.c: Likewise.
24767 * sunrpc/xdr_rec.c: Likewise.
24768 * sunrpc/xdr_ref.c: Likewise.
24769 * sunrpc/xdr_sizeof.c: Likewise.
24770 * sunrpc/xdr_stdio.c: Likewise.
24772 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24775 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24776 * sysdeps/ia64/dl-tls.h: Likewise.
24777 * sysdeps/powerpc/dl-tls.h: Likewise.
24778 * sysdeps/s390/dl-tls.h: Likewise.
24779 * sysdeps/sh/dl-tls.h: Likewise.
24780 * sysdeps/sparc/dl-tls.h: Likewise.
24781 * sysdeps/x86_64/dl-tls.h: Likewise.
24782 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24784 2011-03-14 Andreas Schwab <schwab@redhat.com>
24786 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24787 rpath element also skip the following colon.
24788 (expand_dynamic_string_token): Add is_path parameter and pass
24789 down to DL_DST_REQUIRED and _dl_dst_substitute.
24790 (decompose_rpath): Call expand_dynamic_string_token with
24791 non-zero is_path. Ignore empty rpaths.
24792 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24795 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24800 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24803 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24804 Patch by Filipe David Manana <fdmanana@apache.org>.
24806 2011-04-07 Andreas Schwab <schwab@redhat.com>
24808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24809 Maintain aligned stack.
24810 (CHECK_RSP): Remove unused macro.
24812 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24814 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24815 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24817 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24819 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24821 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24823 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24826 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24827 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24828 * sysdeps/x86_64/memmove.c: New file.
24829 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24830 (memcpy): Renamed to ...
24831 (__new_memcpy): This.
24832 (memcpy): Provide GLIBC_2_14 memcpy.
24833 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24834 (memcpy): Provide GLIBC_2_2_5 memcpy.
24836 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24839 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24841 2011-03-30 Andreas Schwab <schwab@redhat.com>
24843 * misc/syncfs.c: New file.
24844 * misc/Makefile (routines): Add syncfs.
24845 * posix/unistd.h: Declare syncfs.
24846 * sysdeps/unix/syscalls.list: Add syncfs.
24848 2011-04-01 Andreas Schwab <schwab@redhat.com>
24850 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24857 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24860 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24862 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24864 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24870 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24871 sync_file_range.c with -fexceptions.
24872 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24873 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24874 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24875 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24876 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24877 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24879 sync_file_range as cancellation point
24880 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24881 now a wrapper around __call_sync_file_range with cancellation handling.
24882 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24883 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24884 function name to __call_sync_file_range.
24885 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24886 Add call_sync_file_range.
24888 2011-04-01 Andreas Schwab <schwab@redhat.com>
24890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24893 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24895 * iconv/iconv.h: Fix typo in comment.
24896 * io/fcntl.h: Likewise.
24897 * libio/stdio.h: Likewise.
24898 * posix/spawn.h: Likewise.
24899 * posix/unistd.h: Likewise.
24900 * stdlib/stdlib.h: Likewise.
24901 * time/time.h: Likewise.
24902 * wcsmbs/wchar.h: Likewise.
24904 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24905 open_by_handle): Add.
24906 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24907 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24908 Augment a few comments.
24909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24913 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24914 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24917 * io/fcntl.h (AT_EMPTY_PATH): Define.
24919 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24921 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24922 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24923 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24925 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24926 * Versions.def: Add GLIBC_2.14.
24927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24930 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24934 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24936 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24939 * string/test-strncmp.c (do_page_test): New function.
24940 (check2): Likewise.
24941 (test_main): Call check2.
24942 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24944 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24947 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24948 Handle cache information in CPU leaf 4.
24949 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24951 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24954 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24955 character representation.
24956 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24958 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24960 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24961 END(__isnan) to END(__isnanf) to match function entry point/label
24962 EALIGN(__isnanf,...).
24964 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24966 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24968 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24971 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24972 copy from the symbol referenced in the relocation to initialize the
24974 Patch by Piotr Bury <pbury@goahead.com>.
24975 * elf/Makefile: Add rules to build and tst-unique3.
24976 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24977 * elf/tst-unique3.cc: New file.
24978 * elf/tst-unique3.h: New file.
24979 * elf/tst-unique3lib.cc: New file.
24980 * elf/tst-unique3lib2.cc: New file.
24982 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24984 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24986 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24987 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24990 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24992 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24993 to-be-loaded object along a path to loader is ld.so.
24995 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24996 Ulrich Drepper <drepper@gmail.com>
24998 * sysdeps/x86_64/memset.S: After aligning destination, code
24999 branches to different locations depending on the value of
25000 misalignment, when multiarch is enabled. Fix this.
25002 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25004 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25005 Set _x86_64_preferred_memory_instruction for AMD processsors.
25006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25007 Set bit_Prefer_SSE_for_memop for AMD processors.
25009 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25011 * libio/fmemopen.c (fmemopen): Optimize a bit.
25013 2011-03-03 Andreas Schwab <schwab@redhat.com>
25015 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25017 2011-03-03 Roland McGrath <roland@redhat.com>
25019 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25021 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25023 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25024 __bzero_ultra1 instead of __memset_ultra1.
25026 2011-02-23 Andreas Schwab <schwab@redhat.com>
25027 Ulrich Drepper <drepper@gmail.com>
25030 * include/link.h (struct link_map): Add l_orig_initfini.
25031 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25032 returning unsuccessfully.
25033 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25034 close of a file loaded at startup, restore the original l_initfini
25036 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25037 list, store the pointer.
25038 * elf/Makefile ($(objpfx)noload-mem): New rule.
25039 (noload-ENV): Define.
25040 (tests): Add $(objpfx)noload-mem.
25041 * elf/noload.c: Include <memcheck.h>.
25042 (main): Call mtrace. Close all opened handles.
25044 2011-02-17 Andreas Schwab <schwab@redhat.com>
25047 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25048 dependencies are missing.
25050 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25052 Fix __if_freereq crash: Unlike the generic version which uses free,
25054 * sysdeps/mach/hurd/ifreq.h: New file.
25056 2011-01-27 Petr Baudis <pasky@suse.cz>
25057 Ulrich Drepper <drepper@gmail.com>
25060 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25061 to extend_alloca().
25062 * stdio-common/bug23.c: New file.
25063 * stdio-common/Makefile (tests): Add bug23.
25065 2010-09-28 Andreas Schwab <schwab@redhat.com>
25066 Ulrich Drepper <drepper@gmail.com>
25069 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25070 before performing relro protection. At old place add assertion
25071 to make sure nothing changed.
25073 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25074 Glauber de Oliveira Costa <glommer@gmail.com>
25076 * elf/elf.h: Add new ARM TLS relocs.
25078 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25081 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25083 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25085 * sysdeps/wordsize-64/tst-writev.c: New file.
25087 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25089 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25090 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25091 insns in _dl_start to prevent a TOC reference before relocs are
25094 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25097 * Makeconfig: Remove RANLIB definition.
25098 * Makerules: Don't use RANLIB.
25099 * aclocal.m4: Remove ranlib test.
25100 * configure.in: No need to check for ranlib.
25101 * elf/rtld-Rules: Don't use RANLIB.
25103 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25105 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25107 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25108 inclusion protection macro.
25110 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25111 SIGRTMIN and SIGRTMAX and print information in that case only when
25112 SIGRTMIN is defined.
25114 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25116 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25117 arginfo fn returning -1.
25119 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25120 and thousands string is zero terminated.
25122 2011-02-03 Andreas Schwab <schwab@redhat.com>
25124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25125 sysdeps/unix/sysv/linux/bits/socket.h.
25127 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25129 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25130 (__CPU_COUNT): Remove old macros.
25131 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25132 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25133 (__CPU_ALLOC, __CPU_FREE): Add macros.
25134 (__sched_cpualloc, __sched_cpufree): Add declarations.
25136 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25138 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25139 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25140 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25141 (readdhstai): Return value of addhstaiX call.
25142 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25143 (addgrbyX): Return value returned by cache_addgr.
25144 (readdgrbyname): Return value returned by addgrbyX.
25145 (readdgrbygid): Likewise.
25146 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25147 (addpwbyX): Return value returned by cache_addpw.
25148 (readdpwbyname): Return value returned by addhstbyX.
25149 (readdpwbyuid): Likewise.
25150 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25151 (addservbyX): Return value returned by cache_addserv.
25152 (readdservbyname): Return value returned by addservbyX:
25153 (readdservbyport): Likewise.
25154 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25155 (addhstbyX): Return value returned by cache_addhst.
25156 (readdhstbyname): Return value returned by addhstbyX.
25157 (readdhstbyaddr): Likewise.
25158 (readdhstbynamev6): Likewise.
25159 (readdhstbyaddrv6): Likewise.
25160 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25161 (readdinitgroups): Return value returned by addinitgroupsX.
25162 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25163 (prune_cache): Keep track of timeout value of re-added entries.
25164 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25165 * nscd/nscd.h: Adjust prototypes of readd* functions.
25167 2011-02-04 Roland McGrath <roland@redhat.com>
25169 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25170 (nis_stats): Likewise.
25171 * nis/nis_modify.c (nis_modify): Likewise.
25172 * nis/nis_remove.c (nis_remove): Likewise.
25173 * nis/nis_add.c (nis_add): Likewise.
25175 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25177 * posix/fnmatch_loop.c: Add some consts.
25179 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25181 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25184 * config.make.in (config-cflags-novzeroupper): Define.
25185 * configure.in: Substitute libc_cv_cc_novzeroupper.
25186 * elf/Makefile (AVX-CFLAGS): Define.
25187 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25188 (CFLAGS-tst-auditmod4a.c): Likewise.
25189 (CFLAGS-tst-auditmod4b.c): Likewise.
25190 (CFLAGS-tst-auditmod6b.c): Likewise.
25191 (CFLAGS-tst-auditmod6c.c): Likewise.
25192 (CFLAGS-tst-auditmod7b.c): Likewise.
25193 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25195 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25197 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25198 function to the callback.
25199 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25201 2011-02-02 Andreas Schwab <schwab@redhat.com>
25203 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25206 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25209 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25211 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25213 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25216 * elf/Makefile: Add rules to build and run new test.
25217 * elf/tst-initorder.c: New file.
25218 * elf/tst-initorder.exp: New file.
25219 * elf/tst-initordera1.c: New file.
25220 * elf/tst-initordera2.c: New file.
25221 * elf/tst-initordera3.c: New file.
25222 * elf/tst-initordera4.c: New file.
25223 * elf/tst-initorderb1.c: New file.
25224 * elf/tst-initorderb2.c: New file.
25225 * elf/tst-order-a1.c: New file.
25226 * elf/tst-order-a2.c: New file.
25227 * elf/tst-order-a3.c: New file.
25228 * elf/tst-order-a4.c: New file.
25229 * elf/tst-order-b1.c: New file.
25230 * elf/tst-order-b2.c: New file.
25231 * elf/tst-order-main.c: New file.
25232 New test case by George Gensure <werkt0@gmail.com>.
25234 2010-10-01 Andreas Schwab <schwab@redhat.com>
25236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25237 decoding ACE if AI_CANONIDN.
25239 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25241 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25243 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25245 * version.h (RELEASE): Bump for 2.13 release.
25246 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25248 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25250 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25252 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25253 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25256 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25257 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25259 * posix/getconf.c: Update copyright year.
25260 * catgets/gencat.c: Likewise.
25261 * csu/version.c: Likewise.
25262 * debug/catchsegv.sh: Likewise.
25263 * debug/xtrace.sh: Likewise.
25264 * elf/ldconfig.c: Likewise.
25265 * elf/ldd.bash.in: Likewise.
25266 * elf/sprof.c (print_version): Likewise.
25267 * iconv/iconv_prog.c: Likewise.
25268 * iconv/iconvconfig.c: Likewise.
25269 * locale/programs/locale.c: Likewise.
25270 * locale/programs/localedef.c: Likewise.
25271 * malloc/memusage.sh: Likewise.
25272 * malloc/mtrace.pl: Likewise.
25273 * nscd/nscd.c (print_version): Likewise.
25274 * nss/getent.c: Likewise.
25276 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25277 PF_CAIF, and PF_ALG.
25278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25280 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25282 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25283 (modules-names): Use them.
25284 (ifunc-test-modules, ifunc-pie-tests): Define.
25285 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25286 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25287 (test-extras): Likewise.
25288 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25289 $(compile-command.c).
25290 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25291 (all-built-dso): Define.
25292 (check-textrel.out, check-execstack.out): Depend on it.
25294 * configure.in: Don't override --enable-multi-arch.
25296 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25299 * nscd/hstcache.c (tryagain): Define.
25300 (cache_addhst): Return tryagain not notfound for temporary errors.
25301 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25304 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25307 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25308 to make the syscall.
25309 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25312 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25313 and fall back to matching as normal character if the string ends before
25314 the matching ']' is found. This is what POSIX requires.
25315 * posix/testfnm.c: Adjust test result.
25316 * posix/globtest.sh: Adjust test result. Add new test.
25317 * posix/tst-fnmatch.input: Likewise.
25318 * posix/tst-fnmatch2.c: Add new test.
25320 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25322 * elf/Makefile (check-execstack): Revert last change. Depend on
25324 (check-execstack.h): New target.
25325 (generated): Add check-execstack.h.
25326 * elf/check-execstack.c: Include "check-execstack.h".
25327 (main): Revert last change.
25328 (handle_file): Return zero if GNU_STACK is absent and
25329 DEFAULT_STACK_PERMS doesn't include PF_X.
25331 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25333 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25334 in child fails because the descriptor is already closed.
25335 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25336 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25337 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25340 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25344 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25345 temporary buffer used to handle multi lookups locally.
25346 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25348 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25350 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25353 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25355 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25356 alignment for SSE2.
25358 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25361 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25362 characters. When rounding increased number of integer digits recompute
25364 * stdio-common/tst-grouping.c: New file.
25365 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25367 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25369 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25370 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25372 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25374 * bits/select.h: Likewise.
25376 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25378 * po/ja.po: Update from translation team.
25380 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25383 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25384 implementation just like for lxstat, fxstatat, et al.
25386 2010-12-27 Jim Meyering <meyering@redhat.com>
25389 * posix/regexec.c (build_trtable): Return failure indication upon
25390 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25392 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25395 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25396 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25397 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25398 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25401 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25404 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25405 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25407 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25409 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25410 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25411 script has SORT_BY_INIT_PRIORITY.
25412 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25413 NO_CTORS_DTORS_SECTIONS is defined.
25414 * elf/soinit.c: Likewise.
25415 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25416 NO_CTORS_DTORS_SECTIONS is defined.
25417 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25418 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25419 * sysdeps/sh/init-first.c: Likewise.
25420 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25422 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25424 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25425 always use the slow path.
25427 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25429 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25430 similar rule which adds the sysdep directories to the header search in
25431 order to pick up the correct platform stackinfo.h.
25432 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25433 perform test if it is, otherwise return successfully without testing.
25434 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25435 DEFAULT_STACK_PERMS define in stackinfo.h.
25436 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25437 defined in stackinfo.h.
25438 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25439 DEFAULT_STACK_PERMS defined in stackinfo.h.
25440 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25441 * sysdeps/ia64/stackinfo.h: Likewise.
25442 * sysdeps/s390/stackinfo.h: Likewise.
25443 * sysdeps/sh/stackinfo.h: Likewise.
25444 * sysdeps/sparc/stackinfo.h: Likewise.
25445 * sysdeps/x86_64/stackinfo.h: Likewise.
25446 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25447 PF_X for powerpc64. Retain PF_X for powerpc32.
25449 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25451 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25453 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25454 GETDENTS_64BIT_ALIGNED.
25456 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25458 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25460 2010-12-10 Andreas Schwab <schwab@redhat.com>
25462 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25465 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25466 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25468 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25469 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25471 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25474 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25477 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25479 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25481 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25483 * po/it.po: Update from translation team.
25485 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25490 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25492 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25494 2010-11-24 Andreas Schwab <schwab@redhat.com>
25496 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25498 (gaih_getanswer_slice): Likewise.
25500 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25504 2010-05-31 Petr Baudis <pasky@suse.cz>
25507 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25508 silently even in the chroot mode.
25510 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25512 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25513 last patch a bit. Pretty printing
25515 2010-05-31 Petr Baudis <pasky@suse.cz>
25518 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25519 initialization of skip_initgroups_dyn.
25521 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25523 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25524 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25526 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25528 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25530 2010-11-11 Andreas Schwab <schwab@redhat.com>
25532 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25533 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25534 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25535 ($(objpfx)tst-fnmatch-mem): New rule.
25536 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25537 * posix/tst-fnmatch.c (main): Call mtrace.
25539 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25542 Support Intel processor model 6 and model 0x2c.
25544 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25549 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25552 * string/test-strncasecmp.c (check_result): New function.
25553 (do_one_test): Use it.
25554 (check1): New function.
25555 (test_main): Use it.
25556 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25557 Support strcasecmp and strncasecmp.
25559 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25562 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25563 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25565 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25567 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25571 * sysdeps/x86_64/multiarch/bzero.S: New file.
25572 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25573 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25574 * sysdeps/x86_64/multiarch/memset.S: New file.
25575 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25577 Set bit_Prefer_SSE_for_memop for Intel processors.
25578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25580 (index_Prefer_SSE_for_memop): Define.
25581 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25583 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25585 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25586 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25588 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25591 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25592 (__x86_64_raw_data_cache_size_half): Likewise.
25593 (__x86_64_raw_shared_cache_size): Likewise.
25594 (__x86_64_raw_shared_cache_size_half): Likewise.
25596 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25597 (__x86_64_raw_data_cache_size_half): Likewise.
25598 (__x86_64_raw_shared_cache_size): Likewise.
25599 (__x86_64_raw_shared_cache_size_half): Likewise.
25600 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25601 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25602 and __x86_64_raw_shared_cache_size_half. Round
25603 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25604 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25605 to multiple of 256 bytes.
25607 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25610 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25611 of inacessible symlinks. Verify result of symlink before returning it.
25612 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25613 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25615 2010-10-28 Erich Ritz <erichritz@gmail.com>
25617 * math/math.h (isinf): Fix typo in comment.
25619 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25621 * po/da.po: Update from translation team.
25623 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25625 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25626 is added to the list.
25628 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25629 Ulrich Drepper <drepper@gmail.com>
25631 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25632 the global list here. Move code to...
25633 (_dl_add_to_namespace_list): ...here. New function.
25634 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25635 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25636 * elf/dl-load.c (lose): Don't remove the element from the list.
25637 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25638 (_dl_map_object): Likewise.
25640 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25643 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25644 into all bytes of SSE register.
25645 Patch by Richard Li <richardpku@gmail.com>.
25647 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25650 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25653 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25655 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25656 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25657 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25658 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25663 2010-10-22 Andreas Schwab <schwab@redhat.com>
25665 * include/dlfcn.h (__RTLD_SECURE): Define.
25666 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25667 mode & __RTLD_SECURE instead.
25668 (open_path): Rename preloaded parameter to secure.
25669 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25670 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25671 * elf/dl-deps.c (openaux): Likewise.
25672 * elf/rtld.c (struct map_args): Remove is_preloaded.
25673 (map_doit): Don't use it.
25674 (dl_main): Likewise.
25675 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25676 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25678 2010-09-09 Andreas Schwab <schwab@redhat.com>
25680 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25681 (sysd-rules-targets): Remove duplicates.
25682 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25683 rtld-%.$o dependency.
25685 2010-10-18 Andreas Schwab <schwab@redhat.com>
25687 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25688 _dl_map_object do it.
25690 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25692 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25693 fast fma builtins, define the macros in the C99 standard.
25694 (FP_FAST_FMAF): Likewise.
25695 (FP_FAST_FMAL): Likewise.
25696 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25698 * bits/mathdef.h: Update copyright year.
25699 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25701 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25703 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25704 builtins, define the macros in the C99 standard.
25705 (FP_FAST_FMAF): Likewise.
25706 (FP_FAST_FMAL): Likewise.
25707 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25709 (FP_FAST_FMAF): Likewise.
25711 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25714 * math/libm-test.inc (fma_test): Some new testcases.
25715 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25716 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25717 y and infinite z. Do multiplication by C already in long double.
25718 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25720 y and infinite z. Do bitwise or of inexact bit into u.d.
25721 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25722 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25723 * sysdeps/i386/fpu/s_fma.S: Removed.
25724 * sysdeps/i386/fpu/s_fmal.S: Removed.
25726 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25729 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25731 computation is not scheduled after fetestexcept. Fix value
25732 of minimum denormal long double.
25734 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25737 * math/libm-test.inc (fma_test): Add some more tests.
25738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25741 2010-10-15 Andreas Schwab <schwab@redhat.com>
25743 * scripts/data/localplt-s390-linux-gnu.data: New file.
25744 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25746 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25749 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25750 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25752 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25754 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25756 if one of x and y is very large and the other is subnormal.
25757 * sysdeps/s390/fpu/s_fmaf.c: New file.
25758 * sysdeps/s390/fpu/s_fma.c: New file.
25759 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25760 * sysdeps/powerpc/fpu/s_fma.S: New file.
25761 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25762 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25763 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25765 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25768 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25771 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25772 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25773 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25774 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25775 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25776 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25778 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25781 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25782 * posix/bug-regex31.input: Add test case.
25784 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25786 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25787 * posix/bug-regex31.input: New file.
25790 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25791 (parse_sub_exp): Fix last change, use postorder.
25793 * posix/bug-regex31.c: New file.
25794 * posix/Makefile: Add rules to build and run bug-regex31.
25796 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25799 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25802 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25803 to have entries in sys_siglist.
25806 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25809 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25812 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25813 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25814 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25815 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25816 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25817 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25818 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25819 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25820 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25821 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25822 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25823 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25824 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25825 * math/ftestexcept.c (fetestexcept): Likewise.
25826 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25827 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25828 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25829 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25830 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25831 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25832 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25834 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25837 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25840 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25842 * string/bug-strstr1.c: New file.
25843 * string/Makefile: Add rules to build and run bug-strstr1.
25845 2010-10-05 Eric Blake <eblake@redhat.com>
25848 * string/str-two-way.h (two_way_long_needle): Always clear memory
25849 when skipping input due to the shift table.
25851 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25854 * malloc/mcheck.c: Handle large requests.
25857 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25858 for strncmp and strncasecmp.
25859 * string/stratcliff.c: Add tests for strcmp and strncmp.
25860 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25862 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25864 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25867 2010-09-30 Andreas Jaeger <aj@suse.de>
25869 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25870 (CGROUP_SUPER_MAGIC): Define.
25871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25872 Handle btrfs and cgroup file systems.
25873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25876 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25878 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25879 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25881 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25884 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25885 trying to locate the ELF header.
25887 2010-09-27 Andreas Schwab <schwab@redhat.com>
25890 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25891 Mask out sign-bit copies when constructing f_fsid.
25893 2010-09-24 Petr Baudis <pasky@suse.cz>
25895 * debug/stack_chk_fail_local.c: Add missing licence exception.
25896 * debug/warning-nop.c: Likewise.
25898 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25901 implementing getdents64 using getdents syscall, set d_type if
25902 __ASSUME_GETDENTS32_D_TYPE.
25904 2010-09-16 Andreas Schwab <schwab@redhat.com>
25906 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25907 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25909 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25912 * posix/unistd.h: Undo change of feature selection for ftruncate from
25915 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25917 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25920 2010-09-20 Andreas Schwab <schwab@redhat.com>
25922 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25926 2010-09-14 Andreas Schwab <schwab@redhat.com>
25928 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25929 variables after CHECK_SP call.
25930 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25932 2010-09-13 Andreas Schwab <schwab@redhat.com>
25933 Ulrich Drepper <drepper@redhat.com>
25935 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25936 re-relocationg ld.so.
25937 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25938 _dl_init_paths call.
25939 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25942 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25944 * resolv/res_init.c (__res_vinit): Count the default server we added.
25946 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25947 Ulrich Drepper <drepper@redhat.com>
25950 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25951 (____longjmp_chk): Use %ebx for saving value across system call.
25954 2010-09-06 Andreas Schwab <schwab@redhat.com>
25956 * manual/Makefile: Don't mix pattern rules with normal rules.
25958 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25960 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25962 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25963 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25964 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25965 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25969 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25972 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25973 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25975 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25977 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25978 * sysdeps/x86_64/addmul_1.S: Likewise.
25979 * sysdeps/x86_64/lshift.S: Likewise.
25980 * sysdeps/x86_64/mul_1.S: Likewise.
25981 * sysdeps/x86_64/rshift.S: Likewise.
25982 * sysdeps/x86_64/sub_n.S: Likewise.
25983 * sysdeps/x86_64/submul_1.S: Likewise.
25985 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25987 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25988 Define __sched_param instead of SCHED_* and sched_param when
25989 <bits/sched.h> is included with __need_schedparam defined.
25990 * bits/sched.h [__need_schedparam]
25991 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25992 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25993 (__defined_schedparam): Define to 1.
25994 (__sched_param): New structure, identical to sched_param.
25995 (__need_schedparam): Undefine.
25997 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26000 (epoll_create1): Declare.
26002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26004 2010-08-31 Andreas Schwab <schwab@redhat.com>
26007 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26008 shifting retval into place.
26010 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26012 * nis/rpcsvc/nis.h: Update copyright notice.
26013 * nis/rpcsvc/nis.x: Likewise.
26014 * nis/rpcsvc/nis_callback.h: Likewise.
26015 * nis/rpcsvc/nis_callback.x: Likewise.
26016 * nis/rpcsvc/nis_object.x: Likewise.
26017 * nis/rpcsvc/nis_tags.h: Likewise.
26018 * nis/rpcsvc/yp.h: Likewise.
26019 * nis/rpcsvc/yp.x: Likewise.
26020 * nis/rpcsvc/ypupd.h: Likewise.
26021 * nis/yp_xdr.c: Likewise.
26022 * nis/ypupdate_xdr.c: Likewise.
26024 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26025 mainly the body of pmap_getport. Add parameters to specify timeouts.
26026 (pmap_getport): Use __libc_rpc_getport.
26027 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26028 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26029 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26031 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26036 2010-08-27 Roland McGrath <roland@redhat.com>
26038 * sysdeps/i386/i686/multiarch/Makefile
26039 (CFLAGS-varshift.c): New variable.
26041 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26043 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26044 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26048 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26050 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26052 * sysdeps/x86_64/strlen.S: Unroll the loop.
26053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26054 strlen-sse2 strlen-sse2-bsf.
26055 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26056 __strlen_no_bsf if bit_Slow_BSF is set.
26057 (__strlen_sse42): Removed.
26058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26059 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26061 2010-08-25 Roland McGrath <roland@redhat.com>
26063 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26064 * sysdeps/x86_64/multiarch/varshift.c: New file.
26065 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26066 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26067 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26068 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26070 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26073 strlen-sse2 strlen-sse2-bsf.
26074 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26075 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26076 (__strlen_sse2): Removed.
26077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26080 bit_Slow_BSF for Atom.
26081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26082 (index_Slow_BSF): Define.
26083 (HAS_SLOW_BSF): Define.
26085 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26088 * resolv/res_init.c (__res_vinit): When no server address at all
26089 is given default to loopback.
26091 2010-08-24 Roland McGrath <roland@redhat.com>
26093 * configure.in: Remove config-name.h generation.
26094 * configure: Regenerated.
26095 * config-name.in: File removed.
26096 * scripts/config-uname.sh: New file.
26097 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26098 ($(objdir)config-name.h): New target.
26100 * sunrpc/rpc_parse.h: Avoid nested comment.
26102 2010-08-24 Richard Henderson <rth@redhat.com>
26103 Ulrich Drepper <drepper@redhat.com>
26104 H.J. Lu <hongjiu.lu@intel.com>
26106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26108 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26109 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26110 _mm_alignr_epi8 with _mm_loadu_si128.
26111 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26112 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26113 (__m128i_shift_right): Removed.
26114 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26115 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26116 * sysdeps/x86_64/multiarch/varshift.h: New file.
26117 * sysdeps/x86_64/multiarch/varshift.S: New file.
26119 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26121 * configure.in: Move assembler checks to before sysdep dir checking.
26123 2010-08-20 Petr Baudis <pasky@suse.cz>
26125 * LICENSES: Sync the sunrpc license.
26127 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26129 * sunrpc/auth_des.c: Update copyright notice once again.
26130 * sunrpc/auth_none.c: Likewise.
26131 * sunrpc/auth_unix.c: Likewise.
26132 * sunrpc/authdes_prot.c: Likewise.
26133 * sunrpc/authuxprot.c: Likewise.
26134 * sunrpc/bindrsvprt.c: Likewise.
26135 * sunrpc/clnt_gen.c: Likewise.
26136 * sunrpc/clnt_perr.c: Likewise.
26137 * sunrpc/clnt_raw.c: Likewise.
26138 * sunrpc/clnt_simp.c: Likewise.
26139 * sunrpc/clnt_tcp.c: Likewise.
26140 * sunrpc/clnt_udp.c: Likewise.
26141 * sunrpc/clnt_unix.c: Likewise.
26142 * sunrpc/des_crypt.c: Likewise.
26143 * sunrpc/des_soft.c: Likewise.
26144 * sunrpc/get_myaddr.c: Likewise.
26145 * sunrpc/getrpcport.c: Likewise.
26146 * sunrpc/key_call.c: Likewise.
26147 * sunrpc/key_prot.c: Likewise.
26148 * sunrpc/openchild.c: Likewise.
26149 * sunrpc/pm_getmaps.c: Likewise.
26150 * sunrpc/pm_getport.c: Likewise.
26151 * sunrpc/pmap_clnt.c: Likewise.
26152 * sunrpc/pmap_prot.c: Likewise.
26153 * sunrpc/pmap_prot2.c: Likewise.
26154 * sunrpc/pmap_rmt.c: Likewise.
26155 * sunrpc/rpc/auth.h: Likewise.
26156 * sunrpc/rpc/auth_unix.h: Likewise.
26157 * sunrpc/rpc/clnt.h: Likewise.
26158 * sunrpc/rpc/des_crypt.h: Likewise.
26159 * sunrpc/rpc/key_prot.h: Likewise.
26160 * sunrpc/rpc/netdb.h: Likewise.
26161 * sunrpc/rpc/pmap_clnt.h: Likewise.
26162 * sunrpc/rpc/pmap_prot.h: Likewise.
26163 * sunrpc/rpc/pmap_rmt.h: Likewise.
26164 * sunrpc/rpc/rpc.h: Likewise.
26165 * sunrpc/rpc/rpc_des.h: Likewise.
26166 * sunrpc/rpc/rpc_msg.h: Likewise.
26167 * sunrpc/rpc/svc.h: Likewise.
26168 * sunrpc/rpc/svc_auth.h: Likewise.
26169 * sunrpc/rpc/types.h: Likewise.
26170 * sunrpc/rpc/xdr.h: Likewise.
26171 * sunrpc/rpc_clntout.c: Likewise.
26172 * sunrpc/rpc_cmsg.c: Likewise.
26173 * sunrpc/rpc_common.c: Likewise.
26174 * sunrpc/rpc_cout.c: Likewise.
26175 * sunrpc/rpc_dtable.c: Likewise.
26176 * sunrpc/rpc_hout.c: Likewise.
26177 * sunrpc/rpc_main.c: Likewise.
26178 * sunrpc/rpc_parse.c: Likewise.
26179 * sunrpc/rpc_parse.h: Likewise.
26180 * sunrpc/rpc_prot.c: Likewise.
26181 * sunrpc/rpc_sample.c: Likewise.
26182 * sunrpc/rpc_scan.c: Likewise.
26183 * sunrpc/rpc_scan.h: Likewise.
26184 * sunrpc/rpc_svcout.c: Likewise.
26185 * sunrpc/rpc_tblout.c: Likewise.
26186 * sunrpc/rpc_util.c: Likewise.
26187 * sunrpc/rpc_util.h: Likewise.
26188 * sunrpc/rpcinfo.c: Likewise.
26189 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26190 * sunrpc/rpcsvc/key_prot.x: Likewise.
26191 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26192 * sunrpc/rpcsvc/mount.x: Likewise.
26193 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26194 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26195 * sunrpc/rpcsvc/rex.x: Likewise.
26196 * sunrpc/rpcsvc/rstat.x: Likewise.
26197 * sunrpc/rpcsvc/rusers.x: Likewise.
26198 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26199 * sunrpc/rpcsvc/spray.x: Likewise.
26200 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26201 * sunrpc/rtime.c: Likewise.
26202 * sunrpc/svc.c: Likewise.
26203 * sunrpc/svc_auth.c: Likewise.
26204 * sunrpc/svc_authux.c: Likewise.
26205 * sunrpc/svc_raw.c: Likewise.
26206 * sunrpc/svc_run.c: Likewise.
26207 * sunrpc/svc_simple.c: Likewise.
26208 * sunrpc/svc_tcp.c: Likewise.
26209 * sunrpc/svc_udp.c: Likewise.
26210 * sunrpc/svc_unix.c: Likewise.
26211 * sunrpc/svcauth_des.c: Likewise.
26212 * sunrpc/xcrypt.c: Likewise.
26213 * sunrpc/xdr.c: Likewise.
26214 * sunrpc/xdr_array.c: Likewise.
26215 * sunrpc/xdr_float.c: Likewise.
26216 * sunrpc/xdr_mem.c: Likewise.
26217 * sunrpc/xdr_rec.c: Likewise.
26218 * sunrpc/xdr_ref.c: Likewise.
26219 * sunrpc/xdr_sizeof.c: Likewise.
26220 * sunrpc/xdr_stdio.c: Likewise.
26222 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26225 2010-08-19 Andreas Schwab <schwab@redhat.com>
26227 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26229 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26231 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26233 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26234 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26235 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26236 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26237 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26238 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26239 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26240 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26241 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26242 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26243 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26244 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26246 2010-07-26 Anton Blanchard <anton@samba.org>
26248 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26249 * malloc/arena.c (heap_trim): Likewise.
26251 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26253 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26256 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26258 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26260 * sysdeps/i386/elf/Makefile: New file.
26262 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26264 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26265 from fanotify_init.
26266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26269 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26271 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26273 * sysdeps/multiarch/strcmp.S: Likewise.
26275 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26278 strncase_l-nonascii.
26279 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26280 Add strncase_l-ssse3.
26281 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26282 * sysdeps/x86_64/strcmp.S: Likewise.
26283 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26284 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26285 * sysdeps/x86_64/strncase.S: New file.
26286 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26287 * sysdeps/x86_64/strncase_l.S: New file.
26288 * string/Makefile (strop-tests): Add strncasecmp.
26289 * string/test-strncasecmp.c: New file.
26291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26294 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26297 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26299 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26301 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26303 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26304 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26305 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26307 2010-05-01 Alan Modra <amodra@gmail.com>
26309 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26310 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26311 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26312 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26313 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26314 tidying. Don't tail-call __sigjmp_save for static lib.
26315 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26317 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26318 (CALL_MCOUNT): Add eh info, and nop after bl.
26319 (TAIL_CALL_SYSCALL_ERROR): New macro.
26320 (PSEUDO_RET): Use it.
26321 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26322 Correct save location of integer regs and cr.
26323 (_dl_profile_resolve): Correct cr save location. Delete nops
26324 after bl when SHARED. Reduce cfi size a little by better
26325 placement of cfi directives.
26326 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26327 make a stack frame. Instead use parm save area as a temp.
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26329 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26331 Don't make a stack frame for parent, use parm save area.
26332 Increase child stack frame to 112 bytes. Don't save unused reg,
26333 and adjust reg usage. Set up cfi on error recovery and
26334 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26336 (__makecontext): Add dummy nop after jump to exit.
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26338 Use correct parm save area and cr save, reduce stack frame.
26339 Correct cfi for possible PSEUDO_RET frame setup.
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26341 Branch to local label emitted by PSEUDO_RET rather than
26344 2010-08-12 Andreas Schwab <schwab@redhat.com>
26347 * locale/programs/locale.c (print_assignment): New function.
26348 (show_locale_vars): Use it.
26350 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26352 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26354 (struct statfs64): Likewise.
26355 (_STATFS_F_FLAGS): Define.
26356 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26357 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26358 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26359 (ST_VALID): Define locally.
26360 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26361 __statvfs_getflags, use the provided value.
26362 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26363 __ASSUME_STATFS_F_FLAGS.
26365 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26367 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26368 Add sys/fanotify.h.
26369 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26370 fanotify_mask for GLIBC_2.13.
26371 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26372 fanotify_init and fanotify_mark.
26373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26374 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26376 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26378 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26379 prlimit64 for GLIBC_2.13.
26380 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26386 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26387 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26388 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26390 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26393 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26394 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26396 * nss/Makefile: Add rules to build and run tst-nss-test1.
26397 * shlib-versions: Add entry for libnss_test1.
26398 * nss/nss_test1.c: New file.
26399 * nss/tst-nss-test1.c: New file.
26401 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26402 (__nss_configure_lookup): Set appropriate entry in
26403 __nss_configure_lookup to true.
26404 * nss/nsswitch.h: Define enum with indeces of databases in
26405 databases and __nss_database_custom arrays. Declare
26406 __nss_database_custom.
26407 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26408 to avoid using nscd when custom rules are installed.
26409 * nss/getXXbyYY_r.c: Likewise.
26410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26412 * nss/nss_files/files-parse.c: Whitespace fixes.
26414 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26417 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26418 * posix/fnmatch_loop.c: Likewise.
26420 2010-07-17 Andi Kleen <ak@linux.intel.com>
26422 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26423 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26424 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26425 * Versions.def [GLIBC_2.13]: Add.
26427 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26429 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26430 Also fail if tpwd after pwuid call is NULL.
26432 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26434 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26435 when converting to ms.
26437 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26439 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26440 EOPNOTSUPP errors with ENOTTY.
26441 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26442 EOPNOTSUPP errors with ENOTTY.
26444 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26446 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26447 Add strcasecmp_l-ssse3.
26448 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26450 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26451 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26452 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26454 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26456 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26458 * string/Makefile (strop-tests): Add strcasecmp.
26459 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26460 strcasecmp_l-nonascii.
26461 (gen-as-const-headers): Add locale-defines.sym.
26462 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26463 * sysdeps/x86_64/strcasecmp.S: New file.
26464 * sysdeps/x86_64/strcasecmp_l.S: New file.
26465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26466 * sysdeps/x86_64/locale-defines.sym: New file.
26467 * string/test-strcasecmp.c: New file.
26469 * string/test-strcasestr.c: Test both ends of the range of characters.
26470 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26472 2010-07-29 Roland McGrath <roland@redhat.com>
26475 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26477 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26479 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26482 2010-07-27 Andreas Schwab <schwab@redhat.com>
26484 * manual/memory.texi (Malloc Tunable Parameters): Document
26487 2010-07-26 Roland McGrath <roland@redhat.com>
26490 * configure.in (-fgnu89-inline check): Set and substitute
26491 gnu89_inline, not libc_cv_gnu89_inline.
26492 * configure: Regenerated.
26493 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26495 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26497 * string/test-strnlen.c: New file.
26498 * string/Makefile (strop-tests): Add strnlen.
26499 * string/tester.c (test_strnlen): Add a few more test cases.
26500 * string/tst-strlen.c: Better error reporting.
26502 * sysdeps/x86_64/strnlen.S: New file.
26504 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26506 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26507 lower-latency instructions.
26509 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26511 * string/test-strcasestr.c: New file.
26512 * string/test-strstr.c: New file.
26513 * string/Makefile (strop-tests): Add strstr and strcasestr.
26514 * string/str-two-way.h: Don't undefine MAX.
26515 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26517 2010-07-21 Andreas Schwab <schwab@redhat.com>
26519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26520 strcasestr-nonascii.
26521 (CFLAGS-strcasestr-nonascii.c): Define.
26522 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26524 Remove unused attribute.
26526 2010-07-20 Roland McGrath <roland@redhat.com>
26528 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26529 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26530 ld.so.cache was broken. With it, there is no way to disable dsocaps
26531 like LD_HWCAP_MASK can disable hwcaps.
26533 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26535 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26537 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26539 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26540 call in strcasestr.
26541 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26542 __strcasestr_sse42_nonascii.
26543 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26544 strcasestr-nonascii.c.
26545 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26547 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26550 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26552 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26554 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26556 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26559 2010-07-06 Andreas Schwab <schwab@redhat.com>
26562 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26565 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26568 _PC_PIPE_BUF using F_GETPIPE_SZ.
26570 2010-07-05 Roland McGrath <roland@redhat.com>
26572 * manual/arith.texi (Rounding Functions): Fix rint description
26573 implicit in round description.
26575 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26577 * elf/Makefile: Fix linking for a few tests to make recent linker
26580 2010-06-30 Andreas Schwab <schwab@redhat.com>
26582 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26583 $(common-objpfx)libc_nonshared.a.
26585 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26587 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26588 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26589 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26590 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26591 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26592 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26593 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26594 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26609 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26610 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26611 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26612 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26613 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26614 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26615 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26616 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26617 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26618 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26619 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26620 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26636 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26638 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26639 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26640 * string/memmove.c (memmove): Renamed to ...
26641 (MEMMOVE): ...this. Default to memmove.
26642 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26643 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26646 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26647 mempcpy-ssse3-back memmove-ssse3-back.
26648 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26651 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26652 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26653 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26654 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26655 * sysdeps/x86_64/multiarch/memmove.c: New file.
26656 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26657 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26658 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26659 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26660 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26663 (index_Fast_Copy_Backward): Define.
26664 (HAS_ARCH_FEATURE): Define.
26665 (HAS_FAST_REP_STRING): Define.
26666 (HAS_FAST_COPY_BACKWARD): Define.
26668 2010-06-21 Andreas Schwab <schwab@redhat.com>
26670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26671 Restore proper fallback handling.
26673 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26676 * posix/group_member.c (__group_member): Correct checking loop.
26678 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26679 OOM in getpwuid_r correctly. Return error number when the caller
26680 should return, otherwise -1.
26681 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26682 call returning > 0 value.
26683 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26685 2010-06-07 Andreas Schwab <schwab@redhat.com>
26687 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26688 libc_nonshared.a from targets in modules-names.
26690 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26692 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26695 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26697 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26698 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26702 2010-06-02 Andreas Schwab <schwab@redhat.com>
26704 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26706 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26708 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26717 2010-06-14 Roland McGrath <roland@redhat.com>
26719 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26721 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26723 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26724 __REDIRECT followed by __THROW.
26725 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26726 * posix/getopt.h (getopt): Likewise.
26728 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26730 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26731 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26732 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26734 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26735 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26737 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26739 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26741 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26745 Properly check family and model.
26747 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26749 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26751 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26753 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26755 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26757 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26760 2010-05-19 Andreas Schwab <schwab@redhat.com>
26762 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26765 2010-05-21 Andreas Schwab <schwab@redhat.com>
26767 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26768 and internal_recvmmsg.
26769 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26770 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26771 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26772 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26774 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26775 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26776 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26778 2010-05-20 Andreas Schwab <schwab@redhat.com>
26780 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26782 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26784 POWER7 optimizations.
26785 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26786 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26788 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26790 * version.h: Update for 2.13 development version.
26792 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26794 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26795 exceptions. Return 0.
26797 2010-05-07 Roland McGrath <roland@redhat.com>
26799 * elf/ldconfig.c (main): Add a const.
26801 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26803 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26804 (args_options): Add no-idn option.
26805 (ahosts_keys_int): Add idn_flags to ai_flags.
26806 (parse_option): Handle 'i' option to clear idn_flags.
26808 * malloc/malloc.c (_int_free): Possible race in the most recently
26809 added check. Only act on the data if no current modification
26812 See ChangeLog.17 for earlier changes.