]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add macros for diagnostic control, use for scanf %a tests.
[thirdparty/glibc.git] / ChangeLog
1 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2
3 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4 (DIAG_POP_NEEDS_COMMENT): Likewise.
5 (_DIAG_STR1): Likewise.
6 (_DIAG_STR): Likewise.
7 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8 * stdio-common/bug21.c: Include <libc-internal.h>.
9 (do_test): Disable -Wformat around call to sscanf.
10 * stdio-common/scanf14.c: Include <libc-internal.h>.
11 (main): Disable -Wformat around some calls to scanf functions.
12
13 2014-12-09 Torvald Riegel <triegel@redhat.com>
14
15 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16
17 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18
19 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
20 stack variable alignment.
21
22 2014-12-06 Joseph Myers <joseph@codesourcery.com>
23
24 [BZ #17682]
25 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
30 __getrlimit instead of getrlimit.
31 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32 __gettimeofday instead of gettimeofday.
33 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34 Likewise.
35 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36 Likewise.
37 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39 Remove variable.
40 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42
43 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44
45 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
46 for wide-character tests.
47
48 2014-12-04 Roland McGrath <roland@hack.frob.com>
49
50 * io/openat64.c: #include <libc-internal.h>
51 (__openat64): Prototypify. Use ignore_value on MODE.
52 * io/openat.c: Likewise.
53 * misc/reboot.c: #include <libc-internal.h>
54 (reboot): Prototypify. Use ignore_value on HOWTO.
55 * misc/ptrace.c: #include <libc-internal.h>
56 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
57
58 2014-12-04 Joseph Myers <joseph@codesourcery.com>
59
60 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
61 XPG4, UNIX98 and XOPEN2K.
62 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
63 Remove variable.
64 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
65
66 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
67
68 * libio/fileops.c: Use ISO C style for function definitions.
69 * libio/iofopen.c: Likewise.
70 * libio/wfileops.c: Likewise.
71
72 [BZ #17653]
73 * libio/fileops.c (_IO_new_file_underflow): Unset cached
74 offset on EOF.
75 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
76 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
77 (fgets_func): Function pointer to fgets and fgetws.
78 (do_ftell_test): Add test to verify ftell value after read
79 EOF.
80 (do_test): Set fgets_func.
81
82 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
83 O_TRUNC flag for w and w+ modes.
84 (do_rewind_test): Likewise.
85 (do_ftell_test): Likewise.
86 (do_write_test): Likewise.
87
88 [BZ #17647]
89 * libio/fileops.c (do_ftell): Seek only when there are
90 unflushed writes.
91 * libio/wfileops.c (do_ftell_wide): Likewise.
92 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
93 test case.
94 (do_one_test): Call it.
95
96 2014-12-03 Joseph Myers <joseph@codesourcery.com>
97
98 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
99 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
100 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
101 Remove variable.
102 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
103 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
104 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
105
106 2014-12-02 Joseph Myers <joseph@codesourcery.com>
107
108 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
109 Remove variable.
110 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
111
112 [BZ #17668]
113 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
114 as weak alias of __getifaddrs. Use libc_hidden_weak.
115 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
116 __freeifaddrs. Use libc_hidden_weak.
117 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
118 define as weak alias of __getifaddrs. Use libc_hidden_weak.
119 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
120 __freeifaddrs. Use libc_hidden_weak.
121 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
122 __getifaddrs and define as weak alias of __getifaddrs. Use
123 libc_hidden_weak.
124 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
125 __freeifaddrs. Use libc_hidden_weak.
126 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
127 Remove variable.
128 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
129 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
130
131 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
132
133 [BZ #17601]
134 * sysdeps/mips/start.S (__start): Use indirect jump to call
135 __libc_start_main.
136
137 2014-12-02 Joseph Myers <joseph@codesourcery.com>
138
139 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
140
141 * nptl/tst-mutex1.c: Include <stdbool.h>.
142 [!ATTR] (ATTR_NULL): New macro.
143 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
144 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
145 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
146
147 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
148 to char *.
149
150 [BZ #17665]
151 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
152 Change conditional to [__USE_MISC].
153
154 [BZ #17664]
155 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
156 fgets_unlocked.
157 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
158 __fgets_unlocked.
159 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
160 fgets_unlocked.
161 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
162 Remove variable.
163 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
164 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
165 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
166 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
167 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
168 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
169 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
170 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
171 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
172
173 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
174
175 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
176
177 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
178 Remove strpbrk objects.
179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
180 (__libc_ifunc_impl_list): Remove strpbrk implementation.
181 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
182 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
183 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
184 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
185
186 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
187 Remove strcspn objects.
188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
189 (__libc_ifunc_impl_list): Remove strcspn implementation.
190 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
191 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
192 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
193 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
194
195 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
196 Remove strspn objetcs.
197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
198 (__libc_ifunc_impl_list): Remove strspn implementation.
199 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
200 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
201 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
202 * sysdeps/powerpc/powerpc64/strspn.S: New file.
203
204 2014-12-01 James Lemke <jwlemke@codesourcery.com>
205
206 [BZ #17581]
207 * malloc/hooks.c
208 (mem2mem_check): Add a terminator to the chain of checking blocks.
209 (malloc_check_get_size): Use it here.
210 (mem2chunk_check): Ditto.
211
212 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
213
214 * sysdeps/powerpc/powerpc64/strtok.S: New file.
215 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
216
217 2014-11-29 Carlos O'Donell <carlos@redhat.com>
218
219 * bits/ioctl-types.h: Indent preprocessor directives correctly.
220
221 * nptl/nptl-init.c: Include libc-internal.h.
222 (__pthread_initialize_minimal_internal): Use ROUND_UP.
223
224 * elf/ldconfig.c (search_dir): Expand comment.
225
226 2014-11-29 Joseph Myers <joseph@codesourcery.com>
227
228 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
229 variable.
230 (linknamespace-symlist-stdlibs-tests): Likewise.
231 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
232 instead of $(objpfx)symlist-stdlibs.
233 (linknamespace-libs-isoc): New variable.
234 (linknamespace-libs): Use $(linknamespace-libs-isoc).
235 (linknamespace-libs-ISO): New variable.
236 (linknamespace-libs-ISO99): Likewise.
237 (linknamespace-libs-ISO11): Likewise.
238 (linknamespace-libs-XPG3): Likewise.
239 (linknamespace-libs-XPG4): Likewise.
240 (linknamespace-libs-POSIX): Likewise.
241 (linknamespace-libs-UNIX98): Likewise.
242 (linknamespace-libs-XOPEN2K): Likewise.
243 (linknamespace-libs-POSIX2008): Likewise.
244 (linknamespace-libs-XOPEN2K8): Likewise.
245 ($(objpfx)symlist-stdlibs): Replace by
246 $(linknamespace-symlist-stdlibs-tests). Use
247 $(linknamespace-libs-$*) as set of libraries.
248 ($(linknamespace-header-tests)): Update dependencies. Use
249 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
250 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
251 * conform/linknamespace.pl: Remove comment about considering
252 definitions of symbols from irrelevant libraries.
253
254 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
255
256 [BZ #13862]
257 * elf/dl-tls.c: Include <atomic.h>.
258 (oom): Remove #ifdef SHARED/#endif.
259 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
260 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
261 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
262 big enough.
263 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
264 * nptl/Makefile (tests): Add tst-stack4.
265 (modules-names): Add tst-stack4mod.
266 ($(objpfx)tst-stack4): New.
267 (tst-stack4mod.sos): Likewise.
268 ($(objpfx)tst-stack4.out): Likewise.
269 ($(tst-stack4mod.sos)): Likewise.
270 (clean): Likewise.
271 * nptl/tst-stack4.c: New file.
272 * nptl/tst-stack4mod.c: Likewise.
273
274 2014-11-27 J. Brown <jb999@gmx.de>
275
276 * sysdeps/x86/bits/string.h: Add recent CPUs.
277
278 2014-11-27 Joseph Myers <joseph@codesourcery.com>
279
280 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
281 sigblock.
282
283 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
284 feof.
285
286 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
287 variable.
288
289 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
290
291 * nscd/connections.c: Include libc-internal.h because of macro
292 usage ignore_value.
293
294 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
295
296 * string/bits/string3.h (__warn_memset_zero_len): Don't
297 declare for gcc newer than 5.0.
298 (memset): Don't test for zero-length __LEN for gcc newer than
299 5.0.
300
301 2014-11-27 Joseph Myers <joseph@codesourcery.com>
302
303 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
304 size_t for %zu format.
305
306 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
307 difference, not %ju.
308
309 2014-11-26 Joseph Myers <joseph@codesourcery.com>
310
311 * include/libc-internal.h (ignore_value): New macro.
312 * nscd/connections.c (restart): Wrap calls to setuid and setgid
313 with ignore_value.
314
315 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
316 definition.
317
318 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
319 pthread_cleanup_push to void *.
320
321 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
322 Undefine.
323
324 [BZ #16619]
325 [BZ #16740]
326 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
327 instead of 1L << 52.
328
329 * libio/bug-rewind.c (do_test): Check fwscanf return values.
330 * libio/bug-rewind2.c (do_test): Likewise.
331
332 * debug/test-stpcpy_chk-ifunc.c: Remove file.
333 * debug/test-strcpy_chk-ifunc.c: Likewise.
334 * wcsmbs/test-wcschr-ifunc.c: Likewise.
335 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
336 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
337 * wcsmbs/test-wcslen-ifunc.c: Likewise.
338 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
339 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
340 * Rules [$(multi-arch) = no] (tests): Do not filter out
341 $(tests-ifunc).
342 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
343 * debug/Makefile (tests-ifunc): Remove variable.
344 (tests): Do not add $(tests-ifunc).
345 * wcsmbs/Makefile (tests-ifunc): Remove variable.
346 (tests): Do not add $(tests-ifunc).
347 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
348 [TEST_IFUNC]: Remove conditionals.
349 * string/test-string.h (TEST_IFUNC): Remove macro.
350 [TEST_IFUNC]: Remove conditionals.
351
352 * string/test-strchr.c [!WIDE] (L): New macro.
353 [WIDE] (L): Likewise.
354 (check1): Use CHAR instead of char. Use L on string and character
355 constants.
356
357 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
358
359 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
360 tests.
361 * sysdeps/powerpc/bits/atomic.h
362 (__arch_atomic_exchange_and_add_32_acq): Add definition.
363 (__arch_atomic_exchange_and_add_32_rel): Likewise.
364 (atomic_exchange_and_add_acq): Likewise.
365 (atomic_exchange_and_add_rel): Likewise.
366 * sysdeps/powerpc/powerpc32/bits/atomic.h
367 (__arch_atomic_exchange_and_add_64_acq): Add definition.
368 (__arch_atomic_exchange_and_add_64_rel): Likewise.
369 * sysdeps/powerpc/powerpc64/bits/atomic.h
370 (__arch_atomic_exchange_and_add_64_acq): Add definition.
371 (__arch_atomic_exchange_and_add_64_rel): Likewise.
372
373 2014-11-26 Torvald Riegel <triegel@redhat.com>
374
375 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
376 Change synchronization of __sched_fifo_min_prio and
377 __sched_fifo_max_prio.
378 * nptl/pthread_mutexattr_getprioceiling.c
379 (pthread_mutexattr_getprioceiling): Likewise.
380 * nptl/pthread_mutexattr_setprioceiling.c
381 (pthread_mutexattr_setprioceiling): Likewise.
382 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
383 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
384 Likewise.
385
386 2014-11-26 Joseph Myers <joseph@codesourcery.com>
387
388 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
389 void.
390
391 2014-11-25 Joseph Myers <joseph@codesourcery.com>
392
393 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
394 third argument const.
395
396 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
397
398 fnmatch: work around GCC compiler warning bug with uninit var
399 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
400 This works around a bug with x86-64 GCC 4.9.2 and earlier
401 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
402 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
403 used uninitialized in this function [-Wmaybe-uninitialized]".
404
405 2014-11-25 Joseph Myers <joseph@codesourcery.com>
406
407 * posix/bug-regex31.c (main): Return RES not 0.
408
409 2014-11-25 Anton Blanchard <anton@samba.org>
410
411 * sysdeps/powerpc/bits/atomic.h
412 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
413
414 2014-11-24 Sterling Augustine <saugustine@google.com>
415
416 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
417
418 2014-11-24 Ryan Cumming <etaoins@gmail.com>
419
420 [BZ #17608]
421 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
422
423 2014-11-24 Joseph Myers <joseph@codesourcery.com>
424
425 [BZ #17633]
426 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
427 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
428 variable.
429 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
430 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
431
432 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
433
434 * string/strncpy.c (strncpy): Improve performance by using memset.
435
436 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
437
438 * string/strcpy.c (strcpy):
439 Improve performance by using strlen and memcpy.
440
441 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
442
443 * string/strcoll_l.c (get_next_seq): __always_inline.
444 * string/strcoll_l.c (do_compare): __always_inline.
445
446 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
447
448 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
449 defined.
450 * include/mqueue.h: Likewise.
451 * include/stdlib.h: Likewise.
452
453 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
454 (get_null_defines): Adjust.
455 * sunrpc/Makefile: Adjust comment.
456 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
457 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
458 (CFLAGS-interp.c): Likewise.
459 (CFLAGS-ldconfig.c): Likewise.
460 (CPPFLAGS-.os): Likewise.
461 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
462 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
463 * extra-modules.mk (extra-modules.mk): Likewise.
464 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
465 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
466 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
467 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
468 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
469 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
470 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
471 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
472 * iconvdata/Makefile (CPPFLAGS): Likewise.
473 (cpp-srcs-left): Add libof for all iconvdata routines.
474 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
475 * include/assert.h: Likewise.
476 * include/ctype.h: Likewise.
477 * include/errno.h: Likewise.
478 * include/libc-symbols.h: Likewise.
479 * include/math.h: Likewise.
480 * include/netdb.h: Likewise.
481 * include/resolv.h: Likewise.
482 * include/stdio.h: Likewise.
483 * include/stdlib.h: Likewise.
484 * include/string.h: Likewise.
485 * include/sys/stat.h: Likewise.
486 * include/wctype.h: Likewise.
487 * intl/l10nflist.c: Likewise.
488 * libidn/idn-stub.c: Likewise.
489 * libio/libioP.h: Likewise.
490 * nptl/libc_multiple_threads.c: Likewise.
491 * nptl/pthreadP.h: Likewise.
492 * posix/regex_internal.h: Likewise.
493 * resolv/res_hconf.c: Likewise.
494 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
495 * sysdeps/arm/memmove.S: Likewise.
496 * sysdeps/arm/sysdep.h: Likewise.
497 * sysdeps/generic/_itoa.h: Likewise.
498 * sysdeps/generic/symbol-hacks.h: Likewise.
499 * sysdeps/gnu/errlist.awk: Likewise.
500 * sysdeps/gnu/errlist.c: Likewise.
501 * sysdeps/i386/i586/memcpy.S: Likewise.
502 * sysdeps/i386/i586/memset.S: Likewise.
503 * sysdeps/i386/i686/memcpy.S: Likewise.
504 * sysdeps/i386/i686/memmove.S: Likewise.
505 * sysdeps/i386/i686/mempcpy.S: Likewise.
506 * sysdeps/i386/i686/memset.S: Likewise.
507 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
508 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
509 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
510 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
511 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
512 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
513 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
514 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
515 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
516 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
517 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
518 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
519 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
520 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
521 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
522 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
523 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
524 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
525 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
526 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
527 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
528 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
533 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
534 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
535 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
536 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
537 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
538 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
541 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
542 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
543 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
544 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
545 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
547 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
550 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
551 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
552 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
553 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
554 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
555 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
556 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
557 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
558 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
559 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
560 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
561 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
562 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
563 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
564 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
565 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
566 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
567 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
568 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
569 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
570 * sysdeps/nptl/bits/libc-lock.h: Likewise.
571 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
572 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
573 * sysdeps/posix/closedir.c: Likewise.
574 * sysdeps/posix/opendir.c: Likewise.
575 * sysdeps/posix/readdir.c: Likewise.
576 * sysdeps/posix/rewinddir.c: Likewise.
577 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
578 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
579 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
580 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
581 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
582 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
583 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
586 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
588 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
589 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
590 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
591 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
592 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
593 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
594 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
595 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
596 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
597 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
598 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
599 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
600 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
601 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
602 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
603 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
604 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
605 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
606 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
608 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
612 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
613 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
614 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
615 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
616 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
617 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
618 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
619 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
620 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
621 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
622 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
623 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
624 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
625 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
626 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
627 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
628 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
629 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
630 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
631 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
632 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
633 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
634 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
635 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
636 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
637 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
638 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
639 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
640 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
641 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
642 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
643 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
644 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
645 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
646 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
647 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
648 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
649 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
650 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
651 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
652 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
653 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
654 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
655 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
656 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
657 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
658 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
659 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
660 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
661 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
662 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
663 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
664 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
665 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
666 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
667 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
668 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
669 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
673 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
675 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
676 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
677 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
678 * sysdeps/unix/alpha/sysdep.S: Likewise.
679 * sysdeps/unix/alpha/sysdep.h: Likewise.
680 * sysdeps/unix/make-syscalls.sh: Likewise.
681 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
683 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
684 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
685 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
686 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
687 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
688 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
689 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
690 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
691 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
692 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
694 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
695 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
696 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
697 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
698 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
699 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
700 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
701 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
702 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
703 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
704 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
705 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
706 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
707 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
710 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
711 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
715 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
719 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
720 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
721 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
722 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
723 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
724 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
725 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
727 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
728 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
730 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
731 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
732 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
733 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
734 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
736 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
737 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
739 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
740 * sysdeps/x86_64/memcpy.S: Likewise.
741 * sysdeps/x86_64/memmove.c: Likewise.
742 * sysdeps/x86_64/memset.S: Likewise.
743 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
744 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
745 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
746 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
747 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
749 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
750 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
751 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
752 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
753 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
754 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
755 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
756 * sysdeps/x86_64/multiarch/memset.S: Likewise.
757 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
758 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
759 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
760 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
761 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
762 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
763 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
764 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
765 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
766 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
767 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
768 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
769 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
770 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
772 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
773 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
774 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
775 * sysdeps/x86_64/strcmp.S: Likewise.
776
777 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
778
779 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
780 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
781 * elf/rtld-Rules: Likewise.
782 * elf/setup-vdso.h: Likewise.
783 * include/assert.h: Likewise.
784 * include/bits/stdlib-float.h: Likewise.
785 * include/errno.h: Likewise.
786 * include/sys/stat.h: Likewise.
787 * include/unistd.h: Likewise.
788 * sysdeps/aarch64/setjmp.S: Likewise.
789 * sysdeps/alpha/setjmp.S: Likewise.
790 * sysdeps/arm/__longjmp.S: Likewise.
791 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
792 * sysdeps/arm/setjmp.S: Likewise.
793 * sysdeps/arm/sysdep.h: Likewise.
794 * sysdeps/generic/_itoa.h: Likewise.
795 * sysdeps/generic/dl-sysdep.h: Likewise.
796 * sysdeps/generic/ldsodefs.h: Likewise.
797 * sysdeps/i386/dl-tls.h: Likewise.
798 * sysdeps/i386/setjmp.S: Likewise.
799 * sysdeps/m68k/setjmp.c: Likewise.
800 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
801 * sysdeps/mach/hurd/opendir.c: Likewise.
802 * sysdeps/posix/getcwd.c: Likewise.
803 * sysdeps/posix/opendir.c: Likewise.
804 * sysdeps/posix/profil.c: Likewise.
805 * sysdeps/powerpc/dl-procinfo.h: Likewise.
806 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
807 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
808 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
809 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
810 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
811 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
812 * sysdeps/s390/dl-tls.h: Likewise.
813 * sysdeps/s390/s390-32/setjmp.S: Likewise.
814 * sysdeps/s390/s390-64/setjmp.S: Likewise.
815 * sysdeps/sh/sh3/setjmp.S: Likewise.
816 * sysdeps/sh/sh4/setjmp.S: Likewise.
817 * sysdeps/unix/alpha/sysdep.h: Likewise.
818 * sysdeps/unix/arm/sysdep.S: Likewise.
819 * sysdeps/unix/i386/sysdep.S: Likewise.
820 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
821 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
822 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
823 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
824 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
825 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
826 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
827 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
828 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
829 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
830 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
831 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
832 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
835 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
838 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
839 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
840 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
843 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
844 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
845 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
847 * sysdeps/unix/x86_64/sysdep.S: Likewise.
848 * sysdeps/x86_64/setjmp.S: Likewise.
849
850 * include/math.h: Use IS_IN instead of IS_IN_libm.
851 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
853 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
854 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
855 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
856 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
857 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
858 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
859 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
860 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
861 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
862 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
863 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
864 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
865 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
866 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
867 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
868 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
869 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
870 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
871 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
872 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
873 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
874 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
875 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
876 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
877 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
878 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
879 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
880 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
881 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
882 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
883 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
885 Likewise.
886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
887 Likewise.
888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
889 Likewise.
890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
891 Likewise.
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
893 Likewise.
894 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
895 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
896 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
897 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
898 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
899 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
905 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
906 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
907 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
908 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
909 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
910 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
911 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
912 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
913 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
914 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
915 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
917 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
918 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
920 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
921
922 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
923 * nptl/pthreadP.h: Likewise.
924 * nptl_db/structs.def: Likewise.
925 * sysdeps/arm/sysdep.h: Likewise.
926 * sysdeps/nptl/bits/libc-lock.h: Likewise.
927 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
928 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
929 * sysdeps/unix/alpha/sysdep.h: Likewise.
930 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
932 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
933 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
934 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
935 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
936 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
937 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
938 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
939 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
940 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
941 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
942 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
943 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
947 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
948 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
951 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
952 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
953 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
954 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
955 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
956
957 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
958 * nptl/pthreadP.h: Likewise.
959 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
960 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
961 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
962 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
963 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
964 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
965 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
966 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
967 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
968 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
969 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
970 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
972 Likewise.
973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
974 Likewise.
975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
977 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
980 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
981 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
982 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
983
984 * dlfcn/dladdr.c: Use IS_IN.
985 * dlfcn/dladdr1.c: Likewise.
986 * dlfcn/dlclose.c: Likewise.
987 * dlfcn/dlerror.c: Likewise.
988 * dlfcn/dlinfo.c: Likewise.
989 * dlfcn/dlmopen.c: Likewise.
990 * dlfcn/dlopen.c: Likewise.
991 * dlfcn/dlsym.c: Likewise.
992 * dlfcn/dlvsym.c: Likewise.
993
994 * include/ifaddrs.h: Use IS_IN.
995 * inet/check_pf.c: Likewise.
996 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
997 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
998
999 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1000 IS_IN_ldconfig.
1001 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1002 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1003
1004 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1005 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1006 IS_IN (libc).
1007
1008 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1009
1010 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1011 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1012 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1013 * include/libc-symbols.h (IS_IN_LIB): New macro.
1014 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1015 * include/netdb.h: Likewise.
1016 * include/stap-probe.h: Remove all uses of IN_LIB.
1017
1018 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1019 instead of IN_MODULE.
1020 * include/libc-symbols.h (IN_MODULE): Define using
1021 MODULE_NAME.
1022 (PASTE_NAME, PASTE_NAME1): New macros.
1023 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1024 of IN_LIB.
1025 (STAP_PROBE_ASM): Likewise.
1026
1027 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1028
1029 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1030 __mach_init in dlopened libc.
1031
1032 2014-11-22 Mike Frysinger <vapier@gentoo.org>
1033
1034 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1035 * sysdeps/arm/preconfigure: Regenerate.
1036
1037 2014-11-21 Roland McGrath <roland@hack.frob.com>
1038
1039 * nptl/pthread_create.c (__pthread_create_2_1): Set
1040 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1041 when copying values from IATTR into PD.
1042
1043 2014-11-21 Will Newton <will.newton@linaro.org>
1044 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1045
1046 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1047 Refactor inline-asm. Also add comment.
1048
1049 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1050 ElfW macro instead of hardcoded Elf64 types.
1051 (la_aarch64_gnu_pltenter): Likewise.
1052 * sysdeps/aarch64/dl-machine.h
1053 (elf_machine_runtime_setup): Use ElfW(Addr).
1054
1055 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1056 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1057 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1058 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1059 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1060 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1061 (R_AARCH64_TLS_DTPMOD): This.
1062 (R_AARCH64_TLS_DTPREL64): Rename to ...
1063 (R_AARCH64_TLS_DTPREL): This.
1064 (R_AARCH64_TLS_TPREL64): Rename to ...
1065 (R_AARCH64_TLS_TPREL): This.
1066 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1067 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1068 R_AARCH64_TLS_TPREL64.
1069 (elf_machine_rela): Likewise.
1070
1071 2014-11-21 Torvald Riegel <triegel@redhat.com>
1072
1073 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1074 by setting it to 0. 64b atomics are not supported currently.
1075
1076 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1077
1078 [BZ #16469]
1079 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1080 search domain names.
1081
1082 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1083
1084 [BZ #16469]
1085 * NEWS: Update.
1086 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1087 trailing dot.
1088 * posix/tst-getaddrinfo5.c: New.
1089 * posix/Makefile (tests): Add it.
1090
1091 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1092
1093 [BZ #14498]
1094 * NEWS: Fixed.
1095 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1096 after parsing line but before break_if_match.
1097 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1098 if there is a protocol mismatch.
1099
1100 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1101
1102 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1103 because the potential race is on the user-supplied stream.
1104
1105 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1106
1107 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1108 string literal if not passed a buffer.
1109 * manual/job.texi (ctermid): Update reasoning, note deviation
1110 from posix, suggest mtasurace when not passed a buffer, for
1111 future non-preliminary safety notes.
1112
1113 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1114
1115 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1116 of not passing it a buffer.
1117 Reported by Peng Haitao.
1118
1119 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1120
1121 * manual/Makefile ($(objpfx)stamp-summary): Require
1122 check-safety.sh to pass.
1123 * manual/check-safety.sh: Wish for verification that every
1124 @deftypefn and @deftypefun is followed by a @safety remark.
1125
1126 2014-11-20 Roland McGrath <roland@hack.frob.com>
1127
1128 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1129
1130 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1131 PTHREAD_CANCEL_ASYNCHRONOUS.
1132 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1133 send SIGCANCEL.
1134
1135 * nptl/default-sched.h: New file.
1136 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1137 * nptl/pthread_create.c: Include it.
1138 (__pthread_create_2_1): Use collect_default_sched instead of making
1139 Linux syscalls here directly.
1140
1141 2014-11-20 Torvald Riegel <triegel@redhat.com>
1142
1143 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1144 __pthread_once): Use C11 atomics.
1145
1146 2014-11-20 Torvald Riegel <triegel@redhat.com>
1147
1148 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1149
1150 2014-11-20 Torvald Riegel <triegel@redhat.com>
1151
1152 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1153 atomic_thread_fence_acquire, atomic_thread_fence_release,
1154 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1155 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1156 atomic_compare_exchange_weak_relaxed,
1157 atomic_compare_exchange_weak_acquire,
1158 atomic_compare_exchange_weak_release,
1159 atomic_exchange_acquire, atomic_exchange_release,
1160 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1161 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1162 atomic_fetch_and_acquire,
1163 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1164
1165 2014-11-20 Torvald Riegel <triegel@redhat.com>
1166
1167 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1168 USE_ATOMIC_COMPILER_BUILTINS): Define.
1169 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1171 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1173 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1175 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1177 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1179 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1181 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1183 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1185 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1187 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1189 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1191 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1193 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1195 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1197 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1199 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1201 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1203 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1204 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1205 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1207 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1209
1210 2014-11-19 Roland McGrath <roland@hack.frob.com>
1211
1212 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1213 the sched_priority value here. It was already checked when the user
1214 called pthread_attr_setschedparam.
1215
1216 * nptl/tst-bad-schedattr.c: New file.
1217 * nptl/Makefile (tests): Add it.
1218
1219 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1220 Florian Weimer <fweimer@redhat.com>
1221 Joseph Myers <joseph@codesourcery.com>
1222 Adam Conrad <adconrad@0c3.net>
1223 Andreas Schwab <schwab@suse.de>
1224 Brooks <bmoses@google.com>
1225
1226 [BZ #17625]
1227 * wordexp-test.c (__dso_handle): Add prototype.
1228 (__register_atfork): Likewise.
1229 (__app_register_atfork): New function.
1230 (registered_forks): New global.
1231 (register_fork): New function.
1232 (test_case): Add 3 new tests for WRDE_CMDSUB.
1233 (main): Call __app_register_atfork.
1234 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1235 fork count is non-zero fail the test.
1236 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1237 is set.
1238 (parse_dollars): Remove check for WRDE_NOCMD.
1239 (parse_dquote): Likewise.
1240
1241 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1242
1243 * Makeconfig (built-modules): List non-library modules to be
1244 built.
1245 (module-cppflags): Include libc-modules.h for
1246 everything except shlib-versions.v.i.
1247 (CPPFLAGS): Use it.
1248 (before-compile): Add libc-modules.h.
1249 ($(common-objpfx)libc-modules.h,
1250 $(common-objpfx)libc-modules.stmp): New targets.
1251 (common-generated): Add libc-modules.h and libc-modules.stmp.
1252 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1253 * include/libc-symbols.h: Don't include libc-modules.h.
1254 * include/libc-modules.h: Remove file.
1255 * scripts/gen-libc-modules.awk: New script to generate
1256 libc-modules.h.
1257 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1258 Depend on libc-modules.stmp.
1259
1260 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1261
1262 * Makeconfig (in-module): Get value of libof set for the
1263 translation unit.
1264 (CPPFLAGS): Use $(in-module).
1265 * Makerules: Don't suffix routine names for nonlib.
1266 * include/libc-modules.h: New file.
1267 * include/libc-symbols.h: Include libc-modules.h
1268 (IS_IN): New macro to replace IS_IN_* macros.
1269 * elf/Makefile: Set libof-* for each routine.
1270 * elf/rtld-Rules: Likewise.
1271 * extra-modules.mk: Likewise.
1272 * iconv/Makefile: Likewise.
1273 * iconvdata/Makefile: Likewise.
1274 * locale/Makefile: Likewise.
1275 * malloc/Makefile: Likewise.
1276 * nss/Makefile: Likewise.
1277 * sysdeps/gnu/Makefile: Likewise.
1278 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1279 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1280 * sysdeps/s390/s390-64/Makefile: Likewise.
1281 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1282 CPPFLAGS for nscd instead of nonlib.
1283
1284 2014-11-18 Roland McGrath <roland@hack.frob.com>
1285
1286 * nptl/createthread.c: New file.
1287
1288 * nptl/createthread.c: Moved ...
1289 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1290
1291 * nptl/createthread.c: Add proper top-line comment.
1292 (do_clone): Folded into ...
1293 (create_thread): ... here. Take new arguments STOPPED_START and
1294 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1295 increment __nptl_threads, do event-reporting logic, do
1296 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1297 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1298 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1299 just send SIGCANCEL.
1300 * nptl/pthread_create.c: Forward-declare create_thread before
1301 including createthread.c.
1302 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1303 declaration, and new macro START_THREAD_SELF to replace argument.
1304 Remove return statement.
1305 (report_thread_creation): New function.
1306 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1307 synchronization logic, and __nptl_nthreads increment here, around
1308 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1309 PD->parent_cancelhandling here, before create_thread. When
1310 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1311 __deallocate_stack, and ENOMEM translation here.
1312
1313 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1314
1315 [BZ #17616]
1316 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1317 (mptwo): Rename to __mptwo.
1318 (__inv): Use __mptwo instead of mptwo.
1319 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1320 (mptwo): Rename to __mptwo.
1321 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1322 of mpone and __mptwo instead of mptwo.
1323 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1324 instead of mpone.
1325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1326 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1327 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1328 of mpone and __mptwo instead of mptwo.
1329 (__mpranred): Use __mpone instead of mpone.
1330 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1331 variable.
1332 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1333 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1334 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1335 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1336 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1337 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1338 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1339 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1340 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1341 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1342 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1343 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1344 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1345 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1346 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1347 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1348 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1349 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1350 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1351
1352 2014-11-18 Tom de Vries <tom@codesoucery.com>
1353
1354 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1355 replace BSD Handler xref with BSD Signal Handling.
1356
1357 2014-11-17 Richard Henderson <rth@redhat.com>
1358
1359 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1360 (_FP_PACK_RAW_2): Remove.
1361 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1362 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1363 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1364 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1365 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1366 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1367 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1368 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1369 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1370 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1371 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1372 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1373 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1374 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1375 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1376 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1377
1378 2014-11-14 Roland McGrath <roland@hack.frob.com>
1379
1380 * signal/signal.h [__USE_MISC]
1381 (struct sigvec): Remove type.
1382 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1383 (sigvec): Remove declaration.
1384 * sysdeps/posix/sigvec.c: Moved ...
1385 * signal/sigvec.c: ... here, replacing old file.
1386 (struct sigvec): New type, copied from old signal.h definition.
1387 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1388 (__sigvec): Convert definition to prototype.
1389 (sigvec): Replace weak_alias with compat_symbol.
1390 * signal/Versions (libc: GLIBC_2.21): New version set.
1391 * include/signal.h: Remove __sigvec declaration.
1392 * sysdeps/unix/bsd/sigvec.c: Remove file.
1393 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1394 * manual/signal.texi (BSD Handler): Remove subsection.
1395 Move siginterrupt up to ...
1396 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1397 (Blocking in BSD): Fold subsection into its parent.
1398 * NEWS: Mention sigvec removal.
1399
1400 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1401
1402 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1403 (DLA_FMS): Make definition conditional only on [__FMA4__].
1404 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1405 definition.
1406
1407 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1408 Make definition conditional only on [PROF].
1409 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1410 definition.
1411 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1412 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1413
1414 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1415 !__GNUC__].
1416 * include/signal.h (__sigpause): Move declaration above call to
1417 libc_hidden_proto.
1418 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1419 variable.
1420 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1421 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1422
1423 2014-11-14 David S. Miller <davem@davemloft.net>
1424
1425 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1426 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1427
1428 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1429
1430 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1431 * configure: Regenerated.
1432 * manual/install.texi (Tools for Compilation): Document a
1433 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1434 compiler verified to work.
1435 * INSTALL: Regenerated.
1436
1437 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1438 redeclare with asm name.
1439 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1440 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1441 including <string.h>.
1442 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1443 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1444 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1445 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1446 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1447 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1448 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1449
1450 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1451
1452 * stdlib/strtol.c (__strtol): Use prototype definition.
1453
1454 [BZ #17594]
1455 * stdlib/strtol.c (SYM__): New macro.
1456 (SYM__1): Likewise.
1457 (__strtol): Likewise.
1458 (strtol): Rename to __strtol and define as weak alias of
1459 __strtol. Use libc_hidden_weak.
1460
1461 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1462
1463 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1464 Use numbered labels in inline assembly.
1465
1466 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1467
1468 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1469 Add setjmp LIBC_PROBE.
1470 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1471 Likewise.
1472 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1473 Add longjmp, longjmp_target LIBC_PROBE.
1474 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1475 Likewise.
1476
1477 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1478
1479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1480 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1481 to get rid of unused variable warning.
1482
1483 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1484
1485 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1486 Check for unwind_backtrace == NULL only in SHARED case.
1487 (__backchain_backtrace): Compile only in SHARED case.
1488 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1489 Likewise.
1490 (__backchain_backtrace): Declare as static.
1491
1492 2014-11-12 Roland McGrath <roland@hack.frob.com>
1493
1494 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1495 (__libc_multiple_threads_ptr): Variable moved ...
1496 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1497
1498 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1499
1500 * conform/GlibcConform.pm: New file.
1501 * conform/conformtest.pl: Use GlibcConform module.
1502 * conform/linknamespace.pl: New file.
1503 * conform/list-header-symbols.pl: Likewise.
1504 * conform/Makefile (linknamespace-symlists-base): New variable.
1505 (linknamespace-symlists-tests): Likewise.
1506 (linknamespace-header-base): Likewise.
1507 (linknamespace-header-tests): Likewise.
1508 (tests-special): Add new tests.
1509 ($(linknamespace-symlists-tests)): New rule.
1510 (linknamespace-libs): New variable.
1511 ($(objpfx)symlist-stdlibs): New rule.
1512 ($(linknamespace-header-tests)): Likewise.
1513 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1514 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1515 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1516 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1517 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1518 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1519 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1520 (test-xfail-ISO/math.h/linknamespace): Likewise.
1521 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1522 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1523 (test-xfail-ISO/time.h/linknamespace): Likewise.
1524 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1525 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1526 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1527 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1528 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1529 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1530 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1531 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1532 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1533 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1534 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1535 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1536 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1537 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1538 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1539 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1540 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1541 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1542 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1543 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1544 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1545 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1546 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1547 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1548 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1549 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1550 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1551 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1552 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1553 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1554 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1555 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1556 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1557 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1558 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1559 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1560 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1561 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1562 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1563 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1564 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1565 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1566 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1567 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1568 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1569 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1570 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1571 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1572 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1573 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1574 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1575 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1576 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1577 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1578 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1579 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1580 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1581 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1582 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1583 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1584 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1585 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1586 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1587 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1588 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1589 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1590 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1591 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1592 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1593 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1594 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1595 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1596 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1597 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1598 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1599 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1600 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1601 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1602 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1603 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1604 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1605 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1606 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1607 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1608 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1609 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1610 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1611 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1612 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1613 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1614 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1615 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1616 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1617 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1618 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1619 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1620 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1621 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1622 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1623 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1624 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1625 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1626 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1627 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1628 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1629 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1630 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1631 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1632 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1633 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1634 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1635 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1636 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1637 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1638 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1639 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1640 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1641 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1642 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1643 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1644 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1645 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1646 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1647 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1648 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1649 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1650 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1651 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1652 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1653 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1654 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1655 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1656 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1657 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1658 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1659 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1660 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1661 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1662 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1663 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1664 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1665 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1666 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1667 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1668 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1669 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1670 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1671 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1672 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1673 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1674
1675 [BZ #17589]
1676 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1677 of fgets_unlocked.
1678
1679 [BZ #17585]
1680 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1681 (memmem): Rename to __memmem and define as weak alias of
1682 __memmem. Use libc_hidden_weak.
1683 (__memmem): Use libc_hidden_def.
1684 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1685 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1686 memmem.
1687
1688 [BZ #17582]
1689 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1690 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1691 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1692 and define as weak alias of __fgets_unlocked. Use
1693 libc_hidden_weak.
1694 (__fgets_unlocked): Use libc_hidden_def.
1695 * include/stdio.h (__fgets_unlocked): Declare. Use
1696 libc_hidden_proto.
1697 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1698 __fgets_unlocked instead of fgets_unlocked.
1699 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1700 (GET_NPROCS_CONF_PARSER): Likewise.
1701 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1702 (GET_NPROCS_CONF_PARSER): Likewise.
1703
1704 [BZ #17574]
1705 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1706 weak alias of __wmemset. Use libc_hidden_weak.
1707 (__wmemset): Use libc_hidden_def.
1708 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1709 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1710 of wmemset.
1711
1712 [BZ #17573]
1713 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1714 with asm name __mempcpy.
1715 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1716
1717 [BZ #17572]
1718 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1719 and define as weak alias of __rawmemchr.
1720 (__rawmemchr): Do not define as strong alias of rawmemchr.
1721
1722 [BZ #17571]
1723 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1724 alias of __qsort_r.
1725 (qsort): Call __qsort_r instead of qsort_r.
1726 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1727 (__qsort_r): Declare. Call libc_hidden_proto.
1728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1729 instead of qsort_r.
1730 * nscd/gai.c (__qsort_r): Define to qsort_r.
1731 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1732 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1733 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1734
1735 [BZ #17570]
1736 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1737 define as weak alias of __malloc_info.
1738
1739 [BZ #17584]
1740 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1741 as weak alias of __rewinddir. Don't use libc_hidden_def.
1742 (__rewinddir): Use libc_hidden_def.
1743 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1744 as weak alias of __rewinddir. Don't use libc_hidden_def.
1745 (__rewinddir): Use libc_hidden_def.
1746 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1747 weak alias of __rewinddir. Don't use libc_hidden_def.
1748 (__rewinddir): Use libc_hidden_def.
1749 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1750 (__rewinddir): Use libc_hidden_proto.
1751 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1752 rewinddir.
1753 (__getcwd): Use __rewinddir instead of rewinddir.
1754
1755 [BZ #17583]
1756 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1757 alias of __fileno. Use libc_hidden_weak.
1758 (__fileno): Use libc_hidden_def.
1759 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1760 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1761 alias of __ftello.
1762 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1763 __ftello.
1764 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1765 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1766 libc_hidden_def.
1767 (fread_unlocked): Don't use libc_hidden_ver.
1768 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1769 and define as weak alias of __fread_unlocked. Don't use
1770 libc_hidden_def.
1771 (__fread_unlocked): Use libc_hidden_def.
1772 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1773 (ftello): Don't use libc_hidden_proto.
1774 (__ftello): Declare. Use libc_hidden_proto.
1775 (fread_unlocked): Don't use libc_hidden_proto.
1776 (__fread_unlocked): Declare. Use libc_hidden_proto.
1777 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1778 and __ftello instead of fileno, fread_unlocked and ftello.
1779
1780 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1781
1782 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1783 GOT12.
1784 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1785 Likewise.
1786 (_dl_start_user): Likewise.
1787 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1788
1789 2014-11-12 Carlos O'Donell <carlos@redhat.com>
1790 Siddhesh Poyarekar <siddhesh@redhat.com>
1791
1792 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1793 Move argv and envp down instead of moving argc up.
1794 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1795
1796 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
1797
1798 [BZ #17506]
1799 * test-skeleton.c (main): Return successful if one of
1800 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1801 * string/tst-strcoll-overflow.c: Define expected status.
1802
1803 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1804
1805 [BZ #17475]
1806 * locale/iso-639.def: Define Bhili and Tulu language codes.
1807
1808 2014-11-11 Alan Hayward <alan.hayward@arm.com>
1809
1810 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1811
1812 2014-11-10 Renlin Li <Renlin.Li@arm.com>
1813
1814 [BZ #17555]
1815 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1816
1817 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1818
1819 * configure.ac: Updated check of minimal required version to
1820 2.22.
1821 * manual/install.texi (Tools for Compilation): Updated version
1822 number.
1823 * configure: Regenerated.
1824 * INSTALL: Likewise.
1825
1826 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1827
1828 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1829 __tls_get_addr.
1830
1831 2014-11-07 Joseph Myers <joseph@codesourcery.com>
1832
1833 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1834 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1835 (__waitpid): Don't define as alias. Use libc_hidden_def not
1836 libc_hidden_weak.
1837 (waitpid): Define as alias of __waitpid.
1838 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1839 __waitpid.
1840 (__waitpid): Don't define as alias. Use libc_hidden_def not
1841 libc_hidden_weak.
1842 (waitpid): Define as alias of __waitpid.
1843 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1844 __libc_waitpid alias.
1845 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1846 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1847 Likewise.
1848 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1850 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1851 alias.
1852 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1853 __waitpid.
1854 (__waitpid): Don't define as alias. Use libc_hidden_def not
1855 libc_hidden_weak.
1856 (waitpid): Define as alias of __waitpid.
1857
1858 2014-11-06 Carlos O'Donell <carlos@redhat.com>
1859
1860 * manual/llio.texi: Add comment that write safety has been
1861 fixed in Linux.
1862
1863 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1864 (localplt-build-dso): Add elf/ld.so.
1865 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1866 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1867 and free for ld.so.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1869 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1871 Likewise.
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1873 Likewise.
1874 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1875 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1876 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1877 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1878 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1879 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1880 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1881 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1882 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1883 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1884 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1885
1886 2014-11-05 Joseph Myers <joseph@codesourcery.com>
1887
1888 [BZ #14132]
1889 * include/libc-symbols.h (INTUSE): Remove macro.
1890 (INTDEF): Likewise.
1891 (INTVARDEF): Likewise.
1892 (_INTVARDEF): Likewise.
1893 (INTDEF2): Likewise.
1894 (INTVARDEF2): Likewise.
1895 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1896 rtld_hidden_def instead of INTVARDEF.
1897 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1898 (_dl_starting_up_internal): Remove declaration.
1899 (_dl_starting_up): Use rtld_hidden_proto.
1900 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1901 declaration.
1902 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1903 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1904 _dl_starting_up.
1905 * elf/dl-writev.h (_dl_writev): Likewise.
1906 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1907 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1908 _dl_starting_up_internal.
1909
1910 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1911
1912 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1913 test-skeleton.c.
1914
1915 2014-11-05 Will Newton <will.newton@linaro.org>
1916
1917 * benchtests/Makefile: (bench-malloc): Add malloc thread
1918 scalability benchmark.
1919 * benchtests/bench-malloc-threads.c: New file.
1920
1921 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
1922
1923 * sysdeps/aarch64/strchrnul.S: New file.
1924
1925 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1926
1927 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1928 definition.
1929 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1930 Likwise.
1931 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1932 Likewise.
1933 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1934 Likewise.
1935 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1936 Likewise.
1937 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1938 Likewise.
1939
1940 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
1941
1942 * catgets/test-gencat.c: Use test-skeleton.c.
1943 * catgets/tst-catgets.c: Likewise.
1944 * csu/tst-empty.c: Likewise.
1945 * elf/tst-audit2.c: Likewise.
1946 * elf/tst-global1.c: Likewise.
1947 * elf/tst-pathopt.c: Likewise.
1948 * elf/tst-piemod1.c: Likewise.
1949 * elf/tst-tls10.c: Likewise.
1950 * elf/tst-tls11.c: Likewise.
1951 * elf/tst-tls12.c: Likewise.
1952 * gnulib/tst-gcc.c: Likewise.
1953 * iconvdata/tst-e2big.c: Likewise.
1954 * iconvdata/tst-loading.c: Likewise.
1955 * iconv/tst-iconv1.c: Likewise.
1956 * iconv/tst-iconv2.c: Likewise.
1957 * inet/test-inet6_opt.c: Likewise.
1958 * inet/tst-gethnm.c: Likewise.
1959 * inet/tst-network.c: Likewise.
1960 * inet/tst-ntoa.c: Likewise.
1961 * intl/tst-codeset.c: Likewise.
1962 * intl/tst-gettext2.c: Likewise.
1963 * intl/tst-gettext3.c: Likewise.
1964 * intl/tst-ngettext.c: Likewise.
1965 * intl/tst-translit.c: Likewise.
1966 * io/test-stat.c: Likewise.
1967 * libio/test-fmemopen.c: Likewise.
1968 * libio/tst-freopen.c: Likewise.
1969 * libio/tst-sscanf.c: Likewise.
1970 * libio/tst-ungetwc1.c: Likewise.
1971 * libio/tst-ungetwc2.c: Likewise.
1972 * libio/tst-widetext.c: Likewise.
1973 * localedata/tst-ctype.c: Likewise.
1974 * localedata/tst-digits.c: Likewise.
1975 * localedata/tst-leaks.c: Likewise.
1976 * localedata/tst-mbswcs1.c: Likewise.
1977 * localedata/tst-mbswcs2.c: Likewise.
1978 * localedata/tst-mbswcs3.c: Likewise.
1979 * localedata/tst-mbswcs4.c: Likewise.
1980 * localedata/tst-mbswcs5.c: Likewise.
1981 * localedata/tst-setlocale.c: Likewise.
1982 * localedata/tst-trans.c: Likewise.
1983 * localedata/tst-wctype.c: Likewise.
1984 * localedata/tst-xlocale1.c: Likewise.
1985 * login/tst-grantpt.c: Likewise.
1986 * malloc/tst-calloc.c: Likewise.
1987 * malloc/tst-malloc.c: Likewise.
1988 * malloc/tst-mallocstate.c: Likewise.
1989 * malloc/tst-mcheck.c: Likewise.
1990 * malloc/tst-mtrace.c: Likewise.
1991 * malloc/tst-obstack.c: Likewise.
1992 * math/atest-exp2.c: Likewise.
1993 * math/atest-exp.c: Likewise.
1994 * math/atest-sincos.c: Likewise.
1995 * math/test-matherr.c: Likewise.
1996 * math/test-misc.c: Likewise.
1997 * math/test-powl.c: Likewise.
1998 * math/tst-definitions.c: Likewise.
1999 * misc/tst-dirname.c: Likewise.
2000 * misc/tst-efgcvt.c: Likewise.
2001 * misc/tst-fdset.c: Likewise.
2002 * misc/tst-hsearch.c: Likewise.
2003 * misc/tst-mntent2.c: Likewise.
2004 * nptl/tst-sem7.c: Likewise.
2005 * nptl/tst-sem8.c: Likewise.
2006 * nptl/tst-sem9.c: Likewise.
2007 * nss/test-netdb.c: Likewise.
2008 * posix/tst-fnmatch.c: Likewise.
2009 * posix/tst-getlogin.c: Likewise.
2010 * posix/tst-gnuglob.c: Likewise.
2011 * posix/tst-mmap.c: Likewise.
2012 * pwd/tst-getpw.c: Likewise.
2013 * resolv/tst-inet_ntop.c: Likewise.
2014 * rt/tst-timer.c: Likewise.
2015 * stdio-common/test-fseek.c: Likewise.
2016 * stdio-common/test-popen.c: Likewise.
2017 * stdio-common/test-vfprintf.c: Likewise.
2018 * stdio-common/tst-cookie.c: Likewise.
2019 * stdio-common/tst-fileno.c: Likewise.
2020 * stdio-common/tst-gets.c: Likewise.
2021 * stdio-common/tst-obprintf.c: Likewise.
2022 * stdio-common/tst-perror.c: Likewise.
2023 * stdio-common/tst-sprintf2.c: Likewise.
2024 * stdio-common/tst-sprintf3.c: Likewise.
2025 * stdio-common/tst-sprintf.c: Likewise.
2026 * stdio-common/tst-swprintf.c: Likewise.
2027 * stdio-common/tst-tmpnam.c: Likewise.
2028 * stdio-common/tst-unbputc.c: Likewise.
2029 * stdio-common/tst-wc-printf.c: Likewise.
2030 * stdlib/tst-environ.c: Likewise.
2031 * stdlib/tst-fmtmsg.c: Likewise.
2032 * stdlib/tst-limits.c: Likewise.
2033 * stdlib/tst-rand48-2.c: Likewise.
2034 * stdlib/tst-rand48.c: Likewise.
2035 * stdlib/tst-random2.c: Likewise.
2036 * stdlib/tst-random.c: Likewise.
2037 * stdlib/tst-strtol.c: Likewise.
2038 * stdlib/tst-strtoll.c: Likewise.
2039 * stdlib/tst-tls-atexit.c: Likewise.
2040 * stdlib/tst-xpg-basename.c: Likewise.
2041 * string/test-ffs.c: Likewise.
2042 * string/tst-bswap.c: Likewise.
2043 * string/tst-inlcall.c: Likewise.
2044 * string/tst-strtok.c: Likewise.
2045 * string/tst-strxfrm.c: Likewise.
2046 * sysdeps/x86_64/tst-audit10.c: Likewise.
2047 * sysdeps/x86_64/tst-audit3.c: Likewise.
2048 * sysdeps/x86_64/tst-audit4.c: Likewise.
2049 * sysdeps/x86_64/tst-audit5.c: Likewise.
2050 * time/tst-ftime_l.c: Likewise.
2051 * time/tst-getdate.c: Likewise.
2052 * time/tst-mktime3.c: Likewise.
2053 * time/tst-mktime.c: Likewise.
2054 * time/tst-posixtz.c: Likewise.
2055 * time/tst-strptime2.c: Likewise.
2056 * time/tst-strptime3.c: Likewise.
2057 * wcsmbs/tst-btowc.c: Likewise.
2058 * wcsmbs/tst-mbrtowc.c: Likewise.
2059 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2060 * wcsmbs/tst-wchar-h.c: Likewise.
2061 * wcsmbs/tst-wcpncpy.c: Likewise.
2062 * wcsmbs/tst-wcrtomb.c: Likewise.
2063 * wcsmbs/tst-wcsnlen.c: Likewise.
2064 * wcsmbs/tst-wcstof.c: Likewise.
2065
2066 2014-11-04 Joseph Myers <joseph@codesourcery.com>
2067
2068 [BZ #14132]
2069 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2070 INTDEF.
2071 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2072 declaration.
2073 (_dl_mcount): Use rtld_hidden_proto.
2074 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2075 _dl_mcount.
2076 * elf/rtld.c (_rtld_global_ro): Likewise.
2077
2078 [BZ #14132]
2079 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2080 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2081 of _dl_init_internal.
2082 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2083 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2084 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2085 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2086 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2087 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2088 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2089 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2090 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2091 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2092 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2093 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2094 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2095 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2096 * sysdeps/tile/dl-start.S (_start): Likewise.
2097 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2098 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2099
2100 [BZ #14132]
2101 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2102 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2103 (rtld_progname): Make macro definition unconditional.
2104 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2105 INTDEF.
2106 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2107 (dl_main): Likewise.
2108 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2109 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2110 instead of _dl_argv_internal.
2111 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2112 __GI__dl_argv instead of INTUSE(_dl_argv).
2113 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2114 __GI__dl_argv instead of _dl_argv_internal.
2115
2116 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2117 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2118 macro.
2119 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2120 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2121 New macro.
2122 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2123 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2124 macro.
2125 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2126 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2127
2128 2014-11-04 Andreas Schwab <schwab@suse.de>
2129
2130 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2131
2132 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2133
2134 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2135 mtvsrd instruction in binary form.
2136
2137 2014-11-03 Andreas Schwab <schwab@suse.de>
2138
2139 [BZ #17522]
2140 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2141 for less than MB_LEN_MAX use a local buffer of that size.
2142 * libio/tst-fputws.c: New file.
2143 * libio/Makefile (tests): Add tst-fputws.
2144
2145 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2146
2147 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2148 the size of the fpu_fr.fpu_dregs[] array.
2149
2150 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2151
2152 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2153 (__nanosleep): Do not define as alias.
2154 (nanosleep): Define as alias of __nanosleep.
2155 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2156 __libc_nanosleep name.
2157
2158 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2159
2160 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2161 install.texi in comment.
2162
2163 2014-10-31 Torvald Riegel <triegel@redhat.com>
2164
2165 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2166 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2167 ... add here and use lwsync or sync ...
2168 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2169 ... and add here using lwsync.
2170
2171 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2172
2173 * elf/dl-machine-reject-phdr.h: New file.
2174 * elf/dl-load.c: #include that.
2175 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2176 if that returned true.
2177
2178 2014-10-31 Roland McGrath <roland@hack.frob.com>
2179
2180 [BZ #17496]
2181 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2182 gen-as-const-headers chunk. Add a big scare comment after the last
2183 safe place to touch before-compile.
2184
2185 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2186
2187 * manual/install.texi (Tools for Compilation): Update autoconf
2188 version requirements.
2189 * INSTALL: Regenerated.
2190
2191 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2192 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2193 (__libc_pselect): Likewise.
2194
2195 [BZ #14138]
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2200
2201 2014-10-31 Torvald Riegel <triegel@redhat.com>
2202
2203 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2204 correct barrier instruction.
2205 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2206 Likewise.
2207 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2208 Likewise.
2209
2210 2014-10-30 Roland McGrath <roland@hack.frob.com>
2211
2212 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2213 after defining inlines. Instead, just use parens to defeat macro
2214 expansion of __isctype in its declaration.
2215
2216 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2217
2218 * include/sys/uio.h (__libc_readv): Remove declaration.
2219 (__libc_writev): Likewise.
2220 * misc/readv.c (__libc_readv): Rename to __readv.
2221 (__readv): Do not define as alias.
2222 (readv): Define as alias of __readv.
2223 * misc/writev.c (__libc_writev): Rename to __writev.
2224 (__writev): Do not define as alias.
2225 (writev): Define as alias of __writev.
2226 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2227 (__readv): Do not define as alias.
2228 (readv): Define unconditionally as alias of __readv.
2229 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2230 (__writev): Do not define as alias.
2231 (writev): Define unconditionally as alias of __writev.
2232 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2233 name.
2234 (writev): Do not define __libc_writev name.
2235
2236 2014-10-30 Roland McGrath <roland@hack.frob.com>
2237
2238 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2239 (convert_charseq): New function, broken out of ...
2240 (use_from_charmap): ... here. Call it.
2241 (use_to_charmap): Use convert_charseq and free instead of duplicating
2242 its code with a variable-length stack struct.
2243
2244 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2245
2246 * include/fcntl.h (__libc_creat): Remove declaration.
2247 * io/creat.c (__libc_creat): Rename to creat.
2248 (creat): Do not define as alias.
2249 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2250 of creat instead of __libc_creat.
2251 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2252 to creat.
2253 (creat): Do not define as alias.
2254 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2255 __libc_creat.
2256 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2257 __libc_creat name.
2258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2259 Likewise.
2260
2261 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2262
2263 * manual/llio.texi: Add comments discussing why write() may be
2264 considered MT-unsafe on Linux.
2265
2266 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2267
2268 * dl-load.c (local_strdup): Remove.
2269 (expand_dynamic_string_token): Use __strdup.
2270 (decompose_rpath): Likewise.
2271 (_dl_map_object): Likewise.
2272
2273 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2274
2275 [BZ #14132]
2276 * sysdeps/generic/unwind-dw2-fde.c
2277 (__register_frame_info_bases_internal): Do not declare.
2278 (__register_frame_info_table_bases_internal): Likewise.
2279 (__deregister_frame_info_bases_internal): Likewise.
2280 (__register_frame_info_bases): Declare and use hidden_proto before
2281 definition. Use hidden_def instead of INTDEF.
2282 (__register_frame_info_table_bases): Likewise.
2283 (__deregister_frame_info_bases): Likewise.
2284 (__register_frame_info): Do not use INTUSE.
2285 (__register_frame): Likewise.
2286 (__register_frame_info_table): Likewise.
2287 (__register_frame_table): Likewise.
2288 (__deregister_frame_info): Likewise.
2289 (__deregister_frame): Likewise.
2290
2291 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2292
2293 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2294 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2295 not undefine.
2296 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2297 Likewise.
2298 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2299 Likewise.
2300
2301 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2302
2303 [BZ #14138]
2304 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2305 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2306 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2307 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2308 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2309 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2310 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2311 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2312 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2313 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2314 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2315 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2316 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2317 syscall.
2318 (setfsuid): Likewise.
2319 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2320 (setfsuid): Likewise.
2321 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2322 (setfsuid): Likewise.
2323 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2324 Likewise.
2325 (setfsuid): Likewise.
2326 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2327 (setfsuid): Likewise.
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2329 Likewise.
2330 (setfsuid): Likewise.
2331
2332 2014-10-27 Andreas Schwab <schwab@suse.de>
2333
2334 [BZ #17501]
2335 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2336 check for Slow_SSE4_2 feature bit.
2337 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2338 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2339 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2340 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2341
2342 2014-10-24 Roland McGrath <roland@hack.frob.com>
2343
2344 * configure.ac: Validate compiler version with a empirical test of
2345 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2346 $CC -v output.
2347 * configure: Regenerated.
2348
2349 * inet/htons.c (htons): Prototypify.
2350 * inet/htonl.c (htonl): Likewise.
2351
2352 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2353
2354 * string/strncat.c (strncat): Improve performance by using strlen.
2355
2356 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2357
2358 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2359
2360 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2361
2362 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2363 Call libc_fetestexcept_aarch64.
2364
2365 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2366
2367 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2368 Call libc_feholdexcept_aarch64.
2369
2370 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2371
2372 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2373 Call get_rounding_mode.
2374
2375 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2376
2377 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2378 Simplify logic.
2379
2380 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2381
2382 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2383 Simplify logic.
2384
2385 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2386
2387 [BZ #14138]
2388 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2389 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2390 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2391 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2392 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2393 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2394 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2395 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2396 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2397 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2398 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2399 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2400 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2401 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2402 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2403 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2404 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2405 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2406 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2407 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2408 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2409 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2410 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2411 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2412 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2413 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2414 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2415 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2416 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2417 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2418 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2419 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2420 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2421 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2422 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2423 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2426 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2427 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2428 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2429 syscall.
2430 (geteuid): Likewise.
2431 (getgid): Likewise.
2432 (getuid): Likewise.
2433 (getresgid): Likewise.
2434 (getresuid): Likewise.
2435 (getgroups): Likewise.
2436 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2437 (geteuid): Likewise.
2438 (getgid): Likewise.
2439 (getuid): Likewise.
2440 (getresgid): Likewise.
2441 (getresuid): Likewise.
2442 (getgroups): Likewise.
2443 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2444 (geteuid): Likewise.
2445 (getgid): Likewise.
2446 (getuid): Likewise.
2447 (getresgid): Likewise.
2448 (getresuid): Likewise.
2449 (getgroups): Likewise.
2450 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2451 Likewise.
2452 (geteuid): Likewise.
2453 (getgid): Likewise.
2454 (getuid): Likewise.
2455 (getresgid): Likewise.
2456 (getresuid): Likewise.
2457 (getgroups): Likewise.
2458 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2459 (geteuid): Likewise.
2460 (getgid): Likewise.
2461 (getuid): Likewise.
2462 (getresgid): Likewise.
2463 (getresuid): Likewise.
2464 (getgroups): Likewise.
2465 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2466 Likewise.
2467 (geteuid): Likewise.
2468 (getgid): Likewise.
2469 (getuid): Likewise.
2470 (getgroups): Likewise.
2471
2472 [BZ #14138]
2473 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2474 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2475 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2476 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2477 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2478 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2479 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2480 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2481 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2483 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2485 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2486 __chown.
2487 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2488 (lchown): Likewise.
2489 (fchown): Likewise.
2490 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2491 Likewise.
2492 (lchown): Likewise.
2493 (fchown): Likewise.
2494 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2495 (lchown): Likewise.
2496 (fchown): Likewise.
2497 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2498 Likewise.
2499 (lchown): Likewise.
2500 (fchown): Likewise.
2501
2502 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2503
2504 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2505 Simplify logic.
2506
2507 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2508
2509 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2510 Cleanup logic.
2511
2512 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2513
2514 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2515 Remove unused include.
2516
2517 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2518
2519 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2520 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2521 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2522 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2523
2524 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2525 Helge Deller <deller@gmx.de>
2526
2527 [BZ #17508]
2528 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2529 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2530 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2531
2532 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2533
2534 [BZ #14132]
2535 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2536 Remove macro definition.
2537 (__ashrdi3_v_glibc20): Likewise.
2538 (__lshrdi3_v_glibc20): Likewise.
2539 (__cmpdi2_v_glibc20): Likewise.
2540 (__ucmpdi2_v_glibc20): Likewise.
2541 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2542 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2543 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2544 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2545 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2546 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2547
2548 2014-10-22 Roland McGrath <roland@hack.frob.com>
2549
2550 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2551 old GNU extension [0] syntax.
2552 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2553 alloca rather than an array member with variable length.
2554 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2555 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2556 (parse_opt): ... here. Likewise use alloca there.
2557 Validate the -i argument before checking for rootness.
2558 (send_shutdown): New function, broken out of ...
2559 (parse_opt): ... here.
2560
2561 2014-10-22 Roland McGrath <roland@hack.frob.com>
2562
2563 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2564 macro to get at the _rt_local_ro field.
2565 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2566 ([PIC] case) or _dl_hwcap ([!PIC] case).
2567 * sysdeps/arm/setjmp.S: Likewise.
2568
2569 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2570 * sysdeps/arm/configure.ac: New check to define it.
2571 * sysdeps/arm/configure: Regenerated.
2572 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2573 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2574 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2575 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2576 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2577 Use move/movt pair instead of a load.
2578 (LDST_GLOBAL): Macro removed.
2579 (LDR_GLOBAL): New macro replaces it.
2580 (LDR_HIDDEN): New macro.
2581 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2582 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2583
2584 * setjmp/tst-setjmp-static.c: New file.
2585 * setjmp/Makefile (tests): Add it.
2586 (tests-static): New variable.
2587
2588 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2589
2590 [BZ #17485]
2591 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2592
2593 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2594
2595 [BZ #14132]
2596 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2597
2598 2014-10-21 Roland McGrath <roland@hack.frob.com>
2599
2600 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2601
2602 2014-10-20 Roland McGrath <roland@hack.frob.com>
2603
2604 * io/fts.c (dirent_not_directory): New function.
2605 (fts_build): Call it.
2606
2607 2014-10-20 Roland McGrath <roland@hack.frob.com>
2608
2609 * nptl/version.c (__nptl_main): Use normal __write rather than
2610 INTERNAL_SYSCALL.
2611 (banner): Update copyright years.
2612
2613 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2614 gettimeofday.
2615 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2616 * nptl/pthread_cond_timedwait.c: Likewise.
2617 * nptl/pthread_mutex_timedlock.c: Likewise.
2618 * nptl/sem_timedwait.c: Likewise.
2619
2620 * sysdeps/nptl/bits/libc-lock.h
2621 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2622 (__libc_lock_init_recursive): Return void, not 0.
2623 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2624 (__libc_rwlock_init): Likewise.
2625 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2626
2627 2014-10-20 Torvald Riegel <triegel@redhat.com>
2628
2629 [BZ #15215]
2630 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2631 (__pthread_once_slow): ... here.
2632 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2633 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2634
2635 2014-10-20 Torvald Riegel <triegel@redhat.com>
2636
2637 [BZ #15215]
2638 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2639 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2640 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2641 * nptl/pthread_once.c (__pthread_once): Likewise.
2642 Update comments.
2643
2644 2014-10-20 Joseph Myers <joseph@codesourcery.com>
2645
2646 [BZ #14138]
2647 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2648 name.
2649 (writev): Use __libc_writev as strong name.
2650 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2651 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2652
2653 2014-10-17 Roland McGrath <roland@hack.frob.com>
2654
2655 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2656
2657 * sysdeps/i386/nptl/tls.h
2658 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2659 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2660 New macros.
2661 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2662 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2663 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2664 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2665 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2666 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2667
2668 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2669 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2670 on [__NR_futex].
2671 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2672 broken out of ...
2673 (__pthread_mutex_init): ... here. Call it.
2674 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2675 Conditionalize PI cases on [__NR_futex].
2676 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2677 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2678 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2679
2680 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2681 conditional on [SIGSETXID].
2682 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2683 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2684 is defined. Likewise for SIGSETXID.
2685 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2686 Conditionalize definitions on [SIGSETXID].
2687 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2688 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2689 unblocking on [SIGCANCEL].
2690
2691 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2692 [__NR_set_robust_list].
2693
2694 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2695
2696 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2697 (do_compare): Likewise.
2698
2699 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
2700
2701 [BZ #15884]
2702 * string/strcoll_l.c: Don't include stdio.h.
2703 (coll_seq): Remove members idxarr and rulearr.
2704 (get_next_seq_cached): Remove function.
2705 (get_next_seq): Likewise.
2706 (get_next_seq_nocache): Rename to get_next_seq.
2707 (do_compare): Remove function.
2708 (do_compare_nocache): Rename to do_compare.
2709 (STRCOLL): Remove weight and rules cache.
2710
2711 2014-10-16 Roland McGrath <roland@hack.frob.com>
2712
2713 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2714 * sysdeps/arm/sfp-machine.h: ... to here.
2715 * sysdeps/arm/Implies: Remove arm/soft-fp.
2716
2717 2014-10-14 Joseph Myers <joseph@codesourcery.com>
2718
2719 * conform/data/sys/utsname.h-data (*_t): Allow.
2720 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2721 [POSIX] (WEXITED): Do not expect constant.
2722 [POSIX] (WSTOPPED): Likewise.
2723 [POSIX] (WNOHANG): Likewise.
2724 [POSIX] (WNOWAIT): Likewise.
2725 [POSIX] (siginfo_t): Do not expect type or elements.
2726 [POSIX] (pid_t): Do not expect type.
2727 [POSIX] (signal.h): Do not allow header.
2728 [POSIX] (sys/resource.h): Likewise.
2729 [POSIX] (si_*): Do not allow pattern.
2730 [POSIX] (W*): Likewise.
2731 [POSIX] (P_*): Likewise.
2732 [POSIX] (BUS_*): Likewise.
2733 [POSIX] (CLD_*): Likewise.
2734 [POSIX] (FPE_*): Likewise.
2735 [POSIX] (ILL_*): Likewise.
2736 [POSIX] (POLL_*): Likewise.
2737 [POSIX] (SEGV_*): Likewise.
2738 [POSIX] (SI_*): Likewise.
2739 [POSIX] (TRAP_*): Likewise.
2740 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2741 variable.
2742
2743 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2744
2745 [BZ #12926]
2746 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2747 infinite loop when __recvmsg returns 0.
2748
2749 2014-10-10 Joseph Myers <joseph@codesourcery.com>
2750
2751 * CANCEL-FCT-WAIVE: Remove file.
2752 * CANCEL-FILE-WAIVE: Likewise.
2753
2754 [BZ #14132]
2755 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2756 instead of INTVARDEF.
2757 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2758 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2759 rtld_hidden_data_def instead of INTVARDEF.
2760 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2761 * elf/dl-deps.c (expand_dst): Likewise.
2762 * elf/dl-load.c (_dl_dst_count): Likewise.
2763 (_dl_dst_substitute): Likewise.
2764 (decompose_rpath): Likewise.
2765 (_dl_init_paths): Likewise.
2766 (open_path): Likewise.
2767 (_dl_map_object): Likewise.
2768 * elf/rtld.c (dl_main): Likewise.
2769 (process_dl_audit): Likewise.
2770 (process_envvars): Likewise.
2771 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2772 Remove declaration.
2773 (__libc_enable_secure): Use rtld_hidden_proto.
2774
2775 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2776
2777 * elf/dl-load.c
2778 (add_path): New function broken out of _dl_rtld_di_serinfo.
2779 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2780
2781 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2782
2783 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2784 parentheses around macro arguments.
2785 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2786 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2787 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2788 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2789 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2790 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2791 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2792 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2793 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2794 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2796 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2797 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2798 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2799 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2800 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2801 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2802 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2803 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2804 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2805 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2806 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2807 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2808 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2809 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2810 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2811 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2813 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2814 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2815 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2816 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2817 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2818 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2819 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2820 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2821 Likewise.
2822 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2823 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2824 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2826 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2827 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2828 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2829 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2830 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2831 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2832 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2833 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2834 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2837 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2838 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2839 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2840 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2841 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2842 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2843 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2844 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2845 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2846 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2847 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2848 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2849 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2850 (_FP_FRAC_SRS_1): Likewise.
2851 (_FP_FRAC_CLZ_1): Likewise.
2852 (_FP_MUL_MEAT_1_imm): Likewise.
2853 (_FP_MUL_MEAT_1_wide): Likewise.
2854 (_FP_MUL_MEAT_1_hard): Likewise.
2855 (_FP_SQRT_MEAT_1): Likewise.
2856 (_FP_FRAC_ASSEMBLE_1): Likewise.
2857 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2858 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2859 (__FP_CLZ_2): Likewise.
2860 (_FP_MUL_MEAT_2_wide): Likewise.
2861 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2862 (_FP_MUL_MEAT_2_gmp): Likewise.
2863 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2864 (_FP_SQRT_MEAT_2): Likewise.
2865 (_FP_FRAC_ASSEMBLE_2): Likewise.
2866 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2867 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2868 (_FP_FRAC_CLZ_4): Likewise.
2869 (_FP_MUL_MEAT_4_wide): Likewise.
2870 (_FP_MUL_MEAT_4_gmp): Likewise.
2871 (_FP_SQRT_MEAT_4): Likewise.
2872 (_FP_FRAC_ASSEMBLE_4): Likewise.
2873 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2874 * soft-fp/op-common.h (_FP_CMP): Likewise.
2875 (_FP_CMP_EQ): Likewise.
2876 (_FP_CMP_UNORD): Likewise.
2877 (_FP_TO_INT): Likewise.
2878 (_FP_FROM_INT): Likewise.
2879 [!__FP_CLZ] (__FP_CLZ): Likewise.
2880 (_FP_DIV_HELP_imm): Likewise.
2881 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2882 Likewise.
2883 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2884 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2885 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2886 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2887 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2888 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2889 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2890 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2891 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2892 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2894 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2895 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2896 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2897 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2898 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2899 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2900 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2901 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2902 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2903 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2904 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2905 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2906 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2907 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2908 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2909 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2910 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2912 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2913 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2914 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2915 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2916 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2917 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2918 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2919 (FP_UNPACK_RAW_SP): Likewise.
2920 (FP_PACK_RAW_S): Likewise.
2921 (FP_PACK_RAW_SP): Likewise.
2922 (FP_UNPACK_S): Likewise.
2923 (FP_UNPACK_SP): Likewise.
2924 (FP_UNPACK_SEMIRAW_S): Likewise.
2925 (FP_UNPACK_SEMIRAW_SP): Likewise.
2926 (FP_PACK_S): Likewise.
2927 (FP_PACK_SP): Likewise.
2928 (FP_PACK_SEMIRAW_S): Likewise.
2929 (FP_PACK_SEMIRAW_SP): Likewise.
2930 (_FP_SQRT_MEAT_S): Likewise.
2931 (FP_CMP_S): Likewise.
2932 (FP_CMP_EQ_S): Likewise.
2933 (FP_CMP_UNORD_S): Likewise.
2934 (FP_TO_INT_S): Likewise.
2935 (FP_FROM_INT_S): Likewise.
2936
2937 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2938
2939 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2940 (FP_EX_INVALID_IMZ): Likewise.
2941 (FP_EX_INVALID_IMZ_FMA): Likewise.
2942 (FP_EX_INVALID_ISI): Likewise.
2943 (FP_EX_INVALID_ZDZ): Likewise.
2944 (FP_EX_INVALID_IDI): Likewise.
2945 (FP_EX_INVALID_SQRT): Likewise.
2946 (FP_EX_INVALID_CVI): Likewise.
2947 (FP_EX_INVALID_VC): Likewise.
2948 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2949 "invalid" exceptions.
2950 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2951 (_FP_ADD_INTERNAL): Likewise.
2952 (_FP_MUL): Likewise.
2953 (_FP_FMA): Likewise.
2954 (_FP_DIV): Likewise.
2955 (_FP_CMP_CHECK_NAN): Likewise.
2956 (_FP_SQRT): Likewise.
2957 (_FP_TO_INT): Likewise.
2958 (FP_EXTEND): Likewise.
2959
2960 2014-10-09 Allan McRae <allan@archlinux.org>
2961
2962 * po/fr.po: Update French translation from translation project.
2963
2964 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2965
2966 [BZ #14132]
2967 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2968 of INTDEF.
2969 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2970 (__cxa_atexit): Use libc_hidden_proto.
2971 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2972
2973 [BZ #14132]
2974 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2975 declaration.
2976 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2977 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2978 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2979 [!_ISOMAC] (__iswctype_internal): Likewise.
2980 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2981 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2982 alias.
2983 (fcntl): Remove __fcntl_internal alias.
2984 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2985 __connect_internal alias.
2986 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2987 Likewise.
2988
2989 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2990 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2991 FP_DENORM_ZERO.
2992 (_FP_CHECK_FLUSH_ZERO): New macro.
2993 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2994 (_FP_CMP): Likewise.
2995 (_FP_CMP_EQ): Likewise.
2996 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2997 FP_DENORM_ZERO.
2998 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2999 (FP_TRUNC): Likewise.
3000
3001 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3002 treated as invalid conversion, not as normal exponent.
3003
3004 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3005 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3006 (_FP_CMP_EQ): Likewise.
3007 (_FP_CMP_UNORD): Likewise.
3008 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3009 (FP_CMP_EQ_D): Likewise.
3010 (FP_CMP_UNORD_D): Likewise.
3011 * soft-fp/extended.h (FP_CMP_E): Likewise.
3012 (FP_CMP_EQ_E): Likewise.
3013 (FP_CMP_UNORD_E): Likewise.
3014 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3015 (FP_CMP_EQ_Q): Likewise.
3016 (FP_CMP_UNORD_Q): Likewise.
3017 * soft-fp/single.h (FP_CMP_S): Likewise.
3018 (FP_CMP_EQ_S): Likewise.
3019 (FP_CMP_UNORD_S): Likewise.
3020 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3021 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3022 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3023 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3024 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3025 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3026 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3027 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3028 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3029 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3030 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3031 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3032 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3033 to FP_CMP_Q.
3034 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3035 FP_CMP_Q.
3036 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3037 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3038 FP_CMP_EQ_Q.
3039 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3040 FP_CMP_Q.
3041 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3042 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3043 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3044 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3045 FP_CMP_EQ_Q.
3046 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3047 FP_CMP_Q.
3048 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3049 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3050 FP_CMP_EQ_Q.
3051 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3052 FP_CMP_Q.
3053 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3054 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3055 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3056 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3057 FP_CMP_EQ_Q.
3058
3059 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3060 a subnormal result, set the underflow exception if trapping on
3061 underflow is enabled.
3062 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3063 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3064 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3065 redefine to 0.
3066 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3067 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3068 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3069 * soft-fp/extendxftf2.c (__extendxftf2): Use
3070 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3071
3072 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3073 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3074 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3075 FP_HANDLE_EXCEPTIONS.
3076 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3077 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3078 FP_HANDLE_EXCEPTIONS.
3079 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3080 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3081 FP_HANDLE_EXCEPTIONS.
3082 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3083 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3084 FP_HANDLE_EXCEPTIONS.
3085
3086 2014-10-08 Joseph Myers <joseph@codesourcery.com>
3087
3088 [BZ #14132]
3089 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3090 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3091 use INTUSE.
3092 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3093 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3094 Remove alias.
3095 (__adjtimex): Define using libc_hidden_ver.
3096 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3097 Remove declaration.
3098 (ntp_gettime): Call __adjtimex directly.
3099 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3100 Remove declaration.
3101 (ntp_gettimex): Call __adjtimex directly.
3102 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3103 __adjtimex_internal alias.
3104
3105 2014-10-08 Roland McGrath <roland@hack.frob.com>
3106
3107 [BZ #17460]
3108 * nscd/nscd.c (more_help): Rewrite list of tables collection
3109 using xstrdup and asprintf.
3110
3111 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3112
3113 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3114 Roland McGrath <roland@hack.frob.com>
3115
3116 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3117 (do_lookup_unique): ... local function 'enter' here; update callers.
3118
3119 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3120
3121 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3122 compat_symbol calls on [SHARED].
3123 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3124 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3125 Remove.
3126 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3127 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3128 (oldsetrlimit): Remove.
3129 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3131 (lchown): New syscall entry.
3132 (oldsetrlimit): Remove.
3133 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3134 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3135 (oldsetrlimit): Remove.
3136 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3137
3138 [BZ #14138]
3139 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3140 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3141 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3142 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3143 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3144 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3145 (fchown): Likewise.
3146 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3147 (fchown): Likewise.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3149 Likewise.
3150
3151 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3152
3153 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3154 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3155 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3156 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3157 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3158 Likewise.
3159 (__old_sem_post): Likewise.
3160
3161 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3162
3163 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3164 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3165 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3166 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3167 Use INLINE_VSYSCALL macro.
3168 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3169 __vdso_clock_gettime.
3170 * sysdeps/unix/sysv/linux/tile/init-first.c
3171 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3172 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3173 __vdso_clock_gettime.
3174
3175 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3176 to set up frame more cleanly.
3177
3178 * sysdeps/tile/memcmp.c: New file.
3179
3180 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3181
3182 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3183 * sysdeps/tile/tilegx/strcasestr.c: New file.
3184 * sysdeps/tile/tilegx/strnlen.c: New file.
3185 * sysdeps/tile/tilegx/strstr.c: New file.
3186
3187 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3188
3189 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3190
3191 * nptl/tst-setuid3.c: Write errors to stdout.
3192
3193 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3194
3195 * elf/dl-deps.c
3196 (preload): New functions broken out of _dl_map_object_deps.
3197 (_dl_map_object_deps): Remove a nested function. Update call sites.
3198
3199 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #14138]
3202 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3203 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3204
3205 2014-10-01 Steve Ellcey <sellcey@mips.com>
3206
3207 * sysdeps/mips/strcmp.S: New.
3208
3209 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3210
3211 [BZ #14138]
3212 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3213 (linkat): Likewise.
3214 (mkdirat): Likewise.
3215 (readlinkat): Likewise.
3216 (renameat): Likewise.
3217 (symlinkat): Likewise.
3218 (unlinkat): Likewise.
3219 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3220 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3221 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3222 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3223 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3224 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3225 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3226
3227 2014-09-30 Will Newton <will.newton@linaro.org>
3228
3229 * math/math.h: Define long double math functions if
3230 _LIBC_TEST is defined.
3231 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3232
3233 * localedata/Makefile: Move assignment to tests-special
3234 into an ifdef testing run-built-tests.
3235 * timezone/Makefile: Likewise.
3236
3237 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3238
3239 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3240 with $(BASH) not $(SHELL).
3241
3242 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3243 Matthew LeGendre <legendre1@llnl.gov>
3244
3245 [BZ #17411]
3246 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3247 l_reloc_result.
3248
3249 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3250
3251 * stdio-common/printf_fp.c
3252 (hack_digit): New function, broken out of ...
3253 (__printf_fp): ... local function here. Update call sites.
3254 hack_digit now takes an additional parameter that is a pointer
3255 to a struct of the referenced locals. Those locals moved inside
3256 the struct and references updated.
3257
3258 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3259
3260 * aclocal.m4: Require autoconf 2.69.
3261 * configure: Regenerated.
3262 * sysdeps/aarch64/configure: Likewise.
3263 * sysdeps/alpha/configure: Likewise.
3264 * sysdeps/arm/armv7/configure: Likewise.
3265 * sysdeps/arm/configure: Likewise.
3266 * sysdeps/ia64/configure: Likewise.
3267 * sysdeps/mach/configure: Likewise.
3268 * sysdeps/mips/configure: Likewise.
3269 * sysdeps/s390/configure: Likewise.
3270 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3272
3273 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3274 file.
3275 * sysdeps/ia64/configure.ac: Likewise.
3276
3277 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3278
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3280 specify symbol version for ld.so. Do not include entry for
3281 libpthread.
3282 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3283 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3284 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3285
3286 [BZ #14171]
3287 * Makeconfig [$(build-shared) = yes]
3288 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3289 makefiles.
3290 [$(build-shared) = yes && $(soversions.mk-done) = t]
3291 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3292 [$(build-shared) = yes && $(soversions.mk-done) = t]
3293 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3294 to Makerules.
3295 [$(build-shared) = yes && $(soversions.mk-done) = t]
3296 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3297 here.
3298 [$(build-shared) = yes && $(soversions.mk-done) = t]
3299 (common-generated): Don't append gnu/lib-names.h and
3300 gnu/lib-names.stmp here.
3301 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3302 (lib-names-h-abi): New variable.
3303 [$(build-shared) = yes && $(soversions.mk-done) = t]
3304 (lib-names-stmp-abi): Likewise.
3305 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3306 abi-variants] (before-compile): Append
3307 $(common-objpfx)$(lib-names-h-abi).
3308 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3309 abi-variants] (common-generated): Append gnu/lib-names.h.
3310 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3311 abi-variants] (install-others-nosubdir): Depend on
3312 $(inst_includedir)/$(lib-names-h-abi).
3313 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3314 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3315 [$(build-shared) = yes && $(soversions.mk-done) = t]
3316 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3317 [$(build-shared) = yes && $(soversions.mk-done) = t]
3318 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3319 [$(build-shared) = yes && $(soversions.mk-done) = t]
3320 (common-generated): Append $(lib-names-h-abi) and
3321 $(lib-names-stmp-abi).
3322 * scripts/lib-names.awk: Do not handle multi being set.
3323 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3324 Remove variable.
3325 (abi-lp64_be-ld-soname): Likewise.
3326 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3327 Likewise.
3328 (abi-hard-ld-soname): Likewise.
3329 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3330 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3331 Remove variable.
3332 (abi-o32_hard-ld-soname): Likewise.
3333 (abi-o32_soft_2008-ld-soname): Likewise.
3334 (abi-o32_hard_2008-ld-soname): Likewise.
3335 (abi-n32_soft-ld-soname): Likewise.
3336 (abi-n32_hard-ld-soname): Likewise.
3337 (abi-n32_soft_2008-ld-soname): Likewise.
3338 (abi-n32_hard_2008-ld-soname): Likewise.
3339 (abi-n64_soft-ld-soname): Likewise.
3340 (abi-n64_hard-ld-soname): Likewise.
3341 (abi-n64_soft_2008-ld-soname): Likewise.
3342 (abi-n64_hard_2008-ld-soname): Likewise.
3343 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3344 Likewise.
3345 (abi-64-v2-ld-soname): Likewise.
3346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3347 ld.so entries.
3348 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3349 variable.
3350 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3351 entry.
3352 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3353 variable.
3354 (abi-64-ld-soname): Likewise.
3355 (abi-x32-ld-soname): Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3357 entry.
3358 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3359
3360 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3361
3362 [BZ #14138]
3363 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3364 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3365 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3366 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3367 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3368 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3369 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3370 syscall entry for GLIBC_2.2 symbol version.
3371 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3372 Likewise.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3374 (setrlimit): Likewise.
3375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3376 Likewise.
3377
3378 2014-09-23 Will Newton <will.newton@linaro.org>
3379
3380 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3381 _LINUX_ARM_SYSDEP_H include guard too.
3382 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3383 define.
3384
3385 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3386
3387 * sysdeps/unix/sysv/linux/eventfd.c:
3388 Make first argument unsigned.
3389 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3390 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3391
3392 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3393
3394 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3395 * socket/sys/socket.h: Likewise
3396 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3397
3398 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3399
3400 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3401
3402 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3403
3404 * time/tst-ftime.c: New test.
3405 * time/Makefile (tests): Add tst-ftime.
3406
3407 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3408
3409 * soft-fp/extended.h: Fix comment formatting.
3410 * soft-fp/op-1.h: Likewise.
3411 * soft-fp/op-2.h: Likewise.
3412 * soft-fp/op-4.h: Likewise.
3413 * soft-fp/op-8.h: Likewise.
3414 * soft-fp/op-common.h: Likewise.
3415 * soft-fp/soft-fp.h: Likewise.
3416
3417 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3418
3419 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3420
3421 [BZ #6652]
3422 * Makeconfig (soversions-default-setname): Remove variable.
3423 ($(common-objpfx)soversions.i): Don't pass default_setname to
3424 soversions.awk.
3425 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3426 oldest_abi to abi-versions.awk.
3427 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3428 * config.make.in (oldest-abi): Remove variable.
3429 * configure.ac (--enable-oldest-abi): Remove configure option.
3430 * configure: Regenerated.
3431 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3432 text.
3433 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3434 * scripts/soversions.awk: Do not handle default_setname variable.
3435 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3436 variable.
3437 * sysdeps/mach/hurd/configure: Regenerated.
3438 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3439 variable.
3440 * sysdeps/unix/sysv/linux/configure: Regenerated.
3441
3442 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3443
3444 * elf/Makefile (CFLAGS-interp.c): Remove.
3445 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3446 path string.
3447 * elf/interp.c: Include generated runtime-linker.h
3448
3449 * Makerules (lib%.so): Don't include $(+interp) in
3450 prerequisites.
3451 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3452 * dlfcn/eval.c: Remove file.
3453
3454 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3455 macros.
3456
3457 [BZ #17266]
3458 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3459 4.2 and newer.
3460
3461 [BZ #17370]
3462 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3463
3464 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3465 Jakub Jelinek <jakub@redhat.com>
3466
3467 [BZ #17266]
3468 * libio/stdio.h: Check definition of __fortify_function
3469 instead of __extern_always_inline to include bits/stdio2.h.
3470 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3471 check if __extern_always_inline is defined.
3472 [__USE_MISC || __USE_XOPEN]: Likewise.
3473 [__USE_ISOC99] Likewise.
3474 * misc/sys/cdefs.h (__fortify_function): Define only if
3475 __extern_always_inline is defined.
3476 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3477 __extern_always_inline and __extern_inline only for g++-4.3
3478 and newer or a compatible gcc.
3479
3480 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3481
3482 [BZ #17371]
3483 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3484 last change to handle zero prefix length.
3485
3486 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3487
3488 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3489 _SC_REGEX_VERSION.
3490
3491 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3492 _POSIX_RAW_SOCKETS.
3493
3494 2014-09-13 Allan McRae <allan@archlinux.org>
3495
3496 * po/ru.po: Update Russian translation from translation project.
3497
3498 2014-09-12 Roland McGrath <roland@hack.frob.com>
3499
3500 * locale/programs/locale.c (show_locale_vars): Inline local function
3501 into its sole call site. Clean up some style nits.
3502 (print_item): New function, broken out of ...
3503 (show_info): ... local function here. Clean up style nits.
3504
3505 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3506 out of ...
3507 (set_class_defaults): ... local function set_default here.
3508 Define set_default as a macro locally to pass constant parameters.
3509 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3510 rather than a shared local.
3511
3512 * stdlib/rpmatch.c (try): New function, broken out of ...
3513 (rpmatch): ... local function here. Also, prototypify definition.
3514
3515 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3516
3517 * scripts/soversions.awk: Do not handle configuration names.
3518 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3519 vendor and os variables to soversions.awk.
3520 * configure.ac: Do not modify gnu-* host_os.
3521 * configure: Regenerated
3522 * shlib-versions: Remove first column with configuration names.
3523 * nptl/shlib-versions: Likewise.
3524 * nptl_db/shlib-versions: Likewise.
3525 * sysdeps/hppa/shlib-versions: Likewise.
3526 * sysdeps/m68k/shlib-versions: Likewise.
3527 * sysdeps/mach/hurd/shlib-versions: Likewise.
3528 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3529 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3530 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3531 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3532 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3533 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3534 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3535 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3537 Likewise.
3538 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3539 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3540 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3541 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3542 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3543 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3544 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3545 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3546
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3548 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3550 Regenerated.
3551 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3553 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3554
3555 * shlib-versions: Remove OS-specific entries. Moved to files in
3556 sysdeps.
3557 * sysdeps/mach/hurd/shlib-versions: New file.
3558 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3559
3560 * nptl/shlib-versions: Remove architecture-specific entries.
3561 Moved to files in sysdeps.
3562 * shlib-versions: Likewise.
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3564 file.
3565 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3566 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3568 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3569
3570 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3571 (UDP_NO_CHECK6_RX): Likewise.
3572
3573 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3574
3575 * sysdeps/posix/sysconf.c (__sysconf): Spell
3576 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3577
3578 2014-08-12 Florian Weimer <fweimer@redhat.com>
3579
3580 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3581 loading.
3582 * iconv/Versions (__gconv_transliterate): Export for use from
3583 gconv modules.
3584 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3585 (struct __gconv_trans_data, __gconv_trans_fct,
3586 __gconv_trans_context_fct, __gconv_trans_query_fct,
3587 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3588 definitions.
3589 (struct __gconv_step_data): Remove __trans member.
3590 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3591 longer hidden. Remove unused trans_data argument.
3592 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3593 (__gconv_translit_find): Remove declaration.
3594 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3595 prototype.
3596 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3597 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3598 trans_data argument. Add hidden definition.
3599 (__gconv_translit_find): Remove.
3600 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3601 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3602 * iconv/skeleton.c: Remove transliteration initialization.
3603 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3604 __gconv_step_data initialization.
3605 * libio/iofwide.c (__libio_translit_): Remove.
3606 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3607 * wcsmbs/btowc.c (__btowc): Likewise.
3608 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3609 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3610 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3611 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3612 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3613 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3614 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3615 * wcsmbs/wctob.c (wctob): Likewise.
3616
3617 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3618
3619 [BZ #16194]
3620 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3621 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3622 register usage.
3623 * sysdeps/x86/Makefile: Adjust.
3624
3625 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3626 Roland McGrath <roland@hack.frob.com>
3627
3628 * locale/weight.h: Add include guard.
3629 (findidx): Make static rather than auto; take new parameters
3630 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3631 * locale/weightwc.h: Likewise.
3632 * posix/fnmatch_loop.c
3633 (FCT): Change type of EXTRA from int32_t to wint_t.
3634 Don't include either header inside the function.
3635 Call FINDIDX rather than findidx, and pass new arguments.
3636 #undef FINDIDX at the end of the file.
3637 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3638 FINDIDX before including fnmatch_loop.c for the non-wide version.
3639 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3640 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3641 for the wide version.
3642 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3643 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3644 Pass new arguments to findidx.
3645 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3646 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3647 Don't #include it inside the function. Pass new arguments to findidx.
3648 * posix/regex_internal.h
3649 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3650 (re_string_elem_size_at): Don't #include it inside the function.
3651 Pass new arguments to findidx.
3652 * string/strcoll_l.c: #include WEIGHT_H at top level.
3653 (get_next_seq): Don't #include it inside the function.
3654 Pass new arguments to findidx.
3655 (get_next_seq_nocache): Likewise.
3656 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3657 (STRXFRM): Don't #include it inside the function.
3658 Pass new arguments to findidx.
3659
3660 2014-09-11 Florian Weimer <fweimer@redhat.com>
3661
3662 [BZ #17344]
3663 * malloc/malloc.c (unlink): Turn asserts into a call to
3664 malloc_printerr.
3665
3666 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
3667
3668 [BZ #17370]
3669 * libio/wfileops (do_ftell_wide): Free OUT.
3670
3671 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3672
3673 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3674
3675 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3676
3677 [BZ #17363]
3678 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3679 group if the current group is empty.
3680
3681 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3682
3683 * benchtests/bench-memset.c (test_main): Add more test from size
3684 from 32 to 512 bytes.
3685 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3686 Add POWER8 memset object.
3687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3688 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3689 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3690 implementation.
3691 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3692 Likewise.
3693 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3694 multiarch POWER8 memset optimization.
3695 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3696 POWER8 memset optimization.
3697
3698 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3699 Remove bzero multiarch objects.
3700 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3701 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3702 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3703 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3704 Remove define.
3705 [__bzero]: Redefine to specific name.
3706 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3707 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3708 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3709 define.
3710 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3711 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3712
3713 2014-09-10 Florian Weimer <fweimer@redhat.com>
3714
3715 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3716 warnings into errors.
3717
3718 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3719 __cxa_thread_atexit_impl prototype.
3720
3721 2014-09-09 Steve Ellcey <sellcey@mips.com>
3722
3723 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3724 Fix capitalization of error message.
3725
3726 2014-09-09 Steve Ellcey <sellcey@mips.com>
3727
3728 * sysdeps/mips/preconfigure: Modify ABI tests.
3729
3730 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3731
3732 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3733
3734 2014-09-07 Roland McGrath <roland@hack.frob.com>
3735 Carlos O'Donell <carlos@systemhalted.org>
3736
3737 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3738 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3739 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3740 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3741 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3742 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3743 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3744 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3745 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3746 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3747 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3748 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3749 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3750 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3751 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3752 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3753 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3754 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3755 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3756 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3757 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3758 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3759 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3760 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3761 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3762 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3763 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3764 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3765 Deconditionalize the code that was previously under [RESET_PID].
3766 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3767 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3768 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3769 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3770 include sysdep.h.
3771
3772 2014-09-08 Allan McRae <allan@archlinux.org>
3773
3774 * version.h (RELEASE): Set to "development".
3775 (VERSION): Set to "2.20.90"
3776
3777 2014-09-07 Allan McRae <allan@archlinux.org
3778
3779 * version.h (RELEASE): Set to "stable".
3780 (VERSION): Set to "2.20"
3781 * include/features.h (__GLIBC_MINOR__): Set to 20.
3782
3783 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3784 Liebler.
3785
3786 * po/ko.po: Update Korean translation from translation project.
3787
3788 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3789
3790 [BZ #17354]
3791 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3792 macro for handling signed relocations.
3793
3794 2014-09-03 Florian Weimer <fweimer@redhat.com>
3795
3796 [BZ #17325]
3797 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3798 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3799 assert.
3800 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3801 * iconvdata/ibm935.c (BODY): Likewise.
3802 * iconvdata/ibm937.c (BODY): Likewise.
3803 * iconvdata/ibm939.c (BODY): Likewise.
3804 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3805 assert.
3806 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3807 script.
3808 * iconvdata/run-iconv-test.sh: New test loop for checking for
3809 decoder crashers.
3810
3811 2014-09-02 Khem Raj <raj.khem@gmail.com>
3812
3813 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3814 libm_hidden_ver.
3815
3816 2014-09-01 Allan McRae <allan@archlinux.org>
3817
3818 * po/eo.po: Update Esperanto translation from translation project.
3819
3820 * po/ca.po: Update Catalan translation from translation project.
3821
3822 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3823
3824 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3825 __proc_dostop call.
3826
3827 2014-08-27 Mark Wielaard <mjw@redhat.com>
3828
3829 [BZ #17319]
3830 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3831 to call set_thread_area instead of hand written asm.
3832 (__NR_set_thread_area): Removed define.
3833 (TLS_FLAG_WRITABLE): Likewise.
3834 (__ASSUME_SET_THREAD_AREA): Remove check.
3835 (TLS_EBX_ARG): Remove define.
3836 (TLS_LOAD_EBX): Likewise.
3837
3838 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3839
3840 Simplify atomicity of socket creation in bind.
3841
3842 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3843 looking up the name after linking the file.
3844
3845 2014-08-27 Allan McRae <allan@archlinux.org>
3846
3847 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3848
3849 2014-08-26 Florian Weimer <fweimer@redhat.com>
3850
3851 [BZ #17187]
3852 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3853 trans_compare, open_translit, __gconv_translit_find):
3854 Remove module loading code.
3855
3856 2014-08-26 Allan McRae <allan@archlinux.org>
3857
3858 * po/vi.po: Update Vietnamese translation from translation project.
3859
3860 * po/uk.po: Update Ukrainian translation from translation project.
3861
3862 * po/fr.po: Update French translation from translation project.
3863
3864 * po/ru.po: Update Russian translation from translation project.
3865
3866 * po/pl.po: Update Polish translation from translation project.
3867
3868 * po/cs.po: Update Czech translation from translation project.
3869
3870 * po/de.po: Update German translation from translation project.
3871
3872 * po/bg.po: Update Bulgarian translation from translation project.
3873
3874 * po/sv.po: Update Sweedish translation from translation project.
3875
3876 * po/nl.po: Update Dutch translation from translation project.
3877
3878 * po/es.po: Update Spanish translation from translation project.
3879
3880 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3881
3882 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3883
3884 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3885 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3886 (CPPFLAGS-iconvconfig): Likewise.
3887 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3888
3889 * include/libc-symbols.h: Remove unnecessary check for
3890 NOT_IN_libc.
3891 * nptl/pthreadP.h: Likewise.
3892 * sysdeps/aarch64/setjmp.S: Likewise.
3893 * sysdeps/alpha/setjmp.S: Likewise.
3894 * sysdeps/arm/sysdep.h: Likewise.
3895 * sysdeps/i386/setjmp.S: Likewise.
3896 * sysdeps/m68k/setjmp.c: Likewise.
3897 * sysdeps/posix/getcwd.c: Likewise.
3898 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3899 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3900 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3901 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3902 * sysdeps/sh/sh3/setjmp.S: Likewise.
3903 * sysdeps/sh/sh4/setjmp.S: Likewise.
3904 * sysdeps/unix/alpha/sysdep.h: Likewise.
3905 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3907 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3908 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3911 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3912 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3913 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3916 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3918 * sysdeps/x86_64/setjmp.S: Likewise.
3919
3920 2014-08-13 Joseph Myers <joseph@codesourcery.com>
3921
3922 [BZ #17263]
3923 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3924 <stdint.h>.
3925 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3926 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3927
3928 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3929
3930 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3931
3932 [BZ #17262]
3933 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3934 and __x86_64__ when disabling x87 inline functions.
3935
3936 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3937
3938 [BZ #17259]
3939 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3940 asm statement with __cpuid_count.
3941
3942 2014-08-12 Mike Frysinger <vapier@gentoo.org>
3943
3944 * configure.ac: Change __ehdr_start code to dereference the struct.
3945 Run readelf on the output to look for relocations.
3946 * configure: Regenerated.
3947
3948 2014-08-12 Joseph Myers <joseph@codesourcery.com>
3949
3950 [BZ #17261]
3951 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3952 value to 0.
3953 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3954
3955 2014-08-12 Roland McGrath <roland@hack.frob.com>
3956
3957 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3958
3959 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3960
3961 [BZ #16892]
3962 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3963 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3964
3965 2014-08-12 Sean Anderson <seanga2@gmail.com>
3966
3967 * malloc/malloc.c: Fix typo in comment.
3968
3969 2014-08-09 Allan McRae <allan@archlinux.org>
3970
3971 * Regenerate libc.po.
3972
3973 2014-08-08 Mike Frysinger <vapier@gentoo.org>
3974
3975 * intl/tst-gettext2.sh: Check every lang file for creation.
3976
3977 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3978
3979 * sysdeps/aarch64/fpu/math_private.h
3980 (libc_feholdsetround_noex_aarch64_ctx): New function.
3981
3982 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3983
3984 * sysdeps/arm/armv6/strcpy.S (strcpy):
3985 Fix performance issue in misaligned cases.
3986
3987 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3988
3989 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3990 Move definition from termios.h.
3991 (struct termio): Likewise.
3992 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3993 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3994 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3995 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3996 Likewise.
3997 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3998 Move definition to ioctl-types.h
3999 (struct termio): Likewise.
4000 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4001 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4002 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4003 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4004 Likewise.
4005
4006 2014-08-05 Richard Henderson <rth@redhat.com>
4007
4008 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4009 exceptions.
4010 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4011 Add fraiseexcpt.
4012 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4013 Use __feraiseexcept.
4014 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4015 Protect libm symbols with IS_IN_libm.
4016
4017 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4018
4019 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4020
4021 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4022
4023 2014-08-04 Will Newton <will.newton@linaro.org>
4024
4025 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4026 file.
4027
4028 2014-08-04 Mike Frysinger <vapier@gentoo.org>
4029
4030 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4031 variants for each function.
4032
4033 2014-08-04 Roland McGrath <roland@hack.frob.com>
4034
4035 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4036 appended ...
4037 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4038 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4039 appended ...
4040 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4041 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4042 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4043 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4044 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4045 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4046 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4047 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4048 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4049 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4052 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4053 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4054 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4056 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4062 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4066 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4067 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4068 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4076 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4077 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4078 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4079 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4080 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4081 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4082 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4083 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4084 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4085 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4086 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4087 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4088 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4090 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4091 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4092 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4093 Update #include.
4094 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4095 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4096
4097 2014-08-04 Roland McGrath <roland@hack.frob.com>
4098
4099 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4100 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4101 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4102 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4103 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4104 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4105
4106 2014-08-04 Roland McGrath <roland@hack.frob.com>
4107
4108 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4109 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4110 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4111 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4112
4113 2014-08-04 Roland McGrath <roland@hack.frob.com>
4114
4115 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4116 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4117 (__libc_vfork): Define function under this name.
4118 (__vfork): Define as an alias.
4119 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4120 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4121
4122 2014-08-04 Roland McGrath <roland@hack.frob.com>
4123
4124 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4125 that was previously under [RESET_PID].
4126 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4127
4128 2014-08-04 Andreas Schwab <schwab@suse.de>
4129
4130 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4131
4132 2014-08-03 Mike Frysinger <vapier@gentoo.org>
4133
4134 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4135 (main): Likewise.
4136
4137 2014-08-01 Roland McGrath <roland@hack.frob.com>
4138
4139 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4140
4141 2014-08-01 Richard Henderon <rth@redhat.com>
4142
4143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4144 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4145 typo in exact zero test.
4146 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4147 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4148 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4149
4150 2014-08-01 Roland McGrath <roland@hack.frob.com>
4151
4152 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4153 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4154 * sysdeps/arm/sysdep.h: ... here.
4155 [!__ASSEMBLER__]: Include <stdint.h>.
4156
4157 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4158
4159 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4160 (HAVE_WCTYPE_H): Likewise.
4161 (HAVE_ISWCTYPE): Likewise.
4162 (ENABLE_NLS): Likewise.
4163 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4164 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4165
4166 * posix/regex_internal.c: Check if DEBUG is defined and is
4167 set.
4168
4169 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4170 (HAVE_MBSRTOWCS): Likewise.
4171 * posix/fnmatch.c: Include string.h unconditionally.
4172
4173 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4174
4175 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4176 reversal.
4177
4178 2014-07-31 Roland McGrath <roland@hack.frob.com>
4179
4180 * sysdeps/generic/safe-fatal.h: New file.
4181 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4182 * nptl/forward.c: Include it.
4183 (__pthread_unwind): Use __safe_fatal as default action, rather
4184 than a bogus use of INTERNAL_SYSCALL that could never work.
4185
4186 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4187 * configure.ac (libc_cv_builtin_trap): New test.
4188 * configure: Regenerated.
4189 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4190 (ABORT_INSTRUCTION): Define using __builtin_trap.
4191
4192 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4193 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4194 * sysdeps/nptl/nptl-signals.h: New file.
4195 * nptl/pthreadP.h: Include <nptl-signals.h>.
4196
4197 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4198
4199 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4200 (ONE_DIRECTION): Define.
4201 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4202 (ONE_DIRECTION): Define.
4203 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4204 (ONE_DIRECTION): Define.
4205
4206 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4207
4208 * sysdeps/s390/Makefile: Delete file.
4209 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4210 * sysdeps/s390/__longjmp.c: Delete file.
4211 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4212 Remove fields __flags and __reserved.
4213 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4214 and add versioning.
4215 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4216 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4217 * sysdeps/s390/rtld-setjmp.S: Likewise.
4218 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4219 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4220 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4221 * sysdeps/s390/s390-32/setjmp.S: ... here.
4222 Add versioning.
4223 (__sigsetjmp): Remove setting __flags field.
4224 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4225 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4226 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4227 * sysdeps/s390/s390-64/setjmp.S: ... here.
4228 Add versioning.
4229 (__sigsetjmp): Remove setting __flags field.
4230 * sysdeps/s390/setjmp.S: Delete file.
4231 * sysdeps/s390/sigjmp.c: Likewise.
4232 * sysdeps/s390/v1-longjmp.c: Likewise.
4233 * sysdeps/s390/v1-setjmp.h: Likewise.
4234 * sysdeps/s390/v1-sigjmp.c: Likewise.
4235 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4236 Remove v1-longjmp_chk.
4237 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4238 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4239 Include debug/longjmp_chk.c and add versioning.
4240 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4241 Include nptl/pt-longjmp.c and add versioning.
4242 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4243 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4244 Include __longjmp.c.
4245 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4246 Move to ...
4247 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4248 (__getcontext): Remove setting __flags field.
4249 Add versioning.
4250 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4251 Don't restore upper high grps.
4252 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4253 Likewise.
4254 (__swapcontext): Remove setting uc_flags field.
4255 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4256 Delete file.
4257 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4258 Include __longjmp.c.
4259 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4260 Move to ...
4261 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4262 (__getcontext): Remove setting __flags field.
4263 Add versioning.
4264 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4265 (__swapcontext): Remove setting uc_flags field.
4266 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4267 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4268 Remove fields uc_high_gprs and __reserved.
4269 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4270 New file with reverted content.
4271 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4272 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4273 Regenerated.
4274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4275 Regenerated.
4276
4277 2014-07-31 Andreas Schwab <schwab@suse.de>
4278
4279 * config.h.in (HAVE_IFUNC): Define to 0.
4280 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4281 definedness.
4282
4283 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4284
4285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4286 memmove-avx-unaligned, memcpy-avx-unaligned and
4287 mempcpy-avx-unaligned.
4288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4289 Add tests for AVX memcpy functions.
4290 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4291 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4292 memcpy_chk.
4293 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4294 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4295 memmove_chk.
4296 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4297 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4298 mempcpy_chk.
4299 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4300 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4301 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4302
4303 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4304
4305 [BZ #17213]
4306 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4307 powerpc64le.
4308
4309 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4310
4311 [BZ #16839]
4312 * manual/llio.texi: Add section about open file description locks.
4313 * manual/examples/ofdlocks.c: Example of open file description
4314 lock usage.
4315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4316 F_OFD_SETLK, and F_OFD_SETLKW.
4317
4318 2014-07-23 Allan McRae <allan@archlinux.org>
4319
4320 * po/es.po: Update Spanish translation from translation project.
4321
4322 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4323
4324 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4325
4326 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4327
4328 [BZ #17078]
4329 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4330 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4331 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4332
4333 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4334
4335 [BZ #17088]
4336 * math/fesetenv.c (__fesetenv)
4337 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4338 * math/feupdateenv.c (__feupdateenv)
4339 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4340
4341 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4342 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4343 (__ASSUME_SOCKETCALL): Do not define.
4344
4345 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4346 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4347 (__ASSUME_SOCKETCALL): Do not define.
4348 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4349 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4350 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4351 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4352 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4353 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4354 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4355 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4356
4357 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4358 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4359 (__ASSUME_SOCKETCALL): Do not define.
4360 (__ASSUME_IPC64): Define unconditionally.
4361 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4362 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4363 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4364 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4365 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4366 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4367 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4368 Likewise.
4369
4370 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4371 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4372 (__ASSUME_SOCKETCALL): Do not define.
4373 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4374 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4375 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4376 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4377 (__ASSUME_REQUEUE_PI): Define unconditionally.
4378 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4379 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4380 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4381 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4382 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4383 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4384
4385 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4386 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4387 (__ASSUME_SOCKETCALL): Do not define.
4388 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4389 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4390 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4391 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4392 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4393 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4394
4395 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4396 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4397 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4398 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4399 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4400 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4401 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4402 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4403 (__ASSUME_GETCPU_SYSCALL): Likewise.
4404
4405 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4406 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4407 cases for individual architectures.
4408 * sysdeps/gnu/configure: Regenerated.
4409 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4410 LIBC_SLIBDIR_RTLDDIR.
4411 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4412 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4413 LIBC_SLIBDIR_RTLDDIR.
4414 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4416 LIBC_SLIBDIR_RTLDDIR.
4417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4418 Regenerated.
4419 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4420 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4421 file.
4422 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4423 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4424 file.
4425 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4426 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4427 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4428 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4429
4430 * sysdeps/aarch64/shlib-versions: Move to ...
4431 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4432 * sysdeps/alpha/shlib-versions: Move to ...
4433 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4434 * sysdeps/arm/shlib-versions: Move to ...
4435 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4436 * sysdeps/hppa/shlib-versions: Move all contents except for
4437 libgcc_s entry to ...
4438 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4439 entry from ...
4440 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4441 * sysdeps/ia64/shlib-versions: Move to ...
4442 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4443 entry from ...
4444 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4445 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4446 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4447 * sysdeps/microblaze/shlib-versions: Move to ...
4448 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4449 * sysdeps/mips/shlib-versions: Move to ...
4450 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4451 entry from ...
4452 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4453 * sysdeps/tile/shlib-versions: Move to ...
4454 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4455 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4456 from ...
4457 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4458 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4459 entry from ...
4460 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4461
4462 2014-07-17 Will Newton <will.newton@linaro.org>
4463
4464 * sysdeps/arm/bits/atomic.h
4465 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4466 (__arch_compare_and_exchange_bool_16_int): Likewise.
4467 (__arch_compare_and_exchange_bool_64_int): Likewise.
4468
4469 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4470 into an #else block.
4471
4472 2014-07-16 Roland McGrath <roland@hack.frob.com>
4473
4474 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4475 just Linux configurations. Test empirically that the compiler sets
4476 __ARM_EABI__, rather than using the tuple to decide.
4477 * sysdeps/arm/preconfigure: Regenerated.
4478 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4479 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4480 contents appended ...
4481 * sysdeps/arm/configure.ac: ... here.
4482 * sysdeps/arm/configure: Regenerated.
4483
4484 2014-07-15 Roland McGrath <roland@hack.frob.com>
4485
4486 * nptl/pthread_kill.c: New file.
4487 * nptl/pthread_sigmask.c: New file.
4488 * nptl/pthread_sigqueue.c: New file.
4489
4490 * sysdeps/nptl/lowlevellock.h: New file.
4491 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4492 * sysdeps/nptl/lowlevellock-futex.h: New file.
4493
4494 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4495 Remove dead declarations.
4496
4497 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4498
4499 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4500 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4501 config-cflags-avx2.
4502 * sysdeps/x86_64/configure.ac: Likewise.
4503 * sysdeps/i386/configure: Regenerated.
4504 * sysdeps/x86_64/configure: Likewise.
4505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4506 memset-avx2 only if config-cflags-avx2 is yes.
4507 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4508 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4509 defined.
4510 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4511 only if HAVE_AVX2_SUPPORT is defined.
4512 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4513
4514 2014-07-14 Alan Modra <amodra@gmail.com>
4515
4516 [BZ #17153]
4517 * elf/elf.h (DT_PPC64_NUM): Correct value.
4518 * NEWS: Add to fixed bug list.
4519
4520 2014-07-13 Jim Meyering <meyering@fb.com>
4521
4522 [BZ 17150]
4523 regex: don't deref NULL upon heap allocation failure
4524 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4525 failure in one more place.
4526 To trigger the segfault, configure grep -with-included-regex,
4527 build it, and run these commands:
4528 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4529
4530 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4531
4532 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4533
4534 2014-07-11 Richard Henderson <rth@redhat.com>
4535
4536 * sysdeps/aarch64/libm-test-ulps: Update.
4537
4538 2014-07-10 Florian Weimer <fweimer@redhat.com>
4539
4540 [BZ #17135]
4541 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4542 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4543 (__nptl_setxid): Initialize error member. Call
4544 __nptl_setxid_error.
4545 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4546 * nptl/descr.h (struct xid_command): Add error member.
4547 * nptl/tst-setuid3.c: New file.
4548 * nptl/Makefile (tests): Add it.
4549
4550 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4551
4552 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4553 New define.
4554 (__lll_trylock): Use __lll_base_trylock.
4555 (__lll_cond_trylock): Likewise.
4556
4557 2014-07-10 Roland McGrath <roland@hack.frob.com>
4558
4559 * nptl/pthread_create.c (start_thread): Use atomic_or and
4560 lll_futex_wake directly rather than lll_robust_dead.
4561 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4562 (lll_robust_dead): Macro removed.
4563 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4564 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4565 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4566 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4567 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4568 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4569 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4570 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4571 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4572 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4573 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4574 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4575 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4576 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4577 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4578
4579 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4580 Use atomic_compare_and_exchange_val_acq directly rather than
4581 lll_robust_trylock.
4582 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4583 (__lll_robust_trylock, lll_robust_trylock): Removed.
4584 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4585 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4586 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4587 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4588 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4589 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4590 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4591 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4592 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4593 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4594 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4595 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4596 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4597 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4598
4599 2014-07-02 Florian Weimer <fweimer@redhat.com>
4600
4601 * manual/locale.texi (Locale Names): New section documenting
4602 locale name syntax. Adjust menu and node chaining accordingly.
4603 (Choosing Locale): Reference Locale Names, Locale Categories.
4604 Mention setting LC_ALL=C. Reflect that name syntax is now
4605 documented.
4606 (Locale Categories): New section title. Reference Locale Names.
4607 LC_ALL is an environment variable, but not a category.
4608 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4609 description, now in Locale Name. Reference that section. Locale
4610 name syntax is now documented.
4611
4612 2014-07-02 Florian Weimer <fweimer@redhat.com>
4613
4614 [BZ #17137]
4615 * locale/findlocale.c (name_present, valid_locale_name): New
4616 functions.
4617 (_nl_find_locale): Use the loc_name variable to store name
4618 candidates. Call name_present and valid_locale_name to check and
4619 validate locale names. Return an error if the locale is invalid.
4620
4621 2014-07-02 Florian Weimer <fweimer@redhat.com>
4622
4623 * locale/setlocale.c (setlocale): Use strdup for allocating
4624 composite name copy.
4625
4626 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4627
4628 Sync up with gnulib.
4629 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4630 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4631 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4632 and _GL_ARG_NONNULL.
4633 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4634 [!_LIBC]: Include code for Windows and Cygwin.
4635 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4636 Include prototype for int strerror_r.
4637 [!_LIBC] (is_open): New function.
4638 (flush_stdout): New function.
4639 (print_errno_message): Use it.
4640 (error): Likewise.
4641 (error_at_line): Likewise.
4642 (error_tail) Add function attribute macros. Use
4643 __builtin_expect.
4644
4645 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4646
4647 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4648
4649 * io/ftw.c: Include sys/param.h unconditionally.
4650
4651 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4652
4653 [BZ #17125]
4654 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4655 libc_freeres_ptr.
4656 (freecache): New function to free CACHE on exit.
4657
4658 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4659 initialization.
4660
4661 2014-07-09 David S. Miller <davem@davemloft.net>
4662
4663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4664
4665 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4666 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4667 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4668 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4669 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4670 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4671 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4672 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4673 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4674 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4675 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4676 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4677 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4678
4679 2014-07-09 Andreas Schwab <schwab@suse.de>
4680
4681 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4682 output.
4683 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4684 (do_test): Likewise.
4685
4686 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4687
4688 2014-07-09 Will Newton <will.newton@linaro.org>
4689
4690 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4691 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4692 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4693 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4694 * sysdeps/hppa/start.S (_start): Likewise.
4695
4696 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4697
4698 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4699
4700 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4701 defined.
4702
4703 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4704
4705 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4706 after checking that it is non-NULL.
4707
4708 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4709
4710 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4711
4712 * sysdeps/powerpc/memmove.c: Remove file.
4713 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4714 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4715 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4716 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4717 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4718 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4719 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4720 string memmove instead of removed powerpc one.
4721
4722 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4723 [weak_alias]: Fix compiler warning due trailing data.
4724 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4725 [weak_alias]: Likewise.
4726 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4727 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4728
4729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4730 (__libc_ifunc_impl_list): Add memmove functions.
4731
4732 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4733
4734 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4735 Remove code.
4736 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4737 Likewise
4738 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4739 Likewise
4740 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4741 Likewise
4742 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4743 Likewise
4744 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4745 Likewise
4746 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4747 Likewise
4748 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4749 Likewise
4750 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4751 Likewise
4752 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4753 Likewise
4754 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4755 Likewise
4756 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4757 Likewise
4758 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4759 Likewise
4760 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4761 Likewise
4762 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4763 Likewise
4764 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4765 Likewise
4766 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4767 Likewise
4768
4769 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4770
4771 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4772 to avoid alignment traps in non-cacheable memory.
4773 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4774
4775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4776 multiarch objects.
4777 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4778 file: multiarch power7 memmove.
4779 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4780 multiarch default memmove.
4781 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4782 multiarch memove for powerpc32/power4.
4783
4784 * string/bcopy.c: Use full path to include memmove.c.
4785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4786 multiarch objects.
4787 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4788 bcopy for powerpc64.
4789 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4790 bcopy for powerpc64.
4791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4792 and memmove implementations.
4793 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4794 optimized multiarch memmove for POWER7/powerpc64.
4795 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4796 default multiarch memmove for powerpc64.
4797 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4798 multiarch for powerpc64.
4799 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4800 for POWER7/powerpc64.
4801 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4802 memmove for POWER7/powerpc64.
4803
4804 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4805 glibc default one.
4806
4807 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4808 __ELF_NATIVE_CLASS equal to 64.
4809
4810 2014-07-07 Roland McGrath <roland@hack.frob.com>
4811
4812 * sysdeps/nptl/lowlevellock.h: File removed.
4813
4814 * NEWS: NPTL is no longer an add-on!
4815 * nptl/internaltypes.h: Moved ...
4816 * sysdeps/nptl/internaltypes.h: ... here.
4817 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4818 * sysdeps/nptl/fork.c: Likewise.
4819 * sysdeps/nptl/gai_misc.h: Likewise.
4820 * sysdeps/nptl/librt-cancellation.c: Likewise.
4821 * sysdeps/nptl/jmp-unwind.c: Likewise.
4822 * sysdeps/nptl/setxid.h: Likewise.
4823 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4824 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4825 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4826 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4827 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4828 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4829 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4830 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4831 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4832 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4833 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4834 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4835 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4836 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4837 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4838 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4839 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4840 * nptl/Makeconfig: Moved ...
4841 * sysdeps/nptl/Makeconfig: ... here.
4842 * nptl/configure: File removed.
4843 * nptl/ANNOUNCE: File removed.
4844 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4845 * sysdeps/unix/sysv/linux/configure: Regenerated.
4846
4847 * nptl/Makefile (routines): Add libc_pthread_init,
4848 libc_multiple_threads, register-atfork and unregister-atfork.
4849 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4850 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4851 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4852 pthread-pi-defines.sym, structsem.sym.
4853 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4854 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4855 [$(subdir) = nptl] (tests): Add tst-setgetname.
4856 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4857 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4858 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4859 [!LIBC_SIGACTION]: Remove aliases.
4860 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4861 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4862 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4863 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4864 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4865 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4866 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4868 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4869 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4870 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4871 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4872 __libc_allocate_rtsig_private.
4873 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4874 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4875 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4876 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4877 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4878 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4879 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4880 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4881 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4882 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4883 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4884 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4885 * nptl/internaltypes.h: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4887 * sysdeps/nptl/jmp-unwind.c: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4889 * nptl/libc-lowlevellock.c: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4891 * nptl/libc_multiple_threads.c: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4893 * nptl/libc_pthread_init.c: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4895 * nptl/lowlevelbarrier.sym: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4897 * nptl/lowlevelcond.sym: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4899 * nptl/lowlevellock.c: ... here.
4900 * nptl/lowlevellock.h: Moved ...
4901 * sysdeps/nptl/lowlevellock.h: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4903 * nptl/lowlevelrobustlock.c: ... here.
4904 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4905 * nptl/lowlevelrobustlock.sym: ... here.
4906 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4907 * nptl/lowlevelrwlock.sym: ... here.
4908 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4909 * nptl/pt-fork.c: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4911 * nptl/pthread-pi-defines.sym: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4913 * nptl/pthread_attr_getaffinity.c: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4915 * nptl/pthread_attr_setaffinity.c: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4917 * nptl/pthread_mutex_cond_lock.c: ... here.
4918 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4919 Update #include.
4920 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4921 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4922 * nptl/pthread_once.c: ... here, replacing old file.
4923 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4924 * nptl/pthread_yield.c: ... here.
4925 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4926 * nptl/register-atfork.c: ... here.
4927 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4928 * nptl/sem_post.c: ... here.
4929 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4930 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4931 * nptl/sem_timedwait.c: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4933 * nptl/sem_trywait.c: ... here.
4934 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4935 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4936 * nptl/sem_wait.c: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4938 * nptl/structsem.sym: ... here.
4939 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4940 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4941 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4942 * nptl/unregister-atfork.c: ... here.
4943 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4944 * nptl/unwindbuf.sym: ... here.
4945 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4946 * sysdeps/nptl/fork.c: ... here.
4947 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4948 * sysdeps/nptl/fork.h: ... here.
4949 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4950 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4951 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4952 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4953 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4955 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4957 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4958 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4959 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4961 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4962 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4963 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4965 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4967 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4969 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4971 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4973 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4974 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4975 * sysdeps/unix/sysv/linux/raise.c: ... here.
4976 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4977 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4978 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4979 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4980 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4981 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4982 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4983 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4984 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4985 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4986 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4987 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4988 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4989 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4990 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4991
4992 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4993
4994 * sysdeps/generic/memcopy.h: Add comment for
4995 MEMCPY_OK_FOR_FWD_MEMMOVE.
4996
4997 2014-07-04 Will Newton <will.newton@linaro.org>
4998
4999 * string/memchr.c: Merge from gnulib.
5000 [_LIBC]: Remove conditionals.
5001 (__ptr_t): Remove define.
5002 (LONG_MAX_32_BITS): Likewise.
5003 (LONG_MAX): Likewise.
5004 (MEMCHR): Use ANSI prototype and optimize algorithm.
5005
5006 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5007
5008 2014-07-03 Roland McGrath <roland@hack.frob.com>
5009
5010 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5011 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5012
5013 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5014 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5015 in a bare environment with no <stdlib.h> installed.
5016 * sysdeps/nptl/configure: Regenerated.
5017
5018 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5019
5020 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5021 AC_EGREP_CPP for kernel header checks, so they only succeed if
5022 including <linux/version.h> actually works right.
5023 * sysdeps/unix/sysv/linux/configure: Regenerated.
5024
5025 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5026 value so it's not diagnosed as unused.
5027
5028 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5029 thing) with "ifeq ($(subdir),rt)".
5030
5031 2014-07-03 Richard Henderson <rth@redhat.com>
5032
5033 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5034 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5035 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5036
5037 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5038 (math_force_eval): New.
5039
5040 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5041 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5042
5043 * sysdeps/alpha/fpu/s_round.c: Remove file.
5044 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5045
5046 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5047 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5048 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5049 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5050 (_dl_start, print_statistics): Likewise.
5051 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5052 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5053
5054 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5055 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5056 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5057 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5059 (HP_SMALL_TIMING_AVAIL): Define.
5060 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5061 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5062 (HP_SMALL_TIMING_AVAIL): Define.
5063 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5064 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5065
5066 * sysdeps/aarch64/hp-timing.h: New file.
5067
5068 * sysdeps/generic/hp-timing.h: Remove dead comment.
5069 * sysdeps/generic/hp-timing-common.h: New file.
5070 * sysdeps/alpha/hp-timing.h: Include it.
5071 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5072 * sysdeps/i386/i686/hp-timing.h: Likewise.
5073 * sysdeps/ia64/hp-timing.h: Likewise.
5074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5075 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5076 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5077 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5078 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5079 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5080 (hp_timing_t): New.
5081
5082 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5083 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5084 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5085 * elf/rtld.c (_dl_start_final): Likewise.
5086 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5087 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5088 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5089 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5090 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5091 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5092 (HP_TIMING_DIFF_INIT): Remove.
5093 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5094 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5095 (HP_TIMING_DIFF_INIT): Remove.
5096 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5097 * sysdeps/i386/i686/hp-timing.c: Remove file.
5098 * sysdeps/x86_64/hp-timing.c: Remove file.
5099 * sysdeps/ia64/hp-timing.c: Remove file.
5100 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5101 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5102 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5103 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5104
5105 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5106 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5107 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5108 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5109 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5110 (HP_TIMING_ACCUM): Remove.
5111 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5112 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5113 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5114
5115 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5116 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5117 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5118 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5119 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5120 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5121 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5122 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5123
5124 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5125
5126 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5127
5128 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5129
5130 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5131
5132 Sync up with gettext.
5133 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5134 [_MSC_VER]: Include malloc.h
5135 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5136 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5137 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5138 TEMP_FAILURE_RETRY. Cast return of alloca.
5139 [!_LIBC] Call gl_rwlock_init.
5140 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5141
5142 2014-07-02 Roland McGrath <roland@hack.frob.com>
5143
5144 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5145 before checking its value.
5146
5147 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5148
5149 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5150
5151 * debug/memcpy_chk.c: Don't include pagecopy.h.
5152 * debug/mempcpy_chk.c: Likewise.
5153 * string/memcpy.c: Likewise.
5154 * string/memmove.c: Likewise.
5155 * sysdeps/powerpc/memmove.c: Likewise.
5156 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5157 definition of PAGE_COPY_FWD_MAYBE here...
5158 * sysdeps/generic/pagecopy.h: ... from here.
5159 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5160
5161 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5162 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5163
5164 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5166 optimizations.
5167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5168 (__libc_ifunc_impl_list): Likewise.
5169 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5170 multiarch strcat for PPC64.
5171 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5172 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5173
5174 2014-07-02 Roland McGrath <roland@hack.frob.com>
5175
5176 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5177
5178 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5179
5180 * intl/loadmsgcat.c: Remove declaration of
5181 get_sysdep_segment_value.
5182 (get_sysdep_segment_value): Use ISO C style.
5183 (_nl_load_domain): Use ISO C style. Get rid of redundant
5184 semicolon. Fix typo and formatting in comment.
5185 (_nl_unload_domain): Use ISO C style.
5186
5187 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5188
5189 2014-07-02 Will Newton <will.newton@linaro.org>
5190
5191 * malloc/obstack.c: Merge from gnulib master.
5192 [HAVE_CONFIG_H]: Remove conditional code.
5193 [!_LIBC]: Include config.h.
5194 [!ELIDE_CODE]: Don't include inttypes.h, include
5195 stdint.h unconditionally.
5196 (print_and_abort): Mark as _Noreturn.
5197 (_obstack_allocated_p): Mark as __attribute_pure__.
5198 (obstack_free): Rename to __obstack_free.
5199 [!__attribute__]: Remove conditional code.
5200 * malloc/obstack.h: Merge from gnulib master.
5201 [__cplusplus]: Move conditional down.
5202 [!__attribute_pure__]: Define __attribute_pure__ here
5203 if it is not already defined.
5204 (_obstack_memory_used): Mark as __attribute_pure__.
5205 [!__obstack_free]: Define as obstack_free.
5206 [__GNUC__]: Remove check for ancient NeXT gcc.
5207
5208 2014-07-02 Will Newton <will.newton@linaro.org>
5209 Paul Eggert <eggert@cs.ucla.edu>
5210
5211 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5212
5213 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5214
5215 * resolv/gethnamaddr.c: Add comment warning that the file is
5216 not maintained.
5217
5218 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5219
5220 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5221 entries.
5222
5223 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5224 entry for aio_cancel and aio_cancel64.
5225 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5226 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5227 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5228 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5229 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5230 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5231 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5232 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5233 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5234 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5235 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5236 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5237 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5238
5239 2014-07-01 Roland McGrath <roland@hack.frob.com>
5240
5241 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5242 * nptl/pthread_mutex_lock.c: Likewise.
5243 * nptl/pthread_mutex_timedlock.c: Likewise.
5244 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5245
5246 2014-07-01 Richard henderson <rth@redhat.com>
5247
5248 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5249 (__isnan, __isnanl): Remove.
5250 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5251
5252 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5253
5254 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5255
5256 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5257
5258 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5259
5260 * resolv/nss_dns/dns-host.c (getanswer_r)
5261 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5262
5263 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5264
5265 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5266 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5267 undefine.
5268 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5269 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5270
5271 2014-07-01 Roland McGrath <roland@hack.frob.com>
5272
5273 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5274 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5275
5276 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5277 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5278
5279 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5280 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5281 ... here.
5282 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5283 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5284
5285 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5286 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5287 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5288 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5289
5290 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5291 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5292 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5295 Moved ...
5296 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5297 ... here.
5298 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5299 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5303 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5304 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5305 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5307 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5308 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5309 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5310 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5311 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5312 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5313 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5315 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5317 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5318 ... here.
5319 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5320 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5322 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5323 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5324 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5325 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5326 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5327
5328 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5329
5330 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5331 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5332 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5333 Add sysdep.
5334
5335 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336
5337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5338
5339 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5340
5341 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5342 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5343
5344 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5345
5346 * sysdeps/arm/libm-test-ulps: Regenerated.
5347
5348 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5349 Roland McGrath <roland@hack.frob.com>
5350
5351 * test-skeleton.c (signal_handler): Kill the whole process group
5352 before killing the child individually.
5353 (main): Report any failure on `setpgid'.
5354
5355 2014-06-30 Roland McGrath <roland@hack.frob.com>
5356
5357 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5358 from _TLS_H to _ARM_NPTL_TLS_H.
5359 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5360 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5361
5362 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5363
5364 [BZ #16539]
5365 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5366 (__expm1l): Return argument unchanged when small but not
5367 subnormal.
5368
5369 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5370 include macro name.
5371 (_FP_UNPACK_RAW_1_P): Likewise.
5372 (_FP_PACK_RAW_1): Likewise.
5373 (_FP_PACK_RAW_1_P): Likewise.
5374 (_FP_MUL_MEAT_1_wide): Likewise.
5375 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5376 (_FP_MUL_MEAT_1_hard): Likewise.
5377 (_FP_DIV_MEAT_1_imm): Likewise.
5378 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5379 (_FP_DIV_MEAT_1_udiv): Likewise.
5380 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5381 (_FP_UNPACK_RAW_2): Likewise.
5382 (_FP_UNPACK_RAW_2_P): Likewise.
5383 (_FP_PACK_RAW_2): Likewise.
5384 (_FP_PACK_RAW_2_P): Likewise.
5385 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5386 (_FP_MUL_MEAT_2_wide): Likewise.
5387 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5388 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5389 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5390 (_FP_MUL_MEAT_2_gmp): Likewise.
5391 (_FP_DIV_MEAT_2_udiv): Likewise.
5392 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5393 (_FP_FRAC_SRL_4): Likewise.
5394 (_FP_FRAC_SRST_4): Likewise.
5395 (_FP_FRAC_SRS_4): Likewise.
5396 (_FP_UNPACK_RAW_4): Likewise.
5397 (_FP_UNPACK_RAW_4_P): Likewise.
5398 (_FP_PACK_RAW_4): Likewise.
5399 (_FP_PACK_RAW_4_P): Likewise.
5400 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5401 (_FP_MUL_MEAT_4_wide): Likewise.
5402 (_FP_MUL_MEAT_4_gmp): Likewise.
5403 (umul_ppppmnnn): Likewise.
5404 (_FP_DIV_MEAT_4_udiv): Likewise.
5405 (__FP_FRAC_ADD_4): Likewise.
5406 (__FP_FRAC_SUB_3): Likewise.
5407 (__FP_FRAC_SUB_4): Likewise.
5408 (__FP_FRAC_DEC_3): Likewise.
5409 (__FP_FRAC_DEC_4): Likewise.
5410 (__FP_FRAC_ADDI_4): Likewise.
5411 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5412 (_FP_FRAC_SRL_8): Likewise.
5413 (_FP_FRAC_SRS_8): Likewise.
5414
5415 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5416 include macro name.
5417 (FP_UNPACK_RAW_EP): Likewise.
5418 (FP_PACK_RAW_E): Likewise.
5419 (FP_PACK_RAW_EP): Likewise.
5420 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5421 (_FP_ISSIGNAN): Likewise.
5422 (_FP_ADD_INTERNAL): Likewise.
5423 (_FP_FMA): Likewise.
5424 (_FP_CMP): Likewise.
5425 (_FP_SQRT): Likewise.
5426 (_FP_TO_INT): Likewise.
5427 (_FP_FROM_INT): Likewise.
5428 (FP_EXTEND): Likewise.
5429 (_FP_DIV_MEAT_N_loop): Likewise.
5430
5431 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5432
5433 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5434 throughout.
5435
5436 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5437
5438 [BZ #17097]
5439 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5440 result with correct sign in case of exponents that produce
5441 overflow except for X very close to 1.
5442
5443 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5444
5445 mktime: merge #if/#ifdef usage from glibc
5446 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5447 as that works with both Glibc's and Gnulib's style.
5448 See thread starting at Siddhesh Poyarekar's bug report at:
5449 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5450
5451 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5452
5453 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5454 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5455 * sysdeps/tile/tilegx/memmove.c: Remove file.
5456
5457 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5458
5459 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5460 abi-name definition.
5461 * scripts/soversions.awk: Do not handle or generate ABI lines.
5462 * shlib-versions: Remove ABI entries.
5463 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5464 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5465
5466 2014-06-27 Roland McGrath <roland@hack.frob.com>
5467
5468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5469 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5470 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5471 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5473 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5474 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5475 Moved ...
5476 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5477 ... here.
5478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5479 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5481 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5483 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5485 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5487 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5489 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5491 Moved ...
5492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5494 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5496 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5498 Moved ...
5499 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5501 Moved ...
5502 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5506 Moved ...
5507 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5509 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5511 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5513 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5515 Moved ...
5516 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5518 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5519 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5520 Moved ...
5521 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5522 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5523 Moved ...
5524 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5526 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5528 Moved ...
5529 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5530 ... here.
5531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5532 Identical file removed.
5533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5534 Moved ...
5535 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5537 Identical file removed.
5538 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5539 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5541 Moved ...
5542 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5544 Identical file removed.
5545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5546 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5547 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5548 Identical file removed.
5549 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5550 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5552 Identical file removed.
5553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5554 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5556 Identical file removed.
5557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5558 Moved ...
5559 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5561 Identical file removed.
5562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5563 Moved ...
5564 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5566 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5568 Identical file removed.
5569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5570 Moved ...
5571 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5572 ... here.
5573 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5574 Identical file removed.
5575 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5576 Moved ...
5577 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5578 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5579 Identical file removed.
5580 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5581 Moved ...
5582 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5584 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5585 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5586 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5587 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5588 Moved ...
5589 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5591 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5592
5593 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5594 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5595 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5596 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5597 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5598
5599 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5600
5601 [BZ #17092]
5602 * nscd/nscd.c (monitor_child): Return exit status of child
5603 instead of return value from wait syscall.
5604
5605 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5606
5607 * configure.ac (libc_commonpagesize): Remove variable.
5608 (libc_relro_required): Likewise.
5609 (libc_cv_z_relro): Remove configure test.
5610 * configure: Regenerated.
5611 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5612 variable.
5613 (libc_relro_required): Likewise.
5614 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5615 (libc_relro_required): Likewise.
5616 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5617 (libc_relro_required): Likewise.
5618 * sysdeps/arm/preconfigure: Regenerated.
5619 * sysdeps/ia64/preconfigure: Remove file.
5620 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5621 variable.
5622 (libc_relro_required): Likewise.
5623
5624 [BZ #16561]
5625 [BZ #16562]
5626 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5627 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5628 recompute overflowing results in original rounding mode.
5629 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5630 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5631 recompute overflowing results in original rounding mode.
5632 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5633 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5634 recompute overflowing results in original rounding mode.
5635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5636 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5637 recompute overflowing results in original rounding mode.
5638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5639 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5640 recompute overflowing results in original rounding mode.
5641 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5642 (libc_feholdsetround_ctx): New macro.
5643 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5644 * sysdeps/i386/fpu/libm-test-ulps: Update.
5645 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5646
5647 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5648
5649 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5650 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5651 corresponding .cpsetup call.
5652
5653 2014-06-26 Roland McGrath <roland@hack.frob.com>
5654
5655 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5656 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5657 * sysdeps/arm/Makefile [$(subdir) = csu]
5658 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5659 (static-only-routines): Add aeabi_read_tp here.
5660 (shared-only-routines): Add libc-aeabi_read_tp here.
5661 (CFLAGS-libc-start.c): Add -fexceptions here.
5662 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5663 (sysdep_routines, static-only-routines, shared-only-routines):
5664 Don't add to these here.
5665 (CFLAGS-libc-start.c): Likewise.
5666
5667 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5668 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5669 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5670 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5671 * sysdeps/arm/Makefile [$(subdir) = rt]
5672 (librt-sysdep_routines, librt-shared-only-routines):
5673 Append rt-aeabi_unwind_cpp_pr1 here.
5674 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5675 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5676 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5677 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5678 Append nptl-aeabi_unwind_cpp_pr1 here.
5679 (tests): Filter out tst-cleanupx4 here.
5680 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5681 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5682 Don't do those here.
5683
5684 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5685
5686 * scripts/list-sources.sh: Do not handle ports specially.
5687
5688 2014-06-26 Roland McGrath <roland@hack.frob.com>
5689
5690 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5691 * sysdeps/arm/feupdateenv.c: Likewise.
5692
5693 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5694
5695 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5696
5697 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5698 trailing whitespace removed.
5699 * scripts/config.guess: Update to version 2014-03-23.
5700 * scripts/config.sub: Update to version 2014-05-01
5701 * scripts/install-sh: Update to version 2013-12-25.23.
5702 * scripts/move-if-change: Update from gnulib.
5703
5704 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5705
5706 * debug/memmove_chk.c: Remove pagecopy.h include.
5707
5708 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5709
5710 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5711 identical to gnulib mktime.
5712
5713 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5714
5715 * configure.ac: Do not test for machine being rs6000. Do not test
5716 for powerpc*-*soft.
5717 * configure: Regenerated.
5718
5719 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5720 test.
5721 * configure: Regenerated.
5722 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5723 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5724 Remove configure test.
5725 * sysdeps/arm/configure: Regenerated.
5726 * sysdeps/nptl/configure.ac: Do not check
5727 libc_cv_asm_cfi_directives.
5728 * sysdeps/nptl/configure: Regenerated.
5729 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5730 * sysdeps/x86_64/nptl/configure: Remove generated file.
5731 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5732 unconditional.
5733 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5734
5735 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5736
5737 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5738 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5739 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5740 it is defined.
5741
5742 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5743 instead of whether it is defined.
5744 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5745 * sysdeps/hppa/dl-machine.h: Likewise.
5746 * sysdeps/ia64/dl-machine.h: Likewise.
5747 * sysdeps/m68k/dl-machine.h: Likewise.
5748 * sysdeps/microblaze/dl-machine.h: Likewise.
5749 * sysdeps/mips/dl-machine.: Likewise.
5750 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5751 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5752 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5753 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5754 * sysdeps/sh/dl-machine.h: Likewise.
5755 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5756 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5757 * sysdeps/tile/dl-machine.h: Likewise.
5758 * sysdeps/x86_64/dl-machine.h: Likewise.
5759
5760 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5761 code.
5762 (verify_persistent_db): Likewise.
5763
5764 2014-06-26 Roland McGrath <roland@hack.frob.com>
5765
5766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5767 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5769 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5771 Moved ...
5772 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5773 ... here.
5774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5775 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5777 Identical file removed.
5778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5779 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5781 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5783 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5785 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5787 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5789 Moved ...
5790 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5792 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5796 Moved ...
5797 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5799 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5801 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5803 Identical file removed.
5804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5805 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5807 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5809 Moved ...
5810 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5811 ... here.
5812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5813 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5815 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5817 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5819 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5821 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5823 Moved ...
5824 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5826 Moved ...
5827 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5829 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5831 Moved ...
5832 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5835
5836 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5837 folded into ...
5838 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5839 * sysdeps/unix/sysv/linux/s390/Versions
5840 (libpthread: GLIBC_2.19): New version set.
5841 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5842 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5843 (librt: GLIBC_2.3.3): New version set.
5844 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5845 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5846 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5847 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5848 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5849 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5850 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5851 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5852 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5853 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5854 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5855 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5856 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5857 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5858 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5860 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5862 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5863 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5864 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5865 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5866 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5867 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5868 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5870 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5871 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5872 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5873 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5874 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5875 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5876 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5877 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5879 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5880 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5881 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5882 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5883 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5884 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5886 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5888 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5889
5890 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5891 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5892 (__libc_vfork): Define the function under this name.
5893 [!NOT_IN_libc] (__vfork): Make this an alias.
5894 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5896 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5897 (__libc_vfork): Define the function under this name.
5898 [!NOT_IN_libc] (__vfork): Make this an alias.
5899 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5900 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5901 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5902 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5903 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5904 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5905
5906 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5907 code that was previously under [RESET_PID].
5908 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5911
5912 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5913 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5914 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5915 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5916 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5917 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5918 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5919 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5920 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5921 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5922 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5923 Moved ...
5924 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5925 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5926 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5927 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5928 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5930 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5931 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5932 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5933 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5934 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5935 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5936 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5937 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5938 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5939 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5940 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5942 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5943 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5944 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5945 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5948 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5949 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5950 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5951 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5952 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5953
5954 2014-06-25 Roland McGrath <roland@hack.frob.com>
5955
5956 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5957 that was previously under [RESET_PID].
5958 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5959
5960 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5961
5962 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5963 not undefine and redefine.
5964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5965 [O_CLOEXEC]: Make code unconditional.
5966 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5967 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5968 <kernel-features.h>.
5969 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5970 conditional variable definition.
5971 (shm_open) [O_CLOEXEC]: Make code unconditional.
5972 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5973 code.
5974
5975 * configure.ac (USE_REGPARMS): Don't define here.
5976 * configure: Regenerated.
5977 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5978 * sysdeps/i386/configure: Regenerated.
5979
5980 * nptl/createthread.c: Don't include kernel-features.h.
5981 * nptl/pthread_cancel.c: Likewise.
5982 * nptl/pthread_condattr_setclock.c: Likewise.
5983 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5984 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5985 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5986 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5987 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5988 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5989 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5990 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5991 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5992 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5993 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5994 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5995 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5996 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5997 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5998 * nscd/gai.c: Likewise.
5999 * nss/nss_db/db-open.c: Likewise.
6000 * sysdeps/generic/ldsodefs.h: Likewise.
6001 * sysdeps/sh/nptl/tls.h: Likewise.
6002 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6003 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6004 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6005 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6006 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6007 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6008 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6009 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6010 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6011 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6012 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6013 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6014 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6015 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6016 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6017 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6018 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6019 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6020 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6021 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6022 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6023 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6024 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6025 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6026 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6027 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6028 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6029 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6030 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6031 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6032 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6033 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6034 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6035 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6036 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6037 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6038 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6039 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6040 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6041 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6042 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6043 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6044 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6045 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6046 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6047 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6048 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6049 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6050 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6051 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6052 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6053 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6054 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6055 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6056 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6057 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6058 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6059 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6082 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6083 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6084 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6085 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6086 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6087 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6088 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6089 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6090 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6091 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6092 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6093 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6094 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6095 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6096 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6097 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6098 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6099 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6100 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6101 * sysdeps/unix/sysv/linux/system.c: Likewise.
6102 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6103 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6104 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6105 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6106 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6107 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6108 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6109
6110 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6111 * configure: Regenerated.
6112 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6113
6114 * configure.ac (base_machine): Do not set specially for particular
6115 machines here.
6116 * configure: Regenerated.
6117 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6118 settings from configure.ac.
6119 * sysdeps/i386/preconfigure: New file.
6120 * sysdeps/s390/preconfigure: Likewise.
6121 * sysdeps/sh/preconfigure: Likewise.
6122 * sysdeps/sparc/preconfigure: Likewise.
6123
6124 2014-06-25 Roland McGrath <roland@hack.frob.com>
6125
6126 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6127 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6128 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6129 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6130 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6131 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6132 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6133 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6134 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6135 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6136 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6137 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6138 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6139 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6140 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6141 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6142 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6143 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6144 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6145
6146 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6147 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6148 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6149 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6150 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6151 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6152 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6153 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6154 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6155 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6156 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6157 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6158 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6159 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6160 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6161 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6162 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6163 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6164 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6165 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6166 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6167 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6168 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6169 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6171 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6172 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6173 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6175 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6176 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6177 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6178 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6179 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6180 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6181 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6182 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6183 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6184
6185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6186 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6188 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6190 Moved ...
6191 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6192 ... here.
6193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6194 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6198 Moved ...
6199 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6201 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6203 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6205 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6207 Moved ...
6208 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6210 Moved ...
6211 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6213 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6215 Moved ...
6216 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6218 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6220 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6222 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6224 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6226 Moved ...
6227 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6228 ... here.
6229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6232 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6234 Moved ...
6235 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6237 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6239 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6241 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6243 Moved ...
6244 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6246 Moved ...
6247 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6249 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6251 Moved ...
6252 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6254 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6256 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6257
6258 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6259
6260 * timezone/checktab.awk: Update from tzcode 2014e.
6261 * timezone/private.h: Likewise.
6262 * timezone/tzfile.h: Likewise.
6263 * timezone/zdump.c: Likewise.
6264 * timezone/zic.c: Likewise.
6265
6266 * sysdeps/unix/sysv/linux/kernel-features.h
6267 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6268 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6269 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6270 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6271 Remove conditional code.
6272
6273 2014-06-25 Will Newton <will.newton@linaro.org>
6274
6275 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6276 (_dl_arm_cap_flags): Add HWCAP2 values.
6277 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6278 (_DL_HWCAP_COUNT): Increase to 37.
6279 (_DL_HWCAP_LAST): New define.
6280 (_DL_HWCAP2_LAST): New define.
6281 (_dl_procinfo): Add support for printing
6282 AT_HWCAP2 entries.
6283 (_dl_string_hwcap): Use _dl_hwcap_string.
6284
6285 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6286
6287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6288
6289 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6290
6291 * README: Do not mention ports directory.
6292
6293 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6294 Remove macro.
6295 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6296 <kernel-features.h>.
6297 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6298 conditional variable definition.
6299 (__futimes): Update comment.
6300 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6301 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6302
6303 [BZ #16560]
6304 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6305 arguments close to 0.
6306 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6307 Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6309 Likewise.
6310 * math/auto-libm-test-in: Add more tests of exp10.
6311 * math/auto-libm-test-out: Regenerated.
6312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6313
6314 * sysdeps/unix/sysv/linux/kernel-features.h
6315 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6316 * sysdeps/unix/sysv/linux/readv.c: Do not include
6317 <kernel-features.h>.
6318 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6319 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6320 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6321 unconditional.
6322 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6323 conditional code.
6324 * sysdeps/unix/sysv/linux/writev.c: Do not include
6325 <kernel-features.h>.
6326 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6327 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6328 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6329 unconditional.
6330 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6331 conditional code.
6332
6333 2014-06-25 Will Newton <will.newton@linaro.org>
6334
6335 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6336 comment changes throughout the file. Remove checks
6337 for HAVE_*_H definitions that are not required.
6338 (__gen_tempname): Call abort if an unknown kind value is
6339 passed.
6340
6341 2014-06-25 Andreas Schwab <schwab@suse.de>
6342
6343 [BZ #17086]
6344 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6345 scalbln, scalblnf, scalblnl in libc.
6346
6347 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6348
6349 [BZ #17086]
6350 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6351 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6352 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6353
6354 2014-06-24 Roland McGrath <roland@hack.frob.com>
6355
6356 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6357 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6358 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6359 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6360 Update #include.
6361 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6362 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6363 Update #include.
6364 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6365 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6366 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6367 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6368 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6369 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6370 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6371 * sysdeps/x86/bits/semaphore.h: ... here.
6372 * sysdeps/x86/nptl/elide.h: Moved ...
6373 * sysdeps/x86/elide.h: ... here.
6374 * sysdeps/x86_64/nptl/Implies: File removed.
6375 * sysdeps/i386/nptl/Implies: File removed.
6376
6377 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6378
6379 [BZ #16539]
6380 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6381 return the argument for normal arguments with exponent below -64.
6382 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6383 Likewise.
6384 * math/auto-libm-test-in: Add another test of expm1.
6385 * math/auto-libm-test-out: Regenerated.
6386
6387 [BZ #16287]
6388 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6389 calling __erfcl for arguments at least 16.
6390 * math/auto-libm-test-in: Add more tests of erf.
6391 * math/auto-libm-test-out: Regenerated.
6392
6393 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6394 individual architectures.
6395 * sysdeps/unix/sysv/linux/configure: Regenerated.
6396 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6397 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6398 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6399 (ldd_rewrite_script): Define variable.
6400 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6402 file.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6404 generated file.
6405 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6406 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6407 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6408 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6409 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6410 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6411 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6412 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6413
6414 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6415
6416 [BZ #17084]
6417 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6418 Rename member __data.d to __data.__elision_data.
6419
6420 2014-06-24 Wilco <wdijkstr@arm.com>
6421
6422 * NEWS: Add 16918 to fixed bug list.
6423
6424 2014-06-24 Wilco <wdijkstr@arm.com>
6425
6426 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6427
6428 2014-06-24 Wilco <wdijkstr@arm.com>
6429
6430 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6431 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6432 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6433 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6434 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6435 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6436 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6437 Use _FPU_MASK_RM.
6438
6439 2014-06-24 Wilco <wdijkstr@arm.com>
6440
6441 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6442
6443 2014-06-24 Wilco <wdijkstr@arm.com>
6444
6445 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6446 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6447 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6448 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6449
6450 2014-06-24 Wilco <wdijkstr@arm.com>
6451
6452 [BZ #16918]
6453 * sysdeps/arm/feupdateenv.c (feupdateenv):
6454 Rewrite to reduce FPSCR accesses and fix return value.
6455
6456 2014-06-24 Wilco <wdijkstr@arm.com>
6457
6458 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6459 Optimize to avoid unnecessary FPSCR writes.
6460 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6461 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6462 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6463 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6464
6465 2014-06-24 Wilco <wdijkstr@arm.com>
6466
6467 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6468 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6469 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6470 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6471 Call libc_fetestexcept_vfp.
6472 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6473 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6474 __SOFTFP__ ifdef so that they can be built for softfp.
6475
6476 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6477
6478 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6479 argument type signed char.
6480
6481 * Makerules (check-abi): Dump diff of symlist if the test
6482 fails.
6483
6484 2014-06-23 Roland McGrath <roland@hack.frob.com>
6485
6486 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6487 using abort.
6488
6489 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6490 Remove unused variable ST.
6491
6492 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6493
6494 [BZ #16354]
6495 [BZ #17061]
6496 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6497 small arguments before calling __expm1.
6498 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6499 small arguments before calling __expm1f.
6500 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6501 small arguments before calling __expm1l.
6502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6503 Likewise.
6504 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6505 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6506 spurious underflow for some cosh tests.
6507 * math/auto-libm-test-out: Regenerated.
6508 * sysdeps/i386/fpu/libm-test-ulps: Update.
6509
6510 [BZ #17050]
6511 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6512 (__ieee754_y1): Set errno if return value overflows.
6513 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6514 (__ieee754_y1f): Set errno if return value overflows.
6515 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6516 (__ieee754_y1l): Set errno if return value overflows.
6517 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6518 (__ieee754_y1l): Set errno if return value overflows.
6519 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6520 * math/auto-libm-test-out: Regenerated.
6521
6522 * math/gen-auto-libm-tests.c: Document use of
6523 ignore-zero-inf-sign.
6524 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6525 (input_flags): Add ignore-zero-inf-sign.
6526 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6527 * math/gen-libm-test.pl (generate_testfile): Handle
6528 ignore-zero-inf-sign.
6529 * math/auto-libm-test-in: Mark some cpow tests with
6530 ignore-zero-inf-sign and some with xfail-rounding.
6531 * math/auto-libm-test-out: Regenerated.
6532 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6533 * sysdeps/i386/fpu/libm-test-ulps: Update.
6534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6535
6536 [BZ #16315]
6537 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6538 overflowing or underflowing operations take place with sign of
6539 result.
6540 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6541 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6542 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6543 (__ieee754_pow): Recompute overflowing and underflowing results in
6544 original rounding mode.
6545 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6546 (__powl_helper): Allow negative argument X and scale negated value
6547 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6548 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6549 overflowing or underflowing operations take place with sign of
6550 result.
6551 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6552 Include <math.h>.
6553 * math/auto-libm-test-in: Add more tests of pow.
6554 * math/auto-libm-test-out: Regenerated.
6555 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6556 (pow_tonearest_test_data): Remove.
6557 (pow_test_tonearest): Likewise.
6558 (pow_towardzero_test_data): Likewise.
6559 (pow_test_towardzero): Likewise.
6560 (pow_downward_test_data): Likewise.
6561 (pow_test_downward): Likewise.
6562 (pow_upward_test_data): Likewise.
6563 (pow_test_upward): Likewise.
6564 (main): Don't call removed functions.
6565 * sysdeps/i386/fpu/libm-test-ulps: Update.
6566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6567
6568 2014-06-23 Roland McGrath <roland@hack.frob.com>
6569
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6571 Moved ...
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6574 Moved ...
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6577 Moved ...
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6580 Moved ...
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6583 File removed.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6585 File removed.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6587 File removed.
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6589 File removed.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6591 File removed.
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6593 File removed.
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6595 File removed.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6597 File removed.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6599 File removed.
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6601 File removed.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6603 File removed.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6605 File removed.
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6607 Moved ...
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6610 Moved ...
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6612 ... here.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6614 Moved ...
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6617 Moved ...
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6620 Moved ...
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6623 Moved ...
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6626 Moved ...
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6629 Moved ...
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6632 Moved ...
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6636 ... here.
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6638 Moved ...
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6641 Moved ...
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6643 ... here.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6645 Moved ...
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6647 ... here.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6649 Moved ...
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6651 ... here.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6653 Moved ...
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6656 Moved ...
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6661 Moved ...
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6663 ... here.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6665 Moved ...
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6667 ... here.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6669 Moved ...
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6672 Moved ...
6673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6675 Moved ...
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6678 Moved ...
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6681 Moved ...
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6683 ... here.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6685 Moved ...
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6688 Moved ...
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6691 Moved ...
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6694 Moved ...
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6699 Moved ...
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6702 Moved ...
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6705 Moved ...
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6707 ... here.
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6709 Moved ...
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6711 ... here.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6713 Moved ...
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6715 ... here.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6717 Moved ...
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6720 Moved ...
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6723 Moved ...
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6726 Moved ...
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6728 ... here.
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6730 Moved ...
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6732 ... here.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6734 Moved ...
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6736 ... here.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6738 Moved ...
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6741 Moved ...
6742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6743
6744 2014-06-23 Will Newton <will.newton@linaro.org>
6745 Wilco <wdijkstr@arm.com>
6746
6747 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6748 implementation. Include get-rounding-mode.h.
6749 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6750 [!libc_feholdsetround_noex_ctx]: Define
6751 libc_feholdsetround_noex_ctx.
6752 [!libc_feholdsetround_noexf_ctx]: Define
6753 libc_feholdsetround_noexf_ctx.
6754 [!libc_feholdsetround_noexl_ctx]: Define
6755 libc_feholdsetround_noexl_ctx.
6756 (libc_feholdsetround_ctx): New function.
6757 (libc_feresetround_ctx): New function.
6758 (libc_feholdsetround_noex_ctx): New function.
6759 (libc_feresetround_noex_ctx): New function.
6760
6761 2014-06-23 Roland McGrath <roland@hack.frob.com>
6762
6763 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6764 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6765 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6766 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6767 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6768 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6769
6770 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6771 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6772 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6773 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6774 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6775 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6777 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6779 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6781 Moved ...
6782 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6783 ... here.
6784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6785 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6787 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6789 Moved ...
6790 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6791 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6792 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6794 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6795 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6796 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6797 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6798 Moved ...
6799 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6801 Moved ...
6802 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6804 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6806 Moved ...
6807 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6809 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6810 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6811 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6812 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6813 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6814 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6815 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6816 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6817 Moved ...
6818 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6819 ... here.
6820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6821 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6823 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6825 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6826 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6827 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6829 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6831 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6833 Moved ...
6834 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6835 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6836 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6837 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6838 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6839 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6840 Moved ...
6841 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6842 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6843 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6844 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6845 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6846
6847 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6848 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6849 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6850 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6851 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6852 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6853 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6854 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6855 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6856 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6857 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6858 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6859 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6860 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6861 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6862 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6863 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6864 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6865 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6866 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6867 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6868 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6869 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6870 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6871 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6872 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6873 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6874 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6875
6876 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6877
6878 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6879 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6880 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6881 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6882 (IPV6_PMTUDISC_INTERFACE): Likewise.
6883 (IPV6_PMTUDISC_OMIT): Likewise.
6884
6885 2014-06-23 Andreas Schwab <schwab@suse.de>
6886
6887 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6888 Remove unused errout label.
6889
6890 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6891
6892 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6893 macro: hardware supports Vector Crypto instructions.
6894
6895 2014-06-23 Will Newton <will.newton@linaro.org>
6896
6897 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6898 rather than __builtin_expect.
6899
6900 * elf/dl-lookup.c (undefined_msg): Remove variable.
6901 (_dl_lookup_symbol_x): Replace undefined_msg with string
6902 literal.
6903
6904 * elf/dl-lookup.c (do_lookup_unique): New function.
6905 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6906 to a separate function.
6907
6908 2014-06-23 Andreas Schwab <schwab@suse.de>
6909
6910 [BZ #17079]
6911 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6912 before reading the next line.
6913
6914 2014-06-23 Will Newton <will.newton@linaro.org>
6915
6916 * test-skeleton.c (signal_handler): Use printf and %m
6917 rather than perror. Use printf rather than fprintf to
6918 stderr. Use puts rather than fputs to stderr.
6919 (main): Likewise.
6920
6921 2014-06-22 Ludovic Courtès <ludo@gnu.org>
6922
6923 * nscd/nscd.c (thread_info_t): Remove typedef.
6924 (thread_info): Remove variable.
6925
6926 2014-06-21 Allan McRae <allan@archlinux.org>
6927
6928 * NEWS: Mention CVE-2014-4043.
6929
6930 2014-06-20 Roland McGrath <roland@hack.frob.com>
6931
6932 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6933 * nptl/smp.h: ... here.
6934
6935 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6936
6937 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6938 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6939 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6940 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6941
6942 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6943 * nptl/stack-aliasing.h: New file.
6944 * sysdeps/i386/i686/stack-aliasing.h: New file.
6945 * sysdeps/i386/i686/nptl/Makefile: File removed.
6946 * sysdeps/x86_64/stack-aliasing.h: New file.
6947 * sysdeps/x86_64/nptl/Makefile
6948 (CFLAGS-pthread_create.c): Variable removed.
6949
6950 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6951 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6952 old file.
6953 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6954 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6955 old file.
6956
6957 2014-06-21 Joseph Myers <joseph@codesourcery.com>
6958
6959 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6960 (__ASSUME_SIGFRAME_V2): Remove macro.
6961 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6962 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6963 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6964 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6965 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6966 Declare as function. Remove conditional macro definitions.
6967 (__default_rt_sa_restorer): Likewise.
6968 (__default_sa_restorer_v1): Remove declaration.
6969 (__default_sa_restorer_v2): Likewise.
6970 (__default_rt_sa_restorer_v1): Likewise.
6971 (__default_rt_sa_restorer_v2): Likewise.
6972 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6973 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6974 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6975
6976 2014-06-20 Roland McGrath <roland@hack.frob.com>
6977
6978 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6979 (libpthread-routines): Add sysdep.
6980 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6981 * sysdeps/unix/sysv/linux/sparc/Versions
6982 (libpthread: GLIBC_2.3.3): New version set.
6983 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6984 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6985 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6986 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6987 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6988 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6989 Moved ...
6990 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6991 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6992 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6993 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6994 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6995 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6996 * sysdeps/sparc/nptl/sem_init.c: ... here.
6997 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6998 * sysdeps/sparc/nptl/sem_post.c: ... here.
6999 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7000 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7001 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7002 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7003 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7004 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7005 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7006 (libpthread-routines): Add cpu_relax.
7007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7008 File removed.
7009 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7010 (librt: GLIBC_2.3.3): New version set.
7011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7012 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7014 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7017 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7019 Moved ...
7020 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7022 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7024 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7026 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7028 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7030 Moved ...
7031 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7032 Update #include.
7033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7034 Moved ...
7035 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7036 Update #include.
7037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7038 Moved ...
7039 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7040 Update #include.
7041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7042 Moved ...
7043 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7044 Update #include.
7045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7046 Moved ...
7047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7048 Update #include.
7049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7050 Moved ...
7051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7052 Update #include.
7053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7054 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7060 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7062 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7064 Moved ...
7065 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7067 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7069 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7070
7071 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7072
7073 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7074 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7075 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7076 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7077 * nscd/nscd.c: Likewise.
7078 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7079 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7080 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7081 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7082
7083 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7084 <kernel-features.h>.
7085 (init_mq_netlink): Remove conditional have_sock_cloexec
7086 definitions. Remove code conditional on have_sock_cloexec < 0.
7087 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7088 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7089 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7090 <kernel-features.h>.
7091 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7092 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7093
7094 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7095
7096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7097 Add tests for memset_chk and memset.
7098
7099 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7100 with AVX2_Usable.
7101
7102 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7103
7104 [BZ #16046]
7105 * elf/tst-dl-iter-static.c: New file.
7106 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7107
7108 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7109 error.
7110
7111 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7112
7113 * sysdeps/unix/sysv/linux/kernel-features.h
7114 (__ASSUME_F_GETOWN_EX): Remove macro.
7115 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7116 <kernel-features.h>.
7117 (miss_F_GETOWN_EX): Remove variable or macro.
7118 (do_fcntl): Do not check miss_F_GETOWN_EX.
7119 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7120
7121 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7122 Remove macro.
7123 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7124 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7125 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7126
7127 * sysdeps/unix/sysv/linux/kernel-features.h
7128 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7129 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7130 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7131 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7132
7133 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7134
7135 [BZ #17075]
7136 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7137 Fix calculation of the symbol's value.
7138 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7139 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7140 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7141 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7142 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7143 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7144 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7145 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7146 (modules-names): Add `tst-armtlsdescmod',
7147 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7148 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7149 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7150 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7151 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7152 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7153 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7154 ($(objpfx)tst-armtlsdescloc): New dependency.
7155 ($(objpfx)tst-armtlsdescextnow): Likewise.
7156 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7157 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7158 TLS scheme support.
7159 * sysdeps/arm/configure: Regenerate.
7160
7161 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7162
7163 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7164 (__atfct_seterrno_2): Likewise.
7165 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7166 <kernel-features.h>.
7167 (__ASSUME_ATFCTS): Do not undefine and redefine.
7168 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7169 (__have_atfcts): Remove conditional definition.
7170 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7171 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7172 unreachable if [__ASSUME_ATFCTS].
7173 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7174 not undefine and redefine.
7175 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7176 <kernel-features.h>.
7177 (faccessat) [__NR_faccessat]: Make code unconditional.
7178 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7179 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7180 <kernel-features.h>.
7181 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7182 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7183 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7184 <kernel-features.h>.
7185 (fchownat) [__NR_fchownat]: Make code unconditional.
7186 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7187 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7188 <kernel-features.h>.
7189 (futimesat) [__NR_futimesat]: Make code unconditional.
7190 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7191 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7192 <kernel-features.h>.
7193 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7194 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7195 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7196 <kernel-features.h>.
7197 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7198 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7199 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7200 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7201 <kernel-features.h>.
7202 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7203 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7204 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7205 <kernel-features.h>.
7206 (linkat) [__NR_linkat]: Make code unconditional.
7207 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7208 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7209 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7210 <kernel-features.h>.
7211 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7212 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7213 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7214 <kernel-features.h>.
7215 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7216 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7217 * sysdeps/unix/sysv/linux/openat.c: Do not include
7218 <kernel-features.h>.
7219 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7220 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7221 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7222 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7223 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7224 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7225 <kernel-features.h>.
7226 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7227 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7228 result of INLINE_SYSCALL directly, not via int variable.
7229 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7230 <kernel-features.h>.
7231 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7232 (renameat) [__NR_renameat]: Make code unconditional.
7233 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7234 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7235 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7236 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7237 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7238 (__ASSUME_ATFCTS): Do not undefine and redefine.
7239 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7240 <kernel-features.h>.
7241 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7242 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7243 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7244 <kernel-features.h>.
7245 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7246 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7247 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7248 (__ASSUME_ATFCTS): Do not undefine and redefine.
7249 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7250 <kernel-features.h>.
7251 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7252 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7253 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7254 <kernel-features.h>.
7255 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7256 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7257
7258 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7259
7260 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7261
7262 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7263
7264 [BZ #17069]
7265 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7266 constructed tree before returning error.
7267 * posix/bug-regexp36.c: Expand test case.
7268
7269 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7270
7271 [BZ #6803]
7272 * math/libm-test.inc (scalbln_test_date):
7273 Add errno expectations.
7274 * math/w_scalblnf.c: New File.
7275 Add wrapper which checks for setting errno to ERANGE.
7276 Add weak_alias for corresponding scalbln function.
7277 * math/w_scalbln.c: Likewise.
7278 * math/w_scalblnl.c: Likewise.
7279 * math/Makefile (libm-calls): Add w_scalbln.
7280 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7281 Remove weak_alias for corresponding scalbln function.
7282 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7284 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7286 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7287 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7288 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7289 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7290 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7291 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7292 Remove long_double_symbol for scalblnl function in libm, libc.
7293 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7294 Add wrapper which checks for setting errno to ERANGE.
7295 Add long_double_symbol for scalblnl function in libm, libc.
7296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7297 Remove long_double_symbol for scalblnl in libm.
7298 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7299 Add wrapper which checks for setting errno to ERANGE.
7300 Add long_double_symbol for scalblnl function in libm.
7301 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7302 Do not use wrapper because of own implementation.
7303
7304 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7305
7306 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7307 3 bytes for __pad1 for x32.
7308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7309
7310 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7311 H.J. Lu <hongjiu.lu@intel.com>
7312
7313 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7314 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7315 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7316 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7317 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7318
7319 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7320
7321 [BZ #17069]
7322 * posix/regcomp.c (parse_expression): Deallocate partially
7323 constructed tree before returning error.
7324 * posix/Makefile.c (tests): Add bug-regex36.
7325 (generated): Add bug-regex36.mtrace.
7326 (tests-special): Add $(objpfx)bug-regex36-mem.out
7327 (bug-regex36-ENV): New variable.
7328 ($(objpfx)bug-regex36-mem.out): New rule.
7329 * posix/bug-regex36.c: New file.
7330
7331 2014-06-19 Will Newton <will.newton@linaro.org>
7332
7333 * malloc/malloc.c (systrim): If extra is zero then return
7334 early.
7335
7336 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7337
7338 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7339
7340 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7341
7342 * sysdeps/aarch64/strchr.S: New file.
7343
7344 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7345
7346 [BZ #17022]
7347 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7348 from arguments -2 or below.
7349 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7350 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7351
7352 2014-06-18 Andreas Schwab <schwab@suse.de>
7353
7354 [BZ #17062]
7355 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7356 of a bracket expr not to run off the end of the string.
7357 * posix/Makefile (tests): Add tst-fnmatch3.
7358 * posix/tst-fnmatch3.c: New file.
7359
7360 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7361
7362 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7363 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7364 [$(cross-compiling) = no]: Likewise.
7365 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7366 [$(cross-compiling) = no]: Likewise.
7367
7368 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7369
7370 [BZ #17031]
7371 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7372 double, adjusted for any remainder from the high double.
7373 * math/libm-test.inc (nearbyint): Add tests.
7374 (rint): Likewise.
7375
7376 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7377
7378 * nptl/sysdeps/powerpc/Makefile: Moved ...
7379 * sysdeps/powerpc/nptl/Makefile: ... here.
7380 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7381 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7382 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7383 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7384 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7385 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7386 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7387 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7388 * nptl/sysdeps/powerpc/tls.h: Moved ...
7389 * sysdeps/powerpc/nptl/tls.h: ... here.
7390
7391 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7392
7393 [BZ #16681]
7394 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7395 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7396 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7397 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7398 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7399 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7400 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7401 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7402 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7403
7404 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7405
7406 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7407
7408 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7409
7410 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7411 defined operator.
7412
7413 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7414 $TIMEOUTFACTOR.
7415
7416 2014-06-16 Florian Weimer <fweimer@redhat.com>
7417
7418 [BZ #17058]
7419 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7420 non-executed part of the test.
7421
7422 2014-06-16 Andreas Schwab <schwab@suse.de>
7423
7424 * string/bits/string2.h (strdup, strndup): Update feature guard.
7425
7426 2014-06-14 David S. Miller <davem@davemloft.net>
7427
7428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7429
7430 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7431
7432 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7433 that was previously under [RESET_PID].
7434 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7435
7436 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7437 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7438 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7439 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7440 (__libc_vfork): New strong alias.
7441 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7442
7443 2014-06-14 Andi Kleen <ak@linux.intel.com>
7444
7445 * sysdeps/generic/elide.h: New file.
7446
7447 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7448
7449 * Makefile (installed-headers): Adjust path of pthread.h header.
7450
7451 2014-06-13 Roland McGrath <roland@hack.frob.com>
7452
7453 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7454 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7455 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7456 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7457
7458 * nptl/sysdeps/s390/Makefile: Moved ...
7459 * sysdeps/s390/nptl/Makefile: ... here.
7460 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7461 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7462 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7463 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7464 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7465 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7466 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7467 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7468 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7469 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7470 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7471 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7472 * nptl/sysdeps/s390/tls.h: Moved ...
7473 * sysdeps/s390/nptl/tls.h: ... here.
7474
7475 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7476 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7477
7478 2014-06-13 David S. Miller <davem@davemloft.net>
7479
7480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7483 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7487 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7488 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7489 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7490 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7491 Remove RESET_PID cpp guards.
7492 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7493 Remove RESET_PID cpp guards.
7494 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7495
7496 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7497
7498 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7499 __sp to uintptr_t.
7500
7501 2014-06-13 Andi Kleen <ak@linux.intel.com>
7502
7503 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7504 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7505 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7506 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7507 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7508 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7509 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7510 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7511 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7512 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7513 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7514 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7515 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7516 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7517 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7519 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7520 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7521 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7522 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7523
7524 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7525 (pthread_rwlock_rdlock): Add elision.
7526 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7527 (pthread_rwlock_wrlock): Add elision.
7528 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7529 (pthread_rwlock_trywrlock): Add elision.
7530 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7531 (pthread_rwlock_tryrdlock): Add elision.
7532 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7533 (pthread_rwlock_tryrdlock): Add elision unlock.
7534 * nptl/sysdeps/pthread/pthread.h:
7535 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7536 (PTHREAD_RWLOCK_INITIALIZER,
7537 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7538 Handle new elision field.
7539 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7540 * sysdeps/arm/nptl/bits/pthreadtypes.h
7541 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7542 * sysdeps/sh/nptl/bits/pthreadtypes.h
7543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7544 * sysdeps/tile/nptl/bits/pthreadtypes.h
7545 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7546 * sysdeps/a/nptl/bits/pthreadtypes.h
7547 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7548 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7550 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7552 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7554 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7556 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7558 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7560 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7562 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7564 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7565 (elision_init): Set try_xbegin to zero when no RTM.
7566 * sysdeps/x86/nptl/bits/pthreadtypes.h
7567 (pthread_rwlock_t): Change __pad1 to __rwelision.
7568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7569
7570 2014-06-13 Andi Kleen <ak@linux.intel.com>
7571
7572 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7573 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7574 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7575 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7576
7577 2014-06-13 Meador Inge <meadori@codesourcery.com>
7578
7579 [BZ #16996]
7580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7581 that the cached result has been set before returning it.
7582
7583 2014-06-12 Roland McGrath <roland@hack.frob.com>
7584
7585 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7586 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7587 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7588 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7590 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7591
7592 * nptl/sysdeps/sparc/Makefile: Moved ...
7593 * sysdeps/sparc/nptl/Makefile: ... here.
7594 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7595 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7596 * nptl/sysdeps/sparc/tls.h: Moved ...
7597 * sysdeps/sparc/nptl/tls.h: ... here.
7598 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7599 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7600 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7601 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7602 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7603 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7604 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7605 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7606 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7607 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7608 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7609 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7610 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7611 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7612 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7613 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7614 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7615 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7616 Update #include.
7617 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7618 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7619 Update #include.
7620 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7621 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7622 Update #include.
7623 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7624 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7625 Update #include.
7626
7627 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7628
7629 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7630 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7631
7632 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7633 (struct list_links): Type removed.
7634 (struct thread_node, struct timer_node): Replace struct list_links
7635 with struct list_head.
7636 (list_unlink_ip): Likewise.
7637 * sysdeps/pthread/timer_routines.c
7638 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7639 (list_append, list_insbefore): Likewise.
7640 (list_init): Function removed.
7641 (thread_init, init_module): Use INIT_LIST_HEAD instead.
7642 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7643 * sysdeps/pthread/Makefile: ... here, new file.
7644
7645 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7646 * sysdeps/nptl/Implies: ... here.
7647 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7648 * nptl/sysdeps/pthread/list.h: Moved ...
7649 * include/list.h: ... here.
7650 * nptl/sysdeps/pthread/createthread.c: Moved ...
7651 * nptl/createthread.c: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7653 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7654 * nptl/pt-longjmp.c: ... here.
7655 * nptl/sysdeps/pthread/Makefile: Moved ...
7656 * sysdeps/nptl/Makefile: ... here.
7657 * nptl/sysdeps/pthread/Subdirs: Moved ...
7658 * sysdeps/nptl/Subdirs: ... here.
7659 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7660 * sysdeps/nptl/aio_misc.h: ... here.
7661 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7662 * sysdeps/nptl/bits/libc-lock.h: ... here.
7663 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7664 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7665 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7666 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7667 * nptl/sysdeps/pthread/configure: Moved ...
7668 * sysdeps/nptl/configure: ... here.
7669 * nptl/sysdeps/pthread/configure.ac: Moved ...
7670 * sysdeps/nptl/configure.ac: ... here.
7671 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7672 * sysdeps/nptl/gai_misc.h: ... here.
7673 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7674 * sysdeps/nptl/librt-cancellation.c: ... here.
7675 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7676 * sysdeps/nptl/malloc-machine.h: ... here.
7677 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7678 * sysdeps/nptl/pthread-functions.h: ... here.
7679 * nptl/sysdeps/pthread/pthread.h: Moved ...
7680 * sysdeps/nptl/pthread.h: ... here.
7681 * nptl/sysdeps/pthread/setxid.h: Moved ...
7682 * sysdeps/nptl/setxid.h: ... here.
7683 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7684 * sysdeps/nptl/sigfillset.c: ... here.
7685 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7686 * sysdeps/nptl/tcb-offsets.h: ... here.
7687 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7688 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7689 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7690 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7691 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7692 * sysdeps/pthread/allocalim.h: ... here.
7693 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7694 * sysdeps/pthread/bits/sigthread.h: ... here.
7695 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7696 * sysdeps/pthread/flockfile.c: ... here.
7697 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7698 * sysdeps/pthread/ftrylockfile.c: ... here.
7699 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7700 * sysdeps/pthread/funlockfile.c: ... here.
7701 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7702 * sysdeps/pthread/posix-timer.h: ... here.
7703 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7704 * sysdeps/pthread/timer_create.c: ... here.
7705 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7706 * sysdeps/pthread/timer_delete.c: ... here.
7707 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7708 * sysdeps/pthread/timer_getoverr.c: ... here.
7709 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7710 * sysdeps/pthread/timer_gettime.c: ... here.
7711 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7712 * sysdeps/pthread/timer_routines.c: ... here.
7713 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7714 * sysdeps/pthread/timer_settime.c: ... here.
7715 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7716 * sysdeps/pthread/tst-timer.c: ... here.
7717 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7718 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7719
7720 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7721 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7722
7723 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7724 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7725 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7726 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7727 Update #include target.
7728 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7729 * sysdeps/i386/i686/nptl/Makefile: ... here.
7730 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7731 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7732 Update #include target.
7733 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7734 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7735 * nptl/sysdeps/i386/Makefile: Moved ...
7736 * sysdeps/i386/nptl/Makefile: ... here.
7737 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7738 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7739 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7740 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7741 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7742 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7743 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7744 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7745 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7746 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7747 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7748 * nptl/sysdeps/i386/tls.h: Moved ...
7749 * sysdeps/i386/nptl/tls.h: ... here.
7750
7751 * sysdeps/sh/Makefile [$(subdir) = csu]
7752 (gen-as-const-headers): Add tcb-offsets.sym.
7753 * nptl/sysdeps/sh/Makefile: File removed.
7754 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7755 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7756 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7757 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7758 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7759 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7760 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7761 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7762 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7763 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7764 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7765 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7766 * nptl/sysdeps/sh/tls.h: Moved ...
7767 * sysdeps/sh/nptl/tls.h: ... here.
7768 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7769 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7770 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7771 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7772 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7773 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7774 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7775 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7776 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7777 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7778 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7779 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7780 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7781 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7782 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7783 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7784 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7785 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7786 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7787 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7789 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7791 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7793 Moved ...
7794 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7795 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7796 Moved ...
7797 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7799 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7801 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7802 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7803 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7804 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7805 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7806 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7807 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7808 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7809 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7810 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7811 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7812 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7813 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7814 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7815 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7816
7817 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7818
7819 * posix/spawn_faction_addopen.c: Include string.h.
7820
7821 2014-06-11 Roland McGrath <roland@hack.frob.com>
7822
7823 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7824 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7825 * nptl/sysdeps/x86_64/Makefile: Moved ...
7826 * sysdeps/x86_64/nptl/Makefile: ... here.
7827 * nptl/sysdeps/x86_64/configure: Moved ...
7828 * sysdeps/x86_64/nptl/configure: ... here.
7829 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7830 * sysdeps/x86_64/nptl/configure.ac: ... here.
7831 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7832 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7833 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7834 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7835 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7836 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7837 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7838 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7839 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7840 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7841 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7842 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7843 * nptl/sysdeps/x86_64/tls.h: Moved ...
7844 * sysdeps/x86_64/nptl/tls.h: ... here.
7845 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7846 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7847 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7848 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7849
7850 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7851
7852 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7853
7854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7855
7856 2014-06-11 Joseph Myers <joseph@codesourcery.com>
7857
7858 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7859 type.
7860 [POSIX] (off_t): Likewise.
7861 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7862 [POSIX] (S_ISBLK): Require macro.
7863 [POSIX] (S_ISCHR): Likewise.
7864 [POSIX] (S_ISDIR): Likewise.
7865 [POSIX] (S_ISFIFO): Likewise.
7866 [POSIX] (S_ISREG): Likewise.
7867 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7868 optional-macro.
7869 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7870 type.
7871 [POSIX] (time_t): Likewise.
7872 [POSIX] (timer_t): Likewise.
7873
7874 2014-06-11 Florian Weimer <fweimer@redhat.com>
7875
7876 [BZ #17048]
7877 * posix/spawn_int.h (struct __spawn_action): Make the path string
7878 non-const to support deallocation.
7879 * posix/spawn_faction_addopen.c
7880 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7881 * posix/spawn_faction_destroy.c
7882 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7883 path in all spawn_do_open actions.
7884 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7885 posix_spawn_file_actions_addopen.
7886
7887 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7888
7889 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7890 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7891 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7892 conditional code always true.
7893 (__libc_vfork): New alias.
7894
7895 2014-06-11 Roland McGrath <roland@hack.frob.com>
7896
7897 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7898 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7899
7900 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7901
7902 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7903 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7904
7905 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7906 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7907
7908 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7909 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7910
7911 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7912
7913 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7914 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7915 multiarch strcmp for PPC64.
7916 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7917 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7919 multiarch optimizations.
7920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7921 (__libc_ifunc_impl_list): Likewise.
7922
7923 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7924
7925 * benchtests/scripts/validate_benchout.py: New script.
7926 * benchtests/Makefile (bench-func): Call it.
7927 * benchtests/scripts/benchout.schema.json: New file.
7928
7929 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7930
7931 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7932 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7933 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7934 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7935 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7936 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7937 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7938 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7939 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7940 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7941 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7942 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7943 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7944 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7945 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7946 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7948 Moved ...
7949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7950 ... here.
7951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7952 Moved ...
7953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7955 Moved ...
7956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7957 ... here.
7958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7959 Moved ...
7960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7961 ... here.
7962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7963 Moved ...
7964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7966 Moved ...
7967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7968 ... here.
7969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7970 Moved ...
7971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7972 ... here.
7973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7974 Moved ...
7975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7977 Moved ...
7978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7979 ... here.
7980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7981 Moved ...
7982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7983 ... here.
7984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7985 Moved ...
7986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7987 ... here.
7988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7989 Moved ...
7990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7992 Moved ...
7993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7994 ... here.
7995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7996 Moved ...
7997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7998 ... here.
7999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8000 Moved ...
8001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8002 ... here.
8003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8004 Moved ...
8005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8007 Moved ...
8008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8009 ... here.
8010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8011 Moved ...
8012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8013 ... here.
8014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8015 Moved ...
8016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8018 Moved ...
8019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8020 ... here.
8021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8022 Moved ...
8023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8025 Moved ...
8026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8028 Moved ...
8029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8030 ... here.
8031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8032 Moved ...
8033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8034 ... here.
8035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8036 Moved ...
8037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8038 ... here.
8039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8040 Moved ...
8041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8043 Moved ...
8044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8045 ... here.
8046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8047 Moved ...
8048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8049 ... here.
8050 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8051 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8052 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8053 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8054 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8055 Moved ...
8056 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8057 ... here.
8058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8059 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8061 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8063 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8065 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8067 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8069 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8071 Moved ...
8072 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8074 Moved ...
8075 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8077 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8079 Moved ...
8080 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8084 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8085 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8086 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8087
8088 2014-06-10 Wilco <wdijkstr@arm.com>
8089
8090 * math/test-fenv-return.c: New file.
8091 * math/Makefile: Add new test test-fenv-return.
8092
8093 2014-06-10 Joseph Myers <joseph@codesourcery.com>
8094
8095 [BZ #17042]
8096 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8097 when x - 1 is zero.
8098 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8099 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8100 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8101 0.0L for an argument of 1.0L.
8102 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8103 Likewise.
8104 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8105 value when x - 1 is zero.
8106 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8109
8110 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8111
8112 [BZ #15119]
8113 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8114
8115 2014-06-09 Roland McGrath <roland@hack.frob.com>
8116
8117 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8118 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8119
8120 2014-06-09 Roland McGrath <roland@hack.frob.com>
8121
8122 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8123 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8124
8125 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8126 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8127
8128 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8129 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8130
8131 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8132 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8133
8134 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8135 if not already defined.
8136 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8137 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8138 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8139 (TLS_INIT_TP): Use it.
8140 (TLS_DEFINE_INIT_TP): New macro.
8141 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8142
8143 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8144
8145 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8146 constant.
8147 [POSIX] (IXANY): Likewise.
8148 [POSIX] (OLCUC): Likewise.
8149 [POSIX || POSIX2008] (CBAUD): Do not allow.
8150 [POSIX || POSIX2008] (DEFECHO): Likewise.
8151 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8152 [POSIX || POSIX2008] (ECHOKE): Likewise.
8153 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8154 [POSIX || POSIX2008] (EXTA): Likewise.
8155 [POSIX || POSIX2008] (EXTB): Likewise.
8156 [POSIX || POSIX2008] (FLUSHO): Likewise.
8157 [POSIX || POSIX2008] (LOBLK): Likewise.
8158 [POSIX || POSIX2008] (PENDIN): Likewise.
8159 [POSIX || POSIX2008] (SWTCH): Likewise.
8160 [POSIX || POSIX2008] (VDISCARD): Likewise.
8161 [POSIX || POSIX2008] (VDSUSP): Likewise.
8162 [POSIX || POSIX2008] (VLNEXT): Likewise.
8163 [POSIX || POSIX2008] (VREPRINT): Likewise.
8164 [POSIX || POSIX2008] (VSTATUS): Likewise.
8165 [POSIX || POSIX2008] (VWERASE): Likewise.
8166 (B*): Change to B[0123456789]*.
8167 * conform/data/time.h-data [POSIX || UNIX98]
8168 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8169 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8170 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8171 [POSIX] (tm_*): Do not allow.
8172
8173 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8174
8175 * Makefile (install): Don't set LANGUAGE.
8176 * Makefile.in (install): Likewise.
8177 * assert/Makefile (test-assert-ENV): Remove variable.
8178 (test-assert-perr-ENV): Likewise.
8179 * elf/Makefile (neededtest4-ENV): Likewise.
8180 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8181 [$(cross-compiling) = no]: Don't set LANGUAGE.
8182 * io/ftwtest-sh (LANG): Remove variable.
8183 * libio/Makefile (tst-widetext-ENV): Likewise.
8184 * manual/install.texi (Running make install): Don't refer to
8185 environment settings for make install.
8186 * INSTALL: Regenerated.
8187 * nptl/tst-tls6.sh: Don't set LANG.
8188 * posix/globtest.sh (LANG): Remove variable.
8189 * string/Makefile (tester-ENV): Likewise.
8190 (inl-tester-ENV): Likewise.
8191 (noinl-tester-ENV): Likewise.
8192 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8193 [$(cross-compiling) = no]: Don't set LANGUAGE.
8194 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8195 without explicit environment settings.
8196
8197 2014-06-06 Roland McGrath <roland@hack.frob.com>
8198
8199 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8200 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8201 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8202 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8203
8204 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8205
8206 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8207 other files in the crypt directory.
8208 * crypt/crypt.c: Remove duplicate includes.
8209 * crypt/crypt-entry.c: Likewise.
8210 * crypt/crypt_util.c: Likewise.
8211
8212 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8213
8214 * Makeconfig (run-program-env): New variable.
8215 (run-program-prefix-before-env): Likewise.
8216 (run-program-prefix-after-env): Likewise.
8217 (run-program-prefix): Define in terms of new variables.
8218 (built-program-cmd-before-env): New variable.
8219 (built-program-cmd-after-env): Likewise.
8220 (built-program-cmd): Define in terms of new variables.
8221 (test-program-prefix-before-env): New variable.
8222 (test-program-prefix-after-env): Likewise.
8223 (test-program-prefix): Define in terms of new variables.
8224 (test-program-cmd-before-env): New variable.
8225 (test-program-cmd-after-env): Likewise.
8226 (test-program-cmd): Define in terms of new variables.
8227 * Rules (make-test-out): Use $(run-program-env).
8228 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8229 (help): Do not mention environment variables. Mention
8230 --timeoutfactor option.
8231 (timeoutfactor): New variable.
8232 (blacklist_exports): Remove function.
8233 (exports): Remove variable.
8234 (command): Do not include ${exports}.
8235 * manual/install.texi (Configuring and compiling): Do not mention
8236 test wrappers preserving environment variables. Mention that last
8237 assignment to a variable must take precedence.
8238 * INSTALL: Regenerated.
8239 * benchtests/Makefile (run-bench): Use $(run-program-env).
8240 * catgets/Makefile ($(objpfx)test1.cat): Use
8241 $(built-program-cmd-before-env), $(run-program-env) and
8242 $(built-program-cmd-after-env).
8243 ($(objpfx)test2.cat): Do not specify environment variables
8244 explicitly.
8245 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8246 $(run-program-env) and $(built-program-cmd-after-env).
8247 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8248 $(run-program-env) and $(test-program-cmd-after-env).
8249 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8250 explicitly.
8251 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8252 run_program_env and test_program_cmd_after_env arguments.
8253 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8254 * elf/tst-pathopt.sh: Use run_program_env argument.
8255 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8256 $(test-wrapper-env) and $(run-program-env).
8257 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8258 run_program_env arguments.
8259 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8260 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8261 $(test-program-prefix-before-env), $(run-program-env) and
8262 $(test-program-prefix-after-env).
8263 ($(objpfx)tst-gettext2.out): Likewise.
8264 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8265 run_program_env and test_program_prefix_after_env arguments.
8266 * intl/tst-gettext2.sh: Likewise.
8267 * intl/tst-gettext4.sh: Do not set environment variables
8268 explicitly.
8269 * intl/tst-gettext6.sh: Likewise.
8270 * intl/tst-translit.sh: Likewise.
8271 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8272 $(test-program-prefix-before-env), $(run-program-env) and
8273 $(test-program-prefix-after-env).
8274 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8275 run_program_env and test_program_prefix_after_env arguments.
8276 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8277 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8278 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8279 explicitly with each use of ${test_wrapper_env}.
8280 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8281 $(test-program-prefix-before-env), $(run-program-env) and
8282 $(test-program-prefix-after-env).
8283 * posix/tst-getconf.sh: Do not set environment variables
8284 explicitly.
8285 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8286 run_program_env and test_program_prefix_after_env arguments.
8287 * stdio-common/tst-printf.sh: Do not set environment variables
8288 explicitly.
8289 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8290 $(test-program-prefix-before-env), $(run-program-env) and
8291 $(test-program-prefix-after-env).
8292 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8293 run_program_env and test_program_prefix_after_env arguments.
8294 Split $test calls into $test_pre and $test.
8295 * timezone/Makefile (build-testdata): Use
8296 $(built-program-cmd-before-env), $(run-program-env) and
8297 $(built-program-cmd-after-env).
8298
8299 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8300
8301 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8302 strlen for non SHARED builds.
8303
8304 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8305
8306 * nptl/allocatestack.c (check_list): Inlined function...
8307 (__reclaim_stacks): ... here.
8308
8309 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8310
8311 [BZ #15698]
8312 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8313 memory overrun.
8314
8315 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8316
8317 * Rules (make-test-out): Include
8318 LOCPATH=$(common-objpfx)localedata in default environment.
8319 * debug/Makefile (tst-chk1-ENV): Remove variable.
8320 (tst-chk2-ENV): Likewise.
8321 (tst-chk3-ENV): Likewise.
8322 (tst-chk4-ENV): Likewise.
8323 (tst-chk5-ENV): Likewise.
8324 (tst-chk6-ENV): Likewise.
8325 (tst-lfschk1-ENV): Likewise.
8326 (tst-lfschk2-ENV): Likewise.
8327 (tst-lfschk3-ENV): Likewise.
8328 (tst-lfschk4-ENV): Likewise.
8329 (tst-lfschk5-ENV): Likewise.
8330 (tst-lfschk6-ENV): Likewise.
8331 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8332 (tst-iconv7-ENV): Likewise.
8333 * intl/Makefile (LOCPATH-ENV): Likewise.
8334 (tst-codeset-ENV): Likewise.
8335 (tst-gettext3-ENV): Likewise.
8336 (tst-gettext5-ENV): Likewise.
8337 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8338 (tst-fopenloc-ENV): Likewise.
8339 (tst-fgetws-ENV): Remove variable.
8340 (tst-ungetwc1-ENV): Likewise.
8341 (tst-ungetwc2-ENV): Likewise.
8342 (bug-ungetwc2-ENV): Likewise.
8343 (tst-swscanf-ENV): Likewise.
8344 (bug-ftell-ENV): Likewise.
8345 (tst-fgetwc-ENV): Likewise.
8346 (tst-fseek-ENV): Likewise.
8347 (tst-ftell-partial-wide-ENV): Likewise.
8348 (tst-ftell-active-handler-ENV): Likewise.
8349 (tst-ftell-append-ENV): Likewise.
8350 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8351 (tst-regexloc-ENV): Likewise.
8352 (bug-regex1-ENV): Likewise.
8353 (tst-regex-ENV): Likewise.
8354 (tst-regex2-ENV): Likewise.
8355 (bug-regex5-ENV): Likewise.
8356 (bug-regex6-ENV): Likewise.
8357 (bug-regex17-ENV): Likewise.
8358 (bug-regex18-ENV): Likewise.
8359 (bug-regex19-ENV): Likewise.
8360 (bug-regex20-ENV): Likewise.
8361 (bug-regex22-ENV): Likewise.
8362 (bug-regex23-ENV): Likewise.
8363 (bug-regex25-ENV): Likewise.
8364 (bug-regex26-ENV): Likewise.
8365 (bug-regex30-ENV): Likewise.
8366 (bug-regex32-ENV): Likewise.
8367 (bug-regex33-ENV): Likewise.
8368 (bug-regex34-ENV): Likewise.
8369 (bug-regex35-ENV): Likewise.
8370 (tst-rxspencer-ENV): Likewise.
8371 (tst-rxspencer-no-utf8-ENV): Likewise.
8372 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8373 (tst-sscanf-ENV): Likewise.
8374 (tst-swprintf-ENV): Likewise.
8375 (tst-swscanf-ENV): Likewise.
8376 (test-vfprintf-ENV): Likewise.
8377 (scanf13-ENV): Likewise.
8378 (bug14-ENV): Likewise.
8379 (tst-grouping-ENV): Likewise.
8380 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8381 (tst-strtod3-ENV): Likewise.
8382 (tst-strtod4-ENV): Likewise.
8383 (tst-strtod5-ENV): Likewise.
8384 (testmb2-ENV): Likewise./
8385 * string/Makefile (tst-strxfrm-ENV): Likewise.
8386 (tst-strxfrm2-ENV): Likewise.
8387 (bug-strcoll1-ENV): Likewise.
8388 (test-strcasecmp-ENV): Likewise.
8389 (test-strncasecmp-ENV): Likewise.
8390 * time/Makefile (tst-strptime-ENV): Likewise.
8391 (tst-ftime_l-ENV): Likewise.
8392 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8393 (tst-mbrtowc-ENV): Likewise.
8394 (tst-wcrtomb-ENV): Likewise.
8395 (tst-mbrtowc2-ENV): Likewise.
8396 (tst-c16c32-1-ENV): Likewise.
8397 (tst-mbsnrtowcs-ENV): Likewise.
8398
8399 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8400
8401 * manual/resource.texi (How to get information about the memory
8402 subsystem?): Fix typo.
8403 Reported by Peon de la Parra Ivan <peon@keba.com>
8404
8405 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8406
8407 [BZ #16882]
8408 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8409 (pthread_spin_lock): Branch out of spin loop to proper location.
8410 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8411 (pthread_spin_lock): Likewise.
8412
8413 * nptl/tst-spin4.c: New test.
8414 * nptl/Makefile (tests): Add tst-spin4.
8415
8416 2014-06-03 Andreas Schwab <schwab@suse.de>
8417
8418 [BZ #15946]
8419 * resolv/res_send.c (send_dg): Reload file descriptor after
8420 calling reopen.
8421
8422 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8423
8424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8425
8426 2014-06-03 Richard Henderson <rth@redhat.com>
8427
8428 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8429 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8430 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8431 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8432 in the SAVE_PID block.
8433 (__libc_vfork): New alias.
8434 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8435
8436 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8437 child in registers, not on the stack. Remove RESET_PID conditionals.
8438 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8439
8440 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8441
8442 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8443
8444 2014-06-03 Wilco <wdijkstr@arm.com>
8445
8446 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8447 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8448 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8449 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8450 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8451 Likewise.
8452
8453 2014-06-03 Wilco <wdijkstr@arm.com>
8454
8455 * sysdeps/aarch64/fpu/math_private.h
8456 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8457 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8458 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8459 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8460 Fix declarations.
8461
8462 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8463
8464 * crypt/crypt-private.h: Include ufc-crypt.h.
8465 (__b64_from_24bit): Declare extern.
8466 * crypt/crypt_util.c(__b64_from_24bit): New function.
8467 (b64t): New static const variable.
8468 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8469 (b64t): Remove variable.
8470 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8471 * crypt/sha256-crypt.c: Include crypt-private.h.
8472 (b64t): Remove variable.
8473 (__sha256_crypt_r): Remove b64_from_24bit and replace
8474 with __b64_from_24bit.
8475 * crypt/sha512-crypt.c: Likewise.
8476
8477 2014-06-02 Roland McGrath <roland@hack.frob.com>
8478
8479 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8480 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8481 Label the code __libc_vfork rather than __vfork.
8482 [!NOT_IN_libc] (vfork): Define as weak alias.
8483 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8484 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8485 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8486
8487 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8488
8489 * malloc/malloc.c (malloc_info): Fix format specifier for
8490 n_mmaps.
8491
8492 2014-06-02 Wilco <wdijkstr@arm.com>
8493
8494 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8495 FPCR write.
8496
8497 2014-06-02 Wilco <wdijkstr@arm.com>
8498
8499 [BZ #17009]
8500 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8501 Rewrite to reduce FPCR/FPSR accesses.
8502
8503 2014-06-01 David S. Miller <davem@davemloft.net>
8504
8505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8506
8507 2014-05-31 David S. Miller <davem@davemloft.net>
8508
8509 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8510 to occur in round to nearest mode when |x| >= 2.0
8511
8512 2014-05-30 Richard Henderson <rth@twiddle.net>
8513
8514 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8515 (PSEUDO_RET_NOERRNO): Remove.
8516 (ret): Don't redefine.
8517 (ret_NOERRNO): Define in terms of ret.
8518 (ret_ERRVAL): Likewise.
8519
8520 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8521 use of PSEUDO_RET; perform the error check directly.
8522
8523 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8524
8525 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8526 with __int128_t.
8527
8528 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8529
8530 * malloc/malloc (malloc_info): Fix formatting.
8531
8532 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8533 Roland McGrath <roland@hack.frob.com>
8534
8535 * malloc/malloc (malloc_info): Also print mmapped statistics.
8536
8537 2014-05-30 Roland McGrath <roland@hack.frob.com>
8538
8539 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8540 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8541
8542 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8543
8544 * malloc/malloc.c (malloc_info): Inline mi_arena.
8545
8546 2014-05-29 Richard Henderson <rth@twiddle.net>
8547
8548 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8549 Remove comma before expanding ASM_ARGS_##nr.
8550 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8551 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8552 of ASM_ARGS_##nr.
8553 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8554 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8555 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8556 (ASM_ARGS_1): Add leading comma.
8557
8558 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8559 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8560 to __errno_location.
8561 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8562 Remove the expected plt for __errno_location.
8563
8564 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8565 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8566 call to __read_tp.
8567
8568 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8569 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8570 it and break it down.
8571 (DOCARGS_0, DOCARGS_1): Do nothing.
8572 (DOCARGS_2): Update to store into the new stack frame.
8573 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8574 (UNDOCARGS_1): Update to restore from the new stack frame.
8575 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8576 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8577
8578 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8579 (SINGLE_THREAD_P): New parameter for result regno.
8580 (PSEUDO): Update to match; use cbz instead of beq.
8581
8582 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8583 Use ENTRY to define the _nocancel entry point. Share the syscall
8584 and syscall error check paths with the cancel path.
8585 (PSEUDO_END): New.
8586
8587 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8588 whitespace; tabs before and after asm mnemonics.
8589
8590 2014-05-29 Eric Wong <normalperson@yhbt.net>
8591
8592 [BZ #15132]
8593 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8594 Call fstat64 or stat64 internally, depending on arguments passed.
8595 Replace stat buffer argument with file descriptor argument.
8596 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8597 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8598 Pass fd to __internal_statvfs instead of calling fstat64.
8599 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8600 Pass fd to __internal_statvfs64 instead of calling fstat64.
8601 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8602 Pass -1 to __internal_statvfs instead of calling stat64.
8603 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8604 Pass -1 to __internal_statvfs64 instead of calling stat64.
8605
8606 2014-05-28 Roland McGrath <roland@hack.frob.com>
8607
8608 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8609 that was previously under [RESET_PID].
8610 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8611
8612 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8613 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8614
8615 2014-05-27 Roland McGrath <roland@hack.frob.com>
8616
8617 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8618
8619 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8620 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8621
8622 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
8623
8624 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8625
8626 2014-05-27 Andreas Schwab <schwab@suse.de>
8627
8628 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8629 TLS_INIT_TP macro.
8630 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8631 * elf/rtld.c (init_tls, dl_main): Likewise.
8632 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8633 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8634 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8635 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8636 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8637 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8638 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8639 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8640 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8641 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8642 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8643 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8644 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8645 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8646 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8647 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8648 * sysdeps/generic/tls.h: Update description.
8649
8650 2014-05-27 Will Newton <will.newton@linaro.org>
8651
8652 [BZ #16990]
8653 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8654 and restore r2 rather than just restoring.
8655
8656 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8657
8658 [BZ #16724]
8659 * libio/tst-ftell-append.c: New test case.
8660 * libio/Makefile (tests): Add test case.
8661 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8662 append mode.
8663 * libio/wfileops.c (do_ftell_wide): Likewise.
8664
8665 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8666
8667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8668
8669 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8670 ...
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8673 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8674 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8675 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8676 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8677 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8678 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8680 Moved ...
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8683 Moved ...
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8685 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8686 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8687 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8688 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8689 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8690 ...
8691 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8692 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8693 Moved ...
8694 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8695 here.
8696 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8697 ...
8698 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8699 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8700 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8701
8702 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8703 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8704 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8705 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8706
8707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8708 merge into ...
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8711 ...
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8714 ...
8715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8717 Moved ...
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8719 here.
8720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8721 Moved ...
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8724 Moved ...
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8726
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8728 conditional [RESET_PID].
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8730 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8731 removed.
8732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8733 removed.
8734
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8736 <tcb-offsets.h>.
8737 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8738 (__libc_vfork): New strong alias.
8739 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8740 removed.
8741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8742 Removed.
8743
8744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8745 <tcb-offsets.h>.
8746 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8747 (__libc_vfork): New strong alias.
8748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8749 removed.
8750 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8751 removed.
8752
8753 2014-05-26 Carlos O'Donell <carlos@redhat.com>
8754
8755 * malloc/malloc.c (mi_arena): New function.
8756 (malloc_info): Remove nested function mi_arena. Call non-nosted
8757 function mi_arena.
8758
8759 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8760
8761 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8762 by insrwi.
8763 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8764 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8765 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8766 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8767 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8768 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8769 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8770
8771 2014-05-26 Andreas Schwab <schwab@suse.de>
8772
8773 [BZ #16984]
8774 * locale/programs/repertoire.c (repertoire_read): Add slash
8775 between I18NPATH element and file name.
8776 * locale/programs/locfile.c (locfile_read): Likewise.
8777
8778 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8779
8780 * nptl/pthread_mutexattr_settype.c
8781 (__pthread_mutexattr_settype):
8782 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8783
8784 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8785
8786 * nptl/tst-mutex5 (do_test):
8787 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8788
8789 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8790
8791 * benchtests/README: Document 'init' directive.
8792 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8793 BENCH_INIT.
8794 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8795 (parse_file): Recognize 'init' directive.
8796
8797 2014-05-26 Kyle McMartin <kyle@redhat.com>
8798
8799 [BZ #16796]
8800 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8801 alignment of struct pthread.
8802
8803 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8804
8805 [BZ #16878]
8806 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8807 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8808 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8809 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8810
8811 2014-05-25 Richard Henderson <rth@twiddle.net>
8812
8813 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8814 (SINGLE_THREAD_P_PIC): Remove.
8815 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8816 (SINGLE_THREAD_P_PIC): Remove.
8817
8818 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8819 branch to syscall error ...
8820 (PSEUDO): ... here.
8821 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8822 from __local_syscall_error to .Lsyscall_error.
8823 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8824 (SYSCALL_ERROR): Update label name.
8825
8826 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8827 Do not use DOARGS/UNDOARGS.
8828 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8829 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8830 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8831 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8832 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8833
8834 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8835 block comment.
8836
8837 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8838 define if !NOT_IN_libc.
8839 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8840 define with non-default symbol versions.
8841
8842 2014-05-23 Richard Henderson <rth@twiddle.net>
8843
8844 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8845 (vfork, __vfork): Define via compat_symbol.
8846
8847 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8848 [!HAVE_IFUNC] (vfork_compat): Remove.
8849 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8850
8851 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8852
8853 [BZ #16978]
8854 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8855 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8856 variable.
8857
8858 2014-05-23 Richard Henderson <rth@twiddle.net>
8859
8860 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8861 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8862 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8863 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8864
8865 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8866 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8867 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8868 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8869 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8870 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8871 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8872 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8873 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8874 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8875 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8876 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8877 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8878 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8879 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8880 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8881 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8882 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8883 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8884 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8885 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8886 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8887 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8888 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8889 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8890 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8891 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8892 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8893 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8894 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8895 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8896 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8897 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8898 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8899 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8900 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8901 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8904 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8905 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8906 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8907 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8908 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8909 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8910 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8911 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8912 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8913 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8914 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8915 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8916 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8917 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8918 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8920 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8921
8922 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8923 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8924 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8925 before exiting on error.
8926 (__libc_vfork): New strong alias.
8927 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8928 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8929
8930 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8931 that was previously under [RESET_PID].
8932 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8933
8934 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8935
8936 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8937
8938 [BZ #16977]
8939 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8940 value when x - 1 is zero.
8941 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8942 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8943 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8944 0.0L for an argument of 1.0L.
8945 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8946 Likewise.
8947 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8948 value when x - 1 is zero.
8949 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8950 * sysdeps/i386/fpu/libm-test-ulps: Update.
8951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8952
8953 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8954
8955 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8956 alphasort and versionsort.
8957
8958 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8959
8960 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8961 macro.
8962 [copysignf]: Likewise.
8963
8964 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8965
8966 * crypt/md5-crypt.c: Fix formatting.
8967
8968 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8969
8970 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8971 (b64_from_24bit): New function.
8972
8973 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8974
8975 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8976 libc_hidden_builtin_def to ifunc.
8977 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8978 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8979
8980 2014-05-21 Roland McGrath <roland@hack.frob.com>
8981
8982 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8983 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8984
8985 2014-05-21 Joseph Myers <joseph@codesourcery.com>
8986
8987 * nscd/Depend (linuxthreads): Remove.
8988 (nptl): Add.
8989 * resolv/Depend (linuxthreads): Remove.
8990 * rt/Depend (linuxthreads): Remove.
8991
8992 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8993 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8994 $(common-objpfx)elf/.
8995 (link-libc-before-gnulib): Likewise.
8996 (elfobjdir): Remove variable.
8997 * Makefile (install): Use $(elf-objpfx) instead of
8998 $(common-objpfx)elf/.
8999 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9000 $(elfobjdir)/.
9001 (link-libc-deps): Likewise.
9002 ($(common-objpfx)libc.so): Likewise.
9003 ($(common-objpfx)linkobj/libc.so): Likewise.
9004 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9005 instead of $(common-objpfx)elf/.
9006 (symbolic-link-list): Likewise.
9007 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9008 [$(cross-compiling) = no]: Likewise.
9009 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9010 $(elfobjdir)/.
9011 (static-gnulib-arch): Likewise.
9012 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9013 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9014 $(common-objpfx)elf/.
9015
9016 2014-05-21 Richard Henderson <rth@redhat.com>
9017
9018 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9019 (SINGLE_THREAD_P): Use the correct width load. Fold
9020 into the ldr offset.
9021
9022 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9023 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9024
9025 2014-05-20 Joseph Myers <joseph@codesourcery.com>
9026
9027 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9028 (libgcc_s_resume): Use __attribute_used__.
9029 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9030 Likewise.
9031
9032 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9033
9034 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9035 optimization when used with float constants.
9036
9037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9038
9039 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9040
9041 [BZ #16915]
9042 * locale/nl_langinfo_l.c: Make direct reference to every
9043 _nl_current_CATEGORY symbol.
9044 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9045 (tests-static): Add tst-langinfo-static.
9046 (tests-special): Add tst-langinfo-static.out.
9047 ($(objpfx)tst-langinfo.out): Redirect output.
9048 ($(objpfx)tst-langinfo-static.out): New.
9049 * localedata/tst-langinfo.sh: Send output to stdout.
9050 * localedata/tst-langinfo-static.c: New file.
9051
9052 [BZ #16965]
9053 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9054 when the shift amount is modulo the limb size.
9055
9056 2014-05-20 Richard Henderson <rth@redhat.com>
9057
9058 [BZ #16967]
9059 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9060 Change type of sa_flags from unsigned int to int.
9061
9062 [BZ #16966]
9063 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9064
9065 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9066
9067 2014-05-20 Will Newton <will.newton@linaro.org>
9068
9069 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9070 Test the return value of the system call in the nocancel case.
9071
9072 2014-05-20 Will Newton <will.newton@linaro.org>
9073 Yvan Roux <yvan.roux@linaro.org>
9074
9075 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9076 #include of asm/ptrace.h.
9077 (PTRACE_GET_THREAD_AREA): Remove #undef.
9078 (PTRACE_GETHBPREGS): Likewise.
9079 (PTRACE_SETHBPREGS): Likewise.
9080 (struct user_regs_struct): New structure.
9081 (struct user_fpsimd_struct): New structure.
9082 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9083 #include of asm/ptrace.h and second #include of sys/user.h.
9084 (PTRACE_GET_THREAD_AREA): Remove #undef.
9085 (PTRACE_GETHBPREGS): Likewise.
9086 (PTRACE_SETHBPREGS): Likewise.
9087 (ELF_NGREG): Use new struct user_regs_struct.
9088 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9089
9090 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9091
9092 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9094
9095 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9096
9097 [BZ #16958]
9098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9099 membar to avoid block loads/stores to overlap previous stores.
9100
9101 2014-05-17 Richard Henderson <rth@redhat.com>
9102
9103 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9104 Create the __##syscall_name##_nocancel entry point.
9105 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9106 Remove; let the sysdep-cancel.h code create it.
9107
9108 2014-05-17 David S. Miller <davem@davemloft.net>
9109
9110 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9111 Protect with __USE_GNU.
9112 (TIOCSET_TEMPT): Likewise.
9113 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9114 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9115 these are already provided in bits/ioctl-types.h
9116
9117 2014-05-16 Roland McGrath <roland@hack.frob.com>
9118
9119 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9120 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9121
9122 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9123 Use wait4 regardless of [__NR_waitpid].
9124
9125 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9126
9127 PR libgcc/60166
9128 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9129 (_FP_NANSIGN_Q): Set the quiet bit.
9130
9131 2014-05-16 Joseph Myers <joseph@codesourcery.com>
9132
9133 * benchtests/Makefile
9134 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9135 not $(common-objpfx)math/libm.so.
9136 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9137 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9138 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9139 $(common-objpfx)dlfcn/libdl.so.
9140 ($(objpfx)tst-audit8): Depend on $(libm), not
9141 $(common-objpfx)math/libm.so.
9142 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9143 not $(common-objpfx)dlfcn/libdl.so.
9144 * math/Makefile
9145 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9146 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9147 [$(build-shared) = yes].
9148 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9149 $(common-objpfx)nptl/libpthread.so.
9150 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9151 $(common-objpfx)math/libm.so$(libm.so-version) or
9152 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9153 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9154 $(common-objpfx)dlfcn/libdl.so.
9155 * setjmp/Makefile (link-libm): Remove variable.
9156 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9157 * stdio-common/Makefile (link-libm): Remove variable.
9158 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9159 * stdlib/Makefile (link-libm): Remove variable.
9160 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9161 ($(objpfx)tst-strtod-round): Likewise.
9162 ($(objpfx)tst-tininess): Likewise.
9163 ($(objpfx)tst-strtod-underflow): Likewise.
9164 ($(objpfx)tst-strtod6): Likewise.
9165 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9166 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9167 $(common-objpfx)dlfcn/libdl.so.
9168
9169 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9170
9171 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9172 BSD terminal modes definitions.
9173
9174 2014-05-16 Roland McGrath <roland@hack.frob.com>
9175
9176 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9177 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9178
9179 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9180 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9181 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9182 Don't do #include_next.
9183 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9184 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9185 Don't do #include_next.
9186 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9187 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9188 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9189 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9190
9191 2014-05-16 Allan McRae <allan@archlinux.org>
9192
9193 * po/sv.po: Update Swedish translation from translation project.
9194
9195 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9196 in sed expression.
9197
9198 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9199
9200 [BZ #16917]
9201 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9202 errno if the TIOCGPTN ioctl fails with an error different than
9203 EINVAL.
9204 * login/tst-ptsname.c: New file.
9205 * login/Makefile (tests): Add tst-ptsname.
9206
9207 [BZ #16943]
9208 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9209 and prlimit64.
9210
9211 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9212
9213 [BZ #16849]
9214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9215 herrno to return EAI_AGAIN.
9216
9217 2014-05-14 Roland McGrath <roland@hack.frob.com>
9218
9219 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9220 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9221 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9222 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9223 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9224 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9225 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9226 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9228 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9229 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9230 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9232 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9234 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9235 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9236 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9237 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9239 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9240 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9242 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9243 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9244 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9245 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9246 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9247 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9248 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9250 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9252 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9254 Moved ...
9255 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9259 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9263 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9267 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9269 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9271 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9275 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9277 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9279 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9281 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9283 Moved ...
9284 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9286 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9288 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9290 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9292 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9294 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9296 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9298 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9300 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9302 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9304 Moved ...
9305 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9307 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9308
9309 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9310 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9311 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9312 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9313 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9315 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9316 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9317 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9318 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9319 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9321 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9323 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9325 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9326 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9327 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9329 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9331 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9333 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9335 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9337 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9338 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9339 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9340
9341 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9342 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9343
9344 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9345 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9346 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9348 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9350 Moved ...
9351 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9352 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9353 Moved ...
9354 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9355 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9356 Moved ...
9357 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9359 Moved ...
9360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9361 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9362 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9364 Moved ...
9365 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9366 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9367 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9369 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9371 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9373 Moved ...
9374 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9375 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9376 Moved ...
9377 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9378 ... here.
9379 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9380 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9381 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9382 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9384 Moved ...
9385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9386 ... here.
9387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9388 Moved ...
9389 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9391 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9393 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9394 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9395 Moved ...
9396 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9397 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9398 Moved ...
9399 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9400 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9401 Moved ...
9402 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9404 Moved ...
9405 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9406 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9407 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9409 Moved ...
9410 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9411 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9412 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9414 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9415 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9416 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9418 Moved ...
9419 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9420 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9421 Moved ...
9422 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9423 ... here.
9424 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9425 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9426 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9427 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9429 Moved ...
9430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9431 ... here.
9432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9433 Moved ...
9434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9435 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9436 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9437 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9438 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9440 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9442 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9444 Moved ...
9445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9446 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9447 Moved ...
9448 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9450 Moved ...
9451 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9452 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9453 Moved ...
9454 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9455 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9456 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9458 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9460 Moved ...
9461 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9462 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9463 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9465 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9466 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9467 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9469 Moved ...
9470 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9472 Moved ...
9473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9474 ... here.
9475 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9476 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9477 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9478 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9479 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9480 Moved ...
9481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9482 ... here.
9483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9484 Moved ...
9485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9486 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9487 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9488 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9489 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9490 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9491 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9492 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9493 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9494 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9495 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9496
9497 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9498 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9499
9500 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9501 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9502
9503 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9504 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9505 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9506 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9507 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9508 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9509 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9510 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9511 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9512 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9513 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9514 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9515 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9516 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9517 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9519 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9520 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9521 Moved ...
9522 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9524 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9526 Moved ...
9527 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9529 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9531 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9533 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9535 Moved ...
9536 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9538 Moved ...
9539 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9543 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9545 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9546 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9547 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9548 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9549 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9551 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9553 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9555 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9556
9557 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9558 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9559 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9560 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9561 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9562
9563 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9564 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9565 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9566 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9567 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9568 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9569 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9570 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9571 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9572 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9573
9574 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9575 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9576
9577 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9578 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9579 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9580 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9581 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9582 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9583 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9584 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9585 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9586 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9587 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9588 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9589 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9590 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9591 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9592 Update #include.
9593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9594 Likewise.
9595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9596 Likewise.
9597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9598 Likewise.
9599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9600 Likewise.
9601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9602 Likewise.
9603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9604 Likewise.
9605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9606 Likewise.
9607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9608 Likewise.
9609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9610 Likewise.
9611 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9612 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9613 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9614 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9615 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9616 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9617 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9618 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9619 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9620 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9621 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9622 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9623 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9624 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9625 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
9626
9627 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9628 that was previously under [RESET_PID].
9629 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9630 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9631 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9632
9633 * sysdeps/i386/nptl/Implies: New file.
9634 * sysdeps/x86_64/nptl/Implies: New file.
9635 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9636 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9637 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9638 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9639
9640 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9641 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9642 (__libc_vfork): New strong alias.
9643 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9644 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9645
9646 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9647 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9648 (__libc_vfork): New strong alias.
9649 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9650 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9651
9652 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9653 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9654 (__libc_vfork): New strong alias.
9655 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9656 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9657 * nptl/pt-vfork.c: New file.
9658 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9659 (libpthread: GLIBC_2.20): New version set (empty).
9660
9661 2014-05-14 Will Newton <will.newton@linaro.org>
9662
9663 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9664 rather than #if.
9665
9666 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9667
9668 [BZ #16564]
9669 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9670 arguments with exponent 65 or above.
9671 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9672 arguments 0x1p113L or above.
9673 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9674 to arguments 0x1p107L or above.
9675 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9676 positive arguments with exponent 65 or above.
9677 * math/auto-libm-test-in: Add more tests of log1p.
9678 * math/auto-libm-test-out: Regenerated.
9679
9680 [BZ #16928]
9681 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9682 non-finite arguments is +0.
9683 * math/s_cacosf.c (__cacosf): Likewise.
9684 * math/s_cacosl.c (__cacosl): Likewise.
9685 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9686 * sysdeps/i386/fpu/libm-test-ulps: Update.
9687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9688
9689 [BZ #16927]
9690 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9691 value.
9692 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9693 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9694 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9695 for explicit high bit of mantissa when testing for argument equal
9696 to 1.
9697 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9698 * sysdeps/i386/fpu/libm-test-ulps: Update.
9699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9700
9701 [BZ #16516]
9702 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9703 (__erf): Scale by 16 instead of 8 in potentially underflowing
9704 case. Ensure exception if result actually underflows.
9705 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9706 (__erff): Scale by 16 instead of 8 in potentially underflowing
9707 case. Ensure exception if result actually underflows.
9708 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9709 (efx8): Remove variable.
9710 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9711 case. Ensure exception if result actually underflows.
9712 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9713 (efx8): Remove variable.
9714 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9715 case. Ensure exception if result actually underflows.
9716 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9717 (efx8): Remove variable.
9718 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9719 case. Ensure exception if result actually underflows.
9720 * math/auto-libm-test-in: Add more tests of erf.
9721 * math/auto-libm-test-out: Regenerated.
9722
9723 2014-05-14 Andreas Schwab <schwab@suse.de>
9724
9725 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9726 Remove code conditionalized on USE___THREAD.
9727
9728 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9729 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9730 not definedness.
9731
9732 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9733
9734 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9735 Define unconditionally.
9736 (__ASSUME_O_CLOEXEC): Likewise.
9737 (__ASSUME_SOCK_CLOEXEC): Likewise.
9738 (__ASSUME_IN_NONBLOCK): Likewise.
9739 (__ASSUME_PIPE2): Likewise.
9740 (__ASSUME_EVENTFD2): Likewise.
9741 (__ASSUME_SIGNALFD4): Likewise.
9742 (__ASSUME_DUP3): Likewise.
9743 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9744 (__ASSUME_DUP3): Do not define.
9745 (__ASSUME_EVENTFD2): Likewise.
9746 (__ASSUME_IN_NONBLOCK): Likewise.
9747 (__ASSUME_O_CLOEXEC): Likewise.
9748 (__ASSUME_PIPE2): Likewise.
9749 (__ASSUME_SIGNALFD4): Likewise.
9750 (__ASSUME_SOCK_CLOEXEC): Likewise.
9751 (__ASSUME_UTIMES): Undefine.
9752 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9753 (__ASSUME_UTIMES): Do not define.
9754 (__ASSUME_O_CLOEXEC): Likewise.
9755 (__ASSUME_SOCK_CLOEXEC): Likewise.
9756 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9757 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9758 0x020621].
9759 (__ASSUME_PIPE2): Likewise.
9760 (__ASSUME_EVENTFD2): Likewise.
9761 (__ASSUME_SIGNALFD4): Likewise.
9762 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9763 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9764 Do not define.
9765 (__ASSUME_EVENTFD2): Likewise.
9766 (__ASSUME_SIGNALFD4): Likewise.
9767 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9768 (__ASSUME_32BITUIDS): Likewise.
9769 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9770 (__ASSUME_IPC64): Likewise.
9771 (__ASSUME_ST_INO_64_BIT): Likewise.
9772 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9773 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9774 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9775 (__ASSUME_UTIMES): Do not define.
9776 (__ASSUME_PSELECT): Likewise.
9777 (__ASSUME_PPOLL): Likewise.
9778 (__ASSUME_O_CLOEXEC): Likewise.
9779 (__ASSUME_SOCK_CLOEXEC): Likewise.
9780 (__ASSUME_IN_NONBLOCK): Likewise.
9781 (__ASSUME_PIPE2): Likewise.
9782 (__ASSUME_EVENTFD2): Likewise.
9783 (__ASSUME_SIGNALFD4): Likewise.
9784 (__ASSUME_DUP3): Likewise.
9785 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9786 (__ASSUME_UTIMES): Likewise.
9787 (__ASSUME_O_CLOEXEC): Likewise.
9788 (__ASSUME_SOCK_CLOEXEC): Likewise.
9789 (__ASSUME_IN_NONBLOCK): Likewise.
9790 (__ASSUME_PIPE2): Likewise.
9791 (__ASSUME_EVENTFD2): Likewise.
9792 (__ASSUME_SIGNALFD4): Likewise.
9793 (__ASSUME_DUP3): Likewise.
9794 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9795 (__ASSUME_UTIMES): Likewise.
9796 (__ASSUME_O_CLOEXEC): Likewise.
9797 (__ASSUME_SOCK_CLOEXEC): Likewise.
9798 (__ASSUME_IN_NONBLOCK): Likewise.
9799 (__ASSUME_PIPE2): Likewise.
9800 (__ASSUME_EVENTFD2): Likewise.
9801 (__ASSUME_SIGNALFD4): Likewise.
9802 (__ASSUME_DUP3): Likewise.
9803 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9804 Likewise.
9805 (__ASSUME_UTIMES): Likewise.
9806 (__ASSUME_EVENTFD2): Likewise.
9807 (__ASSUME_SIGNALFD4): Likewise.
9808 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9809 (__ASSUME_O_CLOEXEC): Likewise.
9810 (__ASSUME_SOCK_CLOEXEC): Likewise.
9811 (__ASSUME_IN_NONBLOCK): Likewise.
9812 (__ASSUME_PIPE2): Likewise.
9813 (__ASSUME_EVENTFD2): Likewise.
9814 (__ASSUME_SIGNALFD4): Likewise.
9815 (__ASSUME_DUP3): Likewise.
9816 (__ASSUME_UTIMES): Undefine.
9817
9818 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9819 feclearexcept. Remove symbol versioning code.
9820 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9821 symbol versioning code.
9822 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9823 symbol versioning code.
9824 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9825 feupdateenv. Remove symbol versioning code.
9826 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9827 fegetexceptflag. Remove symbol versioning code.
9828 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9829 fesetexceptflag. Remove symbol versioning code.
9830 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9831 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9832 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9833 (__posix_fadvise64_l32): Remove prototype.
9834 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9835 code.
9836
9837 2014-05-13 Roland McGrath <roland@hack.frob.com>
9838
9839 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9840 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9841 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9842 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9843
9844 2014-05-13 Sami Kerola <kerolasa@iki.fi>
9845
9846 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9847 current working directory
9848
9849 2014-05-13 Roland McGrath <roland@hack.frob.com>
9850
9851 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9852 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9853 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9854 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9855 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9856 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9857 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9884 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9885 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9886 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9887 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9888 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9889 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9890 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9891 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9892 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9893
9894 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9895 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9896
9897 * sysdeps/unix/sysv/linux/arm/Makefile
9898 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9899 Add rt-aeabi_unwind_cpp_pr1.
9900 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9901 Add nptl-aeabi_unwind_cpp_pr1.
9902 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9903 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9904 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9905 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9906 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9907 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9908
9909 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9910 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9911 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9912 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9913
9914 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9915 Deconditionalize the code that was previously under [RESET_PID].
9916 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9917
9918 * sysdeps/generic/exit-thread.h: New file.
9919 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9920 * include/unistd.h (__exit_thread): Remove declaration.
9921 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9922 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9923 * csu/libc-start.c: Include <exit-thread.h>.
9924 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9925 * nptl/pthread_create.c: Include <exit-thread.h>.
9926 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9927 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9928 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9929 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9930 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9931 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9932 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9933 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9934 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9935 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9936 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9937 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9938 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9939 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9940 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9941 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9942 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9943
9944 2014-05-13 Andreas Schwab <schwab@suse.de>
9945
9946 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9947
9948 2014-05-12 Joseph Myers <joseph@codesourcery.com>
9949
9950 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9951 (__ASSUME_UTIMES): Do not condition on kernel version.
9952 (__ASSUME_PSELECT): Define unconditionally.
9953 (__ASSUME_PPOLL): Likewise.
9954 (__ASSUME_ATFCTS): Likewise.
9955 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9956 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9957 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9958 (__ASSUME_UTIMENSAT): Define unconditionally.
9959 (__ASSUME_PRIVATE_FUTEX): Likewise.
9960 (__ASSUME_FALLOCATE): Likewise.
9961 (__ASSUME_O_CLOEXEC): Likewise.
9962 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9963 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9964 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9965 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9966 (__ASSUME_IN_NONBLOCK): Likewise.
9967 (__ASSUME_PIPE2): Likewise.
9968 (__ASSUME_EVENTFD2): Likewise.
9969 (__ASSUME_SIGNALFD4): Likewise.
9970 (__ASSUME_DUP3): Likewise.
9971 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9972 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9973 (__ASSUME_AT_RANDOM): Likewise.
9974 (__ASSUME_PREADV): Likewise.
9975 (__ASSUME_PWRITEV): Likewise.
9976 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9977 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9978 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9980 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9981 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9982 (__ASSUME_O_CLOEXEC): Define unconditionally.
9983 (__ASSUME_PSELECT): Do not undefine conditionally.
9984 (__ASSUME_PPOLL): Likewise.
9985 (__ASSUME_ATFCTS): Likewise.
9986 (__ASSUME_SET_ROBUST_LIST): Likewise.
9987 (__ASSUME_UTIMENSAT): Likewise.
9988 (__ASSUME_FDATASYNC): Define unconditionally.
9989 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9990 (__ASSUME_SIGFRAME_V2): Likewise.
9991 )__ASSUME_EVENTFD2): Likewise.
9992 (__ASSUME_SIGNALFD4): Likewise.
9993 (__ASSUME_PSELECT): Do not undefine conditionally.
9994 (__ASSUME_PPOLL): Likewise.
9995 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9996 (__ASSUME_PSELECT): Define unconditionally.
9997 (__ASSUME_PPOLL): Likewise.
9998 (__ASSUME_O_CLOEXEC): Likewise.
9999 (__ASSUME_SOCK_CLOEXEC): Likewise.
10000 (__ASSUME_IN_NONBLOCK): Likewise.
10001 (__ASSUME_PIPE2): Likewise.
10002 (__ASSUME_EVENTFD2): Likewise.
10003 (__ASSUME_SIGNALFD4): Likewise.
10004 (__ASSUME_DUP3): Likewise.
10005 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10006 (__ASSUME_O_CLOEXEC): Likewise.
10007 (__ASSUME_SOCK_CLOEXEC): Likewise.
10008 (__ASSUME_IN_NONBLOCK): Likewise.
10009 (__ASSUME_PIPE2): Likewise.
10010 (__ASSUME_EVENTFD2): Likewise.
10011 (__ASSUME_SIGNALFD4): Likewise.
10012 (__ASSUME_DUP3): Likewise.
10013 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10014 (__ASSUME_EVENTFD2): Likewise.
10015 (__ASSUME_SIGNALFD4): Likewise.
10016 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10017
10018 2014-05-12 Andreas Schwab <schwab@suse.de>
10019
10020 [BZ #16932]
10021 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10022 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10023 than maximum RPC packet size.
10024 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10025 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10026 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10027 (_nss_nis_getservbyport_r): Likewise.
10028
10029 2014-05-12 Will Newton <will.newton@linaro.org>
10030
10031 * malloc/Makefile (tests): Add tst-mallopt.
10032 * malloc/tst-mallopt.c: New file.
10033
10034 2014-05-09 Roland McGrath <roland@hack.frob.com>
10035
10036 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10037 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10038
10039 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10040
10041 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10042 (tst-tlsmod6.so): Likewise.
10043
10044 2014-05-09 Roland McGrath <roland@hack.frob.com>
10045
10046 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10047
10048 2014-05-09 Joseph Myers <joseph@codesourcery.com>
10049
10050 [BZ #16064]
10051 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10052 and <dl-procinfo.h>.
10053 (__fegetenv): Save SSE state in envp->__eip if supported.
10054 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10055 envp->__eip if supported.
10056 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10057 and <dl-procinfo.h>.
10058 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10059 __data_offset and __data_selector in environment to 0. Set SSE
10060 state if supported.
10061 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10062 test-fenv-sse.
10063 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10064 -mfpmath=sse.
10065 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10066
10067 2014-05-09 Will Newton <will.newton@linaro.org>
10068
10069 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10070 and libc_relro_required for ARM.
10071 * sysdeps/arm/preconfigure: Regenerate.
10072
10073 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10074 Stefan Liebler <stli@linux.vnet.ibm.com>
10075
10076 * config.make.in (enable-lock-elision): New Makefile variable.
10077 * configure.ac: Likewise.
10078 * configure: Regenerate.
10079 * sysdeps/s390/configure.ac:
10080 Add check for gcc transactions support.
10081 * sysdeps/s390/configure: Regenerate.
10082 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10083 Build elision files if enabled.
10084 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10085 Add lock elision support for s390.
10086 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10087 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10088 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10089 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10090 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10091 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10092 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10093 Likewise.
10094 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10095 Likewise.
10096 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10097 Likewise.
10098 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10099 Likewise.
10100 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10101 (__lll_timedlock_elision, __lll_lock_elision)
10102 (__lll_unlock_elision, __lll_trylock_elision)
10103 (lll_timedlock_elision, lll_lock_elision)
10104 (lll_unlock_elision, lll_trylock_elision): Add.
10105 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10106 (pthread_mutex_t): Add lock elision support for s390.
10107
10108 2014-05-14 Wilco <wdijkstr@arm.com>
10109
10110 * sysdeps/arm/fclrexcpt.c: Cleanup.
10111 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10112 * sysdeps/arm/feenablxcpt.c: Cleanup.
10113 * sysdeps/arm/fegetenv.c: Cleanup.
10114 * sysdeps/arm/fegetexcept.c: Cleanup.
10115 * sysdeps/arm/fegetround.c: Cleanup.
10116 * sysdeps/arm/feholdexcpt.c: Cleanup.
10117 * sysdeps/arm/fesetenv.c: Cleanup.
10118 * sysdeps/arm/fesetround.c: Cleanup.
10119 * sysdeps/arm/feupdateenv.c: Cleanup.
10120 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10121 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10122 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10123 * sysdeps/arm/ftestexcept.c: Cleanup.
10124 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10125 * sysdeps/arm/setfpucw.c: Cleanup.
10126
10127 2014-05-09 Will Newton <will.newton@linaro.org>
10128
10129 * sysdeps/arm/armv7/strcmp.S: New file.
10130 * NEWS: Mention addition of ARMv7 optimized strcmp.
10131
10132 2014-05-08 Roland McGrath <roland@hack.frob.com>
10133
10134 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10135 look for %.ac rather than %.in.
10136
10137 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10138 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10139 * sysdeps/mach/hurd/configure: Regenerated.
10140 * sysdeps/unix/sysv/linux/configure: Regenerated.
10141
10142 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10143
10144 2014-05-07 Steve Ellcey <sellcey@mips.com>
10145
10146 [BZ# 16922]
10147 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10148 (LONG_SUB): Ditto.
10149 (PTR_SUB): Ditto.
10150
10151 2014-05-07 Andreas Schwab <schwab@suse.de>
10152
10153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10154 when skipping over non-matching result from nscd.
10155
10156 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10157
10158 [BZ #16876]
10159 * nptl/sockperf.c (client): Check socket return value.
10160
10161 [BZ #16877]
10162 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10163 nscd security class.
10164
10165 2014-05-06 Roland McGrath <roland@hack.frob.com>
10166
10167 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10168 * sysdeps/arm/unwind.h: ... here.
10169
10170 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10171
10172 [BZ# 16916]
10173 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10174 Define.
10175
10176 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10177
10178 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10179 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10180 multiarch strncpy for PPC64.
10181 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10182 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10184 multiarch optimizations.
10185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10186 (__libc_ifunc_impl_list): Likewise.
10187 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10188 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10189 multiarch stpncpy for PPC64.
10190 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10191 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10192
10193 2014-05-06 Andreas Schwab <schwab@suse.de>
10194
10195 [BZ #16912]
10196 * gmon/mcount.c (_MCOUNT_DECL): Use
10197 atomic_compare_and_exchange_bool_acq instead of
10198 catomic_compare_and_exchange_bool_acq.
10199
10200 2014-05-05 Roland McGrath <roland@hack.frob.com>
10201
10202 * elf/Makefile (others, install-bin): Remove pldd.
10203 (pldd-modules): Variable removed.
10204 ($(objpfx)pldd): Target removed.
10205 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10206 (others, install-bin): Append pldd here.
10207 ($(objpfx)pldd): New target.
10208
10209 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10210 to 0, so the first #if test emitted later doesn't see it undefined.
10211 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10212 * sysdeps/gnu/errlist.c: Regenerated.
10213
10214 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10215
10216 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10217 [libc_hidden_builtin_def]: Define to empty value.
10218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10219 [libc_hidden_builtin_def]: Likewise.
10220 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10221 [libc_hidden_builtin_def]: Likewise.
10222 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10223 [libc_hidden_builtin_def]: Likewise.
10224 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10225 __redirect_memcpy and define ifunc as default hidden symbol.
10226 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10227 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10228
10229 2014-05-04 Adam Conrad <adconrad@0c3.net>
10230
10231 * locale/iso-4217.def: Reintroduce XDR currency.
10232
10233 2014-05-04 Allan McRae <allan@archlinux.org>
10234
10235 * po/eo.po: Update Esperanto translation from translation project.
10236
10237 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10238
10239 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10240 and FEATURE_INDEX_MAX to 1.
10241 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10242
10243 2014-05-01 Steve Ellcey <sellcey@mips.com>
10244
10245 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10246 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10247 * iconvdata/big5.c (ONE_DIRECTION): Define.
10248 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10249 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10250 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10251 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10252 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10253 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10254 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10255 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10256 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10257 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10258 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10259 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10260 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10261 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10262 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10263 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10264 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10265 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10266 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10267 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10268 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10269 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10270 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10271 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10272 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10273 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10274 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10275 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10276 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10277 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10278 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10279 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10280 * iconvdata/johab.c (ONE_DIRECTION): Define.
10281 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10282 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10283 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10284 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10285 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10286 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10287 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10288 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10289 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10290 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10291
10292 2014-05-01 Roland McGrath <roland@hack.frob.com>
10293
10294 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10295 (_IO_JUMPS_OFFSET): Define to 0.
10296
10297 * nptl/sysdeps/pthread/bits/libc-lock.h
10298 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10299 (__libc_lock_define_initialized_recursive): Always define using
10300 initializer. Modern compilers treat uninitialized (implicit zero) and
10301 explicit zero initializers the same (i.e. put the datum in bss).
10302
10303 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10304
10305 * nscd/nscd-client.h: Include <string.h>.
10306
10307 2014-05-01 David S. Miller <davem@davemloft.net>
10308
10309 [BZ #16885]
10310 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10311 multiple zero bytes exist at the end of a string.
10312 Reported by Aurelien Jarno <aurelien@aurel32.net>
10313
10314 * string/test-strcmp.c (check): Add explicit test for situations where
10315 there are multiple zero bytes after the first.
10316
10317 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10318
10319 [BZ #16890]
10320 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10321 when compiling wprintf.
10322 * stdio-common/tstdiomisc.c (t3): New function.
10323 (main): Call it.
10324
10325 2014-05-01 Steve Ellcey <sellcey@mips.com>
10326
10327 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10328 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10329 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10330 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10331
10332 2014-05-01 Steve Ellcey <sellcey@mips.com>
10333
10334 * stdlib/longlong.h: Updated from GCC.
10335
10336 2014-05-01 Will Newton <will.newton@linaro.org>
10337 Bernard Ogden <bernie.ogden@linaro.org>
10338
10339 * NEWS: Update fixed bug list.
10340
10341 [BZ #15119]
10342 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10343
10344 2014-04-30 David S. Miller <davem@davemloft.net>
10345
10346 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10347 (libc_feholdexcept_setround_sparc_ctx): New function.
10348 (libc_fesetenv_sparc_ctx): Likewise.
10349 (libc_feupdateenv_sparc_ctx): Likewise.
10350 (libc_feholdsetround_sparc_ctx): Likewise.
10351 (libc_feholdexcept_setround_ctx): Define.
10352 (libc_feholdexcept_setroundf_ctx): Likewise.
10353 (libc_feholdexcept_setroundl_ctx): Likewise.
10354 (libc_fesetenv_ctx): Likewise.
10355 (libc_fesetenvf_ctx): Likewise.
10356 (libc_fesetenvl_ctx): Likewise.
10357 (libc_feupdateenv_ctx): Likewise.
10358 (libc_feupdateenvf_ctx): Likewise.
10359 (libc_feupdateenvl_ctx): Likewise.
10360 (libc_feresetround_ctx): Likewise.
10361 (libc_feresetroundf_ctx): Likewise.
10362 (libc_feresetroundl_ctx): Likewise.
10363 (libc_feholdsetround_ctx): Likewise.
10364 (libc_feholdsetroundf_ctx): Likewise.
10365 (libc_feholdsetroundl_ctx): Likewise.
10366
10367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10368 with __USE_GNU instead of XOPEN cpp guards.
10369
10370 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10371 0.
10372
10373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10374 with XOPEN cpp guards.
10375
10376 2014-04-30 Julian Brown <julian@codesourcery.com>
10377
10378 [BZ #16888]
10379 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10380 handling.
10381
10382 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10383
10384 [BZ #9894]
10385 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10386 Change to 2.6.32.
10387 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10388 * sysdeps/unix/sysv/linux/configure: Regenerated.
10389 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10390 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10391 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10392 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10393 * README: Update reference to required Linux kernel version.
10394 * manual/install.texi (Linux): Update reference to required Linux
10395 kernel headers version.
10396 * INSTALL: Regenerated.
10397
10398 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10399 header inclusion.
10400 [POSIX] (limits.h): Likewise.
10401 [POSIX] (math.h): Likewise.
10402 [POSIX] (sys/wait.h): Likewise.
10403 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10404 function.
10405 [POSIX] (stddef.h): Do not allow header inclusion.
10406
10407 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408
10409 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10410
10411 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10412
10413 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10414 Return immediately after lll_futex_wake.
10415
10416 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10417
10418 [BZ #16791]
10419 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10420 structure.
10421 (datahead_init_pos): Call datahead_init_common early.
10422 (datahead_init_neg): Likewise.
10423
10424 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10425 datahead_init_neg): New functions.
10426 * nscd/aicache.c (addhstaiX): Use them.
10427 * nscd/grpcache.c (cache_addgr): Likewise.
10428 * nscd/hstcache.c (cache_addhst): Likewise.
10429 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10430 * nscd/netgroupcache.c (do_notfound): Likewise.
10431 (addgetnetgrentX): Likewise.
10432 (addinnetgrX): Likewise.
10433 * nscd/pwdcache.c (cache_addpw): Likewise.
10434 * nscd/servicescache.c (cache_addserv): Likewise.
10435
10436 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10437 Atsushi Onoe <atsushi@onoe.org>
10438
10439 [BZ #14308]
10440 [BZ #12994]
10441 [BZ #13651]
10442 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10443 one response is valid.
10444 * resolv/res_send.c (send_dg): Check for validity of other
10445 response if the current response is a referral.
10446
10447 2014-04-29 Steve Ellcey <sellcey@mips.com>
10448
10449 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10450
10451 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10452
10453 [BZ #16823]
10454 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10455 Always divide by positive zero when computing -Inf result.
10456 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10457 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10458
10459 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10460
10461 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10462 FPSCR if value do not change.
10463 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10464 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10465 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10466 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10467 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10468 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10469 function.
10470
10471 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10472
10473 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10474 * sysdeps/unix/sysv/linux/hppa: Move directory from
10475 ports/systeps/unix/sysv/linux/hppa.
10476 * README: Update listing for hppa-*-linux-gnu.
10477
10478 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10479
10480 [BZ #16754]
10481 * manual/stdio.texi (Hook functions): Fix types of stream hook
10482 functions.
10483 [BZ #16854]
10484 * socket/sys/socket.h: Fix typo in comment.
10485
10486 2014-04-28 Wilco <wdijkstr@arm.com>
10487
10488 * sysdeps/arm/fenv_private.h: New file.
10489 * sysdeps/arm/math_private.h: New file.
10490 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10491
10492 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10493
10494 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10495 with __int128_t.
10496 (La_x86_64_retval): Likewise.
10497
10498 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10499
10500 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10501 fpsr if value didn't change.
10502 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10503 to fpcr if value didn't change.
10504 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10505 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10506 fpsr or fpcr if value didn't change.
10507 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10508 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10509 fpcr if value didn't change.
10510 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10511 to fpsr if value didn't change.
10512
10513 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10514
10515 * nptl/tst-sem3.c: Use test-skeleton.c
10516 (main): Rename to do_test. Use return instead of
10517 exit.
10518 * nptl/tst-sem4.c: Use test-skeleton.c
10519 (main): Rename to do_test.
10520
10521 2014-04-22 David S. Miller <davem@davemloft.net>
10522
10523 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10524 (struct sigaction): New struct member __glibc_reserved0, change
10525 type of sa_flags to int.
10526
10527 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10528
10529 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10530 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10531
10532 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10533
10534 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10535 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10536
10537 2014-04-22 Will Newton <will.newton@linaro.org>
10538 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10539
10540 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10541 (__longjmp): Add longjmp and longjmp_target SystemTap
10542 probes.
10543 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10544 (__sigsetjmp): Add setjmp SystemTap probe.
10545
10546 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10547
10548 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10549 match manual order.
10550
10551 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10552
10553 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10554
10555 * sysdeps/powerpc/fpu/fenv_private.h
10556 (libc_feholdexcept_setroundl_ctx): Define to
10557 libc_feholdexcept_setround_ppc_ctx.
10558 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10559 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10560 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10561 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10562
10563 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10564
10565 * sysdeps/aarch64/math-tests.h: New file.
10566
10567 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10568
10569 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10570 New.
10571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10572 Check and set bit_AVX2_Usable.
10573 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10574 macro.
10575 (bit_AVX2): Likewise.
10576 (index_AVX2_Usable): Likewise.
10577 (CPUID_AVX2): Likewise.
10578 (HAS_AVX2): Likewise.
10579
10580 2014-04-17 Will Newton <will.newton@linaro.org>
10581
10582 * manual/setjmp.texi (System V contexts): Add note that
10583 calling setcontext on a context created by a call to a
10584 signal handler is undefined. Update text to note that
10585 setcontext from a signal handler is possible but not
10586 recommended.
10587
10588 [BZ #16629]
10589 * stdlib/tst-setcontext.c: Include signal.h.
10590 (main): Check that the signal stack before and
10591 after swapcontext is the same.
10592
10593 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10594 Re-implement to restore registers in user code and avoid
10595 rt_sigreturn system call.
10596
10597 2014-04-17 Wilco <wdijkstr@arm.com>
10598
10599 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10600 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10601 * math/test-fenv.c: Skip exception trap tests on targets which only
10602 support non-stop mode.
10603
10604 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10605 Wilco Dijkstra <wilco.dijkstra@arm.com>
10606
10607 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10608 (libc_feholdsetround_aarch64_ctx)
10609 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10610 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10611 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10612 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10613 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10614 (libc_feresetround_noexl_ctx): Define.
10615
10616 2014-04-16 Richard Henderson <rth@redhat.com>
10617
10618 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10619
10620 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10621 unwind tables.
10622
10623 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10624 const from the non-libc, non-ldso copy.
10625
10626 * sysdeps/alpha/libm-test-ulps: Regenerate.
10627
10628 2014-04-16 Ian Bolton <ian.bolton@arm.com>
10629 Wilco Dijkstra <wilco.dijkstra@arm.com>
10630
10631 * sysdeps/aarch64/fpu/math_private.h: New file.
10632
10633 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10634
10635 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10636
10637 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10638
10639 [BZ #16275]
10640 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10641 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10643 Intel MPX bound registers before _dl_profile_fixup.
10644 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10645 registers after _dl_profile_fixup. Save and restore bound
10646 registers bnd0/bnd1 when calling _dl_call_pltexit.
10647 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10648 (LR_BND_OFFSET): Likewise.
10649 (LRV_BND0_OFFSET): Likewise.
10650 (LRV_BND1_OFFSET): Likewise.
10651
10652 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10653
10654 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10655 to...
10656 * sysdeps/mach/hurd/i386/tls.h: ... here.
10657 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10658 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10659 fields.
10660
10661 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10662
10663 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10664
10665 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10666
10667 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10668
10669 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10670
10671 [BZ #14770]
10672 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10673 * sysdeps/s390/configure: Regenerate.
10674
10675 [BZ #16824]
10676 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10677 Set round-to-nearest internally to reduce error accumulation.
10678
10679 2014-04-16 Alan Modra <amodra@gmail.com>
10680
10681 [BZ #16740]
10682 [BZ #16619]
10683 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10684 * math/libm-test.inc (frexp_test_data): Add tests.
10685 * NEWS: Update fixed bug list.
10686
10687 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10688
10689 * benchtests/Makefile: Depend on libraries in build directory.
10690 (bench-math): Separate out math tests.
10691 (bench-pthread): Separate out pthread tests.
10692 (bench): Include math and pthread tests.
10693
10694 2014-04-14 Carlos O'Donell <carlos@redhat.com>
10695
10696 [BZ #16831]
10697 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10698 _dl_debug_initialize.
10699
10700 * configure.ac: Remove SELinux header check.
10701 * configure: Regenerate.
10702 * nscd/selinux.c (perms): Array of const char* to permission names.
10703 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10704 default policy. Call string_to_security_class and string_to_av_perm to
10705 translate strings. Enforce default policy and call avs_has_perm with
10706 results of translated strings.
10707
10708 2014-04-13 David S. Miller <davem@davemloft.net>
10709
10710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10711
10712 2014-04-12 Allan McRae <allan@archlinux.org>
10713
10714 [BZ #16838]
10715 * manual/string.texi (Collation Functions): Fix qsort argument
10716 order in example.
10717 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10718
10719 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10720
10721 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10722 Make the test a no-op if there are no exceptions defined.
10723
10724 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10725
10726 * elf/Makefile (tests): make tst-dlopen-aout conditional on
10727 enable-hardcoded-path-in-tests
10728
10729 2014-04-11 Will Newton <will.newton@linaro.org>
10730
10731 * benchtests/Makefile (extra-objs): Add json-lib.o.
10732 (bench-func): Tidy up JSON output.
10733 * benchtests/bench-skeleton.c: Include json-lib.h.
10734 (main): Use JSON library functions to do output of
10735 benchmark results.
10736 * benchtests/bench-timing-type.c (main): Output the
10737 timing type simply, leaving formatting to the user.
10738 * benchtests/json-lib.c: New file.
10739 * benchtests/json-lib.h: Likewise.
10740
10741 2014-04-11 Torvald Riegel <triegel@redhat.com>
10742
10743 [BZ #15215]
10744 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10745 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10746 memory barriers. Add comments.
10747 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10748 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10749 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10750 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10751 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10752 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10753
10754 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10755
10756 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10757 * sysdeps/s390/s390-64/configure.ac: ... this ...
10758 * sysdeps/s390/configure.ac: ... to here.
10759 * sysdeps/s390/s390-32/configure: Delete file.
10760 * sysdeps/s390/s390-64/configure: Delete file.
10761 * sysdeps/s390/configure: Regenerate.
10762
10763 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10764
10765 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10766
10767 2014-04-11 Will Newton <will.newton@linaro.org>
10768
10769 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10770 to zero if it is not defined elsewhere. (mtrim): Test
10771 the value of MALLOC_DEBUG with #if rather than #ifdef.
10772
10773 2014-04-10 Torvald Riegel <triegel@redhat.com>
10774
10775 * benchtests/pthread_once-inputs: New file.
10776 * benchtests/pthread_once-source.c: New file.
10777 * benchtests/README: Update documentation.
10778
10779 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10780 H.J. Lu <hongjiu.lu@intel.com>
10781
10782 [BZ #16275]
10783 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10784 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10785 * sysdeps/x86_64/configure: Regenerated.
10786 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10787 macro.
10788 (REGISTER_SAVE_RAX): Likewise.
10789 (REGISTER_SAVE_RCX): Likewise.
10790 (REGISTER_SAVE_RDX): Likewise.
10791 (REGISTER_SAVE_RSI): Likewise.
10792 (REGISTER_SAVE_RDI): Likewise.
10793 (REGISTER_SAVE_R8): Likewise.
10794 (REGISTER_SAVE_R9): Likewise.
10795 (REGISTER_SAVE_BND0): Likewise.
10796 (REGISTER_SAVE_BND1): Likewise.
10797 (REGISTER_SAVE_BND2): Likewise.
10798 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10799 bound registers when calling _dl_fixup.
10800
10801 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10802
10803 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10804 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10805 of its definition.
10806 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10807 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10808 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10809 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10810 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10811 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10812 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10813
10814 2014-04-09 Peter Brett <peter@peter-b.co.uk>
10815
10816 [BZ #15514]
10817 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10818 pathconf(_PC_NAME_MAX).
10819
10820 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10821
10822 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10823 Remove macro usage.
10824 (__PTHREAD_SPINS): Move definition to ...
10825 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10826 (__PTHREAD_SPINS): ... here.
10827 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10828 (__PTHREAD_SPIN): Likewise.
10829 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10830 (__PTHREAD_SPIN): Likewise.
10831 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10832 (__PTHREAD_SPIN): Likewise.
10833 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10834 (__PTHREAD_SPIN): Likewise.
10835 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10836 (__PTHREAD_SPIN): Likewise.
10837 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10838 (__PTHREAD_SPIN): Likewise.
10839 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10840 (__PTHREAD_SPIN): Likewise.
10841 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10842 (__PTHREAD_SPIN): Likewise.
10843 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10844 (__PTHREAD_SPIN): Likewise.
10845 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10846 (__PTHREAD_SPIN): Likewise.
10847 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10848 (__PTHREAD_SPIN): Likewise.
10849 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10850 (__PTHREAD_SPIN): Likewise.
10851
10852 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10853 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10854 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10855 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10856 imply folder.
10857 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10858 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10859 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10860 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10861 correct imply path.
10862 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10863 strlen symbol for non multi-arch builds.
10864 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10865 missing hidden_def and weak_alias.
10866
10867 2014-04-08 Carlos O'Donell <carlos@redhat.com>
10868
10869 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10870
10871 2014-04-07 Will Newton <will.newton@linaro.org>
10872
10873 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10874 and contents. [!_LIBC] Remove #ifndef and contents.
10875 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10876 * string/memccpy.c (__memccpy): Use ANSI prototype.
10877 * string/memfrob.c (memfrob): Likewise.
10878 * string/strcoll.c (STRCOLL): Likewise.
10879 * string/strlen.c (strlen): Likewise.
10880 * string/strtok.c (STRTOK): Likewise.
10881 * string/strcat.c: Remove unused #include of memcopy.h.
10882 (strcat): Use ANSI prototype.
10883 * string/strchr.c: Remove unused #include of memcopy.h.
10884 (strchr): Use ANSI prototype.
10885 * string/strcmp.c: Remove unused #include of memcopy.h.
10886 (strcmp): Use ANSI prototype.
10887 * string/strcpy.c: Remove unused #include of memcopy.h.
10888 (strcpy): Use ANSI prototype.
10889
10890 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10891
10892 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10893 * config.make.in (config-extra-cppflags): Set it from
10894 libc_extra_cppflags.
10895 * configure.ac (libc_extra_cflags): Make it accumulate over
10896 configure fragments.
10897 (libc_extra_cppflags): New flag.
10898 * configure. Regenerate.
10899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10900 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10901 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10903
10904 [BZ #16815]
10905 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10906 result for FE_DOWNWARD rounding mode.
10907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10908 Likewise.
10909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10910
10911 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10912
10913 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10914 in function argument name.
10915
10916 2014-04-03 David Svoboda <svoboda@cert.org>
10917
10918 [BZ #5666]
10919 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10920 explicitly.
10921
10922 2014-04-03 Roland McGrath <roland@hack.frob.com>
10923
10924 * elf/dl-unmap-segments.h: New file.
10925 * sysdeps/generic/ldsodefs.h
10926 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10927 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10928 * elf/dl-fptr.c: Likewise.
10929 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10930 * sysdeps/aarch64/tlsdesc.c: Likewise.
10931 * sysdeps/arm/tlsdesc.c: Likewise.
10932 * sysdeps/i386/tlsdesc.c: Likewise.
10933 * sysdeps/tile/dl-runtime.c: Likewise.
10934 * sysdeps/x86_64/tlsdesc.c: Likewise.
10935 * elf/dl-load.h: New file.
10936 * elf/dl-load.c: Include it.
10937 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10938 Macros moved to dl-load.h.
10939 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10940 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10941 Use _dl_unmap_segments in place of __munmap.
10942 Break out segment-mapping loop into ...
10943 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10944
10945 2014-04-03 Will Newton <will.newton@linaro.org>
10946
10947 * elf/dl-lookup.c (do_lookup_x): Remove comment
10948 referring to nested function and move variable
10949 declarations down to before first use.
10950
10951 2014-04-02 Joseph Myers <joseph@codesourcery.com>
10952
10953 [BZ #16799]
10954 [BZ #16800]
10955 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10956 with 0 numerator.
10957 * math/s_catanf.c (__catanf): Likewise.
10958 * math/s_catanh.c (__catanh): Likewise.
10959 * math/s_catanhf.c (__catanhf): Likewise.
10960 * math/s_catanhl.c (__catanhl): Likewise.
10961 * math/s_catanl.c (__catanl): Likewise.
10962 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10963 by positive zero when computing -Inf result.
10964 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10965 (catanh_test): Likewise.
10966 * sysdeps/i386/fpu/libm-test-ulps: Update.
10967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968
10969 [BZ #16789]
10970 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10971 instead of using underflowing value in computing result.
10972 * math/s_clog10.c (__clog10): Likewise.
10973 * math/s_clog10f.c (__clog10f): Likewise.
10974 * math/s_clog10l.c (__clog10l): Likewise.
10975 * math/s_clogf.c (__clogf): Likewise.
10976 * math/s_clogl.c (__clogl): Likewise.
10977 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10978 (clog10_test): Likewise.
10979 * sysdeps/i386/fpu/libm-test-ulps: Update.
10980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10981
10982 2014-04-02 Alan Modra <amodra@gmail.com>
10983
10984 [BZ #16739]
10985 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10986 output when value is near a power of two. Use int64_t for lx and
10987 remove casts. Use decimal rather than hex exponent constants.
10988 Don't use long double multiplication when double will suffice.
10989 * math/libm-test.inc (nextafter_test_data): Add tests.
10990 * NEWS: Add 16739 and 16786 to bug list.
10991
10992 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10993
10994 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10995
10996 2014-04-01 Will Newton <will.newton@linaro.org>
10997
10998 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10999 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11000
11001 2014-04-01 Florian Weimer <fweimer@redhat.com>
11002
11003 [BZ #13347]
11004 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11005 * nptl/tst-setuid2.c: New file.
11006 * nptl/Makefile (xtests): Add tst-setuid2.
11007
11008 2014-04-01 Alan Modra <amodra@gmail.com>
11009
11010 [BZ #16786]
11011 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11012
11013 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11014
11015 [BZ #6803]
11016 [BZ #6804]
11017 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11018 set errno as appropriate.
11019 * math/w_scalbf.c (__scalbf): Likewise.
11020 * math/w_scalbl.c (__scalbl): Likewise.
11021 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11022 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11023 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11024 Add more NaN tests.
11025
11026 [BZ #16349]
11027 * math/w_atan2.c: Include <errno.h>.
11028 (__atan2): Set errno for result underflowing to zero.
11029 * math/w_atan2f.c: Include <errno.h>.
11030 (__atan2f): Set errno for result underflowing to zero.
11031 * math/w_atan2l.c: Include <errno.h>.
11032 (__atan2l): Set errno for result underflowing to zero.
11033 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11034 tests.
11035 * math/auto-libm-test-out: Regenerated.
11036
11037 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11038
11039 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11040 Encode instruction correctly in little endian.
11041 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11042 Likewise.
11043 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11044 Likewise.
11045 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11046 Likewise.
11047 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11048 Likewise.
11049
11050 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11051
11052 [BZ #9894]
11053 * sysdeps/unix/sysv/linux/kernel-features.h
11054 [__sparc__ && !__arch64__ && !__sparc_v9__]
11055 (__ASSUME_SET_ROBUST_LIST): Do not define.
11056 [__sparc__ && !__arch64__ && !__sparc_v9__]
11057 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11058 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11059 Likewise.
11060 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11061 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11062 (__ASSUME_REQUEUE_PI): Likewise.
11063 (__ASSUME_SET_ROBUST_LIST): Likewise.
11064 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11065 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11066 Undefine.
11067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11068 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11069 Likewise.
11070 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11071 Likewise.
11072 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11073 Likewise.
11074 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11075 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11076 Undefine.
11077 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11078 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11079 Likewise.
11080
11081 [BZ #16648]
11082 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11083 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11084 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11085
11086 2014-03-31 Will Newton <will.newton@linaro.org>
11087
11088 * benchtests/Makefile (bench): Add ffs and ffsll to list
11089 of tests.
11090 * benchtests/ffs-inputs: New file.
11091 * benchtests/ffsll-inputs: Likewise.
11092
11093 2014-03-29 Joseph Myers <joseph@codesourcery.com>
11094
11095 [BZ #16770]
11096 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11097 too large before casting to int.
11098 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11099 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11100 * math/libm-test.inc (scalb_test_data): Add more tests.
11101
11102 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11103
11104 * benchtests/Makefile (DETAILED_OPT): New make option.
11105 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11106 set.
11107 * benchtests/bench-skeleton.c: Include stdbool.h.
11108 (main): Store and print timings per input.
11109 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11110 member to each argument value.
11111 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11112 (_print_arg_data): Initialize per-input timing to 0.
11113
11114 * benchtests/Makefile (timing-type): New binary.
11115 (bench-clean): Also remove bench-timing-type.
11116 (bench): New target for timing-type.
11117 (bench-func): Print output in JSON format.
11118 * benchtests/bench-skeleton.c (main): Print output in JSON
11119 format.
11120 * benchtests/bench-timing-type.c: New file.
11121 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11122 (TIMING_PRINT_STATS): Remove.
11123 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11124 name separately.
11125
11126 * benchtests/bench-modf.c: Remove.
11127 * benchtests/modf-inputs: New inputs file.
11128
11129 2014-03-28 Joseph Myers <joseph@codesourcery.com>
11130
11131 [BZ #16362]
11132 * math/s_clog10.c (M_PI_LOG10E): New macro.
11133 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11134 imaginary parts are 0.
11135 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11136 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11137 imaginary parts are 0.
11138 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11139 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11140 imaginary parts are 0.
11141 * math/libm-test.inc (clog10_test_data): Update expected results
11142 for when real and imaginary parts are 0.
11143
11144 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11145
11146 * elf/dl-load.c: Finish conversion of __builtin_expect into
11147 __glibc_{un}likely.
11148
11149 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11150
11151 [BZ #16348]
11152 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11153 1+x for argument with exponent below -67.
11154 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11155 Likewise.
11156 * math/auto-libm-test-in: Add more tests of exp.
11157 * math/auto-libm-test-out: Regenerated.
11158
11159 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11160
11161 [BZ #16759]
11162 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11163 (nscd_getnetgrent): Use it.
11164
11165 [BZ #16760]
11166 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11167 of stpcpy.
11168
11169 2014-03-27 Andi Kleen <ak@linux.intel.com>
11170
11171 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11172 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11173 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11174 (lll_robust_unlock): Remove out of line section. Use cfi
11175 intrinsics.
11176 (LLL_STUB_UNWIND_INFO*): Remove.
11177 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11178 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11179 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11180 (lll_robust_unlock): Remove out of line section. Use cfi
11181 intrinsics.
11182 (LLL_STUB_UNWIND_INFO*): Remove.
11183
11184 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11185
11186 [BZ #16758]
11187 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11188 blank values.
11189
11190 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11191
11192 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11193
11194 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11195
11196 [BZ #16198]
11197 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11198 fnstenv.
11199 * math/test-fenv-preserve.c: New file.
11200 * math/Makefile (tests): Add test-fenv-preserve.
11201
11202 2014-03-26 Will Newton <will.newton@linaro.org>
11203
11204 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11205
11206 2014-03-25 Roland McGrath <roland@hack.frob.com>
11207
11208 * scripts/versionlist.awk: Partition the version sets and emit all
11209 GLIBC_* (sorted) before all others (sorted).
11210
11211 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11212
11213 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11214 GLIBC_2.2.5 version.
11215
11216 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11217
11218 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11219 calls.
11220
11221 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11222 previous change.
11223
11224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11225
11226 2014-03-25 Andreas Schwab <schwab@suse.de>
11227
11228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11229 label to be used after in6ailist is initialized.
11230
11231 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11232
11233 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11234 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11235
11236 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #16357]
11239 [BZ #16599]
11240 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11241 min_plus_half.
11242 (fp_formats): Update initializers.
11243 (init_fp_formats): Initialize new field.
11244 (output_for_one_input_case): Allow underflow for results up to
11245 min_plus_half.
11246 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11247 * math/auto-libm-test-in: Don't mark some underflows from asin and
11248 atanh as spurious.
11249 * math/auto-libm-test-out: Regenerated.
11250 * sysdeps/i386/fpu/libm-test-ulps: Update.
11251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11252
11253 2014-03-25 Andreas Schwab <schwab@suse.de>
11254
11255 * libio/Makefile (tst-ftell-partial-wide-ENV)
11256 (tst-ftell-active-handler-ENV): Define.
11257
11258 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11259
11260 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11261
11262 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11263
11264 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11265
11266 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11267
11268 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11269 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11270 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11271
11272 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11273
11274 [BZ #16634]
11275 * elf/dl-load.c (open_verify): Add mode parameter.
11276 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11277 (open_path): Change from boolean 'secure' to complete flag 'mode'
11278 (_dl_map_object): Adjust.
11279 * elf/Makefile (tests): Add tst-dlopen-aout.
11280 * elf/tst-dlopen-aout.c: New test.
11281
11282 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11283
11284 [BZ #16714]
11285 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11286 (struct stat): Rename member pad0 to __glibc_reserved0.
11287
11288 [BZ #16712]
11289 * sysdeps/s390/s390-32/bits/wordsize.h
11290 (__WORDSIZE32_SIZE_ULONG): New define.
11291 * sysdeps/s390/s390-64/bits/wordsize.h
11292 (__WORDSIZE32_SIZE_ULONG): Likewise.
11293 * sysdeps/generic/stdint.h (SIZE_MAX):
11294 Define as UL if __WORDSIZE32_SIZE_ULONG.
11295
11296 [BZ #16713]
11297 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11298 (__glibc_reserved0): New variable.
11299 (sa_flags): Change type to int.
11300
11301 * posix/Makefile (before-compile): Use += before-compile instead
11302 of a :=.
11303
11304 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11305 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11306
11307 2014-03-20 Andreas Schwab <schwab@suse.de>
11308
11309 [BZ #16743]
11310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11311 non-matching result from nscd.
11312
11313 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11314
11315 * scripts/bench.py: Moved to ...
11316 * benchtests/scripts/bench.py: ... here.
11317 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11318
11319 2014-03-24 Andreas Schwab <schwab@suse.de>
11320
11321 [BZ #16002]
11322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11323 alloca_account and account alloca use for struct in6ailist.
11324
11325 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11326
11327 [BZ #16284]
11328 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11329 rounding mode to recompute results that overflow to infinity or
11330 underflow to zero.
11331 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11332 bug 16284.
11333 * math/auto-libm-test-out: Regenerated.
11334 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11335 (ccosh_test): Likewise.
11336 (csin_test_data): Use plus_oflow.
11337 (csin_test): Use ALL_RM_TEST.
11338 (csinh_test_data): Use plus_oflow.
11339 (csinh_test): Use ALL_RM_TEST.
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11342
11343 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11344
11345 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11346 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11347 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11348
11349 [BZ #16731]
11350 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11351 when x - 1 is zero.
11352 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11353 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11354 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11355 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11356 argument is 1.
11357 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11358 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11359 zero.
11360 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11361 * sysdeps/i386/fpu/libm-test-ulps: Update.
11362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363
11364 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11365
11366 * scripts/bench.pl: Remove file.
11367 * scripts/bench.py: New benchmark script.
11368 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11369 * benchtests/README: Mention python dependency.
11370 * scripts/pylintrc: New file.
11371 * scripts/pylint: New file.
11372
11373 * bits/mathdef.h: Use #ifdef instead of #if.
11374 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11375 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11376 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11377 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11378 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11379 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11380
11381 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11382 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11383
11384 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11386 and strpbrk-ppc64 objects.
11387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11388 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11389 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11390 multiarch strpbrk for POWER7.
11391 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11392 multiarch strpbrk for PPC64.
11393 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11394 ifunc selector.
11395 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11396 strpbrk for POWER7.
11397
11398 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11399
11400 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11401 (atan_test): Likewise.
11402 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11403 (atanh_test): Use ALL_RM_TEST.
11404 (atan2_test_data): Likewise.
11405 (cabs_test): Likewise.
11406 (cacosh_test): Likewise.
11407 (carg_test): Likewise.
11408 (casin_test): Likewise.
11409 (casinh_test): Likewise.
11410 (cbrt_test): Likewise.
11411 (csqrt_test): Likewise.
11412 (erf_test): Likewise.
11413 (erfc_test): Likewise.
11414 (pow10_test): Likewise.
11415 (exp2_test): Likewise.
11416 (hypot_test): Likewise.
11417 (j0_test): Likewise.
11418 (j1_test): Likewise.
11419 (lgamma_test): Likewise.
11420 (gamma_test): Likewise.
11421 (sincos_test): Likewise.
11422 (tanh_test): Likewise.
11423 (y0_test): Likewise.
11424 (y1_test): Likewise.
11425 * sysdeps/i386/fpu/libm-test-ulps: Update.
11426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11427
11428 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11429
11430 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11432 and strcspn-ppc64 objects.
11433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11434 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11435 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11436 multiarch strcspn for POWER7.
11437 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11438 multiarch strcspn for PPC64.
11439 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11440 ifunc selector.
11441 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11442 strcspn for POWER7.
11443
11444 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11445
11446 * math/gen-libm-test.pl (generate_testfile): Expect only function
11447 name as argument to AUTO_TESTS_* and pass results for all rounding
11448 modes to parse_args.
11449 (parse_auto_input): Separate inputs of automatic tests from
11450 outputs before storing in %auto_tests.
11451 * math/libm-test.inc (acos_test_data): Update call to
11452 AUTO_TESTS_f_f.
11453 (acos_test): Use ALL_RM_TEST.
11454 (acos_tonearest_test_data): Remove.
11455 (acos_test_tonearest): Likewise.
11456 (acos_towardzero_test_data): Likewise.
11457 (acos_test_towardzero): Likewise.
11458 (acos_downward_test_data): Likewise.
11459 (acos_test_downward): Likewise.
11460 (acos_upward_test_data): Likewise.
11461 (acos_test_upward): Likewise.
11462 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11463 (asin_test_data): Likewise.
11464 (asin_test): Use ALL_RM_TEST.
11465 (asin_tonearest_test_data): Remove.
11466 (asin_test_tonearest): Likewise.
11467 (asin_towardzero_test_data): Likewise.
11468 (asin_test_towardzero): Likewise.
11469 (asin_downward_test_data): Likewise.
11470 (asin_test_downward): Likewise.
11471 (asin_upward_test_data): Likewise.
11472 (asin_test_upward): Likewise.
11473 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11474 (atan_test_data): Likewise.
11475 (atanh_test_data): Likewise.
11476 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11477 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11478 (carg_test_data): Likewise.
11479 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11480 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11481 (ccosh_test_data): Likewise.
11482 (cexp_test_data): Likewise.
11483 (clog_test_data): Likewise.
11484 (clog10_test_data): Likewise.
11485 (cos_test_data): Update call to AUTO_TESTS_f_f.
11486 (cos_test): Use ALL_RM_TEST.
11487 (cos_tonearest_test_data): Remove.
11488 (cos_test_tonearest): Likewise.
11489 (cos_towardzero_test_data): Likewise.
11490 (cos_test_towardzero): Likewise.
11491 (cos_downward_test_data): Likewise.
11492 (cos_test_downward): Likewise.
11493 (cos_upward_test_data): Likewise.
11494 (cos_test_upward): Likewise.
11495 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11496 (cosh_test): Use ALL_RM_TEST.
11497 (cosh_tonearest_test_data): Remove.
11498 (cosh_test_tonearest): Likewise.
11499 (cosh_towardzero_test_data): Likewise.
11500 (cosh_test_towardzero): Likewise.
11501 (cosh_downward_test_data): Likewise.
11502 (cosh_test_downward): Likewise.
11503 (cosh_upward_test_data): Likewise.
11504 (cosh_test_upward): Likewise.
11505 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11506 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11507 (ctan_test_data): Likewise.
11508 (ctan_test): Use ALL_RM_TEST.
11509 (ctan_tonearest_test_data): Remove.
11510 (ctan_test_tonearest): Likewise.
11511 (ctan_towardzero_test_data): Likewise.
11512 (ctan_test_towardzero): Likewise.
11513 (ctan_downward_test_data): Likewise.
11514 (ctan_test_downward): Likewise.
11515 (ctan_upward_test_data): Likewise.
11516 (ctan_test_upward): Likewise.
11517 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11518 (ctanh_test): Use ALL_RM_TEST.
11519 (ctanh_tonearest_test_data): Remove.
11520 (ctanh_test_tonearest): Likewise.
11521 (ctanh_towardzero_test_data): Likewise.
11522 (ctanh_test_towardzero): Likewise.
11523 (ctanh_downward_test_data): Likewise.
11524 (ctanh_test_downward): Likewise.
11525 (ctanh_upward_test_data): Likewise.
11526 (ctanh_test_upward): Likewise.
11527 (erf_test_data): Update call to AUTO_TESTS_f_f.
11528 (erfc_test_data): Likewise.
11529 (exp_test_data): Likewise.
11530 (exp_test): Use ALL_RM_TEST.
11531 (exp_tonearest_test_data): Remove.
11532 (exp_test_tonearest): Likewise.
11533 (exp_towardzero_test_data): Likewise.
11534 (exp_test_towardzero): Likewise.
11535 (exp_downward_test_data): Likewise.
11536 (exp_test_downward): Likewise.
11537 (exp_upward_test_data): Likewise.
11538 (exp_test_upward): Likewise.
11539 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11540 (exp10_test): Use ALL_RM_TEST.
11541 (exp10_tonearest_test_data): Remove.
11542 (exp10_test_tonearest): Likewise.
11543 (exp10_towardzero_test_data): Likewise.
11544 (exp10_test_towardzero): Likewise.
11545 (exp10_downward_test_data): Likewise.
11546 (exp10_test_downward): Likewise.
11547 (exp10_upward_test_data): Likewise.
11548 (exp10_test_upward): Likewise.
11549 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11550 (expm1_test_data): Likewise.
11551 (expm1_test): Use ALL_RM_TEST.
11552 (expm1_tonearest_test_data): Remove.
11553 (expm1_test_tonearest): Likewise.
11554 (expm1_towardzero_test_data): Likewise.
11555 (expm1_test_towardzero): Likewise.
11556 (expm1_downward_test_data): Likewise.
11557 (expm1_test_downward): Likewise.
11558 (expm1_upward_test_data): Likewise.
11559 (expm1_test_upward): Likewise.
11560 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11561 (fma_test): Use ALL_RM_TEST.
11562 (fma_towardzero_test_data): Remove.
11563 (fma_test_towardzero): Likewise.
11564 (fma_downward_test_data): Likewise.
11565 (fma_test_downward): Likewise.
11566 (fma_upward_test_data): Likewise.
11567 (fma_test_upward): Likewise.
11568 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11569 (j0_test_data): Update call to AUTO_TESTS_f_f.
11570 (j1_test_data): Likewise.
11571 (jn_test_data): Update call to AUTO_TESTS_if_f.
11572 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11573 (log_test_data): Update call to AUTO_TESTS_f_f.
11574 (log10_test_data): Likewise.
11575 (log1p_test_data): Likewise.
11576 (log2_test_data): Likewise.
11577 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11578 (pow_tonearest_test_data): Likewise.
11579 (sin_test_data): Update call to AUTO_TESTS_f_f.
11580 (sin_test): Use ALL_RM_TEST.
11581 (sin_tonearest_test_data): Remove.
11582 (sin_test_tonearest): Likewise.
11583 (sin_towardzero_test_data): Likewise.
11584 (sin_test_towardzero): Likewise.
11585 (sin_downward_test_data): Likewise.
11586 (sin_test_downward): Likewise.
11587 (sin_upward_test_data): Likewise.
11588 (sin_test_upward): Likewise.
11589 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11590 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11591 (sinh_test): Use ALL_RM_TEST.
11592 (sinh_tonearest_test_data): Remove.
11593 (sinh_test_tonearest): Likewise.
11594 (sinh_towardzero_test_data): Likewise.
11595 (sinh_test_towardzero): Likewise.
11596 (sinh_downward_test_data): Likewise.
11597 (sinh_test_downward): Likewise.
11598 (sinh_upward_test_data): Likewise.
11599 (sinh_test_upward): Likewise.
11600 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11601 (sqrt_test): Use ALL_RM_TEST.
11602 (sqrt_tonearest_test_data): Remove.
11603 (sqrt_test_tonearest): Likewise.
11604 (sqrt_towardzero_test_data): Likewise.
11605 (sqrt_test_towardzero): Likewise.
11606 (sqrt_downward_test_data): Likewise.
11607 (sqrt_test_downward): Likewise.
11608 (sqrt_upward_test_data): Likewise.
11609 (sqrt_test_upward): Likewise.
11610 (tan_test_data): Update call to AUTO_TESTS_f_f.
11611 (tan_test): Use ALL_RM_TEST.
11612 (tan_tonearest_test_data): Remove.
11613 (tan_test_tonearest): Likewise.
11614 (tan_towardzero_test_data): Likewise.
11615 (tan_test_towardzero): Likewise.
11616 (tan_downward_test_data): Likewise.
11617 (tan_test_downward): Likewise.
11618 (tan_upward_test_data): Likewise.
11619 (tan_test_upward): Likewise.
11620 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11621 (tgamma_test_data): Likewise.
11622 (y0_test_data): Likewise.
11623 (y1_test_data): Likewise.
11624 (yn_test_data): Update call to AUTO_TESTS_if_f.
11625 (main): Do not call removed functions.
11626
11627 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11628
11629 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11630 (ldexp_test_data): Remove.
11631 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11632 scalbn_test_data.
11633 (scalb_test): Use ALL_RM_TEST.
11634
11635 2014-03-19 Andreas Schwab <schwab@suse.de>
11636
11637 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11638
11639 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11640
11641 [BZ #16649]
11642 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11643 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11644 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11646 (__ASSUME_PREADV): Undefine.
11647 (__ASSUME_PWRITEV): Likewise.
11648
11649 2014-03-18 Roland McGrath <roland@hack.frob.com>
11650
11651 * bits/mman-linux.h: Add comment about non-Linux use.
11652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11653 bits/mman-linux.h resting place.
11654
11655 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11656 * bits/mman-linux.h: ... here.
11657
11658 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11659
11660 * conform/conformtest.pl: Add standard definition when calling C
11661 preprocessor on data files.
11662 (checknamespace): Remove unused variable.
11663
11664 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11665
11666 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11667 minus_oflow, plus_uflow and minus_uflow in expected results.
11668 * math/libm-test.inc (scalbn_test_data): Add more tests of
11669 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11670 minus_uflow.
11671 (scalbn_test): Use ALL_RM_TEST.
11672 (scalbln_test_data): Add more tests of negative arguments. Use
11673 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11674 (scalbln_test): Use ALL_RM_TEST.
11675
11676 2014-03-18 Roland McGrath <roland@hack.frob.com>
11677
11678 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11679
11680 2014-03-18 Will Newton <will.newton@linaro.org>
11681
11682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11683 inaccurate comment.
11684
11685 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11686
11687 * Makerules [!subdir] (check-abi): Exit with error status if a
11688 test failed.
11689
11690 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11691
11692 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11693 for rint. Include results for all rounding modes.
11694 (nearbyint_test): Use ALL_RM_TEST.
11695 (rint_test_data): Include all tests used for nearbyint.
11696
11697 2014-03-17 Will Newton <will.newton@linaro.org>
11698
11699 * nptl/sysdeps/pthread/pthread.h: Revert previous
11700 change.
11701
11702 * sysdeps/generic/ldsodefs.h: Revert previous
11703 change.
11704
11705 * libio/genops.c: Revert previous change.
11706 * libio/libioP.h: Likewise.
11707 * stdio-common/vfprintf.c: Likewise.
11708
11709 * sysdeps/generic/math_private.h: Revert previous
11710 change.
11711
11712 * sysdeps/generic/math_private.h: Check whether
11713 HAVE_RM_CTX is defined with #ifdef rather
11714 than #if.
11715
11716 * argp/argp-fmtstream.h: Check whether
11717 __STRICT_ANSI__ is defined with #ifdef rather
11718 than #if.
11719 * argp/argp.h: Likewise.
11720
11721 * libio/genops.c: Check whether
11722 _IO_JUMPS_OFFSET is defined with #ifdef rather
11723 than #if.
11724 * libio/libioP.h: Likewise.
11725 * stdio-common/vfprintf.c: Likewise.
11726
11727 * sysdeps/generic/ldsodefs.h: Check whether
11728 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11729 than #if.
11730
11731 * nptl/sysdeps/pthread/pthread.h: Check
11732 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11733 its value.
11734
11735 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11736
11737 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11738 setting O_APPEND.
11739 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11740 test case.
11741
11742 [BZ #16680]
11743 * libio/fileops.c (_IO_file_open): Seek to end of file but
11744 don't cache the offset.
11745 (get_file_offset): Remove function.
11746 (do_ftell): Use cached offset when available.
11747 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11748 don't cache the offset.
11749 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11750 case.
11751 (do_one_test): Call it.
11752 (do_ftell_test): Fix up expected old offset for a+ mode.
11753 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11754 available.
11755
11756 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11757 up test status with function return status.
11758 (do_write_test): Likewise.
11759 (do_append_test): Likewise.
11760
11761 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11762 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11763 Remove.
11764
11765 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11766
11767 * math/gen-libm-test.pl (parse_args): Handle results specified for
11768 each rounding mode separately.
11769 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11770 tests and results from lrint_tonearest_test_data,
11771 lrint_towardzero_test_data, lrint_downward_test_data and
11772 lrint_upward_test_data.
11773 (lrint_test): Use ALL_RM_TEST.
11774 (lrint_tonearest_test_data): Remove.
11775 (lrint_test_tonearest): Likewise.
11776 (lrint_towardzero_test_data): Likewise.
11777 (lrint_test_towardzero): Likewise.
11778 (lrint_downward_test_data): Likewise.
11779 (lrint_test_downward): Likewise.
11780 (lrint_upward_test_data): Likewise.
11781 (lrint_test_upward): Likewise.
11782 (llrint_test_data): Merge in per-rounding-mode tests and results
11783 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11784 llrint_downward_test_data and llrint_upward_test_data.
11785 (llrint_test): Use ALL_RM_TEST.
11786 (llrint_tonearest_test_data): Remove.
11787 (llrint_test_tonearest): Likewise.
11788 (llrint_towardzero_test_data): Likewise.
11789 (llrint_test_towardzero): Likewise.
11790 (llrint_downward_test_data): Likewise.
11791 (llrint_test_downward): Likewise.
11792 (llrint_upward_test_data): Likewise.
11793 (llrint_test_upward): Likewise.
11794 (rint_test_data): Merge in per-rounding-mode tests and results
11795 from rint_tonearest_test_data, rint_towardzero_test_data,
11796 rint_downward_test_data and rint_upward_test_data. Add
11797 per-rounding-mode results for tests not in those arrays.
11798 (rint_test): Use ALL_RM_TEST.
11799 (rint_tonearest_test_data): Remove.
11800 (rint_test_tonearest): Likewise.
11801 (rint_towardzero_test_data): Likewise.
11802 (rint_test_towardzero): Likewise.
11803 (rint_downward_test_data): Likewise.
11804 (rint_test_downward): Likewise.
11805 (rint_upward_test_data): Likewise.
11806 (rint_test_upward): Likewise.
11807 (main): Don't call removed functions.
11808
11809 2014-03-14 Roland McGrath <roland@hack.frob.com>
11810
11811 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11812 "Compiled on ..." crapola. It is anti-useful.
11813
11814 2014-03-14 Joseph Myers <joseph@codesourcery.com>
11815
11816 * scripts/evaluate-test.sh: Handle fourth argument to determine
11817 whether test run should stop on failure.
11818 * Makeconfig (stop-on-test-failure): New variable.
11819 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11820 $(stop-on-test-failure).
11821 * Makefile (tests): Give a summary of results from testing and
11822 exit with failure status if they include an ERROR or FAIL.
11823 (xtests): Likewise.
11824 * manual/install.texi (Configuring and compiling): Mention
11825 stop-on-test-failure=y.
11826 * INSTALL: Regenerated.
11827
11828 2014-03-14 Roland McGrath <roland@hack.frob.com>
11829
11830 * scripts/versionlist.awk: New file.
11831 * Makerules [$(build-shared) = yes]
11832 (postclean-generated): Add Versions.def, not Versions.def.v and
11833 Versions.def.v.i.
11834 ($(common-objpfx)Versions.def.v.i): Target removed.
11835 ($(common-objpfx)Versions.def): New target.
11836 ($(common-objpfx)Versions.all): Depend on that rather that
11837 $(common-objpfx)Versions.def.v.
11838 * Versions.def: File removed.
11839
11840 * Makeconfig (+gccwarn): Add -Wundef.
11841 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11842 a dl-sysdep.h breaking its contract.
11843 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11844 * include/stackinfo.h: New file.
11845 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11846 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11847 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11848 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11849 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11850 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11851 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11852 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11853 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11854 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11855 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11856 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11857 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11858 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11859 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11860
11861 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11862
11863 [BZ #16707]
11864 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11865 implementation.
11866 * math/libm-test.inc (round_test_data): Add more tests.
11867
11868 [BZ #16706]
11869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11870 implementation.
11871 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11872
11873 [BZ #16701]
11874 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11875 implementation.
11876 * math/libm-test.inc (ceil_test_data): Add more tests.
11877
11878 * math/libm-test.inc (trunc_test_data): Add more tests related to
11879 BZ#16414.
11880
11881 2014-03-14 Roland McGrath <roland@hack.frob.com>
11882
11883 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11884 with #if rather than #ifdef.
11885 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11886
11887 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11890 first. Disable AVX-512 GCC support if assembler doesn't support
11891 it.
11892 * sysdeps/x86_64/configure: Regenerated.
11893
11894 2014-03-13 Carlos O'Donell <carlos@redhat.com>
11895
11896 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11897 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11898 (__old_pthread_attr_setstack): Likewise.
11899 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11900 [!_STACK_GROWS_DOWN]: Likewise.
11901
11902 2014-03-13 Mike Frysinger <vapier@gentoo.org>
11903
11904 * config.make.in (have-bash2): Delete.
11905 * configure.ac (libc_cv_have_bash2): Delete.
11906 * configure: Regenerate.
11907 * elf/Makefile (common-ldd-rewrite): Rename to ...
11908 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11909 (sh-ldd-rewrite): Delete.
11910 (bash-ldd-rewrite): Delete.
11911 (have-bash2): Delete checks.
11912 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11913 ldd-rewrite.
11914
11915 * config.make.in (have-ksh): Delete.
11916 (KSH): Delete.
11917 * configure.ac (libc_cv_have_ksh): Delete.
11918 * configure: Regenerate.
11919
11920 * elf/Makefile: Delete $(have-ksh) check.
11921 ($(objpfx)sotruss): Change KSH to BASH.
11922 * elf/sotruss.ksh: Rename to ...
11923 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11924 function style to match POSIX. Drop ksh vim mode setting.
11925
11926 * manual/time.texi (Specifying the Time Zone with TZ): Change
11927 Tuesday to Thursday.
11928
11929 * debug/tst-longjmp_chk2.c: Update header comment.
11930 (stackoverflow_handler): Add comment. Call assert on pass value.
11931
11932 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11933
11934 [BZ #16194]
11935 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11936 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11937 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11938 (La_x86_64_vector): Add zmm.
11939 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11940 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11941 ($(objpfx)tst-audit10): New target.
11942 ($(objpfx)tst-audit10.out): Likewise.
11943 (tst-audit10-ENV): New.
11944 (AVX512-CFLAGS): Likewise.
11945 (CFLAGS-tst-audit10.c): Likewise.
11946 (CFLAGS-tst-auditmod10a.c): Likewise.
11947 (CFLAGS-tst-auditmod10b.c): Likewise.
11948 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11949 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11950 * sysdeps/x86_64/configure: Regenerated.
11951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11952 AVX-512 zmm register support.
11953 (_dl_x86_64_save_sse): Likewise.
11954 (_dl_x86_64_restore_sse): Likewise.
11955 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11956 size vector registers.
11957 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11958 (ZMM_SIZE): Likewise.
11959 * sysdeps/x86_64/tst-audit10.c: New file.
11960 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11961 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11962
11963 2014-03-13 Roland McGrath <roland@hack.frob.com>
11964
11965 * configure.ac (HAVE_EHDR_START): New check.
11966 * configure: Regenerated.
11967 * config.h.in (HAVE_EHDR_START): New #undef.
11968 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11969 assuming the lowest-addressed segment maps the start of the file.
11970
11971 2014-03-13 Joseph Myers <joseph@codesourcery.com>
11972
11973 * INSTALL: Regenerated.
11974
11975 2014-03-13 Will Newton <will.newton@linaro.org>
11976
11977 * manual/setjmp.texi (System V contexts): Improve
11978 clarity and grammar of documentation.
11979
11980 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11981
11982 [BZ #16381]
11983 * elf/Makefile (tests): Add tst-pie2.
11984 (tests-pie): Add tst-pie2.
11985 * elf/tst-pie2.c: New file.
11986 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11987 for ET_EXEC.
11988 * elf/rtld.c (map_doit): Load executable as lt_executable.
11989 (dl_main): Likewise.
11990
11991 2014-03-12 Joseph Myers <joseph@codesourcery.com>
11992
11993 [BZ #16642]
11994 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11995 (__ASSUME_PSELECT): Undefine.
11996
11997 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11998
11999 [BZ #16689]
12000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12001 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12002 static build.
12003 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12004 selector for static builds.
12005
12006 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12007
12008 [BZ #16695]
12009 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12010 key in the buffer.
12011
12012 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12013
12014 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12015 IFUNC selector for static builds.
12016
12017 2014-03-11 Joseph Myers <joseph@codesourcery.com>
12018
12019 * sysdeps/mips/math_private.h [__mips_hard_float]
12020 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12021 libc_feresetround_mips_ctx.
12022 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12023 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12024 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12025
12026 [BZ #16677]
12027 * math/s_nextafter.c (__nextafter): Do not return value from
12028 overflowing computation.
12029 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12030 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12031 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12032 Likewise.
12033 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12034 Likewise.
12035 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12036 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12037
12038 2014-03-11 Roland McGrath <roland@hack.frob.com>
12039
12040 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12041 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12042 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12043 the new mov targetting sp.
12044
12045 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12046
12047 [BZ #16683]
12048 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12049 Define it for static builds as well.
12050 (NO_BZERO_IMPL): Likewise.
12051
12052 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12053
12054 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12055 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12056 multiarch strspn for PPC64.
12057 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12058 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12060 (__libc_ifunc_impl_list): Likewise.
12061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12062 multiarch optimizations
12063 * string/strspn.c (strspn): Using macro to redefine symbol name.
12064
12065 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12066 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12067
12068 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12069 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12070 multiarch strncat for PPC64.
12071 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12072 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12074 (__libc_ifunc_impl_list): Likewise.
12075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12076 multiarch optimizations
12077
12078 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12079
12080 [BZ #16639]
12081 * nscd/nscd.service: Make service type forking.
12082
12083 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12084
12085 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12086 sign in non default rounding modes.
12087 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12088
12089 2014-03-08 Joseph Myers <joseph@codesourcery.com>
12090
12091 * math/libm-test.inc (ALL_RM_TEST): New macro.
12092 (ceil_test): Use ALL_RM_TEST.
12093 (cimag_test): Likewise.
12094 (conj_test): Likewise.
12095 (copysign_test): Likewise.
12096 (cproj_test): Likewise.
12097 (creal_test): Likewise.
12098 (fabs_test): Likewise.
12099 (floor_test): Likewise.
12100 (fmax_test): Likewise.
12101 (fmin_test): Likewise.
12102 (fmod_test): Likewise.
12103 (fpclassify_test): Likewise.
12104 (frexp_test): Likewise.
12105 (ilogb_test): Likewise.
12106 (isfinite_test): Likewise.
12107 (finite_test): Likewise.
12108 (isgreater_test): Likewise.
12109 (isgreaterequal_test): Likewise.
12110 (isinf_test): Likewise.
12111 (isless_test): Likewise.
12112 (islessequal_test): Likewise.
12113 (islessgreater_test): Likewise.
12114 (isnan_test): Likewise.
12115 (isnormal_test): Likewise.
12116 (issignaling_test): Likewise.
12117 (isunordered_test): Likewise.
12118 (logb_test): Likewise.
12119 (logb_downward_test_data): Remove.
12120 (logb_test_downward): Likewise.
12121 (lround_test): Use ALL_RM_TEST.
12122 (llround_test): Likewise.
12123 (modf_test): Likewise.
12124 (nexttoward_test): Likewise.
12125 (remainder_test): Likewise.
12126 (drem_test): Likewise.
12127 (remainder_tonearest_test_data): Likewise.
12128 (remainder_test_tonearest): Likewise.
12129 (drem_test_tonearest): Likewise.
12130 (remainder_towardzero_test_data): Likewise.
12131 (remainder_test_towardzero): Likewise.
12132 (drem_test_towardzero): Likewise.
12133 (remainder_downward_test_data): Likewise.
12134 (remainder_test_downward): Likewise.
12135 (drem_test_downward): Likewise.
12136 (remainder_upward_test_data): Likewise.
12137 (remainder_test_upward): Likewise.
12138 (drem_test_upward): Likewise.
12139 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12140 (round_test): Use ALL_RM_TEST.
12141 (signbit_test): Likewise.
12142 (trunc_test): Likewise.
12143 (significand_test): Likewise.
12144 (main): Don't call removed functions.
12145
12146 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12147
12148 [BZ #16674]
12149 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12150 || __USE_XOPEN2K8].
12151 (ILL_ILLOPN): Likewise.
12152 (ILL_ILLADR): Likewise.
12153 (ILL_ILLTRP): Likewise.
12154 (ILL_PRVOPC): Likewise.
12155 (ILL_PRVREG): Likewise.
12156 (ILL_COPROC): Likewise.
12157 (ILL_BADSTK): Likewise.
12158 (FPE_INTDIV): Likewise.
12159 (FPE_INTOVF): Likewise.
12160 (FPE_FLTDIV): Likewise.
12161 (FPE_FLTOVF): Likewise.
12162 (FPE_FLTUND): Likewise.
12163 (FPE_FLTRES): Likewise.
12164 (FPE_FLTINV): Likewise.
12165 (FPE_FLTSUB): Likewise.
12166 (SEGV_MAPERR): Likewise.
12167 (SEGV_ACCERR): Likewise.
12168 (BUS_ADRALN): Likewise.
12169 (BUS_ADRERR): Likewise.
12170 (BUS_OBJERR): Likewise.
12171 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12172 (TRAP_TRACE): Likewise.
12173 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12174 __USE_XOPEN2K8].
12175 (CLD_KILLED): Likewise.
12176 (CLD_DUMPED): Likewise.
12177 (CLD_TRAPPED): Likewise.
12178 (CLD_STOPPED): Likewise.
12179 (CLD_CONTINUED): Likewise.
12180 (POLL_IN): Likewise.
12181 (POLL_OUT): Likewise.
12182 (POLL_MSG): Likewise.
12183 (POLL_ERR): Likewise.
12184 (POLL_PRI): Likewise.
12185 (POLL_HUP): Likewise.
12186 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12187 Likewise.
12188 (ILL_ILLOPN): Likewise.
12189 (ILL_ILLADR): Likewise.
12190 (ILL_ILLTRP): Likewise.
12191 (ILL_PRVOPC): Likewise.
12192 (ILL_PRVREG): Likewise.
12193 (ILL_COPROC): Likewise.
12194 (ILL_BADSTK): Likewise.
12195 (FPE_INTDIV): Likewise.
12196 (FPE_INTOVF): Likewise.
12197 (FPE_FLTDIV): Likewise.
12198 (FPE_FLTOVF): Likewise.
12199 (FPE_FLTUND): Likewise.
12200 (FPE_FLTRES): Likewise.
12201 (FPE_FLTINV): Likewise.
12202 (FPE_FLTSUB): Likewise.
12203 (SEGV_MAPERR): Likewise.
12204 (SEGV_ACCERR): Likewise.
12205 (BUS_ADRALN): Likewise.
12206 (BUS_ADRERR): Likewise.
12207 (BUS_OBJERR): Likewise.
12208 (BUS_MCEERR_AR): Likewise.
12209 (BUS_MCEERR_AO): Likewise.
12210 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12211 (TRAP_TRACE): Likewise.
12212 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12213 __USE_XOPEN2K8].
12214 (CLD_KILLED): Likewise.
12215 (CLD_DUMPED): Likewise.
12216 (CLD_TRAPPED): Likewise.
12217 (CLD_STOPPED): Likewise.
12218 (CLD_CONTINUED): Likewise.
12219 (POLL_IN): Likewise.
12220 (POLL_OUT): Likewise.
12221 (POLL_MSG): Likewise.
12222 (POLL_ERR): Likewise.
12223 (POLL_PRI): Likewise.
12224 (POLL_HUP): Likewise.
12225 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12226 (ILL_ILLOPN): Likewise.
12227 (ILL_ILLADR): Likewise.
12228 (ILL_ILLTRP): Likewise.
12229 (ILL_PRVOPC): Likewise.
12230 (ILL_PRVREG): Likewise.
12231 (ILL_COPROC): Likewise.
12232 (ILL_BADSTK): Likewise.
12233 (FPE_INTDIV): Likewise.
12234 (FPE_INTOVF): Likewise.
12235 (FPE_FLTDIV): Likewise.
12236 (FPE_FLTOVF): Likewise.
12237 (FPE_FLTUND): Likewise.
12238 (FPE_FLTRES): Likewise.
12239 (FPE_FLTINV): Likewise.
12240 (FPE_FLTSUB): Likewise.
12241 (SEGV_MAPERR): Likewise.
12242 (SEGV_ACCERR): Likewise.
12243 (BUS_ADRALN): Likewise.
12244 (BUS_ADRERR): Likewise.
12245 (BUS_OBJERR): Likewise.
12246 (BUS_MCEERR_AR): Likewise.
12247 (BUS_MCEERR_AO): Likewise.
12248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12249 (TRAP_TRACE): Likewise.
12250 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12251 __USE_XOPEN2K8].
12252 (CLD_KILLED): Likewise.
12253 (CLD_DUMPED): Likewise.
12254 (CLD_TRAPPED): Likewise.
12255 (CLD_STOPPED): Likewise.
12256 (CLD_CONTINUED): Likewise.
12257 (POLL_IN): Likewise.
12258 (POLL_OUT): Likewise.
12259 (POLL_MSG): Likewise.
12260 (POLL_ERR): Likewise.
12261 (POLL_PRI): Likewise.
12262 (POLL_HUP): Likewise.
12263 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12264 Likewise.
12265 (ILL_ILLOPN): Likewise.
12266 (ILL_ILLADR): Likewise.
12267 (ILL_ILLTRP): Likewise.
12268 (ILL_PRVOPC): Likewise.
12269 (ILL_PRVREG): Likewise.
12270 (ILL_COPROC): Likewise.
12271 (ILL_BADSTK): Likewise.
12272 (ILL_BADIADDR): Likewise.
12273 (ILL_BREAK): Likewise.
12274 (FPE_INTDIV): Likewise.
12275 (FPE_INTOVF): Likewise.
12276 (FPE_FLTDIV): Likewise.
12277 (FPE_FLTOVF): Likewise.
12278 (FPE_FLTUND): Likewise.
12279 (FPE_FLTRES): Likewise.
12280 (FPE_FLTINV): Likewise.
12281 (FPE_FLTSUB): Likewise.
12282 (FPE_DECOVF): Likewise.
12283 (FPE_DECDIV): Likewise.
12284 (FPE_DECERR): Likewise.
12285 (FPE_INVASC): Likewise.
12286 (FPE_INVDEC): Likewise.
12287 (SEGV_MAPERR): Likewise.
12288 (SEGV_ACCERR): Likewise.
12289 (SEGV_PSTKOVF): Likewise.
12290 (BUS_ADRALN): Likewise.
12291 (BUS_ADRERR): Likewise.
12292 (BUS_OBJERR): Likewise.
12293 (BUS_MCEERR_AR): Likewise.
12294 (BUS_MCEERR_AO): Likewise.
12295 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12296 (TRAP_TRACE): Likewise.
12297 (TRAP_BRANCH): Likewise.
12298 (TRAP_HWBKPT): Likewise.
12299 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12300 __USE_XOPEN2K8].
12301 (CLD_KILLED): Likewise.
12302 (CLD_DUMPED): Likewise.
12303 (CLD_TRAPPED): Likewise.
12304 (CLD_STOPPED): Likewise.
12305 (CLD_CONTINUED): Likewise.
12306 (POLL_IN): Likewise.
12307 (POLL_OUT): Likewise.
12308 (POLL_MSG): Likewise.
12309 (POLL_ERR): Likewise.
12310 (POLL_PRI): Likewise.
12311 (POLL_HUP): Likewise.
12312 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12313 (ILL_ILLOPN): Likewise.
12314 (ILL_ILLADR): Likewise.
12315 (ILL_ILLTRP): Likewise.
12316 (ILL_PRVOPC): Likewise.
12317 (ILL_PRVREG): Likewise.
12318 (ILL_COPROC): Likewise.
12319 (ILL_BADSTK): Likewise.
12320 (FPE_INTDIV): Likewise.
12321 (FPE_INTOVF): Likewise.
12322 (FPE_FLTDIV): Likewise.
12323 (FPE_FLTOVF): Likewise.
12324 (FPE_FLTUND): Likewise.
12325 (FPE_FLTRES): Likewise.
12326 (FPE_FLTINV): Likewise.
12327 (FPE_FLTSUB): Likewise.
12328 (SEGV_MAPERR): Likewise.
12329 (SEGV_ACCERR): Likewise.
12330 (BUS_ADRALN): Likewise.
12331 (BUS_ADRERR): Likewise.
12332 (BUS_OBJERR): Likewise.
12333 (BUS_MCEERR_AR): Likewise.
12334 (BUS_MCEERR_AO): Likewise.
12335 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12336 (TRAP_TRACE): Likewise.
12337 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12338 __USE_XOPEN2K8].
12339 (CLD_KILLED): Likewise.
12340 (CLD_DUMPED): Likewise.
12341 (CLD_TRAPPED): Likewise.
12342 (CLD_STOPPED): Likewise.
12343 (CLD_CONTINUED): Likewise.
12344 (POLL_IN): Likewise.
12345 (POLL_OUT): Likewise.
12346 (POLL_MSG): Likewise.
12347 (POLL_ERR): Likewise.
12348 (POLL_PRI): Likewise.
12349 (POLL_HUP): Likewise.
12350 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12351 (ILL_ILLOPN): Likewise.
12352 (ILL_ILLADR): Likewise.
12353 (ILL_ILLTRP): Likewise.
12354 (ILL_PRVOPC): Likewise.
12355 (ILL_PRVREG): Likewise.
12356 (ILL_COPROC): Likewise.
12357 (ILL_BADSTK): Likewise.
12358 (FPE_INTDIV): Likewise.
12359 (FPE_INTOVF): Likewise.
12360 (FPE_FLTDIV): Likewise.
12361 (FPE_FLTOVF): Likewise.
12362 (FPE_FLTUND): Likewise.
12363 (FPE_FLTRES): Likewise.
12364 (FPE_FLTINV): Likewise.
12365 (FPE_FLTSUB): Likewise.
12366 (SEGV_MAPERR): Likewise.
12367 (SEGV_ACCERR): Likewise.
12368 (BUS_ADRALN): Likewise.
12369 (BUS_ADRERR): Likewise.
12370 (BUS_OBJERR): Likewise.
12371 (BUS_MCEERR_AR): Likewise.
12372 (BUS_MCEERR_AO): Likewise.
12373 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12374 (TRAP_TRACE): Likewise.
12375 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12376 __USE_XOPEN2K8].
12377 (CLD_KILLED): Likewise.
12378 (CLD_DUMPED): Likewise.
12379 (CLD_TRAPPED): Likewise.
12380 (CLD_STOPPED): Likewise.
12381 (CLD_CONTINUED): Likewise.
12382 (POLL_IN): Likewise.
12383 (POLL_OUT): Likewise.
12384 (POLL_MSG): Likewise.
12385 (POLL_ERR): Likewise.
12386 (POLL_PRI): Likewise.
12387 (POLL_HUP): Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12389 (ILL_ILLOPN): Likewise.
12390 (ILL_ILLADR): Likewise.
12391 (ILL_ILLTRP): Likewise.
12392 (ILL_PRVOPC): Likewise.
12393 (ILL_PRVREG): Likewise.
12394 (ILL_COPROC): Likewise.
12395 (ILL_BADSTK): Likewise.
12396 (FPE_INTDIV): Likewise.
12397 (FPE_INTOVF): Likewise.
12398 (FPE_FLTDIV): Likewise.
12399 (FPE_FLTOVF): Likewise.
12400 (FPE_FLTUND): Likewise.
12401 (FPE_FLTRES): Likewise.
12402 (FPE_FLTINV): Likewise.
12403 (FPE_FLTSUB): Likewise.
12404 (SEGV_MAPERR): Likewise.
12405 (SEGV_ACCERR): Likewise.
12406 (BUS_ADRALN): Likewise.
12407 (BUS_ADRERR): Likewise.
12408 (BUS_OBJERR): Likewise.
12409 (BUS_MCEERR_AR): Likewise.
12410 (BUS_MCEERR_AO): Likewise.
12411 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12412 (TRAP_TRACE): Likewise.
12413 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12414 __USE_XOPEN2K8].
12415 (CLD_KILLED): Likewise.
12416 (CLD_DUMPED): Likewise.
12417 (CLD_TRAPPED): Likewise.
12418 (CLD_STOPPED): Likewise.
12419 (CLD_CONTINUED): Likewise.
12420 (POLL_IN): Likewise.
12421 (POLL_OUT): Likewise.
12422 (POLL_MSG): Likewise.
12423 (POLL_ERR): Likewise.
12424 (POLL_PRI): Likewise.
12425 (POLL_HUP): Likewise.
12426 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12427 (ILL_ILLOPN): Likewise.
12428 (ILL_ILLADR): Likewise.
12429 (ILL_ILLTRP): Likewise.
12430 (ILL_PRVOPC): Likewise.
12431 (ILL_PRVREG): Likewise.
12432 (ILL_COPROC): Likewise.
12433 (ILL_BADSTK): Likewise.
12434 (ILL_DBLFLT): Likewise.
12435 (ILL_HARDWALL): Likewise.
12436 (FPE_INTDIV): Likewise.
12437 (FPE_INTOVF): Likewise.
12438 (FPE_FLTDIV): Likewise.
12439 (FPE_FLTOVF): Likewise.
12440 (FPE_FLTUND): Likewise.
12441 (FPE_FLTRES): Likewise.
12442 (FPE_FLTINV): Likewise.
12443 (FPE_FLTSUB): Likewise.
12444 (SEGV_MAPERR): Likewise.
12445 (SEGV_ACCERR): Likewise.
12446 (BUS_ADRALN): Likewise.
12447 (BUS_ADRERR): Likewise.
12448 (BUS_OBJERR): Likewise.
12449 (BUS_MCEERR_AR): Likewise.
12450 (BUS_MCEERR_AO): Likewise.
12451 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12452 (TRAP_TRACE): Likewise.
12453 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12454 __USE_XOPEN2K8].
12455 (CLD_KILLED): Likewise.
12456 (CLD_DUMPED): Likewise.
12457 (CLD_TRAPPED): Likewise.
12458 (CLD_STOPPED): Likewise.
12459 (CLD_CONTINUED): Likewise.
12460 (POLL_IN): Likewise.
12461 (POLL_OUT): Likewise.
12462 (POLL_MSG): Likewise.
12463 (POLL_ERR): Likewise.
12464 (POLL_PRI): Likewise.
12465 (POLL_HUP): Likewise.
12466 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12467 (ILL_ILLOPN): Likewise.
12468 (ILL_ILLADR): Likewise.
12469 (ILL_ILLTRP): Likewise.
12470 (ILL_PRVOPC): Likewise.
12471 (ILL_PRVREG): Likewise.
12472 (ILL_COPROC): Likewise.
12473 (ILL_BADSTK): Likewise.
12474 (FPE_INTDIV): Likewise.
12475 (FPE_INTOVF): Likewise.
12476 (FPE_FLTDIV): Likewise.
12477 (FPE_FLTOVF): Likewise.
12478 (FPE_FLTUND): Likewise.
12479 (FPE_FLTRES): Likewise.
12480 (FPE_FLTINV): Likewise.
12481 (FPE_FLTSUB): Likewise.
12482 (SEGV_MAPERR): Likewise.
12483 (SEGV_ACCERR): Likewise.
12484 (BUS_ADRALN): Likewise.
12485 (BUS_ADRERR): Likewise.
12486 (BUS_OBJERR): Likewise.
12487 (BUS_MCEERR_AR): Likewise.
12488 (BUS_MCEERR_AO): Likewise.
12489 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12490 (TRAP_TRACE): Likewise.
12491 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12492 __USE_XOPEN2K8].
12493 (CLD_KILLED): Likewise.
12494 (CLD_DUMPED): Likewise.
12495 (CLD_TRAPPED): Likewise.
12496 (CLD_STOPPED): Likewise.
12497 (CLD_CONTINUED): Likewise.
12498 (POLL_IN): Likewise.
12499 (POLL_OUT): Likewise.
12500 (POLL_MSG): Likewise.
12501 (POLL_ERR): Likewise.
12502 (POLL_PRI): Likewise.
12503 (POLL_HUP): Likewise.
12504 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12505 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12506
12507 [BZ #16670]
12508 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12509 before #include of <time.h>.
12510 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12511 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12512 (test-xfail-UNIX98/sched.h/conform): Likewise.
12513
12514 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12515
12516 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12517 error absence of trapping exception support.
12518 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12519
12520 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12521
12522 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12523 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12524 * timezone/Makefile (testdata): Move definition above include of
12525 Rules.
12526 (test-zones): New variable.
12527 (tests-special): Add zone files.
12528 (build-testdata): Use $(evaluate-test).
12529
12530 * elf/Makefile (tests-special): Rename tests to end with .out.
12531 ($(objpfx)noload-mem): Likewise.
12532 ($(objpfx)tst-leaks1-mem): Likewise.
12533 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12534 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12535 $(objpfx)test-iconvconfig.out.
12536 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12537 set -e inside subshell and redirect output to file.
12538 * iconvdata/Makefile (generated): Rename tests to end with .out.
12539 Correct type.
12540 (tests-special): Rename tests to end with .out.
12541 ($(objpfx)mtrace-tst-loading): Likewise.
12542 * intl/Makefile (generated): Likewise.
12543 (tests-special): Likewise.
12544 ($(objpfx)mtrace-tst-gettext): Likewise.
12545 * misc/Makefile (generated): Likewise.
12546 (tests-special): Likewise.
12547 ($(objpfx)tst-error1-mem): Likewise.
12548 * nptl/Makefile (tests-special): Likewise.
12549 ($(objpfx)tst-stack3-mem): Likewise.
12550 (generated): Likewise.
12551 * posix/Makefile (generated): Likewise.
12552 (tests-special): Likewise.
12553 (xtests-special): Likewise.
12554 ($(objpfx)tst-fnmatch-mem): Likewise.
12555 ($(objpfx)bug-regex2-mem): Likewise.
12556 ($(objpfx)bug-regex14-mem): Likewise.
12557 ($(objpfx)bug-regex21-mem): Likewise.
12558 ($(objpfx)bug-regex31-mem): Likewise.
12559 ($(objpfx)tst-vfork3-mem): Likewise.
12560 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12561 ($(objpfx)tst-pcre-mem): Likewise.
12562 ($(objpfx)tst-boost-mem): Likewise.
12563 ($(objpfx)bug-ga2-mem): Likewise.
12564 ($(objpfx)bug-glob2-mem): Likewise.
12565 * resolv/Makefile (generate): Likewise.
12566 (tests-special): Likewise.
12567 (xtests-special): Likewise.
12568 (generated): Likewise.
12569 ($(objpfx)mtrace-tst-leaks): Likewise.
12570 ($(objpfx)mtrace-tst-leaks2): Likewise.
12571
12572 * scripts/merge-test-results.sh: New file.
12573 * Makefile (tests-special-notdir): New variable.
12574 (tests): Run merge-test-results.sh.
12575 (xtests): Likewise.
12576 * Rules (tests-special-notdir): New variable.
12577 (xtests-special-notdir): Likewise.
12578 (tests): Run merge-test-results.sh
12579 (xtests): Likewise.
12580
12581 * Makeconfig (test-xfail-name): New variable.
12582 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12583 compute variable name for expected failures.
12584 * conform/Makefile (conformtest-headers-data): New variable.
12585 (conformtest-standards): Likewise.
12586 (conformtest-headers-ISO): Likewise.
12587 (conformtest-headers-ISO99): Likewise.
12588 (conformtest-headers-ISO11): Likewise.
12589 (conformtest-headers-POSIX): Likewise.
12590 (conformtest-headers-XPG3): Likewise.
12591 (conformtest-headers-XPG4): Likewise.
12592 (conformtest-headers-UNIX98): Likewise.
12593 (conformtest-headers-XOPEN2K): Likewise.
12594 (conformtest-headers-POSIX2008): Likewise.
12595 (conformtest-headers-XOPEN2K8): Likewise.
12596 (conformtest-header-list-base): Likewise.
12597 (conformtest-header-list-tests): Likewise.
12598 (conformtest-header-base): Likewise.
12599 (conformtest-header-tests): Likewise.
12600 (tests-special): Add $(conformtest-header-list-tests). If
12601 [$(fast-check) && !$(cross-compiling)], add
12602 $(conformtest-header-tests) instead of
12603 $(objpfx)run-conformtest.out.
12604 (generated): Add $(conformtest-header-list-base). If
12605 [$(fast-check) && !$(cross-compiling)], add
12606 $(conformtest-header-base). Remove previous setting.
12607 ($(conformtest-header-list-tests)): New target.
12608 (test-xfail-run-conformtest): Remove variable.
12609 ($(objpfx)run-conformtest.out): Remove target.
12610 (test-xfail-ISO11/complex.h/conform): New variable.
12611 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12612 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12613 (test-xfail-XPG3/varargs.h/conform): Likewise.
12614 (test-xfail-XPG4/varargs.h/conform): Likewise.
12615 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12616 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12617 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12618 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12619 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12620 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12621 (test-xfail-XPG3/ftw.h/conform): Likewise.
12622 (test-xfail-XPG3/grp.h/conform): Likewise.
12623 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12624 (test-xfail-XPG3/limits.h/conform): Likewise.
12625 (test-xfail-XPG3/pwd.h/conform): Likewise.
12626 (test-xfail-XPG3/search.h/conform): Likewise.
12627 (test-xfail-XPG3/signal.h/conform): Likewise.
12628 (test-xfail-XPG3/stdio.h/conform): Likewise.
12629 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12630 (test-xfail-XPG3/string.h/conform): Likewise.
12631 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12632 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12633 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12634 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12635 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12636 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12637 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12638 (test-xfail-XPG3/termios.h/conform): Likewise.
12639 (test-xfail-XPG3/time.h/conform): Likewise.
12640 (test-xfail-XPG3/unistd.h/conform): Likewise.
12641 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12642 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12643 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12644 (test-xfail-XPG4/netdb.h/conform): Likewise.
12645 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12646 (test-xfail-XPG4/signal.h/conform): Likewise.
12647 (test-xfail-XPG4/stdio.h/conform): Likewise.
12648 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12649 (test-xfail-XPG4/stropts.h/conform): Likewise.
12650 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12651 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12652 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12653 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12654 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12655 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12656 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12657 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12658 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12659 (test-xfail-XPG4/termios.h/conform): Likewise.
12660 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12661 (test-xfail-XPG4/unistd.h/conform): Likewise.
12662 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12663 (test-xfail-POSIX/sched.h/conform): Likewise.
12664 (test-xfail-POSIX/signal.h/conform): Likewise.
12665 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12666 (test-xfail-POSIX/tar.h/conform): Likewise.
12667 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12668 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12669 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12670 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12671 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12672 (test-xfail-UNIX98/sched.h/conform): Likewise.
12673 (test-xfail-UNIX98/signal.h/conform): Likewise.
12674 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12675 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12676 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12677 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12678 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12679 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12680 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12681 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12682 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12683 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12684 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12685 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12686 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12687 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12688 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12689 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12690 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12691 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12692 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12693 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12694 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12695 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12696 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12697 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12698 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12699 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12700 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12701 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12702 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12703 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12704 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12705 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12706 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12707 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12708 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12709 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12710 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12711 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12712 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12713 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12714 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12715 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12716 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12717 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12718 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12719 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12720 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12721 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12722 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12723 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12724 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12725 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12726 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12727 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12728 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12729 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12730 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12731 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12732 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12733 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12734 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12735 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12736 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12737 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12738 (conformtest-cc-flags): Likewise.
12739 ($(conformtest-header-tests): New target.
12740 * conform/check-header-lists.sh: New file.
12741 * conform/run-conformtest.sh: Remove.
12742
12743 * conform/conformtest.pl: Allow ' and \ in values given for
12744 constants.
12745 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12746 inclusion.
12747 [POSIX] (sys/types.h): Likewise.
12748 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12749 inclusion.
12750 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12751 inclusion.
12752 * conform/data/signal.h-data (SIGIO): Remove expectation.
12753 [XPG3] (SIGBUS): Do not expect.
12754 [POSIX || XPG3] (SIGPOLL): Likewise.
12755 [POSIX || XPG3] (SIGPROF): Likewise.
12756 [POSIX || XPG3] (SIGSYS): Likewise.
12757 [XPG3] (SIGTRAP): Likewise.
12758 [POSIX || XPG3] (SIGURG): Likewise.
12759 [POSIX || XPG3] (SIGVTALRM): Likewise.
12760 [POSIX || XPG3] (SIGXCPU): Likewise.
12761 [POSIX || XPG3] (SIGXFSZ): Likewise.
12762 [POSIX] (SA_SIGINFO): Expect.
12763 [XPG3] (siginfo_t): Do not expect type or contents.
12764 [POSIX] (si_pid): Do not expect element.
12765 [POSIX] (si_uid): Likewise.
12766 [POSIX] (si_addr): Likewise.
12767 [POSIX] (si_status): Likewise.
12768 [POSIX] (si_band): Likewise.
12769 [XPG4] (si_value): Likewise.
12770 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12771 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12772 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12773 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12774 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12775 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12776 [POSIX || XPG3] (ILL_COPROC): Likewise.
12777 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12778 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12779 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12780 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12781 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12782 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12783 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12784 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12785 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12786 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12787 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12788 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12789 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12790 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12791 [POSIX || XPG3] (CLD_EXITED): Likewise.
12792 [POSIX || XPG3] (CLD_KILLED): Likewise.
12793 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12794 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12795 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12796 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12797 [POSIX || XPG3] (POLL_IN): Likewise.
12798 [POSIX || XPG3] (POLL_OUT): Likewise.
12799 [POSIX || XPG3] (POLL_MSG): Likewise.
12800 [POSIX || XPG3] (POLL_ERR): Likewise.
12801 [POSIX || XPG3] (POLL_PRI): Likewise.
12802 [POSIX || XPG3] (POLL_HUP): Likewise.
12803 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12804 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12805 (SIG*): Do not allow.
12806 [XPG3] (si_*): Likewise.
12807 [XPG3] (SI_*): Likewise.
12808 [XPG3 || XPG4] (sigev_*): Likewise.
12809 [XPG3 || XPG4] (SIGEV_*): Likewise.
12810 [XPG3 || XPG4] (sival_*): Likewise.
12811 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12812 [POSIX || XPG3] (BUS_*): Likewise.
12813 [POSIX || XPG3] (CLD_*): Likewise.
12814 [POSIX || XPG3] (FPE_*): Likewise.
12815 [POSIX || XPG3] (ILL_*): Likewise.
12816 [POSIX || XPG3] (POLL_*): Likewise.
12817 [POSIX || XPG3] (SEGV_*): Likewise.
12818 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12819 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12820 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12821 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12822 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12823 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12824 Specify type and value.
12825 (TVERSLEN): Likewise.
12826 (REGTYPE): Likewise.
12827 (AREGTYPE): Likewise.
12828 (LNKTYPE): Likewise.
12829 (SYMTYPE): Likewise.
12830 (CHRTYPE): Likewise.
12831 (BLKTYPE): Likewise.
12832 (DIRTYPE): Likewise.
12833 (FIFOTYPE): Likewise.
12834 (CONTTYPE): Likewise.
12835 (TSUID): Likewise.
12836 (TSGID): Likewise.
12837 (TSVTX): Likewise.
12838 (TUREAD): Likewise.
12839 (TUWRITE): Likewise.
12840 (TUEXEC): Likewise.
12841 (TGREAD): Likewise.
12842 (TGWRITE): Likewise.
12843 (TGEXEC): Likewise.
12844 (TOREAD): Likewise.
12845 (TOWRITE): Likewise.
12846 (TOEXEC): Likewise.
12847 [POSIX] (TSVTX): Expect constant.
12848
12849 2014-03-06 Joseph Myers <joseph@codesourcery.com>
12850
12851 * Makefile (tests): Change dependencies to ....
12852 (tests-special): ... additions to this variable.
12853 (tests): Depend on $(tests-special).
12854 * Makerules (check-abi-list): New variable.
12855 (check-abi): Depend on $(check-abi-list).
12856 [$(subdir) = elf] (tests-special): Add
12857 $(objpfx)check-abi-libc.out.
12858 [$(build-shared) = yes && subdir] (tests-special): Add
12859 $(check-abi-list).
12860 [$(build-shared) = yes && subdir] (tests): Do not depend on
12861 check-abi.
12862 * Rules (tests): Depend on $(tests-special).
12863 (xtests): Depend on $(xtests-special).
12864 * catgets/Makefile (tests): Change dependencies to ....
12865 (tests-special): ... additions to this variable.
12866 * conform/Makefile (tests): Change dependencies to ....
12867 (tests-special): ... additions to this variable.
12868 * elf/Makefile (tests): Change dependencies to ....
12869 (tests-special): ... additions to this variable.
12870 * grp/Makefile (tests): Change dependencies to ....
12871 (tests-special): ... additions to this variable.
12872 * iconv/Makefile (xtests): Change dependencies to ....
12873 (xtests-special): ... additions to this variable.
12874 * iconvdata/Makefile (tests): Change dependencies to ....
12875 (tests-special): ... additions to this variable.
12876 * intl/Makefile (tests): Change dependencies to ....
12877 (tests-special): ... additions to this variable. Also add
12878 $(objpfx)tst-gettext.out.
12879 * io/Makefile (tests): Change dependencies to ....
12880 (tests-special): ... additions to this variable.
12881 * libio/Makefile (tests): Change dependencies to ....
12882 (tests-special): ... additions to this variable.
12883 * malloc/Makefile (tests): Change dependencies to ....
12884 (tests-special): ... additions to this variable.
12885 * misc/Makefile (tests): Change dependencies to ....
12886 (tests-special): ... additions to this variable.
12887 * nptl/Makefile (tests): Change dependencies to ....
12888 (tests-special): ... additions to this variable.
12889 * nptl_db/Makefile (tests): Change dependencies to ....
12890 (tests-special): ... additions to this variable.
12891 * posix/Makefile (tests): Change dependencies to ....
12892 (tests-special): ... additions to this variable.
12893 (xtests): Change dependencies to ....
12894 (xtests-special): ... additions to this variable.
12895 * resolv/Makefile (tests): Change dependencies to ....
12896 (tests-special): ... additions to this variable.
12897 (xtests): Change dependencies to ....
12898 (xtests-special): ... additions to this variable.
12899 * stdio-common/Makefile (tests): Change dependencies to ....
12900 (tests-special): ... additions to this variable.
12901 (do-tst-unbputc): Remove target.
12902 (do-tst-printf): Likewise.
12903 * stdlib/Makefile (tests): Change dependencies to ....
12904 (tests-special): ... additions to this variable.
12905 * string/Makefile (tests): Change dependencies to ....
12906 (tests-special): ... additions to this variable.
12907 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12908 (tests-special): ... additions to this variable.
12909
12910 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12911 whole file.
12912 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12913 whole file.
12914 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12915 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12916
12917 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12918 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12919 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12920 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12921 * conform/data/libgen.h-data [XPG3]: Likewise.
12922 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12923 * conform/data/ndbm.h-data [XPG3]: Likewise.
12924 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12925 * conform/data/netdb.h-data [XPG3]: Likewise.
12926 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12927 * conform/data/poll.h-data [XPG3]: Likewise.
12928 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12929 * conform/data/strings.h-data [XPG3]: Likewise.
12930 * conform/data/stropts.h-data [XPG3]: Likewise.
12931 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12932 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12933 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12934 Likewise.
12935 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12936 * conform/data/sys/time.h-data [XPG3]: Likewise.
12937 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12938 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12939 * conform/data/sys/un.h-data [XPG3]: Likewise.
12940 * conform/data/syslog.h-data [XPG3]: Likewise.
12941 * conform/data/ucontext.h-data [XPG3]: Likewise.
12942 * conform/data/utmpx.h-data [XPG3]: Likewise.
12943 * conform/data/varargs.h-data [UNIX98]: Enable file.
12944
12945 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12946
12947 * math/libm-test.inc (struct test_f_f_data): Move expected results
12948 into structure for each rounding mode.
12949 (struct test_ff_f_data): Likewise.
12950 (struct test_ff_f_data_nexttoward): Likewise.
12951 (struct test_fi_f_data): Likewise.
12952 (struct test_fl_f_data): Likewise.
12953 (struct test_if_f_data): Likewise.
12954 (struct test_fff_f_data): Likewise.
12955 (struct test_c_f_data): Likewise.
12956 (struct test_f_f1_data): Likewise.
12957 (struct test_fF_f1_data): Likewise.
12958 (struct test_ffI_f1_data): Likewise.
12959 (struct test_c_c_data): Likewise.
12960 (struct test_cc_c_data): Likewise.
12961 (struct test_f_i_data): Likewise.
12962 (struct test_ff_i_data): Likewise.
12963 (struct test_f_l_data): Likewise.
12964 (struct test_f_L_data): Likewise.
12965 (struct test_fFF_11_data): Likewise.
12966 (RM_): New macro.
12967 (RM_FE_DOWNWARD): Likewise.
12968 (RM_FE_TONEAREST): Likewise.
12969 (RM_FE_TOWARDZERO): Likewise.
12970 (RM_FE_UPWARD): Likewise.
12971 (RUN_TEST_LOOP_f_f): Update references to expected results.
12972 (RUN_TEST_LOOP_2_f): Likewise.
12973 (RUN_TEST_LOOP_fff_f): Likewise.
12974 (RUN_TEST_LOOP_c_f): Likewise.
12975 (RUN_TEST_LOOP_f_f1): Likewise.
12976 (RUN_TEST_LOOP_fF_f1): Likewise.
12977 (RUN_TEST_LOOP_fI_f1): Likewise.
12978 (RUN_TEST_LOOP_ffI_f1): Likewise.
12979 (RUN_TEST_LOOP_c_c): Likewise.
12980 (RUN_TEST_LOOP_cc_c): Likewise.
12981 (RUN_TEST_LOOP_f_i): Likewise.
12982 (RUN_TEST_LOOP_f_i_tg): Likewise.
12983 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12984 (RUN_TEST_LOOP_f_b): Likewise.
12985 (RUN_TEST_LOOP_f_b_tg): Likewise.
12986 (RUN_TEST_LOOP_f_l): Likewise.
12987 (RUN_TEST_LOOP_f_L): Likewise.
12988 (RUN_TEST_LOOP_fFF_11): Likewise.
12989 * math/gen-libm-test.pl (parse_args): Output four copies of
12990 expected results for each test.
12991
12992 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12993 (__ASSUME_UTIMES): Remove.
12994 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12995 (__ASSUME_UTIMES): Likewise.
12996
12997 * math/gen-auto-libm-tests.c: Update comment on output format.
12998 (output_for_one_input_case): Generate before-rounding and
12999 after-rounding information as conditions on output flags not
13000 floating-point format.
13001 * math/auto-libm-test-out: Regenerated.
13002 * math/gen-libm-test.pl (cond_value): New function.
13003 (or_cond_value): Use cond_value.
13004 (generate_testfile): Handle conditional exceptions.
13005
13006 2014-03-05 Joseph Myers <joseph@codesourcery.com>
13007
13008 * math/libm-test.inc (max_valid_error): New variable.
13009 (init_max_error): Take new argument specifying whether function
13010 results are exactly determined. Set max_valid_error and bound
13011 other variables for errors based on this argument.
13012 (set_max_error): Do not record results above max_valid_error.
13013 (check_float_internal): Only accept errors of up to 0.5ulps if
13014 also at most max_valid_error.
13015 (START): Take new argument EXACT and pass it to init_max_error.
13016 (acos_test): Update call to START.
13017 (acos_test_tonearest): Likewise.
13018 (acos_test_towardzero): Likewise.
13019 (acos_test_downward): Likewise.
13020 (acos_test_upward): Likewise.
13021 (acosh_test): Likewise.
13022 (asin_test): Likewise.
13023 (asin_test_tonearest): Likewise.
13024 (asin_test_towardzero): Likewise.
13025 (asin_test_downward): Likewise.
13026 (asin_test_upward): Likewise.
13027 (asinh_test): Likewise.
13028 (atan_test): Likewise.
13029 (atanh_test): Likewise.
13030 (atan2_test): Likewise.
13031 (cabs_test): Likewise.
13032 (cacos_test): Likewise.
13033 (cacosh_test): Likewise.
13034 (carg_test): Likewise.
13035 (casin_test): Likewise.
13036 (casinh_test): Likewise.
13037 (catan_test): Likewise.
13038 (catanh_test): Likewise.
13039 (cbrt_test): Likewise.
13040 (ccos_test): Likewise.
13041 (ccosh_test): Likewise.
13042 (ceil_test): Likewise.
13043 (cexp_test): Likewise.
13044 (cimag_test): Likewise.
13045 (clog_test): Likewise.
13046 (clog10_test): Likewise.
13047 (conj_test): Likewise.
13048 (copysign_test): Likewise.
13049 (cos_test): Likewise.
13050 (cos_test_tonearest): Likewise.
13051 (cos_test_towardzero): Likewise.
13052 (cos_test_downward): Likewise.
13053 (cos_test_upward): Likewise.
13054 (cosh_test): Likewise.
13055 (cosh_test_tonearest): Likewise.
13056 (cosh_test_towardzero): Likewise.
13057 (cosh_test_downward): Likewise.
13058 (cosh_test_upward): Likewise.
13059 (cpow_test): Likewise.
13060 (cproj_test): Likewise.
13061 (creal_test): Likewise.
13062 (csin_test): Likewise.
13063 (csinh_test): Likewise.
13064 (csqrt_test): Likewise.
13065 (ctan_test): Likewise.
13066 (ctan_test_tonearest): Likewise.
13067 (ctan_test_towardzero): Likewise.
13068 (ctan_test_downward): Likewise.
13069 (ctan_test_upward): Likewise.
13070 (ctanh_test): Likewise.
13071 (ctanh_test_tonearest): Likewise.
13072 (ctanh_test_towardzero): Likewise.
13073 (ctanh_test_downward): Likewise.
13074 (ctanh_test_upward): Likewise.
13075 (erf_test): Likewise.
13076 (erfc_test): Likewise.
13077 (exp_test): Likewise.
13078 (exp_test_tonearest): Likewise.
13079 (exp_test_towardzero): Likewise.
13080 (exp_test_downward): Likewise.
13081 (exp_test_upward): Likewise.
13082 (exp10_test): Likewise.
13083 (exp10_test_tonearest): Likewise.
13084 (exp10_test_towardzero): Likewise.
13085 (exp10_test_downward): Likewise.
13086 (exp10_test_upward): Likewise.
13087 (pow10_test): Likewise.
13088 (exp2_test): Likewise.
13089 (expm1_test): Likewise.
13090 (expm1_test_tonearest): Likewise.
13091 (expm1_test_towardzero): Likewise.
13092 (expm1_test_downward): Likewise.
13093 (expm1_test_upward): Likewise.
13094 (fabs_test): Likewise.
13095 (fdim_test): Likewise.
13096 (floor_test): Likewise.
13097 (fma_test): Likewise.
13098 (fma_test_towardzero): Likewise.
13099 (fma_test_downward): Likewise.
13100 (fma_test_upward): Likewise.
13101 (fmax_test): Likewise.
13102 (fmin_test): Likewise.
13103 (fmod_test): Likewise.
13104 (fpclassify_test): Likewise.
13105 (frexp_test): Likewise.
13106 (hypot_test): Likewise.
13107 (ilogb_test): Likewise.
13108 (isfinite_test): Likewise.
13109 (finite_test): Likewise.
13110 (isgreater_test): Likewise.
13111 (isgreaterequal_test): Likewise.
13112 (isinf_test): Likewise.
13113 (isless_test): Likewise.
13114 (islessequal_test): Likewise.
13115 (islessgreater_test): Likewise.
13116 (isnan_test): Likewise.
13117 (isnormal_test): Likewise.
13118 (issignaling_test): Likewise.
13119 (isunordered_test): Likewise.
13120 (j0_test): Likewise.
13121 (j1_test): Likewise.
13122 (jn_test): Likewise.
13123 (ldexp_test): Likewise.
13124 (lgamma_test): Likewise.
13125 (gamma_test): Likewise.
13126 (lrint_test): Likewise.
13127 (lrint_test_tonearest): Likewise.
13128 (lrint_test_towardzero): Likewise.
13129 (lrint_test_downward): Likewise.
13130 (lrint_test_upward): Likewise.
13131 (llrint_test): Likewise.
13132 (llrint_test_tonearest): Likewise.
13133 (llrint_test_towardzero): Likewise.
13134 (llrint_test_downward): Likewise.
13135 (llrint_test_upward): Likewise.
13136 (log_test): Likewise.
13137 (log10_test): Likewise.
13138 (log1p_test): Likewise.
13139 (log2_test): Likewise.
13140 (logb_test): Likewise.
13141 (logb_test_downward): Likewise.
13142 (lround_test): Likewise.
13143 (llround_test): Likewise.
13144 (modf_test): Likewise.
13145 (nearbyint_test): Likewise.
13146 (nextafter_test): Likewise.
13147 (nexttoward_test): Likewise.
13148 (pow_test): Likewise.
13149 (pow_test_tonearest): Likewise.
13150 (pow_test_towardzero): Likewise.
13151 (pow_test_downward): Likewise.
13152 (pow_test_upward): Likewise.
13153 (remainder_test): Likewise.
13154 (drem_test): Likewise.
13155 (remainder_test_tonearest): Likewise.
13156 (drem_test_tonearest): Likewise.
13157 (remainder_test_towardzero): Likewise.
13158 (drem_test_towardzero): Likewise.
13159 (remainder_test_downward): Likewise.
13160 (drem_test_downward): Likewise.
13161 (remainder_test_upward): Likewise.
13162 (drem_test_upward): Likewise.
13163 (remquo_test): Likewise.
13164 (rint_test): Likewise.
13165 (rint_test_tonearest): Likewise.
13166 (rint_test_towardzero): Likewise.
13167 (rint_test_downward): Likewise.
13168 (rint_test_upward): Likewise.
13169 (round_test): Likewise.
13170 (scalb_test): Likewise.
13171 (scalbn_test): Likewise.
13172 (scalbln_test): Likewise.
13173 (signbit_test): Likewise.
13174 (sin_test): Likewise.
13175 (sin_test_tonearest): Likewise.
13176 (sin_test_towardzero): Likewise.
13177 (sin_test_downward): Likewise.
13178 (sin_test_upward): Likewise.
13179 (sincos_test): Likewise.
13180 (sinh_test): Likewise.
13181 (sinh_test_tonearest): Likewise.
13182 (sinh_test_towardzero): Likewise.
13183 (sinh_test_downward): Likewise.
13184 (sinh_test_upward): Likewise.
13185 (sqrt_test): Likewise.
13186 (sqrt_test_tonearest): Likewise.
13187 (sqrt_test_towardzero): Likewise.
13188 (sqrt_test_downward): Likewise.
13189 (sqrt_test_upward): Likewise.
13190 (tan_test): Likewise.
13191 (tan_test_tonearest): Likewise.
13192 (tan_test_towardzero): Likewise.
13193 (tan_test_downward): Likewise.
13194 (tan_test_upward): Likewise.
13195 (tanh_test): Likewise.
13196 (tgamma_test): Likewise.
13197 (trunc_test): Likewise.
13198 (y0_test): Likewise.
13199 (y1_test): Likewise.
13200 (yn_test): Likewise.
13201 (significand_test): Likewise.
13202
13203 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13204 individual tests in comment.
13205 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13206 (prev_max_error): New variable.
13207 (prev_real_max_error): Likewise.
13208 (prev_imag_max_error): Likewise.
13209 (compare_ulp_data): Don't refer to test names in comment.
13210 (find_test_ulps): Remove function.
13211 (find_function_ulps): Likewise.
13212 (find_complex_function_ulps): Likewise.
13213 (init_max_error): Take function name as argument. Look up ulps
13214 for that function.
13215 (print_ulps): Remove function.
13216 (print_max_error): Use prev_max_error instead of calling
13217 find_function_ulps.
13218 (print_complex_max_error): Use prev_real_max_error and
13219 prev_imag_max_error instead of calling find_complex_function_ulps.
13220 (check_float_internal): Take max_ulp parameter instead of calling
13221 find_test_ulps. Don't call print_ulps.
13222 (check_float): Update call to check_float_internal.
13223 (check_complex): Update calls to check_float_internal.
13224 (START): Pass argument to init_max_error.
13225 * math/gen-libm-test.pl (%results): Don't include "kind"
13226 information.
13227 (parse_ulps): Don't handle ulps of individual tests.
13228 (print_ulps_file): Likewise.
13229 (output_ulps): Likewise.
13230 * math/README.libm-test: Update.
13231 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13232 individual tests.
13233 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13234 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13235 * sysdeps/arm/libm-test-ulps: Likewise.
13236 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13237 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13238 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13239 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13240 * sysdeps/microblaze/libm-test-ulps: Likewise.
13241 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13242 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13243 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13244 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13245 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13246 * sysdeps/sh/libm-test-ulps: Likewise.
13247 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13248 * sysdeps/tile/libm-test-ulps: Likewise.
13249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13250
13251 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13252
13253 * math/libm-test.inc (print_complex_max_error): Check separately
13254 whether real and imaginary errors are within allowed range and
13255 pass 0 to print_complex_function_ulps instead of value within
13256 allowed range.
13257
13258 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13259
13260 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13261 formatting.
13262 (get_handles_fopen): Likewise.
13263 (do_write_test): Likewise.
13264
13265 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13266
13267 * libio/fileops.c (do_ftell): Use cached offset when
13268 available.
13269 * libio/iofwide.c (do_ftell_wide): Likewise.
13270 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13271 _IO_file_attach.
13272 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13273
13274 [BZ #16532]
13275 * libio/libioP.h (get_file_offset): New function.
13276 * libio/fileops.c (get_file_offset): Likewise.
13277 (do_ftell): Likewise.
13278 (_IO_new_file_seekoff): Split out ftell logic.
13279 * libio/wfileops.c (do_ftell_wide): Likewise.
13280 (_IO_wfile_seekoff): Split out ftell logic.
13281 * libio/tst-ftell-active-handler.c: New test case.
13282 * libio/Makefile (tests): Add it.
13283
13284 2014-03-03 Roland McGrath <roland@hack.frob.com>
13285
13286 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13287 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13288
13289 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13290
13291 [BZ #16639]
13292 * nscd/connections.c (nscd_init): Call do_exit.
13293 (start_threads): Call do_exit and notify_parent.
13294 (begin_drop_privileges): Call do_exit.
13295 (finish_drop_privileges): Likewise.
13296 * nscd/selinux.c (preserve_capabilities): Likewise.
13297 (install_real_capabilities): Likewise.
13298 (nscd_selinux_enabled): Likewise.
13299 (avc_create_thread): Likewise.
13300 (avc_alloc_lock): Likewise.
13301 (nscd_avc_init): Likewise.
13302 * nscd/nscd.c (parent_fd): New static variable.
13303 (main): Create a pipe between parent and child processes.
13304 Skip closing parent_fd.
13305 (monitor_child): New function.
13306 (do_exit): Likewise.
13307 (notify_parent): Likewise.
13308 * nscd/nscd.h (notify_parent): Likewise.
13309 (do_exit): Likewise.
13310
13311 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13312
13313 * malloc/malloc.c (__libc_calloc): Revert last change.
13314
13315 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13316
13317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13318
13319 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13320
13321 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13323 implementation.
13324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13325 (__libc_ifunc_impl_list): Likewise.
13326 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13327 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13328 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13329 * string/strrchr.c: Define STRRCHR.
13330
13331 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13332
13333 * benchtest/bench-strtok.c (simple_strtok): Delete.
13334 (strtok_string): Use as benchmark.
13335 * string/strtok (STRTOK): New macro.
13336
13337 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13338
13339 * manual/threads.texi: Add header and standard comments to all
13340 functions.
13341
13342 * elf/dl-lookup.c (check_match): New function.
13343 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13344 (do_lookup_x): Remove nested function check_match. Use non-nested
13345 function check_match.
13346
13347 2014-02-28 Roland McGrath <roland@hack.frob.com>
13348
13349 * csu/Makefile (generated, before-compile): Use += rather than =.
13350 * catgets/Makefile (generated, generated-dirs): Likewise.
13351 * debug/Makefile (generated): Likewise.
13352 * dlfcn/Makefile (generated): Likewise.
13353 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13354 * iconvdata/Makefile (before-compile, generated): Likewise.
13355 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13356 * libio/Makefile (generated): Likewise.
13357 * malloc/Makefile (generated): Likewise.
13358 * manual/Makefile (generated, generated-dirs): Likewise.
13359 * misc/Makefile (generated): Likewise.
13360 * posix/Makefile (generated): Likewise.
13361 * resolv/Makefile (generated): Likewise.
13362 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13363 * timezone/Makefile (generated, generated-dirs): Likewise.
13364
13365 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13366
13367 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13368
13369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13370 power8 implementation.
13371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13372 file: POWER8 llround ifunc implementation.
13373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13374 (__lllround): Add POWER8 implementation.
13375 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13376 POWER8 llround implementation.
13377
13378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13379 power8 implementation.
13380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13381 file: POWER8 llrint ifunc implementation.
13382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13383 Add POWER8 implementation.
13384 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13385 POWER8 llrint implementation.
13386
13387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13388 power8 implementation.
13389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13390 file: POWER8 finite ifunc implementation.
13391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13392 Add POWER8 implementation.
13393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13394 Likewise.
13395 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13396 POWER8 finite implementation.
13397 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13398
13399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13400 power8 implementation.
13401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13402 file: POWER8 isinf ifunc implementation.
13403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13404 POWER8 implementation.
13405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13406 Likewise.
13407 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13408 isinf implementation.
13409 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13410
13411 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13412 (INIT_ARCH): Add hwcap2 initialization.
13413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13414 power8 implementation.
13415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13416 file: POWER8 isnan ifunc implementation.
13417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13418 POWER8 implementation.
13419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13420 Likewise.
13421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13422 isnan implementation.
13423 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13424
13425 2014-02-27 Joey Ye <joey.ye@arm.com>
13426
13427 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13428 (_FP_NANFRAC_Q): Set to zero.
13429
13430 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13431
13432 [BZ #16623]
13433 * math/auto-libm-test-in: New test inputs.
13434 * math/auto-libm-test-out: Regenerate.
13435 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13436 and DA.
13437 (__cos): Likewise.
13438 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13439
13440 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13441
13442 * scripts/evaluate-test.sh: Take new argument indicating whether
13443 failure is expected.
13444 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13445 indicating whether failure is expected.
13446 * conform/Makefile (test-xfail-run-conformtest): New variable.
13447 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13448 level.
13449 * posix/Makefile (test-xfail-annexc): New variable.
13450 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13451
13452 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13453
13454 * argp/Makefile: Include Makeconfig immediately after defining
13455 subdir.
13456 * assert/Makefile: Likewise.
13457 * benchtests/Makefile: Likewise.
13458 * catgets/Makefile: Likewise.
13459 * conform/Makefile: Likewise.
13460 * crypt/Makefile: Likewise.
13461 * csu/Makefile: Likewise.
13462 (all): Remove target.
13463 * ctype/Makefile: Include Makeconfig immediately after defining
13464 subdir.
13465 * debug/Makefile: Likewise.
13466 * dirent/Makefile: Likewise.
13467 * dlfcn/Makefile: Likewise.
13468 * gmon/Makefile: Likewise.
13469 * gnulib/Makefile: Likewise.
13470 * grp/Makefile: Likewise.
13471 * gshadow/Makefile: Likewise.
13472 * hesiod/Makefile: Likewise.
13473 * hurd/Makefile: Likewise.
13474 (all): Remove target.
13475 * iconvdata/Makefile: Include Makeconfig immediately after
13476 defining subdir.
13477 * inet/Makefile: Likewise.
13478 * intl/Makefile: Likewise.
13479 * io/Makefile: Likewise.
13480 * libio/Makefile: Likewise.
13481 (all): Remove target.
13482 * locale/Makefile: Include Makeconfig immediately after defining
13483 subdir.
13484 * login/Makefile: Likewise.
13485 * mach/Makefile: Likewise.
13486 (all): Remove target.
13487 * malloc/Makefile: Include Makeconfig immediately after defining
13488 subdir.
13489 (all): Remove target.
13490 * manual/Makefile: Include Makeconfig immediately after defining
13491 subdir.
13492 * math/Makefile: Likewise.
13493 * misc/Makefile: Likewise.
13494 * nis/Makefile: Likewise.
13495 * nss/Makefile: Likewise.
13496 * po/Makefile: Likewise.
13497 (all): Remove target.
13498 * posix/Makefile: Include Makeconfig immediately after defining
13499 subdir.
13500 * pwd/Makefile: Likewise.
13501 * resolv/Makefile: Likewise.
13502 * resource/Makefile: Likewise.
13503 * rt/Makefile: Likewise.
13504 * setjmp/Makefile: Likewise.
13505 * shadow/Makefile: Likewise.
13506 * signal/Makefile: Likewise.
13507 * socket/Makefile: Likewise.
13508 * soft-fp/Makefile: Likewise.
13509 * stdio-common/Makefile: Likewise.
13510 * stdlib/Makefile: Likewise.
13511 * streams/Makefile: Likewise.
13512 * string/Makefile: Likewise.
13513 * sunrpc/Makefile: Likewise.
13514 (all): Remove target.
13515 * sysvipc/Makefile: Include Makeconfig immediately after defining
13516 subdir.
13517 * termios/Makefile: Likewise.
13518 * time/Makefile: Likewise.
13519 * timezone/Makefile: Likewise.
13520 (all): Remove target.
13521 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13522 subdir.
13523 * wctype/Makefile: Likewise.
13524
13525 2014-02-26 Steve Ellcey <sellcey@mips.com>
13526
13527 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13528 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13529 (libc_feholdexcept_setround_mips): Ditto.
13530 (libc_feholdsetround): New.
13531 (libc_feholdsetroundf): New.
13532 (libc_feholdsetroundl): New.
13533 (libc_feupdateenv_test_mips): New.
13534 (libc_feupdateenv_test): New.
13535 (libc_feupdateenv_testf): New.
13536 (libc_feupdateenv_testl): New.
13537 (libc_feresetround): New.
13538 (libc_feresetroundf): New.
13539 (libc_feresetroundl): New.
13540 (libc_fetestexcept_mips): New.
13541 (libc_fetestexcept): New.
13542 (libc_fetestexceptf): New.
13543 (libc_fetestexceptl): New.
13544 (HAVE_RM_CTX): New.
13545 (libc_feholdexcept_setround_mips_ctx): New.
13546 (libc_feholdexcept_setround_ctx): New.
13547 (libc_feholdexcept_setroundf_ctx): New.
13548 (libc_feholdexcept_setroundl_ctx): New.
13549 (libc_fesetenv_mips_ctx): New.
13550 (libc_fesetenv_ctx): New.
13551 (libc_fesetenv_ctxf): New.
13552 (libc_fesetenv_ctxl): New.
13553 (libc_feupdateenv_mips_ctx): New.
13554 (libc_feupdateenv_ctx): New.
13555 (libc_feupdateenvf_ctx): New.
13556 (libc_feupdateenvl_ctx): New.
13557 (libc_feholdsetround_mips_ctx): New.
13558 (libc_feholdsetround_ctx): New.
13559 (libc_feholdsetroundf_ctx): New.
13560 (libc_feholdsetroundl_ctx): New.
13561 (libc_feresetround_mips_ctx): New.
13562 (libc_feresetround_ctx): New.
13563 (libc_feresetroundf_ctx): New.
13564 (libc_feresetroundl_ctx): New.
13565
13566 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13567
13568 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13569
13570 * manual/ipc.texi: New file.
13571 * manual/Makefile (chapters): Add ipc.
13572 * manual/job.texi: Add "Inter-Process Communication" to next.
13573 * manual/process.texi: Add "Inter-Process Communication" to prev.
13574
13575 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13576
13577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13578
13579 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13580
13581 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13582
13583 * manual/arith.texi: Fix spaces after sentences.
13584 * manual/charset.texi: Likewise.
13585 * manual/errno.texi: Likewise.
13586 * manual/install.texi: Likewise.
13587 * manual/llio.texi: Likewise.
13588 * manual/locale.texi: Likewise.
13589 * manual/maint.texi: Likewise.
13590 * manual/math.texi: Likewise.
13591 * manual/memory.texi: Likewise.
13592 * manual/message.texi: Likewise.
13593 * manual/probes.texi: Likewise.
13594 * manual/resource.texi: Likewise.
13595 * manual/signal.texi: Likewise.
13596 * manual/socket.texi: Likewise.
13597 * manual/stdio.texi: Likewise.
13598 * manual/string.texi: Likewise.
13599 * manual/time.texi: Likewise.
13600 * manual/users.texi: Likewise.
13601
13602 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13603
13604 [BZ #16632]
13605 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13606 _DEFAULT_SOURCE is defined.
13607
13608 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13609 Carlos O'Donell <carlos@redhat.com>
13610
13611 [BZ #16613]
13612 * elf/dl-tls.c (_dl_count_modids): New function.
13613 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13614 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13615 audit library and increment generation counter.
13616 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13617 * elf/tst-audit9.c: New file.
13618 * elf/tst-auditmod9a.c: New file.
13619 * elf/tst-auditmod9b.c: New file.
13620 * elf/Makefile: Add rules to build and run tst-audit9.
13621
13622 2014-02-25 Florian Weimer <fweimer@redhat.com>
13623
13624 [BZ #15347]
13625 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13626
13627 2014-02-25 Will Newton <will.newton@linaro.org>
13628
13629 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13630 (__longjmp): Restore sp and lr before restoring callee
13631 saved registers. Add longjmp and longjmp_target
13632 SystemTap probe point.
13633 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13634 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13635 Define to zero to match jmpbuf layout.
13636 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13637 (__sigsetjmp): Save sp and lr before saving callee
13638 saved registers. Add setjmp SystemTap probe point.
13639
13640 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13641
13642 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13643
13644 2014-02-24 Andreas Schwab <schwab@suse.de>
13645
13646 [BZ #15804]
13647 * elf/pldd.c (wait_for_ptrace_stop): New function.
13648 (main): Call it after attaching.
13649
13650 2014-02-22 Roland McGrath <roland@hack.frob.com>
13651
13652 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13653 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13654 Versions files is now verboten.
13655 * hurd/Versions (libc: GLIBC_2.0):
13656 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13657 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13658 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13659 * mach/Versions: Likewise.
13660
13661 * csu/Versions: Remove unused %include.
13662 * resolv/Versions: Likewise.
13663
13664 2014-02-21 Joseph Myers <joseph@codesourcery.com>
13665
13666 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13667 ($(objpfx)check-local-headers.out): Likewise.
13668 ($(objpfx)begin-end-check.out): Likewise.
13669 * Makerules (check-abi-%.out): Likewise.
13670 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13671 ($(objpfx)test2.cat): Likewise.
13672 ($(objpfx)de/libc.cat): Likewise.
13673 ($(objpfx)test-gencat.out): Likewise.
13674 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13675 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13676 ($(objpfx)noload-mem): Likewise.
13677 ($(objpfx)tst-pathopt.out): Likewise.
13678 ($(objpfx)tst-rtld-load-self.out): Likewise.
13679 ($(objpfx)tst-array1-cmp.out): Likewise.
13680 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13681 ($(objpfx)tst-array2-cmp.out): Likewise.
13682 ($(objpfx)tst-array3-cmp.out): Likewise.
13683 ($(objpfx)tst-array4-cmp.out): Likewise.
13684 ($(objpfx)tst-array5-cmp.out): Likewise.
13685 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13686 ($(objpfx)check-textrel.out): Likewise.
13687 ($(objpfx)check-execstack.out): Likewise.
13688 ($(objpfx)check-localplt.out): Likewise.
13689 ($(objpfx)order2-cmp.out): Likewise.
13690 ($(objpfx)tst-leaks1-mem): Likewise.
13691 ($(objpfx)tst-leaks1-static-mem): Likewise.
13692 ($(objpfx)tst-initorder-cmp.out): Likewise.
13693 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13694 ($(objpfx)tst-unused-dep.out): Likewise.
13695 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13696 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13697 * iconv/Makefile (test-iconvconfig): Likewise.
13698 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13699 ($(objpfx)iconv-test.out): Likewise.
13700 ($(objpfx)tst-tables.out): Likewise.
13701 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13702 ($(objpfx)tst-gettext.out): Likewise.
13703 ($(objpfx)tst-translit.out): Likewise.
13704 ($(objpfx)tst-gettext2.out): Likewise.
13705 ($(objpfx)tst-gettext4.out): Likewise.
13706 ($(objpfx)tst-gettext6.out): Likewise.
13707 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13708 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13709 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13710 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13711 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13712 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13713 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13714 ($(objpfx)wordexp-tst.out): Likewise.
13715 ($(objpfx)annexc.out): Likewise.
13716 ($(objpfx)tst-fnmatch-mem): Likewise.
13717 ($(objpfx)bug-regex2-mem): Likewise.
13718 ($(objpfx)bug-regex14-mem): Likewise.
13719 ($(objpfx)bug-regex21-mem): Likewise.
13720 ($(objpfx)bug-regex31-mem): Likewise.
13721 ($(objpfx)tst-vfork3-mem): Likewise.
13722 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13723 ($(objpfx)tst-pcre-mem): Likewise.
13724 ($(objpfx)tst-boost-mem): Likewise.
13725 ($(objpfx)tst-getconf.out): Likewise.
13726 ($(objpfx)bug-ga2-mem): Likewise.
13727 ($(objpfx)bug-glob2-mem): Likewise.
13728 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13729 ($(objpfx)mtrace-tst-leaks2): Likewise.
13730 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13731 ($(objpfx)tst-printf.out): Likewise.
13732 ($(objpfx)tst-setvbuf1.out): Likewise.
13733 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13734 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13735 ($(objpfx)tst-fmtmsg.out): Likewise.
13736 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13737 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13738
13739 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13740 * bits/sigaction.h [__USE_MISC]: Likewise.
13741 * bits/waitstatus.h: Update #endif comments.
13742 * ctype/ctype.h: Likewise.
13743 * dirent/dirent.h: Likewise.
13744 [__USE_MISC]: Remove redundant conditionals.
13745 * grp/grp.h: Update #endif comments.
13746 [__USE_GNU]: Remove redundant conditionals.
13747 [__USE_MISC]: Likewise.
13748 * inet/netinet/in.h [__USE_GNU]: Likewise.
13749 * io/sys/stat.h [__USE_MISC]: Likewise.
13750 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13751 * libio/bits/stdio.h: Update #endif comments.
13752 [__USE_MISC]: Remove redundant conditionals.
13753 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13754 * libio/stdio.h: Update #endif comments.
13755 [__USE_MISC]: Remove redundant conditionals.
13756 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13757 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13758 * math/math.h: Update #else and #endif comments.
13759 [__USE_MISC]: Remove redundant conditionals.
13760 * misc/sys/uio.h: Update #endif comments.
13761 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13762 * posix/glob.h [__USE_MISC]: Likewise.
13763 * posix/sys/types.h: Update #endif comments.
13764 [__USE_MISC]: Remove redundant conditionals.
13765 * posix/sys/wait.h: Update #endif comments.
13766 [__USE_MISC]: Remove redundant conditionals.
13767 * posix/unistd.h: Update #endif comments.
13768 [__USE_MISC]: Remove redundant conditionals.
13769 * pwd/pwd.h [__USE_GNU]: Likewise.
13770 [__USE_MISC]: Likewise.
13771 * resolv/netdb.h [__USE_GNU]: Likewise.
13772 * signal/signal.h: Update #endif comments.
13773 [__USE_MISC]: Remove redundant conditionals.
13774 * stdlib/stdlib.h: Update #else and #endif comments.
13775 [__USE_MISC]: Remove redundant conditionals.
13776 [__USE_GNU]: Likewise.
13777 * string/bits/string2.h [__USE_MISC]: Likewise.
13778 * string/string.h: Update #endif comments.
13779 [__USE_MISC]: Remove redundant conditionals.
13780 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13781 Likewise.
13782 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13783 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13784 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13785 Likewise.
13786 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13787 Likewise.
13788 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13789 comments.
13790 [__USE_MISC]: Remove redundant conditionals.
13791 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13792 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13793 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13794 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13795 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13796 Likewise.
13797 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13798 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13799 Likewise.
13800 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13801 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13802 Likewise.
13803 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13804 Likewise.
13805 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13806 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13807 Likewise.
13808 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13809 Likewise.
13810 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13811 * sysdeps/x86/bits/string.h: Update #endif comments.
13812 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13813 conditionals.
13814 * time/sys/time.h: Update #endif comments.
13815 * time/time.h: Likewise.
13816 [__USE_MISC]: Remove redundant conditionals.
13817
13818 2014-02-21 Yury Gribov <y.gribov@samsung.com>
13819
13820 [BZ #16600]
13821 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13822
13823 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13824
13825 * Versions.def (librt): Add GLIBC_2.17.
13826
13827 2014-02-21 Adam Conrad <adconrad@0c3.net>
13828
13829 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13830 synonym for _SYS_AUXV_H to allow direct inclusion.
13831 * sysdeps/sparc/bits/hwcap.h: Likewise.
13832 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13833 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13834 * sysdeps/sparc/sysdep.h: Likewise.
13835
13836 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13837
13838 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13839
13840 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13841
13842 * benchtests/bench-strrchr.c: Print length instead of position.
13843
13844 2014-02-20 Joseph Myers <joseph@codesourcery.com>
13845
13846 [BZ #16611]
13847 * sysdeps/unix/sysv/linux/kernel-features.h
13848 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13849 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13850 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13851 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13852 Likewise.
13853 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13854 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13855 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13856 (__ASSUME_SENDMMSG): Define instead of using previous
13857 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13858 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13859 (__ASSUME_SENDMMSG_SYSCALL): Define.
13860 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13861 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13862 Likewise.
13863 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13864 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13865 Likewise.
13866 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13867 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13868 Likewise.
13869 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13870 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13871 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13872 [__ASSUME_SENDMMSG]: Change conditionals to
13873 [__ASSUME_SENDMMSG_SOCKETCALL].
13874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13875 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13876 Define.
13877 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13878 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13879 Likewise.
13880 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13881 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13882 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13883 [!__ASSUME_SENDMMSG]: Change conditional to
13884 [!__ASSUME_SENDMMSG_SOCKETCALL].
13885 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13886 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13887 Define.
13888
13889 [BZ #16610]
13890 * sysdeps/unix/sysv/linux/kernel-features.h
13891 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13892 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13893 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13894 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13895 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13896 [__i386__ || __sparc__]
13897 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13898 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13899 (__ASSUME_RECVMMSG): Define instead of using previous
13900 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13901 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13902 (__ASSUME_RECVMMSG_SYSCALL): Define.
13903 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13904 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13905 Likewise.
13906 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13907 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13908 Likewise.
13909 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13910 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13911 Likewise.
13912 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13913 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13914 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13915 [__ASSUME_RECVMMSG]: Change condition to
13916 [__ASSUME_RECVMMSG_SOCKETCALL].
13917 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13918 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13919 Define.
13920 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13921 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13922 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13923 Likewise.
13924 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13925 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13926 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13927 [!__ASSUME_RECVMMSG]: Change condition to
13928 [!__ASSUME_RECVMMSG_SOCKETCALL].
13929 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13930 (__ASSUME_RECVMMSG_SYSCALL): Define.
13931
13932 [BZ #16609]
13933 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13934 __powerpc__ || __s390__ || __sh__ || __sparc__]
13935 (__ASSUME_SOCKETCALL): Define.
13936 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13937 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13938 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13939 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13940 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13941 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13942 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13943 (__ASSUME_ACCEPT4): Define instead of using previous
13944 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13945 __powerpc__ || __sparc__ || __s390__)] condition.
13946 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13947 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13948 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13949 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13950 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13951 [!__ASSUME_ACCEPT4]: Change condition to
13952 [!__ASSUME_ACCEPT4_SOCKETCALL].
13953 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13954 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13955 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13956 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13957 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13958 __ASSUME_ACCEPT4_SYSCALL.
13959 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13960 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13961 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13962 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13963 __ASSUME_ACCEPT4_SYSCALL.
13964 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13965 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13966 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13967 [__ASSUME_ACCEPT4]: Change condition to
13968 [__ASSUME_ACCEPT4_SOCKETCALL].
13969 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13970 (__ASSUME_SOCKETCALL): Define.
13971 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13972 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13973 (__ASSUME_SOCKETCALL): Define.
13974 (__ASSUME_ACCEPT4): Remove.
13975 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13976 Define.
13977 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13978 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13979 Likewise.
13980 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13981 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13982
13983 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13984 macro.
13985 (HWCAP_ARM_LPAE): Likewise.
13986 (HWCAP_ARM_EVTSTRM): Likewise.
13987 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13988 Add vpfd32, lpae and evtstrm.
13989 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13990 Increase to 22.
13991
13992 2014-02-19 Joseph Myers <joseph@codesourcery.com>
13993
13994 * math/auto-libm-test-in: Add tests of clog10.
13995 * math/auto-libm-test-out: Regenerated.
13996 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13997 * sysdeps/i386/fpu/libm-test-ulps: Update.
13998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13999
14000 2014-02-18 Andreas Schwab <schwab@suse.de>
14001
14002 [BZ #16574]
14003 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14004 Store non-zero if the second buffer was newly allocated.
14005 (send_dg): Likewise.
14006 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14007 to send_vc and send_dg.
14008 (res_nsend): Pass NULL for ansp2_malloced.
14009 * resolv/res_query.c (__libc_res_nquery): Add parameter
14010 answerp2_malloced and pass it down to __libc_res_nsend.
14011 (res_nquery): Pass additional NULL to __libc_res_nquery.
14012 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14013 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14014 second answer buffer if answerp2_malloced was set.
14015 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14016 (__libc_res_nquerydomain): Add parameter
14017 answerp2_malloced and pass it down to __libc_res_nquery.
14018 (res_nquerydomain): Pass additional NULL to
14019 __libc_res_nquerydomain.
14020 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14021 additional NULL to __libc_res_nsend and __libc_res_nquery.
14022 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14023 additional NULL to __libc_res_nsearch.
14024 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14025 parameter of __libc_res_nsearch to check for separately allocated
14026 second buffer.
14027 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14028 __libc_res_nquery.
14029 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14030 additional NULL to __libc_res_nquery.
14031 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14032 __libc_res_nsearch.
14033 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14034 * include/resolv.h: Update prototypes of __libc_res_nquery,
14035 __libc_res_nsearch, __libc_res_nsend.
14036
14037 2014-02-18 Joseph Myers <joseph@codesourcery.com>
14038
14039 * math/auto-libm-test-in: Add tests of fma.
14040 * math/auto-libm-test-out: Regenerated.
14041 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14042 (fma_towardzero_test_data): Likewise.
14043 (fma_downward_test_data): Likewise.
14044 (fma_upward_test_data): Likewise.
14045 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14046 mpc_mode.
14047 (rounding_modes): Add values for new field.
14048 (func_calc_method): Add value mpfr_fff_f.
14049 (func_calc_desc): Add mpfr_fff_f union field.
14050 (test_function): Add field exact_args.
14051 (FUNC): Add macro argument EXACT_ARGS.
14052 (FUNC_mpfr_f_f): Update call to FUNC.
14053 (FUNC_mpfr_f_f): Likewise.
14054 (FUNC_mpfr_ff_f): Likewise.
14055 (FUNC_mpfr_if_f): Likewise.
14056 (FUNC_mpc_c_f): Likewise.
14057 (FUNC_mpc_c_c): Likewise.
14058 (test_functions): Add fma. Update calls to FUNC.
14059 (handle_input_arg): Add argument exact_args.
14060 (add_test): Update call to handle_input_arg.
14061 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14062 (output_for_one_input_case): Update call to calc_generic_results.
14063 Recalculate exact zero results in each rounding mode.
14064
14065 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14066 non-negative before setting low bit.
14067 * math/auto-libm-test-in: Mark one asin test possibly having
14068 spurious underflow.
14069 * math/auto-libm-test-out: Regenerated.
14070 * sysdeps/i386/fpu/libm-test-ulps: Update.
14071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14072
14073 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14074
14075 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14076 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14077 ports/sysdeps/unix/sysv/linux/microblaze.
14078 * README: Add missing listing for microblaze*-*-linux-gnu.
14079
14080 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
14081
14082 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14083 duplicate code
14084
14085 2014-02-16 Mike Frysinger <vapier@gentoo.org>
14086
14087 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14088 * sysdeps/unix/sysv/linux/ia64: Move directory from
14089 ports/sysdeps/unix/sysv/linux/ia64.
14090 * README: Update listing for ia64-*-linux-gnu.
14091
14092 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14093 Joseph Myers <joseph@codesourcery.com>
14094
14095 * Makeconfig (test-name): New variable.
14096 (evaluate-test): Likewise.
14097 * Makerules (do-test-clean): Remove .test-result files.
14098 (common-mostlyclean): Likewise.
14099 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14100 * scripts/evaluate-test.sh: New file.
14101
14102 2014-02-14 Joseph Myers <joseph@codesourcery.com>
14103
14104 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14105 separate $(objpfx)tst-fopenloc-cmp.out and
14106 $(objpfx)tst-fopenloc-mem.out targets.
14107 (tests): Update dependencies.
14108 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14109 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14110 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14111 (tst-rxspencer-no-utf8-ARGS): New variable.
14112 (tst-rxspencer-no-utf8-ENV): Likewise.
14113 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14114 instead of $(objpfx)tst-rxspencer-mem.
14115 ($(objpfx)tst-rxspencer-mem): Change target to
14116 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14117 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14118 * posix/tst-rxspencer-no-utf8.c: New file.
14119
14120 * elf/Makefile ($(objpfx)order.out): Remove rule.
14121 [$(run-built-tests) = yes] (tests): Depend on
14122 $(objpfx)order-cmp.out.
14123 ($(objpfx)order-cmp.out): New rule.
14124 [$(run-built-tests) = yes] (tests): Depend on
14125 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14126 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14127 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14128 $(objpfx)tst-array5-static-cmp.out.
14129 ($(objpfx)tst-array1.out): Remove rule.
14130 ($(objpfx)tst-array1-cmp.out): New rule.
14131 ($(objpfx)tst-array1-static.out): Remove rule.
14132 ($(objpfx)tst-array1-static-cmp.out): New rule.
14133 ($(objpfx)tst-array2.out): Remove rule.
14134 ($(objpfx)tst-array2-cmp.out): New rule.
14135 ($(objpfx)tst-array3.out): Remove rule.
14136 ($(objpfx)tst-array3-cmp.out): New rule.
14137 ($(objpfx)tst-array4.out): Remove rule.
14138 ($(objpfx)tst-array4-cmp.out): New rule.
14139 ($(objpfx)tst-array5.out): Remove rule.
14140 ($(objpfx)tst-array5-cmp.out): New rule.
14141 ($(objpfx)tst-array5-static.out): Remove rule.
14142 ($(objpfx)tst-array5-static-cmp.out): New rule.
14143 [$(run-built-tests) = yes] (tests): Depend on
14144 $(objpfx)order2-cmp.out.
14145 ($(objpfx)order2.out): Remove rule.
14146 ($(objpfx)order2-cmp.out): New rule.
14147 ($(objpfx)tst-initorder.out): Remove rule.
14148 [$(run-built-tests) = yes] (tests): Depend on
14149 $(objpfx)tst-initorder-cmp.out.
14150 ($(objpfx)tst-initorder-cmp.out): New rule.
14151 ($(objpfx)tst-initorder2.out): Remove rule.
14152 [$(run-built-tests) = yes] (tests): Depend on
14153 $(objpfx)tst-initorder2-cmp.out.
14154 ($(objpfx)tst-initorder2-cmp.out): New rule.
14155 [$(run-built-tests) = yes] (tests): Depend on
14156 $(objpfx)tst-unused-dep-cmp.out.
14157 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14158 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14159 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14160 on $(objpfx)tst-setvbuf1-cmp.out.
14161 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14162 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14163 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14164 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14165 ($(objpfx)tst-svc.out): Remove rule.
14166 ($(objpfx)tst-svc-cmp.out): New rule.
14167
14168 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14169
14170 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14171 * ctype/ctype.h [__USE_MISC]: Likewise.
14172 * dirent/dirent.h [__USE_MISC]: Likewise.
14173 * grp/grp.h [__USE_MISC]: Likewise.
14174 * io/fcntl.h [__USE_MISC]: Likewise.
14175 * io/sys/stat.h [__USE_MISC]: Likewise.
14176 * libio/stdio.h [__USE_MISC]: Likewise.
14177 * posix/unistd.h [__USE_MISC]: Likewise.
14178 * pwd/pwd.h [__USE_MISC]: Likewise.
14179 * stdlib.h [__USE_MISC]: Likewise.
14180 * string/bits/string2.h [__USE_MISC]: Likewise.
14181 * string/string.h [__USE_MISC]: Likewise.
14182 * time/time.h [__USE_MISC]: Likewise.
14183
14184 2014-02-13 Andreas Schwab <schwab@suse.de>
14185
14186 [BZ #16574]
14187 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14188 second answer buffer if it was separately allocated.
14189
14190 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14191
14192 * sysdeps/mips/math-tests.h: Include <features.h>.
14193 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14194 (ROUNDING_TESTS_long_double): Do not define.
14195 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14196 (EXCEPTION_TESTS_long_double): Likewise.
14197 * sysdeps/mips/mips64/libm-test-ulps: Update.
14198
14199 * include/features.h (__USE_BSD): Remove macro definitions.
14200 (__USE_SVID): Likewise.
14201 (_BSD_SOURCE): Likewise.
14202 (_SVID_SOURCE): Likewise.
14203 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14204 from definition of _DEFAULT_SOURCE.
14205 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14206 [_DEFAULT_SOURCE].
14207 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14208 * bits/mman.h [__USE_BSD]: Likewise.
14209 * bits/termios.h [__USE_BSD]: Likewise.
14210 * bits/waitstatus.h [__USE_BSD]: Likewise.
14211 * ctype/ctype.h [__USE_SVID]: Likewise.
14212 * dirent/dirent.h [__USE_BSD]: Likewise.
14213 * grp/grp.h [__USE_SVID]: Likewise.
14214 [__USE_BSD]: Likewise.
14215 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14216 * io/fcntl.h [__USE_BSD]: Likewise.
14217 * io/ftw.h [__USE_BSD]: Likewise.
14218 * io/sys/stat.h [__USE_BSD]: Likewise.
14219 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14220 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14221 * libio/stdio.h [__USE_SVID]: Likewise.
14222 [__USE_BSD]: Likewise.
14223 * math/math.h [__USE_SVID]: Likewise.
14224 [__USE_BSD]: Likewise.
14225 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14226 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14227 * misc/search.h [__USE_SVID]: Likewise.
14228 * misc/sys/mman.h [__USE_BSD]: Likewise.
14229 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14230 * misc/sys/uio.h [__USE_BSD]: Likewise.
14231 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14232 * posix/glob.h [__USE_BSD]: Likewise.
14233 * posix/regex.h [__USE_BSD]: Likewise.
14234 * posix/sys/types.h [__USE_BSD]: Likewise.
14235 [__USE_SVID]: Likewise.
14236 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14237 * posix/sys/wait.h [__USE_BSD]: Likewise.
14238 [__USE_SVID]: Likewise.
14239 * posix/unistd.h [__USE_BSD]: Likewise.
14240 [__USE_SVID]: Likewise.
14241 * pwd/pwd.h [__USE_SVID]: Likewise.
14242 * resolv/netdb.h [__USE_BSD]: Likewise.
14243 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14244 * signal/signal.h [__USE_BSD]: Likewise.
14245 [__USE_SVID]: Likewise.
14246 * socket/sys/socket.h [__USE_BSD]: Likewise.
14247 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14248 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14249 [__USE_SVID]: Likewise.
14250 * string/bits/string2.h [__USE_BSD]: Likewise.
14251 [__USE_SVID]: Likewise.
14252 * string/bits/string3.h [__USE_BSD]: Likewise.
14253 * string/endian.h [__USE_BSD]: Likewise.
14254 * string/string.h [__USE_SVID]: Likewise.
14255 [__USE_BSD]: Likewise.
14256 * string/strings.h [__USE_BSD]: Likewise.
14257 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14258 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14259 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14260 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14261 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14262 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14263 Likewise.
14264 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14265 Likewise.
14266 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14267 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14268 Likewise.
14269 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14270 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14271 Likewise.
14272 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14273 Likewise.
14274 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14275 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14276 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14277 Likewise.
14278 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14279 Likewise.
14280 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14281 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14282 * termios/termios.h [__USE_BSD]: Likewise.
14283 * time/sys/time.h [__USE_BSD]: Likewise.
14284 * time/time.h [__USE_BSD]: Likewise.
14285 [__USE_SVID]: Likewise.
14286
14287 * Makefile (subdir_targets): Remove subdir_lint.out.
14288
14289 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14290 (do-tst-printf): Likewise.
14291 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14292 $(objpfx)tst-printf.out.
14293
14294 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14295
14296 * Makerules (check-abi-%): Change target to
14297 $(objpfx)check-abi-%.out.
14298 (check-abi target): Update dependencies.
14299 (check-abi-pattern variable): Redirect output of diff to $@.
14300 (check-abi variable): Likewise.
14301 * elf/Makefile (check-abi): Update dependencies.
14302
14303 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14304 unused.
14305 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14306 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14307 subnormal range.
14308 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14309 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14310 value has largest subnormal exponent.
14311 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14312 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14313 * sysdeps/aarch64/soft-fp/sfp-machine.h
14314 (_FP_TININESS_AFTER_ROUNDING): New macro.
14315 * sysdeps/alpha/soft-fp/sfp-machine.h
14316 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14317 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14318 Likewise.
14319 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14320 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14321 * sysdeps/mips/soft-fp/sfp-machine.h
14322 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14323 * sysdeps/powerpc/soft-fp/sfp-machine.h
14324 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14325 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14326 Likewise.
14327 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14329 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14330 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14331 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14332 Likewise.
14333
14334 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14335
14336 [BZ #16545]
14337 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14338 model 1.
14339
14340 2014-02-12 Richard Henderson <rth@redhat.com>
14341
14342 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14343 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14344 * sysdeps/unix/sysv/linux/alpha: Move directory from
14345 ports/sysdeps/unix/sysv/linux/alpha.
14346 * README: Update listing for alpha-*-linux-gnu.
14347
14348 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14349
14350 * include/features.h: Update comment documenting feature test
14351 macros.
14352 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14353 _DEFAULT_SOURCE.
14354 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14355 (_SVID_SOURCE): Likewise.
14356 (_DEFAULT_SOURCE): Update description of default features.
14357 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14358 with _GNU_SOURCE.
14359 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14360 (S_ISVTX): Likewise.
14361 * manual/math.texi (Mathematical Constants): Likewise.
14362 * manual/signal.texi (Interrupted Primitives): Likewise.
14363 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14364 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14365 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14366 Don't refer to _SVID_SOURCE in warning text.
14367
14368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14369
14370 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14371 already defined.
14372 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14373 * sysdeps/mips/dl-lookup.c: Remove.
14374 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14375
14376 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14377
14378 [BZ #16447]
14379 * math/auto-libm-test-in: Add testcase for expl.
14380 * math/auto-libm-test-out: Regenerate.
14381 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14382 calculation of unsafe.
14383 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14384
14385 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14386
14387 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14388 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14389 ports/sysdeps/unix/sysv/linux/aarch64.
14390 * README: Update listing for aarch64*-*-linux-gnu.
14391
14392 2014-02-11 Will Newton <will.newton@linaro.org>
14393
14394 * manual/probes.texi (Mathematical Function Probes): Use
14395 "triggered" instead of "hit".
14396
14397 * manual/probes.texi (Internal Probes): Add documentation
14398 of setjmp, longjmp and longjmp_target probes.
14399
14400 * include/stap-probe.h: Add comment about probe argument
14401 format.
14402
14403 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14404 definition. (tr_where, tr_freehook, tr_mallochook,
14405 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14406
14407 2014-02-11 David S. Miller <davem@davemloft.net>
14408
14409 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14410 processing int_tests.
14411
14412 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14413
14414 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14415 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14416 * sysdeps/unix/sysv/linux/mips: Move directory from
14417 ports/sysdeps/unix/sysv/linux/mips.
14418 * README: Update listing for mips-*-linux-gnu and
14419 mips64-*-linux-gnu.
14420
14421 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14422
14423 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14424 * sysdeps/unix/sysv/linux/m68k: Move directory from
14425 ports/sysdeps/unix/sysv/linux/m68k.
14426 * README: Update listing for m68k-*-linux-gnu.
14427
14428 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14429
14430 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14431 * sysdeps/unix/sysv/linux/generic: Move directory from
14432 ports/sysdeps/unix/sysv/linux/generic.
14433 * sysdeps/unix/sysv/linux/tile: Move directory from
14434 ports/sysdeps/unix/sysv/linux/tile.
14435 * README: Update listing for tile*-*-linux-gnu.
14436
14437 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14438
14439 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14440 __builtin_expect.
14441 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14442 * catgets/open_catalog.c (__open_catalog): Likewise.
14443 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14444 * debug/confstr_chk.c: Likewise.
14445 * debug/fread_chk.c (__fread_chk): Likewise.
14446 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14447 * debug/getgroups_chk.c: Likewise.
14448 * debug/mbsnrtowcs_chk.c: Likewise.
14449 * debug/mbsrtowcs_chk.c: Likewise.
14450 * debug/mbstowcs_chk.c: Likewise.
14451 * debug/memcpy_chk.c: Likewise.
14452 * debug/memmove_chk.c: Likewise.
14453 * debug/mempcpy_chk.c: Likewise.
14454 * debug/memset_chk.c: Likewise.
14455 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14456 * debug/strcat_chk.c (__strcat_chk): Likewise.
14457 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14458 * debug/strncat_chk.c (__strncat_chk): Likewise.
14459 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14460 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14461 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14462 * debug/wcpncpy_chk.c: Likewise.
14463 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14464 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14465 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14466 * debug/wcsncpy_chk.c: Likewise.
14467 * debug/wcsnrtombs_chk.c: Likewise.
14468 * debug/wcsrtombs_chk.c: Likewise.
14469 * debug/wcstombs_chk.c: Likewise.
14470 * debug/wmemcpy_chk.c: Likewise.
14471 * debug/wmemmove_chk.c: Likewise.
14472 * debug/wmempcpy_chk.c: Likewise.
14473 * debug/wmemset_chk.c: Likewise.
14474 * dirent/scandirat.c (SCANDIRAT): Likewise.
14475 * dlfcn/dladdr1.c (dladdr1): Likewise.
14476 * dlfcn/dladdr.c (dladdr): Likewise.
14477 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14478 * dlfcn/dlerror.c (__dlerror): Likewise.
14479 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14480 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14481 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14482 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14483 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14484 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14485 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14486 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14487 Likewise.
14488 * elf/dl-conflict.c: Likewise.
14489 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14490 * elf/dl-dst.h: Likewise.
14491 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14492 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14493 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14494 * elf/dl-init.c (call_init, _dl_init): Likewise.
14495 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14496 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14497 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14498 Likewise.
14499 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14500 Likewise.
14501 * elf/dl-minimal.c (__libc_memalign): Likewise.
14502 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14503 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14504 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14505 * elf/dl-sym.c (do_sym): Likewise.
14506 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14507 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14508 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14509 * elf/dl-writev.h (_dl_writev): Likewise.
14510 * elf/ldconfig.c (search_dir): Likewise.
14511 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14512 (dl_main): Likewise.
14513 * elf/setup-vdso.h (setup_vdso): Likewise.
14514 * grp/compat-initgroups.c (compat_call): Likewise.
14515 * grp/fgetgrent.c (fgetgrent): Likewise.
14516 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14517 * grp/putgrent.c (putgrent): Likewise.
14518 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14519 Likewise.
14520 * hurd/hurdinit.c: Likewise.
14521 * iconvdata/8bit-gap.c (struct): Likewise.
14522 * iconvdata/ansi_x3.110.c : Likewise.
14523 * iconvdata/big5.c : Likewise.
14524 * iconvdata/big5hkscs.c : Likewise.
14525 * iconvdata/cp1255.c: Likewise.
14526 * iconvdata/cp1258.c : Likewise.
14527 * iconvdata/cp932.c : Likewise.
14528 * iconvdata/euc-cn.c: Likewise.
14529 * iconvdata/euc-jisx0213.c : Likewise.
14530 * iconvdata/euc-jp.c: Likewise.
14531 * iconvdata/euc-jp-ms.c : Likewise.
14532 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14533 * iconvdata/gb18030.c : Likewise.
14534 * iconvdata/gbbig5.c (const): Likewise.
14535 * iconvdata/gbgbk.c: Likewise.
14536 * iconvdata/gbk.c : Likewise.
14537 * iconvdata/ibm1364.c : Likewise.
14538 * iconvdata/ibm930.c : Likewise.
14539 * iconvdata/ibm932.c: Likewise.
14540 * iconvdata/ibm933.c : Likewise.
14541 * iconvdata/ibm935.c : Likewise.
14542 * iconvdata/ibm937.c : Likewise.
14543 * iconvdata/ibm939.c : Likewise.
14544 * iconvdata/ibm943.c: Likewise.
14545 * iconvdata/iso_11548-1.c: Likewise.
14546 * iconvdata/iso-2022-cn.c : Likewise.
14547 * iconvdata/iso-2022-cn-ext.c : Likewise.
14548 * iconvdata/iso-2022-jp-3.c: Likewise.
14549 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14550 * iconvdata/iso-2022-kr.c : Likewise.
14551 * iconvdata/iso646.c (gconv_end): Likewise.
14552 * iconvdata/iso_6937-2.c : Likewise.
14553 * iconvdata/iso_6937.c : Likewise.
14554 * iconvdata/iso8859-1.c: Likewise.
14555 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14556 * iconvdata/shift_jisx0213.c : Likewise.
14557 * iconvdata/sjis.c : Likewise.
14558 * iconvdata/t.61.c : Likewise.
14559 * iconvdata/tcvn5712-1.c : Likewise.
14560 * iconvdata/tscii.c: Likewise.
14561 * iconvdata/uhc.c : Likewise.
14562 * iconvdata/unicode.c (gconv_end): Likewise.
14563 * iconvdata/utf-16.c (gconv_end): Likewise.
14564 * iconvdata/utf-32.c (gconv_end): Likewise.
14565 * iconvdata/utf-7.c (base64): Likewise.
14566 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14567 * iconv/gconv_close.c (__gconv_close): Likewise.
14568 * iconv/gconv_open.c (__gconv_open): Likewise.
14569 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14570 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14571 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14572 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14573 (ucs4le_internal_loop_single): Likewise.
14574 * iconv/iconv.c (iconv): Likewise.
14575 * iconv/iconv_close.c: Likewise.
14576 * iconv/loop.c (SINGLE): Likewise.
14577 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14578 * include/atomic.h: Likewise.
14579 * inet/inet6_option.c (option_alloc): Likewise.
14580 * intl/bindtextdom.c (set_binding_values): Likewise.
14581 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14582 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14583 * intl/localealias.c (read_alias_file): Likewise.
14584 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14585 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14586 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14587 * libio/fmemopen.c (fmemopen): Likewise.
14588 * libio/iofgets.c (_IO_fgets): Likewise.
14589 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14590 * libio/iofgetws.c (fgetws): Likewise.
14591 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14592 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14593 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14594 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14595 * locale/findlocale.c (_nl_find_locale): Likewise.
14596 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14597 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14598 Likewise.
14599 * locale/setlocale.c (setlocale): Likewise.
14600 * login/programs/pt_chown.c (main): Likewise.
14601 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14602 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14603 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14604 (mmap, mmap64, mremap, munmap): Likewise.
14605 * math/e_exp2l.c: Likewise.
14606 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14607 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14608 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14609 * math/s_catan.c (__catan): Likewise.
14610 * math/s_catanf.c (__catanf): Likewise.
14611 * math/s_catanh.c (__catanh): Likewise.
14612 * math/s_catanhf.c (__catanhf): Likewise.
14613 * math/s_catanhl.c (__catanhl): Likewise.
14614 * math/s_catanl.c (__catanl): Likewise.
14615 * math/s_ccosh.c (__ccosh): Likewise.
14616 * math/s_ccoshf.c (__ccoshf): Likewise.
14617 * math/s_ccoshl.c (__ccoshl): Likewise.
14618 * math/s_cexp.c (__cexp): Likewise.
14619 * math/s_cexpf.c (__cexpf): Likewise.
14620 * math/s_cexpl.c (__cexpl): Likewise.
14621 * math/s_clog10.c (__clog10): Likewise.
14622 * math/s_clog10f.c (__clog10f): Likewise.
14623 * math/s_clog10l.c (__clog10l): Likewise.
14624 * math/s_clog.c (__clog): Likewise.
14625 * math/s_clogf.c (__clogf): Likewise.
14626 * math/s_clogl.c (__clogl): Likewise.
14627 * math/s_csin.c (__csin): Likewise.
14628 * math/s_csinf.c (__csinf): Likewise.
14629 * math/s_csinh.c (__csinh): Likewise.
14630 * math/s_csinhf.c (__csinhf): Likewise.
14631 * math/s_csinhl.c (__csinhl): Likewise.
14632 * math/s_csinl.c (__csinl): Likewise.
14633 * math/s_csqrt.c (__csqrt): Likewise.
14634 * math/s_csqrtf.c (__csqrtf): Likewise.
14635 * math/s_csqrtl.c (__csqrtl): Likewise.
14636 * math/s_ctan.c (__ctan): Likewise.
14637 * math/s_ctanf.c (__ctanf): Likewise.
14638 * math/s_ctanh.c (__ctanh): Likewise.
14639 * math/s_ctanhf.c (__ctanhf): Likewise.
14640 * math/s_ctanhl.c (__ctanhl): Likewise.
14641 * math/s_ctanl.c (__ctanl): Likewise.
14642 * math/w_pow.c: Likewise.
14643 * math/w_powf.c: Likewise.
14644 * math/w_powl.c: Likewise.
14645 * math/w_scalb.c (sysv_scalb): Likewise.
14646 * math/w_scalbf.c (sysv_scalbf): Likewise.
14647 * math/w_scalbl.c (sysv_scalbl): Likewise.
14648 * misc/error.c (error_tail): Likewise.
14649 * misc/pselect.c (__pselect): Likewise.
14650 * nis/nis_callback.c (__nis_create_callback): Likewise.
14651 * nis/nis_call.c (__nisfind_server): Likewise.
14652 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14653 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14654 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14655 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14656 * nis/nis_lookup.c (nis_lookup): Likewise.
14657 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14658 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14659 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14660 * nis/nis_xdr.c (xdr_endpoint): Likewise.
14661 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14662 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14663 * nis/nss_compat/compat-initgroups.c (add_group)
14664 (internal_getgrent_r): Likewise.
14665 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14666 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14667 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14668 (internal_getspnam_r): Likewise.
14669 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14670 (_nss_nis_getaliasbyname_r): Likewise.
14671 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14672 (_nss_nis_getntohost_r): Likewise.
14673 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14674 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14675 (_nss_nis_getgrgid_r): Likewise.
14676 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14677 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14678 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14679 (_nss_nis_gethostbyname4_r): Likewise.
14680 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14681 (initgroups_netid): Likewise.
14682 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14683 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14684 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14685 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14686 (_nss_nis_getprotobynumber_r): Likewise.
14687 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14688 (_nss_nis_getsecretkey): Likewise.
14689 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14690 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14691 (_nss_nis_getpwuid_r): Likewise.
14692 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14693 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14694 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14695 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14696 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14697 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14698 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14699 Likewise.
14700 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14701 (_nss_nisplus_getntohost_r): Likewise.
14702 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14703 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14704 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14705 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14706 Likewise.
14707 * nis/nss_nisplus/nisplus-initgroups.c
14708 (_nss_nisplus_initgroups_dyn): Likewise.
14709 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14710 (_nss_nisplus_getnetbyaddr_r): Likewise.
14711 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14712 (_nss_nisplus_getprotobynumber_r): Likewise.
14713 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14714 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14715 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14716 Likewise.
14717 * nis/nss_nisplus/nisplus-service.c
14718 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14719 (_nss_nisplus_getservbyport_r): Likewise.
14720 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14721 (_nss_nisplus_getspnam_r): Likewise.
14722 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14723 Likewise.
14724 * nscd/aicache.c (addhstaiX): Likewise.
14725 * nscd/cache.c (cache_search, prune_cache): Likewise.
14726 * nscd/connections.c (register_traced_file, send_ro_fd)
14727 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14728 (main_loop_epoll): Likewise.
14729 * nscd/grpcache.c (addgrbyX): Likewise.
14730 * nscd/hstcache.c (addhstbyX): Likewise.
14731 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14732 * nscd/mem.c (gc, mempool_alloc): Likewise.
14733 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14734 (addinnetgrX): Likewise.
14735 * nscd/nscd-client.h (__nscd_acquire_maplock)
14736 (__nscd_drop_map_ref): Likewise.
14737 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14738 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14739 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14740 Likewise.
14741 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14742 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14743 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14744 (__nscd_get_map_ref): Likewise.
14745 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14746 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14747 Likewise.
14748 * nscd/pwdcache.c (addpwbyX): Likewise.
14749 * nscd/selinux.c (preserve_capabilities): Likewise.
14750 * nscd/servicescache.c (addservbyX): Likewise.
14751 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14752 * posix/fnmatch.c (fnmatch): Likewise.
14753 * posix/getopt.c (_getopt_internal_r): Likewise.
14754 * posix/glob.c (glob, glob_in_dir): Likewise.
14755 * posix/wordexp.c (exec_comm_child): Likewise.
14756 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14757 (getanswer_r, gaih_getanswer_slice): Likewise.
14758 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14759 * resolv/res_init.c: Likewise.
14760 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14761 * resolv/res_query.c (__libc_res_nquery): Likewise.
14762 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14763 Likewise.
14764 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14765 * stdio-common/perror.c (perror): Likewise.
14766 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14767 * stdio-common/tmpnam.c (tmpnam): Likewise.
14768 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14769 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14770 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14771 Likewise.
14772 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14773 * stdlib/putenv.c (putenv): Likewise.
14774 * stdlib/setenv.c (__add_to_environ): Likewise.
14775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14776 * stdlib/strtol_l.c (INTERNAL): Likewise.
14777 * string/memmem.c (memmem): Likewise.
14778 * string/strerror.c (strerror): Likewise.
14779 * string/strnlen.c (__strnlen): Likewise.
14780 * string/test-memmem.c (simple_memmem): Likewise.
14781 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14782 * sunrpc/pm_getport.c (__get_socket): Likewise.
14783 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14784 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14785 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14786 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14787 Likewise.
14788 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14789 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14791 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14792 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14793 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14794 Likewise.
14795 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14796 Likewise.
14797 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14798 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14799 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14800 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14801 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14803 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14804 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14805 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14806 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14807 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14808 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14809 Likewise.
14810 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14811 Likewise.
14812 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14813 Likewise.
14814 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14816 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14817 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14818 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14819 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14820 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14821 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14823 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14824 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14826 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14827 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14829 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14830 Likewise.
14831 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14832 Likewise.
14833 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14834 Likewise.
14835 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14836 Likewise.
14837 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14839 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14840 Likewise.
14841 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14842 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14843 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14844 * sysdeps/posix/sleep.c: Likewise.
14845 * sysdeps/posix/tempname.c: Likewise.
14846 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14847 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14848 Likewise.
14849 * sysdeps/powerpc/powerpc32/dl-machine.h
14850 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14851 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14853 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14854 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14855 Likewise.
14856 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14857 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14858 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14859 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14860 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14861 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14862 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14863 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14864 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14865 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14867 (elf_machine_lazy_rel): Likewise.
14868 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14870 (elf_machine_lazy_rel): Likewise.
14871 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14872 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14873 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14874 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14875 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14876 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14877 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14879 Likewise.
14880 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14881 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14882 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14883 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14884 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14885 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14886 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14887 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14888 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14889 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14890 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14891 Likewise.
14892 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14893 (__posix_fallocate64_l64): Likewise.
14894 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14895 (posix_fallocate): Likewise.
14896 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14897 Likewise.
14898 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14899 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14900 (getifaddrs_internal): Likewise.
14901 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14902 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14903 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14904 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14905 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14906 (__posix_fallocate64_l64): Likewise.
14907 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14908 Likewise.
14909 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14910 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14911 (__get_clockfreq): Likewise.
14912 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14913 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14914 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14917 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14918 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14919 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14920 Likewise.
14921 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14922 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14923 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14924 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14925 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14926 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14927 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14928 Likewise.
14929 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14930 (posix_fallocate): Likewise.
14931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14932 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14933 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14934 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14935 (elf_machine_rela, elf_machine_rela_relative)
14936 (elf_machine_lazy_rel): Likewise.
14937 * time/asctime.c (asctime_internal): Likewise.
14938 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14939 * time/tzset.c (__tzset_parse_tz): Likewise.
14940 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14941 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14942 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14943 * wcsmbs/wcsmbsload.h: Likewise.
14944
14945 [BZ #15894]
14946 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14947
14948 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14949 (arena_get2): Remove THREAD_STATS conditionals.
14950 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14951 (__malloc_stats, int): Likewise.
14952
14953 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14954
14955 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14956 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14957
14958 * manual/setjmp.texi: Fix typos/grammar errors.
14959
14960 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14961 Only return early when n is <= 0. Delete unused return statement.
14962
14963 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14964 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14965 * debug/tst-longjmp_chk3.c: New file.
14966
14967 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14968 (test_main): Replace code with set_fortify_handler call.
14969 * debug/test-strcpy_chk.c: Likewise.
14970 * debug/tst-chk1.c: Likewise.
14971 * debug/tst-longjmp_chk.c: Likewise.
14972 * test-skeleton.c: Include fcntl.h & paths.h
14973 (set_fortify_handler): Define.
14974
14975 * debug/tst-longjmp_chk.c: Add header comment and include
14976 ../test-skeleton.c.
14977 (do_test): Mark static.
14978 (TEST_FUNCTION): Define.
14979
14980 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14981 (IP_PMTUDISC_INTERFACE): Likewise.
14982 (IP_MULTICAST_IF): Likewise.
14983 (IP_MULTICAST_TTL): Likewise.
14984 (IP_MULTICAST_LOOP): Likewise.
14985 (IP_ADD_MEMBERSHIP): Likewise.
14986 (IP_DROP_MEMBERSHIP): Likewise.
14987 (IP_UNBLOCK_SOURCE): Likewise.
14988 (IP_BLOCK_SOURCE): Likewise.
14989 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14990 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14991 (IP_MSFILTER): Likewise.
14992 (MCAST_JOIN_GROUP): Likewise.
14993 (MCAST_BLOCK_SOURCE): Likewise.
14994 (MCAST_UNBLOCK_SOURCE): Likewise.
14995 (MCAST_LEAVE_GROUP): Likewise.
14996 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14997 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14998 (MCAST_MSFILTER): Likewise.
14999 (IP_MULTICAST_ALL): Likewise.
15000 (IP_UNICAST_IF): Likewise.
15001
15002 * timezone/Makefile: Delete $(have-ksh) check.
15003 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15004 * timezone/tzselect.ksh: Add +x mode bits.
15005
15006 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15007 (ANON_INODE_FS_MAGIC): Likewise.
15008 (BDEVFS_MAGIC): Likewise.
15009 (BINFMTFS_MAGIC): Likewise.
15010 (BTRFS_TEST_MAGIC): Likewise.
15011 (CRAMFS_MAGIC_WEND): Likewise.
15012 (DEBUGFS_MAGIC): Likewise.
15013 (ECRYPTFS_SUPER_MAGIC): Likewise.
15014 (EXT3_SUPER_MAGIC): Likewise.
15015 (EXT4_SUPER_MAGIC): Likewise.
15016 (FUTEXFS_SUPER_MAGIC): Likewise.
15017 (HOSTFS_SUPER_MAGIC): Likewise.
15018 (HUGETLBFS_MAGIC): Likewise.
15019 (MINIX3_SUPER_MAGIC): Likewise.
15020 (MTD_INODE_FS_MAGIC): Likewise.
15021 (NILFS_SUPER_MAGIC): Likewise.
15022 (OPENPROM_SUPER_MAGIC): Likewise.
15023 (PIPEFS_MAGIC): Likewise.
15024 (PSTOREFS_MAGIC): Likewise.
15025 (QNX6_SUPER_MAGIC): Likewise.
15026 (RAMFS_MAGIC): Likewise.
15027 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15028 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15029 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15030 (SECURITYFS_MAGIC): Likewise.
15031 (SELINUX_MAGIC): Likewise.
15032 (SMACK_MAGIC): Likewise.
15033 (SOCKFS_MAGIC): Likewise.
15034 (SQUASHFS_MAGIC): Likewise.
15035 (STACK_END_MAGIC): Likewise.
15036 (TMPFS_MAGIC): Likewise.
15037 (USBDEVICE_SUPER_MAGIC): Likewise.
15038 (V9FS_MAGIC): Likewise.
15039 (XENFS_SUPER_MAGIC): Likewise.
15040 (CRAMFS_MAGIC): Fix typo in comment.
15041 (EXT2_SUPER_MAGIC): Update comment.
15042 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15043
15044 2014-02-08 Joseph Myers <joseph@codesourcery.com>
15045
15046 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15047 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15048 * sysdeps/unix/sysv/linux/arm: Move directory from
15049 ports/sysdeps/unix/sysv/linux/arm.
15050 * README: Update listing for arm-*-linux-gnueabi.
15051
15052 * README: Remove mention of am33.
15053
15054 2014-02-07 Roland McGrath <roland@hack.frob.com>
15055
15056 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15057 than the comma operator, to avoid "rhs of comma has no effect"
15058 compiler warnings.
15059 (__sigfillset, __sigandset, __sigorset): Likewise.
15060 * include/signal.h (__sigemptyset): Likewise.
15061 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15062
15063 2014-02-07 Allan McRae <allan@archlinux.org>
15064
15065 * version.h (RELEASE): Set to "development".
15066 (VERSION): Set to "2.19.90"
15067 * NEWS: Add 2.20 section.
15068
15069 2014-02-06 Carlos O'Donell <carlos@redhat.com>
15070
15071 [BZ #16529]
15072 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15073
15074 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15075
15076 * manual/contrib.texi: Update entry for Carlos O'Donell,
15077 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15078
15079 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
15080
15081 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15082
15083 * sysdeps/unix/sysv/linux/kernel-features.h
15084 [__LINUX_KERNEL_VERSION >= 0x020621]
15085 (__ASSUME_PROC_PID_TASK_COMM): Define.
15086
15087 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15088
15089 [BZ #16398]
15090 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15091 conversion when destination buffer does not have enough space.
15092 * libio/tst-ftell-partial-wide.c: New test case.
15093 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15094
15095 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15096 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15097 Leonard and Allan McRae.
15098
15099 2014-02-04 David S. Miller <davem@davemloft.net>
15100
15101 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15102 32-bit.
15103
15104 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15105
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15107 New file
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15109 New file
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15111 New file.
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15113 New file.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15115 New file.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15117 New file.
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15119 New file.
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15121 New file.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15123 New file.
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15125 New file.
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15127 New file.
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15129 New file.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15131 New file.
15132
15133 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15134
15135 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15136 * shlib-versions: Likewise.
15137
15138 2014-02-04 Roland McGrath <roland@hack.frob.com>
15139 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15140
15141 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15142 (abilist-pattern): New variable, set to %-le.abilist.
15143
15144 * Makerules (abilist-pattern): New variable.
15145 (vpath): Use $(abilist-pattern) in place of %.abilist.
15146 (check-abi-% pattern rule): Likewise.
15147 (check-abi, update-abi): Likewise.
15148
15149 2014-02-04 Eric Wong <normalperson@yhbt.net>
15150
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15152
15153 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15154
15155 * manual/startup.texi: Add next, previous, and top entries for
15156 the `Program Arguments' and `Environment Variables' nodes.
15157
15158 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15159
15160 * manual/macros.texi: Add comments before MTASC-safety macros.
15161
15162 * manual/users.texi: Document MTASC-safety properties.
15163
15164 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15165 (pthread_getspecific, pthread_setspecific): Format with
15166 @deftypefun, and add @safety note.
15167 * manual/signal.texi: Move comments that analyze the above
15168 functions to their home place.
15169
15170 2014-02-03 Allan McRae <allan@archlinux.org>
15171
15172 * po/sl.po: Update Slovenian translation from translation project.
15173
15174 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15175
15176 * manual/time.texi (timegm): Add missing blank after @c.
15177 Reported by Joseph Myers <joseph@codesourcery.com>.
15178
15179 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15180
15181 * manual/check-safety.sh: New.
15182 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15183
15184 * manual/terminal.texi: Document MTASC-safety properties.
15185
15186 * manual/filesys.texi: Document MTASC-safety properties.
15187
15188 * manual/errno.texi: Document MTASC-safety properties.
15189
15190 * manual/intro.texi: Document safety identifiers and
15191 conditionals.
15192
15193 * manual/string.texi (wcstok): Fix prototype.
15194 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15195
15196 * manual/time.texi: Document MTASC-safety properties.
15197
15198 * manual/string.texi: Document MTASC-safety properties.
15199
15200 * manual/threads.texi: Document MTASC-safety properties.
15201
15202 * manual/stdio.texi: Document MTASC-safety properties.
15203
15204 * manual/syslog.texi: Document MTASC-safety properties.
15205
15206 * manual/sysinfo.texi: Document MTASC-safety properties.
15207
15208 * manual/startup.texi: Document MTASC-safety properties.
15209
15210 * manual/socket.texi: Document MTASC-safety properties.
15211
15212 * manual/signal.texi: Document MTASC-safety properties.
15213
15214 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15215
15216 * manual/setjmp.texi: Document MTASC-safety properties.
15217
15218 * manual/search.texi: Document MTASC-safety properties.
15219
15220 * manual/resource.texi: Document MTASC-safety properties.
15221
15222 * manual/process.texi: Document MTASC-safety properties.
15223
15224 * manual/platform.texi: Document MTASC-safety properties.
15225
15226 * manual/pipe.texi: Document MTASC-safety properties.
15227
15228 * manual/pattern.texi: Document MTASC-safety properties.
15229
15230 * manual/message.texi: Document MTASC-safety properties.
15231
15232 [BZ #12751]
15233 * manual/memory.texi: Document MTASC-safety properties.
15234
15235 * manual/math.texi: Document MTASC-safety properties.
15236
15237 * manual/locale.texi: Document MTASC-safety properties.
15238
15239 * manual/llio.texi: Document MTASC-safety properties.
15240
15241 * manual/libdl.texi: New.
15242
15243 * manual/lang.texi: Document MTASC-safety properties.
15244
15245 * manual/job.texi: Document MTASC-safety properties.
15246
15247 * manual/getopt.texi: Document MTASC-safety properties.
15248
15249 * manual/ctype.texi: Document MTASC-safety properties.
15250
15251 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15252
15253 [BZ #16046]
15254 * csu/libc-tls.c (static_map): Remove variable.
15255 (__libc_setup_tls): Use main executable's link map for TLS data.
15256 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15257 casing for LM_ID_BASE and GL(dl_nns).
15258 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15259 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15260 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15261 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15262 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15263 member.
15264 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15265 l_phnum members.
15266
15267 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15268
15269 * manual/debug.texi: Document MTASC-safety properties.
15270
15271 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15272
15273 [BZ #16510]
15274 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15275 of __x86_64__ when disabling x87 inline functions.
15276
15277 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15278
15279 * manual/charset.texi: Document MTASC-safety properties.
15280
15281 * manual/crypt.texi: Document MTASC-safety properties.
15282
15283 * manual/conf.texi: Document MTASC-safety properties.
15284
15285 * manual/arith.texi: Document MTASC-safety properties.
15286
15287 * manual/argp.texi: Document MTASC-safety properties.
15288
15289 * manual/macros.texi: Introduce macros to document multi
15290 thread, asynchronous signal and asynchronous cancellation
15291 safety properties.
15292 * manual/intro.texi: Introduce the properties themselves.
15293
15294 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15295
15296 * sysdeps/sh/sh4/Makefile: New file.
15297
15298 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15299
15300 * math/gen-libm-test.pl ($srcdir): New variable.
15301 ($auto_input): Use it.
15302
15303 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15304
15305 [BZ #16506]
15306 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15307 access beyond array bounds when parsing netgroups file.
15308
15309 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15310 the old buffer before realloc.
15311
15312 2014-01-27 Allan McRae <allan@archlinux.org>
15313
15314 * po/fr.po: Update French translation from translation project.
15315
15316 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15317
15318 * sysdeps/sh/libm-test-ulps: Regenerate.
15319
15320 2014-01-24 David S. Miller <davem@davemloft.net>
15321
15322 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15323
15324 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15325
15326 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15327 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15328
15329 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15330
15331 [BZ #16474]
15332 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15333 string pointers after reallocation.
15334
15335 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15336
15337 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15338 __SH4A__ instead of __SH_FPU_ANY__.
15339
15340 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15341
15342 * sysdeps/sh/fpu_control.h: New file.
15343 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15344 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15345 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15346 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15347 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15348 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15349 * sysdeps/sh/sys/ucontext.h: Remove.
15350 * sysdeps/sh/sys: Remove directory.
15351
15352 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15353
15354 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15355 s390/sys/ucontext.h.
15356 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15357 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15358
15359 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15360
15361 [BZ #15605]
15362 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15363
15364 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15365
15366 [BZ#16431]
15367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15368 Adjust the vDSO correctly for internal calls.
15369 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15370
15371 2014-01-20 Allan McRae <allan@archlinux.org>
15372
15373 * po/ca.po: Update Catalan translation from translation project.
15374
15375 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15376
15377 * sysdeps/s390/sotruss-lib.c: New file.
15378
15379 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15380
15381 [BZ#16430]
15382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15383 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15384 local calls issues by not having a PLT stub required for IFUNC calls.
15385 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15386
15387 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15388
15389 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15390 * math/test-fpucw-static.c: Likewise.
15391
15392 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15393
15394 [BZ #16453]
15395 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15396
15397 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15398
15399 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15400 implementation for powerpc.
15401
15402 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15403
15404 [BZ #14782]
15405 * sysdeps/posix/system.c (__libc_system): Do not enable
15406 asynchronous cancellation.
15407
15408 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15409
15410 [BZ #16427]
15411 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15412 handling only for numbers special also in the IEEE case.
15413
15414 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15415
15416 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15417
15418 2014-01-11 Allan McRae <allan@archlinux.org>
15419
15420 * po/bg.po: Update Bulgarian translation from translation project.
15421
15422 * po/de.po: Update German translation from translation project.
15423
15424 2014-01-10 Roland McGrath <roland@hack.frob.com>
15425
15426 * sysdeps/generic/gcc-compat.h: New file.
15427
15428 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15429
15430 * benchtests/asin-inputs: Correct slow inputs.
15431 * benchtests/acos-inputs: Likewise.
15432
15433 2014-01-10 Allan McRae <allan@archlinux.org>
15434
15435 * po:sv.po: Update Swedish translation from translation project.
15436
15437 * po/vi.po: Update Vietnamese translation from translation project.
15438
15439 * po/eo.po: Update Esperanto translation from translation project.
15440
15441 * po/cs.po: Update Czech translation from translation project.
15442
15443 * po/nl.po: Update Dutch translation from translation project.
15444
15445 * po/pl.po: Update Polish translation from translation project.
15446
15447 * po/ru.po: Update Russian translation from translation project.
15448
15449 * po/uk.po: Update Ukrainian translation from translation project.
15450
15451 2014-01-08 Brooks Moses <bmoses@google.com>
15452
15453 * elf/dl-load.c: Fix comment typo.
15454
15455 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15456
15457 * po/header.pot: Rename to...
15458 * po/pot.header: ... this.
15459 * po/Makefile: Use pot.header.
15460
15461 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15462 Maxim Kuvyrkov <maxim@kugelworks.com>
15463
15464 [BZ #16394]
15465 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15466 SRC and DEST against LEN.
15467
15468 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15469
15470 [BZ #16414]
15471 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15472 implementation.
15473 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15474
15475 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15476
15477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15478
15479 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15480
15481 [BZ #16408]
15482 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15483 for large positive arguments.
15484
15485 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15486
15487 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15488
15489 * math/auto-libm-test-in: Mark various tests with
15490 xfail-rounding:ldbl-128ibm.
15491 * math/auto-libm-test-out: Regenerated.
15492
15493 [BZ #16407]
15494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15495 Increase overflow threshold.
15496
15497 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15498
15499 [BZ #14286]
15500 * stdio-common/vfprintf.c: Check for integer overflow.
15501
15502 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15503
15504 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15505 the first argument and return value of __tls_get_addr_internal.
15506
15507 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15508
15509 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15510 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15511
15512 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15513
15514 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15515 * sysdeps/s390/rtld-global-offsets.sym: New file.
15516 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15517 GLIBC_2.19 symbol.
15518 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15519 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15520 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15521 ... this.
15522 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15523 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15524 ... this.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15526 Regenerate.
15527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15528 Regenerate.
15529 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15530 halfs of GPRs for high_gprs contexts.
15531 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15532 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15533 field.
15534 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15535 uc_flags field.
15536 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15537 64 bit versions:
15538 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15539 for high GPRs (uc_high_gprs) and for future extensions
15540 (__reserved).
15541 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15542 for future extensions (__reserved).
15543 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15544 64 bit versions:
15545 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15546 SC_HIGHGPRS offset definition.
15547 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15548 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15549
15550 * Versions.def: Add GLIBC_2.19 for libpthread.
15551 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15552 siglongjmp for libpthread with GLIBC_2.19 symver.
15553 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15554 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15555 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15556 * sysdeps/s390/__longjmp.c: New file.
15557 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15558 * sysdeps/s390/longjmp.c: New file.
15559 * sysdeps/s390/setjmp.S: New file.
15560 * sysdeps/s390/sigjmp.S: New file.
15561 * sysdeps/s390/v1-longjmp.c: New file.
15562 * sysdeps/s390/v1-setjmp.h: New file.
15563 * sysdeps/s390/v1-sigjmp.c: New file.
15564 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15565 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15566 GLIBC_2.19 version.
15567 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15568 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15569 versioned symbols for ____longjmp_chk.
15570 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15571 Likewise.
15572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15573 Regenerate.
15574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15575 Regenerate.
15576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15577 Regenerate.
15578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15579 Regenerate.
15580 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15581 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15582 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15583 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15584 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15585 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15586 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15587 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15588 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15589 * sysdeps/s390/rtld-__longjmp.c: New file.
15590 * sysdeps/s390/rtld-setjmp.S: New file.
15591
15592 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15593
15594 [BZ #16400]
15595 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15596 Return -__logl (x) for small positive arguments without evaluating
15597 a polynomial.
15598
15599 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15600
15601 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15602 Rename to ...
15603 (__ptrace_peeksiginfo_args): ... this.
15604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15605 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15607
15608 2014-01-06 Allan McRae <allan@archlinux.org>
15609
15610 * inet/netinet/in.h: Fix typo in comment.
15611
15612 2014-01-05 Andreas Jaeger <aj@suse.de>
15613
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15615
15616 2014-01-05 Allan McRae <allan@archlinux.org>
15617
15618 * po/libc.pot: Regenerated.
15619
15620 * malloc/memusagestat.c: Fix gettext call formatting.
15621
15622 2014-01-04 Sami Kerola <kerolasa@iki.fi>
15623
15624 * nscd/nscd.c: Improve usage() output.
15625
15626 2014-01-04 Mike Frysinger <vapier@gentoo.org>
15627
15628 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15629 * sysdeps/unix/sysv/linux/configure: Regenerated.
15630 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15631 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15632
15633 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15634
15635 [BZ #16390]
15636 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15637 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15638
15639 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15640
15641 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15642 extra tokens at end of #undef directive.
15643 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15644 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15645 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15646
15647 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15648
15649 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15650
15651 * math/auto-libm-test-in: Mark various tests with
15652 xfail-rounding:ldbl-128ibm.
15653 * math/auto-libm-test-out: Regenerated.
15654
15655 2014-01-02 Joseph Myers <joseph@codesourcery.com>
15656
15657 [BZ #16386]
15658 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15659 numbers with subnormal high part when calculating exponent.
15660
15661 [BZ #16385]
15662 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15663 fabs.
15664
15665 [BZ #16384]
15666 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15667 M_LN2l.
15668 (__ieee754_acoshl): Use __log1pl not __log1p.
15669
15670 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
15671
15672 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15673 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15674 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15675 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15676 (reused_arena, arena_get2): Convert to GNU style.
15677 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15678 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15679 (memalign_check, __malloc_set_state): Likewise.
15680 * malloc/mallocbug.c (main): Likewise.
15681 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15682 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15683 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15684 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15685 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15686 (__posix_memalign, malloc_info): Likewise.
15687 * malloc/malloc.h: Likewise.
15688 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15689 (mallochook, memalignhook, reallochook, mabort): Likewise.
15690 * malloc/mcheck.h: Likewise.
15691 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15692 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15693 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15694 * malloc/morecore.c (__default_morecore): Likewise.
15695 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15696 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15697 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15698 (print_and_abort): Likewise.
15699 * malloc/obstack.h: Likewise.
15700 * malloc/set-freeres.c (__libc_freeres): Likewise.
15701 * malloc/tst-mallocstate.c (main): Likewise.
15702 * malloc/tst-mtrace.c (main): Likewise.
15703 * malloc/tst-realloc.c (do_test): Likewise.
15704
15705 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15706
15707 [BZ #16366]
15708 * nscd/netgroupcache.c (do_notfound): New function.
15709 (addgetnetgrentX): Use it.
15710
15711 [BZ # 16365]
15712 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15713 NSS_STATUS_NOTFOUND.
15714
15715 2014-01-01 Joseph Myers <joseph@codesourcery.com>
15716
15717 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15719
15720 2014-01-01 Allan McRae <allan@archlinux.org>
15721
15722 * scripts/update-copyrights: Update configure input file suffix.
15723
15724 * NEWS: Update copyright year.
15725 * catgets/gencat.c: Likewise.
15726 * csu/version.c: Likewise.
15727 * debug/catchsegv.sh: Likewise.
15728 * debug/pcprofiledump.c: Likewise.
15729 * debug/xtrace.sh: Likewise.
15730 * elf/ldconfig.c: Likewise.
15731 * elf/ldd.bash.in: Likewise.
15732 * elf/pldd.c: Likewise.
15733 * elf/sotruss.ksh: Likewise.
15734 * elf/sprof.c: Likewise.
15735 * iconv/iconv_prog.c: Likewise.
15736 * iconv/iconvconfig.c: Likewise.
15737 * locale/programs/locale.c: Likewise.
15738 * locale/programs/localedef.c: Likewise.
15739 * login/programs/pt_chown.c: Likewise.
15740 * malloc/memusage.sh: Likewise.
15741 * malloc/memusagestat.c: Likewise.
15742 * malloc/mtrace.pl: Likewise.
15743 * manual/libc.texinfo: Likewise.
15744 * nscd/nscd.c: Likewise.
15745 * nss/getent.c: Likewise.
15746 * nss/makedb.c: Likewise.
15747 * posix/getconf.c: Likewise.
15748 * scripts/test-installation.pl: Likewise.
15749
15750 * All files with FSF copyright notices: Update copyright dates
15751 using scripts/update-copyrights.
15752 * intl/plural.c: Regenerated.
15753 * locale/programs/charmap-kw.h: Likewise.
15754 * locale/programs/locfile-kw.h: Likewise.
15755
15756 2013-12-31 Mike Frysinger <vapier@gentoo.org>
15757
15758 * sysdeps/unix/sysv/linux/configure: Regenerated.
15759 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15760 the linux/fanotify.h header.
15761 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15762 HAVE_LINUX_FANOTIFY_H is defined.
15763
15764 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15765
15766 * benchtests/cos-inputs: New inputs.
15767 * benchtests/sin-inputs: Likewise.
15768
15769 * benchtests/atan-inputs: New inputs. Fix name of multiple
15770 precision fallback inputs.
15771
15772 * benchtests/atanh-inputs: New inputs.
15773 * benchtests/tanh-inputs: Likewise.
15774
15775 * benchtests/acosh-inputs: New inputs.
15776 * benchtests/asinh-inputs: Likewise.
15777
15778 * benchtests/cosh-inputs: New inputs.
15779 * benchtests/sinh-inputs: Likewise.
15780
15781 * benchtests/acos-inputs: Add more inputs.
15782 * benchtests/asin-inputs: Likewise.
15783
15784 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15785
15786 [BZ #16375]
15787 * manual/arith.texi: Fix spelling.
15788 * manual/charset.texi: Likewise.
15789 * manual/errno.texi: Likewise.
15790 * manual/filesys.texi: Likewise.
15791 * manual/lang.texi: Likewise.
15792 * manual/llio.texi: Likewise.
15793 * manual/locale.texi: Likewise.
15794 * manual/message.texi: Likewise.
15795 * manual/resource.texi: Likewise.
15796 * manual/search.texi: Likewise.
15797 * manual/setjmp.texi: Likewise.
15798 * manual/stdio.texi: Likewise.
15799 * manual/string.texi: Likewise.
15800 * manual/sysinfo.texi: Likewise.
15801 * manual/time.texi: Likewise.
15802
15803 2013-12-27 Carlos O'Donell <carlos@redhat.com>
15804
15805 * po/sl.po: New file.
15806
15807 2013-12-27 Mike Frysinger <vapier@gentoo.org>
15808
15809 * .gitignore: Add core/.gdbinit/.gdb_history.
15810
15811 2013-12-27 Allan McRae <allan@archlinux.org>
15812
15813 [BZ #16369]
15814 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15815 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15816
15817 2013-12-24 Brooks Moses <bmoses@google.com>
15818
15819 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15820 all compilers that claim C++98 compliance, not just GCC.
15821 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15822 Likewise.
15823
15824 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15825
15826 * NEWS: Restore accidentally deleted bug-fix entries.
15827
15828 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15829 Ondřej Bílka <neleai@seznam.cz>
15830
15831 [BZ #15073]
15832 * malloc/malloc.c (_int_free): Perform sanity check only if we
15833 have_lock.
15834
15835 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15836
15837 [BZ #12986]
15838 * manual/stdio.texi (String Input Conversions): Clarify that character
15839 classes are not supported.
15840
15841 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15842
15843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15844
15845 2013-12-22 Joseph Myers <joseph@codesourcery.com>
15846
15847 [BZ #16337]
15848 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15849 Calculate results for small negative arguments directly rather
15850 than using reflection formula with special underflow handling.
15851
15852 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15853 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15854 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15855 (fchflags): Likewise.
15856 (revoke): Likewise.
15857 (setlogin): Likewise.
15858 (sigaltstack): Likewise.
15859 (wait4): Likewise.
15860 (sigblock): Remove.
15861 (sigsetmask): Likewise.
15862 (wait3): Likewise.
15863 (waitpid): Likewise.
15864 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15865 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15866 file.
15867 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15868 * sysdeps/unix/bsd/Makefile: ... here.
15869 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15870 * sysdeps/unix/bsd/Versions: ... here.
15871 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15872 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15873 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15874 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15875 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15876 * sysdeps/unix/bsd/sigblock.c: ... here.
15877 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15878 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15879 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15880 * sysdeps/unix/bsd/sigvec.c: ... here.
15881 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15882 * sysdeps/unix/bsd/tcdrain.c: ... here.
15883 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15884 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15885 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15886 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15887 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15888 * sysdeps/unix/bsd/wait.c: ... here.
15889 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15890 * sysdeps/unix/bsd/wait3.c: ... here.
15891 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15892 * sysdeps/unix/bsd/waitpid.c: ... here.
15893
15894 2013-12-21 Joseph Myers <joseph@codesourcery.com>
15895
15896 [BZ #16356]
15897 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15898 round-to-nearest for [!USE_AS_EXPM1L].
15899 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15900 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15901 more tests of exp and exp10. Expect some exp10 tests to miss
15902 exceptions or fail in directed rounding modes.
15903 * math/auto-libm-test-out: Regenerated.
15904 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15905 (exp10_test_tonearest): New function.
15906 (exp10_towardzero_test_data): New array.
15907 (exp10_test_towardzero): New function.
15908 (exp10_downward_test_data): New array.
15909 (exp10_test_downward): New function.
15910 (exp10_upward_test_data): New array.
15911 (exp10_test_upward): New function.
15912 (main): Call the new functions.
15913 * sysdeps/i386/fpu/libm-test-ulps: Update.
15914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15915
15916 2013-12-20 Joseph Myers <joseph@codesourcery.com>
15917
15918 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15919 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15920 * math/auto-libm-test-out: Regenerated.
15921 * math/libm-test.inc (acosh_test_data): Add more tests.
15922 (atanh_test_data): Likewise.
15923 (ceil_test_data): Likewise.
15924 (copysign_test_data): Likewise.
15925 * sysdeps/i386/fpu/libm-test-ulps: Update.
15926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15927
15928 * timezone/checktab.awk: Update from tzcode 2013i.
15929 * timezone/private.h: Likewise.
15930 * timezone/scheck.c: Likewise.
15931 * timezone/tzfile.h: Likewise.
15932 * timezone/tzselect.ksh: Likewise.
15933 * timezone/zdump.c: Likewise.
15934 * timezone/zic.c: Likewise.
15935
15936 * math/auto-libm-test-in: Add tests of cpow.
15937 * math/auto-libm-test-out: Regenerated.
15938 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15939 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15940 mpc_cc_c.
15941 (func_calc_desc): Add mpc_cc_c union field.
15942 (test_functions): Add cpow.
15943 (special_fill_2pi): New function.
15944 (special_real_inputs): Add 2pi.
15945 (calc_generic_results): Handle mpc_cc_c.
15946 * sysdeps/i386/fpu/libm-test-ulps: Update.
15947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15948
15949 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15950 csqrt, ctan and ctanh.
15951 * math/auto-libm-test-out: Regenerated.
15952 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15953 (TEST_COND_x86): Likewise.
15954 (ccos_test_data): Use AUTO_TESTS_c_c.
15955 (ccosh_test_data): Likewise.
15956 (cexp_test_data): Likewise.
15957 (clog_test_data): Likewise.
15958 (csqrt_test_data): Likewise.
15959 (ctan_test_data): Likewise.
15960 (ctan_tonearest_test_data): Likewise.
15961 (ctan_towardzero_test_data): Likewise.
15962 (ctan_downward_test_data): Likewise.
15963 (ctan_upward_test_data): Likewise.
15964 (ctanh_test_data): Likewise.
15965 (ctanh_tonearest_test_data): Likewise.
15966 (ctanh_towardzero_test_data): Likewise.
15967 (ctanh_downward_test_data): Likewise.
15968 (ctanh_upward_test_data): Likewise.
15969 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15970 mpc_c_c.
15971 (func_calc_desc): Add mpc_c_c union field.
15972 (FUNC_mpc_c_c): New macro.
15973 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15974 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15975 ctanh.
15976 (special_fill_min_subnorm_p120): New function.
15977 (special_real_inputs): Add min_subnorm_p120.
15978 (calc_generic_results): Handle mpc_c_c.
15979 * sysdeps/i386/fpu/libm-test-ulps: Update.
15980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15981
15982 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15983
15984 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15985 (do_sin_slow): New functions.
15986 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15987 (cslow2, csloww1, csloww2): Use the new functions.
15988
15989 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15990 Use M to change sign of result instead of X. Assume X is
15991 positive.
15992 (csloww1): Likewise.
15993 (__sin): Adjust.
15994 (__cos): Adjust.
15995
15996 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15997 arguments A and DA.
15998 (__sin): Adjust.
15999 (__cos): Likewise.
16000
16001 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16002 (__cos): Likewise.
16003 (sloww1): Don't adjust sign of DX.
16004 (csloww1): Likewise.
16005 (sloww2): Use X directly and don't adjust sign of DX.
16006 (csloww2): Likewise.
16007
16008 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16009
16010 * math/auto-libm-test-in: Add tests of cabs and carg.
16011 * math/auto-libm-test-out: Regenerated.
16012 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16013 (carg_test_data): Likewise.
16014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16015 mpc_c_f.
16016 (func_calc_desc): Add mpc_c_f union field.
16017 (test_functions): Add cabs and carg.
16018 (calc_generic_results): Handle mpc_c_f.
16019
16020 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16021 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16022 as a macro and a compat symbol.
16023 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16024 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16025 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16026 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16027 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16028 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16029 not use .hidden.
16030 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16031 Likewise.
16032 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16033 Likewise.
16034 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16035 Likewise.
16036 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16037 Likewise.
16038 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16039 Likewise.
16040 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16041 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16042 from GLIBC_2.3.2.
16043
16044 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16045
16046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16047
16048 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16049
16050 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16051 trailing whitespace removed.
16052 * scripts/config.guess: Update to version 2013-11-29.
16053 * scripts/config.sub: Update to version 2013-10-01.
16054
16055 * math/auto-libm-test-in: Add tests of sincos.
16056 * math/auto-libm-test-out: Regenerated.
16057 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16058 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16059 mpfr_f_11.
16060 (func_calc_desc): Add mpfr_f_11 union field.
16061 (test_functions): Add sincos.
16062 (calc_generic_results): Handle mpfr_f_11.
16063 * sysdeps/i386/fpu/libm-test-ulps: Update.
16064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16065
16066 2013-12-19 Andreas Schwab <schwab@suse.de>
16067
16068 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16069 CALL_MCOUNT.
16070 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16071 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16072 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16073
16074 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16075
16076 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16077 * sysdeps/i386/fpu/libm-test-ulps: Update.
16078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16079
16080 [BZ #16293]
16081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16082 round-to-nearest mode when using frndint.
16083 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16084 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16085 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16086 Likewise.
16087 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16088 sinh test to fail.
16089 * math/auto-libm-test-out: Regenerated.
16090 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16091 (TEST_COND_x86): Likewise.
16092 (expm1_tonearest_test_data): New array.
16093 (expm1_test_tonearest): New function.
16094 (expm1_towardzero_test_data): New array.
16095 (expm1_test_towardzero): New function.
16096 (expm1_downward_test_data): New array.
16097 (expm1_test_downward): New function.
16098 (expm1_upward_test_data): New array.
16099 (expm1_test_upward): New function.
16100 (main): Run the new test functions.
16101 * sysdeps/i386/fpu/libm-test-ulps: Update.
16102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16103
16104 * include/features.h: Update comment documenting feature test
16105 macros. Mention _DEFAULT_SOURCE in comment.
16106 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16107 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16108 _BSD_SOURCE and _SVID_SOURCE.
16109 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16110 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16111 !_SVID_SOURCE]: Likewise.
16112 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16113 (__USE_POSIX_IMPLICITLY): Define.
16114 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16115 (_POSIX_SOURCE): Undefine and redefine.
16116 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16117 (_POSIX_C_SOURCE): Likewise.
16118 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16119 (Feature Test Macros): Update documentation of default features.
16120
16121 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16122
16123 * benchtests/Makefile: Add bench-strtok.
16124 * benchtests/bench-strtok.c: New file: strtok benchtest.
16125
16126 2013-12-19 Allan McRae <allan@archlinux.org>
16127
16128 * manual/install.texi: Suppress menu for plain text output.
16129 * INSTALL: Regenerated.
16130
16131 2013-12-18 Brooks Moses <bmoses@google.com>
16132
16133 [BZ #15846]
16134 * misc/getauxval.c: Include errno.h.
16135 (__getauxval): Set errno to ENOENT if the requested type is not
16136 found.
16137 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16138 don't declare with __attribute_const__.
16139 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16140 * manual/startup.texi: Document that getauxval sets errno.
16141
16142 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16143
16144 * math/auto-libm-test-in: Add tests of jn and yn.
16145 * math/auto-libm-test-out: Regenerated.
16146 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16147 (yn_test_data): Likewise.
16148 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16149 mpfr_if_f.
16150 (func_calc_desc): Add mpfr_if_f union field.
16151 (FUNC_mpfr_if_f): New macro.
16152 (test_functions): Add jn and yn.
16153 (calc_generic_results): Assert type of second input for
16154 mpfr_ff_f. Handle mpfr_if_f.
16155 (output_for_one_input_case): Disable all checking for arguments
16156 fitting floating-point types in case of an integer argument.
16157 * sysdeps/i386/fpu/libm-test-ulps: Update.
16158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16159
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16161 Don't expect fegetround reference in libm.so.
16162
16163 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16164
16165 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16166 $(config-cflags-nofma).
16167
16168 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16169
16170 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16171 * math/auto-libm-test-out: Regenerated.
16172
16173 [BZ #16338]
16174 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16175 to determine exponent and adjust argument to have exponent of -1.
16176 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16177 log2.
16178 * math/auto-libm-test-out: Regenerated.
16179 * sysdeps/i386/fpu/libm-test-ulps: Update.
16180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16181
16182 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16183
16184 * manual/probes.texi: Remove cases when per-thread arenas are
16185 disabled.
16186
16187 2013-12-18 Andreas Schwab <schwab@suse.de>
16188
16189 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16190 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16191 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16192 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16193 * sysdeps/i386/i686/multiarch/Makefile: Update.
16194 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16195
16196 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16197
16198 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16199 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16200
16201 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16202
16203 [BZ #15968]
16204 Support TZ transition times < 00:00:00.
16205 This is needed for version-3 tz-format files; it supports time
16206 stamps past 2037 for America/Godthab (the only entry in the tz
16207 database for which this change is relevant).
16208 * manual/time.texi (TZ Variable): Document transition times
16209 from -167:59:59 through -00:00:01.
16210 * time/tzset.c (tz_rule): Time of day is now signed.
16211 (__tzset_parse_tz): Parse negative time of day.
16212
16213 Document TZ transition times >= 25:00:00.
16214 * manual/time.texi (TZ Variable): Document transition times from
16215 25:00:00 through 167:59:59. These are already supported, and this
16216 support will help with version-3 tz-format files.
16217
16218 * manual/time.texi (TZ Variable): Modernize North America example
16219 to reflect current (i.e., 2007-and-later) daylight saving rules.
16220
16221 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16222
16223 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16224
16225 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16226 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16229 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16230 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16231 * sysdeps/unix/bsd/clock.c: Likewise.
16232 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16233 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16234 * sysdeps/unix/bsd/init-posix.c: Likewise.
16235 * sysdeps/unix/bsd/poll.c: Likewise.
16236 * sysdeps/unix/bsd/ptsname.c: Likewise.
16237 * sysdeps/unix/bsd/seekdir.c: Likewise.
16238 * sysdeps/unix/bsd/setegid.c: Likewise.
16239 * sysdeps/unix/bsd/seteuid.c: Likewise.
16240 * sysdeps/unix/bsd/setgid.c: Likewise.
16241 * sysdeps/unix/bsd/setrgid.c: Likewise.
16242 * sysdeps/unix/bsd/setruid.c: Likewise.
16243 * sysdeps/unix/bsd/setsid.c: Likewise.
16244 * sysdeps/unix/bsd/setuid.c: Likewise.
16245 * sysdeps/unix/bsd/sigaction.c: Likewise.
16246 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16247 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16248 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16249 * sysdeps/unix/bsd/telldir.c: Likewise.
16250 * sysdeps/unix/bsd/times.c: Likewise.
16251 * sysdeps/unix/bsd/usleep.c: Likewise.
16252
16253 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16254 ($(objpfx)libbsd-compat.a): Remove rule.
16255
16256 * include/features.h (__FAVOR_BSD): Do not define.
16257 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16258 features conflicting with POSIX.
16259 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16260 (_BSD_SOURCE): Remove description of not being a subset of other
16261 feature test macros.
16262 * manual/job.texi (getpgrp): Do not document BSD version.
16263 (getpgid): Do not document by reference to BSD getpgrp.
16264 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16265 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16266 * signal/signal.h [__FAVOR_BSD]: Likewise.
16267 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16268 instead of making contents conditional on [__FAVOR_BSD].
16269 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16270
16271 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16272
16273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16274
16275 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16276
16277 [BZ #16314]
16278 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16279 values below 2**-450, not 2**-500.
16280 * math/auto-libm-test-in: Don't allow spurious underflow from
16281 hypot.
16282 * math/auto-libm-test-out: Regenerated.
16283
16284 [BZ #16316]
16285 [BZ #16330]
16286 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16287 values of ha and hb and sort them after adjusting subnormal
16288 arguments.
16289 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16290 Likewise.
16291 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16292 values of ea and eb and sort them after adjusting subnormal
16293 arguments.
16294 * math/auto-libm-test-in: Do not expect some hypot tests of
16295 subnormals to fail. Add more hypot tests.
16296 * math/auto-libm-test-out: Regenerated.
16297
16298 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16299
16300 [BZ #13304]
16301 * sysdeps/sh/s_fma.c: New file.
16302 * sysdeps/sh/s_fmaf.c: New file.
16303 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16304 version.
16305 * sysdeps/sh/Implies: Add sh/soft-fp.
16306
16307 2013-12-16 Roland McGrath <roland@hack.frob.com>
16308
16309 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16310 level of indirection to members `objname', `errstring', `malloced'.
16311 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16312 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16313 it as the __longjmp argument (just pass 1 instead).
16314 (_dl_catch_error): Initialize C with argument pointers and address of
16315 volatile local ERRCODE rather than copying values out of C at return.
16316
16317 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16318
16319 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16320 * math/auto-libm-test-out: Regenerated.
16321 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16322 (hypot_test_data): Likewise.
16323 (pow_test_data): Likewise.
16324 (pow_tonearest_test_data): Likewise.
16325 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16326 mpfr_ff_f.
16327 (func_calc_desc): Add mpfr_ff_f union field.
16328 (FUNC_mpfr_ff_f): New macro.
16329 (test_functions): Add atan2, hypot and pow.
16330 (special_fill_min): New function.
16331 (special_fill_minus_min): Likewise.
16332 (special_fill_min_subnorm): Likewise.
16333 (special_fill_minus_min_subnorm): Likewise.
16334 (special_real_inputs): Add min, -min, min_subnorm and
16335 -min_subnorm.
16336 (calc_generic_results): Handle mpfr_ff_f.
16337 * sysdeps/i386/fpu/libm-test-ulps: Update.
16338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16339
16340 2013-12-16 Will Newton <will.newton@linaro.org>
16341
16342 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16343 (Aligned Memory Blocks): Add documentation for aligned_alloc
16344 and suggest it as an alternative to posix_memalign.
16345 (Hooks for Malloc): Document __memalign_hook is also called
16346 for aligned_alloc. (Summary of Malloc): Add summary for
16347 aligned alloc. Document __memalign_hook is also called
16348 for aligned_alloc.
16349
16350 2013-12-16 Will Newton <will.newton@linaro.org>
16351
16352 * manual/memory.texi (Malloc Examples): Clarify default
16353 alignment documentation. Suggest posix_memalign rather
16354 than memalign or valloc.
16355 (Aligned Memory Blocks): Remove suggestion to use memalign
16356 or valloc. Remove obsolete comment about BSD.
16357 Document memalign errno values and mark the function obsolete.
16358 Document posix_memalign returned error codes. Mark valloc
16359 as obsolete. (Hooks for Malloc): __memalign_hook is also
16360 called for posix_memalign and valloc.
16361 (Summary of Malloc): Add posix_memalign to function summary.
16362 __memalign_hook is also called for posix_memalign and valloc.
16363
16364 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16365
16366 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16367 TAYLOR_SIN.
16368 (__sin): Adjust.
16369 (__cos): Likewise.
16370 (sloww): Use mynumber union. Expand ternary operator into
16371 if-else statements.
16372 (cslow): use mynumber union.
16373
16374 2013-12-16 Allan McRae <allan@archlinux.org>
16375
16376 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16377 * configure: Regenerated.
16378
16379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16380
16381 [BZ #14120]
16382 * configure.ac: Added --enable-maintainer-mode. Check for
16383 autoconf when enabled.
16384 * configure: Regenerated.
16385
16386 * nscd/nscd.service: New file.
16387 * nscd/nscd.tmpfiles: New file.
16388
16389 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16390
16391 [BZ #12100]
16392 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16393 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16394 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16395 (strstr): Add __strstr_sse2_unaligned ifunc.
16396 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16397 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16398 (strcasestr): Remove __strcasestr_sse42 ifunc.
16399 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16402
16403 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16404
16405 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16406 * sysdeps/sh/bits/fenv.h: ... here.
16407 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16408
16409 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16410
16411 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16412
16413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16414 hypotf multiarch implementations.
16415 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16416 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16417 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16418 multiarch hypot for PPC64.
16419 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16420 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16421 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16422 multiarch hypotf for PPC64.
16423
16424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16425 modff multiarch implementations.
16426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16429 multiarch modf for PPC64.
16430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16433 multiarch modff for PPC64.
16434
16435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16436 and logl multiarch implementations.
16437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16440 multiarch logb for PPC64.
16441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16444 multiarch logb for PPC64.
16445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16448 multiarch logb for PPC64.
16449
16450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16451 isinff multiarch implementation.
16452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16453 file.
16454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16456 multiarch isinf for PPC64.
16457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16458 file.
16459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16460 multiarch isinff for PPC64.
16461
16462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16463 finitef multiarch implementation.
16464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16465 file.
16466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16468 multiarch finite for PPC64.
16469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16470 file.
16471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16472 multiarch finitef for PPC64.
16473
16474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16475 lrint multiarch implementation.
16476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16477 file.
16478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16480 multiarch llrint for PPC64.
16481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16482 multiarch lrint for PPC64.
16483
16484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16485 copysignf multiarch implementation.
16486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16487 file.
16488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16489 file.
16490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16491 multiarch copysign for PPC64.
16492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16493 multiarch copysignf for PPC64.
16494
16495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16496 multiarch implementation.
16497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16498 file.
16499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16500 file.
16501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16502 file.
16503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16504 file.
16505 multiarch llround for PPC64.
16506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16507 multiarch trunc for PPC64.
16508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16509 multiarch truncf for PPC64.
16510
16511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16512 multiarch implementation.
16513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16514 file.
16515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16516 file.
16517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16518 file.
16519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16520 file.
16521 multiarch llround for PPC64.
16522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16523 multiarch round for PPC64.
16524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16525 multiarch roundf for PPC64.
16526
16527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16528 multiarch implementation.
16529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16530 file.
16531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16532 file.
16533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16534 file.
16535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16536 file.
16537 multiarch llround for PPC64.
16538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16539 multiarch floor for PPC64.
16540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16541 multiarch floorf for PPC64.
16542
16543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16544 multiarch implementation.
16545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16546 file.
16547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16548 file.
16549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16550 file.
16551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16552 file.
16553 multiarch llround for PPC64.
16554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16555 multiarch ceil for PPC64.
16556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16557 multiarch ceilf for PPC64.
16558
16559 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16560 multiarch implementation.
16561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16562 file.
16563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16564 file.
16565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16566 file.
16567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16568 multiarch llround for PPC64.
16569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16570 multiarch lround for PPC64.
16571
16572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16573 multiarch implementation.
16574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16577 file.
16578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16581 multiarch isnan for PPC64.
16582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16583 multiarch isnanf for PPC64.
16584
16585 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16586 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16587 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16588 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16589 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16591
16592 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16593 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16594 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16595 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16596
16597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16598 multiarch implementations.
16599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16600 (__libc_ifunc_impl_list): Likewise.
16601 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16602 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16603 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16604 multiarch stpcpy for PPC64.
16605
16606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16607 multiarch implementations.
16608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16609 (__libc_ifunc_impl_list): Likewise.
16610 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16611 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16612 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16613 multiarch strcpy for PPC64.
16614
16615 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16616 redefine function name.
16617 (_wordcopy_fwd_dest_aligned): Likewise.
16618 (_wordcopy_bwd_aligned): Likewise.
16619 (_wordcopy_bwd_dest_aligned): Likewise.
16620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16621 multiarch implementations.
16622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16623 (__libc_ifunc_impl_list): Likewise.
16624 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16625 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16626 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16627 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16628 multiarch wcscpy for PPC64.
16629
16630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16631 multiarch implementations.
16632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16633 (__libc_ifunc_impl_list): Likewise.
16634 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16635 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16636 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16637 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16638 multiarch wcscpy for PPC64.
16639
16640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16641 multiarch implementations.
16642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16643 (__libc_ifunc_impl_list): Likewise.
16644 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16645 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16646 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16647 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16648 multiarch wcsrchr for PPC64.
16649
16650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16651 multiarch implementations.
16652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16653 (__libc_ifunc_impl_list): Likewise.
16654 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16655 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16656 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16657 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16658 multiarch wcschr for PPC64.
16659
16660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16661 multiarch implementations.
16662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16663 (__libc_ifunc_impl_list): Likewise.
16664 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16665 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16666 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16667 multiarch strchrnul for PPC64.
16668
16669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16670 implementations.
16671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16672 (__libc_ifunc_impl_list): Likewise.
16673 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16674 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16675 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16676 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16677 strchr for PPC64.
16678
16679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16680 implementations.
16681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16682 (__libc_ifunc_impl_list): Likewise.
16683 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16684 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16685 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16686 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16687 strncmp for PPC64.
16688
16689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16690 multiarch implementations.
16691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16692 (__libc_ifunc_impl_list): Likewise.
16693 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16694 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16695 strncasecmp for PPC64.
16696 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16697 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16698 multiarch strncasecmp_l for PPC64.
16699
16700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16701 multiarch implementations.
16702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16703 (__libc_ifunc_impl_list): Likewise.
16704 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16705 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16706 multiarch strcasecmp for PPC64.
16707 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16708 file.
16709 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16710 multiarch strcasecmp_l for PPC64.
16711
16712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16713 implementations.
16714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16715 (__libc_ifunc_impl_list): Likewise.
16716 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16717 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16718 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16719 strnlen for PPC64.
16720
16721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16722 implementations.
16723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16724 (__libc_ifunc_impl_list): Likewise.
16725 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16726 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16727 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16728 strlen for PPC64.
16729
16730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16731 implementations.
16732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16733 (__libc_ifunc_impl_list): Likewise.
16734 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16735 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16736 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16737 rawmemrchr for PPC64.
16738
16739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16740 implementation.
16741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16742 (__libc_ifunc_impl_list): Likewise.
16743 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16744 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16745 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16746 memrchr for PPC64.
16747
16748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16749 implementation.
16750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16751 (__libc_ifunc_impl_list): Likewise.
16752 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16753 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16754 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16755 memchr for PPC64.
16756
16757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16758 implementation.
16759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16760 (__libc_ifunc_impl_list): Likewise.
16761 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16762 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16763 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16764 mempcpy for PPC64.
16765
16766 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16767 avoid cretion of __bzero symbol.
16768 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16769 Likewise.
16770 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16771 Likewise.
16772 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16773 Likewise.
16774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16775 multiarch implementations.
16776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16777 (__libc_ifunc_impl_list): Likewise.
16778 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16779 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16780 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16781 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16782 bzero for PPC32.
16783 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16784 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16785 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16786 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16787 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16788 memset for PPC64.
16789 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16790
16791 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16793 implementations.
16794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16795 (__libc_ifunc_impl_list): Likewise.
16796 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16797 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16798 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16799 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16800 memcmp for PPC64.
16801
16802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16803 multiarch for POWER/PPC64.
16804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16805 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16806 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16807 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16808 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16809 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16810 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16811 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16812 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16813 memcpy for PPC64.
16814
16815 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16816 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16817 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16818 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16819 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16820 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16821 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16822 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16823 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16824 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16825 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16826 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16827 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16828 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16829 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16837
16838 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16839
16840 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16841
16842 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16843
16844 * benchtests/Makefile (bench): Add exp2 and log2.
16845 (LDLIBS-bench-exp2): Add -lm.
16846 (LDLIBS-bench-log2): Likewise.
16847 * benchtests/exp2-inputs: New inputs file.
16848 * benchtests/log2-inputs: New inputs file.
16849 * benchtests/log-inputs: Add new inputs.
16850 * benchtests/tan-inputs: Likewise.
16851
16852 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16853
16854 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16855 definition...
16856 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16857 (csloww2): ... from here.
16858
16859 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16860 instead of structures.
16861 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16862 (POLYNOMIAL): Likewise.
16863 (TAYLOR_SLOW): Likewise.
16864 (__sin): Likewise.
16865 (__cos): Likewise.
16866 (slow1): Likewise.
16867 (slow2): Likewise.
16868 (sloww): Likewise.
16869 (sloww1); Likewise.
16870 (sloww2): Likewise.
16871 (bsloww1): Likewise.
16872 (bsloww2): Likewise.
16873 (cslow2): Likewise.
16874 (csloww): Likewise.
16875 (csloww1): Likewise.
16876 (csloww2): Likewise.
16877
16878 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
16879
16880 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16881 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16882 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16883 * malloc/hooks.c (realloc_check): Likewise.
16884
16885 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16886 * malloc/arena.c: Remove PER_THREAD conditional.
16887 [!PER_THREAD]: Remove code.
16888 (ptmalloc_unlock_all2): Likewise.
16889 (ptmalloc_init): Likewise.
16890 (_int_new_arena): Likewise.
16891 (arena_get2): Likewise.
16892 * malloc/hooks.c (__malloc_get_state): Likewise.
16893 (__malloc_set_state): Likewise.
16894 * malloc/malloc.c: Likewise.
16895 (struct malloc_state): Likewise.
16896 (struct malloc_par): Likewise.
16897 (__libc_realloc): Likewise.
16898 (__libc_mallopt): Likewise.
16899
16900 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16901
16902 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16903
16904 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
16905
16906 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16907 macro to a function. Check for zero perturb_byte.
16908 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16909
16910 * malloc/malloc.c: (force_reg): Remove.
16911 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16912 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16913 force_reg by atomic_forced_read.
16914 * malloc/arena.c (ptmalloc_init): Likewise.
16915 * malloc/hooks.c (top_check): Likewise.
16916
16917 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16918
16919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16920
16921 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16922
16923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16924
16925 2013-12-08 Joseph Myers <joseph@codesourcery.com>
16926
16927 * math/auto-libm-test-in: Add tests of lgamma.
16928 * math/auto-libm-test-out: Regenerated.
16929 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16930 (M_LOG_2_SQRT_PIl): Likewise.
16931 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16932 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16933 mpfr_f_f1.
16934 (func_calc_desc): Add mpfr_f_f1 union field.
16935 (ARGS1): New macro.
16936 (ARGS2): Likewise.
16937 (ARGS3): Likewise.
16938 (ARGS4): Likewise.
16939 (RET1): Likewise.
16940 (RET2): Likewise.
16941 (CALC): Likewise.
16942 (FUNC): Likewise.
16943 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16944 (test_functions): Add lgamma.
16945 (calc_generic_results): Handle mpfr_f_f1.
16946 * sysdeps/i386/fpu/libm-test-ulps: Update.
16947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16948
16949 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16950
16951 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16952 __mpn_add_n for PowerPC64/POWER7.
16953 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16954 __mpn_sub_n for PowerPC64/POWER7.
16955
16956 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16957 __mpn_addmul_1 for PowerPC64.
16958 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16959 __mpn_submul_1 for PowerPC64.
16960 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16961 for PowerPC64.
16962 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16963 for PowerPC64.
16964
16965 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16966
16967 [BZ #15089]
16968 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16969
16970 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16971
16972 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16973
16974 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16975 add multiarch folders.
16976 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16977 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16978 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16979 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16980 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16981 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16982 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16983 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16984 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16985 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16986 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16993
16994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16995 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16997 New file.
16998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16999 New file.
17000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17001 multiarch __ieee754_hypot for PowerPC32.
17002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17003 New file.
17004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17005 New file.
17006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17007 multiarch __ieee754_hypotf for PowerPC32.
17008
17009 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17010 long_double_symbol only if __logbl is defined.
17011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17012 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17014 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17016 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17017 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17018 path for implementation.
17019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17020 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17022 logb, and logbl multiarch implementations for PowerPC32.
17023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17024 file.
17025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17026 file.
17027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17028 multiarch logb for PowerPC32.
17029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17030 file.
17031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17032 file.
17033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17034 multiarch logbf for PowerPC32.
17035 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17037 file.
17038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17039 multiarch logbl implementation for PowerPC32.
17040
17041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17042 and modff multiarch implementations.
17043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17044 New file.
17045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17046 New file.
17047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17048 multiarch modf for PowerPC32.
17049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17050 New file.
17051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17052 New file.
17053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17054 multiarch modff for PowerPC32.
17055
17056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17057 and lrintf multiarch implementations.
17058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17059 New file.
17060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17061 New file.
17062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17063 multiarch lrint for PowerPC32.
17064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17065 file: multiarch lrintf for PowerPC32.
17066
17067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17068 and lroundf multiarch implementations.
17069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17070 New file.
17071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17072 New file.
17073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17074 New file.
17075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17076 multiarch lround for PowerPC32.
17077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17078 file: multiarch lroundf for PowerPC32.
17079
17080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17081 copysign and copysignf multiarch implementations.
17082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17083 New file.
17084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17085 New file.
17086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17087 file: multiarch copysign for PowerPC32.
17088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17089 file: multiarch copysignf for PowerPC32.
17090
17091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17092 and truncf multiarch implementations.
17093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17094 New file.
17095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17096 file.
17097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17098 multiarch trunc for PowerPC32.
17099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17100 New file.
17101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17102 New file.
17103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17104 multiarch truncf for PowerPC32.
17105
17106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17107 and roundf multiarch implementations.
17108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17109 New file.
17110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17111 file.
17112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17113 multiarch round for PowerPC32.
17114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17115 New file.
17116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17117 New file.
17118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17119 multiarch roundf for PowerPC32.
17120
17121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17122 and floorf multiarch implementations.
17123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17124 New file.
17125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17126 file.
17127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17128 multiarch floor for PowerPC32.
17129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17130 New file.
17131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17132 New file.
17133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17134 multiarch floorf for PowerPC32.
17135
17136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17137 and ceilf multiarch implementations.
17138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17139 New file.
17140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17141 file.
17142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17143 multiarch ceil for PowerPC32.
17144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17145 New file.
17146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17147 file.
17148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17149 multiarch ceilf for PowerPC32.
17150
17151 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17152 is defined.
17153 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17154 FINITEF is defined.
17155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17156 and finitef multiarch implementations.
17157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17158 New file.
17159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17160 file.
17161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17162 multiarch finite for PowerPC32.
17163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17164 New file.
17165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17166 file: multiarch finitef for PowerPC32.
17167
17168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17169 and isinff multiarch implementations.
17170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17171 file.
17172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17173 file.
17174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17175 multiarch isinf for PowerPC32.
17176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17177 New file.
17178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17179 multiarch isinff for PowerPC32.
17180
17181 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17182 alias when __isnan is defined.
17183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17184 and isnanf multiarch implementations.
17185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17186 file.
17187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17188 file.
17189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17190 file.
17191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17192 file.
17193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17194 multiarch isnan for PowerPC32.
17195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17196 New file.
17197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17198 New file.
17199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17200 multiarch isnanf for PowerPC32.
17201
17202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17203 and sqrtf multiarch implementations.
17204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17205 file.
17206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17207 file.
17208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17209 multiarch sqrt for PowerPC32.
17210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17211 file.
17212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17213 file.
17214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17215 multiarch sqrtf for PowerPC32.
17216
17217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17218 and llroundf multiarch implementations.
17219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17220 New file.
17221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17222 New file.
17223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17224 New file.
17225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17226 file: multiarch llround for PowerPC32.
17227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17228 file: multiarch llroundf for PowerPC32.
17229
17230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17231 multiarch PowerPC32 fpu implementations.
17232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17233 New file.
17234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17235 New file.
17236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17237 multiarch llrint for PowerPC32.
17238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17239 New file.
17240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17241 New file.
17242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17243 file.
17244
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17246
17247 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17248 file.
17249 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17250 file.
17251 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17252 file.
17253 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17254 multiarch wordcopy for PPC32.
17255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17256 wordcopy objects.
17257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17258 (__libc_ifunc_impl_list): Likewise.
17259 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17260 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17261 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17262 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17263 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17264 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17265
17266 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17268 file.
17269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17270 file.
17271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17272 file.
17273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17274 multiarch wcscpy for PPC32.
17275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17276 multiarch objects.
17277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17278 (__libc_ifunc_impl_list): Likewise.
17279 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17280 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17281 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17282 sysdeps/powerpc/power6/wcscpy.c.
17283
17284 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17286 file.
17287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17288 file.
17289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17290 file.
17291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17292 multiarch wcsrchr for PPC32.
17293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17294 multiarch objects.
17295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17296 (__libc_ifunc_impl_list): Likewise.
17297 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17298 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17299 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17300 sysdeps/powerpc/power6/wcsrchr.c.
17301
17302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17303 file.
17304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17305 file.
17306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17308 multiarch wcschr for PPc32.
17309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17310 multiarch objects.
17311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17312 (__libc_ifunc_impl_list): Likewise.
17313 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17314 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17315 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17316 sysdeps/powerpc/power6/wcschr.c.
17317
17318 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17319 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17320 file.
17321 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17322 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17323 file: multiarch strchr for PPC32.
17324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17325 multiarch objects.
17326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17327 (__libc_ifunc_impl_list): Likewise.
17328
17329 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17330 name.
17331 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17332 file.
17333 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17334 file.
17335 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17336 multiarch strchrnul for PPC32.
17337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17338 multiarch objects.
17339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17340 (__libc_ifunc_impl_list): Likewise.
17341
17342 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17343 file.
17344 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17345 multiarch strncasecmp for PPC32.
17346 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17347 file.
17348 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17349 multiarch strncasecmp_l for PPC32.
17350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17351 strncasecmp multiarch objects.
17352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17353 (__libc_ifunc_impl_list): Likewise.
17354
17355 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17356 file.
17357 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17358 multiarch strncasecmp for PPC32.
17359 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17360 New file.
17361 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17362 multiarch strcasecmp_l for PPC32.
17363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17364 multiarch objects.
17365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17366 (__libc_ifunc_impl_list): Likewise.
17367
17368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17369 file.
17370 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17371 file.
17372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17373 multiarch strncmp for PPC32.
17374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17375 multiarch objects.
17376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17377 (__libc_ifunc_impl_list): Likewise.
17378
17379 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17380 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17381 file.
17382 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17383 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17385 multiarch objects.
17386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17387 (__libc_ifunc_impl_list): Likewise.
17388
17389 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17390 file.
17391 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17392 file.
17393 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17395 multiarch objects.
17396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17397 (__libc_ifunc_impl_list): Likewise.
17398
17399 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17400 file.
17401 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17402 file.
17403 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17404 multiarch rawmemchr for PPC32.
17405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17406 multiarch objects.
17407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17408 (__libc_ifunc_impl_list): Likewise.
17409
17410 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17411 file.
17412 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17413 file.
17414 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17415 file: memrchr multiarch for PPC32.
17416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17417 multiarch objects.
17418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17419 (__libc_ifunc_impl_list): Likewise.
17420
17421 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17422 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17423 file.
17424 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17425 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17426 multiarch memchr for PPC32.
17427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17428 multiarch objects.
17429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17430 (__libc_ifunc_impl_list): Likewise.
17431
17432 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17433 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17434 file.
17435 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17436 file.
17437 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17438 file: multiarch mempcpy for PPC32.
17439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17440 multiarch objects.
17441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17442 (__libc_ifunc_impl_list): Likewise.
17443
17444 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17445 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17446 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17447 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17448 multiarch bzero for PPC32.
17449 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17450 file.
17451 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17452 file.
17453 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17454 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17455 file: multiarch memset for PPC32.
17456 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17458 memset multiarch objects.
17459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17460 (__libc_ifunc_impl_list): Likewise.
17461
17462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17463 file.
17464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17465 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17466 memcmp for PPC32.
17467 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17469 multiarch objects.
17470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17471 (__libc_ifunc_impl_list): Likewise.
17472
17473 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17474 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17475 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17476 file.
17477 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17478 file.
17479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17480 file.
17481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17482 multiarch memcpy for PPC32.
17483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17484 multiarch objects.
17485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17486 (__libc_ifunc_impl_list): Likewise.
17487
17488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17489 support multiarch for POWER/PPC32.
17490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17491 Likewise.
17492 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17494 Implies file to make multiarch folder appers before the fpu and
17495 default folder for power4 configuration.
17496
17497 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17498
17499 * scripts/bench.pl: Append volatile keyword to type.
17500
17501 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17502
17503 * sysdeps/sh/sotruss-lib.c: New file.
17504 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17505
17506 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17507
17508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17509
17510 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17511
17512 [BZ #6810]
17513 * math/w_tgamma.c: Include <errno.h>.
17514 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17515 * math/w_tgammaf.c: Include <errno.h>.
17516 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17517 * math/w_tgammal.c: Include <errno.h>.
17518 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17519 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17520 underflow. Add more tgamma tests.
17521 * math/auto-libm-test-out: Regenerated.
17522 * sysdeps/i386/fpu/libm-test-ulps: Update.
17523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17524
17525 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17526 sin, sinh, tan, tanh, tgamma, y0 and y1.
17527 * math/auto-libm-test-out: Regenerated.
17528 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17529 (TEST_COND_x86): Likewise.
17530 (M_E2l): Remove macro.
17531 (M_E3l): Likewise.
17532 (M_2_SQRT_PIl): Likewise.
17533 (M_SQRT_PIl): Likewise.
17534 (M_1_DIV_El): Likewise.
17535 (log_test_data): Use AUTO_TESTS_f_f.
17536 (log10_test_data): Likewise.
17537 (log1p_test_data): Likewise.
17538 (log2_test_data): Likewise.
17539 (sin_test_data): Likewise.
17540 (sin_tonearest_test_data): Likewise.
17541 (sin_towardzero_test_data): Likewise.
17542 (sin_downward_test_data): Likewise.
17543 (sin_upward_test_data): Likewise.
17544 (sinh_test_data): Likewise.
17545 (sinh_tonearest_test_data): Likewise.
17546 (sinh_towardzero_test_data): Likewise.
17547 (sinh_downward_test_data): Likewise.
17548 (sinh_upward_test_data): Likewise.
17549 (tan_test_data): Likewise.
17550 (tan_tonearest_test_data): Likewise.
17551 (tan_towardzero_test_data): Likewise.
17552 (tan_downward_test_data): Likewise.
17553 (tan_upward_test_data): Likewise.
17554 (tanh_test_data): Likewise.
17555 (tgamma_test_data): Likewise.
17556 (y0_test_data): Likewise.
17557 (y1_test_data): Likewise.
17558 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17559 (special_real_inputs): Add pi/4.
17560 * sysdeps/i386/fpu/libm-test-ulps: Update.
17561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17562
17563 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17564
17565 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17566 "longjmp_target" static probes.
17567 (__longjmp): Rename to __longjmp_symbol.
17568 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17569 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17570 on which longjmp to generate.
17571 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17572 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17573 probe.
17574 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17575 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17576 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17577 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17578 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17579 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17581 __longjmp_symbol based on which __longjmp to generate.
17582 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17583 probe.
17584 (setjmp): Rename to setjmp_symbol.
17585 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17586 (_setjmp): Rename to _setjmp_symbol.
17587 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17588 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17589 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17590 which setjmp to generate.
17591 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17592 "longjmp_target" static probes.
17593
17594 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17595
17596 * benchtests/README: Add note about output arguments.
17597 * benchtests/bench-sincos.c: Remove file.
17598 * benchtests/sincos-inputs: New file.
17599 * scripts/bench.pl: Identify output arguments and define
17600 static variables for them.
17601
17602 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17603
17604 [BZ #15941]
17605 * Makefile (INSTALL): Add install-plain.texi as the primary
17606 dependency.
17607 * manual/install-plain.texi: New file.
17608 * manual/install.texi: Include node directive only for
17609 non-plaintext output.
17610
17611 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17612
17613 * stdlib/longlong.h: Update from GCC.
17614
17615 [BZ #6807]
17616 [BZ #15901]
17617 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17618 * math/w_j0f.c (y0f): Likewise.
17619 * math/w_j0l.c (__y0l): Likewise.
17620 * math/w_j1.c (y1): Likewise.
17621 * math/w_j1f.c (y1f): Likewise.
17622 * math/w_j1l.c (__y1l): Likewise
17623 * math/w_jn.c (yn): Likewise.
17624 * math/w_jnf.c (ynf): Likewise.
17625 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17626 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17627 value for Bessel function domain errors outside _SVID_ mode.
17628 Adjust sign of return value for yn (negative integer, 0).
17629 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17630 by zero in return for negative x and set sign appropriately for
17631 negative n.
17632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17633 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17634 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17635 expectations in error cases.
17636 (y1_test_data): Likewise.
17637 (yn_test_data): Likewise.
17638 * sysdeps/i386/fpu/libm-test-ulps: Update.
17639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17640
17641 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17642
17643 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17644 "64" to "64-v1". Add "64-v2".
17645 (abi-64-options): Rename to ...
17646 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17647 (abi-64-condition): Rename to ...
17648 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17649 (abi-64-ld-soname): Rename to ...
17650 (abi-64-v1-ld-soname): ... this.
17651 (abi-64-v2-options): Define.
17652 (abi-64-v2-condition): Likewise.
17653 (abi-64-v2-ld-soname): Likewise.
17654 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17655 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17659
17660 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17661 Alan Modra <amodra@gmail.com>
17662
17663 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17664 New versions for use with the ELFv2 ABI.
17665 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17666 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17667 declaration.
17668 (struct La_ppc64v2_retval): Likewise.
17669 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17670 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17671 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17672 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17673 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17675 Do not save or restore CR.
17676 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17677 (_dl_profile_resolve): Do no save or restore CR. Support extended
17678 return values for ELFv2 ABI. Fix location of FPR return registers.
17679 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17680 updated values for _CALL_ELF == 2.
17681 (La_regs, La_retval, int_retval): Likewise.
17682
17683 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17684
17685 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17686 (FRAME_MIN_SIZE_PARM): Likewise.
17687 (FRAME_BACKCHAIN): Likewise.
17688 (FRAME_CR_SAVE): Likewise.
17689 (FRAME_LR_SAVE): Likewise.
17690 (FRAME_TOC_SAVE): Likewise.
17691 (FRAME_PARM_SAVE): Likewise.
17692 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17693 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17694 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17695 (call_mcount_parm_offset): New macro.
17696 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17697 (PROF): Use symbolic stack frame offsets.
17698 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17699 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17700 Redefine in terms of FRAME_MIN_SIZE.
17701 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17702 (_dl_profile_resolve): Likewise. Update comment.
17703 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17704 symbols stack frame offsets.
17705 (__sigsetjmp): Likewise.
17706 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17707 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17708 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17709 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17710
17711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17712 (FRAME_BACKCHAIN): Remove.
17713 (FRAME_CR_SAVE): Likewise.
17714 (FRAME_LR_SAVE): Likewise.
17715 (FRAME_COMPILER_DW): Likewise.
17716 (FRAME_LINKER_DW): Likewise.
17717 (FRAME_TOC_SAVE): Likewise.
17718 (FRAME_PARM_SAVE): Likewise.
17719 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17720 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17721 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17723 (CHECK_SP): Use symbolic stack frame offsets.
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17725 zone" instead of caller's parameter save area for temp storage.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17727 Likewise. Also, use symbolic stack frame offsets.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17729 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17730 our own stack frame instead of the caller's.
17731 (__socket): Use symbolic stack frame offsets.
17732
17733 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17734 Alan Modra <amodra@gmail.com>
17735
17736 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17737 Define.
17738 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17739 (PPC64_LOCAL_ENTRY_OFFSET): Define.
17740 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17741 New function.
17742 (elf_machine_fixup_plt): Call it.
17743 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17744 reloc arguments.
17745 (elf_machine_rela): Update call to elf_machine_plt_conflict.
17746 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17747 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17748 r2 before calling target.
17749
17750 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17751 Alan Modra <amodra@gmail.com>
17752
17753 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17754 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17755 versions of macros to support ELFv2 ABI.
17756 (LOCALENTRY): New macro.
17757 (ENTRY, EALIGN): Use it.
17758 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17759 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17760 fall through into ENTRY entry point.
17761 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17762 Only define if _CALL_ELF != 2.
17763
17764 (elf_machine_matches_host): Verify ABI version matches.
17765 (RTLD_START): Use LOCALENTRY.
17766 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17767 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17768 (PLT_ENTRY_WORDS): New macro.
17769 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17770 (elf_machine_runtime_setup): Support ELFv2 ABI.
17771 (elf_machine_fixup_plt): Likewise.
17772 (elf_machine_plt_conflict): Likewise.
17773 (resolve_ifunc): Likewise.
17774 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17775 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17776 Likewise.
17777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17778 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17780 (makecontext): Support ELFv2 ABI.
17781 * elf/elf.h (EF_PPC64_ABI): Define.
17782
17783 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17784
17785 * sysdeps/powerpc/powerpc64/sysdep.h
17786 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17787 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17788 (ENTRY) [ASSEMBLER]: ... but instead here ...
17789 (EALIGN) [ASSEMBLER]: ... and here.
17790 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17791 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17792 (ENTRY_2) [!ASSEMBLER]: Use it.
17793 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17794 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
17795 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17796 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17797 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17799 Use PPC64_LOAD_FUNCPTR.
17800
17801 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17802
17803 2013-12-04 Alan Modra <amodra@gmail.com>
17804
17805 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17806 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17807 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17808 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17809
17810 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17811 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17812 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17813 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17814 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17815 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17816
17817 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17818
17819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17820 (__makecontext): Fix incorrect CFI when backtracing out of
17821 context created via makecontext.
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17823 (__setcontext): Fix incorrect CFI during switch to new context.
17824 (__novec_setcontext): Likewise.
17825
17826 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17827
17828 [BZ #4772]
17829 * time/strptime_l.c (__strptime_internal): Allow modifiers
17830 in strptime.
17831 * time/tst-strptime.c (day_tests): Add testcase.
17832
17833 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17834
17835 * scripts/bench.pl: Skip over blank lines.
17836
17837 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17838
17839 [BZ #926]
17840 * manual/time.texi (Calendar Time): Clarify what timezone functions
17841 use.
17842
17843 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17844
17845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17846
17847 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17848
17849 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17850 implementation.
17851 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17852 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17853 * debug/memset_chk.c (__memset_chk): Likewise.
17854 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17855 * debug/strncpy_chk.c: Likewise.
17856
17857 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17858
17859 [BZ #15268]
17860 [BZ #15425]
17861 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17862 (__ieee754_exp): For possibly underflowing results, check size of
17863 result and force underflow exception if required.
17864 * math/auto-libm-test-in: Add more tests of exp.
17865 * math/auto-libm-test-out: Regenerated.
17866 * sysdeps/i386/fpu/libm-test-ulps: Update.
17867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17868
17869 [BZ #16283]
17870 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17871 * math/w_exp2f.c (__exp2f): Likewise.
17872 * math/w_exp2l.c (__exp2l): Likewise.
17873 * math/auto-libm-test-in: Do not allow missing errno on exp2
17874 underflow.
17875 * math/auto-libm-test-out: Regenerated.
17876
17877 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
17878
17879 [BZ #16274]
17880 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17881 handle filename validation.
17882 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17883 (do_open): Delete.
17884
17885 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17886
17887 [BZ #6786]
17888 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17889 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17890 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17891 <float.h>.
17892 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17893 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17894 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17895 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17896 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17897 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17898 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17899 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17900 Add more erfc tests.
17901 * math/auto-libm-test-out: Regenerated.
17902 * sysdeps/i386/fpu/libm-test-ulps: Update.
17903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17904
17905 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17906 exp2, expm1, j0 and j1.
17907 * math/auto-libm-test-out: Regenerated.
17908 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17909 (erfc_test_data): Likewise.
17910 (exp_test_data): Likewise.
17911 (exp_tonearest_test_data): Likewise.
17912 (exp_towardzero_test_data): Likewise.
17913 (exp_downward_test_data): Likewise.
17914 (exp_upward_test_data): Likewise.
17915 (exp10_test_data): Likewise.
17916 (exp2_test_data): Likewise.
17917 (expm1_test_data): Likewise.
17918 (j0_test_data): Likewise.
17919 (j1_test_data): Likewise.
17920 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17921 (input_flag_type): Add flag_xfail_rounding.
17922 (input_flags): Add xfail-rounding.
17923 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17924 (output_for_one_input_case): Handle flag_xfail_rounding.
17925 * sysdeps/i386/fpu/libm-test-ulps: Update.
17926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17927
17928 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17929
17930 [BZ #16289]
17931 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17932 division by 0.
17933
17934 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17935
17936 [BZ #16195]
17937 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17938 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17939 (STAP_PROBE0): New macro.
17940 (STAP_PROBE1): Likewise.
17941 (STAP_PROBE2): Likewise.
17942 (STAP_PROBE3): Likewise.
17943 (STAP_PROBE4): Likewise.
17944
17945 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
17946
17947 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17948
17949 2013-12-02 Steve Ellcey <sellcey@mips.com>
17950
17951 * benchtests/Makefile (bench): Add sqrt.
17952 (LDLIBS-bench-sqrt): New.
17953 * benchtests/sqrt-input: New.
17954
17955 2013-12-02 Pavel Simerda <psimerda@redhat.com>
17956
17957 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17958 (GAIH_EAI): Likewise.
17959 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17960 (gaih_inet): Likewise.
17961 (getaddrinfo): Don't use GAIH_EAI.
17962
17963 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17964 (struct gaih): Remove definition.
17965
17966 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17967
17968 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17969 Use HERRNOP directly.
17970
17971 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17972
17973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17974
17975 2013-11-30 Joseph Myers <joseph@codesourcery.com>
17976
17977 * math/gen-auto-libm-tests.c (test_functions): Add more
17978 single-argument functions.
17979 (special_fill_pi_2): New function.
17980 (special_fill_minus_pi_2): Likewise.
17981 (special_fill_pi_6): Likewise.
17982 (special_fill_minus_pi_6): Likewise.
17983 (special_fill_pi_3): Likewise.
17984 (special_fill_2pi_3): Likewise.
17985 (special_fill_e): Likewise.
17986 (special_fill_1_e): Likewise.
17987 (special_fill_e_minus_1): Likewise.
17988 (special_real_inputs): Add more special inputs.
17989 (output_for_one_input_case): Do not require ERANGE on underflow to
17990 zero if round-to-nearest result does not underflow to zero, unless
17991 exact results required.
17992 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17993 atan, atanh, cbrt, cos and cosh.
17994 * math/auto-libm-test-out: Regenerated.
17995 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17996 (acos_tonearest_test_data): Likewise.
17997 (acos_towardzero_test_data): Likewise.
17998 (acos_downward_test_data): Likewise.
17999 (acos_upward_test_data): Likewise.
18000 (acosh_test_data): Likewise.
18001 (asin_test_data): Likewise.
18002 (asin_tonearest_test_data): Likewise.
18003 (asin_towardzero_test_data): Likewise.
18004 (asin_upward_test_data): Likewise.
18005 (asinh_test_data): Likewise.
18006 (atan_test_data): Likewise.
18007 (atanh_test_data): Likewise.
18008 (cbrt_test_data): Likewise.
18009 (cos_test_data): Likewise.
18010 (cos_tonearest_test_data): Likewise.
18011 (cos_towardzero_test_data): Likewise.
18012 (cos_downward_test_data): Likewise.
18013 (cos_upward_test_data): Likewise.
18014 (cosh_test_data): Likewise.
18015 (cosh_tonearest_test_data): Likewise.
18016 (cosh_towardzero_test_data): Likewise.
18017 (cosh_downward_test_data): Likewise.
18018 (cosh_upward_test_data): Likewise.
18019 * sysdeps/i386/fpu/libm-test-ulps: Update.
18020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18021
18022 2013-11-29 Joseph Myers <joseph@codesourcery.com>
18023
18024 [BZ #6787]
18025 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18026 * math/w_exp10f.c (__exp10f): Likewise.
18027 * math/w_exp10l.c (__exp10l): Likewise.
18028 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18029 errno settings in existing tests.
18030
18031 [BZ #14032]
18032 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18033 precision control set to double precision.
18034 * sysdeps/i386/fpu/w_sqrt.c: New file.
18035 * math/auto-libm-test-in: Add more tests.
18036 * math/auto-libm-test-out: Update.
18037
18038 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18039 (sqrt_test_tonearest): New function.
18040 (sqrt_towardzero_test_data): New variable.
18041 (sqrt_test_towardzero): New function.
18042 (sqrt_downward_test_data): New variable.
18043 (sqrt_test_downward): New function.
18044 (sqrt_upward_test_data): New variable.
18045 (sqrt_test_upward): New function.
18046 (main): Call the new functions.
18047
18048 * math/gen-auto-libm-tests.c: New file.
18049 * math/auto-libm-test-in: Likewise.
18050 * math/auto-libm-test-out: New generated file.
18051 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18052 variables.
18053 (%beautify): Add generated representations of zero.
18054 (top level): Set $auto_input and call parse_auto_input.
18055 (beautify): Remove trailing "f" from hex float constants.
18056 (parse_args): Handle XFAIL_TEST.
18057 (convert_condition): New function.
18058 (or_value): Likewise.
18059 (or_cond_value): Likewise.
18060 (generate_testfile): Handle AUTO_TESTS_* lines.
18061 (parse_auto_input): New function.
18062 * math/libm-test.inc (XFAIL_TEST): New macro.
18063 (ERRNO_UNCHANGED): Update value.
18064 (ERRNO_EDOM): Likewise.
18065 (ERRNO_ERANGE): Likewise.
18066 (IGNORE_RESULT): Likewise.
18067 (TEST_COND_flt_32): New macro.
18068 (TEST_COND_dbl_64): Likewise.
18069 (TEST_COND_ldbl_96_intel): Likewise.
18070 (TEST_COND_ldbl_96_m68k): Likewise.
18071 (TEST_COND_ldbl_128): Likewise.
18072 (TEST_COND_ldbl_128ibm): Likewise.
18073 (TEST_COND_long32): Likewise.
18074 (TEST_COND_long64): Likewise.
18075 (TEST_COND_before_rounding): Likewise.
18076 (TEST_COND_after_rounding): Likewise.
18077 (enable_test): Handle XFAIL_TEST flag.
18078 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18079 with finite results.
18080 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18081 auto-libm-test-out.
18082
18083 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18084 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18085
18086 [BZ #16214]
18087 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18088 __tls_get_addr_internal instead of __tls_get_offset in order to
18089 avoid GOT pointer dependency. Make rtld export
18090 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18091 __tls_get_addr since we are a __tls_get_offset platform.
18092 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18093 GOT pointer being set up before.
18094 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18095
18096 2013-11-28 Joseph Myers <joseph@codesourcery.com>
18097
18098 * manual/math.texi (Errors in Math Functions): Document accuracy
18099 goals.
18100
18101 [BZ #15004]
18102 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18103 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18106 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18108 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18118
18119 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18120 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18121 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18122 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18123 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18124 Likewise.
18125 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18126 Likewise.
18127 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18128 Likewise.
18129 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18130 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18131 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18132 atomic-feupdateenv and flt-rounds.
18133 * sysdeps/powerpc/nofpu/Versions (libc): Add
18134 __atomic_feholdexcept, __atomic_feclearexcept,
18135 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18136 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18137 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18138 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18139 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18140 here.
18141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18142 Update.
18143
18144 * manual/arith.texi (FP Exceptions): Document that exceptions may
18145 not be raised when matherr is used.
18146 (Math Error Reporting): Document overflow in directed rounding
18147 modes. Document that errno may not be set when finite values are
18148 returned on overflow. Document intent to set errno on underflow
18149 only for underflow to zero.
18150
18151 [BZ #16271]
18152 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18153 round-to-nearest then adjust result for other rounding modes.
18154 * include/fenv.h (fegetround): Use libm_hidden_proto.
18155 * math/fegetround.c (fegetround): Use libm_hidden_def.
18156 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18157 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18158 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18159 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18160 Likewise.
18161 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18162 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18163 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18164 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18165
18166 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18167
18168 [BZ #16077]
18169 * nss/Versions (libnss_files): Add
18170 _nss_files_gethostbyname3_r.
18171 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18172 New function.
18173 (HOST_DB_LOOKUP): Remove macro.
18174 (_nss_files_gethostbyname_r): Implement function without the
18175 HOST_DB_LOOKUP macro.
18176 (_nss_files_gethostbyname2_r): Likewise.
18177
18178 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18179
18180 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18181
18182 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18183
18184 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18185 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18186 warning.
18187
18188 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18189
18190 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18191 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18192 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18193 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18194 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18195 __fe_nomask_env_priv and attribute_hidden.
18196 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18197 (libc_feupdateenv_test_ppc): Likewise.
18198 (libc_feresetround_ppc): Likewise.
18199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18200 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18201 compat_symbol macro.
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18203 (__fe_nomask_env): Likewise.
18204 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18205
18206 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18207
18208 * string/Makefile: Remove ifunc tests.
18209 * string/test-string.h: Define TEST_IFUNC.
18210 * string/test-bcopy-ifunc.c: Remove.
18211 * string/test-bzero-ifunc.c: Likewise.
18212 * string/test-memccpy-ifunc.c: Likewise.
18213 * string/test-memchr-ifunc.c: Likewise.
18214 * string/test-memcmp-ifunc.c: Likewise.
18215 * string/test-memcpy-ifunc.c: Likewise.
18216 * string/test-memmem-ifunc.c: Likewise.
18217 * string/test-memmove-ifunc.c: Likewise.
18218 * string/test-mempcpy-ifunc.c: Likewise.
18219 * string/test-memrchr-ifunc.c: Likewise.
18220 * string/test-memset-ifunc.c: Likewise.
18221 * string/test-rawmemchr-ifunc.c: Likewise.
18222 * string/test-stpcpy-ifunc.c: Likewise.
18223 * string/test-stpncpy-ifunc.c: Likewise.
18224 * string/test-strcasecmp-ifunc.c: Likewise.
18225 * string/test-strcasestr-ifunc.c: Likewise.
18226 * string/test-strcat-ifunc.c: Likewise.
18227 * string/test-strchr-ifunc.c: Likewise.
18228 * string/test-strchrnul-ifunc.c: Likewise.
18229 * string/test-strcmp-ifunc.c: Likewise.
18230 * string/test-strcpy-ifunc.c: Likewise.
18231 * string/test-strcspn-ifunc.c: Likewise.
18232 * string/test-strlen-ifunc.c: Likewise.
18233 * string/test-strncasecmp-ifunc.c: Likewise.
18234 * string/test-strncat-ifunc.c: Likewise.
18235 * string/test-strncmp-ifunc.c: Likewise.
18236 * string/test-strncpy-ifunc.c: Likewise.
18237 * string/test-strnlen-ifunc.c: Likewise.
18238 * string/test-strpbrk-ifunc.c: Likewise.
18239 * string/test-strrchr-ifunc.c: Likewise.
18240 * string/test-strspn-ifunc.c: Likewise.
18241 * string/test-strstr-ifunc.c: Likewise.
18242
18243 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18244
18245 * benchtests/Makefile: Remove ifunc tests.
18246 * benchtests/bench-string.h: Define TEST_IFUNC.
18247 * benchtests/bench-bcopy-ifunc.c: Remove.
18248 * benchtests/bench-bzero-ifunc.c: Likewise.
18249 * benchtests/bench-memccpy-ifunc.c: Likewise.
18250 * benchtests/bench-memchr-ifunc.c: Likewise.
18251 * benchtests/bench-memcmp-ifunc.c: Likewise.
18252 * benchtests/bench-memcpy-ifunc.c: Likewise.
18253 * benchtests/bench-memmem-ifunc.c: Likewise.
18254 * benchtests/bench-memmove-ifunc.c: Likewise.
18255 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18256 * benchtests/bench-memrchr-ifunc.c: Likewise.
18257 * benchtests/bench-memset-ifunc.c: Likewise.
18258 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18259 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18260 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18261 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18262 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18263 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18264 * benchtests/bench-strcat-ifunc.c: Likewise.
18265 * benchtests/bench-strchr-ifunc.c: Likewise.
18266 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18267 * benchtests/bench-strcmp-ifunc.c: Likewise.
18268 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18269 * benchtests/bench-strcpy-ifunc.c: Likewise.
18270 * benchtests/bench-strcspn-ifunc.c: Likewise.
18271 * benchtests/bench-strlen-ifunc.c: Likewise.
18272 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18273 * benchtests/bench-strncat-ifunc.c: Likewise.
18274 * benchtests/bench-strncmp-ifunc.c: Likewise.
18275 * benchtests/bench-strncpy-ifunc.c: Likewise.
18276 * benchtests/bench-strnlen-ifunc.c: Likewise.
18277 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18278 * benchtests/bench-strrchr-ifunc.c: Likewise.
18279 * benchtests/bench-strsep-ifunc.c: Likewise.
18280 * benchtests/bench-strspn-ifunc.c: Likewise.
18281 * benchtests/bench-strstr-ifunc.c: Likewise.
18282
18283 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18284
18285 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18286
18287 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18288
18289 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18290 * rt/aio.h: Likewise.
18291 * sysdeps/gnu/bits/utmp.h: Likewise.
18292 * sysdeps/gnu/bits/utmpx.h: Likewise.
18293 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18294 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18295 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18296 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18297 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18298 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18299 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18300 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18301 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18302 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18303 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18304 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18305 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18307 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18308 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18309 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18310 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18311 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18312 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18313 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18314 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18315 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18316 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18317 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18318 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18319 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18320 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18321 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18322 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18323 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18324 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18325 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18326 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18327 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18328 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18329 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18330 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18331 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18332 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18333 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18334 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18335
18336 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18337
18338 [BZ #16245]
18339 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18340 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18341
18342 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18343
18344 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18345 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18346 Likewise.
18347
18348 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18349
18350 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18351 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18352 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18353 (__fesetround): Remove define.
18354 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18355 rounding and exceptions handling.
18356 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18357 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18358 (__fe_nomask_env): Likewise.
18359 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18360 __fegetround instead of fegetround.
18361 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18362 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18363
18364 2013-11-21 Roland McGrath <roland@hack.frob.com>
18365
18366 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18367 it's there.
18368
18369 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18370
18371 2013-11-21 Meador Inge <meadori@codesourcery.com>
18372
18373 [BZ #11157]
18374 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18375 (encrypt_r): Likewise.
18376 * malloc/obstack.h (obstack_free): Likewise.
18377 * posix/unistd.h (encrypt): Likewise.
18378
18379 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18380
18381 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18382 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18383 DL_CALL_DT_FINI() that call the functions directly.
18384 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18385 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18386 * elf/dl-fini.c: Likewise.
18387
18388 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18389
18390 * malloc/hooks.c (memalign_check): Add alignment rounding.
18391 * malloc/malloc.c (_mid_memalign): New function.
18392 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18393 Implement by calling _mid_memalign.
18394 * manual/probes.texi (Memory Allocation Probes): Remove
18395 memory_valloc_retry and memory_pvalloc_retry.
18396
18397 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18398
18399 * locale/programs/locarchive.c (open_archive): Add const
18400 qualifier to ARCHIVEFNAME and copy default fname to
18401 DEFAULT_FNAME.
18402
18403 [BZ #15601]
18404 * libio/tst-widetext.input: Rename Oriya to Odia.
18405 * locale/iso-639.def: Likewise.
18406
18407 * manual/probes.texi (Mathematical Function Probes): Add
18408 documentation for sin, cos, asin and acos probes.
18409 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18410 (__sin32): Add slowasin probe.
18411 (__cos32): Add slowacos probe.
18412 (__mpsin): Add slowsin probe.
18413 (__mpcos): Add slowcos probe.
18414
18415 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18416
18417 [BZ #15483]
18418 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18419 thread-local __sim_exceptions_thread and global
18420 __sim_exceptions_global.
18421 (__sim_disabled_exceptions): Change to thread-local
18422 __sim_disabled_exceptions_thread and global
18423 __sim_disabled_exceptions_global.
18424 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18425 and global __sim_round_mode_global.
18426 (__simulate_exceptions): Use thread-local floating-point state and
18427 set global state from it as needed.
18428 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18429 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18430 __sim_round_mode_thread.
18431 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18432 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18433 and global __sim_exceptions_global.
18434 (__sim_disabled_exceptions): Change to thread-local
18435 __sim_disabled_exceptions_thread and global
18436 __sim_disabled_exceptions_global.
18437 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18438 and global __sim_round_mode_global.
18439 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18440 (SIM_SET_GLOBAL): Likewise.
18441 * sysdeps/powerpc/soft-fp/sfp-machine.h
18442 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18443 __sim_round_mode_thread.
18444 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18445 __sim_disabled_exceptions_thread.
18446 (__sim_exceptions): Change to __sim_exceptions_thread.
18447 (__sim_disabled_exceptions): Change to
18448 __sim_disabled_exceptions_thread.
18449 (__sim_round_mode): Change to __sim_round_mode_thread.
18450 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18451 thread-local floating-point state and set global state from it as
18452 needed.
18453 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18454 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18455 (__sim_disabled_exceptions): Remove extern declaration.
18456 (feenableexcept): Use thread-local floating-point state and set
18457 global state from it as needed.
18458 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18459 extern declaration.
18460 (__sim_disabled_exceptions): Likewise.
18461 (__sim_round_mode): Likewise.
18462 (__fegetenv): Use thread-local floating-point state.
18463 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18464 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18465 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18466 floating-point state and set global state from it as needed.
18467 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18468 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18469 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18470 Likewise.
18471 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18472 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18473 Likewise.
18474 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18475 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18476 Use __sim_round_mode_thread.
18477 * math/test-fenv-tls.c: New file.
18478 * math/Makefile (tests): Add test-fenv-tls.
18479 ($(objpfx)test-fenv-tls): Depend on
18480 $(common-objpfx)nptl/libpthread.so.
18481
18482 2013-11-19 Andreas Schwab <schwab@suse.de>
18483
18484 * locale/programs/locale.c (show_info): Decode wordarray elements.
18485 * locale/categories.def (LC_MONETARY): Add element for
18486 _NL_MONETARY_CRNCYSTR.
18487 * locale/C-monetary.c (conversion_rate): New variable.
18488 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18489 element.
18490
18491 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18492
18493 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18494 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18495
18496 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18497
18498 * elf/Makefile (tst-auxv): New test.
18499 * elf/tst-auxv.c: New
18500 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18501
18502 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18503
18504 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18505 (hidden_proto): Caller changed.
18506 (hidden_tls_proto): New macro.
18507 (libc_hidden_tls_proto): Likewise.
18508 (rtld_hidden_tls_proto): Likewise.
18509 (libm_hidden_tls_proto): Likewise.
18510 (libresolv_hidden_tls_proto): Likewise.
18511 (librt_hidden_tls_proto): Likewise.
18512 (libdl_hidden_tls_proto): Likewise.
18513 (libnss_files_hidden_tls_proto): Likewise.
18514 (libnsl_hidden_tls_proto): Likewise.
18515 (libnss_nisplus_hidden_tls_proto): Likewise.
18516 (libutil_hidden_tls_proto): Likewise.
18517
18518 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18519
18520 [BZ #10253]
18521 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18522 (decompose_rpath): Defer expansion to fillin_rpath.
18523 (_dl_init_paths): Pass linkmap to fillin_rpath.
18524
18525 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18526
18527 * benchtests/Makefile: Add strsep.
18528 * benchtests/bench-strsep.c: New file: strsep benchtest.
18529 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18530
18531 2013-11-18 Andreas Schwab <schwab@suse.de>
18532
18533 * locale/programs/locale.c (show_info) [case byte]: Check for
18534 '\377' instead of '\177'.
18535 * locale/C-monetary.c (not_available): Always use "\377".
18536 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18537 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18538 detect unavailable sign_posn locale elements.
18539 * locale/localeconv.c (__localeconv): For grouping and
18540 mon_grouping handle "\177" and "\377" like no grouping.
18541 (INT_ELEM): New macro. Use it to set all numeric members.
18542 * locale/programs/ld-monetary.c (monetary_read)
18543 <tok_mon_grouping>: Normalize single -1 to the empty string.
18544 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18545 Likewise.
18546
18547 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18548
18549 [BZ #16055]
18550 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18551 when we match (nil).
18552 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18553
18554 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18555
18556 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18557 (NO_TEST_INLINE): Update value.
18558 (ERRNO_UNCHANGED): Likewise.
18559 (ERRNO_EDOM): Likewise.
18560 (ERRNO_ERANGE): Likewise.
18561 (IGNORE_RESULT): Likewise.
18562 (check_float_internal): Check signs of NaN results if
18563 TEST_NAN_SIGN used.
18564 (check_complex): Pass TEST_NAN_SIGN flag through to second
18565 check_float_internal call.
18566 (copysign_test_data): Add tests with quiet NaNs as second
18567 argument. Use TEST_NAN_SIGN.
18568 (fabs_test_data): Add test of negative quiet NaN argument. Use
18569 TEST_NAN_SIGN.
18570 (signbit_test_data): Add tests of quiet NaN argument.
18571 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18572
18573 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18574 $ignore_result.
18575 (parse_args): Handle function results specified as IGNORE.
18576 * math/libm-test.inc (IGNORE_RESULT): New macro.
18577 (check_float_internal): Do not check numerical result if flag
18578 IGNORE_RESULT set.
18579 (check_complex): Pass through IGNORE_RESULT to second
18580 check_float_internal call.
18581 (check_int): Do not check numerical result if flag IGNORE_RESULT
18582 set.
18583 (check_long): Likewise.
18584 (check_bool): Likewise.
18585 (check_longlong): Likewise.
18586 (lrint_test_data): Add tests of infinite and NaN arguments.
18587 (lrint_tonearest_test_data): Likewise.
18588 (lrint_towardzero_test_data): Likewise.
18589 (lrint_downward_test_data): Likewise.
18590 (lrint_upward_test_data): Likewise.
18591 (llrint_test_data): Likewise.
18592 (llrint_tonearest_test_data): Likewise.
18593 (llrint_towardzero_test_data): Likewise.
18594 (llrint_downward_test_data): Likewise.
18595 (llrint_upward_test_data): Likewise.
18596 (lround_test_data): Likewise.
18597 (llround_test_data): Likewise.
18598
18599 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18600 (ERRNO_UNCHANGED): Update value.
18601 (ERRNO_EDOM): Likewise.
18602 (ERRNO_ERANGE): Likewise.
18603 (NO_TEST_INLINE_FLOAT): New macro.
18604 (NO_TEST_INLINE_DOUBLE): Likewise.
18605 (enable_test): New function.
18606 (RUN_TEST_f_f): Check enable_test before running test.
18607 (RUN_TEST_2_f): Likewise.
18608 (RUN_TEST_fff_f): Likewise.
18609 (RUN_TEST_c_f): Likewise.
18610 (RUN_TEST_f_f1): Likewise.
18611 (RUN_TEST_fF_f1): Likewise.
18612 (RUN_TEST_fI_f1): Likewise.
18613 (RUN_TEST_ffI_f1): Likewise.
18614 (RUN_TEST_c_c): Likewise.
18615 (RUN_TEST_cc_c): Likewise.
18616 (RUN_TEST_f_i): Likewise.
18617 (RUN_TEST_f_i_tg): Likewise.
18618 (RUN_TEST_ff_i_tg): Likewise.
18619 (RUN_TEST_f_b): Likewise.
18620 (RUN_TEST_f_b_tg): Likewise.
18621 (RUN_TEST_f_l): Likewise.
18622 (RUN_TEST_f_L): Likewise.
18623 (RUN_TEST_fFF_11): Likewise.
18624 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18625 conditionals.
18626 (cosh_test_data): Likewise.
18627 (exp_test_data): Likewise.
18628 (expm1_test_data): Likewise.
18629 (hypot_test_data): Likewise.
18630 (pow_test_data): Likewise.
18631 (sinh_test_data): Likewise.
18632 (tanh_test_data): Likewise.
18633 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18634 flags argument.
18635
18636 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18637 tests with quiet NaN input and output.
18638 (acosh_test_data): Likewise.
18639 (asin_test_data): Likewise.
18640 (asinh_test_data): Likewise.
18641 (atan_test_data): Likewise.
18642 (atanh_test_data): Likewise.
18643 (atan2_test_data): Likewise.
18644 (cbrt_test_data): Likewise.
18645 (cos_test_data): Likewise.
18646 (cosh_test_data): Likewise.
18647 (erf_test_data): Likewise.
18648 (erfc_test_data): Likewise.
18649 (exp_test_data): Likewise.
18650 (exp10_test_data): Likewise.
18651 (exp2_test_data): Likewise.
18652 (expm1_test_data): Likewise.
18653 (hypot_test_data): Likewise.
18654 (j0_test_data): Likewise.
18655 (j1_test_data): Likewise.
18656 (jn_test_data): Likewise.
18657 (lgamma_test_data): Likewise.
18658 (log_test_data): Likewise.
18659 (log10_test_data): Likewise.
18660 (log1p_test_data): Likewise.
18661 (log2_test_data): Likewise.
18662 (pow_test_data): Likewise.
18663 (scalb_test_data): Likewise.
18664 (sin_test_data): Likewise.
18665 (sincos_test_data): Likewise.
18666 (sinh_test_data): Likewise.
18667 (tan_test_data): Likewise.
18668 (tanh_test_data): Likewise.
18669 (tgamma_test_data): Likewise.
18670 (y0_test_data): Likewise.
18671 (y1_test_data): Likewise.
18672 (yn_test_data): Likewise.
18673
18674 [BZ #16167]
18675 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18676 argument being NaN and avoid computations with second argument in
18677 that case.
18678 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18679 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18680 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18681
18682 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18683
18684 * locale/iso-639.def: Add Chitwani Tharu (the).
18685
18686 2013-11-14 Andreas Schwab <schwab@suse.de>
18687
18688 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18689 word instead of empty string.
18690
18691 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18692
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18694 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18696 (__fe_nomask_env): Likewise.
18697
18698 2013-11-13 Steve Ellcey <sellcey@mips.com>
18699
18700 * benchtests/bench-timing.h: Include time.h.
18701
18702 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18703
18704 [BZ #15997]
18705 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18706 to 3.4.0 for x32.
18707 * sysdeps/unix/sysv/linux/configure: Regenerated.
18708
18709 2013-11-13 Joseph Myers <joseph@codesourcery.com>
18710
18711 [BZ #16151]
18712 * stdlib/strtod_l.c (round_and_return): Do not consider
18713 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18714 exponent one less than half the least subnormal exponent.
18715 * stdlib/test-strtod-round-data: Add more tests.
18716 * stdlib/tst-strtod-round.c (tests): Regenerated.
18717
18718 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18719
18720 [BZ #14143]
18721 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18722 (__fe_mask_env): Likewise.
18723 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18724 libm_hidden_proto and add function prototype.
18725 (__fe_mask_env): Add function prototype.
18726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18727 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18729 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18731 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18732
18733 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18734
18735 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18736 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18737
18738 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18739
18740 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18741 of htab_find_slot().
18742
18743 2013-11-11 David S. Miller <davem@davemloft.net>
18744
18745 [BZ #16150]
18746 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18747 symbol in the non-vis3 case in static builds.
18748 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18749 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18750 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18751 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18752
18753 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18754
18755 [BZ #387]
18756 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18757 it is empty.
18758
18759 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18760
18761 * benchtests/Makefile: Add bench-strtod.
18762 * benchtests/bench-strtod.c: New file: strtod benchtest
18763
18764 2013-11-11 Andreas Schwab <schwab@suse.de>
18765
18766 [BZ #16153]
18767 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18768 terminating NUL in key length.
18769
18770 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18771
18772 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18773 Add artificial ODP entry for vDSO symbol for PPC64.
18774 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18775 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18776
18777 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18778
18779 [BZ #15374]
18780 * nss/getent.c (services_keys): Recognize services starting with digit.
18781
18782 2013-11-06 David S. Miller <davem@davemloft.net>
18783
18784 [BZ #15985]
18785 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18786 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18787
18788 2013-11-06 Will Newton <will.newton@linaro.org>
18789
18790 * manual/memory.texi (Malloc Examples): Remove register
18791 keyword from examples.
18792
18793 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
18794
18795 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18796
18797 2013-11-04 Joseph Myers <joseph@codesourcery.com>
18798
18799 [BZ #6981]
18800 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18801 depending on [__GCC_IEC_559 > 0].
18802 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18803 depending on [__GCC_IEC_559_COMPLEX > 0].
18804
18805 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
18806
18807 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18808 to iso-639.def.
18809
18810 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
18811
18812 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18813
18814 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
18815
18816 [BZ #16112]
18817 * malloc/malloc (malloc_info): Do not handle first bin as
18818 special case.
18819
18820 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
18821
18822 * locale/iso-639.def: Add Central Nahuatl (nhn).
18823
18824 2013-11-01 Bruno Haible <bruno@clisp.org>
18825
18826 [BZ #7003]
18827 * manual/math.texi (BSD Random): Specify range upper bound as
18828 in POSIX.
18829
18830 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
18831
18832 * locale/iso-639.def: Add Meadow Mari (mhr).
18833
18834 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
18835
18836 [BZ #14752], [BZ #15763]
18837 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18838 Validate name.
18839 * rt/tst_shm.c: Add test for escaping directory.
18840
18841 2013-10-31 Andreas Schwab <schwab@suse.de>
18842
18843 [BZ #15917]
18844 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18845 followed by 'x' as part of digit sequence.
18846 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18847
18848 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18849
18850 [BZ #16037]
18851 * configure.ac: allow GNU Make 4.0 and greater.
18852 * configure: Regenerated.
18853
18854 2013-10-30 Will Newton <will.newton@linaro.org>
18855
18856 [BZ #16038]
18857 * malloc/hooks.c (memalign_check): Limit alignment to the
18858 maximum representable power of two.
18859 * malloc/malloc.c (__libc_memalign): Likewise.
18860 * malloc/tst-memalign.c (do_test): Add test for very
18861 large alignment values.
18862 * malloc/tst-posix_memalign.c (do_test): Likewise.
18863
18864 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18865
18866 [BZ #11087]
18867 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18868 (munmap_chunk): Likewise.
18869 (mremap_chunk): Likewise.
18870
18871 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18872
18873 [BZ #15799]
18874 * stdlib/div.c (div): Remove obsolete code.
18875 * stdlib/ldiv.c (ldiv): Likewise.
18876 * stdlib/lldiv.c (lldiv): Likewise.
18877
18878 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18879
18880 [BZ #16071]
18881 * nss/nss_files/files-XXX.c (get_contents_ret): New
18882 enumerator.
18883 (get_contents): New function.
18884 (internal_getent): Use it. Expand size of LINEBUFLEN.
18885
18886 2013-10-30 Mike Frysinger <vapier@gentoo.org>
18887
18888 * configure.in: Moved to ...
18889 * configure.ac: ... here. Change reference to configure.in
18890 to configure.ac.
18891 * sysdeps/arm/preconfigure.ac: ... here.
18892 configure.in to configure.ac.
18893 * sysdeps/gnu/configure.in: Moved to ...
18894 * sysdeps/gnu/configure.ac: ... here.
18895 * sysdeps/i386/configure.in: Moved to ...
18896 * sysdeps/i386/configure.ac: ... here.
18897 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18898 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18899 * sysdeps/mach/configure.in: Moved to ...
18900 * sysdeps/mach/configure.ac: ... here.
18901 * sysdeps/mach/hurd/configure.in: Moved to ...
18902 * sysdeps/mach/hurd/configure.ac: ... here.
18903 * sysdeps/powerpc/configure.in: Moved to ...
18904 * sysdeps/powerpc/configure.ac: ... here.
18905 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18906 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18907 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18908 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18909 * sysdeps/s390/s390-32/configure.in: Moved to ...
18910 * sysdeps/s390/s390-32/configure.ac: ... here.
18911 * sysdeps/s390/s390-64/configure.in: Moved to ...
18912 * sysdeps/s390/s390-64/configure.ac: ... here.
18913 * sysdeps/sh/configure.in: Moved to ...
18914 * sysdeps/sh/configure.ac: ... here.
18915 * sysdeps/sparc/configure.in: Moved to ...
18916 * sysdeps/sparc/configure.ac: ... here.
18917 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18918 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18919 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18920 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18921 * sysdeps/x86_64/configure.in: Moved to ...
18922 * sysdeps/x86_64/configure.ac: ... here.
18923 * sysdeps/x86_64/preconfigure.in: Moved to ...
18924 * sysdeps/x86_64/preconfigure.ac: ... here.
18925 * aclocal.m4: Change reference to configure.in to configure.ac.
18926 * config.h.in: Likewise.
18927 * manual/install.texi: Likewise.
18928 * manual/maint.texi: Likewise.
18929 * Makefile: Likewise.
18930 * malloc/Makefile: Likewise.
18931 * nscd/Makefile: Likewise.
18932 * Makeconfig: Change reference to configure.in and
18933 preconfigure.in to configure.ac and preconfigure.ac
18934 respectively.
18935 * INSTALL: Regenerated.
18936 * configure: Likewise.
18937 * sysdeps/gnu/configure: Likewise.
18938 * sysdeps/i386/configure: Likewise.
18939 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18940 * sysdeps/mach/configure: Likewise.
18941 * sysdeps/mach/hurd/configure: Likewise.
18942 * sysdeps/powerpc/configure: Likewise.
18943 * sysdeps/powerpc/powerpc32/configure: Likewise.
18944 * sysdeps/powerpc/powerpc64/configure: Likewise.
18945 * sysdeps/s390/s390-32/configure: Likewise.
18946 * sysdeps/s390/s390-64/configure: Likewise.
18947 * sysdeps/sh/configure: Likewise.
18948 * sysdeps/sparc/configure: Likewise.
18949 * sysdeps/unix/sysv/linux/configure: Likewise.
18950 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18951 * sysdeps/x86_64/configure: Likewise.
18952 * sysdeps/x86_64/preconfigure: Likewise.
18953
18954 2013-10-29 Andreas Schwab <schwab@suse.de>
18955
18956 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18957
18958 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18959
18960 * benchtests/pow-inputs: Add new inputs.
18961
18962 * benchtests/exp-inputs: Add new inputs.
18963
18964 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18965 conditional check for return value.
18966 (__cos32): Likewise.
18967
18968 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18969
18970 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18971 to provide a boost for large inputs with word alignment.
18972 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18973 implementation based on optimized PPC64 strcpy.
18974 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18975 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18976 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18977 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18978
18979 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18980
18981 [BZ #2801]
18982 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18983
18984 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18985
18986 [BZ #14876]
18987 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18988 * time/tst-strptime.c (day_tests): Add testcase.
18989
18990 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18991
18992 [BZ #14029]
18993 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18994
18995 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18996
18997 [BZ #16074]
18998 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18999 MAP_FAILED on error.
19000
19001 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19002
19003 [BZ #16072]
19004 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19005 heap for large requests.
19006
19007 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19008
19009 [BZ #9954]
19010 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19011 result if the result has no associated interface.
19012 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19013 interface for all 127.X.Y.Z addresses.
19014
19015 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
19016
19017 * locale/iso-639.def: Add Ligurian (lij)
19018
19019 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
19020
19021 [BZ #15825]
19022 * sunrpc/rpc_main.c: Document rpcgen -5.
19023
19024 2013-10-19 Michael Stahl <mstahl@redhat.com>
19025
19026 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19027
19028 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19029
19030 [BZ #10278]
19031 * posix/glob.c: Match only directories when trailing slash is present.
19032 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19033 (main): Add testcase.
19034
19035 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19036
19037 [BZ #15670]
19038 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19039
19040 2013-10-18 Carlos O'Donell <carlos@redhat.com>
19041
19042 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19043 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19044 AUTH_DES and cindex for FIPS 140-2.
19045 (DES Encryption): Add cindex FIPS 46-3.
19046
19047 * locale/locarchive.h (struct locarhandle): Add fname.
19048 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19049 if an optional argument was specified to --list-archive,
19050 otherwise NULL.
19051 * locale/programs/locarchive.c (show_archive_content): Take new
19052 argument fname and pass it via ah.fname to open_archive.
19053 * locale/programs/localedef.h: Update decl.
19054 (open_archive): If AH->fname is non-null, open that file
19055 rather than the default file name, and don't ignore ENOENT.
19056 (create_archive): Set AH.fname to NULL.
19057 (delete_locales_from_archive): Likewise.
19058 (add_locales_to_archive): Likewise.
19059 * locale/programs/locfile.c (write_all_categories): Likewise.
19060
19061 2013-10-18 Joseph Myers <joseph@codesourcery.com>
19062 Aldy Hernandez <aldyh@redhat.com>
19063
19064 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19065 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19066 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19067 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19068 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19069 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19070 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19071 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19072 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19073 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19074 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19075 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19076 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19077 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19078 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19079 Likewise.
19080 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19081 Likewise.
19082 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19083 Likewise.
19084 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19085 Likewise.
19086 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19087 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19088 Likewise.
19089 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19090 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19091 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19092 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19093 Likewise.
19094 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19095 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19096 * sysdeps/powerpc/preconfigure: Likewise.
19097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19098 Likewise.
19099 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19100 Replace contents of file by #include of <fenv_libc.h>.
19101 * sysdeps/powerpc/soft-fp/sfp-machine.h
19102 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19103 and <sys/prctl.h>.
19104 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19105 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19106 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19107 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19108 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19109 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19111 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19112 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19117 Allow copysignl PLT reference to be missing.
19118
19119 2013-10-18 Richard Sandiford <richard@codesourcery.com>
19120 Joseph Myers <joseph@codesourcery.com
19121
19122 [BZ #15948]
19123 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19124 single character.
19125 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19126
19127 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19128
19129 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19130 * elf/tst-tls1.c: Likewise.
19131 * elf/tst-tls10.h: Likewise.
19132 * elf/tst-tls14.c: Likewise.
19133 * elf/tst-tls2.c: Likewise.
19134 * elf/tst-tls3.c: Likewise.
19135 * elf/tst-tls4.c: Likewise.
19136 * elf/tst-tls5.c: Likewise.
19137 * elf/tst-tls6.c: Likewise.
19138 * elf/tst-tls7.c: Likewise.
19139 * elf/tst-tls8.c: Likewise.
19140 * elf/tst-tls9.c: Likewise.
19141 * elf/tst-tlsmod1.c: Likewise.
19142 * elf/tst-tlsmod13.c: Likewise.
19143 * elf/tst-tlsmod13a.c: Likewise.
19144 * elf/tst-tlsmod14a.c: Likewise.
19145 * elf/tst-tlsmod16a.c: Likewise.
19146 * elf/tst-tlsmod16b.c: Likewise.
19147 * elf/tst-tlsmod2.c: Likewise.
19148 * elf/tst-tlsmod3.c: Likewise.
19149 * elf/tst-tlsmod4.c: Likewise.
19150 * elf/tst-tlsmod5.c: Likewise.
19151 * elf/tst-tlsmod6.c: Likewise.
19152
19153 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19154
19155 [BZ #12486]
19156 * malloc/malloc.c: remove checks for statistics.
19157
19158 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19159
19160 [BZ #15277]
19161 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19162 * inet/tst-network.c: Add testcase.
19163
19164 2013-10-17 Andreas Schwab <schwab@suse.de>
19165
19166 [BZ #15218]
19167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19168 to determine canonical name.
19169
19170 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19171
19172 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19173 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19174 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19175 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19177 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19196 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19197 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19202 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19215 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19230
19231 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19232
19233 [BZ #16041]
19234 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19235 make result into a quiet NaN.
19236
19237 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19238
19239 * soft-fp/adddf3.c: Fix horizontal whitespace.
19240 * soft-fp/addsf3.c: Likewise.
19241 * soft-fp/addtf3.c: Likewise.
19242 * soft-fp/divdf3.c: Likewise.
19243 * soft-fp/divsf3.c: Likewise.
19244 * soft-fp/divtf3.c: Likewise.
19245 * soft-fp/double.h: Likewise.
19246 * soft-fp/eqdf2.c: Likewise.
19247 * soft-fp/eqsf2.c: Likewise.
19248 * soft-fp/eqtf2.c: Likewise.
19249 * soft-fp/extenddftf2.c: Likewise.
19250 * soft-fp/extended.h: Likewise.
19251 * soft-fp/extendsfdf2.c: Likewise.
19252 * soft-fp/extendsftf2.c: Likewise.
19253 * soft-fp/extendxftf2.c: Likewise.
19254 * soft-fp/fixdfdi.c: Likewise.
19255 * soft-fp/fixdfsi.c: Likewise.
19256 * soft-fp/fixdfti.c: Likewise.
19257 * soft-fp/fixsfdi.c: Likewise.
19258 * soft-fp/fixsfsi.c: Likewise.
19259 * soft-fp/fixsfti.c: Likewise.
19260 * soft-fp/fixtfdi.c: Likewise.
19261 * soft-fp/fixtfsi.c: Likewise.
19262 * soft-fp/fixtfti.c: Likewise.
19263 * soft-fp/fixunsdfdi.c: Likewise.
19264 * soft-fp/fixunsdfsi.c: Likewise.
19265 * soft-fp/fixunsdfti.c: Likewise.
19266 * soft-fp/fixunssfdi.c: Likewise.
19267 * soft-fp/fixunssfsi.c: Likewise.
19268 * soft-fp/fixunssfti.c: Likewise.
19269 * soft-fp/fixunstfdi.c: Likewise.
19270 * soft-fp/fixunstfsi.c: Likewise.
19271 * soft-fp/fixunstfti.c: Likewise.
19272 * soft-fp/floatdidf.c: Likewise.
19273 * soft-fp/floatdisf.c: Likewise.
19274 * soft-fp/floatditf.c: Likewise.
19275 * soft-fp/floatsidf.c: Likewise.
19276 * soft-fp/floatsisf.c: Likewise.
19277 * soft-fp/floatsitf.c: Likewise.
19278 * soft-fp/floattidf.c: Likewise.
19279 * soft-fp/floattisf.c: Likewise.
19280 * soft-fp/floattitf.c: Likewise.
19281 * soft-fp/floatundidf.c: Likewise.
19282 * soft-fp/floatundisf.c: Likewise.
19283 * soft-fp/floatunditf.c: Likewise.
19284 * soft-fp/floatunsidf.c: Likewise.
19285 * soft-fp/floatunsisf.c: Likewise.
19286 * soft-fp/floatunsitf.c: Likewise.
19287 * soft-fp/floatuntidf.c: Likewise.
19288 * soft-fp/floatuntisf.c: Likewise.
19289 * soft-fp/floatuntitf.c: Likewise.
19290 * soft-fp/fmadf4.c: Likewise.
19291 * soft-fp/fmasf4.c: Likewise.
19292 * soft-fp/fmatf4.c: Likewise.
19293 * soft-fp/gedf2.c: Likewise.
19294 * soft-fp/gesf2.c: Likewise.
19295 * soft-fp/getf2.c: Likewise.
19296 * soft-fp/ledf2.c: Likewise.
19297 * soft-fp/lesf2.c: Likewise.
19298 * soft-fp/letf2.c: Likewise.
19299 * soft-fp/muldf3.c: Likewise.
19300 * soft-fp/mulsf3.c: Likewise.
19301 * soft-fp/multf3.c: Likewise.
19302 * soft-fp/negdf2.c: Likewise.
19303 * soft-fp/negsf2.c: Likewise.
19304 * soft-fp/negtf2.c: Likewise.
19305 * soft-fp/op-1.h: Likewise.
19306 * soft-fp/op-2.h: Likewise.
19307 * soft-fp/op-4.h: Likewise.
19308 * soft-fp/op-8.h: Likewise.
19309 * soft-fp/op-common.h: Likewise.
19310 * soft-fp/quad.h: Likewise.
19311 * soft-fp/single.h: Likewise.
19312 * soft-fp/soft-fp.h: Likewise.
19313 * soft-fp/sqrtdf2.c: Likewise.
19314 * soft-fp/sqrtsf2.c: Likewise.
19315 * soft-fp/sqrttf2.c: Likewise.
19316 * soft-fp/subdf3.c: Likewise.
19317 * soft-fp/subsf3.c: Likewise.
19318 * soft-fp/subtf3.c: Likewise.
19319 * soft-fp/truncdfsf2.c: Likewise.
19320 * soft-fp/trunctfdf2.c: Likewise.
19321 * soft-fp/trunctfsf2.c: Likewise.
19322 * soft-fp/trunctfxf2.c: Likewise.
19323 * soft-fp/unorddf2.c: Likewise.
19324 * soft-fp/unordsf2.c: Likewise.
19325 * soft-fp/unordtf2.c: Likewise.
19326
19327 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19328
19329 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19330 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19331
19332 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19333
19334 * elf/dl-libc.c: Clear initfini list after freeing.
19335
19336 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19337
19338 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19339 * soft-fp/addsf3.c: Likewise.
19340 * soft-fp/addtf3.c: Likewise.
19341 * soft-fp/divdf3.c: Likewise.
19342 * soft-fp/divsf3.c: Likewise.
19343 * soft-fp/divtf3.c: Likewise.
19344 * soft-fp/double.h: Likewise.
19345 * soft-fp/eqdf2.c: Likewise.
19346 * soft-fp/eqsf2.c: Likewise.
19347 * soft-fp/eqtf2.c: Likewise.
19348 * soft-fp/extenddftf2.c: Likewise.
19349 * soft-fp/extended.h: Likewise.
19350 * soft-fp/extendsfdf2.c: Likewise.
19351 * soft-fp/extendsftf2.c: Likewise.
19352 * soft-fp/extendxftf2.c: Likewise.
19353 * soft-fp/fixdfdi.c: Likewise.
19354 * soft-fp/fixdfsi.c: Likewise.
19355 * soft-fp/fixdfti.c: Likewise.
19356 * soft-fp/fixsfdi.c: Likewise.
19357 * soft-fp/fixsfsi.c: Likewise.
19358 * soft-fp/fixsfti.c: Likewise.
19359 * soft-fp/fixtfdi.c: Likewise.
19360 * soft-fp/fixtfsi.c: Likewise.
19361 * soft-fp/fixtfti.c: Likewise.
19362 * soft-fp/fixunsdfdi.c: Likewise.
19363 * soft-fp/fixunsdfsi.c: Likewise.
19364 * soft-fp/fixunsdfti.c: Likewise.
19365 * soft-fp/fixunssfdi.c: Likewise.
19366 * soft-fp/fixunssfsi.c: Likewise.
19367 * soft-fp/fixunssfti.c: Likewise.
19368 * soft-fp/fixunstfdi.c: Likewise.
19369 * soft-fp/fixunstfsi.c: Likewise.
19370 * soft-fp/fixunstfti.c: Likewise.
19371 * soft-fp/floatdidf.c: Likewise.
19372 * soft-fp/floatdisf.c: Likewise.
19373 * soft-fp/floatditf.c: Likewise.
19374 * soft-fp/floatsidf.c: Likewise.
19375 * soft-fp/floatsisf.c: Likewise.
19376 * soft-fp/floatsitf.c: Likewise.
19377 * soft-fp/floattidf.c: Likewise.
19378 * soft-fp/floattisf.c: Likewise.
19379 * soft-fp/floattitf.c: Likewise.
19380 * soft-fp/floatundidf.c: Likewise.
19381 * soft-fp/floatundisf.c: Likewise.
19382 * soft-fp/floatunsidf.c: Likewise.
19383 * soft-fp/floatunsisf.c: Likewise.
19384 * soft-fp/floatuntidf.c: Likewise.
19385 * soft-fp/floatuntisf.c: Likewise.
19386 * soft-fp/floatuntitf.c: Likewise.
19387 * soft-fp/fmadf4.c: Likewise.
19388 * soft-fp/fmasf4.c: Likewise.
19389 * soft-fp/fmatf4.c: Likewise.
19390 * soft-fp/gedf2.c: Likewise.
19391 * soft-fp/gesf2.c: Likewise.
19392 * soft-fp/getf2.c: Likewise.
19393 * soft-fp/ledf2.c: Likewise.
19394 * soft-fp/lesf2.c: Likewise.
19395 * soft-fp/letf2.c: Likewise.
19396 * soft-fp/muldf3.c: Likewise.
19397 * soft-fp/mulsf3.c: Likewise.
19398 * soft-fp/multf3.c: Likewise.
19399 * soft-fp/negdf2.c: Likewise.
19400 * soft-fp/negsf2.c: Likewise.
19401 * soft-fp/negtf2.c: Likewise.
19402 * soft-fp/op-1.h: Likewise.
19403 * soft-fp/op-2.h: Likewise.
19404 * soft-fp/op-4.h: Likewise.
19405 * soft-fp/op-8.h: Likewise.
19406 * soft-fp/op-common.h: Likewise.
19407 * soft-fp/quad.h: Likewise.
19408 * soft-fp/single.h: Likewise.
19409 * soft-fp/soft-fp.h: Likewise.
19410 * soft-fp/sqrtdf2.c: Likewise.
19411 * soft-fp/sqrtsf2.c: Likewise.
19412 * soft-fp/sqrttf2.c: Likewise.
19413 * soft-fp/subdf3.c: Likewise.
19414 * soft-fp/subsf3.c: Likewise.
19415 * soft-fp/subtf3.c: Likewise.
19416 * soft-fp/truncdfsf2.c: Likewise.
19417 * soft-fp/trunctfdf2.c: Likewise.
19418 * soft-fp/trunctfsf2.c: Likewise.
19419 * soft-fp/trunctfxf2.c: Likewise.
19420 * soft-fp/unorddf2.c: Likewise.
19421 * soft-fp/unordsf2.c: Likewise.
19422 * soft-fp/unordtf2.c: Likewise.
19423
19424 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19425
19426 [BZ #15672]
19427 * misc/error.c (error_tail): Fix possible buffer overflow.
19428
19429 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19430
19431 [BZ #13028]
19432 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19433 address.
19434
19435 2013-10-14 P. J. McDermott <pj@pehjota.net>
19436
19437 [BZ #832]
19438 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19439 testing pipefail option.
19440
19441 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19442
19443 * soft-fp/double.h: Indent preprocessor directives inside #if.
19444 * soft-fp/extended.h: Likewise.
19445 * soft-fp/op-2.h: Likewise.
19446 * soft-fp/op-4.h: Likewise.
19447 * soft-fp/op-common.h: Likewise.
19448 * soft-fp/quad.h: Likewise.
19449 * soft-fp/single.h: Likewise.
19450 * soft-fp/soft-fp.h: Likewise.
19451
19452 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19453
19454 * iconv/iconv_prog.c: Fix typos.
19455 * stdio-common/psiginfo-data.h: Likewise.
19456
19457 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19458
19459 [BZ #15764]
19460 * locale/setlocale.c: Fix typo.
19461
19462 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19463
19464 [BZ #16036]
19465 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19466 signaling NaN arguments.
19467 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19468 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19469
19470 [BZ #14910]
19471 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19472 unordered operands.
19473 * soft-fp/gesf2.c (__gesf2): Likewise.
19474 * soft-fp/getf2.c (__getf2): Likewise.
19475 * soft-fp/ledf2.c (__ledf2): Likewise.
19476 * soft-fp/lesf2.c (__lesf2): Likewise.
19477 * soft-fp/letf2.c (__letf2): Likewise.
19478
19479 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19480 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19481 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19482 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19483 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19484 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19485 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19486 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19487 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19488 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19489 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19490 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19491 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19492 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19493 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19494 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19495 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19496 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19497 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19498 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19499 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19500 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19501 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19502 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19503 * soft-fp/floattidf.c (__floattidf): Likewise.
19504 * soft-fp/floattisf.c (__floattisf): Likewise.
19505 * soft-fp/floattitf.c (__floattitf): Likewise.
19506 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19507 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19508 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19509 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19510 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19511 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19512 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19513 * soft-fp/gesf2.c (__gesf2): Likewise.
19514 * soft-fp/getf2.c (__getf2): Likewise.
19515 * soft-fp/ledf2.c (__ledf2): Likewise.
19516 * soft-fp/lesf2.c (__lesf2): Likewise.
19517 * soft-fp/letf2.c (__letf2): Likewise.
19518
19519 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19520 Undefine and redefine.
19521 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19522 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19523 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19524 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19525 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19526 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19527 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19528 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19529 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19530 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19531 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19532 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19533 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19534 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19535 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19536
19537 [BZ #16032]
19538 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19539 without decrementing exponent if mantissa >= that for the
19540 denominator, not >.
19541 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19542 denominator, not >. Decrement exponent in < case instead of
19543 incrementing in >= case.
19544 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19545 without decrementing exponent if mantissa >= that for the
19546 denominator, not >.
19547
19548 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19549 computing saturated result for unsigned overflow.
19550
19551 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19552 Jeff Law <law@redhat.com>
19553
19554 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19555 (atan2Mp): Add systemtap probe marker.
19556 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19557 (__ieee754_log): Add systemtap probe marker.
19558 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19559 (atanMp): Add systemtap probe marker.
19560 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19561 (tanMp): Add systemtap probe marker.
19562 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19563 (__slowexp): Add systemtap probe marker.
19564 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19565 (__slowpow): Add systemtap probe marker.
19566 * manual/probes.texi: Document probes.
19567
19568 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19569
19570 [BZ #15362]
19571 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19572 written.
19573 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19574 written.
19575 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19576 written to buffer but not flushed.
19577 * libio/iofwrite_u.c: Likewise.
19578 * libio/iopadn.c: Return bytes returned even if EOF was
19579 encountered.
19580 * libio/iowpadn.c: Likewise.
19581 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19582 if _IO_padn does not write the whole buffer.
19583 [!COMPILE_WPRINTF] (PAD): Likewise.
19584
19585 2013-10-10 David S. Miller <davem@davemloft.net>
19586
19587 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19588 directory block.
19589
19590 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19591
19592 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19593 instead of FSF address.
19594 * soft-fp/fixdfti.c: Likewise.
19595 * soft-fp/fixsfti.c: Likewise.
19596 * soft-fp/fixtfti.c: Likewise.
19597 * soft-fp/fixunsdfti.c: Likewise.
19598 * soft-fp/fixunssfti.c: Likewise.
19599 * soft-fp/fixunstfti.c: Likewise.
19600 * soft-fp/floattidf.c: Likewise.
19601 * soft-fp/floattisf.c: Likewise.
19602 * soft-fp/floattitf.c: Likewise.
19603 * soft-fp/floatuntidf.c: Likewise.
19604 * soft-fp/floatuntisf.c: Likewise.
19605 * soft-fp/floatuntitf.c: Likewise.
19606 * soft-fp/trunctfxf2.c: Likewise.
19607
19608 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19609 * soft-fp/fixdfti.c: Likewise.
19610 * soft-fp/fixsfti.c: Likewise.
19611 * soft-fp/fixtfti.c: Likewise.
19612 * soft-fp/fixunsdfti.c: Likewise.
19613 * soft-fp/fixunssfti.c: Likewise.
19614 * soft-fp/fixunstfti.c: Likewise.
19615 * soft-fp/floattidf.c: Likewise.
19616 * soft-fp/floattisf.c: Likewise.
19617 * soft-fp/floattitf.c: Likewise.
19618 * soft-fp/floatuntidf.c: Likewise.
19619 * soft-fp/floatuntisf.c: Likewise.
19620 * soft-fp/floatuntitf.c: Likewise.
19621 * soft-fp/trunctfxf2.c: Likewise.
19622
19623 2013-10-10 David S. Miller <davem@davemloft.net>
19624
19625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19626
19627 2013-10-10 Joseph Myers <joseph@codsourcery.com>
19628
19629 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19630 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19631 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19632 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19633 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19634 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19635 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19636
19637 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19638 for NaNs before doing comparisons on argument.
19639 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19640 Likewise.
19641
19642 2013-10-10 Will Newton <will.newton@linaro.org>
19643
19644 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19645 passed to _int_memalign does not overflow.
19646
19647 2013-10-10 Torvald Riegel <triegel@redhat.com>
19648
19649 * scripts/bench.pl: Add include-sources directive.
19650 * benchtests/README: Update documentation.
19651
19652 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19653
19654 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19655 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19656 instead of FP_INIT_ROUNDMODE.
19657 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19658 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19659
19660 [BZ #16034]
19661 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19662 copy class of input value.
19663 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19664 not handle exceptions.
19665 * soft-fp/negsf2.c (__negsf2): Likewise.
19666 * soft-fp/negtf2.c (__negtf2): Likewise.
19667 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19668
19669 2013-10-09 Joseph Myers <joseph@codesourcery.com>
19670
19671 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19672 semicolon. From Linux kernel.
19673
19674 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19675
19676 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19677
19678 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19679
19680 [BZ #156]
19681 * manual/socket.texi: Added statement about buffer
19682 for gethostbyname2_r.
19683
19684 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
19685
19686 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19687 Use .p2align directive instead, throughout.
19688 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19689 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19690 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19691 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19692 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19693 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19694 * sysdeps/x86_64/strchr.S: Likewise.
19695 * sysdeps/x86_64/strrchr.S: Likewise.
19696
19697 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19698
19699 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19700
19701 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19702
19703 * sysdeps/generic/math_private.h (__mpsin1): Remove
19704 declaration.
19705 (__mpcos1): Likewise.
19706 (__mpsin): New argument __range_reduce.
19707 (__mpcos): Likewise.
19708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19709 (slow): Use __mpsin and __mpcos.
19710 (slow1): Likewise.
19711 (slow2): Likewise.
19712 (sloww): Likewise.
19713 (sloww1): Likewise.
19714 (sloww2): Likewise.
19715 (bsloww): Likewise.
19716 (bsloww1): Likewise.
19717 (bsloww2): Likewise.
19718 (cslow2): Likewise.
19719 (csloww): Likewise.
19720 (csloww1): Likewise.
19721 (csloww2): Likewise.
19722 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19723 range_reduce. Merge in __mpsin1.
19724 (__mpcos): Likewise.
19725 (__mpsin1): Remove.
19726 (__mpcos1): Likewise.
19727
19728 2013-10-07 Joseph Myers <joseph@codesourcery.com>
19729
19730 * locale/loadlocale.c (_nl_intern_locale_data): Use
19731 LOCFILE_ALIGNED_P.
19732 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19733 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19734 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19735 obstack data is appropriately aligned.
19736 (obstack_int32_grow_fast): Likewise.
19737 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19738 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19739 (add_locale_uint32_array): Likewise.
19740
19741 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19742
19743 * benchtests/Makefile: Remove ARGLIST and RET variables.
19744 ($(objpfx)bench-%.c): Pass only function name to the script.
19745 * benchtests/README: Update documentation.
19746 * benchtests/acos-inputs: Add new directives.
19747 * benchtests/acosh-inputs: Likewise.
19748 * benchtests/asin-inputs: Likewise.
19749 * benchtests/asinh-inputs: Likewise.
19750 * benchtests/atan-inputs: Likewise.
19751 * benchtests/atanh-inputs: Likewise.
19752 * benchtests/cos-inputs: Likewise.
19753 * benchtests/cosh-inputs: Likewise.
19754 * benchtests/exp-inputs: Likewise.
19755 * benchtests/log-inputs: Likewise.
19756 * benchtests/pow-inputs: Likewise.
19757 * benchtests/rint-inputs: Likewise.
19758 * benchtests/sin-inputs: Likewise.
19759 * benchtests/sinh-inputs: Likewise.
19760 * benchtests/tan-inputs: Likewise.
19761 * benchtests/tanh-inputs: Likewise.
19762 * scripts/bench.pl: Add support for new directives.
19763
19764 2013-10-07 Alan Modra <amodra@gmail.com>
19765
19766 * README: Fix careless merge.
19767
19768 2013-10-05 Alan Modra <amodra@gmail.com>
19769
19770 * NEWS: Mention powerpc64le support and bugs fixed.
19771 * README: Both big-endian and little-endian powerpc64 supported.
19772
19773 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19774
19775 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19776 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19777 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19778 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19779
19780 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19781
19782 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19783 match prototype.
19784
19785 2013-10-04 Joseph Myers <joseph@codesourcery.com>
19786
19787 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19788 Move -mhard-float appending from
19789 ports/sysdeps/powerpc/powerpc32/Makefile.
19790 [$(with-fp) = yes] (ASFLAGS): Likewise.
19791 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19792 * sysdeps/powerpc/nofpu: Move directory from
19793 ports/sysdeps/powerpc/nofpu.
19794 * sysdeps/powerpc/soft-fp: Move directory from
19795 ports/sysdeps/powerpc/soft-fp.
19796 * sysdeps/powerpc/powerpc32/405: Move directory from
19797 ports/sysdeps/powerpc/powerpc32/405.
19798 * sysdeps/powerpc/powerpc32/440: Move directory from
19799 ports/sysdeps/powerpc/powerpc32/440.
19800 * sysdeps/powerpc/powerpc32/464: Move directory from
19801 ports/sysdeps/powerpc/powerpc32/464.
19802 * sysdeps/powerpc/powerpc32/476: Move directory from
19803 ports/sysdeps/powerpc/powerpc32/476.
19804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19805 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19807 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19809 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19811 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19813 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19814 * README: Update for powerpc-*-linux-gnu software floating point
19815 support in libc.
19816
19817 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19818 case to powerpc/powerpc32*.
19819 * sysdeps/unix/sysv/linux/configure: Regenerated.
19820
19821 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19822 (_FPU_MASK_OM): Define as 0x04.
19823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19825 0x00c10080.
19826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19827 0x0000003c.
19828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19829
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19831 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19832 getcontext_e500.
19833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19834 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19835 setcontext_e500.
19836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19837 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19838 and setcontext_e500.
19839
19840 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19841
19842 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19843
19844 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19845
19846 * manual/threads.texi (Default Thread Attributes): Fix typo.
19847
19848 2013-10-04 Will Newton <will.newton@linaro.org>
19849
19850 * malloc/Makefile: Add tst-memalign.
19851 * malloc/tst-memalign.c: New file.
19852
19853 * malloc/tst-posix_memalign.c: Add comments.
19854 (do_test): Add comments and call free on all potentially
19855 allocated pointers. Add space after cast.
19856
19857 * malloc/tst-pvalloc.c: Add comments.
19858 (do_test): Add comments and call free on all potentially
19859 allocated pointers. Remove duplicate check for NULL pointer.
19860 Add space after cast.
19861
19862 * malloc/tst-valloc.c: Add comments.
19863 (do_test): Add comments and call free on all potentially
19864 allocated pointers. Remove duplicate check for NULL pointer.
19865 Add space after cast.
19866
19867 2013-10-04 Alan Modra <amodra@gmail.com>
19868
19869 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19870 Use stdint types in rather than __attribute__((mode())).
19871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19872
19873 2013-10-04 Alan Modra <amodra@gmail.com>
19874
19875 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19876 Correct handling of unaligned relocs for little-endian.
19877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19878
19879 2013-10-04 Alan Modra <amodra@gmail.com>
19880
19881 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19882 * configure: Regenerate.
19883 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19884 * shlib-versions: Likewise.
19885
19886 2013-10-04 Alan Modra <amodra@gmail.com>
19887
19888 * string/tester.c (test_memrchr): Increment reported test cycle.
19889
19890 2013-10-04 Alan Modra <amodra@gmail.com>
19891
19892 * string/test-memcpy.c (do_one_test): When reporting errors, print
19893 string address and don't overrun end of string.
19894
19895 2013-10-04 Alan Modra <amodra@gmail.com>
19896
19897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19898 insrdi. Make better use of reg selection to speed exit slightly.
19899 Schedule entry path a little better. Remove useless "are we done"
19900 checks on entry to main loop. Handle wrapping around zero address.
19901 Correct main loop count. Handle single left-over word from main
19902 loop inline rather than by using loop_small. Remove extra word
19903 case in loop_small caused by wrong loop count. Add little-endian
19904 support.
19905 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19907 cache hint.
19908 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19909 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19910 support. Avoid rlwimi.
19911 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19912
19913 2013-10-04 Alan Modra <amodra@gmail.com>
19914
19915 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19916 insrdi. Formatting.
19917 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19918 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19919 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19920 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19921 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19922 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19923
19924 2013-10-04 Alan Modra <amodra@gmail.com>
19925
19926 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19927 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19928 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19929 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19930 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19931 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19932 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19933 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19934 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19935 use of regs. Use power7 mtocrf. Tidy function tails.
19936
19937 2013-10-04 Alan Modra <amodra@gmail.com>
19938
19939 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19940 Formatting. Consistently use rXXX register defines or rN defines.
19941 Use early exit labels that avoid restoring unused non-volatile regs.
19942 Make cr field use more consistent with rWORDn compares. Rename
19943 regs used as shift registers for unaligned loop, using rN defines
19944 for short lifetime/multiple use regs.
19945 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19947 addi 1,1,64 to pop stack frame. Simplify return value code.
19948 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19949
19950 2013-10-04 Alan Modra <amodra@gmail.com>
19951
19952 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19953 support. Correct typos, formatting. Optimize tail. Use insrdi
19954 rather than rlwimi.
19955 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19956 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19957 little-endian support. Correct typos.
19958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19959 rather than rlwimi.
19960 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19961 in loop and entry code to keep "and." results.
19962 (strchr): Add little-endian support. Comment. Move cntlzd
19963 earlier in tail.
19964 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19965
19966 2013-10-04 Alan Modra <amodra@gmail.com>
19967
19968 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19969 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19970 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19971 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19972
19973 2013-10-04 Alan Modra <amodra@gmail.com>
19974
19975 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19976 (rTMP): Define as r11.
19977 (strcmp): Add little-endian support. Optimise tail.
19978 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19979 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19980 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19981 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19982 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19983 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19984 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19985
19986 2013-10-04 Alan Modra <amodra@gmail.com>
19987
19988 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19989 little-endian support. Remove unnecessary "are we done" tests.
19990 Handle "s" wrapping around zero and extremely large "size".
19991 Correct main loop count. Handle single left-over word from main
19992 loop inline rather than by using small_loop. Correct comments.
19993 Delete "zero" tail, use "end_max" instead.
19994 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19995
19996 2013-10-04 Alan Modra <amodra@gmail.com>
19997
19998 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19999 support. Don't branch over align.
20000 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20001 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20002 support. Rearrange tmp reg use to suit. Comment.
20003 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20004
20005 2013-10-04 Alan Modra <amodra@gmail.com>
20006
20007 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20008
20009 2013-10-04 Alan Modra <amodra@gmail.com>
20010
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20012 conditional form of branch and link when obtaining pc.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20014
20015 2013-10-04 Alan Modra <amodra@gmail.com>
20016
20017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20018 HIWORD/LOWORD.
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20021
20022 2013-10-04 Alan Modra <amodra@gmail.com>
20023
20024 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20025 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20026 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20027 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20028 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20029 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20030 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20031 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20032 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20033 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20034
20035 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20036 Alistair Popple <alistair@ozlabs.au.ibm.com>
20037 Alan Modra <amodra@gmail.com>
20038
20039 [BZ #15723]
20040 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20041 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20042 _dl_hwcap access for little-endian.
20043 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20044 destroy vmx regs when saving unaligned.
20045 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20046 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20047 destroy vmx regs when saving unaligned.
20048
20049 2013-10-04 Alan Modra <amodra@gmail.com>
20050
20051 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20052 Don't use a union to pack hi/low value.
20053
20054 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20055
20056 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20057 for little-endian.
20058 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20060 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20061 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20062 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20063
20064 2013-10-04 Alan Modra <amodra@gmail.com>
20065
20066 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20067 constants to usual value for .cst8 section, and remove redundant
20068 high address load.
20069 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20070 constant for 0x1p52. Load little-endian words of double from
20071 correct stack offsets.
20072
20073 2013-10-04 Alan Modra <amodra@gmail.com>
20074
20075 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20076 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20077 words of double from correct stack offsets.
20078 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20079 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20080 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20081 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20083 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20084 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20085 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20086 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20087 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20088 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20089 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20090 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20091 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20092 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20093 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20094 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20095
20096 2013-10-04 Alan Modra <amodra@gmail.com>
20097
20098 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20099 64-bit int/double union.
20100 (_FPU_SETCW): Likewise.
20101 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20102 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20103
20104 2013-10-04 Alan Modra <amodra@gmail.com>
20105
20106 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20107 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20108
20109 2013-10-04 Alan Modra <amodra@gmail.com>
20110
20111 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20112 use vector int constants.
20113 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20114
20115 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20116
20117 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20118 array with long long.
20119 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20120 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20121 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20122 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20123 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20124 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20125 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20126 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20127 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20128 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20129 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20130 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20131 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20132
20133 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20134
20135 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20136 (__signbit): Likewise. Correct for little-endian.
20137 (__signbitl): Call __signbit.
20138 (lrint): Correct for little-endian.
20139 (lrintf): Call lrint.
20140
20141 2013-10-04 Alan Modra <amodra@gmail.com>
20142
20143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20144 union 32-bit int array member with 64-bit int array.
20145 (t515, tm256): Double rather than long double.
20146 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20147
20148 2013-10-04 Alan Modra <amodra@gmail.com>
20149
20150 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20151 Delete.
20152 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20153 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20154 version of math_ldbl.h.
20155
20156 2013-10-04 Alan Modra <amodra@gmail.com>
20157
20158 [BZ #15734], [BZ #15735]
20159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20160 all uses of ieee875 long double macros and unions. Simplify test
20161 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20162 ldbl_extract_mantissa value for ix,iy exponents. Properly
20163 normalize after ldbl_extract_mantissa, and don't add hidden bit
20164 already handled. Don't treat low word of ieee854 mantissa like
20165 low word of IBM long double and mask off bit when testing for
20166 zero.
20167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20168 all uses of ieee875 long double macros and unions. Simplify tests
20169 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20170 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20171 two1022, instead use their values. Recognise that tests for large
20172 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20173 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20174 Rewrite all uses of ieee875 long double macros and unions. Simplify
20175 test for 0.0L and nan. Correct negation.
20176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20177 ieee875 long double macros and unions. Correct output for large
20178 magnitude x. Correct absolute value calculation.
20179 (__erfcl): Likewise.
20180 * math/libm-test.inc: Add tests for errors discovered in IBM long
20181 double versions of fmodl, remainderl, erfl and erfcl.
20182
20183 2013-10-04 Alan Modra <amodra@gmail.com>
20184
20185 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20186 all uses of ieee854 long double macros and unions. Simplify tests
20187 for long doubles that are fully specified by the high double.
20188 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20189 Likewise.
20190 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20191 Remove dead code too.
20192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20193 (__ieee754_ynl): Likewise.
20194 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20195 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20196 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20197 Remove dead code too.
20198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20201 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20202 Simplify.
20203 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20204 Simplify.
20205 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20206 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20207 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20208 Comment on variable precision.
20209 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20211 Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20216 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20217
20218 2013-10-04 Alan Modra <amodra@gmail.com>
20219
20220 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20222 all uses of ieee854 long double macros and unions.
20223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20229 Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20236 Simplify sign and nan test too.
20237 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20238 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20240 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20241 Likewise.
20242 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20243 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20244 Likewise.
20245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20246 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20247 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20249 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20251
20252 2013-10-04 Alan Modra <amodra@gmail.com>
20253
20254 * stdio-common/printf_size.c (__printf_size): Don't use
20255 union ieee854_long_double in fpnum union.
20256 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20257 signbit macro to retrieve sign from long double.
20258 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20259 retrieve sign from long double.
20260 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20261 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20262 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20263 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20264 * math/test-misc.c (main): Don't use union ieee854_long_double.
20265
20266 2013-10-04 Alan Modra <amodra@gmail.com>
20267
20268 [BZ #15680]
20269 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20270 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20271 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20272 calculation. Remove unnecessary test for denormal exponent.
20273 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20274 Correct handling of denormals. Avoid undefined shift behaviour.
20275 Correct normalisation of low mantissa when low double is denormal.
20276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20277 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20278 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20279 Correct normalisation of low mantissa. Test for overflow of high
20280 mantissa and normalise.
20281 (ldbl_nearbyint): Use more readable constant for two52.
20282 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20283 (__mpn_construct_long_double): Fix test for overflow of high
20284 mantissa and correct normalisation. Avoid undefined shift.
20285
20286 2013-10-04 Alan Modra <amodra@gmail.com>
20287
20288 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20289 (union ibm_extended_long_double): Define as an array of ieee754_double.
20290 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20291 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20292 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20295 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20297 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20298 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20299 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20300 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20301
20302 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20303
20304 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20305 page size instead of calling getpagesize.
20306
20307 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20308 (LOCFILE_ALIGN_MASK): Likewise.
20309 (LOCFILE_ALIGN_UP): Likewise.
20310 (LOCFILE_ALIGNED_P): Likewise.
20311 * locale/programs/ld-collate.c (collate_output): Use the new
20312 macros instead of __alignof__ (int32_t).
20313 * locale/weight.h (findidx): Likewise.
20314
20315 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20316
20317 [BZ #431]
20318 * manual/string.texi: Fix strncat and wcsncat.
20319
20320 2013-10-03 Brooks Moses <bmoses@google.com>
20321
20322 [BZ #15915]
20323 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20324 * Makerules: ...here, and adjust associated comments.
20325
20326 2013-10-02 Will Newton <will.newton@linaro.org>
20327
20328 * malloc/Makefile: Add tst-pvalloc.
20329 * malloc/tst-pvalloc.c: New file.
20330
20331 2013-10-02 Will Newton <will.newton@linaro.org>
20332
20333 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20334 improve test coverage.
20335
20336 2013-10-02 Will Newton <will.newton@linaro.org>
20337
20338 * malloc/Makefile: Add tst-posix_memalign.
20339 * malloc/tst-posix_memalign.c: New file.
20340
20341 2013-10-01 Eric Blake <eblake@redhat.com>
20342
20343 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20344 Use __THROWNL rather than __THROW on static functions.
20345
20346 2013-09-30 Petr Machata <pmachata@redhat.com>
20347
20348 * elf/elf.h (R_AARCH64_ABS16): New macro.
20349 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20350 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20351 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20352 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20353 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20354 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20355 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20356 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20357 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20358 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20359 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20360 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20361 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20362 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20363 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20364 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20365 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20366 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20367 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20368 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20369 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20370 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20371 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20372 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20373 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20374 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20375 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20376 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20377 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20378 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20379 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20380 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20381 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20382 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20383 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20384 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20385 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20386 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20387 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20388 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20389 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20390 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20391 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20392 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20393 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20394 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20395 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20396 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20397 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20398 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20399 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20400 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20401 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20402 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20403 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20404 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20405 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20406 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20407 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20408 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20409 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20410 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20411 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20412 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20413 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20414 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20415 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20416 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20417 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20418 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20419 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20420 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20421 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20422 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20423 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20424 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20425 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20426 (R_AARCH64_TLSDESC_LDR): Likewise.
20427 (R_AARCH64_TLSDESC_ADD): Likewise.
20428 (R_AARCH64_TLSDESC_CALL): Likewise.
20429
20430 2013-09-30 Andreas Schwab <schwab@suse.de>
20431
20432 [BZ #15048]
20433 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20434 the nss database lookup.
20435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20437
20438 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20439
20440 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20441
20442 2013-09-28 P. J. McDermott <pj@pehjota.net>
20443
20444 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20445 ${Bash-specific parameter/pattern/string} parameter expansion.
20446 * sysdeps/unix/make-syscalls.sh: Likewise.
20447
20448 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20449
20450 * sysdeps/sh/stackguard-macros.h: New file.
20451
20452 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20453
20454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20456 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20457 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20458 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20459 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20460
20461 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20462
20463 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20464 Fix thread ID register.
20465
20466 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20467
20468 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20469 [POSIX || UNIX98]: Require rather than permitting all symbols from
20470 <time.h>.
20471 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20472 element of struct sched_param.
20473 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20474 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20475 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20476 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20477 constant.
20478
20479 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20480
20481 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20482 argument calculation.
20483
20484 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20485
20486 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20487 Expect macro.
20488 [POSIX] (pthread_attr_t): Do not require type.
20489 [POSIX] (pthread_cond_t): Likewise.
20490 [POSIX] (pthread_condattr_t): Likewise.
20491 [POSIX] (pthread_key_t): Likewise.
20492 [POSIX] (pthread_mutex_t): Likewise.
20493 [POSIX] (pthread_mutexattr_t): Likewise.
20494 [POSIX] (pthread_once_t): Likewise.
20495 [POSIX] (pthread_t): Likewise.
20496 [POSIX-based standards] (pthread_atfork): Expect function.
20497
20498 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20499 Richard Sandiford <richard@codesourcery.com>
20500
20501 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20502 (swap_endianness_p): New extern variable.
20503 (set_big_endian): New inline function.
20504 (maybe_swap_uint32): Likewise.
20505 (maybe_swap_uint32_array): Likewise.
20506 (maybe_swap_uint32_obstack): Likewise.
20507 * locale/programs/locfile.c: Include <stdbool.h>.
20508 (swap_endianness_p): New variable.
20509 (add_locale_uint32): Call maybe_swap_uint32.
20510 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20511 (write_locale_data): Call maybe_swap_uint32_array.
20512 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20513 maybe_swap_uint32.
20514 (obstack_int32_grow_fast): Likewise.
20515 (output_weightwc): Call maybe_swap_uint32_obstack.
20516 (collate_output): Likewise.
20517 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20518 (OPT_LITTLE_ENDIAN): Likewise.
20519 (options): Add --little-endian and --big-endian options.
20520 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20521 * locale/programs/locarchive.c: Include "locfile.h".
20522 (GET): New macro.
20523 (SET): Likewise.
20524 (INC): Likewise.
20525 (create_archive): Use the new macros to access fields of
20526 structures directly mapped from or written to locale archives.
20527 (oldlocrecentcmp): Likewise.
20528 (enlarge_archive): Likewise.
20529 (insert_name): Likewise.
20530 (add_alias): Likewise.
20531 (add_locale): Likewise.
20532 (delete_locales_from_archive): Likewise.
20533 (show_archive_content): Likewise.
20534 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20535 locale data.
20536
20537 2013-09-24 Roland McGrath <roland@hack.frob.com>
20538
20539 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20540 http://www.gnu.org/doc/freemanuals.texi.
20541 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20542
20543 2013-09-24 Will Newton <will.newton@linaro.org>
20544
20545 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20546 macro.
20547
20548 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20549
20550 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20551 unsigned char.
20552
20553 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20554
20555 * manual/threads.texi (POSIX Threads): Fix a typo.
20556
20557 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20558
20559 [BZ #14547]
20560 * string/tst-strcoll-overflow.c: New test case.
20561 * string/Makefile (xtests): Add tst-strcoll-overflow.
20562 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20563 cache if string sizes may cause integer overflow.
20564
20565 [BZ #14547]
20566 * string/strcoll_l.c (coll_seq): New members rule, idx,
20567 save_idx and back_us.
20568 (get_next_seq_nocache): New function.
20569 (do_compare_nocache): New function.
20570 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20571 when malloc fails.
20572
20573 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20574
20575 [BZ #15754]
20576 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20577 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20578 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20579
20580 [BZ #15754]
20581 * elf/Makefile (tests): Add tst-ptrguard1.
20582 (tests-static): Add tst-ptrguard1-static.
20583 (tst-ptrguard1-ARGS): Define.
20584 (tst-ptrguard1-static-ARGS): Define.
20585 * elf/tst-ptrguard1.c: New file.
20586 * elf/tst-ptrguard1-static.c: New file.
20587 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20588 * sysdeps/i386/stackguard-macros.h: Likewise.
20589 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20590 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20591 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20592 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20593 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20594 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20595
20596 2013-09-23 Hector Marco <hecmargi@upv.es>
20597 Ismael Ripoll <iripoll@disca.upv.es>
20598 Carlos O'Donell <carlos@redhat.com>
20599
20600 [BZ #15754]
20601 * sysdeps/generic/stackguard-macros.h: Define
20602 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20603 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20604 Define __pointer_chk_guard_local.
20605 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20606 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20607
20608 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20609
20610 [BZ #15859]
20611 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20612
20613 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20614
20615 * include/string.h (__ffs): Declare as hidden.
20616 * string/ffs.c (__ffs): Define as hidden.
20617 * sysdeps/i386/ffs.c (__ffs): Likewise.
20618 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20619 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20620 * sysdeps/s390/ffs.c (__ffs): Likewise.
20621 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20622
20623 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
20624
20625 * NEWS: Mention malloc probes.
20626
20627 * malloc/arena.c (new_heap): New memory_heap_new probe.
20628 (grow_heap): New memory_heap_more probe.
20629 (shrink_heap): New memory_heap_less probe.
20630 (heap_trim): New memory_heap_free probe.
20631 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20632 (systrim): New memory_sbrk_less probe.
20633 * manual/probes.texi: Document them.
20634
20635 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20636 * manual/probes.texi: Document it.
20637
20638 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20639 (__libc_realloc): Add memory_realloc_retry probe.
20640 (__libc_memalign): Add memory_memalign_retry probe.
20641 (__libc_valloc): Add memory_valloc_retry probe.
20642 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20643 (__libc_calloc): Add memory_calloc_retry probe.
20644 * manual/probes.texi: Document them.
20645
20646 * malloc/arena.c (get_free_list): Add probe
20647 memory_arena_reuse_free_list.
20648 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20649 and memory_arena_reuse.
20650 (arena_get2) [!PER_THREAD]: Likewise.
20651 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20652 memory_arena_reuse_realloc.
20653 * manual/probes.texi: Document them.
20654
20655 * malloc/malloc.c (__libc_free): Add
20656 memory_mallopt_free_dyn_thresholds probe.
20657 (__libc_mallopt): Add multiple memory_mallopt probes.
20658 * manual/probes.texi: Document them.
20659
20660 * malloc/malloc.c: Include stap-probe.h.
20661 (__libc_mallopt): Add memory_mallopt probe.
20662 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20663 * manual/probes.texi: New.
20664 * manual/Makefile (chapters): Add probes.
20665 * manual/threads.texi: Set next node.
20666
20667 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
20668
20669 [BZ #15963, #13985]
20670 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20671 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20672 Add `Chinese' to `nan' entry name.
20673
20674 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20675
20676 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20677 (POLYNOMIAL): Likewise.
20678 (TAYLOR_SINCOS): Likewise.
20679 (TAYLOR_SLOW): Likewise.
20680 (__sin): Use TAYLOR_SINCOS.
20681 (__cos): Likewise.
20682 (slow): Use TAYLOR_SLOW.
20683 (sloww): Likewise.
20684 (bsloww): Likewise.
20685 (csloww): Likewise.
20686
20687 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20688
20689 * stdlib/strtod_l.c: Fix buffer overrun.
20690
20691 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20692
20693 * benchtests/Makefile (bench): Add sincos.
20694 * benchtests/bench-sincos.c: New file.
20695
20696 * math/libm-test.inc (cos_test_data): New test inputs.
20697 (sin_test_data): Likewise.
20698
20699 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20700 macro.
20701 (__sin): Use it.
20702 (__cos): Likewise.
20703 (slow1): Likewise.
20704 (slow2): Likewise.
20705 (sloww1): Likewise.
20706 (sloww2): Likewise.
20707 (bsloww1): Likewise.
20708 (bsloww2): Likewise.
20709 (cslow2): Likewise.
20710 (csloww1): Likewise.
20711 (csloww2): Likewise.
20712
20713 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20714 function.
20715 (__sin): Use it.
20716 (__cos): Likewise.
20717
20718 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20719 gotos.
20720 (__cos): Likewise.
20721
20722 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20723
20724 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20725 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20726 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20727 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20728 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20729 * elf/cache.c (print_entry): Handle the new cache flags.
20730
20731 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20732 Aldy Hernandez <aldyh@redhat.com>
20733
20734 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20735 Change condition to [_SOFT_FLOAT].
20736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20748 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20751 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20752 declaration.
20753
20754 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20755
20756 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20757 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20758 (__longjmp): Use LOAD_GP to load saved GPRs.
20759 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20760 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20761 (__sigsetjmp): Use SAVE_GP to save GPRs.
20762
20763 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20764 Do not append -msoft-float.
20765 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20766
20767 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20768
20769 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20770
20771 2013-09-17 Joseph Myers <joseph@codesourcery.com>
20772
20773 [BZ #15966]
20774 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20775 (_FPU_GETCW): Use initial "__" on variable and field names but not
20776 on macro parameter name.
20777 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20778 parentheses around reference to macro parameter.
20779
20780 2013-09-13 Richard Sandiford <richard@codesourcery.com>
20781
20782 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20783 prototype.
20784 (ctype_startup): Use uint32_t in cast and sizeof for
20785 ctype->charnames.
20786
20787 2013-09-11 Jia Liu <proljc@gmail.com>
20788
20789 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20790 __daddr_t_defined.
20791 [__FreeBSD__]: Likewise.
20792
20793 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
20794
20795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20796 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20797 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20798 (strchr): Remove __strchr_sse42 ifunc selection.
20799 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20800 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20801
20802 2013-09-11 Will Newton <will.newton@linaro.org>
20803
20804 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20805 parameter to RES. Remove hardcoded 1000 value.
20806 * benchtests/bench-skeleton.c (main): Pass RES parameter
20807 to TIMING_INIT and multiply result by 1000.
20808
20809 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20810
20811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20812
20813 2013-09-11 Andreas Schwab <schwab@suse.de>
20814
20815 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20816 if not defined.
20817 (O_TMPFILE) [__USE_GNU]: Define.
20818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20819 Define.
20820
20821 2013-09-11 Will Newton <will.newton@linaro.org>
20822
20823 [BZ #15857]
20824 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20825 does not overflow.
20826
20827 2013-09-11 Will Newton <will.newton@linaro.org>
20828
20829 [BZ #15856]
20830 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20831 does not overflow.
20832
20833 2013-09-11 Will Newton <will.newton@linaro.org>
20834
20835 [BZ #15855]
20836 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20837 does not overflow.
20838
20839 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
20840
20841 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20842 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20846
20847 2013-09-10 Allan McRae <allan@archlinux.org>
20848
20849 [BZ #15748]
20850 * manual/arith.texi (Parsing of Floats): Clarify
20851 cross-reference.
20852
20853 [BZ #15849]
20854 * manual/install.texi (Running make install): Mention
20855 --enable-pt-chown.
20856 * INSTALL: Regenerated.
20857
20858 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20859
20860 * csu/init-first.c (_init): Remove the !SHARED condition around
20861 FPU control word initialization.
20862 * elf/dl-support.c (_dl_fpu_control): New variable.
20863 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20864 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20865 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20866 * math/test-fpucw-static.c: New file.
20867 * math/test-fpucw-ieee.c: New file.
20868 * math/test-fpucw-ieee-static.c: New file.
20869 * math/Makefile (tests): Add `test-fpucw-ieee' and
20870 `$(tests-static)'.
20871 (tests-static): New variable.
20872 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20873 dependency to...
20874 [($(build-shared),yes)]
20875 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20876 ... this.
20877 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20878 New dependency.
20879
20880 2013-09-09 Allan McRae <allan@archlinux.org>
20881
20882 [BZ #15939]
20883 * manual/string.texi (Collation Functions): Fix typo in
20884 strcoll example.
20885 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20886
20887 [BZ #15893]
20888 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20889
20890 [BZ #15892]
20891 * libio/memstream.c (open_memstream): Fix memory leak.
20892 * libio/wmemstream.c (open_wmemstream): Likewise.
20893
20894 [BZ #15895]
20895 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20896
20897 2013-09-09 Will Newton <will.newton@linaro.org>
20898
20899 * malloc/Makefile: Add tst-realloc to tests.
20900 * malloc/tst-realloc.c: New file.
20901
20902 2013-09-09 Allan McRae <allan@archlinux.org>
20903
20904 [BZ #15844]
20905 * COPYING: Update from GNU website to fix FSF address.
20906 * COPYING.LIB: Likewise.
20907
20908 2013-09-06 David S. Miller <davem@davemloft.net>
20909
20910 * po/zh_TW.po: Update Chinese (traditional) translation from
20911 translation project.
20912
20913 2013-09-06 Richard Sandiford <richard@codesourcery.com>
20914 Joseph Myers <joseph@codesourcery.com>
20915
20916 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20917 "localeinfo.h".
20918 (obstack_chunk_alloc): New macro.
20919 (obstack_chunk_free): Likewise.
20920 (record_offset): New function.
20921 (init_locale_data): Likewise.
20922 (align_locale_data): Likewise.
20923 (add_locale_empty): Likewise.
20924 (add_locale_raw_data): Likewise.
20925 (add_locale_raw_obstack): Likewise.
20926 (add_locale_string): Likewise.
20927 (add_locale_wstring): Likewise.
20928 (add_locale_uint32): Likewise.
20929 (add_locale_uint32_array): Likewise.
20930 (add_locale_char): Likewise.
20931 (start_locale_structure): Likewise.
20932 (end_locale_structure): Likewise.
20933 (start_locale_prelude): Likewise.
20934 (end_locale_prelude): Likewise.
20935 (write_locale_data): Take locale_file structure rather than an
20936 iovec.
20937 * locale/programs/locfile.h: Include "obstack.h".
20938 (struct locale_file): Change to store locale file contents instead
20939 of header.
20940 (init_locale_data): New prototype.
20941 (align_locale_data): Likewise.
20942 (add_locale_empty): Likewise.
20943 (add_locale_raw_data): Likewise.
20944 (add_locale_raw_obstack): Likewise.
20945 (add_locale_string): Likewise.
20946 (add_locale_wstring): Likewise.
20947 (add_locale_uint32): Likewise.
20948 (add_locale_uint32_array): Likewise.
20949 (add_locale_char): Likewise.
20950 (start_locale_structure): Likewise.
20951 (end_locale_structure): Likewise.
20952 (start_locale_prelude): Likewise.
20953 (end_locale_prelude): Likewise.
20954 (write_locale_data): Update prototype.
20955 * locale/programs/3level.h (struct TABLE): Remove result field.
20956 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20957 Use new locale_file interface.
20958 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20959 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20960 * locale/programs/ld-address.c (address_output): Use new
20961 locale_file interface.
20962 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20963 NO_ADD_LOCALE.
20964 (collate_finish): Don't call collseq_table_finalize.
20965 (collate_output): Use new locale_file interface.
20966 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20967 in file.
20968 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20969 (TABLE): Move defines earlier in file.
20970 (ELEMENT): Likewise.
20971 (DEFAULT): Likewise.
20972 (wctrans_table_add): Move macro and inline function earlier in
20973 file.
20974 (struct wctype_table): Move type earlier in file.
20975 (add_locale_wctype_table): New static prototype.
20976 (struct locale_ctype_t): Use logical types instead of struct iovec
20977 pointers for members.
20978 (ctype_output): Use new locale_file interface.
20979 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20980 new locale_file interface.
20981 (allocate_arrays): Update for use of new locale_file interface.
20982 * locale/programs/ld-identification.c (identification_output): Use
20983 new locale_file interface.
20984 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20985 * locale/programs/ld-messages.c (messages_output): Likewise.
20986 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20987 * locale/programs/ld-name.c (name_output): Likewise.
20988 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20989 * locale/programs/ld-paper.c (paper_output): Likewise.
20990 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20991 * locale/programs/ld-time.c (time_output): Likewise.
20992
20993 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20994
20995 * benchtests/Makefile: Add memrchr benchmark.
20996 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20997 benchmark as memrchr.
20998 * benchtests/bench-memrchr-ifunc.c: New file.
20999 * benchtests/bench-memrchr.c: New file.
21000
21001 2013-09-06 Will Newton <will.newton@linaro.org>
21002
21003 * benchtests/Makefile (string-bench): Add memcpy.
21004
21005 2013-09-05 Carlos O'Donell <carlos@redhat.com>
21006 Cong Wang <amwang@redhat.com>
21007
21008 [BZ #15850]
21009 * sysdeps/unix/sysv/linux/bits/in.h
21010 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21011 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21012 before __USE_KERNEL_IPV6_DEFS uses.
21013 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21014 IPPROTO_BEETPH.
21015 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21016 sockaddr_in6, or ipv6_mreq.
21017
21018 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21019
21020 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21021 memory access for final bytes in some large inputs.
21022 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21023
21024 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21025
21026 * string/test-memrchr.c: New file.
21027 * string/test-memrchr-ifunc.c: New file.
21028 * string/Makefile: Add new memrchr testcase.
21029
21030 2013-09-05 Mike Frysinger <vapier@gentoo.org>
21031
21032 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21033 fanotify_init returns EPERM.
21034
21035 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21036
21037 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21038 errors.
21039 (top level): Treat second token from macro or constant entries for
21040 allowed headers as allowed.
21041 * include/complex.h: Condition internal declarations on
21042 [!_ISOMAC].
21043 * include/fenv.h: Condition include of <stdbool.h> and internal
21044 declarations on [!_ISOMAC].
21045
21046 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21047
21048 [BZ #15923]
21049 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21050
21051 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21052
21053 * configure.in (--enable-versioning): Remove configure option.
21054 (libc_cv_asm_symver_directive): Remove configure test.
21055 (libc_cv_ld_version_script_option): Likewise.
21056 (VERSIONING): Remove variable and AC_SUBST.
21057 (DO_VERSIONING): Remove AC_DEFINE.
21058 * configure: Regenerated.
21059 * config.h.in (DO_VERSIONING): Remove macro.
21060 * Makerules [$(versioning) = yes]: Change conditionals to
21061 [$(build-shared) = yes].
21062 * config.make.in (versioning): Remove variable.
21063 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21064 [$(build-shared) = yes].
21065 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21066 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21067 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21068 [$(build-shared) = yes].
21069 * extra-lib.mk [$(versioning) = yes]: Likewise.
21070 * hurd/Makefile [$(versioning) = yes]: Likewise.
21071 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21072 [SHARED].
21073 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21074 [SHARED].
21075 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21076 [SHARED && !NO_HIDDEN].
21077 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21078 [SHARED].
21079 [SHARED && DO_VERSIONING]: Likewise..
21080 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21081 [$(build-shared) = yes].
21082 * manual/install.texi (--disable-versioning): Remove
21083 documentation.
21084 * INSTALL: Regenerated.
21085 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21086 to [SHARED].
21087 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21088 [$(build-shared) = yes].
21089 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21090 * sysdeps/i386/i686/multiarch/strstr-c.c
21091 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21092 [SHARED && !NO_HIDDEN].
21093 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21094 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21095 * sysdeps/powerpc/powerpc32/dl-machine.c
21096 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21097 * sysdeps/powerpc/powerpc32/sysdep.h
21098 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21099 to [SHARED && PIC && !NO_HIDDEN].
21100 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21101 conditional to [SHARED].
21102
21103 2013-09-04 Will Newton <will.newton@linaro.org>
21104
21105 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21106 * benchtests/bench-string.h: Include bench-timing.h instead
21107 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21108 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21109 call to HP_TIMING_DIFF_INIT.
21110 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21111 instead of hp-timing.h macros.
21112 * benchtests/bench-memchr.c: Likewise.
21113 * benchtests/bench-memcmp.c: Likewise.
21114 * benchtests/bench-memcpy.c: Likewise.
21115 * benchtests/bench-memmem.c: Likewise.
21116 * benchtests/bench-memmove.c: Likewise.
21117 * benchtests/bench-memset.c: Likewise.
21118 * benchtests/bench-rawmemchr.c: Likewise.
21119 * benchtests/bench-strcasecmp.c: Likewise.
21120 * benchtests/bench-strcasestr.c: Likewise.
21121 * benchtests/bench-strcat.c: Likewise.
21122 * benchtests/bench-strchr.c: Likewise.
21123 * benchtests/bench-strcmp.c: Likewise.
21124 * benchtests/bench-strcpy.c: Likewise.
21125 * benchtests/bench-strcpy_chk.c: Likewise.
21126 * benchtests/bench-strlen.c: Likewise.
21127 * benchtests/bench-strncasecmp.c: Likewise.
21128 * benchtests/bench-strncat.c: Likewise.
21129 * benchtests/bench-strncmp.c: Likewise.
21130 * benchtests/bench-strncpy.c: Likewise.
21131 * benchtests/bench-strnlen.c: Likewise.
21132 * benchtests/bench-strpbrk.c: Likewise.
21133 * benchtests/bench-strrchr.c: Likewise.
21134 * benchtests/bench-strspn.c: Likewise.
21135 * benchtests/bench-strstr.c: Likewise.
21136
21137 2013-09-04 Will Newton <will.newton@linaro.org>
21138
21139 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21140
21141 2013-09-03 Joseph Myers <joseph@codesourcery.com>
21142
21143 [BZ #15427]
21144 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21145 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21146 * math/libm-test.inc (lgamma_test_data): Add more tests.
21147 * sysdeps/i386/fpu/libm-test-ulps: Update.
21148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21149
21150 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21151
21152 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21153 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21154 Add ifunc.
21155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21156 Add strcmp-sse2-unaligned
21157 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21158
21159 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21160
21161 * Versions.def (libc): Add GLIBC_2.19.
21162
21163 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21164
21165 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21166 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21167
21168 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21169
21170 [BZ #14155]
21171 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21172 intermediate calculations in recurrence.
21173 (__ieee754_ynf): Likewise.
21174 * math/libm-test.inc (jn_test_data): Do not allow spurious
21175 underflow exception. Add more tests.
21176 (yn_test_data): Add more tests.
21177 * sysdeps/i386/fpu/libm-test-ulps: Update.
21178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21179
21180 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21181
21182 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21183
21184 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21185
21186 * csu/init-first.c: Fix then/than typos.
21187 * locale/programs/ld-collate.c: Likewise.
21188 * locale/programs/linereader.h: Likewise.
21189 * manual/charset.texi: Likewise.
21190 * manual/filesys.texi: Likewise.
21191 * manual/stdio.texi: Likewise.
21192 * manual/string.texi: Likewise.
21193 * stdlib/fmtmsg.c: Likewise.
21194 * sysdeps/i386/stpncpy.S: Likewise.
21195 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21196 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21197 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21198 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21199
21200 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21201
21202 * elf/dl-open.c: Fix typos.
21203 * iconvdata/gbbig5.c: Likewise.
21204 * iconvdata/iso-2022-jp.c: Likewise.
21205 * iconv/gconv_int.h: Likewise.
21206 * iconv/loop.c: Likewise.
21207 * nis/rpcsvc/nis.h: Likewise.
21208 * resolv/ns_name.c: Likewise.
21209 * stdio-common/vfscanf.c: Likewise.
21210 * streams/stropts.h: Likewise.
21211 * sunrpc/rpc_thread.c: Likewise.
21212 * sysdeps/i386/strpbrk.S: Likewise.
21213 * sysdeps/ieee754/k_standard.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21216 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21217 * sysdeps/mach/hurd/profil.c: Likewise.
21218 * sysdeps/s390/dl-procinfo.h: Likewise.
21219 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21220 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21221 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21222 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21223 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21224
21225 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21226
21227 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21229
21230 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21231
21232 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21233 aix specific files.
21234 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21235 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21236 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21237 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21238 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21239 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21240 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21241 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21242
21243 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21244 Roland McGrath <roland@hack.frob.com>
21245
21246 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21247 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21248
21249 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21250
21251 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21252 __executable_start symbol instead of _start.
21253
21254 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21255
21256 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21257 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21258 Move macros to...
21259 * sysdeps/gnu/ldsodefs.h: ... this new file.
21260
21261 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21262 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21263 instead of ELFOSABI_LINUX.
21264
21265 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21266 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21267 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21268 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21269 Likewise.
21270 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21271 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21272 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21273 Likewise.
21274 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21275 (ibm_extended_long_double): Add ieee_nan member.
21276 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21277 (do_test): New function.
21278
21279 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21280 TEST_TRUNC.
21281 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21282 functions, renamed from truncdfsf_test, trunctfsf_test,
21283 trunctfdf_test.
21284 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21285 functions.
21286 (do_test): Run all these.
21287
21288 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21289
21290 * argp/argp-help.c: Fix typos.
21291 * argp/argp-parse.c: Likewise.
21292 * debug/backtracesyms.c: Likewise.
21293 * elf/elf.h: Likewise.
21294 * malloc/malloc.c: Likewise.
21295 * nis/nis_print.c: Likewise.
21296 * resolv/res_comp.c: Likewise.
21297 * stdlib/stdlib.h: Likewise.
21298 * sunrpc/clnt_tcp.c: Likewise.
21299 * sunrpc/clnt_udp.c: Likewise.
21300 * sunrpc/clnt_unix.c: Likewise.
21301 * sysdeps/unix/bsd/ptsname.c: Likewise.
21302 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21303 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21305 Likewise.
21306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21307 Likewise.
21308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21309 Likewise.
21310 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21311
21312 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21313
21314 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21316
21317 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21318
21319 [BZ #15897]
21320 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21321 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21322 ($(objpfx)bug-dl-leaf): New rule.
21323 ($(objpfx)bug-dl-leaf.so): Likewise.
21324 ($(objpfx)bug-dl-leaf.out): Likewise.
21325 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21326 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21327 * dlfcn/bug-dl-leaf.c: New test.
21328 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21329 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21330 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21331 (dlclose): Likewise.
21332 (dlmopen): Likewise.
21333
21334 2013-08-27 Roland McGrath <roland@hack.frob.com>
21335
21336 * include/netdb.h [!_ISOMAC]:
21337 Don't include <tls.h>.
21338 (h_errno, __libc_h_errno): Move declaration and macros out of
21339 [_LIBC_REENTRANT].
21340
21341 * include/resolv.h [_RESOLV_H_]:
21342 Don't include <tls.h>.
21343 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21344 * resolv/res_libc.c: Don't include <tls.h>.
21345 (_res): Use __attribute__ ((nocommon)) in place of
21346 __attribute__ ((section (".bss"))).
21347
21348 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21349 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21350
21351 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21352
21353 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21354 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21355
21356 * resolv/res_mkquery.c: Include <sys/time.h>.
21357
21358 * inet/ifreq.c: Moved to ...
21359 * sysdeps/unix/ifreq.c: ... here.
21360 * inet/ifreq.c: New file, true stub version.
21361
21362 * socket/sa_len.c: New file.
21363 * socket/Makefile (aux): Add it.
21364 * sysdeps/unix/sysv/linux/Makefile
21365 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21366 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21367 and #include <socket/sa_len.c>.
21368 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21369 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21370
21371 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21372 * bits/socket.h: ... here.
21373
21374 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21375 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21376 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21377
21378 2013-08-27 Andreas Schwab <schwab@suse.de>
21379
21380 [BZ #15736]
21381 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21382 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21383 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21384 * string/test-strcasecmp.c (test_main): Run tests in several
21385 locales.
21386 * string/test-strncasecmp.c (test_main): Likewise.
21387
21388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21389 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21390 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21392 (__strncasecmp_ssse3) [PIC]: Likewise.
21393
21394 2013-08-26 Roland McGrath <roland@hack.frob.com>
21395
21396 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21397
21398 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21399 instead of explicitly declaring xdecrypt.
21400 * nis/nss_nis/nis-publickey.c: Likewise.
21401
21402 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21403
21404 [BZ #15890]
21405 * nscd/aicache.c: Include res_hconf.h.
21406 (addhstaiX): Initialize res_hconf.
21407
21408 2013-08-26 Andreas Schwab <schwab@suse.de>
21409
21410 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21411 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21412
21413 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21414
21415 * nscd/aicache.c (addhstaiX): Fix indentation.
21416
21417 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21418
21419 * configure.ac: Quote $build_pt_chown test.
21420 * configure: Regenerated.
21421
21422 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21423
21424 [BZ #15532]
21425 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21426 * math/s_cexpf.c (__cexpf): Likewise.
21427 * math/s_cexpl.c (__cexpl): Likewise.
21428 * math/libm-test.inc (cexp_test_data): Correct expected return
21429 value for NaN + i0. Add another test.
21430
21431 2013-08-22 David S. Miller <davem@davemloft.net>
21432
21433 * po/ca.po: Update Catalan translation from translation project.
21434 * po/uk.po: Add Ukrainian translations from translation project.
21435
21436 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21437
21438 [BZ #15797]
21439 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21440 is infinite, not alongside NaN test.
21441 * math/s_fdimf.c (__fdimf): Likewise.
21442 * math/s_fdiml.c (__fdiml): Likewise.
21443 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21444 errno is unchanged.
21445
21446 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21447
21448 * argp/argp-help.c: Fix typos.
21449 * crypt/speeds.c: Likewise.
21450 * csu/check_fds.c: Likewise.
21451 * elf/dl-load.c: Likewise.
21452 * elf/dl-open.c: Likewise.
21453 * elf/reldep3.c: Likewise.
21454 * elf/reldep.c: Likewise.
21455 * elf/sprof.c: Likewise.
21456 * iconv/iconv_charmap.c: Likewise.
21457 * iconv/skeleton.c: Likewise.
21458 * iconv/strtab.c: Likewise.
21459 * io/lockf64.c: Likewise.
21460 * libio/libioP.h: Likewise.
21461 * resolv/gai_notify.c: Likewise.
21462 * resolv/ns_name.c: Likewise.
21463 * resolv/ns_samedomain.c: Likewise.
21464 * resolv/res_send.c: Likewise.
21465 * stdlib/random.c: Likewise.
21466 * sunrpc/rpc/xdr.h: Likewise.
21467 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21468 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21469 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21470 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21471 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21472 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21474 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21475 * sysdeps/mach/hurd/check_fds.c: Likewise.
21476 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21477 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21478 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21479 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21480 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21481 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21482 * sysdeps/pthread/aio_notify.c: Likewise.
21483 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21484 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21485 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21486 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21487 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21488
21489 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21490
21491 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21492 version if bit_Slow_SSE4_2 is set.
21493 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21495
21496 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21497
21498 [BZ #15867]
21499 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21500 trampoline stack frame information.
21501 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21502 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21503 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21504 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21505 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21506 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21507 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21508 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21509 sa_flags value.
21510 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21511 interrupting a syscall and set with option SA_SIGINFO.
21512
21513 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21514
21515 [BZ #15531]
21516 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21517 argument is infinite.
21518 * math/s_cprojf.c (__cprojf): Likewise.
21519 * math/s_cprojl.c (__cprojl): Likewise.
21520 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21521 * math/libm-test.inc (cproj_test_data): Add more tests.
21522
21523 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21524
21525 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21526 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21527 size. Use __ffs to determine corresponding shift.
21528
21529 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21530 Roland McGrath <roland@hack.frob.com>
21531
21532 * Makefile (INSTALL): Remove trailing blank lines from output of
21533 makeinfo.
21534
21535 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21536
21537 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21538 Align 32 bit compat elf_greg to 8 bytes.
21539
21540 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21541
21542 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21543
21544 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21545
21546 * string/strcoll_l.c (coll_seq): New structure.
21547 (get_next_seq_cached): New function.
21548 (get_next_seq): New function.
21549 (do_compare): New function.
21550 (STRCOLL): Use GNU style definition. Simplify implementation
21551 by using get_next_seq, get_next_seq_cached and do_compare.
21552
21553 2013-08-16 Florian Weimer <fweimer@redhat.com>
21554
21555 [BZ #14699]
21556 CVE-2013-4237
21557 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21558 member.
21559 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21560 member.
21561 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21562 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21563 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21564 conditional.
21565 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21566 GETDENTS_64BIT_ALIGNED.
21567 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21568 * manual/filesys.texi (Reading/Closing Directory): Document
21569 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21570 strongly.
21571 * manual/conf.texi (Limits for Files): Add portability note to
21572 NAME_MAX, PATH_MAX.
21573 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21574
21575 2013-08-13 Andreas Schwab <schwab@suse.de>
21576
21577 [BZ #15749]
21578 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21579 of fabs.
21580 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21581 LDBL_MAX_EXP >= 16384]: Add tests for it.
21582
21583 2013-08-12 David S. Miller <davem@davemloft.net>
21584
21585 * version.h (RELEASE): Set to "development".
21586 (VERSION): Set to "2.18.90".
21587 * NEWS: Add 2.19 section.
21588
21589 2013-08-03 David S. Miller <davem@davemloft.net>
21590
21591 * po/ko.po: Update Korean translation from translation project.
21592
21593 2013-08-01 David S. Miller <davem@davemloft.net>
21594
21595 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21596 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21597 Bilka.
21598
21599 2013-07-30 David S. Miller <davem@davemloft.net>
21600
21601 * po/fr.po: Update French translation from translation project.
21602
21603 2013-07-28 David S. Miller <davem@davemloft.net>
21604
21605 * po/cs.po: Update Czech translation from translation project.
21606
21607 * po/sv.po: Update Swedish translation from translation project.
21608
21609 2013-07-27 David S. Miller <davem@davemloft.net>
21610
21611 * po/eo.po: Update Esperanto translation from translation project.
21612
21613 * po/vi.po: Update Vietnamese translation from translation project.
21614
21615 * po/de.po: Update German translation from translation project.
21616
21617 2013-07-26 David S. Miller <davem@davemloft.net>
21618
21619 * po/bg.po: Update Bulgarian translation from translation project.
21620
21621 * po/nl.po: Update Dutch translation from translation project.
21622 * po/pl.po: Update Polish translation from translation project.
21623 * po/ru.po: Update Russian translation from translation project.
21624
21625 2013-07-24 David S. Miller <davem@davemloft.net>
21626
21627 * po/libc.pot: Update.
21628
21629 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21630
21631 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21632 variable page size.
21633 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21634 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21635 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21636
21637 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21638
21639 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21640
21641 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21642 Andreas Schwab <schwab@suse.de>
21643 Roland McGrath <roland@hack.frob.com>
21644 Joseph Myers <joseph@codesourcery.com>
21645 Carlos O'Donell <carlos@redhat.com>
21646
21647 [BZ #15755]
21648 * config.h.in: Define HAVE_PT_CHOWN.
21649 * config.make.in (build-pt-chown): New variable.
21650 * configure.in (--enable-pt_chown): New configure option.
21651 * configure: Regenerate.
21652 * login/Makefile: Include Makeconfig. Build pt_chown only if
21653 build-pt-chown is enabled.
21654 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21655 pt_chown to fix pty ownership.
21656 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21657 CLOSE_ALL_FDS.
21658 * manual/install.texi (Configuring and compiling): Mention
21659 --enable-pt_chown. Add @findex for grantpt.
21660 * INSTALL: Regenerate.
21661
21662 2013-07-20 David S. Miller <davem@davemloft.net>
21663
21664 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21665 difference between 32-bit and 64-bit.
21666
21667 2013-07-15 Carlos O'Donell <carlos@redhat.com>
21668
21669 [BZ #15711]
21670 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21671 Avoid system header dependency with -ffreestanding.
21672 ($(objpfx)bits/syscall%d): Likewise.
21673
21674 2013-07-13 David S. Miller <davem@davemloft.net>
21675
21676 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21677 underflows from atanl/atan2l due to bug 15319.
21678 (casinh_test_data): Likewise.
21679
21680 2013-07-07 David S. Miller <davem@davemloft.net>
21681
21682 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21683
21684 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21685
21686 * sysdeps/i386/fpu/libm-test-ulps: Update.
21687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21688
21689 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21690
21691 * configure.in (--enable-lock-elision): Fix message text.
21692 * INSTALL: Regenerate.
21693 * configure: Regenerate.
21694
21695 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21696
21697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21698
21699 2013-07-03 Andreas Jaeger <aj@suse.de>
21700
21701 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21702 define.
21703 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21704 (ptrace_peeksiginfo_args): Add.
21705 (__ptrace_peeksiginfo_flags): Add.
21706 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21707 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21708 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21709
21710 2013-07-03 Allan McRae <allan@archlinux.org>
21711
21712 * sysdeps/i386/fpu/libm-test-ulps: Update.
21713
21714 2013-07-02 David S. Miller <davem@davemloft.net>
21715
21716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21717
21718 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21719
21720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21721
21722 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21723
21724 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21726
21727 2013-07-02 Andi Kleen <ak@linux.intel.com>
21728
21729 * config.h.in (ENABLE_LOCK_ELISION): Add.
21730 * configure.in (--enable-lock-elision): Add option.
21731 * manual/install.texi: Document --enable lock elision.
21732 * configure: Regenerate
21733 * INSTALL: Regenerate.
21734
21735 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21736
21737 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21738 SSE4.2 strcasecmp for libc.a.
21739 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21740
21741 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21742
21743 [BZ #13304]
21744 * soft-fp/op-common.h (_FP_FMA): New macro.
21745 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21746 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21747 (_FP_MUL_MEAT_1_imm): ... here.
21748 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21749 (_FP_MUL_MEAT_1_wide): ... here.
21750 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21751 (_FP_MUL_MEAT_1_hard): ... here.
21752 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21753 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21754 (_FP_MUL_MEAT_2_wide): ... here.
21755 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21756 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21757 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21758 (_FP_MUL_MEAT_2_gmp): ... here.
21759 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21760 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21761 (_FP_MUL_MEAT_4_wide): ... here.
21762 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21763 (_FP_MUL_MEAT_4_gmp): ... here.
21764 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21765 (_FP_WFRACBITS_DW_S): Likewise.
21766 (_FP_WFRACXBITS_DW_S): Likewise.
21767 (_FP_HIGHBIT_DW_S): Likewise.
21768 (FP_FMA_S): Likewise.
21769 (_FP_FRAC_HIGH_DW_S): Likewise.
21770 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21771 (_FP_WFRACBITS_DW_D): Likewise.
21772 (_FP_WFRACXBITS_DW_D): Likewise.
21773 (_FP_HIGHBIT_DW_D): Likewise.
21774 (FP_FMA_D): Likewise.
21775 (_FP_FRAC_HIGH_DW_D): Likewise.
21776 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21777 (_FP_WFRACBITS_DW_E): Likewise.
21778 (_FP_WFRACXBITS_DW_E): Likewise.
21779 (_FP_HIGHBIT_DW_E): Likewise.
21780 (FP_FMA_E): Likewise.
21781 (_FP_FRAC_HIGH_DW_E): Likewise.
21782 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21783 (_FP_WFRACBITS_DW_Q): Likewise.
21784 (_FP_WFRACXBITS_DW_Q): Likewise.
21785 (_FP_HIGHBIT_DW_Q): Likewise.
21786 (FP_FMA_Q): Likewise.
21787 (_FP_FRAC_HIGH_DW_Q): Likewise.
21788 * soft-fp/fmasf4.c: New file.
21789 * soft-fp/fmadf4.c: Likewise.
21790 * soft-fp/fmatf4.c: Likewise.
21791
21792 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21793
21794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21795 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21796 Silvermont.
21797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21798 macro.
21799 (index_Slow_SSE4_2): Likewise.
21800 (index_Prefer_PMINUB_for_stringop): Likewise.
21801 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21802 bit_Slow_SSE4_2 is set.
21803 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21804 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21805
21806 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21807
21808 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21809 rtld_global._dl_hwcap2.
21810 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21811 POWER8.
21812 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21813 POWER8 feature descriptions defined in _dl_hwcap2.
21814 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21815 string handling for POWER8 feature bits.
21816 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21817 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21818 _dl_powerpc_cap_flags.
21819 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21820 * sysdeps/powerpc/rtld-global-offsets.sym
21821 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21822 _dl_hwcap2 in the rtld_global_ro structure.
21823
21824 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21825
21826 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21827 hardware capabilities in support of AT_HWCAP2.
21828 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21829 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21830 GLRO(dl_hwcap2).
21831 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21832 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21833 explicitly the unknown a_type display mechanism is used.
21834 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21835 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21836 struct member.
21837 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21838 to macro prototype for AT_HWCAP2 support.
21839 * sysdeps/i386/dl-procinfo.h: Likewise.
21840 * sysdeps/s390/dl-procinfo.h: Likewise.
21841 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21842 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21843 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21844 return -1 for unknown a_type display fallback.
21845 * sysdeps/sparc/dl-procinfo.h: Likewise.
21846 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21847 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21848
21849 2013-06-28 Joseph Myers <joseph@codesourcery.com>
21850
21851 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21852 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21853
21854 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21855
21856 [BZ #12492]
21857 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21858 mprotect making __stack_prot writable.
21859
21860 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21861 Joseph Myers <joseph@codesourcery.com>
21862
21863 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21864 as being properly aligned.
21865
21866 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21867
21868 * dlfcn/modstatic5.c: New file.
21869 * dlfcn/tststatic5.c: New file.
21870 * dlfcn/Makefile (tests): Add tststatic5.
21871 (tests-static): Likewise.
21872 (modules-names): Add modstatic5.
21873 (tststatic5-ENV): New variable.
21874 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21875
21876 [BZ #15022]
21877 * elf/dl-support.c (_dl_main_map): New variable.
21878 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21879 (_dl_nns, _dl_load_adds): Set to 1.
21880 (_dl_initial_searchlist): Refer to _dl_main_map.
21881 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21882 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21883 call to _dl_get_origin.
21884 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21885 around call_map.
21886 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21887 * dlfcn/modstatic3.c: New file.
21888 * dlfcn/tststatic3.c: New file.
21889 * dlfcn/tststatic4.c: New file.
21890 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21891 (tests-static): Likewise.
21892 (modules-names): Add modstatic3.
21893 (tststatic3-ENV, tststatic4-ENV): New variables.
21894 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21895 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21896
21897 2013-06-26 Joseph Myers <joseph@codesourcery.com>
21898
21899 * configure.in (CC): Require GCC version 4.4 or later.
21900 * configure: Regenerated.
21901 * manual/install.texi (Tools for Compilation): Update GCC version
21902 requirement.
21903 * INSTALL: Regenerated.
21904
21905 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21906
21907 [BZ #15674]
21908 * string/test-memcmp.c (check2): New.
21909 (main): Call check2.
21910
21911 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21912
21913 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21914
21915 [BZ #15022]
21916 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21917 over to...
21918 (dl_open_worker) [!SHARED]: ... here.
21919
21920 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21921
21922 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21923
21924 2013-06-25 Richard Henderson <rth@redhat.com>
21925
21926 * locale/programs/locarchive.c: Include <libc-internal.h>
21927
21928 2013-06-25 Joseph Myers <joseph@codesourcery.com>
21929
21930 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21931 trailing whitespace removed.
21932
21933 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21934
21935 [BZ #10283]
21936 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21937 * locale/programs/locarchive.c: Include libc-mmap.h.
21938 (prepare_address_space): Take two new outputs (the mmap base and len).
21939 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21940 values.
21941 (create_archive): Declare new mmap base and len values for
21942 prepare_address_space, and store the result in ah.
21943 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21944 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21945 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21946 Declare new mmap base and len values for
21947 prepare_address_space, and store the result in new_ah.
21948 (open_archive): Declare new mmap base and len values for
21949 prepare_address_space, and store the result in ah.
21950 (close_archive): If ah->mmap_base is not NULL, use that and
21951 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21952 * sysdeps/generic/libc-mmap.h: New file.
21953
21954 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21955
21956 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21957 (ALIGN_UP): Likewise.
21958 (PTR_ALIGN_DOWN): Likewise.
21959 (PTR_ALIGN_UP): Likewise.
21960
21961 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21962
21963 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21964 entry mapped to PPC_PLATFORM_POWER8.
21965 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21966 POWER8.
21967 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21968 (_dl_string_platform): Add case for exporting platform position for
21969 POWER8.
21970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21971 search path to sysdeps/powerpc/powerpc32/power8 directory.
21972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21973 search path to sysdeps/powerpc/powerpc64/power8 directory.
21974 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21975 power7 directories.
21976 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21977 power7 directories.
21978
21979 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21980
21981 * INSTALL: Regenerate.
21982
21983 * nscd/connections.c (nscd_init): Fix comment.
21984
21985 2013-06-22 Joseph Myers <joseph@codesourcery.com>
21986
21987 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21988
21989 [BZ #15667]
21990 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21991 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21992
21993 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21994
21995 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21996 DL_DST_REQ_STATIC.
21997 (DL_DST_REQ_STATIC): Remove macro.
21998
21999 2013-06-21 Joseph Myers <joseph@codesourcery.com>
22000
22001 [BZ #7006]
22002 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22003 with a shift of 0 bits.
22004
22005 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22006
22007 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22008 $(tststatic-ENV).
22009
22010 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22011
22012 [BZ #15655]
22013 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22014
22015 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22016
22017 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22018 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22019 accepts -fno-tree-loop-distribute-patterns.
22020 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22021 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22022 recursive call.
22023 * string/memset.c (memset): Likewise.
22024 * string/test-memmove.c (simple_memmove): Disable loop transformation
22025 to library calls.
22026 * string/test-memset.c (simple_memset): Likewise.
22027 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22028 * benchtests/bench-memset.c (simple_memset): Likewise.
22029 * configure: Regenerated.
22030
22031 2013-06-20 Joseph Myers <joseph@codesourcery.com>
22032
22033 * math/test-misc.c (main): Ignore fesetround failure when failures
22034 of subsequent rounding tests would be ignored.
22035
22036 [BZ #15654]
22037 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22038 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22039 * math/fegetenv.c (__fegetenv): Return 0.
22040 * math/fegetexcept.c (fegetexcept): Return 0.
22041 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22042 FE_TONEAREST.
22043 * math/feholdexcpt.c (feholdexcept): Return 0.
22044 * math/fesetenv.c (__fesetenv): Return 0.
22045 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22046 argument FE_TONEAREST.
22047 * math/feupdateenv.c (__feupdateenv): Return 0.
22048 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22049
22050 2013-06-18 Roland McGrath <roland@hack.frob.com>
22051
22052 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22053 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22054 ($(objpfx)rtld-%.os rules): Use them.
22055
22056 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22057
22058 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22059 fields.
22060
22061 2013-06-17 Roland McGrath <roland@hack.frob.com>
22062
22063 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22064 length of target pattern, then descending length of dependency pattern.
22065 * configure.in (AWK): Require gawk 3.1.2 or newer.
22066 * manual/install.texi (Tools for Compilation): Say that we do.
22067 * configure: Regenerated.
22068
22069 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22070 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22071 * scripts/sysd-rules.awk: ... this new script.
22072 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22073 than a glob-style pattern.
22074
22075 2013-06-17 Joseph Myers <joseph@codesourcery.com>
22076
22077 * math/test-misc.c (main): Do not treat incorrectly rounded
22078 conversions as failure unless ROUNDING_TESTS passes.
22079
22080 2013-06-15 Joseph Myers <joseph@codesourcery.com>
22081
22082 [BZ #15631]
22083 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22084 restore exception state around main square root computation, then
22085 check for inexactness explicitly.
22086
22087 * math/libm-test.inc (fma_test_data): Add another test.
22088
22089 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22090
22091 * manual/threads.texi (Non-POSIX Extensions): New document
22092 node. Document pthread_getattr_default_np and
22093 pthread_setattr_default_np.
22094
22095 * Versions.def (libpthread): Add GLIBC_2.18.
22096 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22098 Likewise.
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22100 Likewise.
22101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22102 Likewise.
22103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22104 Likewise.
22105 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22106 Likewise.
22107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22108 Likewise.
22109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22110 Likewise.
22111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22112 Likewise.
22113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22114 Likewise.
22115
22116 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22117
22118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22119 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22120
22121 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22122 H.J. Lu <hjl.tools@gmail.com>
22123
22124 [BZ #15627]
22125 * sysdeps/x86_64/rtld-memset.c: Remove file.
22126 * sysdeps/x86_64/rtld-memset.S: New file.
22127
22128 2013-06-14 Joseph Myers <joseph@codesourcery.com>
22129
22130 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22131 (test_in_one_mode): Take arguments for whether the rounding mode
22132 is supported for each floating-point type.
22133 (do_test): Pass new arguments to test_in_one_mode using
22134 ROUNDING_TESTS.
22135
22136 2013-06-13 Roland McGrath <roland@hack.frob.com>
22137
22138 * posix/tst-waitid.c (do_test): Distinguish different instances of
22139 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22140 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22141 before entering the kernel for waitpid.
22142
22143 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22144
22145 * NEWS: Fix note on clock function precision. Text by Roland
22146 McGrath.
22147
22148 2013-06-13 Roland McGrath <roland@hack.frob.com>
22149
22150 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22151 it into place only when and if the sanity check passes.
22152
22153 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22154
22155 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22156 output for whether conversion result is exact. Take argument
22157 indicating whether type is IBM long double.
22158 (round_for_all): Change need_exact field to ibm_ld.
22159 * stdlib/tst-strtod-round.c (struct exactness): New type.
22160 (struct test): Change bool ld_ok field to struct exactness exact.
22161 (TEST): Update all definitions for change to field.
22162 (tests): Regenerate array contents.
22163 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22164 field value. Check for IBM long double here.
22165 (do_test): Update calls to test_in_one_mode.
22166
22167 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22168
22169 [BZ #12515]
22170 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22171 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22172
22173 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174
22175 [BZ #15605]
22176 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22177 generated by the compiler on loop optimizations.
22178 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22179 general definitions.
22180
22181 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22182
22183 * math/bug-nextafter.c: Include <math-tests.h>.
22184 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22185 the relevant type.
22186 * math/bug-nexttoward.c: Include <math-tests.h>.
22187 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22188 the relevant type.
22189 * math/test-misc.c: Include <math-tests.h>.
22190 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22191 the relevant type.
22192
22193 2013-06-12 Andreas Jaeger <aj@suse.de>
22194
22195 * po/ia.po: Update Interlingua translation from translation
22196 project.
22197
22198 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22199
22200 * include/fenv.h: Include stdbool.h.
22201 (struct rm_ctx): New structure.
22202 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22203 Define macro.
22204 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22205 (SET_RESTORE_ROUNDF): Likewise.
22206 (SET_RESTORE_ROUNDL): Likewise.
22207 (SET_RESTORE_ROUND_NOEX): Likewise.
22208 (SET_RESTORE_ROUND_NOEXF): Likewise.
22209 (SET_RESTORE_ROUND_NOEXL): Likewise.
22210 (SET_RESTORE_ROUND_53BIT): Likewise.
22211 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22212 (libc_feresetround_noexf_ctx): Likewise.
22213 (libc_feresetround_noexl_ctx): Likewise.
22214 (libc_feholdsetround_53bit_ctx): Likewise.
22215 (libc_feresetround_53bit_ctx): Likewise.
22216 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22217 (libc_feholdexcept_setround_sse_ctx): New function.
22218 (libc_fesetenv_sse_ctx): Likewise.
22219 (libc_feupdateenv_sse_ctx): Likewise.
22220 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22221 (libc_feholdexcept_setround_387_ctx): Likewise.
22222 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22223 (libc_feholdsetround_387_prec_ctx): Likewise.
22224 (libc_feholdsetround_387_ctx): Likewise.
22225 (libc_feholdsetround_387_53bit_ctx): Likewise.
22226 (libc_feholdsetround_sse_ctx): Likewise.
22227 (libc_feresetround_sse_ctx): Likewise.
22228 (libc_feresetround_387_ctx): Likewise.
22229 (libc_feupdateenv_387_ctx): Likewise.
22230 (libc_feholdexcept_setroundf_ctx): Define macro.
22231 (libc_fesetenvf_ctx): Likewise.
22232 (libc_feupdateenvf_ctx): Likewise.
22233 (libc_feholdsetroundf_ctx): Likewise.
22234 (libc_feresetroundf_ctx): Likewise.
22235 (libc_feholdexcept_setround_ctx): Likewise.
22236 (libc_fesetenv_ctx): Likewise.
22237 (libc_feupdateenv_ctx): Likewise.
22238 (libc_feholdsetround_ctx): Likewise.
22239 (libc_feresetround_ctx): Likewise.
22240 (libc_feholdexcept_setroundl_ctx): Likewise.
22241 (libc_feupdateenvl_ctx): Likewise.
22242 (libc_feholdsetroundl_ctx): Likewise.
22243 (libc_feresetroundl_ctx): Likewise.
22244 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22245 (libc_feresetround_53bit_ctx): Likewise.
22246
22247 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22248
22249 * locale/iso-639.def: Convert to UTF-8.
22250
22251 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22252
22253 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22254 (EXCEPTION_TESTS_double): Likewise.
22255 (EXCEPTION_TESTS_long_double): Likewise.
22256 (EXCEPTION_TESTS): Likewise.
22257 * math/libm-test.inc (test_exceptions): Only test exceptions if
22258 EXCEPTION_TESTS (FLOAT).
22259
22260 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22261
22262 * benchtests/Makefile (string-bench): Add strcpy_chk and
22263 stpcpy_chk.
22264 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22265 * benchtests/bench-stpcpy_chk.c: New file.
22266 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22267 * benchtests/bench-strcpy_chk.c: New file.
22268 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22269 code.
22270 (do_test): Likewise.
22271
22272 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22273
22274 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22275 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22276 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22277 with tabs where appropriate.
22278 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22279 dl-procinfo.h.
22280 [PPC_PLATFORM_PPC440]: Likewise.
22281 [PPC_PLATFORM_PPC464]: Likewise.
22282 [PPC_PLATFORM_PPC476]: Likewise.
22283 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22284 ppc464, and ppc476 platform strings merging from ports/
22285 dl-procinfo.h.
22286
22287 2013-06-11 Andreas Schwab <schwab@suse.de>
22288
22289 [BZ #14991]
22290 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22291 (from_ucs4_idx): Regenerate.
22292 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22293 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22294 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22295 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22296 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22297 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22298 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22299 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22300 from FROM_LOOP and TO_LOOP specific macros.
22301 (BODY): Handle combining characters.
22302 * iconvdata/BIG5HKSCS.irreversible: Update.
22303 * iconvdata/BIG5HKSCS.precomposed: New file.
22304 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22305 characters.
22306 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22307
22308 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22309
22310 * include/sys/time.h: Fix indentation and add copyright header.
22311
22312 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22313 (do_test): Likewise.
22314 * string/test-memchr.c (do_one_test): Likewise.
22315 (do_test): Likewise.
22316 * string/test-memcmp.c (do_one_test): Likewise.
22317 (do_test): Likewise.
22318 * string/test-memcpy.c (do_one_test): Likewise.
22319 (do_test): Likewise.
22320 * string/test-memmem.c (do_one_test): Likewise.
22321 (do_test): Likewise.
22322 (do_random_tests): Likewise.
22323 * string/test-memmove.c (do_one_test): Likewise.
22324 (do_test): Likewise.
22325 * string/test-memset.c (do_one_test): Likewise.
22326 (do_test): Likewise.
22327 * string/test-rawmemchr.c (do_one_test): Likewise.
22328 (do_test): Likewise.
22329 * string/test-strcasecmp.c (do_one_test): Likewise.
22330 (do_test): Likewise.
22331 * string/test-strcasestr.c (do_one_test): Likewise.
22332 (do_test): Likewise.
22333 * string/test-strcat.c (do_one_test): Likewise.
22334 (do_test): Likewise.
22335 * string/test-strchr.c (do_one_test): Likewise.
22336 (do_test): Likewise.
22337 * string/test-strcmp.c (do_one_test): Likewise.
22338 (do_test): Likewise.
22339 * string/test-strcpy.c (do_one_test): Likewise.
22340 (do_test): Likewise.
22341 * string/test-string.h: Likewise.
22342 (test_init): Likewise.
22343 * string/test-strlen.c (do_one_test): Likewise.
22344 (do_test): Likewise.
22345 * string/test-strncasecmp.c (do_one_test): Likewise.
22346 (do_test): Likewise.
22347 * string/test-strncat.c (do_one_test): Likewise.
22348 (do_test): Likewise.
22349 * string/test-strncmp.c (do_one_test): Likewise.
22350 (do_test_limit): Likewise.
22351 (do_test): Likewise.
22352 * string/test-strncpy.c (do_one_test): Likewise.
22353 (do_test): Likewise.
22354 * string/test-strnlen.c (do_one_test): Likewise.
22355 (do_test): Likewise.
22356 * string/test-strpbrk.c (do_one_test): Likewise.
22357 (do_test): Likewise.
22358 * string/test-strrchr.c (do_one_test): Likewise.
22359 (do_test): Likewise.
22360 * string/test-strspn.c (do_one_test): Likewise.
22361 (do_test): Likewise.
22362 * string/test-strstr.c (do_one_test): Likewise.
22363 (do_test): Likewise.
22364
22365 * benchtests/Makefile (string-bench): Add string benchmarks.
22366 * benchtests/bench-bcopy-ifunc.c: New file.
22367 * benchtests/bench-bcopy.c: New file.
22368 * benchtests/bench-bzero-ifunc.c: New file.
22369 * benchtests/bench-bzero.c: New file.
22370 * benchtests/bench-memccpy-ifunc.c: New file.
22371 * benchtests/bench-memccpy.c: New file.
22372 * benchtests/bench-memchr-ifunc.c: New file.
22373 * benchtests/bench-memchr.c: New file.
22374 * benchtests/bench-memcmp-ifunc.c: New file.
22375 * benchtests/bench-memcmp.c: New file.
22376 * benchtests/bench-memmem-ifunc.c: New file.
22377 * benchtests/bench-memmem.c: New file.
22378 * benchtests/bench-memmove-ifunc.c: New file.
22379 * benchtests/bench-memmove.c: New file.
22380 * benchtests/bench-mempcpy-ifunc.c: New file.
22381 * benchtests/bench-mempcpy.c: New file.
22382 * benchtests/bench-memset-ifunc.c: New file.
22383 * benchtests/bench-memset.c: New file.
22384 * benchtests/bench-rawmemchr-ifunc.c: New file.
22385 * benchtests/bench-rawmemchr.c: New file.
22386 * benchtests/bench-stpcpy-ifunc.c: New file.
22387 * benchtests/bench-stpcpy.c: New file.
22388 * benchtests/bench-stpncpy-ifunc.c: New file.
22389 * benchtests/bench-stpncpy.c: New file.
22390 * benchtests/bench-strcasecmp-ifunc.c: New file.
22391 * benchtests/bench-strcasecmp.c: New file.
22392 * benchtests/bench-strcasestr-ifunc.c: New file.
22393 * benchtests/bench-strcasestr.c: New file.
22394 * benchtests/bench-strcat-ifunc.c: New file.
22395 * benchtests/bench-strcat.c: New file.
22396 * benchtests/bench-strchr-ifunc.c: New file.
22397 * benchtests/bench-strchr.c: New file.
22398 * benchtests/bench-strchrnul-ifunc.c: New file.
22399 * benchtests/bench-strchrnul.c: New file.
22400 * benchtests/bench-strcmp-ifunc.c: New file.
22401 * benchtests/bench-strcmp.c: New file.
22402 * benchtests/bench-strcpy-ifunc.c: New file.
22403 * benchtests/bench-strcpy.c: New file.
22404 * benchtests/bench-strcspn-ifunc.c: New file.
22405 * benchtests/bench-strcspn.c: New file.
22406 * benchtests/bench-strlen-ifunc.c: New file.
22407 * benchtests/bench-strlen.c: New file.
22408 * benchtests/bench-strncasecmp-ifunc.c: New file.
22409 * benchtests/bench-strncasecmp.c: New file.
22410 * benchtests/bench-strncat-ifunc.c: New file.
22411 * benchtests/bench-strncat.c: New file.
22412 * benchtests/bench-strncmp-ifunc.c: New file.
22413 * benchtests/bench-strncmp.c: New file.
22414 * benchtests/bench-strncpy-ifunc.c: New file.
22415 * benchtests/bench-strncpy.c: New file.
22416 * benchtests/bench-strnlen-ifunc.c: New file.
22417 * benchtests/bench-strnlen.c: New file.
22418 * benchtests/bench-strpbrk-ifunc.c: New file.
22419 * benchtests/bench-strpbrk.c: New file.
22420 * benchtests/bench-strrchr-ifunc.c: New file.
22421 * benchtests/bench-strrchr.c: New file.
22422 * benchtests/bench-strspn-ifunc.c: New file.
22423 * benchtests/bench-strspn.c: New file.
22424 * benchtests/bench-strstr-ifunc.c: New file.
22425 * benchtests/bench-strstr.c: New file.
22426
22427 * benchtests/Makefile: Disable parallel execution of targets.
22428 (string-bench): Add memcpy.
22429 (benchset): New variable to store a list of benchmark sets.
22430 (bench-func): Renamed from bench.
22431 (bench-set): New target.
22432 (bench): Depend on bench-func and bench-set.
22433 * benchtests/README: Add section on benchmark sets.
22434 * benchtests/bench-memcpy-ifunc.c: New file.
22435 * benchtests/bench-memcpy.c: New file.
22436 * benchtests/bench-string.h: New file.
22437
22438 2013-06-11 Andreas Schwab <schwab@suse.de>
22439
22440 [BZ #15577]
22441 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22442 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22443 values in the triple.
22444 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22445 terminator in the group key.
22446
22447 2013-06-11 Andreas Jaeger <aj@suse.de>
22448
22449 * po/zh_TW.po: Update Chinese (traditional) translation from
22450 translation project.
22451
22452 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22453
22454 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22455 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22456 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22457 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22458 (clock_getcpuclockid): Likewise.
22459 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22460 Add weak_alias and libc_hidden_def.
22461 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22462 * rt/clock_gettime.c (clock_gettime): Rename to
22463 __clock_gettime. Add weak_alias and libc_hidden_def.
22464 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22465 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22466 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22467 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22468 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22469 Likewise.
22470 * rt/clock_settime.c (clock_settime): Rename to
22471 __clock_settime. Add weak_alias and libc_hidden_def.
22472 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22473
22474 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22475
22476 * mach/err_boot.sub: Remove trailing whitespace.
22477 * mach/err_ipc.sub: Likewise.
22478 * mach/err_mach.sub: Likewise.
22479
22480 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22481 (ROUNDING_TESTS_double): Likewise.
22482 (ROUNDING_TESTS_long_double): Likewise.
22483 (ROUNDING_TESTS): Likewise.
22484 * math/libm-test.inc: Include <math-tests.h>.
22485 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22486 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22487 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22488 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22489
22490 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22491
22492 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22493 of assigning.
22494
22495 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22496
22497 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22498 otherwise empty TRANS lines.
22499 * sysdeps/gnu/errlist.c: Regenerated.
22500
22501 * catgets/gencat.c (error_print): Use (void) in function
22502 definition.
22503 * crypt/crypt_util.c (__init_des): Likewise.
22504 * crypt/speeds.c (Stop): Likewise.
22505 (main): Likewise.
22506 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22507 * inet/ruserpass.c (token): Likewise.
22508 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22509 * intl/localealias.c (extend_alias_table): Likewise.
22510 * intl/plural-exp.c (init_germanic_plural): Likewise.
22511 * libio/fcloseall.c (__fcloseall): Likewise.
22512 * libio/genops.c (_IO_flush_all): Likewise.
22513 (_IO_flush_all_linebuffered): Likewise.
22514 (_IO_cleanup): Likewise.
22515 (_IO_iter_begin): Likewise.
22516 (_IO_iter_end): Likewise.
22517 (_IO_list_lock): Likewise.
22518 (_IO_list_unlock): Likewise.
22519 (_IO_list_resetlock): Likewise.
22520 * libio/getchar.c (getchar): Likewise.
22521 * libio/getchar_u.c (getchar_unlocked): Likewise.
22522 * libio/getwchar.c (getwchar): Likewise.
22523 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22524 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22525 * login/getpt.c (__getpt): Likewise.
22526 * login/tst-utmp.c (main): Likewise.
22527 * malloc/hooks.c (__malloc_check_init): Likewise.
22528 * malloc/malloc.c (__malloc_stats): Likewise.
22529 * malloc/mtrace.c (tr_break): Likewise.
22530 (mtrace): Likewise.
22531 (muntrace): Likewise.
22532 * misc/fstab.c (endfsent): Likewise.
22533 * misc/getclktck.c (__getclktck): Likewise.
22534 * misc/getdtsz.c (__getdtablesize): Likewise.
22535 * misc/gethostid.c (gethostid): Likewise.
22536 * misc/getpagesize.c (__getpagesize): Likewise.
22537 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22538 (__get_nprocs): Likewise.
22539 (__get_phys_pages): Likewise.
22540 (__get_avphys_pages): Likewise.
22541 * misc/getttyent.c (getttyent): Likewise.
22542 (setttyent): Likewise.
22543 (endttyent): Likewise.
22544 * misc/getusershell.c (getusershell): Likewise.
22545 (endusershell): Likewise.
22546 (setusershell): Likewise.
22547 (initshells): Likewise.
22548 * misc/hsearch.c (__hdestroy): Likewise.
22549 * misc/sync.c (sync): Likewise.
22550 * misc/syslog.c (closelog_internal): Likewise.
22551 (closelog): Likewise.
22552 * misc/ttyslot.c (ttyslot): Likewise.
22553 * misc/vhangup.c (vhangup): Likewise.
22554 * posix/fork.c (__fork): Likewise.
22555 * posix/getegid.c (__getegid): Likewise.
22556 * posix/geteuid.c (__geteuid): Likewise.
22557 * posix/getgid.c (__getgid): Likewise.
22558 * posix/getpid.c (__getpid): Likewise.
22559 * posix/getppid.c (__getppid): Likewise.
22560 * posix/getuid.c (__getuid): Likewise.
22561 * posix/pause.c (pause): Likewise.
22562 * posix/setpgrp.c (setpgrp): Likewise.
22563 * posix/setsid.c (__setsid): Likewise.
22564 * posix/test-vfork.c (noop): Likewise.
22565 * resolv/gethnamaddr.c (_endhtent): Likewise.
22566 (_gethtent): Likewise.
22567 (ht_endhostent): Likewise.
22568 (gethostent): Likewise.
22569 (dns_service): Likewise.
22570 * stdlib/drand48.c (drand48): Likewise.
22571 * stdlib/lrand48.c (lrand48): Likewise.
22572 * stdlib/mrand48.c (mrand48): Likewise.
22573 * stdlib/rand.c (rand): Likewise.
22574 * stdlib/random.c (__random): Likewise.
22575 * stdlib/setenv.c (clearenv): Likewise.
22576 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22577 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22578 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22579 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22580 (__get_nprocs): Likewise.
22581 (__get_phys_pages): Likewise.
22582 (__get_avphys_pages): Likewise.
22583 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22584 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22585 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22586 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22587 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22588 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22589 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22590 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22591 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22592 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22593 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22594 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22595 * sysdeps/posix/clock.c (clock): Likewise.
22596 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22597 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22598 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22599 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22600 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22602 (__get_nprocs_conf): Likewise.
22603 (__get_phys_pages): Likewise.
22604 (__get_avphys_pages): Likewise.
22605 * time/clock.c (clock): Likewise.
22606 * time/tzset.c (__tzname_max): Likewise.
22607
22608 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22609
22610 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22611 (__bswap_32): Do not use "register".
22612 * crypt/crypt.c (_ufc_doit_r): Likewise.
22613 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22614 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22615 * gmon/gmon.c (__monstartup): Likewise.
22616 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22617 * hurd/hurdmalloc.c (more_memory): Likewise.
22618 (malloc): Likewise.
22619 (free): Likewise.
22620 (realloc): Likewise.
22621 (malloc_fork_prepare): Likewise.
22622 (malloc_fork_parent): Likewise.
22623 (malloc_fork_child): Likewise.
22624 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22625 (_svcauth_des): Likewise.
22626 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22627 * inet/inet_net.c (inet_network): Likewise.
22628 * inet/inet_netof.c (inet_netof): Likewise.
22629 * inet/rcmd.c (__validuser2_sa): Likewise.
22630 * io/fts.c (fts_open): Likewise.
22631 (fts_load): Likewise.
22632 (fts_close): Likewise.
22633 (fts_read): Likewise.
22634 (fts_children): Likewise.
22635 (fts_build): Likewise.
22636 (fts_stat): Likewise.
22637 (fts_sort): Likewise.
22638 (fts_alloc): Likewise.
22639 (fts_lfree): Likewise.
22640 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22641 (_IO_file_xsgetn): Likewise.
22642 (_IO_file_xsgetn_mmap): Likewise.
22643 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22644 (_IO_cookie_write): Likewise.
22645 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22646 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22647 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22648 * malloc/obstack.c (_obstack_begin): Likewise.
22649 (_obstack_begin_1): Likewise.
22650 (_obstack_newchunk): Likewise.
22651 (_obstack_allocated_p): Likewise.
22652 (obstack_free): Likewise.
22653 (_obstack_memory_used): Likewise.
22654 * misc/getttyent.c (getttynam): Likewise.
22655 (getttyent): Likewise.
22656 (skip): Likewise.
22657 (value): Likewise.
22658 * misc/getusershell.c (initshells): Likewise.
22659 * misc/syslog.c (__vsyslog_chk): Likewise.
22660 * misc/ttyslot.c (ttyslot): Likewise.
22661 * nis/nis_hash.c (__nis_hash): Likewise.
22662 * posix/fnmatch_loop.c (FCT): Likewise.
22663 * posix/getconf.c (print_all): Likewise.
22664 (main): Likewise.
22665 * posix/getopt.c (exchange): Likewise.
22666 * posix/glob.c (globfree): Likewise.
22667 (prefix_array): Likewise.
22668 (__glob_pattern_type): Likewise.
22669 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22670 (NS_GET32): Likewise.
22671 (NS_PUT16): Likewise.
22672 (NS_PUT32): Likewise.
22673 * resolv/gethnamaddr.c (getanswer): Likewise.
22674 (gethostbyname2): Likewise.
22675 (gethostbyaddr): Likewise.
22676 (_gethtent): Likewise.
22677 (_gethtbyname2): Likewise.
22678 (_gethtbyaddr): Likewise.
22679 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22680 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22681 * resolv/res_init.c (__res_vinit): Likewise.
22682 (net_mask): Likewise.
22683 * resolv/res_mkquery.c (outchar): Likewise.
22684 (PRINT): Likewise.
22685 * stdio-common/printf_fp.c (outchar): Likewise.
22686 (PRINT): Likewise.
22687 * stdio-common/printf_fphex.c (outchar): Likewise.
22688 (PRINT): Likewise.
22689 * stdio-common/printf_size.c (outchar): Likewise.
22690 (PRINT): Likewise.
22691 * stdio-common/test_rdwr.c (main): Likewise.
22692 * stdio-common/tfformat.c (matches): Likewise.
22693 * stdio-common/vfprintf.c (outchar): Likewise.
22694 (printf_unknown): Likewise.
22695 (buffered_vfprintf): Likewise.
22696 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22697 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22698 (ReadFile): Likewise.
22699 * stdlib/qsort.c (SWAP): Likewise.
22700 (_quicksort): Likewise.
22701 * stdlib/setenv.c (__add_to_environ): Likewise.
22702 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22703 * stdlib/strtol_l.c (__strtol_l): Likewise.
22704 * stdlib/tst-strtod.c (main): Likewise.
22705 * stdlib/tst-strtol.c (main): Likewise.
22706 * stdlib/tst-strtoll.c (main): Likewise.
22707 * string/bits/string2.h (__strcmp_cc): Likewise.
22708 (__strcmp_cg): Likewise.
22709 (__strcspn_c1): Likewise.
22710 (__strcspn_c2): Likewise.
22711 (__strcspn_c3): Likewise.
22712 (__strspn_c1): Likewise.
22713 (__strspn_c2): Likewise.
22714 (__strspn_c3): Likewise.
22715 (__strsep_1c): Likewise.
22716 (__strsep_2c): Likewise.
22717 (__strsep_3c): Likewise.
22718 * string/memccpy.c (__memccpy): Likewise.
22719 * string/stpcpy.c (__stpcpy): Likewise.
22720 * string/strcmp.c (strcmp): Likewise.
22721 * string/strrchr.c (strrchr): Likewise.
22722 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22723 Likewise.
22724 * sysdeps/mach/hurd/getcwd.c
22725 (_hurd_canonicalize_directory_name_internal): Likewise.
22726 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22727 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22728 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22729 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22730 Likewise, in both definitions.
22731 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22732 definitions.
22733 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22734 64] (__bswap_64): Likewise.
22735 * time/test_time.c (main): Likewise.
22736 * time/tzfile.c (__tzfile_read): Likewise.
22737 (__tzfile_compute): Likewise.
22738 * time/tzset.c (__tzset_parse_tz): Likewise.
22739 (tzset_internal): Likewise.
22740 (compute_change): Likewise.
22741 * wcsmbs/wcscat.c (__wcscat): Likewise.
22742 * wcsmbs/wcschr.c (wcschr): Likewise.
22743 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22744 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22745 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22746 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22747 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22748 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22749 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22750 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22751 * wcsmbs/wmemset.c (wmemset): Likewise.
22752
22753 2013-06-06 Joseph Myers <joseph@codesourcery.com>
22754
22755 * scripts/config.guess: Update to version 2013-05-16.
22756 * scripts/config.sub: Update to version 2013-04-24.
22757 * scripts/install-sh: Update to version 2011-11-20.07.
22758 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22759 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22760
22761 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
22762
22763 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22764 * elf/sln.c: Likewise.
22765 * hurd/hurd/ioctl.h: Likewise.
22766 * hurd/hurdmalloc.c: Likewise.
22767 * hurd/xattr.c: Likewise.
22768 * include/shlib-compat.h: Likewise.
22769 * inet/ruserpass.c: Likewise.
22770 * libio/iofgets_u.c: Likewise.
22771 * libio/iofgetws_u.c: Likewise.
22772 * locale/programs/ld-identification.c: Likewise.
22773 * locale/programs/ld-time.c: Likewise.
22774 * mach/msg-destroy.c: Likewise.
22775 * nss/nss_files/files-netgrp.c: Likewise.
22776 * resolv/res_data.c: Likewise.
22777 * soft-fp/op-1.h: Likewise.
22778 * soft-fp/op-2.h: Likewise.
22779 * soft-fp/op-4.h: Likewise.
22780 * soft-fp/op-common.h: Likewise.
22781 * stdio-common/printf_fphex.c: Likewise.
22782 * stdlib/strtod_l.c: Likewise.
22783 * sunrpc/rpc/clnt.h: Likewise.
22784 * sysdeps/generic/framestate.c: Likewise.
22785 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22786 * sysdeps/i386/bsd-setjmp.S: Likewise.
22787 * sysdeps/i386/__longjmp.S: Likewise.
22788 * sysdeps/i386/setjmp.S: Likewise.
22789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22790 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22791 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22807 * sysdeps/ieee754/support.c: Likewise.
22808 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22809 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22810 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22811 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22812 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22813 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22814 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22815 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22816 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22817 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22818 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22819 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22820 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22821 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22822 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22823 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22824 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22826
22827 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
22828
22829 * posix/transbug.c: Remove executable mode.
22830
22831 2013-06-05 Joseph Myers <joseph@codesourcery.com>
22832
22833 * crypt/speeds.c: Remove trailing whitespace.
22834 * dlfcn/default.c: Likewise.
22835 * elf/ifuncdep2.c: Likewise.
22836 * elf/ifuncmain1.c: Likewise.
22837 * elf/ifuncmain1vis.c: Likewise.
22838 * elf/testobj.h: Likewise.
22839 * elf/tst-stackguard1.c: Likewise.
22840 * gmon/sys/gmon.h: Likewise.
22841 * hurd/hurdmsg.c: Likewise.
22842 * hurd/new-fd.c: Likewise.
22843 * hurd/ports-get.c: Likewise.
22844 * iconvdata/ibm1008_420.c: Likewise.
22845 * inet/tst-getni1.c: Likewise.
22846 * inet/tst-getni2.c: Likewise.
22847 * libio/ioungetc.c: Likewise.
22848 * libio/wfiledoalloc.c: Likewise.
22849 * manual/libm-err-tab.pl: Likewise.
22850 * math/w_dremf.c: Likewise.
22851 * misc/ftruncate.c: Likewise.
22852 * posix/bug-glob2.c: Likewise.
22853 * posix/tst-pcre.c: Likewise.
22854 * posix/wait4.c: Likewise.
22855 * resolv/README: Likewise.
22856 * resolv/res_debug.h: Likewise.
22857 * resolv/tst-inet_ntop.c: Likewise.
22858 * setjmp/bug269-setjmp.c: Likewise.
22859 * soft-fp/extended.h: Likewise.
22860 * soft-fp/op-1.h: Likewise.
22861 * soft-fp/op-2.h: Likewise.
22862 * soft-fp/op-4.h: Likewise.
22863 * soft-fp/op-8.h: Likewise.
22864 * soft-fp/testit.c: Likewise.
22865 * stdio-common/bug16.c: Likewise.
22866 * stdlib/random.c: Likewise.
22867 * sunrpc/rpcsvc/rquota.x: Likewise.
22868 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22869 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22870 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22871 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22872 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22873 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22874 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22875 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22876 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22877 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22878 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22897 * sysdeps/ieee754/s_lib_version.c: Likewise.
22898 * sysdeps/mach/hurd/check_fds.c: Likewise.
22899 * sysdeps/mach/hurd/getsockname.c: Likewise.
22900 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22901 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22902 * sysdeps/powerpc/bits/link.h: Likewise.
22903 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22904 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22905 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22906 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22907 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22908 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22909 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22910 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22911 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22912 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22913 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22914 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22915 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22916 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22917 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22918 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22919 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22920 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22921 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22922 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22923 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22924 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22926 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22927 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22928 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22929 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22930 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22931 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22932 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22933 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22934 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22936 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22937 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22938 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22939 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22940 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22941 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22942 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22943 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22944 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22945 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22946 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22947 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22948 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22949 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22950 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22951 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22952 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22955 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22956 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22957 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22958 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22959 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22960 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22961 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22962 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22963 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22964 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22965 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22966 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22967 * sysdeps/powerpc/sysdep.h: Likewise.
22968 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22969 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22970 * sysdeps/sh/dl-trampoline.S: Likewise.
22971 * sysdeps/sh/memset.S: Likewise.
22972 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22973 * sysdeps/sh/strlen.S: Likewise.
22974 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22975 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22976 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22977 * sysdeps/sparc/sparc32/rem.S: Likewise.
22978 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22979 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22980 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22981 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22982 * sysdeps/sparc/sparc32/urem.S: Likewise.
22983 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22984 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22985 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22986 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22987 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22988 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22989 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22990 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22991 * sysdeps/unix/bsd/times.c: Likewise.
22992 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22993 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22997 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22998 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22999 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23000 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23001 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23002 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23003 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23004 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23005 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23006 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23007 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23008 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23009 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23010 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23011 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23012 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23013 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23014 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23015 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23016 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23017 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23018 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23019 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23020 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23021 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23022 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23023 * sysdeps/x86_64/strcspn.S: Likewise.
23024
23025 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23026
23027 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23028 generated file. Regenerate properly from gen-translit.pl.
23029 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23030 locale/C-translit.h.
23031
23032 2013-06-05 Andreas Schwab <schwab@suse.de>
23033
23034 [BZ #15100]
23035 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23036 week as 6 instead of -1.
23037 * time/tst-strptime.c (day_tests): Add test case.
23038
23039 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23040
23041 * sysdeps/generic/math_private.h
23042 (libc_feholdexcept_setround_53bit): Replace with
23043 libc_feholdsetround_53bit.
23044 (libc_feupdateenv_53bit): Replace with
23045 libc_feresetround_53bit.
23046 (SET_RESTORE_ROUND_53BIT): Adjust.
23047
23048 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23049
23050 * string/test-strchrnul.c: Add copyright header.
23051
23052 * posix/tst-getaddrinfo4.c: Increase test timeout.
23053
23054 2013-06-03 Carlos O'Donell <carlos@redhat.com>
23055
23056 [BZ #15536]
23057 * math/libm-test.inc (MAX_EXP): Remove
23058 (MIN_EXP): Define.
23059 (ulp): Use MIN_EXP - MANT_DIG.
23060 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23061
23062 2013-05-31 Carlos O'Donell <carlos@redhat.com>
23063
23064 * po/be.po: Revert last change.
23065 * po/zh_CN.po: Likewise.
23066 * po/header.pot: Likewise.
23067
23068 2013-05-31 Joseph Myers <joseph@codesourcery.com>
23069
23070 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23071 link-libc-deps to empty as target-specific variable.
23072 * Makerules (link-libc-args): New variable.
23073 (libc-for-link): Likewise.
23074 (link-libc-deps): Likewise.
23075 (lib%.so): Depend on $(link-libc-deps). Link with
23076 $(link-libc-args).
23077 (build-module): Link with $(link-libc-args).
23078 (build-module-asneeded): Likewise.
23079 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23080 list of objects.
23081 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23082 target-specific variable.
23083 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23084 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23085 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23086 libc.
23087 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23088 libc and ld.so.
23089 ($(objpfx)libpcprofile.so): Likewise.
23090 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23091 libc_nonshared.a.
23092 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23093 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23094 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23095 $(link-libc-deps).
23096 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23097 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23098 * login/Makefile ($(objpfx)libutil.so): Likewise.
23099 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23100 * math/Makefile ($(objpfx)libm.so): Likewise.
23101 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23102 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23103 variable instead of depending directly on libc.
23104 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23105 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23106 $(link-libc-deps).
23107 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23108 libc.
23109 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23110 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23111 ($(objpfx)libanl.so): Likewise.
23112 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23113 ld.so.
23114 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23115 $(link-libc-deps).
23116 * sysdeps/i386/fpu/Makefile: Remove file.
23117 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23118 ($(objpfx)libm.so): Remove dependency on ld.so.
23119
23120 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
23121
23122 [BZ # 15553]
23123 * nis/yp_xdr.c (XDRMAXNAME): Define.
23124 (XDRMAXRECORD): Define.
23125 (xdr_domainname): Use XDRMAXNAME.
23126 (xdr_mapname): Likewise.
23127 (xdr_peername): Likewise.
23128 (xdr_keydat): Use XDRMAXRECORD.
23129 (xdr_valdat): Likewise.
23130
23131 2013-05-30 Jeff Law <law@redhat.com>
23132
23133 [BZ #14256]
23134 * manual/errno.texi (ESTALE): Update to account for more than
23135 just NFS file systems.
23136 * sysdeps/gnu/errlist.c: Regenerated.
23137
23138 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23139
23140 [BZ #15465]
23141 * elf/Makefile (tests): Add tst-null-argv.
23142 (modules-names): Add tst-null-argv-lib.
23143 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23144 (tst-null-argv-ENV): Set environment for tst-null-argv.
23145 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23146 (RTLD_PROGNAME): New macro.
23147 * elf/tst-null-argv.c: New test case.
23148 * elf/tst-null-argv-lib.c: Library for test case.
23149 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23150 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23151 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23152 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23153 * elf/dl-init.c (call_init): Likewise.
23154 (_dl_init): Likewise.
23155 * elf/dl-load.c (print_search_path): Likewise.
23156 (_dl_map_object): Likewise.
23157 * elf/dl-lookup.c (do_lookup_x): Likewise.
23158 (add_dependency): Likewise.
23159 (_dl_lookup_symbol_x): Likewise.
23160 (_dl_debug_bindings): Likewise.
23161 * elf/dl-open.c (_dl_show_scope): Likewise.
23162 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23163 * elf/dl-version.c (match_symbol): Likewise.
23164 (_dl_check_map_versions): Likewise.
23165 * elf/rtld.c (dl_main): Likewise.
23166 (print_unresolved): Use RTLD_PROGNAME.
23167 (print_missing_version): Likewise.
23168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23169 (elf_machine_rela): Likewise.
23170 * sysdeps/powerpc/powerpc32/dl-machine.c
23171 (__process_machine_rela): Likewise.
23172 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23173 Likewise.
23174 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23175 Likewise.
23176 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23177 Likewise.
23178 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23179 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23180 Likewise.
23181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23182 Likewise.
23183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23184
23185 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23186
23187 * po/be.po: Add descriptive title.
23188 * po/zh_CN.po: Likewise.
23189 * po/header.pot: Likewise.
23190
23191 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23192
23193 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23194 error message.
23195 (enlarge_archive): Likewise.
23196
23197 2013-05-28 Ben North <ben@redfrontdoor.org>
23198
23199 * manual/arith.texi (frexp): It is the magnitude of the return
23200 value which lies in [0.5, 1), not the return value itself.
23201
23202 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23203
23204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23205
23206 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23207
23208 * stdio-common/bug26.c (main): Correct fscanf template.
23209
23210 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23211 declare _dl_skip_args.
23212
23213 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23214 Don't declare.
23215
23216 * manual/platform.texi: Add missing @end deftypefun.
23217
23218 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23219
23220 [BZ #15529]
23221 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23222 bit of mantissa of 2^16382.
23223 * math/libm-test.inc (hypot_test_data): Add more tests.
23224
23225 * math/libm-test.inc: Add drem and pow10 to list of tested
23226 functions.
23227 (pow10_test): New function.
23228 (drem_test): Likewise.
23229 (drem_test_tonearest): Likewise.
23230 (drem_test_towardzero): Likewise.
23231 (drem_test_downward): Likewise.
23232 (drem_test_upward): Likewise.
23233 (main): Call the new functions.
23234
23235 * math/libm-test.inc (finite_test_data): Remove.
23236 (finite_test): Run tests from isfinite_test_data.
23237 (gamma_test_data): Remove.
23238 (gamma_test): Run tests from lgamma_test_data.
23239 * sysdeps/i386/fpu/libm-test-ulps: Update.
23240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23241
23242 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23243
23244 * manual/platform.texi: Add PowerPC PPR function set documentation.
23245 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23246 implementation.
23247
23248 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23249
23250 * math/libm-test.inc (MAX_EXP): Define.
23251 (ULPDIFF): Define.
23252 (ulp): New function.
23253 (check_float_internal): Use ULPDIFF.
23254 (cpow_test): Disable failing test.
23255 (check_ulp): Test ulp() implemetnation.
23256 (main): Call check_ulp before starting tests.
23257
23258 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23259
23260 * math/gen-libm-test.pl (generate_testfile): Do not handle
23261 START_DATA and END_DATA.
23262 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23263 END_DATA.
23264 (acos_tonearest_test_data): Likewise.
23265 (acos_towardzero_test_data): Likewise.
23266 (acos_downward_test_data): Likewise.
23267 (acos_upward_test_data): Likewise.
23268 (acosh_test_data): Likewise.
23269 (asin_test_data): Likewise.
23270 (asin_tonearest_test_data): Likewise.
23271 (asin_towardzero_test_data): Likewise.
23272 (asin_downward_test_data): Likewise.
23273 (asin_upward_test_data): Likewise.
23274 (asinh_test_data): Likewise.
23275 (atan_test_data): Likewise.
23276 (atanh_test_data): Likewise.
23277 (atan2_test_data): Likewise.
23278 (cabs_test_data): Likewise.
23279 (cacos_test_data): Likewise.
23280 (cacosh_test_data): Likewise.
23281 (carg_test_data): Likewise.
23282 (casin_test_data): Likewise.
23283 (casinh_test_data): Likewise.
23284 (catan_test_data): Likewise.
23285 (catanh_test_data): Likewise.
23286 (cbrt_test_data): Likewise.
23287 (ccos_test_data): Likewise.
23288 (ccosh_test_data): Likewise.
23289 (ceil_test_data): Likewise.
23290 (cexp_test_data): Likewise.
23291 (cimag_test_data): Likewise.
23292 (clog_test_data): Likewise.
23293 (clog10_test_data): Likewise.
23294 (conj_test_data): Likewise.
23295 (copysign_test_data): Likewise.
23296 (cos_test_data): Likewise.
23297 (cos_tonearest_test_data): Likewise.
23298 (cos_towardzero_test_data): Likewise.
23299 (cos_downward_test_data): Likewise.
23300 (cos_upward_test_data): Likewise.
23301 (cosh_test_data): Likewise.
23302 (cosh_tonearest_test_data): Likewise.
23303 (cosh_towardzero_test_data): Likewise.
23304 (cosh_downward_test_data): Likewise.
23305 (cosh_upward_test_data): Likewise.
23306 (cpow_test_data): Likewise.
23307 (cproj_test_data): Likewise.
23308 (creal_test_data): Likewise.
23309 (csin_test_data): Likewise.
23310 (csinh_test_data): Likewise.
23311 (csqrt_test_data): Likewise.
23312 (ctan_test_data): Likewise.
23313 (ctan_tonearest_test_data): Likewise.
23314 (ctan_towardzero_test_data): Likewise.
23315 (ctan_downward_test_data): Likewise.
23316 (ctan_upward_test_data): Likewise.
23317 (ctanh_test_data): Likewise.
23318 (ctanh_tonearest_test_data): Likewise.
23319 (ctanh_towardzero_test_data): Likewise.
23320 (ctanh_downward_test_data): Likewise.
23321 (ctanh_upward_test_data): Likewise.
23322 (erf_test_data): Likewise.
23323 (erfc_test_data): Likewise.
23324 (exp_test_data): Likewise.
23325 (exp_tonearest_test_data): Likewise.
23326 (exp_towardzero_test_data): Likewise.
23327 (exp_downward_test_data): Likewise.
23328 (exp_upward_test_data): Likewise.
23329 (exp10_test_data): Likewise.
23330 (exp2_test_data): Likewise.
23331 (expm1_test_data): Likewise.
23332 (fabs_test_data): Likewise.
23333 (fdim_test_data): Likewise.
23334 (finite_test_data): Likewise.
23335 (floor_test_data): Likewise.
23336 (fma_test_data): Likewise.
23337 (fma_towardzero_test_data): Likewise.
23338 (fma_downward_test_data): Likewise.
23339 (fma_upward_test_data): Likewise.
23340 (fmax_test_data): Likewise.
23341 (fmin_test_data): Likewise.
23342 (fmod_test_data): Likewise.
23343 (fpclassify_test_data): Likewise.
23344 (frexp_test_data): Likewise.
23345 (gamma_test_data): Likewise.
23346 (hypot_test_data): Likewise.
23347 (ilogb_test_data): Likewise.
23348 (isfinite_test_data): Likewise.
23349 (isgreater_test_data): Likewise.
23350 (isgreaterequal_test_data): Likewise.
23351 (isinf_test_data): Likewise.
23352 (isless_test_data): Likewise.
23353 (islessequal_test_data): Likewise.
23354 (islessgreater_test_data): Likewise.
23355 (isnan_test_data): Likewise.
23356 (isnormal_test_data): Likewise.
23357 (issignaling_test_data): Likewise.
23358 (isunordered_test_data): Likewise.
23359 (j0_test_data): Likewise.
23360 (j1_test_data): Likewise.
23361 (jn_test_data): Likewise.
23362 (ldexp_test_data): Likewise.
23363 (lgamma_test_data): Likewise.
23364 (lrint_test_data): Likewise.
23365 (lrint_tonearest_test_data): Likewise.
23366 (lrint_towardzero_test_data): Likewise.
23367 (lrint_downward_test_data): Likewise.
23368 (lrint_upward_test_data): Likewise.
23369 (llrint_test_data): Likewise.
23370 (llrint_tonearest_test_data): Likewise.
23371 (llrint_towardzero_test_data): Likewise.
23372 (llrint_downward_test_data): Likewise.
23373 (llrint_upward_test_data): Likewise.
23374 (log_test_data): Likewise.
23375 (log10_test_data): Likewise.
23376 (log1p_test_data): Likewise.
23377 (log2_test_data): Likewise.
23378 (logb_test_data): Likewise.
23379 (logb_downward_test_data): Likewise.
23380 (lround_test_data): Likewise.
23381 (llround_test_data): Likewise.
23382 (modf_test_data): Likewise.
23383 (nearbyint_test_data): Likewise.
23384 (nextafter_test_data): Likewise.
23385 (nexttoward_test_data): Likewise.
23386 (pow_test_data): Likewise.
23387 (pow_tonearest_test_data): Likewise.
23388 (pow_towardzero_test_data): Likewise.
23389 (pow_downward_test_data): Likewise.
23390 (pow_upward_test_data): Likewise.
23391 (remainder_test_data): Likewise.
23392 (remainder_tonearest_test_data): Likewise.
23393 (remainder_towardzero_test_data): Likewise.
23394 (remainder_downward_test_data): Likewise.
23395 (remainder_upward_test_data): Likewise.
23396 (remquo_test_data): Likewise.
23397 (rint_test_data): Likewise.
23398 (rint_tonearest_test_data): Likewise.
23399 (rint_towardzero_test_data): Likewise.
23400 (rint_downward_test_data): Likewise.
23401 (rint_upward_test_data): Likewise.
23402 (round_test_data): Likewise.
23403 (scalb_test_data): Likewise.
23404 (scalbn_test_data): Likewise.
23405 (scalbln_test_data): Likewise.
23406 (signbit_test_data): Likewise.
23407 (sin_test_data): Likewise.
23408 (sin_tonearest_test_data): Likewise.
23409 (sin_towardzero_test_data): Likewise.
23410 (sin_downward_test_data): Likewise.
23411 (sin_upward_test_data): Likewise.
23412 (sincos_test_data): Likewise.
23413 (sinh_test_data): Likewise.
23414 (sinh_tonearest_test_data): Likewise.
23415 (sinh_towardzero_test_data): Likewise.
23416 (sinh_downward_test_data): Likewise.
23417 (sinh_upward_test_data): Likewise.
23418 (sqrt_test_data): Likewise.
23419 (tan_test_data): Likewise.
23420 (tan_tonearest_test_data): Likewise.
23421 (tan_towardzero_test_data): Likewise.
23422 (tan_downward_test_data): Likewise.
23423 (tan_upward_test_data): Likewise.
23424 (tanh_test_data): Likewise.
23425 (tgamma_test_data): Likewise.
23426 (trunc_test_data): Likewise.
23427 (y0_test_data): Likewise.
23428 (y1_test_data): Likewise.
23429 (yn_test_data): Likewise.
23430 (significand_test_data): Likewise.
23431
23432 * math/gen-libm-test.pl (@functions): Remove variable.
23433 (generate_testfile): Don't handle START and END lines.
23434 * math/libm-test.inc (START): New macro.
23435 (END): Likewise.
23436 (END_COMPLEX): Likewise.
23437 (acos_test): Use END macro without arguments.
23438 (acos_test_tonearest): Likewise.
23439 (acos_test_towardzero): Likewise.
23440 (acos_test_downward): Likewise.
23441 (acos_test_upward): Likewise.
23442 (acosh_test): Likewise.
23443 (asin_test): Likewise.
23444 (asin_test_tonearest): Likewise.
23445 (asin_test_towardzero): Likewise.
23446 (asin_test_downward): Likewise.
23447 (asin_test_upward): Likewise.
23448 (asinh_test): Likewise.
23449 (atan_test): Likewise.
23450 (atanh_test): Likewise.
23451 (atan2_test): Likewise.
23452 (cabs_test): Likewise.
23453 (cacos_test): Use END_COMPLEX macro without arguments.
23454 (cacosh_test): Likewise.
23455 (carg_test): Use END macro without arguments.
23456 (casin_test): Use END_COMPLEX macro without arguments.
23457 (casinh_test): Likewise.
23458 (catan_test): Likewise.
23459 (catanh_test): Likewise.
23460 (cbrt_test): Use END macro without arguments.
23461 (ccos_test): Use END_COMPLEX macro without arguments.
23462 (ccosh_test): Likewise.
23463 (ceil_test): Use END macro without arguments.
23464 (cexp_test): Use END_COMPLEX macro without arguments.
23465 (cimag_test): Use END macro without arguments.
23466 (clog_test): Use END_COMPLEX macro without arguments.
23467 (clog10_test): Likewise.
23468 (conj_test): Likewise.
23469 (copysign_test): Use END macro without arguments.
23470 (cos_test): Likewise.
23471 (cos_test_tonearest): Likewise.
23472 (cos_test_towardzero): Likewise.
23473 (cos_test_downward): Likewise.
23474 (cos_test_upward): Likewise.
23475 (cosh_test): Likewise.
23476 (cosh_test_tonearest): Likewise.
23477 (cosh_test_towardzero): Likewise.
23478 (cosh_test_downward): Likewise.
23479 (cosh_test_upward): Likewise.
23480 (cpow_test): Use END_COMPLEX macro without arguments.
23481 (cproj_test): Likewise.
23482 (creal_test): Use END macro without arguments.
23483 (csin_test): Use END_COMPLEX macro without arguments.
23484 (csinh_test): Likewise.
23485 (csqrt_test): Likewise.
23486 (ctan_test): Likewise.
23487 (ctan_test_tonearest): Likewise.
23488 (ctan_test_towardzero): Likewise.
23489 (ctan_test_downward): Likewise.
23490 (ctan_test_upward): Likewise.
23491 (ctanh_test): Likewise.
23492 (ctanh_test_tonearest): Likewise.
23493 (ctanh_test_towardzero): Likewise.
23494 (ctanh_test_downward): Likewise.
23495 (ctanh_test_upward): Likewise.
23496 (erf_test): Use END macro without arguments.
23497 (erfc_test): Likewise.
23498 (exp_test): Likewise.
23499 (exp_test_tonearest): Likewise.
23500 (exp_test_towardzero): Likewise.
23501 (exp_test_downward): Likewise.
23502 (exp_test_upward): Likewise.
23503 (exp10_test): Likewise.
23504 (exp2_test): Likewise.
23505 (expm1_test): Likewise.
23506 (fabs_test): Likewise.
23507 (fdim_test): Likewise.
23508 (finite_test): Likewise.
23509 (floor_test): Likewise.
23510 (fma_test): Likewise.
23511 (fma_test_towardzero): Likewise.
23512 (fma_test_downward): Likewise.
23513 (fma_test_upward): Likewise.
23514 (fmax_test): Likewise.
23515 (fmin_test): Likewise.
23516 (fmod_test): Likewise.
23517 (fpclassify_test): Likewise.
23518 (frexp_test): Likewise.
23519 (gamma_test): Likewise.
23520 (hypot_test): Likewise.
23521 (ilogb_test): Likewise.
23522 (isfinite_test): Likewise.
23523 (isgreater_test): Likewise.
23524 (isgreaterequal_test): Likewise.
23525 (isinf_test): Likewise.
23526 (isless_test): Likewise.
23527 (islessequal_test): Likewise.
23528 (islessgreater_test): Likewise.
23529 (isnan_test): Likewise.
23530 (isnormal_test): Likewise.
23531 (issignaling_test): Likewise.
23532 (isunordered_test): Likewise.
23533 (j0_test): Likewise.
23534 (j1_test): Likewise.
23535 (jn_test): Likewise.
23536 (ldexp_test): Likewise.
23537 (lgamma_test): Likewise.
23538 (lrint_test): Likewise.
23539 (lrint_test_tonearest): Likewise.
23540 (lrint_test_towardzero): Likewise.
23541 (lrint_test_downward): Likewise.
23542 (lrint_test_upward): Likewise.
23543 (llrint_test): Likewise.
23544 (llrint_test_tonearest): Likewise.
23545 (llrint_test_towardzero): Likewise.
23546 (llrint_test_downward): Likewise.
23547 (llrint_test_upward): Likewise.
23548 (log_test): Likewise.
23549 (log10_test): Likewise.
23550 (log1p_test): Likewise.
23551 (log2_test): Likewise.
23552 (logb_test): Likewise.
23553 (logb_test_downward): Likewise.
23554 (lround_test): Likewise.
23555 (llround_test): Likewise.
23556 (modf_test): Likewise.
23557 (nearbyint_test): Likewise.
23558 (nextafter_test): Likewise.
23559 (nexttoward_test): Likewise.
23560 (pow_test): Likewise.
23561 (pow_test_tonearest): Likewise.
23562 (pow_test_towardzero): Likewise.
23563 (pow_test_downward): Likewise.
23564 (pow_test_upward): Likewise.
23565 (remainder_test): Likewise.
23566 (remainder_test_tonearest): Likewise.
23567 (remainder_test_towardzero): Likewise.
23568 (remainder_test_downward): Likewise.
23569 (remainder_test_upward): Likewise.
23570 (remquo_test): Likewise.
23571 (rint_test): Likewise.
23572 (rint_test_tonearest): Likewise.
23573 (rint_test_towardzero): Likewise.
23574 (rint_test_downward): Likewise.
23575 (rint_test_upward): Likewise.
23576 (round_test): Likewise.
23577 (scalb_test): Likewise.
23578 (scalbn_test): Likewise.
23579 (scalbln_test): Likewise.
23580 (signbit_test): Likewise.
23581 (sin_test): Likewise.
23582 (sin_test_tonearest): Likewise.
23583 (sin_test_towardzero): Likewise.
23584 (sin_test_downward): Likewise.
23585 (sin_test_upward): Likewise.
23586 (sincos_test): Likewise.
23587 (sinh_test): Likewise.
23588 (sinh_test_tonearest): Likewise.
23589 (sinh_test_towardzero): Likewise.
23590 (sinh_test_downward): Likewise.
23591 (sinh_test_upward): Likewise.
23592 (sqrt_test): Likewise.
23593 (tan_test): Likewise.
23594 (tan_test_tonearest): Likewise.
23595 (tan_test_towardzero): Likewise.
23596 (tan_test_downward): Likewise.
23597 (tan_test_upward): Likewise.
23598 (tanh_test): Likewise.
23599 (tgamma_test): Likewise.
23600 (trunc_test): Likewise.
23601 (y0_test): Likewise.
23602 (y1_test): Likewise.
23603 (yn_test): Likewise.
23604 (significand_test): Likewise.
23605
23606 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23607
23608 [BZ #15381]
23609 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23610
23611 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23612
23613 [BZ #14894]
23614 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23615 __ppc_mdoio and __ppc_mdoom.
23616 * manual/platform.texi: Document new functions __ppc_yield,
23617 __ppc_mdoio and __ppc_mdoom.
23618
23619 2013-05-22 Carlos O'Donell <carlos@redhat.com>
23620
23621 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23622 (main): Mention "tls" pseudo-hwcap is legacy.
23623 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23624
23625 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23626
23627 * math/gen-libm-test.pl (parse_args): Output only string of
23628 arguments as text for test name, not full call or descriptions of
23629 tests for extra outputs.
23630 (generate_testfile): Do not pass function name to parse_args.
23631 Generate this_func variable from START.
23632 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23633 field to arg_str.
23634 (struct test_ff_f_data): Likewise.
23635 (test_ff_f_data_nexttoward): Likewise.
23636 (struct test_fi_f_data): Likewise.
23637 (struct test_fl_f_data): Likewise.
23638 (struct test_if_f_data): Likewise.
23639 (struct test_fff_f_data): Likewise.
23640 (struct test_c_f_data): Likewise.
23641 (struct test_f_f1_data): Likewise. Remove field extra_name.
23642 (struct test_fF_f1_data): Likewise.
23643 (struct test_ffI_f1_data): Likewise.
23644 (struct test_c_c_data): Rename test_name field to arg_str.
23645 (struct test_cc_c_data): Likewise.
23646 (struct test_f_i_data): Likewise.
23647 (struct test_ff_i_data): Likewise.
23648 (struct test_f_l_data): Likewise.
23649 (struct test_f_L_data): Likewise.
23650 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23651 and extra2_name.
23652 (COMMON_TEST_SETUP): New macro.
23653 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23654 (COMMON_TEST_CLEANUP): Likewise.
23655 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23656 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23657 macros.
23658 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23659 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23660 macros.
23661 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23662 (RUN_TEST_fff_f): Take argument string. Call new setup and
23663 cleanup macros.
23664 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23665 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23666 macros.
23667 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23668 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23669 macros.
23670 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23671 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23672 cleanup macros.
23673 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23674 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23675 cleanup macros.
23676 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23677 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23678 cleanup macros.
23679 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23680 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23681 macros.
23682 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23683 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23684 macros.
23685 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23686 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23687 macros.
23688 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23689 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23690 cleanup macros.
23691 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23692 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23693 cleanup macros.
23694 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23695 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23696 macros.
23697 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23698 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23699 cleanup macros.
23700 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23701 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23702 macros.
23703 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23704 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23705 macros.
23706 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23707 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23708 cleanup macros.
23709 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23710
23711 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23712
23713 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23714 to _sifields.sigfault.
23715 (si_addr_lsb): Define new macro.
23716 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23717 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23718 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23719
23720 2013-05-03 Carlos O'Donell <carlos at redhat.com>
23721
23722 [BZ #15441]
23723 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23724 returns -1.
23725 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23726 null return -1.
23727 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23728 loading the domain.
23729
23730 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23731
23732 * math/gen-libm-test.pl (parse_args): Do not include expected
23733 result in test name.
23734 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23736 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23737 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23738 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23740
23741 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23742
23743 * benchtests/Makefile: Sort function entries.
23744
23745 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23746 tanh, asinh, acosh, atanh.
23747 * benchtests/acos-inputs: New file.
23748 * benchtests/acosh-inputs: New file.
23749 * benchtests/asin-inputs: New file.
23750 * benchtests/asinh-inputs: New file.
23751 * benchtests/atanh-inputs: New file.
23752 * benchtests/cosh-inputs: New file.
23753 * benchtests/log-inputs: New file.
23754 * benchtests/sinh-inputs: New file.
23755 * benchtests/tanh-inputs: New file.
23756
23757 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23758
23759 [BZ #15339]
23760 * posix/tst-getaddrinfo4.c: New test.
23761 * posix/Makefile (tests): Add it.
23762
23763 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23764
23765 [BZ #15339]
23766 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23767 when no services were used.
23768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23769 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23770
23771 2013-05-21 Andreas Schwab <schwab@suse.de>
23772
23773 [BZ #15014]
23774 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23775 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23776 successful.
23777 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23778 redundant variable declarations and reallocation of buffer when
23779 parsing as IPv6 address. Always set NSS status when called from
23780 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23781 buffer too small. Correct computation of needed size.
23782 * nss/Makefile (tests): Add test-digits-dots.
23783 * nss/test-digits-dots.c: New test.
23784
23785 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23786
23787 * benchtests/Makefile: Remove instructions for adding
23788 benchmark tests.
23789 * benchtests/README: New file to explain how to execute and
23790 enhance the benchmark tests.
23791
23792 2013-05-21 Andreas Schwab <schwab@suse.de>
23793
23794 [BZ #15493]
23795 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23796 * setjmp/tst-sigsetjmp.c: New test.
23797
23798 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23799
23800 * sysdeps/x86_64/memset.S (memset): New implementation.
23801 (__bzero): Likewise.
23802 (__memset_tail): New function.
23803
23804 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23805
23806 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23807 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23808 __memcpy_sse2_unaligned ifunc selection.
23809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23810 Add memcpy-sse2-unaligned.S.
23811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23812 Add: __memcpy_sse2_unaligned.
23813
23814 2013-05-19 Joseph Myers <joseph@codesourcery.com>
23815
23816 [BZ #15490]
23817 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23818 math_force_eval before restoring floating-point envrionment.
23819 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23821 Likewise.
23822 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23823 <math_private.h>.
23824 (__nearbyintl): Use math_force_eval before restoring
23825 floating-point environment.
23826 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23827
23828 * math/gen-libm-test.pl (special_functions): Remove.
23829 (parse_args): Don't handle TEST_extra. Handle functions with no
23830 return value.
23831 * math/libm-test.inc (struct test_sincos_data): Replace with
23832 struct test_fFF_11_data.
23833 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23834 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23835 (sincos_test_data): Change element type to struct
23836 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23837 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23838 RUN_TEST_LOOP_sincos.
23839 * math/README.libm-test: Don't mention special handling of
23840 individual functions.
23841 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23843 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23844 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23845 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23847
23848 * math/gen-libm-test.pl (get_variable): Remove function.
23849 (parse_args): Don't show pointer parameters to call in test
23850 names. Use "extra output N" in test names for extra outputs
23851 rather than naming variables.
23852
23853 2013-05-18 Joseph Myers <joseph@codesourcery.com>
23854
23855 [BZ #15488]
23856 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23857 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23858 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23859 double tests.
23860 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23861 disable.
23862 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23863 check_long_double.
23864
23865 * math/gen-libm-test.pl (@tests): Remove variable.
23866 ($count): Likewise.
23867 (new_test): Remove function.
23868 (show_exceptions): New function.
23869 (special_functions): Use show_exceptions instead of new_test.
23870 (parse_args): Likewise.
23871 (generate_testfile): Pass only function name in generated call to
23872 print_max_error or print_complex_max_error.
23873 (get_ulps): Do not handle complex tests specially.
23874 (output_test): Rename to ...
23875 (get_all_ulps_for_test): ... this. Return a string rather than
23876 printing to a file. Require ulps to be present.
23877 (output_ulps): Generate arrays rather than #defines.
23878 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23879 (struct ulp_data): New type.
23880 (BUILD_COMPLEX_ULP): Remove macro.
23881 (compare_ulp_data): New function.
23882 (find_ulps): Likewise.
23883 (find_test_ulps): Likewise.
23884 (find_function_ulps): Likewise.
23885 (find_complex_function_ulps): Likewise.
23886 (print_max_error): Determine allowed ulps using
23887 find_function_ulps.
23888 (print_complex_max_error): Determine allowed ulps using
23889 find_complex_function_ulps.
23890 (check_float_internal): Determine max ulps using find_test_ulps.
23891 (check_float): Do not take max_ulp parameter. Update call to
23892 check_float_internal.
23893 (check_complex): Likewise.
23894 (check_int): Do not take max_ulp parameter.
23895 (check_long): Likewise.
23896 (check_bool): Likewise.
23897 (check_longlong): Likewise.
23898 (struct test_f_f_data): Remove max_ulp field.
23899 (struct test_ff_f_data): Likewise.
23900 (struct test_ff_f_data_nexttoward): Likewise.
23901 (struct test_fi_f_data): Likewise.
23902 (struct test_fl_f_data): Likewise.
23903 (struct test_if_f_data): Likewise.
23904 (struct test_fff_f_data): Likewise.
23905 (struct test_c_f_data): Likewise.
23906 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23907 (struct test_fF_f1_data): Likewise.
23908 (struct test_ffI_f1_data): Likewise.
23909 (struct test_c_c_data): Remove max_ulp field.
23910 (struct test_cc_c_data): Likewise.
23911 (struct test_f_i_data): Likewise.
23912 (struct test_ff_i_data): Likewise.
23913 (struct test_f_l_data): Likewise.
23914 (struct test_f_L_data): Likewise.
23915 (struct test_sincos_data): Likewise.
23916 (RUN_TEST_f_f): Do not handle ulps.
23917 (RUN_TEST_LOOP_f_f): Likewise.
23918 (RUN_TEST_2_f): Likewise.
23919 (RUN_TEST_LOOP_2_f): Likewise.
23920 (RUN_TEST_fff_f): Likewise.
23921 (RUN_TEST_LOOP_fff_f): Likewise.
23922 (RUN_TEST_c_f): Likewise.
23923 (RUN_TEST_LOOP_c_f): Likewise.
23924 (RUN_TEST_f_f1): Likewise.
23925 (RUN_TEST_LOOP_f_f1): Likewise.
23926 (RUN_TEST_fF_f1): Likewise.
23927 (RUN_TEST_LOOP_fF_f1): Likewise.
23928 (RUN_TEST_fI_f1): Likewise.
23929 (RUN_TEST_LOOP_fI_f1): Likewise.
23930 (RUN_TEST_ffI_f1): Likewise.
23931 (RUN_TEST_LOOP_ffI_f1): Likewise.
23932 (RUN_TEST_c_c): Likewise.
23933 (RUN_TEST_LOOP_c_c): Likewise.
23934 (RUN_TEST_cc_c): Likewise.
23935 (RUN_TEST_LOOP_cc_c): Likewise.
23936 (RUN_TEST_f_i): Likewise.
23937 (RUN_TEST_LOOP_f_i): Likewise.
23938 (RUN_TEST_f_i_tg): Likewise.
23939 (RUN_TEST_LOOP_f_i_tg): Likewise.
23940 (RUN_TEST_ff_i_tg): Likewise.
23941 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23942 (RUN_TEST_f_b): Likewise.
23943 (RUN_TEST_LOOP_f_b): Likewise.
23944 (RUN_TEST_f_b_tg): Likewise.
23945 (RUN_TEST_LOOP_f_b_tg): Likewise.
23946 (RUN_TEST_f_l): Likewise.
23947 (RUN_TEST_LOOP_f_l): Likewise.
23948 (RUN_TEST_f_L): Likewise.
23949 (RUN_TEST_LOOP_f_L): Likewise.
23950 (RUN_TEST_sincos): Likewise.
23951 (RUN_TEST_LOOP_sincos): Likewise.
23952
23953 2013-05-17 Joseph Myers <joseph@codesourcery.com>
23954
23955 [BZ #15480]
23956 [BZ #15485]
23957 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23958 main case of finite arguments, set rounding mode to FE_TONEAREST
23959 and discard exceptions.
23960 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23961 exceptions.
23962 (remainder_tonearest_test_data): New variable.
23963 (remainder_test_tonearest): New function.
23964 (remainder_towardzero_test_data): New variable.
23965 (remainder_test_towardzero): New function.
23966 (remainder_downward_test_data): New variable.
23967 (remainder_test_downward): New function.
23968 (remainder_upward_test_data): New variable.
23969 (remainder_test_upward): New function.
23970 (main): Call the new test functions.
23971
23972 * math/libm-test.inc (struct test_f_f1_data): Remove field
23973 extra_init.
23974 (struct test_fF_f1_data): Likewise.
23975 (struct test_ffI_f1_data): Likewise.
23976 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23977 based on value of EXTRA_EXPECTED.
23978 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23979 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23980 EXTRA_VAR based on value of EXTRA_EXPECTED.
23981 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23982 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23983 EXTRA_VAR based on value of EXTRA_EXPECTED.
23984 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23985 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23986 EXTRA_VAR based on value of EXTRA_EXPECTED.
23987 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23988 * math/gen-libm-test.pl (parse_args): Don't output initializers
23989 for extra output values.
23990
23991 * math/libm-test.inc (check_int): Expect result to be exactly
23992 equal to expected value and do not handle ulps.
23993 (check_long): Likewise.
23994 (check_longlong): Likewise.
23995
23996 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23997 exceptions.
23998 (cimag_test_data): Likewise.
23999 (conj_test_data): Likewise.
24000 (copysign_test_data): Likewise.
24001 (cproj_test_data): Likewise.
24002 (creal_test_data): Likewise.
24003 (fabs_test_data): Likewise.
24004 (fdim_test_data): Likewise.
24005 (finite_test_data): Likewise.
24006 (floor_test_data): Likewise.
24007 (fmax_test_data): Likewise.
24008 (fmin_test_data): Likewise.
24009 (fmod_test_data): Likewise.
24010 (fpclassify_test_data): Likewise.
24011 (frexp_test_data): Likewise.
24012 (ilogb_test_data): Likewise.
24013 (isfinite_test_data): Likewise.
24014 (isgreater_test_data): Likewise.
24015 (isgreaterequal_test_data): Likewise.
24016 (isinf_test_data): Likewise.
24017 (isless_test_data): Likewise.
24018 (islessequal_test_data): Likewise.
24019 (islessgreater_test_data): Likewise.
24020 (isnan_test_data): Likewise.
24021 (isnormal_test_data): Likewise.
24022 (issignaling_test_data): Likewise.
24023 (isunordered_test_data): Likewise.
24024 (ldexp_test_data): Likewise.
24025 (lrint_test_data): Likewise.
24026 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24027 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24028 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24029 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24030 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24031 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24032 test input.
24033 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24034 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24035 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24036 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24037 that test input.
24038 (lrint_downward_test_data): Test for "inexact" exceptions.
24039 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24040 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24041 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24042 test input.
24043 (lrint_upward_test_data): Test for "inexact" exceptions.
24044 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24045 test input.
24046 (llrint_test_data): Test for "inexact" exceptions.
24047 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24048 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24049 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24050 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24051 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24052 (llrint_downward_test_data): Test for "inexact" exceptions.
24053 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24054 (llrint_upward_test_data): Test for "inexact" exceptions.
24055 (logb_test_data): Likewise.
24056 (logb_downward_test_data): Likewise.
24057 (nextafter_test_data): Likewise.
24058 (nexttoward_test_data): Likewise.
24059 (remainder_test_data): Likewise.
24060 (remquo_test_data): Likewise.
24061 (scalbn_test_data): Likewise.
24062 (scalbln_test_data): Likewise.
24063 (signbit_test_data): Likewise.
24064 (sqrt_test_data): Likewise.
24065 (significand_test_data): Likewise.
24066
24067 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24068
24069 [BZ #15424]
24070 * benchtests/bench-modf.c (struct args): Mark arg0 as
24071 volatile.
24072 * scripts/bench.pl: Mark members of struct args as volatile.
24073
24074 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24075
24076 [BZ # 15497]
24077 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24078 negative infinity on POWER6 or lower.
24079 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24080
24081 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24082
24083 [BZ #15442]
24084 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24085 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24086 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24087 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24088 (_FP_SETQNAN): New macro.
24089 (_FP_SETQNAN_SEMIRAW): Likewise.
24090 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24091 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24092 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24093 (FP_EXTEND): Use _FP_FRAC_SNANP.
24094 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24095 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24096 into account.
24097 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24098 New macro.
24099 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24100 Likewise.
24101
24102 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24103
24104 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24105 with DIVIDE_BY_ZERO_EXCEPTION.
24106 (gamma_test_data): Likewise.
24107 (lgamma_test_data): Likewise.
24108 (log_test_data): Likewise.
24109 (log10_test_data): Likewise.
24110 (log2_test_data): Likewise.
24111 (tgamma_test_data): Likewise.
24112
24113 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24114 (acos_test_tonearest): Likewise.
24115 (acos_test_towardzero): Likewise.
24116 (acos_test_downward): Likewise.
24117 (acos_test_upward): Likewise.
24118 (acosh_test): Likewise.
24119 (asin_test): Likewise.
24120 (asin_test_tonearest): Likewise.
24121 (asin_test_towardzero): Likewise.
24122 (asin_test_downward): Likewise.
24123 (asin_test_upward): Likewise.
24124 (asinh_test): Likewise.
24125 (atan_test): Likewise.
24126 (atanh_test): Likewise.
24127 (atan2_test): Likewise.
24128 (cabs_test): Likewise.
24129 (cacos_test): Likewise.
24130 (cacosh_test): Likewise.
24131 (casin_test): Likewise.
24132 (casinh_test): Likewise.
24133 (catan_test): Likewise.
24134 (catanh_test): Likewise.
24135 (cbrt_test): Likewise.
24136 (ccos_test): Likewise.
24137 (ccosh_test): Likewise.
24138 (cexp_test): Likewise.
24139 (clog_test): Likewise.
24140 (clog10_test): Likewise.
24141 (cos_test): Likewise.
24142 (cos_test_tonearest): Likewise.
24143 (cos_test_towardzero): Likewise.
24144 (cos_test_downward): Likewise.
24145 (cos_test_upward): Likewise.
24146 (cosh_test): Likewise.
24147 (cosh_test_tonearest): Likewise.
24148 (cosh_test_towardzero): Likewise.
24149 (cosh_test_downward): Likewise.
24150 (cosh_test_upward): Likewise.
24151 (cpow_test): Likewise.
24152 (csin_test): Likewise.
24153 (csinh_test): Likewise.
24154 (csqrt_test): Likewise.
24155 (ctan_test): Likewise.
24156 (ctan_test_tonearest): Likewise.
24157 (ctan_test_towardzero): Likewise.
24158 (ctan_test_downward): Likewise.
24159 (ctan_test_upward): Likewise.
24160 (ctanh_test): Likewise.
24161 (ctanh_test_tonearest): Likewise.
24162 (ctanh_test_towardzero): Likewise.
24163 (ctanh_test_downward): Likewise.
24164 (ctanh_test_upward): Likewise.
24165 (erf_test): Likewise.
24166 (erfc_test): Likewise.
24167 (exp_test): Likewise.
24168 (exp_test_tonearest): Likewise.
24169 (exp_test_towardzero): Likewise.
24170 (exp_test_downward): Likewise.
24171 (exp_test_upward): Likewise.
24172 (exp10_test): Likewise.
24173 (exp2_test): Likewise.
24174 (expm1_test): Likewise.
24175 (fmod_test): Likewise.
24176 (gamma_test): Likewise.
24177 (hypot_test): Likewise.
24178 (j0_test): Likewise.
24179 (j1_test): Likewise.
24180 (jn_test): Likewise.
24181 (lgamma_test): Likewise.
24182 (log_test): Likewise.
24183 (log10_test): Likewise.
24184 (log1p_test): Likewise.
24185 (log2_test): Likewise.
24186 (logb_test_downward): Likewise.
24187 (pow_test): Likewise.
24188 (pow_test_tonearest): Likewise.
24189 (pow_test_towardzero): Likewise.
24190 (pow_test_downward): Likewise.
24191 (pow_test_upward): Likewise.
24192 (remainder_test): Likewise.
24193 (remquo_test): Likewise.
24194 (sin_test): Likewise.
24195 (sin_test_tonearest): Likewise.
24196 (sin_test_towardzero): Likewise.
24197 (sin_test_downward): Likewise.
24198 (sin_test_upward): Likewise.
24199 (sincos_test): Likewise.
24200 (sinh_test): Likewise.
24201 (sinh_test_tonearest): Likewise.
24202 (sinh_test_towardzero): Likewise.
24203 (sinh_test_downward): Likewise.
24204 (sinh_test_upward): Likewise.
24205 (sqrt_test): Likewise.
24206 (tan_test): Likewise.
24207 (tan_test_tonearest): Likewise.
24208 (tan_test_towardzero): Likewise.
24209 (tan_test_downward): Likewise.
24210 (tan_test_upward): Likewise.
24211 (tanh_test): Likewise.
24212 (tgamma_test): Likewise.
24213 (y0_test): Likewise.
24214 (y1_test): Likewise.
24215 (yn_test): Likewise.
24216
24217 * math/gen-libm-test.pl (adjust_arg): Remove function.
24218 (special_function): Remove argument $in_func. Only handle
24219 generating output for tables of tests, not inside functions.
24220 (parse_args): Likewise.
24221 (generate_testfile): Remove variable $in_func. Update call to
24222 parse_args.
24223 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24224 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24225 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24226 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24227 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24228 (MAX_VALUE_INIT): Rename macro to max_value.
24229 (MIN_VALUE_INIT): Rename macro to min_value.
24230 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24231 (plus_zero): Remove variable.
24232 (minus_zero): Likewise.
24233 (plus_infty): Likewise.
24234 (minus_infty): Likewise.
24235 (qnan_value): Likewise.
24236 (max_value): Likewise.
24237 (min_value): Likewise.
24238 (min_subnorm_value): Likewise.
24239
24240 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24241
24242 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24243 uint64_t or uint32_t usage.
24244 * crypt/sha256-block.c: Likewise.
24245 * crypt/sha256-crypt.c: Likewise.
24246 * crypt/sha256.c: Likewise.
24247 * crypt/sha512-block.c: Likewise.
24248 * crypt/sha512-crypt.c: Likewise.
24249 * crypt/sha512.c: Likewise.
24250 * debug/backtrace-tst.c: Likewise.
24251 * debug/pcprofiledump.c: Likewise.
24252 * elf/cache.c: Likewise.
24253 * elf/dl-cache.c: Likewise.
24254 * elf/dl-misc.c: Likewise.
24255 * elf/dl-profile.c: Likewise.
24256 * elf/dl-support.c: Likewise.
24257 * elf/ldconfig.c: Likewise.
24258 * elf/sprof.c: Likewise.
24259 * iconv/dummy-repertoire.c: Likewise.
24260 * iconv/iconv_charmap.c: Likewise.
24261 * iconv/skeleton.c: Likewise.
24262 * iconvdata/8bit-generic.c: Likewise.
24263 * iconvdata/cp737.h: Likewise.
24264 * iconvdata/cp775.h: Likewise.
24265 * iconvdata/ibm1008.h: Likewise.
24266 * iconvdata/ibm1025.h: Likewise.
24267 * iconvdata/ibm1046.h: Likewise.
24268 * iconvdata/ibm1097.h: Likewise.
24269 * iconvdata/ibm1112.h: Likewise.
24270 * iconvdata/ibm1122.h: Likewise.
24271 * iconvdata/ibm1123.h: Likewise.
24272 * iconvdata/ibm1124.h: Likewise.
24273 * iconvdata/ibm1129.h: Likewise.
24274 * iconvdata/ibm1130.h: Likewise.
24275 * iconvdata/ibm1132.h: Likewise.
24276 * iconvdata/ibm1133.h: Likewise.
24277 * iconvdata/ibm1137.h: Likewise.
24278 * iconvdata/ibm1140.h: Likewise.
24279 * iconvdata/ibm1141.h: Likewise.
24280 * iconvdata/ibm1142.h: Likewise.
24281 * iconvdata/ibm1143.h: Likewise.
24282 * iconvdata/ibm1144.h: Likewise.
24283 * iconvdata/ibm1145.h: Likewise.
24284 * iconvdata/ibm1146.h: Likewise.
24285 * iconvdata/ibm1147.h: Likewise.
24286 * iconvdata/ibm1148.h: Likewise.
24287 * iconvdata/ibm1149.h: Likewise.
24288 * iconvdata/ibm1153.h: Likewise.
24289 * iconvdata/ibm1154.h: Likewise.
24290 * iconvdata/ibm1155.h: Likewise.
24291 * iconvdata/ibm1156.h: Likewise.
24292 * iconvdata/ibm1157.h: Likewise.
24293 * iconvdata/ibm1158.h: Likewise.
24294 * iconvdata/ibm1160.h: Likewise.
24295 * iconvdata/ibm1161.h: Likewise.
24296 * iconvdata/ibm1162.h: Likewise.
24297 * iconvdata/ibm1163.h: Likewise.
24298 * iconvdata/ibm1164.h: Likewise.
24299 * iconvdata/ibm1166.h: Likewise.
24300 * iconvdata/ibm1167.h: Likewise.
24301 * iconvdata/ibm12712.h: Likewise.
24302 * iconvdata/ibm1390.h: Likewise.
24303 * iconvdata/ibm1399.h: Likewise.
24304 * iconvdata/ibm16804.h: Likewise.
24305 * iconvdata/ibm4517.h: Likewise.
24306 * iconvdata/ibm4899.h: Likewise.
24307 * iconvdata/ibm4909.h: Likewise.
24308 * iconvdata/ibm4971.h: Likewise.
24309 * iconvdata/ibm5347.h: Likewise.
24310 * iconvdata/ibm803.h: Likewise.
24311 * iconvdata/ibm856.h: Likewise.
24312 * iconvdata/ibm901.h: Likewise.
24313 * iconvdata/ibm902.h: Likewise.
24314 * iconvdata/ibm9030.h: Likewise.
24315 * iconvdata/ibm9066.h: Likewise.
24316 * iconvdata/ibm921.h: Likewise.
24317 * iconvdata/ibm922.h: Likewise.
24318 * iconvdata/ibm9448.h: Likewise.
24319 * iconvdata/isiri-3342.h: Likewise.
24320 * iconvdata/jis0201.h: Likewise.
24321 * include/link.h: Likewise.
24322 * include/netdb.h: Likewise.
24323 * inet/check_native.c: Likewise.
24324 * inet/check_pf.c: Likewise.
24325 * inet/getipv4sourcefilter.c: Likewise.
24326 * inet/getnameinfo.c: Likewise.
24327 * inet/getsourcefilter.c: Likewise.
24328 * inet/htonl.c: Likewise.
24329 * inet/setipv4sourcefilter.c: Likewise.
24330 * inet/setsourcefilter.c: Likewise.
24331 * inet/test-inet6_opt.c: Likewise.
24332 * inet/tst-network.c: Likewise.
24333 * locale/C-collate.c: Likewise.
24334 * locale/C-ctype.c: Likewise.
24335 * locale/C-time.c: Likewise.
24336 * locale/C-translit.h: Likewise.
24337 * locale/loadarchive.c: Likewise.
24338 * locale/programs/3level.h: Likewise.
24339 * locale/programs/charmap.c: Likewise.
24340 * locale/programs/charmap.h: Likewise.
24341 * locale/programs/ld-address.c: Likewise.
24342 * locale/programs/ld-collate.c: Likewise.
24343 * locale/programs/ld-ctype.c: Likewise.
24344 * locale/programs/ld-identification.c: Likewise.
24345 * locale/programs/ld-measurement.c: Likewise.
24346 * locale/programs/ld-messages.c: Likewise.
24347 * locale/programs/ld-monetary.c: Likewise.
24348 * locale/programs/ld-name.c: Likewise.
24349 * locale/programs/ld-numeric.c: Likewise.
24350 * locale/programs/ld-paper.c: Likewise.
24351 * locale/programs/ld-telephone.c: Likewise.
24352 * locale/programs/ld-time.c: Likewise.
24353 * locale/programs/linereader.c: Likewise.
24354 * locale/programs/locale.c: Likewise.
24355 * locale/programs/locarchive.c: Likewise.
24356 * locale/programs/locfile.h: Likewise.
24357 * locale/programs/repertoire.c: Likewise.
24358 * locale/programs/simple-hash.c: Likewise.
24359 * locale/programs/simple-hash.h: Likewise.
24360 * malloc/memusage.c: Likewise.
24361 * malloc/memusagestat.c: Likewise.
24362 * nis/nis_defaults.c: Likewise.
24363 * nis/nis_hash.c: Likewise.
24364 * nis/nis_print.c: Likewise.
24365 * nis/nis_xdr.c: Likewise.
24366 * nscd/connections.c: Likewise.
24367 * nscd/hstcache.c: Likewise.
24368 * nscd/nscd_gethst_r.c: Likewise.
24369 * nscd/nscd_getserv_r.c: Likewise.
24370 * nscd/nscd_helper.c: Likewise.
24371 * nscd/servicescache.c: Likewise.
24372 * nss/makedb.c: Likewise.
24373 * nss/nss_db/db-XXX.c: Likewise.
24374 * nss/nss_db/db-initgroups.c: Likewise.
24375 * nss/nss_db/db-netgrp.c: Likewise.
24376 * nss/nss_files/files-network.c: Likewise.
24377 * nss/nss_files/files-parse.c: Likewise.
24378 * posix/bug-regex5.c: Likewise.
24379 * posix/fnmatch_loop.c: Likewise.
24380 * posix/regcomp.c: Likewise.
24381 * posix/regexec.c: Likewise.
24382 * posix/tst-rfc3484-2.c: Likewise.
24383 * posix/tst-rfc3484-3.c: Likewise.
24384 * posix/tst-rfc3484.c: Likewise.
24385 * resolv/nss_dns/dns-canon.c: Likewise.
24386 * resolv/nss_dns/dns-network.c: Likewise.
24387 * resolv/res_init.c: Likewise.
24388 * resolv/res_mkquery.c: Likewise.
24389 * resolv/tst-aton.c: Likewise.
24390 * stdlib/cxa_atexit.c: Likewise.
24391 * stdlib/cxa_finalize.c: Likewise.
24392 * stdlib/gen-fpioconst.c: Likewise.
24393 * stdlib/strtol_l.c: Likewise.
24394 * string/tst-endian.c: Likewise.
24395 * sunrpc/auth_des.c: Likewise.
24396 * sunrpc/clnt_udp.c: Likewise.
24397 * sunrpc/rtime.c: Likewise.
24398 * sunrpc/svcauth_des.c: Likewise.
24399 * sunrpc/xdr.c: Likewise.
24400 * sunrpc/xdr_intXX_t.c: Likewise.
24401 * sunrpc/xdr_rec.c: Likewise.
24402 * sysdeps/generic/ldconfig.h: Likewise.
24403 * sysdeps/generic/ldsodefs.h: Likewise.
24404 * sysdeps/generic/memusage.h: Likewise.
24405 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24406 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24407 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24408 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24411 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24412 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24413 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24414 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24415 * sysdeps/posix/getaddrinfo.c: Likewise.
24416 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24417 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24418 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24419 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24420 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24421 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24422 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24423 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24424 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24425 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24426 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24427 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24428 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24429 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24430 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24431 * sysdeps/x86_64/dl-tls.h: Likewise.
24432 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24433 * time/alt_digit.c: Likewise.
24434 * time/era.c: Likewise.
24435 * wcsmbs/tst-c16c32-1.c: Likewise.
24436
24437 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24438
24439 * math/libm-test.inc (struct test_sincos_data): New type.
24440 (RUN_TEST_LOOP_sincos): New macro.
24441 (sincos_test_data): New variable.
24442 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24443
24444 2013-05-16 Richard Henderson <rth@redhat.com>
24445
24446 * math/atest-exp2.c (LIMB64): New macro.
24447 (CONSTSZ): New macro.
24448 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24449 (hexdig): Move ...
24450 (print_mpn_fp): ... to function scope.
24451 (read_mpn_hex): Remove.
24452 (get_log2): Remove.
24453 (exp2_mpn): Use mp_log2.
24454 (main): Use mp_exp1.
24455
24456 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24457
24458 * math/libm-test.inc: Remove comment about not testing "inexact"
24459 exceptions.
24460 (INEXACT_EXCEPTION): New macro.
24461 (NO_INEXACT_EXCEPTION): Likewise.
24462 (INVALID_EXCEPTION_OK): Update value.
24463 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24464 (OVERFLOW_EXCEPTION_OK): Likewise.
24465 (UNDERFLOW_EXCEPTION_OK): Likewise.
24466 (IGNORE_ZERO_INF_SIGN): Likewise.
24467 (ERRNO_UNCHANGED): Likewise.
24468 (ERRNO_EDOM): Likewise.
24469 (ERRNO_ERANGE): Likewise.
24470 (test_exceptions): Handle testing "inexact" exceptions.
24471 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24472 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24473 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24474 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24475 INEXACT_EXCEPTION.
24476 (rint_towardzero_test_data): Likewise.
24477 (rint_downward_test_data): Likewise.
24478 (rint_upward_test_data): Likewise.
24479
24480 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24481 with OVERFLOW_EXCEPTION.
24482 (exp10_test_data): Likewise.
24483 (exp2_test_data): Likewise.
24484 (expm1_test_data): Likewise.
24485 (lgamma_test_data): Likewise.
24486 (pow_test_data): Likewise.
24487 (tgamma_test_data): Likewise.
24488 (yn_test_data): Remove duplicate test of overflow.
24489
24490 * math/libm-test.inc (struct test_cc_c_data): New type.
24491 (RUN_TEST_LOOP_cc_c): New macro.
24492 (cpow_test_data): New variable.
24493 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24494
24495 * math/libm-test.inc (struct test_f_L_data): New type.
24496 (RUN_TEST_LOOP_f_L): New macro.
24497 (llrint_test_data): New variable.
24498 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24499 (llrint_tonearest_test_data): New variable.
24500 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24501 (llrint_towardzero_test_data): New variable.
24502 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24503 (llrint_downward_test_data): New variable.
24504 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24505 (llrint_upward_test_data): New variable.
24506 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24507 (llround_test_data): New variable.
24508 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24509
24510 2013-05-13 Peter Collingbourne <pcc@google.com>
24511
24512 * math/atest-exp2.c (get_log2): Remove const attribute.
24513
24514 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24515
24516 * math/libm-test.inc (struct test_f_l_data): New type.
24517 (RUN_TEST_LOOP_f_l): New macro.
24518 (lrint_test_data): New variable.
24519 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24520 (lrint_tonearest_test_data): New variable.
24521 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24522 (lrint_towardzero_test_data): New variable.
24523 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24524 (lrint_downward_test_data): New variable.
24525 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24526 (lrint_upward_test_data): New variable.
24527 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24528 (lround_test_data): New variable.
24529 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24530
24531 2013-05-15 Peter Collingbourne <pcc@google.com>
24532
24533 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24534 (EXTRACT_WORDS64) Use where appropriate.
24535 (INSERT_WORDS64) Likewise.
24536
24537 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24538 constraints with x constraints.
24539 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24540
24541 * malloc/obstack.c (_obstack_compat): Add initializer.
24542
24543 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24544
24545 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24546 si_trapno and add si_addr_lsb to _sifields.sigfault.
24547 (si_trapno): Remove macro.
24548 (si_addr_lsb): Define new macro.
24549 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24550
24551 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24552
24553 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24554 instead of TEST_f_l.
24555 (llrint_test_tonearest): Likewise.
24556 (llrint_test_towardzero): Likewise.
24557 (llrint_test_downward): Likewise.
24558 (llrint_test_upward): Likewise.
24559 (llround_test): Likewise.
24560
24561 * math/libm-test.inc (struct test_f_i_data): Add comment.
24562 (RUN_TEST_LOOP_f_b): New macro.
24563 (RUN_TEST_LOOP_f_b_tg): Likewise.
24564 (finite_test_data): New variable.
24565 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24566 (isfinite_test_data): New variable.
24567 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24568 (isinf_test_data): New variable.
24569 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24570 (isnan_test_data): New variable.
24571 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24572 (isnormal_test_data): New variable.
24573 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24574 (issignaling_test_data): New variable.
24575 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24576 (signbit_test_data): New variable.
24577 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24578
24579 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24580 with INVALID_EXCEPTION.
24581 (acosh_test_data): Likewise.
24582 (asin_test_data): Likewise.
24583 (atanh_test_data): Likewise.
24584 (fmod_test_data): Likewise.
24585 (log_test_data): Likewise.
24586 (log10_test_data): Likewise.
24587 (log2_test_data): Likewise.
24588 (pow_test_data): Likewise.
24589 (sqrt_test_data): Likewise.
24590 (y0_test_data): Likewise.
24591 (y1_test_data): Likewise.
24592 (yn_test_data): Likewise.
24593
24594 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24595 function contents.
24596
24597 * math/libm-test.inc (struct test_ff_i_data): New type.
24598 (RUN_TEST_LOOP_ff_i_tg): New macro.
24599 (isgreater_test_data): New variable.
24600 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24601 (isgreaterequal_test_data): New variable.
24602 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24603 (isless_test_data): New variable.
24604 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24605 (islessequal_test_data): New variable.
24606 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24607 (islessgreater_test_data): New variable.
24608 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24609 (isunordered_test_data): New variable.
24610 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24611
24612 2013-05-14 David S. Miller <davem@davemloft.net>
24613
24614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24615
24616 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24617
24618 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24619
24620 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24621 extra_test to int.
24622 (struct test_f_i_data): Change type of max_ulp to int.
24623
24624 * math/libm-test.inc (test_ffI_f1_data): New type.
24625 (RUN_TEST_LOOP_ffI_f1): New macro.
24626 (remquo_test_data): New variable.
24627 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24628
24629 * setjmp/tst-setjmp-fp.c: New file.
24630 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24631 (link-libm): New variable.
24632 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24633
24634 * math/libm-test.inc (struct test_f_i_data): New type.
24635 (RUN_TEST_LOOP_f_i): New macro.
24636 (RUN_TEST_LOOP_f_i_tg): Likewise.
24637 (fpclassify_test_data): New variable.
24638 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24639 (ilogb_test_data): New variable.
24640 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24641
24642 * math/libm-test.inc (scalbln_test): Correct function name in END
24643 call.
24644
24645 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24646 (RUN_TEST_LOOP_fI_f1): New macro.
24647 (frexp_test_data): New variable.
24648 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24649
24650 * math/libm-test.inc (struct test_fF_f1_data): New type.
24651 (RUN_TEST_LOOP_fF_f1): New macro.
24652 (modf_test_data): New variable.
24653 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24654
24655 * math/libm-test.inc (struct test_f_f1_data): New type.
24656 (RUN_TEST_LOOP_f_f1): New macro.
24657 (gamma_test_data): New variable.
24658 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24659 (lgamma_test_data): New variable.
24660 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24661
24662 2013-05-13 Carlos O'Donell <carlos@redhat.com>
24663
24664 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24665 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24666 (main): Comment "tls" pseudo-hwcap.
24667
24668 2013-05-13 Joseph Myers <joseph@codesourcery.com>
24669
24670 * math/libm-test.inc (struct test_fl_f_data): New type.
24671 (RUN_TEST_LOOP_fl_f): New variable.
24672 (scalbln_test_data): New variable.
24673 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24674
24675 * math/libm-test.inc (struct test_fi_f_data): New type.
24676 (RUN_TEST_LOOP_fi_f): New macro.
24677 (ldexp_test_data): New variable.
24678 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24679 (scalbn_test_data): New variable.
24680 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24681
24682 * math/libm-test.inc (struct test_c_f_data): New type.
24683 (RUN_TEST_LOOP_c_f): New macro.
24684 (cabs_test_data): New variable.
24685 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24686 (carg_test_data): New variable.
24687 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24688 (cimag_test_data): New variable.
24689 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24690 (creal_test_data): New variable.
24691 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24692
24693 * math/libm-test.inc (struct test_if_f_data): New type.
24694 (RUN_TEST_LOOP_if_f): New macro.
24695 (jn_test_data): New variable.
24696 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24697 (yn_test_data): New variable.
24698 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24699
24700 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24701
24702 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24703
24704 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24705 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24706
24707 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24708
24709 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24710 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24711 (bench-deps): Add bench-timing.h.
24712 * benchtests-bench-skeleton.c: Include bench-timing.h.
24713 (main): Use TIMING_* macros instead of clock_gettime.
24714 * benchtests/bench-timing.h: New file.
24715
24716 [BZ #14582]
24717 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24718 Renamed from _LIB_VERSION.
24719 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24720
24721 2013-05-12 Joseph Myers <joseph@codesourcery.com>
24722
24723 * math/libm-test.inc (struct test_fff_f_data): New type.
24724 (RUN_TEST_LOOP_fff_f): New macro.
24725 (fma_test_data): New variable.
24726 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24727 (fma_towardzero_test_data): New variable.
24728 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24729 (fma_downward_test_data): New variable.
24730 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24731 (fma_upward_test_data): New variable.
24732 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24733
24734 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24735 (struct test_c_c_data): New type.
24736 (RUN_TEST_LOOP_c_c): New macro.
24737 (cacos_test_data): New variable.
24738 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24739 (cacosh_test_data): New variable.
24740 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24741 (casin_test_data): New variable.
24742 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24743 (casinh_test_data): New variable.
24744 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24745 (catan_test_data): New variable.
24746 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24747 (catanh_test_data): New variable.
24748 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24749 (ccos_test_data): New variable.
24750 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24751 (ccosh_test_data): New variable.
24752 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24753 (cexp_test_data): New variable.
24754 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24755 (clog_test_data): New variable.
24756 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24757 (clog10_test_data): New variable.
24758 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24759 (conj_test_data): New variable.
24760 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24761 (cproj_test_data): New variable.
24762 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24763 (csin_test_data): New variable.
24764 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24765 (csinh_test_data): New variable.
24766 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24767 (csqrt_test_data): New variable.
24768 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24769 (ctan_test_data): New variable.
24770 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24771 (ctan_tonearest_test_data): New variable.
24772 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24773 (ctan_towardzero_test_data): New variable.
24774 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24775 (ctan_downward_test_data): New variable.
24776 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24777 (ctan_upward_test_data): New variable.
24778 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24779 (ctanh_test_data): New variable.
24780 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24781 (ctanh_tonearest_test_data): New variable.
24782 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24783 (ctanh_towardzero_test_data): New variable.
24784 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24785 (ctanh_downward_test_data): New variable.
24786 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24787 (ctanh_upward_test_data): New variable.
24788 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24789 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24790 of BUILD_COMPLEX.
24791
24792 * math/libm-test.inc (struct test_ff_f_data): New type.
24793 (struct test_ff_f_data_nexttoward): Likewise.
24794 (RUN_TEST_LOOP_2_f): New macro.
24795 (RUN_TEST_LOOP_ff_f): Likewise.
24796 (atan2_test_data): New variable.
24797 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24798 (copysign_test_data): New variable.
24799 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24800 (fdim_test_data): New variable.
24801 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24802 (fmax_test_data): New variable.
24803 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24804 (fmin_test_data): New variable.
24805 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24806 (fmod_test_data): New variable.
24807 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24808 (hypot_test_data): New variable.
24809 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24810 (nextafter_test_data): New variable.
24811 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24812 (nexttoward_test_data): New variable.
24813 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24814 (pow_test_data): New variable.
24815 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24816 (pow_tonearest_test_data): New variable.
24817 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24818 (pow_towardzero_test_data): New variable.
24819 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24820 (pow_downward_test_data): New variable.
24821 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24822 (pow_upward_test_data): New variable.
24823 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24824 (remainder_test_data): New variable.
24825 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24826 (scalb_test_data): New variable.
24827 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24828 * sysdeps/i386/fpu/libm-test-ulps: Update.
24829
24830 2013-05-11 Joseph Myers <joseph@codesourcery.com>
24831
24832 * math/libm-test.inc (fma_test): Use max_value instead of local
24833 variable fltmax.
24834 (nextafter_test): Likewise.
24835
24836 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24837 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24838 (acos_downward_test_data): New variable.
24839 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24840 (acos_upward_test_data): New variable.
24841 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24842 (acosh_test_data): New variable.
24843 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24844 (asin_test_data): New variable.
24845 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24846 (asin_tonearest_test_data): New variable.
24847 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24848 (asin_towardzero_test_data): New variable.
24849 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24850 (asin_downward_test_data): New variable.
24851 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24852 (asin_upward_test_data): New variable.
24853 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24854 (asinh_test_data): New variable.
24855 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24856 (atan_test_data): New variable.
24857 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24858 (atanh_test_data): New variable.
24859 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24860 (cbrt_test_data): New variable.
24861 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24862 (ceil_test_data): New variable.
24863 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24864 (cos_test_data): New variable.
24865 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24866 (cos_tonearest_test_data): New variable.
24867 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24868 (cos_towardzero_test_data): New variable.
24869 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24870 (cos_downward_test_data): New variable.
24871 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24872 (cos_upward_test_data): New variable.
24873 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24874 (cosh_test_data): New variable.
24875 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24876 (cosh_tonearest_test_data): New variable.
24877 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24878 (cosh_towardzero_test_data): New variable.
24879 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24880 (cosh_downward_test_data): New variable.
24881 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24882 (cosh_upward_test_data): New variable.
24883 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24884 (erf_test_data): New variable.
24885 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24886 (erfc_test_data): New variable.
24887 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24888 (exp_test_data): New variable.
24889 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24890 (exp_tonearest_test_data): New variable.
24891 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24892 (exp_towardzero_test_data): New variable.
24893 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24894 (exp_downward_test_data): New variable.
24895 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24896 (exp_upward_test_data): New variable.
24897 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24898 (exp10_test_data): New variable.
24899 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24900 (exp2_test_data): New variable.
24901 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24902 (expm1_test_data): New variable.
24903 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24904 (fabs_test_data): New variable.
24905 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24906 (floor_test_data): New variable.
24907 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24908 (j0_test_data): New variable.
24909 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24910 (j1_test_data): New variable.
24911 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24912 (log_test_data): New variable.
24913 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24914 (log10_test_data): New variable.
24915 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24916 (log1p_test_data): New variable.
24917 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24918 (log2_test_data): New variable.
24919 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24920 (logb_test_data): New variable.
24921 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24922 (logb_downward_test_data): New variable.
24923 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24924 (nearbyint_test_data): New variable.
24925 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24926 (rint_test_data): New variable.
24927 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24928 (rint_tonearest_test_data): New variable.
24929 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24930 (rint_towardzero_test_data): New variable.
24931 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24932 (rint_downward_test_data): New variable.
24933 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24934 (rint_upward_test_data): New variable.
24935 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24936 (round_test_data): New variable.
24937 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24938 (sin_test_data): New variable.
24939 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24940 (sin_tonearest_test_data): New variable.
24941 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24942 (sin_towardzero_test_data): New variable.
24943 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24944 (sin_downward_test_data): New variable.
24945 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24946 (sin_upward_test_data): New variable.
24947 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24948 (sinh_test_data): New variable.
24949 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24950 (sinh_tonearest_test_data): New variable.
24951 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24952 (sinh_towardzero_test_data): New variable.
24953 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24954 (sinh_downward_test_data): New variable.
24955 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24956 (sinh_upward_test_data): New variable.
24957 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24958 (sqrt_test_data): New variable.
24959 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24960 (tan_test_data): New variable.
24961 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24962 (tan_tonearest_test_data): New variable.
24963 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24964 (tan_towardzero_test_data): New variable.
24965 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24966 (tan_downward_test_data): New variable.
24967 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24968 (tan_upward_test_data): New variable.
24969 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24970 (tanh_test_data): New variable.
24971 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24972 (tgamma_test_data): New variable.
24973 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24974 (trunc_test_data): New variable.
24975 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24976 (y0_test_data): New variable.
24977 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24978 (y1_test_data): New variable.
24979 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24980 (significand_test_data): New variable.
24981 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24982
24983 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24984
24985 [BZ #12387]
24986 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24987
24988 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24989
24990 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24991
24992 2013-05-10 Andreas Jaeger <aj@suse.de>
24993
24994 [BZ #15448]
24995 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24996 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24997
24998 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24999
25000 * math/gen-libm-test.pl (adjust_arg): New function.
25001 (special_functions): Handle generating output in both functions
25002 and arrays.
25003 (parse_args): Likewise.
25004 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25005 $in_func argument to parse_args.
25006 * math/libm-test.inc (struct test_f_f_data): New type.
25007 (IF_ROUND_INIT_): New macro.
25008 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25009 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25010 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25011 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25012 (ROUND_RESTORE_): Likewise.
25013 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25014 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25015 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25016 (ROUND_RESTORE_FE_UPWARD): Likewise.
25017 (RUN_TEST_LOOP_f_f): New macro.
25018 (acos_test_data): New variable.
25019 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25020 (acos_tonearest_test_data): New variable.
25021 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25022
25023 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25024
25025 * benchtests/bench-skeleton.c (startup): Fix coding style.
25026
25027 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25028
25029 [BZ #6809]
25030 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25031 negative infinity argument.
25032 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25033 negative infinity argument.
25034 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25035 negative infinity argument.
25036 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25037 domain errors.
25038
25039 2013-05-10 Florian Weimer <fweimer@redhat.com>
25040
25041 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25042 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25043 * iconv/iconv_prog.c (main): Likewise.
25044 * locale/programs/charmap-dir.c (charmap_readdir)
25045 (fopen_uncompressed): Likewise.
25046 * locale/programs/locfile.c (siblings_uncached)
25047 (write_locale_data): Use lstat64 instead of lstat.
25048 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25049 stat.
25050
25051 2013-05-10 Andreas Jaeger <aj@suse.de>
25052
25053 [BZ #15395]
25054 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25055 localization.
25056 Include <locale.h>.
25057
25058 2013-05-09 Carlos O'Donell <carlos@redhat.com>
25059
25060 * elf/dl-close.c (_dl_close_worker): Add comments.
25061
25062 2013-05-09 Joseph Myers <joseph@codesourcery.com>
25063
25064 [BZ #15359]
25065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25066 high part of pi/2.
25067 (__ieee754_rem_pio2l): Update comments.
25068
25069 [BZ #15429]
25070 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25071 high part of pi/2.
25072 (__ieee754_rem_pio2l): Update comments.
25073
25074 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25075 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25076
25077 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25078 M_PI_4l.
25079
25080 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25081 (M_PI_34_LOG10El): Likewise.
25082 (M_PI2_LOG10El): Likewise.
25083 (M_PI4_LOG10El): Likewise.
25084 (M_PI_LOG10El): Likewise.
25085
25086 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25087
25088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25089
25090 2013-05-08 Joseph Myers <joseph@codesourcery.com>
25091
25092 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25093 (MINUS_ZERO_INIT): Likewise.
25094 (PLUS_INFTY_INIT): Likewise.
25095 (MINUS_INFTY_INIT): Likewise.
25096 (QNAN_VALUE_INIT): Likewise.
25097 (MAX_VALUE_INIT): Likewise.
25098 (MIN_VALUE_INIT): Likewise.
25099 (MIN_SUBNORM_VALUE_INIT): Likewise.
25100 (plus_zero): Initialize with PLUS_ZERO_INIT.
25101 (minus_zero): Initialize with MINUS_ZERO_INIT.
25102 (plus_infty): Initialize with PLUS_INFTY_INIT.
25103 (minus_infty): Initialize with MINUS_INFTY_INIT.
25104 (qnan_value): Initialize with QNAN_VALUE_INIT.
25105 (max_value): Initialize with MAX_VALUE_INIT.
25106 (min_value): Initialize with MIN_VALUE_INIT.
25107 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25108
25109 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25110 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25111 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25112 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25113
25114 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25115 (RUN_TEST_2_f): Likewise.
25116 (RUN_TEST_ff_f): Likewise.
25117 (RUN_TEST_fi_f): Likewise.
25118 (RUN_TEST_fl_f): Likewise.
25119 (RUN_TEST_fff_f): Likewise.
25120 (RUN_TEST_c_f): Likewise.
25121 (RUN_TEST_f_f1): Likewise.
25122 (RUN_TEST_fF_f1): Likewise.
25123 (RUN_TEST_fI_f1): Likewise.
25124 (RUN_TEST_ffI_f1): Likewise.
25125 (RUN_TEST_c_c): Likewise.
25126 (RUN_TEST_cc_c): Likewise.
25127 (RUN_TEST_f_i): Likewise.
25128 (RUN_TEST_f_i_tg): Likewise.
25129 (RUN_TEST_ff_i_tg): Likewise.
25130 (RUN_TEST_f_b): Likewise.
25131 (RUN_TEST_f_b_tg): Likewise.
25132 (RUN_TEST_f_l): Likewise.
25133 (RUN_TEST_f_L): Likewise.
25134 (RUN_TEST_sincos): Likewise.
25135 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25136 whether to show exceptions. Do not include ");\n" in return
25137 value.
25138 (special_functions): Output call to RUN_TEST_sincos instead of
25139 check_float calls. Update calls to new_test.
25140 (parse_args): Output call to single RUN_TEST_* macro instead of
25141 check_* calls and other assignments. Update calls to new_test.
25142
25143 [BZ #2546]
25144 [BZ #2560]
25145 [BZ #5159]
25146 [BZ #15426]
25147 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25148 input to result for tgamma overflow.
25149 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25150 (gamma_coeff): New variable.
25151 (NCOEFF): New macro.
25152 (gamma_positive): New function.
25153 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25154 underflow here. Use gamma_positive instead of exp (lgamma) for
25155 other arguments.
25156 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25157 (gamma_coeff): New variable.
25158 (NCOEFF): New macro.
25159 (gammaf_positive): New function.
25160 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25161 underflow here. Use gamma_positive instead of exp (lgamma) for
25162 other arguments.
25163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25164 (gamma_coeff): New variable.
25165 (NCOEFF): New macro.
25166 (gammal_positive): New function.
25167 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25168 underflow here. Use gamma_positive instead of exp (lgamma) for
25169 other arguments.
25170 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25171 (gamma_coeff): New variable.
25172 (NCOEFF): New macro.
25173 (gammal_positive): New function.
25174 (__ieee754_gammal_r): Handle positive infinity, overflow and
25175 underflow here. Handle NaN the same as positive infinity. Remove
25176 check x < 0xffffffff for negative integers. Use gamma_positive
25177 instead of exp (lgamma) for other arguments.
25178 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25179 (gamma_coeff): New variable.
25180 (NCOEFF): New macro.
25181 (gammal_positive): New function.
25182 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25183 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25187 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25188 * sysdeps/generic/math_private.h (__gamma_productf): New
25189 prototype.
25190 (__gamma_product): Likewise.
25191 (__gamma_productl): Likewise.
25192 * math/Makefile (libm-calls): Add gamma_product.
25193 * math/libm-test.inc (tgamma_test): Add more tests.
25194 * sysdeps/i386/fpu/libm-test-ulps: Update.
25195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25196
25197 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25198
25199 * benchtests/bench-skeleton.c (main): Preheat CPU.
25200
25201 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25202
25203 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25204
25205 2013-05-07 Roland McGrath <roland@hack.frob.com>
25206
25207 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25208 and _dl_skip_args_internal.
25209
25210 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25211
25212 * manual/message.texi (Message Translation): Talk about users.
25213 Message to key mapping impacts design.
25214
25215 2013-05-06 Roland McGrath <roland@hack.frob.com>
25216
25217 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25218
25219 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25220
25221 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25222 * sysdeps/wordsize-64/glob64.c: ... here.
25223
25224 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25225 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25226 New macros.
25227
25228 * debug/getlogin_r_chk.c: Moved to ...
25229 * login/getlogin_r_chk.c: ... here.
25230 * debug/Makefile (routines): Move getlogin_r_chk to ...
25231 * login/Makefile (routines): ... here.
25232 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25233 * login/Versions (libc: GLIBC_2.4): ... here.
25234
25235 * io/poll.c (__poll): Renamed from poll.
25236 Add libc_hidden_def.
25237 (poll): Define as weak alias.
25238
25239 * debug/ptsname_r_chk.c: Moved to ...
25240 * login/ptsname_r_chk.c: ... here.
25241 * debug/Makefile (routines): Move ptsname_r_chk to ...
25242 * login/Makefile (routines): ... here.
25243 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25244 * login/Versions (libc: GLIBC_2.4): ... here.
25245
25246 * posix/getlogin.c: Moved to ...
25247 * login/getlogin.c: ... here.
25248 * posix/getlogin_r.c: Moved to ...
25249 * login/getlogin_r.c: ... here.
25250 * posix/getlogin_r.c: Moved to ...
25251 * login/getlogin_r.c: ... here.
25252 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25253 * login/Makefile (routines): ... here.
25254 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25255 * login/Versions (libc: GLIBC_2.0): ... here.
25256
25257 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25258 (setrlimit): Define as weak alias.
25259
25260 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25261 Call __ names for open, ftruncate, and close.
25262 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25263 (truncate): Define as weak alias.
25264
25265 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25266
25267 * math/gen-libm-test.pl (parse_args): Initialize x before each
25268 test of frexp, modf and remquo.
25269
25270 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25271 test signgam value.
25272
25273 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25274
25275 [BZ #15418]
25276 [BZ #15419]
25277 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25278 internal tests.
25279 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25280
25281 2013-05-06 Roland McGrath <roland@hack.frob.com>
25282
25283 * elf/dl-writev.h: New file.
25284 * elf/dl-misc.c: Include it.
25285 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25286 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25287
25288 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25289
25290 * math/libm-test.inc (noXFails): Remove variable.
25291 (noXPasses): Likewise.
25292 (BUILD_COMPLEX_INT): Remove macro.
25293 (print_screen): Remove xfail argument.
25294 (print_screen_max_error): Likewise.
25295 (update_stats): Likewise.
25296 (print_max_error): Likewise. Update calls to other affected
25297 functions.
25298 (print_complex_max_error): Likewise.
25299 (test_single_exception): Update calls to print_screen.
25300 (test_single_errno): Likewise.
25301 (check_float_internal): Remove xfail argument. Update calls to
25302 other affected functions.
25303 (check_float): Likewise.
25304 (check_complex): Likewise.
25305 (check_int): Likewise.
25306 (check_long): Likewise.
25307 (check_bool): Likewise.
25308 (check_longlong): Likewise.
25309 (main): Don't print noXFails and noXPasses.
25310 * math/gen-libm-test.pl (top level): Don't mention expected
25311 failure handling in comment.
25312 (new_test): Don't handle expected failures.
25313 (parse_args): Don't mention expected failure handling in comment.
25314 (generate_testfile): Don't handle expected failures.
25315 (parse_ulps): Likewise.
25316 (print_ulps_file): Likewise.
25317 (get_failure): Remove function.
25318 (output_test): Don't handle expected failures.
25319 * make/README.libm-test: Don't mention expected failure handling.
25320
25321 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25322 (minus_zero): Likewise.
25323 (plus_infty): Likewise.
25324 (minus_infty): Likewise.
25325 (qnan_value): Likewise.
25326 (max_value): Likewise.
25327 (min_value): Likewise.
25328 (min_subnorm_value): Likewise.
25329 (initialize): Do not initialize those variables dynamically.
25330
25331 2013-05-03 Roland McGrath <roland@hack.frob.com>
25332
25333 * io/open.c (__open_2): Moved to ...
25334 * io/open_2.c: ... this new file.
25335 * io/open64.c (__open64_2): Moved to ...
25336 * io/open64_2.c: ... this new file.
25337 * io/openat.c (__openat_2): Moved to ...
25338 * io/openat_2.c: ... this new file.
25339 * io/openat64.c (__openat64_2): Moved to ...
25340 * io/openat64_2.c: ... this new file.
25341 * io/Makefile (routines): Add them.
25342 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25343 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25344 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25345 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25346 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25347 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25348 (__openat64): Add hidden_ver.
25349 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25350 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25351
25352 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25353 Separately conditionalize setting of GLRO(dl_sysinfo) so
25354 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25355 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25356
25357 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25358
25359 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25360 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25361 definition.
25362 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25363 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25364 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25365 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25366 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25367
25368 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25369
25370 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25371 test signgam value.
25372
25373 * math/libm-test.inc (hypot_test): Do not use
25374 IGNORE_ZERO_INF_SIGN.
25375
25376 2013-05-03 Andreas Jaeger <aj@suse.de>
25377
25378 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25379 Linux 3.9.
25380 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25381 (PF_MAX): Adjust for VSOCK change.
25382
25383 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25384
25385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25386
25387 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25388
25389 [BZ #15264]
25390 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25391 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25392 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25393
25394 2013-05-02 David S. Miller <davem@davemloft.net>
25395
25396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25397
25398 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25399
25400 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25401
25402 2013-05-01 Roland McGrath <roland@hack.frob.com>
25403
25404 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25405
25406 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25407
25408 [BZ #14952]
25409 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25410 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25411 Use __attribute__ ((__gnu_inline__)).
25412 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25413 Don't use __attribute__ ((__gnu_inline__)).
25414
25415 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25416
25417 [BZ #15423]
25418 * math/s_catan.c (__catan): Handle small real or imaginary part of
25419 input specially to avoid spurious underflow.
25420 * math/s_catanf.c (__catanf): Likewise.
25421 * math/s_catanh.c (__catanh): Likewise.
25422 * math/s_catanhf.c (__catanhf): Likewise.
25423 * math/s_catanhl.c (__catanhl): Likewise.
25424 * math/s_catanl.c (__catanl): Likewise.
25425 * math/libm-test.inc (catan_test): Add more tests.
25426 (catanh_test): Likewise.
25427 * sysdeps/i386/fpu/libm-test-ulps: Update.
25428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25429
25430 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25431
25432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25433
25434 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25435
25436 [BZ #15416]
25437 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25438 accurately for denominator in atan2.
25439 * math/s_catanf.c (__catanf): Likewise.
25440 * math/s_catanh.c (__catanh): Likewise.
25441 * math/s_catanhf.c (__catanhf): Likewise.
25442 * math/s_catanhl.c (__catanhl): Likewise.
25443 * math/s_catanl.c (__catanl): Likewise.
25444 * math/libm-test.inc (catan_test): Add more tests.
25445 (catanh_test): Likewise.
25446 * sysdeps/i386/fpu/libm-test-ulps: Update.
25447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25448
25449 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25450
25451 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25452
25453 * benchtests/Makefile (bench): Remove slow benchmarks.
25454 * benchtests/atan-inputs: Add slow benchmark inputs.
25455 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25456 (BENCH_FUNC): Accept variant offset.
25457 (VARIANT): Define.
25458 * benchtests/bench-skeleton.c (main): Run benchmark for each
25459 variant.
25460 * benchtests/cos-inputs: Add slow benchmark inputs.
25461 * benchtests/exp-inputs: Likewise.
25462 * benchtests/pow-inputs: Likewise.
25463 * benchtests/sin-inputs: Likewise.
25464 * benchtests/slowatan-inputs: Remove.
25465 * benchtests/slowatan.c: Remove.
25466 * benchtests/slowcos-inputs: Remove.
25467 * benchtests/slowcos.c: Remove.
25468 * benchtests/slowexp-inputs: Remove.
25469 * benchtests/slowexp.c: Remove.
25470 * benchtests/slowpow-inputs: Remove.
25471 * benchtests/slowpow.c: Remove.
25472 * benchtests/slowsin-inputs: Remove.
25473 * benchtests/slowsin.c: Remove.
25474 * benchtests/slowtan-inputs: Remove.
25475 * benchtests/slowtan.c: Remove.
25476 * benchtests/tan-inputs: Add slow benchmark inputs.
25477 * scripts/bench.pl: Parse comments and directives.
25478
25479 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25480 in CPPFLAGS.
25481 ($(objpfx)bench-%.c): Remove *-ITER.
25482 * benchtests/bench-modf.c: Remove definition of ITER.
25483 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25484 (main): Loop for DURATION seconds instead of fixed number of
25485 iterations.
25486 * scripts/bench.pl: Don't expect iterations in parameters.
25487
25488 2013-04-29 Roland McGrath <roland@hack.frob.com>
25489
25490 * io/fchdir.c (__fchdir): Renamed from fchdir.
25491 (fchdir): Define as weak alias.
25492
25493 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25494
25495 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25496 (ERRNO_EDOM): Likewise.
25497 (ERRNO_ERANGE): Likewise.
25498 (noErrnoTests): New variable.
25499 (init_max_error): Set errno to 0.
25500 (test_single_errno): New function.
25501 (test_errno): Likewise.
25502 (check_float_internal): Call test_errno. Set errno to 0.
25503 (check_complex): Refer to errno tests in comment.
25504 (check_int): Call test_errno. Set errno to 0.
25505 (check_long): Likewise.
25506 (check_bool): Likewise.
25507 (check_longlong): Likewise.
25508 (cos_test): Use ERRNO_* flags for errno tests instead of
25509 check_int.
25510 (expm1_test): Likewise.
25511 (fmod_test): Likewise.
25512 (ilogb_test): Likewise.
25513 (lgamma_test): Likewise.
25514 (pow_test): Likewise.
25515 (remainder_test): Likewise.
25516 (sin_test): Likewise.
25517 (tan_test): Likewise.
25518 (yn_test): Likewise.
25519 (initialize): Set errno to 0.
25520 (main): Print number of errno tests.
25521 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25522
25523 2013-04-29 Andreas Jaeger <aj@suse.de>
25524
25525 [BZ #15084]
25526 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25527 and RES_USEVC.
25528
25529 [BZ #15085]
25530 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25531 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25532 unimplemented.
25533
25534 [BZ #15380]
25535 * stdlib/random.c (__initstate): Return NULL if
25536 __initstate fails.
25537
25538 [BZ #15086]
25539 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25540 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25541 RES_SNGLKUPREOP.
25542
25543 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25544
25545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25546
25547 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25548
25549 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25550 of individual tests.
25551 (casin_test): Likewise.
25552 (casinh_test): Likewise.
25553
25554 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25555
25556 [BZ #15409]
25557 * math/s_catan.c (__catan): Handle arguments with large real or
25558 imaginary part separately without squaring.
25559 * math/s_catanf.c (__catanf): Likewise.
25560 * math/s_catanh.c (__catanh): Likewise.
25561 * math/s_catanhf.c (__catanhf): Likewise.
25562 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25563 and redefine.
25564 (__catanhl): Handle arguments with large real or imaginary part
25565 separately without squaring.
25566 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25567 and redefine.
25568 (__catanl): Handle arguments with large real or imaginary part
25569 separately without squaring.
25570 * math/libm-test.inc (catan_test): Add more tests.
25571 (catanh_test): Likewise.
25572 * sysdeps/i386/fpu/libm-test-ulps: Update.
25573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25574
25575 2013-04-27 Andreas Jaeger <aj@suse.de>
25576
25577 [BZ #15007]
25578 * stdlib/stdlib.h: Update guards for qecvt.
25579 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25580 <stdlib.h>.
25581
25582 2013-04-27 Allan McRae <allan@archlinux.org>
25583
25584 * sysdeps/i386/fpu/libm-test-ulps: Update.
25585
25586 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25587
25588 [BZ #15406]
25589 * math/s_catan.c: Include <float.h>.
25590 (__catan): Ensure underflow exception occurs for underflowed
25591 result.
25592 * math/s_catanf.c: Include <float.h>.
25593 (__catanf): Ensure underflow exception occurs for underflowed
25594 result.
25595 * math/s_catanh.c: Include <float.h>.
25596 (__catanh): Ensure underflow exception occurs for underflowed
25597 result.
25598 * math/s_catanhf.c: Include <float.h>.
25599 (__catanhf): Ensure underflow exception occurs for underflowed
25600 result.
25601 * math/s_catanhl.c: Include <float.h>.
25602 (__catanhl): Ensure underflow exception occurs for underflowed
25603 result.
25604 * math/s_catanl.c: Include <float.h>.
25605 (__catanl): Ensure underflow exception occurs for underflowed
25606 result.
25607 * math/libm-test.inc (catan_test): Add more tests.
25608 (catanh_test): Likewise.
25609
25610 [BZ #15405]
25611 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25612 underflowed result.
25613 * math/s_ccoshf.c (__ccoshf): Likewise.
25614 * math/s_ccoshl.c (__ccoshl): Likewise.
25615 * math/s_csin.c (__csin): Likewise.
25616 * math/s_csinf.c (__csinf): Likewise.
25617 * math/s_csinh.c (__csinh): Likewise.
25618 * math/s_csinhf.c (__csinhf): Likewise.
25619 * math/s_csinhl.c (__csinhl): Likewise.
25620 * math/s_csinl.c (__csinl): Likewise.
25621 * math/libm-test.inc (ccos_test): Add more tests.
25622 (ccosh_test): Likewise.
25623 (csin_test): Likewise.
25624 (csinh_test): Likewise.
25625
25626 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25627
25628 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25629 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25630 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25631 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25632 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25633 powerpc/power5+/fpu folders.
25634 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25635
25636
25637 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25638
25639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25640
25641 2013-04-25 Joseph Myers <joseph@codesourcery.com>
25642
25643 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25644 additions to variable.
25645 [$(config-machine) = x86_64] (modules-names): Likewise.
25646 ($(objpfx)tst-audit3): Remove dependency.
25647 ($(objpfx)tst-audit3.out): Likewise.
25648 ($(objpfx)tst-audit4): Likewise.
25649 ($(objpfx)tst-audit4.out): Likewise.
25650 ($(objpfx)tst-audit5): Likewise.
25651 ($(objpfx)tst-audit5.out): Likewise.
25652 ($(objpfx)tst-audit6): Likewise.
25653 ($(objpfx)tst-audit6.out): Likewise.
25654 ($(objpfx)tst-audit7): Likewise.
25655 ($(objpfx)tst-audit7.out): Likewise.
25656 (tst-audit3-ENV): Remove variable.
25657 (tst-audit4-ENV): Likewise.
25658 (tst-audit5-ENV): Likewise.
25659 (tst-audit6-ENV): Likewise.
25660 (tst-audit7-ENV): Likewise.
25661 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25662 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25663 addition to variable.
25664 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25665 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25666 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25667 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25668 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25669 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25670 tst-audit3, tst-audit4 and tst-audit5.
25671 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25672 tst-audit6 and tst-audit7.
25673 [$(subdir) = elf] (modules-names): Add audit modules for those
25674 tests.
25675 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25676 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25677 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25678 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25679 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25680 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25681 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25682 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25683 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25684 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25685 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25686 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25687 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25688 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25689 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25690 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25691 Likewise.
25692 [$(subdir) = elf && $(config-cflags-avx) = yes]
25693 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25694 [$(subdir) = elf && $(config-cflags-avx) = yes]
25695 (CFLAGS-tst-auditmod4a.c): Likewise.
25696 [$(subdir) = elf && $(config-cflags-avx) = yes]
25697 (CFLAGS-tst-auditmod4b.c): Likewise.
25698 [$(subdir) = elf && $(config-cflags-avx) = yes]
25699 (CFLAGS-tst-auditmod6b.c): Likewise.
25700 [$(subdir) = elf && $(config-cflags-avx) = yes]
25701 (CFLAGS-tst-auditmod6c.c): Likewise.
25702 [$(subdir) = elf && $(config-cflags-avx) = yes]
25703 (CFLAGS-tst-auditmod7b.c): Likewise.
25704 * elf/tst-audit3.c: Move to ...
25705 * sysdeps/x86_64/tst-audit3.c: ... here.
25706 * elf/tst-audit4.c: Move to ...
25707 * sysdeps/x86_64/tst-audit4.c: ... here.
25708 * elf/tst-audit5.c: Move to ...
25709 * sysdeps/x86_64/tst-audit5.c: ... here.
25710 * elf/tst-audit6.c: Move to ...
25711 * sysdeps/x86_64/tst-audit6.c: ... here.
25712 * elf/tst-audit7.c: Move to ...
25713 * sysdeps/x86_64/tst-audit7.c: ... here.
25714 * elf/tst-auditmod3a.c: Move to ...
25715 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25716 * elf/tst-auditmod3b.c: Move to ...
25717 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25718 * elf/tst-auditmod4a.c: Move to ...
25719 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25720 * elf/tst-auditmod4b.c: Move to ...
25721 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25722 * elf/tst-auditmod5a.c: Move to ...
25723 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25724 * elf/tst-auditmod5b.c: Move to ...
25725 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25726 * elf/tst-auditmod6a.c: Move to ...
25727 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25728 * elf/tst-auditmod6b.c: Move to ...
25729 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25730 * elf/tst-auditmod6c.c: Move to ...
25731 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25732 * elf/tst-auditmod7a.c: Move to ...
25733 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25734 * elf/tst-auditmod7b.c: Move to ...
25735 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25736
25737 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25738
25739 [BZ #15366]
25740 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25741 define unconditionally.
25742 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25743 define unconditionally.
25744 (INT8_C, INT16_C, etc.): Likewise.
25745
25746 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25747
25748 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25749 __ehdr_start with hidden visibility.
25750
25751 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25752
25753 2013-04-24 Carlos O'Donell <carlos@redhat.com>
25754
25755 * math/libm-test.inc (cos_test): Use accurate hex constants.
25756 (sincost_test): Likewise.
25757
25758 2013-04-24 Joseph Myers <joseph@codesourcery.com>
25759
25760 * math/libm-test.inc (catan_test): Add more tests.
25761 (catanh_test): Likewise.
25762
25763 * math/s_catanf.c (__catanf): Use suffixed floating-point
25764 constants.
25765 * math/s_catanhf.c (__catanhf): Likewise.
25766 * math/s_catanhl.c (__catanhl): Likewise.
25767 * math/s_catanl.c (__catanl): Likewise.
25768
25769 [BZ #15394]
25770 * math/s_catan.c (__catan): Calculate imaginary part of result
25771 with log1p not log unless computing log of number close to 0.
25772 * math/s_catanf.c (__catanf): Likewise.
25773 * math/s_catanl.c (__catanl): Likewise.
25774 * math/s_catanh.c (__catanh): Calculate real part of result with
25775 log1p not log unless computing log of number close to 0.
25776 * math/s_catanhf.c (__catanhf): Likewise.
25777 * math/s_catanhl.c (__catanhl): Likewise.
25778 * math/libm-test.inc (catan_test): Add more tests.
25779 (catanh_test): Likewise.
25780 * sysdeps/i386/fpu/libm-test-ulps: Update.
25781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25782
25783 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25784
25785 * benchtests/Makefile: Mention files in which fast and slow
25786 paths of math functions are implemented.
25787
25788 2013-04-23 Roland McGrath <roland@hack.frob.com>
25789
25790 * sysdeps/posix/timespec_get.c: New file.
25791
25792 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25793
25794 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25795 POWER.
25796 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25797 for POWER.
25798 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25799 powerpc/power5/fpu folders.
25800 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25801 * benchtests/Makefile: Add modf testcase.
25802 * benchtests/bench-modf.c: New file: Benchmark test for mo
25803
25804 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25805
25806 [BZ #14888]
25807 * time/Makefile (tests): Add tst-strptime-whitespace.
25808 * time/strptime_l.c (get_number): Use ISSPACE.
25809 (__strptime_internal): Likewise.
25810 * time/tst-strptime-whitespace.c: New test case.
25811
25812 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25813
25814 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25815 member.
25816 (_nss_files_init): Set it here.
25817
25818 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25819
25820 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25821 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25822 unsigned.
25823
25824 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25825
25826 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25827
25828 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25829
25830 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25831 size just once.
25832
25833 2013-04-21 David S. Miller <davem@davemloft.net>
25834
25835 * po/ru.po: Update Russion translation from translation project.
25836
25837 2013-04-17 Adam Conrad <adconrad@0c3.net>
25838
25839 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25840 and setfsgid.
25841
25842 2013-04-17 Carlos O'Donell <carlos@redhat.com>
25843
25844 * configure.in: Remove i386 configure warning. Remove i386 case.
25845 * configure: Regenerate.
25846 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25847 Add example to error message.
25848 * sysdeps/i386/configure: Regenerate.
25849
25850 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25851
25852 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25853 slowtan.
25854 * benchtests/cos-inputs: New file.
25855 * benchtests/slowcos-inputs: New file.
25856 * benchtests/slowcos.c: New file.
25857 * benchtests/slowtan-inputs: New file.
25858 * benchtests/slowtan.c: New file.
25859 * benchtests/tan-inputs: New file.
25860
25861 2013-04-16 Roland McGrath <roland@hack.frob.com>
25862
25863 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25864 considered kosher.
25865
25866 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25867
25868 * benchtests/Makefile: Include cppflags-iterator.mk to add
25869 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25870
25871 * Makefile.in (bench-clean): New target.
25872 * benchtests/Makefile (bench-clean): Likewise.
25873
25874 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25875
25876 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25877
25878 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25879
25880 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25881
25882 2013-04-15 Andreas Schwab <schwab@suse.de>
25883
25884 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25885 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25886 * nscd/pwdcache.c (cache_addpw): Likewise.
25887 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25888 more than recsize.
25889
25890 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25891
25892 * benchtests/Makefile (bench): Write all output to
25893 bench-out.tmp together.
25894
25895 2013-04-15 Andreas Schwab <schwab@suse.de>
25896
25897 * nscd/nscd.c (main): Don't fork again after closing files.
25898
25899 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25900
25901 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25902
25903 * benchtests/Rules (bench-deps): Collect dependencies into a
25904 single variable. Add Makefile to dependencies.
25905 ($(objpfx)bench-%.c): Depend on bench-deps.
25906
25907 2013-04-12 Roland McGrath <roland@hack.frob.com>
25908 Xavier Roche <roche+kml2@exalead.com>
25909
25910 [BZ #15361]
25911 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25912 just that it's a file descriptor.
25913 * manual/llio.texi (Synchronizing AIO Operations): Update description
25914 for EBADF error from aio_fsync.
25915
25916 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25917
25918 * Rules (bench): Move target definition...
25919 * benchtests/Makefile: ... here.
25920
25921 2013-04-11 Carlos O'Donell <carlos@redhat.com>
25922
25923 * math/libm-test.inc (cos_test): Fix PI/2 test.
25924 (sincos_test): Likewise.
25925 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25926 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25927
25928 2013-04-11 Andreas Schwab <schwab@suse.de>
25929
25930 [BZ #13988]
25931 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25932 accept exponent character only when digits were seen.
25933 * stdio-common/Makefile (tests): Add bug26.
25934 * stdio-common/bug26.c: New file.
25935
25936 [BZ #14293]
25937 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25938 non-freeable.
25939
25940 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25941
25942 * Makeconfig (rtld-prefix): Define built linker prefix.
25943 * Rules (run-bench): Use it.
25944 * math/Makefile (run-regen-ulps): Likewise.
25945
25946 * Rules (bench): Remove eval.
25947
25948 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25949 Roland McGrath <roland@hack.frob.com>
25950 Ondrej Bilka <neleai@seznam.cz>
25951
25952 [BZ #15346]
25953 * time/getdate.c: Include ctype.h and alloca.h.
25954 (__getdate_r): Trim leading and trailing spaces of input.
25955 * time/tst-getdate.c (tests): Add tests with leading and
25956 trailing spaces.
25957
25958 2013-04-08 Roland McGrath <roland@hack.frob.com>
25959
25960 [BZ #14280]
25961 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25962 when computing value.
25963
25964 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25965
25966 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25967 Use testrun.sh to run libm tests.
25968
25969 [BZ #15309]
25970 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25971
25972 2013-04-06 Marko Myllynen <myllynen@redhat.com>
25973
25974 [BZ #15264]
25975 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25976
25977 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25978
25979 * Makefile.in (regen-ulps): New target.
25980 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25981 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25982 [ifneq (no,$(PERL)] (regen-ulps): New target.
25983 [ifeq (no,$(PERL)] (regen-ulps): New target.
25984 * math/libm-test.inc (ulps_file_name): Define.
25985 (output_dir): New variable.
25986 (options): Add "output-dir" option.
25987 (parse_opt): Handle 'o' case.
25988 (main): If output_dir is non-NULL use it as a prefix
25989 otherwise use "".
25990 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25991
25992 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25993
25994 [BZ #10060, #10062]
25995 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25996 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25997 fail configure if __sync_val_compare_and_swap is not inlined.
25998 * sysdeps/i386/configure: Regenerate.
25999 * configure.in: Build for i686 when configured for i386.
26000 * configure: Regenerate.
26001 * README: Remove i386 reference.
26002
26003 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26004
26005 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26007
26008 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26009
26010 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26011 (lmsnanval): New variables.
26012 (F): Add conversion tests.
26013 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26014 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26015
26016 * stdio-common/tstdiomisc.c (F): Properly collect individual
26017 tests' results.
26018
26019 [BZ #14686, #15336]
26020 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26021 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26022 Instead, use input NaN values or generate a qNaN by arithmetic
26023 operation. Also fix bugs to comply with the standard.
26024 * math/libm-test.inc (remainder_test): Add more tests.
26025
26026 [BZ #15335, #15342]
26027 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26029 input NaN values or generate a qNaN by arithmetic operation.
26030
26031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26032 unreachable code.
26033
26034 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26035 definitions.
26036
26037 2013-04-03 Joseph Myers <joseph@codesourcery.com>
26038
26039 [BZ #14478]
26040 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26041 underflowed result.
26042 * math/s_cexpf.c (__cexpf): Likewise.
26043 * math/s_cexpl.c (__cexpl): Likewise.
26044 * math/libm-test.inc (cexp_test): Add more tests.
26045
26046 2013-04-03 Andreas Schwab <schwab@suse.de>
26047
26048 [BZ #15330]
26049 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26050 order arrays from heap if bigger than alloca cutoff.
26051
26052 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26053
26054 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26055 (SNAN_TESTS_double): Refer to GCC PR56831.
26056 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26057 GCC PR56828.
26058
26059 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26060
26061 * Rules (bench): Move bench.out after the run is complete.
26062
26063 * Rules (bench): Echo currently running benchmark.
26064
26065 * benchtests/Makefile (bench): Add atan and slowatan.
26066 * benchtests/atan-inputs: New file.
26067 * benchtests/slowatan-inputs: New file.
26068 * benchtests/slowatan.c: New file.
26069
26070 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26071 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26072 its value.
26073
26074 [BZ #15305]
26075 * sysdeps/unix/sysv/linux/kernel-features.h
26076 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26077 __ASSUME_XFS_RESTRICTED_CHOWN.
26078 * sysdeps/unix/sysv/linux/pathconf.c
26079 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26080 Save and restore errno.
26081
26082 2013-04-02 Joseph Myers <joseph@codesourcery.com>
26083
26084 [BZ #15327]
26085 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26086 arguments using __kernel_casinh.
26087 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26088 arguments using __kernel_casinhf.
26089 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26090 arguments using __kernel_casinhl.
26091 * math/libm-test.inc (cacosh_test): Add more tests.
26092 * sysdeps/i386/fpu/libm-test-ulps: Update.
26093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26094
26095 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26096
26097 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26099
26100 * bench/Makefile (bench): Add sin and slowsin.
26101 * benchtests/sin-inputs: New file.
26102 * benchtests/slowsin-inputs: New file.
26103 * benchtests/slowsin.c: New file.
26104
26105 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26106 (bench): Add slowexp and slowpow.
26107 (exp-ITER): Increase iterations.
26108 (pow-ITER): Likewise.
26109 * benchtests/exp-inputs: Change input.
26110 * benchtests/pow-inputs: Likewise.
26111 * benchtests/slowexp-inputs: New file.
26112 * benchtests/slowexp.c: New file.
26113 * benchtests/slowpow-inputs: New file.
26114 * benchtests/slowpow.c: New file.
26115
26116 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26117
26118 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26119 instructions.
26120 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26121 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26122 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26123 * benchtests/Makefile: Add rint benchtest.
26124 * benchtests/rint-inputs: Input for rint benchtest.
26125
26126 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26127
26128 * Versions.def (libm): Add GLIBC_2.18.
26129 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26130 hidden libm prototypes.
26131 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26132 * math/Makefile (libm-calls): Add s_issignaling.
26133 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26134 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26135 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26136 declaration.
26137 * math/math.h [__USE_GNU] (issignaling): New macro.
26138 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26139 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26141 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26142 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26143 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26144 * manual/arith.texi (issignaling): New section.
26145 * manual/libm-err-tab.pl (@all_functions): Update comment.
26146 * math/gen-libm-test.pl (parse_args): Apply special handling for
26147 issignaling.
26148 * math/libm-test.inc (print_float, issignaling_test): New
26149 functions.
26150 (check_float_internal): Add issignaling checks.
26151 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26152 default definition.
26153 * sysdeps/powerpc/math-tests.h: New file.
26154 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26155 tests.
26156 * math/test-snan.c (TEST_FUNC): Likewise.
26157
26158 2013-03-30 David S. Miller <davem@davemloft.net>
26159
26160 * po/de.po: Update from translation team.
26161
26162 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26163
26164 [BZ #10357]
26165 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26166 imaginary part less than 1.0 and real part less than 0.5
26167 specially.
26168 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26169 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26170 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26171 (cacos_test): Add more tests.
26172 (casin_test): Likewise.
26173 (casinh_test): Likewise.
26174 * sysdeps/i386/fpu/libm-test-ulps: Update.
26175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26176
26177 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26178
26179 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26180 ONE with its value.
26181
26182 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26183 (__pow_mp): Replace ONE and MONE with their values.
26184 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26186 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26187 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26188 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26189 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26190
26191 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26192
26193 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26194 (__pow_mp): Replace ZERO and MZERO with their values.
26195 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26196 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26197 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26199 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26200 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26201 (__sqr): Likewise.
26202
26203 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26204
26205 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26206
26207 2013-03-28 Roland McGrath <roland@hack.frob.com>
26208
26209 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26210 Declare with __attribute__ ((weak)).
26211 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26212 Call __call_tls_dtors only if it's not NULL.
26213
26214 2013-03-28 Roland McGrath <roland@hack.frob.com>
26215
26216 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26217 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26218 magic __ehdr_start linker symbol if it's defined.
26219 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26220 them up here if it was already done.
26221
26222 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26223 (_dl_aux_init): Use const in cast when setting it.
26224 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26225 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26226 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26227
26228 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26229 Declare them here.
26230 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26231 * csu/libc-tls.c: Nor here.
26232 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26233
26234 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26235 (__libc_message): Never call vsyslog.
26236
26237 2013-03-28 Alan Modra <amodra@gmail.com>
26238
26239 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26240 Define as empty.
26241 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26242 Likewise.
26243
26244 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26245
26246 [BZ #15214]
26247 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26248 underflow.
26249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26250
26251 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26252
26253 [BZ #15304]
26254 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26255 Don't add gid passed as argument.
26256
26257 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26258
26259 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26260
26261 [BZ #15307]
26262 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26263 imaginary part between 1.0 and 1.5 and real part less than 0.5
26264 specially.
26265 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26266 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26267 * math/libm-test.inc (cacos_test): Add more tests.
26268 (casin_test): Likewise.
26269 (casinh_test): Likewise.
26270 * sysdeps/i386/fpu/libm-test-ulps: Update.
26271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26272
26273 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26274
26275 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26276 constants.
26277 (norm): Likewise.
26278 (denorm): Likewise.
26279 (__dbl_mp): Likewise.
26280 (add_magnitudes): Likewise.
26281 (sub_magnitudes): Likewise.
26282 (__add): Likewise.
26283 (__sub): Likewise.
26284 (__mul): Likewise.
26285 (__sqr): Likewise.
26286 (__inv): Likewise.
26287 (__dvd): Likewise.
26288
26289 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26290 commented code.
26291 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26292 (__dubcos): Likewise.
26293 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26294 (__ieee754_acos): Likewise.
26295 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26296 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26297 (__exp1): Likewise.
26298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26300 (log1): Likewise.
26301 (my_log2): Likewise.
26302 (checkint): Likewise.
26303 * sysdeps/ieee754/dbl-64/e_remainder.c
26304 (__ieee754_remainder): Likewise.
26305 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26307 (bsloww): Likewise.
26308 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26309
26310 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26311 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26312 MANTISSA_STORE_T to store computations on mantissa. Use
26313 macros for rounding and division.
26314 (denorm): Likewise.
26315 (__dbl_mp): Likewise.
26316 (add_magnitudes): Likewise.
26317 (sub_magnitudes): Likewise.
26318 (__mul): Likewise.
26319 (__sqr): Likewise.
26320 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26321 powers of two in terms of TWOPOW macro.
26322 (mp_no): Make type of mantissa as MANTISSA_T.
26323 [!RADIXI]: Define RADIXI.
26324 [!TWO52]: Define TWO52.
26325 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26326
26327 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26328
26329 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26330 llroundl symbol when building for PPC32.
26331
26332 2013-03-24 Mark H Weaver <mhw@netris.org>
26333
26334 * manual/arith.texi (Normalization Functions): Fix prototypes for
26335 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26336
26337 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26338
26339 [BZ #13889]
26340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26341 high value to check if expl overflow.
26342 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26343 to check for underflow and overflow.
26344 * math/libm-test.inc: Add exp test.
26345
26346 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26347
26348 [BZ #11120]
26349 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26350 with NOT_IN_libc.
26351
26352 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26353
26354 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26355 symbol.
26356
26357 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26358
26359 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26360 wrap blocks consisting of several statements.
26361
26362 * sysdeps/generic/math-tests.h: New file.
26363 * sysdeps/i386/fpu/math-tests.h: Likewise.
26364 * math/test-snan.c: Include it.
26365 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26366
26367 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26368
26369 [BZ #15285]
26370 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26371 (__ieee754_j0l): Do not improve calculations using cos of twice
26372 input for inputs above LDBL_MAX / 2.0L.
26373 (__ieee754_y0l): Likewise.
26374 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26375 (__ieee754_j1l): Do not improve calculations using cos of twice
26376 input for inputs above LDBL_MAX / 2.0L.
26377 (__ieee754_y1l): Likewise.
26378 * math/libm-test.inc (j0_test): Add another test.
26379 (j1_test): Likewise.
26380 (y0_test): Likewise.
26381 (y1_test): Likewise.
26382 * sysdeps/i386/fpu/libm-test-ulps: Update.
26383
26384 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26385
26386 * Rules ($(objpfx)bench-%.c): Include code from a C source
26387 file.
26388
26389 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26390
26391 [BZ #15287]
26392 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26393 imaginary part 1.0 and real part less than 0.5 specially.
26394 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26395 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26396 * math/libm-test.inc (cacos_test): Add more tests.
26397 (casin_test): Likewise.
26398 (casinh_test): Likewise.
26399 * sysdeps/i386/fpu/libm-test-ulps: Update.
26400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26401
26402 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26403
26404 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26405 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26406
26407 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26408
26409 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26410 * config.make.in (config-cflags-sse4): Remove variable.
26411 (config-cflags-avx): Likewise.
26412 (config-cflags-sse2avx): Likewise.
26413 (config-cflags-novzeroupper): Likewise.
26414 (config-asflags-i686): Likewise.
26415 (have-mfma4): Likewise.
26416 (have-as-vis3): Likewise.
26417 (MIG): Likewise.
26418 * configure.in (MIG): Do not AC_SUBST.
26419 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26420 (libc_cv_cc_sse4): Do not AC_SUBST.
26421 (libc_cv_cc_avx): Likewise.
26422 (libc_cv_cc_sse2avx): Likewise.
26423 (libc_cv_cc_novzeroupper): Likewise.
26424 (libc_cv_cc_fma4): Likewise.
26425 (libc_cv_as_i686): Likewise.
26426 (libc_cv_sparc_as_vis3): Likewise.
26427 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26428 LIBC_CONFIG_VAR.
26429 (config-asflags-i686): Likewise.
26430 (config-cflags-avx): Likewise.
26431 (config-cflags-sse2avx): Likewise.
26432 (have-mfma4): Likewise.
26433 (config-cflags-novzeroupper): Likewise.
26434 * sysdeps/mach/configure.in (MIG): Likewise.
26435 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26436 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26437 LIBC_CONFIG_VAR.
26438 (config-cflags-avx): Likewise.
26439 (config-cflags-sse2avx): Likewise.
26440 (have-mfma4): Likewise.
26441 (config-cflags-novzeroupper): Likewise.
26442 * configure: Regenerated.
26443 * sysdeps/i386/configure: Likewise.
26444 * sysdeps/mach/configure: Likewise.
26445 * sysdeps/sparc/configure: Likewise.
26446 * sysdeps/x86_64/configure: Likewise.
26447
26448 2013-03-20 Roland McGrath <roland@hack.frob.com>
26449
26450 [BZ #14812]
26451 * locale/programs/localedef.c (options): Put N_ translation marker
26452 on argument names, not just descriptions.
26453
26454 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26455
26456 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26457
26458 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26459
26460 [BZ #14176]
26461 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26462
26463 2013-03-19 Roland McGrath <roland@hack.frob.com>
26464
26465 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26466 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26467 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26468 [!BEFORE_ABORT] (before_abort): New function.
26469 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26470 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26471 (writev_for_fatal): New function.
26472 (WRITEV_FOR_FATAL): New macro; call that.
26473 (backtrace_and_maps): New function.
26474 (BEFORE_ABORT): New macro; call that.
26475 (struct str_list): Type removed.
26476 (__libc_message, __libc_fatal): Functions removed.
26477 Include <sysdeps/posix/libc_fatal.c> instead.
26478
26479 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26480
26481 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26482 constants.
26483 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26484 double constants.
26485
26486 2013-03-19 Andreas Schwab <schwab@suse.de>
26487
26488 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26489 * sysdeps/gnu/configure: Regenerate.
26490
26491 * configure.in: Substitute libc_cv_rtlddir.
26492 * configure: Regenerate.
26493 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26494 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26495 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26496 * elf/Makefile (install-others, CFLAGS-interp.c)
26497 (ldso_install, common-ldd-rewrite): Likewise.
26498 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26499 $(inst_slibdir)/$(rtld-installed-name).
26500 * scripts/rellns-sh: Add -p option.
26501 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26502 for source.
26503
26504 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26505
26506 * manual/nptl.texi: Renamed to ...
26507 * manual/threads.texi: ... this.
26508 * manual/Makefile (chapters): Update.
26509
26510 2013-03-18 Roland McGrath <roland@hack.frob.com>
26511
26512 [BZ #14812]
26513 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26514 on argument names, not just descriptions.
26515 * malloc/memusagestat.c (options): Likewise.
26516 * nss/getent.c (options): Likewise.
26517
26518 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26519
26520 [BZ #14812]
26521 * iconv/iconv_prog.c (options): Put N_ translation marker
26522 on argument names, not just descriptions.
26523 * iconv/iconvconfig.c (options): Likewise.
26524
26525 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26526
26527 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26528 implementation which is faster on all x86_64 architectures.
26529 Tested on AMD, Intel Nehalem, SNB, IVB.
26530 * sysdeps/x86_64/strnlen.S: Likewise.
26531
26532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26533 Remove all multiarch strlen and strnlen versions.
26534 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26535 Remove strlen and strnlen related parts.
26536
26537 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26538 Inline strlen part.
26539 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26540
26541 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26542 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26543 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26544 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26545 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26546 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26547
26548 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26549
26550 * manual/memory.texi (Malloc Tunable Parameters):
26551 Sort parameters alphabetically. Add comments for missing entries.
26552
26553 2013-03-17 David S. Miller <davem@davemloft.net>
26554
26555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26556
26557 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26558
26559 [BZ #15283]
26560 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26561 for arguments at most half maximum finite value.
26562 * math/libm-test.inc (j0_test): Add more tests.
26563 (j1_test): Likewise.
26564 (y0_test): Likewise.
26565 (y1_test): Likewise.
26566 * sysdeps/i386/fpu/libm-test-ulps: Update.
26567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26568
26569 [BZ #14155]
26570 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26571 1 / x and functions P and Q for arguments above 0x1p256L.
26572 (__ieee754_y0l): Likewise.
26573 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26574 (__ieee754_y1l): Likewise.
26575 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26576 (j1_test): Likewise.
26577 (y0_test): Likewise.
26578 (y1_test): Likewise.
26579
26580 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26581
26582 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26583 variable.
26584
26585 2013-03-15 Roland McGrath <roland@hack.frob.com>
26586
26587 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26588 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26589 zero since it's initialized to EXEC_PAGESIZE.
26590
26591 * sysdeps/unix/sysv/linux/ldsodefs.h
26592 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26593 * sysdeps/generic/ldsodefs.h: ... here.
26594
26595 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26596
26597 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26598
26599 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26600 math/test-snan.c.
26601 * math/test-snan.c: Renamed from
26602 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26603 * math/Makefile (tests): Add test-snan.
26604 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26605 test-powerpc-snan.
26606
26607 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26608 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26609 functions.
26610 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26611 __builtin_nan family of functions.
26612 * math/libm-test.inc (initialize): Initialize qnan_value with
26613 __builtin_nan family of functions.
26614 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26615 Remove variables.
26616 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26617 Remove functions.
26618 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26619 storage class. Initialize qNaN_var and sNaN_var with
26620 __builtin_nan and __builtin_nans families of functions,
26621 respectively.
26622
26623 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26624 (sqrt_test): Remove duplicate test with qNaN input.
26625 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26626 (round_test, signbit_test, significand_test): Note missing +/-Inf
26627 as well as qNaN tests.
26628
26629 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26630 qNaN_var. Fix a few strings, too.
26631 * math/libm-test.inc (nan_value): Rename to qnan_value.
26632 * math/gen-libm-test.pl (%beautify): Adjust to that.
26633 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26634 * math/test-misc.c (main): Likewise.
26635 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26636 to __qnan_bytes, and __qnan_union, respectively.
26637 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26638 Likewise.
26639 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26640 and lqnanval, respectively.
26641 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26642 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26643 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26644 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26645
26646 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26647 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26648 doubles.
26649
26650 * math/test-misc.c (main): Fix copy'n'pastos.
26651 * misc/tst-efgcvt.c (special): Likewise.
26652
26653 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26654 Remove declarations.
26655
26656 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26657
26658 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26659 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26660 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26661 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26662
26663 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26664
26665 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26666 macro to return vdso values correctly in IFUNC implementations.
26667 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26668 Optimization by using IFUNC.
26669
26670 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26671 Richard Henderson <rth@redhat.com>
26672 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26673
26674 * Makefile.in (bench): New target.
26675 * NEWS: Mention the benchmark framework.
26676 * Rules (bench): Likewise.
26677 (binaries-bench): Generate binaries for functions to
26678 benchmark.
26679 * benchtests/Makefile: New makefile for benchmark tests.
26680 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26681 programs.
26682 * benchtests/exp-inputs: New input file for EXP function.
26683 * benchtests/pow-inputs: New input file for POW function.
26684 * scripts/bench.pl: New script to generate source files for
26685 benchmark programs.
26686
26687 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26688
26689 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26690 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26691 computations on mantissa. Use macros for rounding and
26692 division.
26693 (denorm): Likewise.
26694 (__dbl_mp): Likewise.
26695 (add_magnitudes): Likewise.
26696 (sub_magnitudes): Likewise.
26697 (__mul): Likewise.
26698 (__sqr): Likewise.
26699 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26700 powers of two in terms of TWOPOW macro.
26701 (mp_no): Make type of mantissa as MANTISSA_T.
26702 [!RADIXI]: Define RADIXI.
26703 [!TWO52]: Define TWO52.
26704 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26705
26706 * manual/nptl.texi (cindex): Modify threads to pthreads.
26707
26708 2013-03-15 Joseph Myers <joseph@codesourcery.com>
26709
26710 * sysdeps/x86_64/preconfigure: Regenerated.
26711
26712 2013-03-14 Joseph Myers <joseph@codesourcery.com>
26713
26714 [BZ #14155]
26715 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26716 0x1p28 and above.
26717 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26718 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26719 0x1p28 and above.
26720 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26721 * math/libm-test.inc (j0_test): Do not allow one spurious
26722 underflow exception.
26723 (y1_test): Likewise.
26724
26725 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26726
26727 * manual/Makefile (chapters): Add nptl.
26728 * manual/debug.texi (Debugging Support): Add link to Threads
26729 chapter.
26730 * manual/nptl.texi: New file.
26731
26732 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26733
26734 2013-03-14 Petr Baudis <pasky@ucw.cz>
26735
26736 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26737 for non-NULL pointer before the memory validity test. Pointed
26738 out by Holger Brunck <holger.brunck@keymile.com>.
26739
26740 2013-03-13 Andreas Schwab <schwab@suse.de>
26741
26742 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26743 instead of .os.
26744
26745 2013-03-13 Joseph Myers <joseph@codesourcery.com>
26746
26747 * timezone/zic.c: Update from tzcode 2013b.
26748
26749 2013-03-12 Carlos O'Donell <carlos@redhat.com>
26750
26751 * manual/install.texi (Configuring and compiling):
26752 Mention i686 and i586.
26753 * INSTALL: Regenerate.
26754
26755 2013-03-12 Roland McGrath <roland@hack.frob.com>
26756
26757 * sysdeps/init_array/elf-init.c: New file.
26758 * csu/elf-init.c
26759 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26760 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26761
26762 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26763 __gmon_start__ as global, but as static with a .preinit_array pointer.
26764 * sysdeps/init_array/gmon-start.c: New file. Use that.
26765 * sysdeps/init_array/crti.S: New file, empty except for comments.
26766 * sysdeps/init_array/crtn.S: Likewise.
26767
26768 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
26769
26770 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26771 definining bcopy.
26772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26773 Remove Prefer_SSE_for_memop.
26774 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26775 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26776 HAS_PREFER_SSE_FOR_MEMOP.
26777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26778 memset-x86-64.
26779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26780 Remove bzero, memset ifunc support.
26781 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26782 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26783 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26784 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26785
26786 2013-03-11 Andreas Schwab <schwab@suse.de>
26787
26788 [BZ #15234]
26789 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26790 by SHLIB_COMPAT.
26791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26792 (GLIBC_2.16): Remove pthread_atfork.
26793
26794 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26795
26796 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26797 (ptestcases.h): Likewise.
26798
26799 2013-03-08 Roland McGrath <roland@hack.frob.com>
26800
26801 * Makeconfig ($(common-objpfx)config.status): Depend on
26802 sysdeps/*/preconfigure{,.in} too.
26803
26804 2013-03-08 Joseph Myers <joseph@codesourcery.com>
26805
26806 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26807 (__free_hook): Use void * instead of __malloc_ptr_t.
26808 (__malloc_hook): Likewise.
26809 (__realloc_hook): Likewise.
26810 (__memalign_hook): Likewise.
26811 (__after_morecore_hook): Likewise.
26812 * malloc/arena.c (save_malloc_hook): Likewise.
26813 (save_free_hook): Likewise.
26814 * malloc/hooks.c (malloc_hook_ini): Likewise.
26815 (realloc_hook_ini): Likewise.
26816 (memalign_hook_ini): Likewise.
26817 * malloc/malloc.c (malloc_hook_ini): Likewise.
26818 (realloc_hook_ini): Likewise.
26819 (memalign_hook_ini): Likewise.
26820 (__free_hook): Likewise.
26821 (__malloc_hook): Likewise.
26822 (__realloc_hook): Likewise.
26823 (__memalign_hook): Likewise.
26824 (__libc_malloc): Likewise.
26825 (__libc_free): Likewise.
26826 (__libc_realloc): Likewise.
26827 (__libc_memalign): Likewise.
26828 (__libc_valloc): Likewise.
26829 (__libc_pvalloc): Likewise.
26830 (__libc_calloc): Likewise.
26831 (__posix_memalign): Likewise.
26832 * malloc/morecore.c (__sbrk): Likewise.
26833 (__default_morecore): Likewise.
26834
26835 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26836
26837 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26838 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26839 __malloc_ptrdiff_t.
26840
26841 * malloc/malloc.h (__malloc_size_t): Remove macro.
26842 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26843 __malloc_size_t.
26844 (old_memalign_hook): Likewise.
26845 (old_realloc_hook): Likewise.
26846 (struct hdr): Likewise.
26847 (flood): Likewise.
26848 (mallochook): Likewise.
26849 (memalignhook): Likewise.
26850 (reallochook): Likewise.
26851 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26852 (tr_old_realloc_hook): Likewise.
26853 (tr_old_memalign_hook): Likewise.
26854 (tr_mallochook): Likewise.
26855 (tr_reallochook): Likewise.
26856 (tr_memalignhook): Likewise.
26857
26858 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26859
26860 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26861 default_ldbl_pack and using as default implementation.
26862 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26863 implementation.
26864 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26865 redundant definition.
26866 (ldbl_insert_mantissa): Likewise.
26867 (ldbl_canonicalize): Likewise.
26868 (ldbl_nearbyint): Likewise.
26869 (ldbl_pack): Rename to ldbl_pack_ppc.
26870 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26871 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26872 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26873
26874 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26875
26876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26877 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26878 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26879 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26881 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26882 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26883 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26884
26885 2013-03-07 Andreas Jaeger <aj@suse.de>
26886
26887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26888 bits/mman-linux.h.
26889
26890 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26891
26892 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26893 Include mpa.h and declare __MPEXP.
26894 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26895 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26896 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26897 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26898 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26899 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26900 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26901
26902 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26903 (__slowpow): Use long double EXPL and LOGL functions to
26904 compute POW.
26905 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26906 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26907 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26908 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26909 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26910 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26911
26912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26913 intermediate variable to calculate exponent.
26914 (__sqr): Likewise.
26915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26916 Likewise.
26917 (__sqr): Likewise.
26918
26919 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26920 [!NO__SQR]: Define __sqr.
26921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26922 and NO__SQR. Remove all code except __mul and __sqr. Include
26923 sysdeps/ieee754/dbl-64/mpa.c.
26924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26925
26926 [BZ #12723]
26927 * posix/Makefile (tests): Add tst-pathconf.
26928 * posix/tst-pathconf.c: New test case.
26929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26930 _PC_PIPE_BUF.
26931 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26932
26933 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
26934
26935 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26936
26937 2013-03-06 Andreas Jaeger <aj@suse.de>
26938
26939 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26940 definition via __MAP_ANONYMOUS.
26941
26942 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26943 it's not part of Linux headers.
26944
26945 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26946 (MAP_HUGE_MASK): Define.
26947
26948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26949 Define.
26950 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26952 Define.
26953 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26954 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26955 Define.
26956 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26958 Define.
26959 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26960
26961 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26962 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26963 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26964 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26965 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26966 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26967
26968 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26969 Handle f2fs.
26970
26971 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26972 Handle f2fs and efivarfs.
26973
26974 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26975 f2fs.
26976
26977 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26978 (EFIVARFS_MAGIC): Add.
26979 (F2FS_LINK_MAX): Add.
26980
26981 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26982
26983 * stdio-common/vfprintf.c: Replace __builtin_expect with
26984 __glibc_unlikely.
26985
26986 2013-03-06 Joseph Myers <joseph@codesourcery.com>
26987
26988 [BZ #13550]
26989 * sysdeps/generic/bp-sym.h: Remove file.
26990 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26991 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26992 <bp-sym.h> and <bp-asm.h>.
26993 (__longjmp): Don't use BP_SYM.
26994 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26995 and <bp-asm.h>.
26996 (memcpy): Don't use BP_SYM.
26997 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26998 <bp-sym.h> and <bp-asm.h>.
26999 (memcpy): Don't use BP_SYM.
27000 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27001 <bp-asm.h>.
27002 (memcpy): Don't use BP_SYM.
27003 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27004 <bp-asm.h>.
27005 (memset): Don't use BP_SYM.
27006 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27007 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27008 (__bzero): Don't use BP_SYM.
27009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27011 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27012 <bp-sym.h> and <bp-asm.h>.
27013 (memcmp): Don't use BP_SYM. Remove comment about bounded
27014 pointers.
27015 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27016 <bp-sym.h> and <bp-asm.h>.
27017 (memcpy): Don't use BP_SYM.
27018 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27019 <bp-sym.h> and <bp-asm.h>.
27020 (memset): Don't use BP_SYM.
27021 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27022 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27023 (__bzero): Don't use BP_SYM.
27024 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27025 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27026 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27027 <bp-sym.h> and <bp-asm.h>.
27028 (strncmp): Don't use BP_SYM. Remove comment about bounded
27029 pointers.
27030 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27031 <bp-sym.h> and <bp-asm.h>.
27032 (memcpy): Don't use BP_SYM.
27033 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27034 <bp-sym.h> and <bp-asm.h>.
27035 (memset): Don't use BP_SYM.
27036 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27037 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27038 (__bzero): Don't use BP_SYM.
27039 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27040 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27041 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27042 <bp-sym.h> and <bp-asm.h>.
27043 (__memchr): Don't use BP_SYM.
27044 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27045 <bp-sym.h> and <bp-asm.h>.
27046 (memcmp): Don't use BP_SYM. Remove comment about bounded
27047 pointers.
27048 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27049 <bp-sym.h> and <bp-asm.h>.
27050 (memcpy): Don't use BP_SYM.
27051 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27052 <bp-sym.h> and <bp-asm.h>.
27053 (__mempcpy): Don't use BP_SYM.
27054 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27055 <bp-sym.h> and <bp-asm.h>.
27056 (__memrchr): Don't use BP_SYM.
27057 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27058 <bp-sym.h> and <bp-asm.h>.
27059 (memset): Don't use BP_SYM.
27060 (__bzero): Likewise.
27061 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27062 <bp-sym.h> and <bp-asm.h>.
27063 (__rawmemchr): Don't use BP_SYM.
27064 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27065 <bp-sym.h> and <bp-asm.h>.
27066 (__STRCMP): Don't use BP_SYM.
27067 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27068 <bp-sym.h> and <bp-asm.h>.
27069 (strchr): Don't use BP_SYM.
27070 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27071 <bp-sym.h> and <bp-asm.h>.
27072 (__strchrnul): Don't use BP_SYM.
27073 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27074 <bp-sym.h> and <bp-asm.h>.
27075 (strlen): Don't use BP_SYM.
27076 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27077 <bp-sym.h> and <bp-asm.h>.
27078 (strncmp): Don't use BP_SYM. Remove comment about bounded
27079 pointers.
27080 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27081 <bp-sym.h> and <bp-asm.h>.
27082 (__strnlen): Don't use BP_SYM.
27083 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27084 <bp-sym.h> and <bp-asm.h>.
27085 (__GI__setjmp): Don't use BP_SYM.
27086 (_setjmp): Likewise.
27087 (__sigsetjmp): Likewise.
27088 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27089 (L(start_addresses)): Don't use BP_SYM.
27090 (_start): Likewise.
27091 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27092 <bp-asm.h>.
27093 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27094 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27095 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27096 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27097 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27098 <bp-asm.h>.
27099 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27100 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27101 about bounded pointers.
27102 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27103 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27104 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27105 <bp-asm.h>.
27106 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27107 about bounded pointers. Remove GKM FIXME comments.
27108 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27109 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27110 <bp-asm.h>.
27111 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27112 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27113 Remove GKM FIXME comments.
27114 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27115 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27116 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27117 <bp-asm.h>.
27118 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27119 about bounded pointers. Remove GKM FIXME comment.
27120 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27121 and <bp-asm.h>.
27122 (strncmp): Don't use BP_SYM. Remove comment about bounded
27123 pointers.
27124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27125 <bp-sym.h> and <bp-asm.h>.
27126 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27128 <bp-sym.h> and <bp-asm.h>.
27129 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27130 comment.
27131
27132 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27133
27134 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27135 call free(NULL).
27136
27137 2013-03-05 David S. Miller <davem@davemloft.net>
27138
27139 * po/es.po: Update from translation team.
27140
27141 2013-03-05 Andreas Jaeger <aj@suse.de>
27142
27143 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27144 <bits/mman-linux.h>.
27145 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27146 is fine.
27147 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27148 <bits/mman-linux.h> to end of file.
27149 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27150 is fine.
27151 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27152 <bits/mman-linux.h> to end of file.
27153 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27154 is fine.
27155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27156 <bits/mman-linux.h> to end of file.
27157
27158 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27159 (MCL_CURRENT, MCL_FUTURE): Define here.
27160
27161 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27162
27163 [BZ #15232]
27164 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27165 attribute_hidden.
27166 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27167
27168 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27169
27170 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27171 fourth parameter needed for rt_sigprocmask syscall.
27172 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27173 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27174 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27175 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27176 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27177 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27178
27179 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27180
27181 [BZ #13550]
27182 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27183 comment about bounded pointers.
27184 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27185 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27186
27187 2013-03-04 Andreas Jaeger <aj@suse.de>
27188
27189 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27190 common definitions.
27191
27192 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27193 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27194 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27195 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27196 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27197 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27198
27199 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27200
27201 [BZ #15055]
27202 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27203 __ieee754_sqrl instead of __sqrl.
27204
27205 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27206
27207 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27208 * sysdeps/powerpc/fpu_control.h: ... here.
27209 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27210 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27211 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27212 * sysdeps/powerpc/bits/mathinline.h: ... here.
27213
27214 2013-03-01 Roland McGrath <roland@hack.frob.com>
27215
27216 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27217 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27218 to just [NEED_DL_SYSINFO_DSO].
27219 * elf/dl-support.c: Likewise.
27220 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27221 * elf/rtld.c (dl_main): Likewise.
27222 * elf/setup-vdso.h (setup_vdso): Likewise.
27223 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27224 * sysdeps/unix/sysv/linux/dl-sysdep.c
27225 (_dl_discover_osversion): Likewise.
27226
27227 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27228
27229 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27230 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27231
27232 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27233
27234 * NEWS: Mention libm performance improvements and non-x86 PI
27235 futex support.
27236
27237 * csu/libc-start.c (__pthread_initialize_minimal): Change
27238 function arguments.
27239 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27240
27241 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27242
27243 [BZ #13550]
27244 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27245 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27246 <bp-sym.h> and <bp-asm.h>.
27247 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27248 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27249 and <bp-asm.h>.
27250 (memcpy): Don't use BP_SYM.
27251 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27252 <bp-asm.h>.
27253 (__mpn_add_n): Don't use BP_SYM.
27254 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27255 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27256 and <bp-asm.h>.
27257 (__mpn_addmul_1): Don't use BP_SYM.
27258 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27259 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27260 <bp-sym.h>.
27261 (_setjmp): Don't use BP_SYM.
27262 (__novmx_setjmp): Likewise.
27263 (__GI__setjmp): Likewise.
27264 (__vmx_setjmp): Likewise.
27265 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27266 <bp-sym.h>.
27267 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27268 (__bzero): Don't use BP_SYM.
27269 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27270 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27271 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27272 <bp-sym.h> and <bp-asm.h>.
27273 (memcpy): Don't use BP_SYM.
27274 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27275 <bp-sym.h> and <bp-asm.h>.
27276 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27277 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27278 <bp-sym.h> and <bp-asm.h>.
27279 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27280 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27281 <bp-asm.h>.
27282 (__mpn_lshift): Don't use BP_SYM.
27283 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27284 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27285 <bp-asm.h>.
27286 (memset): Don't use BP_SYM.
27287 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27288 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27289 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27290 <bp-asm.h>.
27291 (__mpn_mul_1): Don't use BP_SYM.
27292 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27293 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27294 <bp-sym.h> and <bp-asm.h>.
27295 (memcmp): Don't use BP_SYM.
27296 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27297 <bp-sym.h> and <bp-asm.h>.
27298 (memcpy): Don't use BP_SYM.
27299 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27300 <bp-sym.h> and <bp-asm.h>.
27301 (memset): Don't use BP_SYM.
27302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27303 <bp-sym.h> and <bp-asm.h>.
27304 (strncmp): Don't use BP_SYM.
27305 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27306 <bp-sym.h> and <bp-asm.h>.
27307 (memcpy): Don't use BP_SYM.
27308 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27309 <bp-sym.h> and <bp-asm.h>.
27310 (memset): Don't use BP_SYM.
27311 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27312 <bp-sym.h> and <bp-asm.h>.
27313 (__memchr): Don't use BP_SYM.
27314 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27315 <bp-sym.h> and <bp-asm.h>.
27316 (memcmp): Don't use BP_SYM.
27317 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27318 <bp-sym.h> and <bp-asm.h>.
27319 (memcpy): Don't use BP_SYM.
27320 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27321 <bp-sym.h> and <bp-asm.h>.
27322 (__mempcpy): Don't use BP_SYM.
27323 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27324 <bp-sym.h> and <bp-asm.h>.
27325 (__memrchr): Don't use BP_SYM.
27326 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27327 <bp-sym.h> and <bp-asm.h>.
27328 (memset): Don't use BP_SYM.
27329 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27330 <bp-sym.h> and <bp-asm.h>.
27331 (__rawmemchr): Don't use BP_SYM.
27332 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27333 <bp-sym.h> and <bp-asm.h>.
27334 (__STRCMP): Don't use BP_SYM.
27335 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27336 <bp-sym.h> and <bp-asm.h>.
27337 (strchr): Don't use BP_SYM.
27338 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27339 <bp-sym.h> and <bp-asm.h>.
27340 (__strchrnul): Don't use BP_SYM.
27341 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27342 <bp-sym.h> and <bp-asm.h>.
27343 (strlen): Don't use BP_SYM.
27344 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27345 <bp-sym.h> and <bp-asm.h>.
27346 (strncmp): Don't use BP_SYM.
27347 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27348 <bp-sym.h> and <bp-asm.h>.
27349 (__strnlen): Don't use BP_SYM.
27350 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27351 <bp-asm.h>.
27352 (__mpn_rshift): Don't use BP_SYM.
27353 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27354 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27355 <bp-sym.h> and <bp-asm.h>.
27356 (__sigsetjmp): Don't use BP_SYM.
27357 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27358 (L(start_addresses)): Don't use BP_SYM.
27359 (_start): Likewise.
27360 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27361 <bp-asm.h>.
27362 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27363 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27364 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27365 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27366 <bp-asm.h>.
27367 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27368 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27369 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27370 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27371 <bp-asm.h>.
27372 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27373 comments.
27374 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27375 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27376 <bp-asm.h>.
27377 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27378 FIXME comments.
27379 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27380 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27381 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27382 <bp-asm.h>.
27383 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27384 comment.
27385 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27386 and <bp-asm.h>.
27387 (strncmp): Don't use BP_SYM,
27388 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27389 <bp-asm.h>.
27390 (__mpn_sub_n): Don't use BP_SYM.
27391 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27392 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27393 and <bp-asm.h>.
27394 (__mpn_submul_1): Don't use BP_SYM.
27395 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27397 <bp-sym.h> and <bp-asm.h>.
27398 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27400 <bp-sym.h> and <bp-asm.h>.
27401 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27402 comment.
27403
27404 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27405
27406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27407 Use ZK to minimize writes to Z.
27408 (sub_magnitudes): Simplify code a bit.
27409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27410 Use ZK to minimize writes to Z.
27411 (sub_magnitudes): Simplify code a bit.
27412
27413 2013-02-27 Roland McGrath <roland@hack.frob.com>
27414
27415 * csu/gmon-start.c: Add special exception to license text.
27416
27417 2013-02-27 Richard Henderson <rth@redhat.com>
27418
27419 * scripts/config.guess: Update from config.git.
27420 * scripts/config.sub: Likewise.
27421
27422 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27423
27424 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27425
27426 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27427
27428 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27429
27430 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27431
27432 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27433
27434 2013-02-26 Roland McGrath <roland@hack.frob.com>
27435
27436 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27437 [$(build-shared = yes].
27438
27439 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27440
27441 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27442 (__mul): Reduce iterations for calculating mantissa.
27443
27444 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27445 MPTWO.
27446 (__mpranred): Likewise.
27447
27448 [BZ #15160]
27449 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27450 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27451
27452 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27453
27454 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27455 Define __attribute__.
27456
27457 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27458
27459 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27460 unused.
27461 * posix/regex_internal.h (__attribute): Remove.
27462 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27463 (re_string_context_at): Likewise.
27464 (bitset_not): Use __attribute__ and mark function as possibly
27465 unused.
27466 (bitset_merge): Likewise.
27467 (bitset_mask): Likewise.
27468 (re_string_char_size_at): Likewise.
27469 (re_string_wchar_at): Likewise.
27470 (re_string_elem_size_at): Likewise.
27471
27472 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27473
27474 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27475 code.
27476 (cc32): Likewise.
27477
27478 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27479 (__acr): Likewise.
27480 (__cpy): Likewise.
27481 (norm): Likewise.
27482 (denorm): Likewise.
27483 (__dbl_mp): Likewise.
27484 (add_magnitudes): Likewise.
27485 (sub_magnitudes): Likewise.
27486 (__mul): Likewise.
27487 (__inv): Likewise.
27488
27489 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27490 style.
27491
27492 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27493 style.
27494
27495 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27496 code.
27497
27498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27499 up changes with default code.
27500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27501 Likewise.
27502
27503 2013-02-24 Allan McRae <allan@archlinux.org>
27504
27505 * manual/socket.texi (The Internet Namespace): Order menu items
27506 to match that in the file.
27507
27508 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27509 node listing of the info page menu.
27510
27511 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27512
27513 [BZ #13550]
27514 * sysdeps/i386/bp-asm.h: Remove file.
27515 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27516 (PARMS): Do not use macros from bp-asm.h.
27517 (S1): Likewise.
27518 (S2): Likewise.
27519 (SIZE): Likewise.
27520 (__mpn_add_n): Do not use BP_SYM
27521 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27522 "bp-asm.h".
27523 (PARMS): Do not use macros from bp-asm.h.
27524 (S1): Likewise.
27525 (SIZE): Likewise.
27526 (__mpn_addmul_1): Do not use BP_SYM
27527 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27528 "bp-asm.h".
27529 (PARMS): Do not use macros from bp-asm.h.
27530 (SIGMSK): Likewise.
27531 (_setjmp): Likewise. Do not use BP_SYM.
27532 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27533 "bp-asm.h".
27534 (PARMS): Do not use macros from bp-asm.h.
27535 (SIGMSK): Likewise.
27536 (setjmp): Likewise. Do not use BP_SYM.
27537 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27538 "bp-asm.h".
27539 (PARMS): Do not use macros from bp-asm.h.
27540 (__frexp): Do not use BP_SYM.
27541 (frexp): Likewise.
27542 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27543 "bp-asm.h".
27544 (PARMS): Do not use macros from bp-asm.h.
27545 (__frexpf): Do not use BP_SYM.
27546 (frexpf): Likewise.
27547 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27548 "bp-asm.h".
27549 (PARMS): Do not use macros from bp-asm.h.
27550 (__frexpl): Do not use BP_SYM.
27551 (frexpl): Likewise.
27552 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27553 "bp-asm.h".
27554 (PARMS): Do not use macros from bp-asm.h.
27555 (__remquo): Do not use BP_SYM.
27556 (remquo): Likewise.
27557 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27558 "bp-asm.h".
27559 (PARMS): Do not use macros from bp-asm.h.
27560 (__remquof): Do not use BP_SYM.
27561 (remquof): Likewise.
27562 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27563 "bp-asm.h".
27564 (PARMS): Do not use macros from bp-asm.h.
27565 (__remquol): Do not use BP_SYM.
27566 (remquol): Likewise.
27567 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27568 "bp-asm.h".
27569 (PARMS): Do not use macros from bp-asm.h.
27570 (DEST): Likewise.
27571 (SRC): Likewise.
27572 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27573 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27574 "bp-asm.h".
27575 (PARMS): Do not use macros from bp-asm.h.
27576 (strlen): Do not use BP_SYM.
27577 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27578 "bp-asm.h".
27579 (PARMS): Do not use macros from bp-asm.h.
27580 (S1): Likewise.
27581 (S2): Likewise.
27582 (SIZE): Likewise.
27583 (__mpn_add_n): Do not use BP_SYM.
27584 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27585 "bp-asm.h".
27586 (PARMS): Do not use macros from bp-asm.h.
27587 (S1): Likewise.
27588 (SIZE): Likewise.
27589 (__mpn_addmul_1): Do not use BP_SYM.
27590 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27591 weak_alias.
27592 (bzero): Likewise.
27593 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27594 "bp-asm.h".
27595 (PARMS): Do not use macros from bp-asm.h.
27596 (S): Likewise.
27597 (SIZE): Likewise.
27598 (__mpn_lshift): Do not use BP_SYM.
27599 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27600 "bp-asm.h".
27601 (PARMS): Do not use macros from bp-asm.h.
27602 (DEST): Likewise.
27603 (SRC): Likewise.
27604 (LEN): Likewise.
27605 (memcpy): Likewise. Do not use BP_SYM.
27606 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27607 libc_hidden_def and weak_alias.
27608 (mempcpy): Do not use BP_SYM in weak_alias.
27609 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27610 "bp-asm.h".
27611 (PARMS): Do not use macros from bp-asm.h.
27612 (DEST): Likewise.
27613 (LEN): Likewise.
27614 [!BZERO_P] (CHR): Likewise.
27615 (memset): Likewise. Do not use BP_SYM.
27616 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27617 "bp-asm.h".
27618 (PARMS): Do not use macros from bp-asm.h.
27619 (S1): Likewise.
27620 (SIZE): Likewise.
27621 (__mpn_mul_1): Do not use BP_SYM.
27622 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27623 "bp-asm.h".
27624 (PARMS): Do not use macros from bp-asm.h.
27625 (S): Likewise.
27626 (SIZE): Likewise.
27627 (__mpn_rshift): Do not use BP_SYM.
27628 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27629 "bp-asm.h".
27630 (PARMS): Do not use macros from bp-asm.h.
27631 (STR): Likewise.
27632 (CHR): Likewise.
27633 (strchr): Likewise. Do not use BP_SYM.
27634 (index): Do not use BP_SYM in weak_alias.
27635 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27636 "bp-asm.h".
27637 (PARMS): Do not use macros from bp-asm.h.
27638 (DEST): Likewise.
27639 (SRC): Likewise.
27640 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27641 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27642 "bp-asm.h".
27643 (PARMS): Do not use macros from bp-asm.h.
27644 (strlen): Do not use BP_SYM.
27645 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27646 "bp-asm.h".
27647 (PARMS): Do not use macros from bp-asm.h.
27648 (S1): Likewise.
27649 (S2): Likewise.
27650 (SIZE): Likewise.
27651 (__mpn_sub_n): Do not use BP_SYM.
27652 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27653 "bp-asm.h".
27654 (PARMS): Do not use macros from bp-asm.h.
27655 (S1): Likewise.
27656 (SIZE): Likewise.
27657 (__mpn_submul_1): Do not use BP_SYM.
27658 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27659 "bp-asm.h".
27660 (PARMS): Do not use macros from bp-asm.h.
27661 (S1): Likewise.
27662 (S2): Likewise.
27663 (SIZE): Likewise.
27664 (__mpn_add_n): Do not use BP_SYM.
27665 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27666 weak_alias.
27667 (bzero): Likewise.
27668 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27669 "bp-asm.h".
27670 (PARMS): Do not use macros from bp-asm.h.
27671 (BLK2): Likewise.
27672 (LEN): Likewise.
27673 (memcmp): Do not use BP_SYM.
27674 (bcmp): Do not use BP_SYM in weak_alias.
27675 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27676 "bp-asm.h".
27677 (PARMS): Do not use macros from bp-asm.h.
27678 (DEST): Likewise.
27679 (SRC): Likewise.
27680 (LEN): Likewise.
27681 (memcpy): Likewise. Do not use BP_SYM.
27682 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27683 "bp-asm.h".
27684 (PARMS): Do not use macros from bp-asm.h.
27685 (DEST): Likewise.
27686 (SRC): Likewise.
27687 (LEN): Likewise.
27688 (memmove): Likewise. Do not use BP_SYM.
27689 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27690 "bp-asm.h".
27691 (PARMS): Do not use macros from bp-asm.h.
27692 (DEST): Likewise.
27693 (SRC): Likewise.
27694 (LEN): Likewise.
27695 (__mempcpy): Likewise. Do not use BP_SYM.
27696 (mempcpy): Do not use BP_SYM in weak_alias.
27697 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27698 "bp-asm.h".
27699 (PARMS): Do not use macros from bp-asm.h.
27700 (DEST): Likewise.
27701 (LEN): Likewise.
27702 [!BZERO_P] (CHR): Likewise.
27703 (memset): Likewise. Do not use BP_SYM.
27704 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27705 "bp-asm.h".
27706 (PARMS): Do not use macros from bp-asm.h.
27707 (STR2): Likewise.
27708 (strcmp): Do not use BP_SYM.
27709 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27710 "bp-asm.h".
27711 (PARMS): Do not use macros from bp-asm.h.
27712 (STR): Likewise.
27713 (DELIM): Likewise.
27714 [USE_AS_STRTOK_R] (SAVE): Likewise.
27715 (FUNCTION): Likewise. Do not use BP_SYM.
27716 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27717 aliases.
27718 (strtok_r): Likewise.
27719 (__GI___strtok_r): Likewise.
27720 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27721 (PARMS): Do not use macros from bp-asm.h.
27722 (S): Likewise.
27723 (SIZE): Likewise.
27724 (__mpn_lshift): Do not use BP_SYM.
27725 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27726 (PARMS): Do not use macros from bp-asm.h.
27727 (STR): Likewise.
27728 (CHR): Likewise.
27729 (__memchr): Do not use BP_SYM.
27730 (memchr): Do not use BP_SYM in weak_alias.
27731 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27732 (PARMS): Do not use macros from bp-asm.h.
27733 (BLK2): Likewise.
27734 (LEN): Likewise.
27735 (memcmp): Do not use BP_SYM.
27736 (bcmp): Do not use BP_SYM in weak_alias.
27737 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27738 (PARMS): Do not use macros from bp-asm.h.
27739 (S1): Likewise.
27740 (SIZE): Likewise.
27741 (__mpn_mul_1): Do not use BP_SYM.
27742 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27743 "bp-asm.h".
27744 (PARMS): Do not use macros from bp-asm.h.
27745 (STR): Likewise.
27746 (CHR): Likewise.
27747 (__rawmemchr): Do not use BP_SYM.
27748 (rawmemchr): Do not use BP_SYM in weak_alias.
27749 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27750 (PARMS): Do not use macros from bp-asm.h.
27751 (S): Likewise.
27752 (SIZE): Likewise.
27753 (__mpn_rshift): Do not use BP_SYM.
27754 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27755 (PARMS): Do not use macros from bp-asm.h.
27756 (SIGMSK): Likewise.
27757 (__sigsetjmp): Likewise. Do not use BP_SYM.
27758 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27759 (_start): Do not use BP_SYM.
27760 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27761 (PARMS): Do not use macros from bp-asm.h.
27762 (DEST): Likewise.
27763 (SRC): Likewise.
27764 (__stpcpy): Likewise. Do not use BP_SYM.
27765 (stpcpy): Do not use BP_SYM in weak_alias.
27766 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27767 "bp-asm.h".
27768 (PARMS): Do not use macros from bp-asm.h.
27769 (DEST): Likewise.
27770 (SRC): Likewise.
27771 (LEN): Likewise.
27772 (__stpncpy): Likewise. Do not use BP_SYM.
27773 (stpncpy): Do not use BP_SYM in weak_alias.
27774 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27775 (PARMS): Do not use macros from bp-asm.h.
27776 (STR): Likewise.
27777 (CHR): Likewise.
27778 (strchr): Likewise. Do not use BP_SYM.
27779 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27780 "bp-asm.h".
27781 (PARMS): Do not use macros from bp-asm.h.
27782 (STR): Likewise.
27783 (CHR): Likewise.
27784 (__strchrnul): Likewise. Do not use BP_SYM.
27785 (strchrnul): Do not use BP_SYM in weak_alias.
27786 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27787 "bp-asm.h".
27788 (PARMS): Do not use macros from bp-asm.h.
27789 (STOP): Likewise.
27790 (strcspn): Do not use BP_SYM.
27791 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27792 "bp-asm.h".
27793 (PARMS): Do not use macros from bp-asm.h.
27794 (STR): Likewise.
27795 (STOP): Likewise.
27796 (strpbrk): Likewise. Do not use BP_SYM.
27797 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27798 "bp-asm.h".
27799 (PARMS): Do not use macros from bp-asm.h.
27800 (STR): Likewise.
27801 (CHR): Likewise.
27802 (strrchr): Likewise. Do not use BP_SYM.
27803 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27804 (PARMS): Do not use macros from bp-asm.h.
27805 (SKIP): Likewise.
27806 (strspn): Do not use BP_SYM.
27807 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27808 (PARMS): Do not use macros from bp-asm.h.
27809 (STR): Likewise.
27810 (DELIM): Likewise.
27811 (SAVE): Likewise.
27812 (FUNCTION): Likewise. Do not use BP_SYM.
27813 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27814 aliases.
27815 (strtok_r): Likewise.
27816 (__GI___strtok_r): Likewise.
27817 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27818 (PARMS): Do not use macros from bp-asm.h.
27819 (S1): Likewise.
27820 (S2): Likewise.
27821 (SIZE): Likewise.
27822 (__mpn_sub_n): Do not use BP_SYM.
27823 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27824 "bp-asm.h".
27825 (PARMS): Do not use macros from bp-asm.h.
27826 (S1): Likewise.
27827 (SIZE): Likewise.
27828 (__mpn_submul_1): Do not use BP_SYM.
27829 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27830 <bp-sym.h>.
27831 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27832 and <bp-asm.h>.
27833 (PARMS): Do not use macros from bp-asm.h.
27834 (FLAGS): Likewise.
27835 (PTID): Likewise.
27836 (TLS): Likewise.
27837 (CTID): Likewise.
27838 (__clone): Do not use BP_SYM.
27839 (clone): Do not use BP_SYM in weak_alias.
27840 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27841 and <bp-asm.h>.
27842 (PARMS): Do not use macros from bp-asm.h.
27843 (LEN): Likewise.
27844 (__mmap64): Do not use BP_SYM.
27845 (mmap64): Do not use BP_SYM in weak_alias.
27846 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27847 <bp-sym.h> and <bp-asm.h>.
27848 (PARMS): Do not use macros from bp-asm.h.
27849 (__posix_fadvise64_l64): Do not use BP_SYM.
27850 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27851 (PARMS): Do not use macros from bp-asm.h.
27852 (NSOPS): Likewise.
27853 (semtimedop): Do not use BP_SYM.
27854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27855 and <bp-asm.h>.
27856
27857 2013-02-21 Allan McRae <allan@archlinux.org>
27858
27859 * manual/message.texi (Charset conversion in gettext):
27860 Move @end statement to beginning of line.
27861
27862 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27863
27864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27865 static.
27866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27867 Likewise.
27868
27869 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27870 (denorm): Likewise.
27871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27873
27874 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27875
27876 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27877 tail-call to the resolved function if pltexit isn't needed.
27878
27879 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27880
27881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27882 or Y being zero as being unlikely.
27883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27884 Likewise.
27885
27886 2013-02-20 Carlos O'Donell <carlos@redhat.com>
27887
27888 * manual/nss.texi (System Databases and Name Service Switch):
27889 Remove frobnicate @pxref.
27890
27891 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27892
27893 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27894 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27895
27896 2013-02-20 Petr Machata <pmachata@redhat.com>
27897
27898 * elf/elf.h (R_ARM_TARGET1): New macro.
27899 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27900 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27901 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27902 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27903 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27904 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27905 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27906 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27907 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27908 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27909 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27910 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27911 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27912 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27913 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27914 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27915 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27916 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27917 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27918 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27919 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27920 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27921 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27922 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27923 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27924 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27925 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27926 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27927 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27928 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27929 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27930 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27931 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27932 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27933 (R_ARM_THM_GOT_BREL12): Likewise.
27934 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27935 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27936 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27937 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27938 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27939 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27940 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27941 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27942 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27943
27944 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27945
27946 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27947 __attribute_used__ to __attribute__ ((unused)).
27948
27949 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27950
27951 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27952 powerpc mpa.c.
27953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27954 comment formatting.
27955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27956
27957 2013-02-19 Joseph Myers <joseph@codesourcery.com>
27958
27959 [BZ #13550]
27960 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27961 Remove macro.
27962 (ENTER): Remove both macro definitions.
27963 (LEAVE): Likewise.
27964 (CHECK_BOUNDS_LOW): Likewise.
27965 (CHECK_BOUNDS_HIGH): Likewise.
27966 (CHECK_BOUNDS_BOTH): Likewise.
27967 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27968 (RETURN_BOUNDED_POINTER): Likewise.
27969 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27970 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27971 (POP_ERRNO_LOCATION_RETURN): Likewise.
27972 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27973 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27974 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27975 macros.
27976 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27977 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27978 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27979 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27980 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27981 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27982 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27983 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27984 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27985 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27986 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27987 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27988 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27989 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27990 removed macros.
27991 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27992 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27993 macros.
27994 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27995 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27996 * sysdeps/i386/i586/memset.S (memset): Likewise.
27997 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27998 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27999 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28000 macros.
28001 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28002 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28003 Change uses of L(2) to L(out).
28004 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28005 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28006 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28007 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28008 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28009 removed macros.
28010 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28011 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28012 macros.
28013 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28014 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28015 (RETURN): Do not use macro LEAVE.
28016 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28017 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28018 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28019 * sysdeps/i386/i686/memset.S (memset): Likewise.
28020 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28021 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28022 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28023 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28024 Likewise.
28025 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28026 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28027 L(1_2) and L(1_3) into L(1).
28028 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28029 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28030 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28031 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28032 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28033 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28034 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28035 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28036 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28037 macros.
28038 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28039 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28040 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28041 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28042 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28043 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28044 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28045 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28046 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28047 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28048 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28049 * sysdeps/i386/strspn.S (strspn): Likewise.
28050 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28051 conditional code.
28052 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28053 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28054 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28055 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28056 L(1_3) into L(1_1).
28057 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28058 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28059 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28060 macros.
28061 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28062
28063 2013-02-19 Jakub Jelinek <jakub@redhat.com>
28064
28065 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28066 macro.
28067
28068 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28069
28070 * math/atest-exp.c (exp_mpn): Remove ROUND.
28071 * math/atest-exp2.c (exp_mpn): Likewise.
28072 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28073
28074 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28075 * stdlib/tst-tls-atexit-lib.c: Likewise.
28076 * stdlib/tst-tls-atexit.c: Likewise.
28077
28078 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28079
28080 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28081 and __attribute_alloc_size__.
28082
28083 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28084
28085 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28086 __attribute_alloc_size__.
28087 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28088 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28089
28090 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28091
28092 * include/programs/xmalloc.h: New file.
28093 * catgets/gencat.c: Include it.
28094 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28095 * elf/pldd.c: Likewise.
28096 * iconv/iconv_charmap.c: Likewise.
28097 * iconv/iconvconfig.c: Likewise.
28098 * iconv/strtab.c: Likewise.
28099 * locale/programs/locale.c: Likewise.
28100 * locale/programs/localedef.h: Likewise.
28101 * locale/programs/simple-hash.c: Likewise.
28102 * nscd/nscd.h: Likewise.
28103 * nss/makedb.c: Likewise.
28104 * sysdeps/generic/ldconfig.h: Likewise.
28105
28106 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28107
28108 * Versions.def: Add GLIBC_2.18.
28109 * include/link.h (struct link_map): New member l_tls_dtor_count.
28110 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28111 (__call_tls_dtors): Likewise.
28112 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28113 __cxa_thread_atexit_impl.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28115 Likewise.
28116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28117 Likewise.
28118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28119 Likewise.
28120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28121 Likewise.
28122 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28124 Likewise.
28125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28126 Likewise.
28127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28129 Likewise.
28130 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28131 (tests): Add test case tst-tls-atexit.
28132 (modules-names): Add shared library for tst-tls-atexit.
28133 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28134 (GLIBC_PRIVATE): Add __call_tls_dtors.
28135 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28136 for libstdc++.
28137 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28138 * stdlib/tst-tls-atexit.c: New test case.
28139 * stdlib/tst-tls-atexit-lib.c: New test case.
28140
28141 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28142
28143 * elf/Versions (ld): Add _dl_find_dso_for_object.
28144 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28145 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28146 (dl_open_worker): Use _dl_find_dso_for_object.
28147 * elf/dl-sym.c (do_sym): Likewise.
28148 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28149
28150 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28151
28152 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28153 Syntactic changes only.
28154 (_dl_runtime_profile): Do a tail-call to the resolved function.
28155
28156 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28157
28158 [BZ #13550]
28159 * sysdeps/x86_64/bp-asm.h: Remove file.
28160 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28161 <bp-sym.h> and <bp-asm.h>.
28162 (__clone): Do not use BP_SYM.
28163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28164 <bp-sym.h> and <bp-asm.h>.
28165 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28166 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28167 "bp-asm.h".
28168 (_setjmp): Do not use BP_SYM.
28169 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28170 "bp-asm.h".
28171 (setjmp): Do not use BP_SYM.
28172 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28173 libc_hidden_def.
28174 (mempcpy): Do not use BP_SYM in weak_alias.
28175 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28176 "bp-asm.h".
28177 (strchr): Do not use BP_SYM.
28178 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28179 "bp-asm.h".
28180 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28181 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28182 (_start): Do not use BP_SYM.
28183 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28184 "bp-asm.h".
28185 (strcat): Do not use BP_SYM.
28186 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28187 "bp-asm.h".
28188 (STRCMP): Do not use BP_SYM.
28189 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28190 "bp-asm.h".
28191 (STRCPY): Do not use BP_SYM.
28192 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28193 "bp-asm.h".
28194 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28195 "bp-asm.h".
28196 (FUNCTION): Do not use BP_SYM.
28197 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28198 weak_alias.
28199 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28200
28201 2013-02-17 Andreas Jaeger <aj@suse.de>
28202
28203 * time/Versions: Sort entries.
28204 * string/Versions: Likewise.
28205 * resolv/Versions: Likewise.
28206 * posix/Versions: Likewise.
28207 * iconv/Versions: Likewise.
28208 * elf/Versions: Likewise.
28209 * wcsmbs/Versions: Likewise.
28210
28211 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28212
28213 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28214 loop termination condition.
28215
28216 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28217 variable to calculate EZ.
28218 (__sqr): Likewise.
28219
28220 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28221 the lower precision input.
28222
28223 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28224
28225 [BZ #13550]
28226 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28227 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28228 (run-via-rtld-prefix): Do not handle %-bp tests.
28229 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28230 (all-object-suffixes): Remove .ob.
28231 (bppfx): Remove variable.
28232 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28233 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28234 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28235 [$(build-bounded) = yes] (libtype.ob): Likewise.
28236 * Makerules (elide-routines.ob): Remove variable.
28237 (do-tests-clean): Do not handle *-bp.out.
28238 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28239 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28240 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28241 (tests): Do not include $(tests-bp.out).
28242 (xtests): Do not include $(xtests-bp.out).
28243 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28244 [$(build-bounded) = yes] ($(addprefix
28245 $(objpfx),$(binaries-bounded))): Remove rule.
28246 ($(objpfx)%-bp.out): Remove rule.
28247 * config.make.in (build-bounded): Remove variable.
28248 * crypt/Makefile [$(build-bounded) = yes]
28249 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28250 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28251 append to variable.
28252 [$(build-bounded) = yes] (install-lib): Likewise.
28253 [$(build-bounded) = yes] (generated): Likewise.
28254 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28255 Remove rule.
28256 * intl/Makefile [$(build-bounded) = yes]
28257 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28258 * math/Makefile [$(build-bounded) = yes]
28259 ($(tests:%=$(objpfx)%-bp): Likewise.
28260 * misc/Makefile [$(build-bounded) = yes]
28261 ($(objpfx)tst-tsearch-bp): Likewise.
28262 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28263 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28264 Remove dependency.
28265 * string/Makefile (o-objects.ob): Remove variable.
28266 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28267 (CFLAGS-.ob): Remove variable.
28268 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28269 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28270 both definitions of variable.
28271 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28272 (ASFLAGS-.ob): Remove variable.
28273
28274 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28275
28276 [BZ #13550]
28277 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28278 Remove __BOUNDED_POINTERS__ from condition.
28279 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28280 * string/bits/string2.h [!__NO_STRING_INLINES &&
28281 !__BOUNDED_POINTERS__]: Likewise.
28282 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28283 Likewise.
28284 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28285 Remove conditional code.
28286 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28287 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28288 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28289 condition.
28290
28291 [BZ #13550]
28292 * csu/libc-start.c: Do not include <bp-sym.h>.
28293 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28294 * elf/dl-open.c: Do not include <bp-sym.h>.
28295 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28296 * math/fegetenv.c: Do not include <bp-sym.h>.
28297 (fegetenv): Do not use BP_SYM in versioned symbols.
28298 * nptl/sysdeps/pthread/bits/libc-lockP.h
28299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28300 <bp-sym.h>.
28301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28302 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28304 (__pthread_mutex_destroy): Likewise.
28305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28306 (__pthread_mutex_lock): Likewise.
28307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28308 (__pthread_mutex_trylock): Likewise.
28309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28310 (__pthread_mutex_unlock): Likewise.
28311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28312 (__pthread_mutexattr_init): Likewise.
28313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28314 (__pthread_mutexattr_destroy): Likewise.
28315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28316 (__pthread_mutexattr_settype): Likewise.
28317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28318 (__pthread_rwlock_init): Likewise.
28319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28320 (__pthread_rwlock_destroy): Likewise.
28321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28322 (__pthread_rwlock_rdlock): Likewise.
28323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28324 (__pthread_rwlock_tryrdlock): Likewise.
28325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28326 (__pthread_rwlock_wrlock): Likewise.
28327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28328 (__pthread_rwlock_trywrlock): Likewise.
28329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28330 (__pthread_rwlock_unlock): Likewise.
28331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28332 (__pthread_key_create): Likewise.
28333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28334 (__pthread_setspecific): Likewise.
28335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28336 (__pthread_getspecific): Likewise.
28337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28338 Likewise.
28339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28340 (_pthread_cleanup_push_defer): Likewise.
28341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28342 (_pthread_cleanup_pop_restore): Likewise.
28343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28344 (pthread_setcancelstate): Likewise.
28345 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28346 <bp-sym.h>.
28347 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28348 (memchr): Do not use BP_SYM in weak_alias.
28349 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28350 (fegetenv): Do not use BP_SYM in versioned symbols.
28351 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28352 (fesetenv): Do not use BP_SYM in versioned symbols.
28353 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28354 (feupdateenv): Do not use BP_SYM in versioned symbols.
28355 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28356 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28357 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28358 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28359 (open64): Do not use BP_SYM in weak_alias.
28360 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28361 (fegetenv): Do not use BP_SYM in versioned symbols.
28362 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28363 (fesetenv): Do not use BP_SYM in versioned symbols.
28364 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28365 (feupdateenv): Do not use BP_SYM in versioned symbols.
28366 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28367 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28368 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28369 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28370 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28371 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28372 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28373 <bp-sym.h>.
28374 (__libc_start_main): Do not use BP_SYM.
28375
28376 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28377
28378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28379 redundant return line.
28380 (norm): Likewise.
28381 (denorm): Likewise.
28382 (dbl_mp): Likewise.
28383 (sub_magnitudes): Likewise.
28384 (__add): Likewise.
28385 (__sub): Likewise.
28386 (__mul): Likewise.
28387 (__inv): Likewise.
28388 (__dvd): Likewise.
28389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28390 (norm): Likewise.
28391 (denorm): Likewise.
28392 (dbl_mp): Likewise.
28393 (sub_magnitudes): Likewise.
28394 (__add): Likewise.
28395 (__sub): Likewise.
28396 (__mul): Likewise.
28397 (__inv): Likewise.
28398 (__dvd): Likewise.
28399
28400 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28401 instead of __mul.
28402 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28403 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28404 (cc32): Likewise.
28405
28406 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28407 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28408 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28409 of __mul for squares.
28410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28411 function
28412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28413 Likewise.
28414 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28415 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28416
28417 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28418
28419 [BZ #13550]
28420 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28421 code.
28422 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28423 prototype or function definition. Rename ubp_* variables and
28424 parameters. Remove argv definitions conditional on
28425 [__BOUNDED_POINTERS__].
28426 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28427 * elf/dl-runtime.c (_dl_fixup): Likewise.
28428 * include/set-hooks.h (RUN_HOOK): Likewise.
28429 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28430 definition.
28431 * string/strcpy.c (strcpy): Do not use __unbounded.
28432 * sysdeps/generic/frame.h (struct layout): Likewise.
28433 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28434 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28435 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28436 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28437 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28438 (__backtrace): Likewise.
28439 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28440 use __ptrvalue.
28441 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28442 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28443 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28444 Likewise.
28445 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28446 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28447 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28448 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28449 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28450 Do not use __unbounded.
28451 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28452 Rename __unboundedrlimits parameter to rlimits in prototype.
28453 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28454 Do not use __unbounded.
28455 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28456 not use __ptrvalue.
28457 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28458 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28459 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28460 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28461 __ptrvalue or __unbounded.
28462 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28463 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28464 use __unbounded.
28465 (__new_msgctl): Do not use __ptrvalue.
28466 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28467 __unbounded.
28468 (__libc_msgrcv): Do not use __ptrvalue.
28469 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28470 startup_info): Do not use __unbounded.
28471 (__libc_start_main): Likewise. Rename ubp_* variables and
28472 parameters. Remove argv definitions conditional on
28473 [__BOUNDED_POINTERS__].
28474 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28475 __ptrvalue.
28476 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28477 use __unbounded.
28478 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28479 or __ptrvalue.
28480 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28481 use __unbounded.
28482 (__new_shmctl): Do not use __ptrvalue.
28483 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28484 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28485 Likewise.
28486 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28487 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28488 (__libc_sigaction): Likewise.
28489 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28490 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28491 Likewise.
28492 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28493
28494 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28495
28496 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28497
28498 * string/mempcpy.c: Implement by calling memcpy.
28499
28500 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28501
28502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28503
28504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28505 evaluation.
28506
28507 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28508 values in the mantissa.
28509
28510 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28511 minimize writes to Z.
28512 (sub_magnitudes): Simplify code a bit.
28513
28514 2013-02-12 Roland McGrath <roland@hack.frob.com>
28515
28516 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28517 from the message. The linker prefixes all warnings with that already.
28518
28519 2013-02-12 Andreas Schwab <schwab@suse.de>
28520
28521 [BZ #15078]
28522 * posix/regexec.c (extend_buffers): Add parameter min_len.
28523 (check_matching): Pass minimum needed length.
28524 (clean_state_log_if_needed): Likewise.
28525 (get_subexp): Likewise.
28526 * posix/Makefile (tests): Add bug-regex34.
28527 (bug-regex34-ENV): Define.
28528 * posix/bug-regex34.c: New file.
28529
28530 [BZ #11561]
28531 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28532 elements compare against the byte sequence of it, not its name.
28533 * posix/Makefile (tests): Add bug-regex35.
28534 (bug-regex35-ENV): Define.
28535 * posix/bug-regex35.c: New file.
28536
28537 2013-02-11 Tom de Vries <tom@codesourcery.com>
28538
28539 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28540 comment.
28541 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28542 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28543 (CHECK_EOL): Add undef.
28544
28545 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28546
28547 * bits/stdlib-bsearch.h: New file.
28548 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28549 * stdlib/stdlib.h: Likewise.
28550
28551 2013-02-11 Roland McGrath <roland@hack.frob.com>
28552
28553 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28554 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28555 declaration.
28556 * manual/search.texi (Array Search Function): Add missing const in
28557 lfind prototype.
28558 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28559 declaration to use rlim_t.
28560 (Basic Scheduling Functions): Remove erroneous const from
28561 sched_getparam prototype. Remove erroneous * from
28562 sched_get_priority_max and sched_get_priority_min prototypes.
28563 (Resource Usage): Fix summary @comment on vtimes to refer to
28564 sys/vtimes.h rather than vtimes.h.
28565 Add missing *s in vtimes prototype.
28566 (Limits on Resources): Fix ulimit prototype to return long int.
28567 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28568 prototypes to use long int rather than double.
28569 (BSD Random): Fix initstate and setstate to use char *, not void *.
28570 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28571 prototype to make second argument 'struct aiocb64 *const[]'.
28572 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28573 (Status of AIO Operations): Remove erroneous const in aio_return and
28574 aio_return64 prototypes.
28575 (Synchronizing I/O): Fix sync prototype to return void.
28576 * manual/startup.texi (Suboptions): Remove an erroneous const in
28577 getsubopt prototype.
28578 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28579 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28580 use size_t rather than int.
28581 (Scanning All Users): Likewise for getpwent_r.
28582 (Setting Groups): Add missing const to setgroups prototype.
28583 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28584 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28585 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28586 'const void *' rather than 'const char *'.
28587 (Host Address Functions): Likewise for inet_ntop.
28588 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28589 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28590 ssize_t for return value.
28591 (Sending Data): Likewise for send, sendto, sendmsg.
28592 (Socket Option Functions): Add a missing const in setsockopt prototype.
28593 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28594 use wchar_t for the argument.
28595 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28596 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28597 take no arguments.
28598 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28599 double/float/long double for second argument.
28600 Fix return types of significand, significandf, significandl.
28601 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28602 argument in fchmod prototype.
28603 (File Owner): Use uid_t and gid_t in fchown prototype.
28604 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28605 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28606 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28607 use 'const struct dirent **' as argument types to CMP function pointer
28608 argument.
28609 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28610 (File Times): Fix summary magic @comment for struct utimbuf and utime
28611 to refer to utime.h, not time.h.
28612 * manual/string.texi (Argz Functions): Add missing const in
28613 argz_extract and argz_next prototypes.
28614 (Finding Tokens in a String): Likewise for basename.
28615 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28616 (Copying and Concatenation): Fix typo in wmemmove prototype.
28617 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28618 (Signal Stack): Remove erroneous const in sigstack prototype.
28619 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28620 prototype.
28621 (Simple Calendar Time): Likewise for stime.
28622 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28623 prototype.
28624 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28625 say sys/sysctl.h instead.
28626 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28627 and vsyslog prototypes.
28628
28629 2013-02-11 Tom de Vries <tom@codesourcery.com>
28630
28631 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28632 Remove.
28633
28634 2013-02-11 Roland McGrath <roland@hack.frob.com>
28635
28636 * misc/sys/mman.h: Fix typo in mremap comment.
28637
28638 2013-02-08 Roland McGrath <roland@hack.frob.com>
28639
28640 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28641 the '\0' terminator.
28642
28643 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28644
28645 [BZ #13550]
28646 * debug/segfault.c: Don't include <bp-checks.h>.
28647 * sysdeps/generic/bp-checks.h: Remove file.
28648 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28649 (__GETDENTS): Don't use CHECK_N.
28650 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28651 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28652 (__getgroups): Don't use CHECK_N.
28653 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28654 (setgroups): Don't use CHECK_N.
28655 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28656 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28657 (__libc_msgrcv): Don't use CHECK_N.
28658 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28659 (__libc_msgsnd): Don't use CHECK_N.
28660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28661 <bp-checks.h>.
28662 (__libc_pread): Don't use CHECK_N.
28663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28664 include <bp-checks.h>.
28665 (__libc_pread64): Don't use CHECK_N.
28666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28667 include <bp-checks.h>.
28668 (__libc_pwrite): Don't use CHECK_N.
28669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28670 include <bp-checks.h>.
28671 (__libc_pwrite64): Don't use CHECK_N.
28672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28673 <bp-checks.h>.
28674 (__libc_pread): Don't use CHECK_N.
28675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28676 include <bp-checks.h>.
28677 (__libc_pread64): Don't use CHECK_N.
28678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28679 include <bp-checks.h>.
28680 (__libc_pwrite): Don't use CHECK_N.
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28682 include <bp-checks.h>.
28683 (__libc_pwrite64): Don't use CHECK_N.
28684 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28685 (do_pread): Don't use CHECK_N.
28686 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28687 (do_pread64): Don't use CHECK_N.
28688 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28689 (do_pwrite): Don't use CHECK_N.
28690 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28691 (do_pwrite64): Don't use CHECK_N.
28692 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28693 (__libc_readv): Don't use CHECK_N.
28694 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28695 (semop): Don't use CHECK_N.
28696 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28697 <bp-checks.h>.
28698 (semtimedop): Don't use CHECK_N.
28699 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28700 (__libc_pread): Don't use CHECK_N.
28701 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28702 <bp-checks.h>.
28703 (__libc_pread64): Don't use CHECK_N.
28704 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28705 <bp-checks.h>.
28706 (__libc_pwrite): Don't use CHECK_N.
28707 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28708 <bp-checks.h>.
28709 (__libc_pwrite64): Don't use CHECK_N.
28710 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28711 <bp-checks.h>.
28712 (__libc_msgrcv): Don't use CHECK_N.
28713 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28714 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28715 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28716 (__libc_writev): Don't use CHECK_N.
28717
28718 2013-02-08 Roland McGrath <roland@hack.frob.com>
28719
28720 * string/strcpy.c: Removed unused variable.
28721
28722 * Makeconfig (+sysdep-includes): Define with := rather than =.
28723 Use an existing include/ subdir of each sysdeps dir before it.
28724
28725 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28726
28727 * nscd/connection.c (register_traced_file): Comment function.
28728 [HAVE_INOTIFY] (union __inev): Define.
28729 [HAVE_INOTIFY] (inotify_check_files): New function.
28730 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28731 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28732 clear_db_cache.
28733 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28734
28735 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28736
28737 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28738 loaded if not already and that a failure is permanent.
28739
28740 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28741
28742 [BZ #15006]
28743 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28744 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28745
28746 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28747
28748 [BZ #13550]
28749 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28750 (CHECK_1_NULL_OK): Likewise.
28751 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28752 (__fxstat): Do not use CHECK_1.
28753 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28754 <bp-checks.h>.
28755 (___fxstat64): Do not use CHECK_1.
28756 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28757 <bp-checks.h>.
28758 (__fxstatat): Do not use CHECK_1.
28759 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28760 <bp-checks.h>.
28761 (__fxstatat64): Do not use CHECK_1.
28762 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28763 <bp-checks.h>.
28764 (__fxstat): Do not use CHECK_1.
28765 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28766 <bp-checks.h>.
28767 (__fxstatat): Do not use CHECK_1.
28768 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28769 <bp-checks.h>.
28770 (__getresgid): Do not use CHECK_1.
28771 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28772 <bp-checks.h>.
28773 (__getresuid): Do not use CHECK_1.
28774 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28775 <bp-checks.h>.
28776 (__lxstat): Do not use CHECK_1.
28777 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28778 <bp-checks.h>.
28779 (__old_msgctl): Do not use CHECK_1.
28780 (__new_msgctl): Likewise.
28781 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28782 <bp-checks.h>.
28783 (__new_setrlimit): Do not use CHECK_1.
28784 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28785 <bp-checks.h>.
28786 (__old_shmctl): Do not use CHECK_1.
28787 (__new_shmctl): Likewise.
28788 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28789 <bp-checks.h>.
28790 (__xstat): Do not use CHECK_1.
28791 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28792 (__lxstat): Do not use CHECK_1.
28793 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28794 <bp-checks.h>.
28795 (___lxstat64): Do not use CHECK_1.
28796 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28797 (__old_msgctl): Do not use CHECK_1.
28798 (__new_msgctl): Likewise.
28799 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28800 <bp-checks.h>.
28801 (__gettimeofday): Do not use CHECK_1.
28802 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28803 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28804 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28805 <bp-checks.h>.
28806 (__gettimeofday): Do not use CHECK_1.
28807 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28808 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28809 (__new_shmctl): Do not use CHECK_1.
28810 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28811 <bp-checks.h>.
28812 (do_sigtimedwait): Do not use CHECK_1.
28813 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28814 <bp-checks.h>.
28815 (do_sigwaitinfo): Do not use CHECK_1.
28816 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28817 <bp-checks.h>.
28818 (msgctl): Do not use CHECK_1.
28819 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28820 <bp-checks.h>.
28821 (shmctl): Do not use CHECK_1.
28822 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28823 (ustat): Do not use CHECK_1.
28824 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28825 <bp-checks.h>.
28826 (__fxstat): Do not use CHECK_1.
28827 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28828 <bp-checks.h>.
28829 (__fxstatat): Do not use CHECK_1.
28830 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28831 <bp-checks.h>.
28832 (__lxstat): Do not use CHECK_1.
28833 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28834 <bp-checks.h>.
28835 (__xstat): Do not use CHECK_1.
28836 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28837 (__xstat): Do not use CHECK_1.
28838 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28839 (___xstat64): Do not use CHECK_1.
28840
28841 [BZ #13550]
28842 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28843 definitions.
28844 (CHECK_BOUNDS_HIGH): Likewise.
28845 * string/strcpy.c: Do not include <bp-checks.h>.
28846 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28847
28848 2013-02-07 Roland McGrath <roland@hack.frob.com>
28849
28850 * nscd/nscd-client.h (__nscd_drop_map_ref):
28851 Add __attribute__ ((unused)).
28852 * nis/nss-nisplus.h (niserr2nss): Likewise.
28853
28854 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28855 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28856
28857 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28858 Remove inline keyword.
28859 * include/rounding-mode.h (round_away): Likewise.
28860 * libio/wfileops.c (adjust_wide_data): Likewise.
28861 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28862 (__m128i_strloadu_tolower): Likewise.
28863 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28864 (__m128i_strloadu_tolower): Likewise.
28865 * time/mktime.c (ydhms_diff): Likewise.
28866 * locale/elem-hash.h (elem_hash): Likewise.
28867 * locale/setlocale.c (setdata): Likewise.
28868 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28869 (re_string_wchar_at): Likewise.
28870 (bitset_not, bitset_merge, bitset_mask): Likewise.
28871 [!(__GNUC__ > 3)] (inline): Remove macro.
28872 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28873 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28874 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28875 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28876 * string/memcmp.c (memcmp_bytes): Likewise.
28877 * locale/programs/locarchive.c (compute_hashval): Likewise.
28878 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28879 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28880 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28881 * nss/getent.c (print_rpc, print_protocols): Likewise.
28882 (print_passwd, print_group, print_aliases): Likewise.
28883 * nis/nss-nisplus.h (niserr2nss): Likewise.
28884 * nscd/connections.c (restart_p): Likewise.
28885 Change return type to bool.
28886
28887 2013-02-05 Roland McGrath <roland@hack.frob.com>
28888
28889 * Makeconfig (all-Depend-files): Add existing
28890 $(sorted-subdirs:=/Depend) files.
28891 (all-subdirs): Remove nss.
28892 * sysdeps/unix/inet/Subdirs: Add it here instead.
28893 * hesiod/Depend: New file.
28894
28895 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28896 instead of calling alloca.
28897
28898 * io/lseek.c (__lseek): Rename to __libc_lseek.
28899 Define __lseek as an alias.
28900
28901 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28902
28903 2013-02-04 Carlos O'Donell <carlos@redhat.com>
28904
28905 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28906 else clause and remove check for non-standard endianness.
28907
28908 2013-02-04 David S. Miller <davem@davemloft.net>
28909
28910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28911
28912 2013-02-04 Joseph Myers <joseph@codesourcery.com>
28913
28914 [BZ #13550]
28915 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28916 (__ubp_memchr): Remove prototype.
28917 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28918 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28919 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28920 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28921 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28922 Remove alias.
28923 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28924 (__ubp_memchr): Likewise.
28925 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28926 (__ubp_memchr): Likewise.
28927 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28928 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28929 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28930 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28931 CHECK_STRING.
28932 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28933 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28934 (__getcwd): Do not use CHECK_STRING.
28935 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28936 <bp-checks.h>.
28937 (__real_chown): Do not use CHECK_STRING.
28938 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28939 <bp-checks.h>.
28940 (fchownat): Do not use CHECK_STRING.
28941 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28942 CHECK_STRING.
28943 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28944 <bp-checks.h>.
28945 (__lchown): Do not use CHECK_STRING.
28946 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28947 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28948 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28949 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28951 include <bp-checks.h>.
28952 (truncate64): Do not use CHECK_STRING.
28953 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28954 <bp-checks.h>.
28955 (__real_chown): Do not use CHECK_STRING.
28956 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28957 <bp-checks.h>.
28958 (__lchown): Do not use CHECK_STRING.
28959 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28960 <bp-checks.h>.
28961 (__chown): Do not use CHECK_STRING.
28962 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28963 <bp-checks.h>.
28964 (truncate64): Do not use CHECK_STRING.
28965 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28966 Likewise.
28967 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28968 (__xmknod): Do not use CHECK_STRING.
28969 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28970 <bp-checks.h>.
28971 (__xmknodat): Do not use CHECK_STRING.
28972 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28973 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28974
28975 2013-02-04 Andreas Schwab <schwab@suse.de>
28976
28977 [BZ #14142]
28978 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28979 * include/netdb.h: Likewise for h_errno.
28980 * elf/tst-stackguard1.c: Include <tls.h>.
28981
28982 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28983
28984 * elf/link.h (struct link_map): Extend the l_addr comment.
28985 * include/link.h (struct link_map): Likewise.
28986
28987 2013-02-01 Joseph Myers <joseph@codesourcery.com>
28988
28989 [BZ #13550]
28990 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28991 (BOUNDED_1): Remove macro.
28992 * debug/backtrace.c: Don't include <bp-checks.h>.
28993 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28994 (__backtrace): Likewise.
28995 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28996 <bp-checks.h>.
28997 (__backtrace): Don't use BOUNDED_1.
28998 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28999 <bp-checks.h>.
29000 (__backtrace): Don't use BOUNDED_1.
29001 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29002 (__backtrace): Don't use BOUNDED_1.
29003 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29004 (shmat): Don't use BOUNDED_N.
29005
29006 2013-01-31 Joseph Myers <joseph@codesourcery.com>
29007
29008 [BZ #13550]
29009 * sysdeps/generic/bp-start.h: Remove file.
29010 * csu/libc-start.c: Don't include <bp-start.h>.
29011 (LIBC_START_MAIN): Set up __environ directly instead of using
29012 INIT_ARGV_and_ENVIRON.
29013 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29014 <bp-start.h>.
29015
29016 [BZ #13550]
29017 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29018 definitions.
29019 (CHECK_FCNTL): Likewise.
29020 (CHECK_N_PAGES): Likewise.
29021
29022 [BZ #13550]
29023 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29024 definitions.
29025 (CHECK_SIGSET_NULL_OK): Likewise.
29026 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29027 <bp-checks.h>.
29028 (sigpending): Don't use CHECK_SIGSET.
29029 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29030 <bp-checks.h>.
29031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29032 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29033 <bp-checks.h>.
29034 (do_sigsuspend): Don't use CHECK_SIGSET.
29035 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29036 use CHECK_SIGSET.
29037 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29038 (do_sigwait): Don't use CHECK_SIGSET.
29039 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29040 use CHECK_SIGSET.
29041 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29042 include <bp-checks.h>.
29043 (sigpending): Don't use CHECK_SIGSET.
29044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29045 include <bp-checks.h>.
29046 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29047 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29048 <bp-checks.h>.
29049 (sigpending): Don't use CHECK_SIGSET.
29050 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29051 <bp-checks.h>.
29052 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29053
29054 [BZ #13550]
29055 * sysdeps/generic/bp-semctl.h: Remove file.
29056 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29057 <bp-checks.h> and <bp-semctl.h>.
29058 (__old_semctl): Don't use CHECK_SEMCTL.
29059 (__new_semctl): Likewise.
29060 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29061 and <bp-semctl.h>.
29062 (__old_semctl): Don't use CHECK_SEMCTL.
29063 (__new_semctl): Likewise.
29064 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29065 <bp-checks.h> and <bp-semctl.h>.
29066 (__old_semctl): Don't use CHECK_SEMCTL.
29067 (__new_semctl): Likewise.
29068 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29069 <bp-checks.h> and <bp-semctl.h>.
29070 (semctl): Don't use CHECK_SEMCTL.
29071
29072 [BZ #13550]
29073 * Makerules (elide-bp-thunks): Remove variable.
29074 (elide-routines.oS): Don't use $(elide-bp-thunks).
29075 (elide-routines.os): Likewise.
29076 (elide-routines.o): Likewise.
29077 (elide-routines.op): Likewise.
29078 (elide-routines.og): Likewise.
29079 (objects): Don't use $(bp-thunks).
29080 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29081 include.
29082 (common-generated): Do not add s-proto-bp.d.
29083 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29084 (int): Likewise.
29085 (typ): Likewise.
29086 Do not generate makefile rules for bounded-pointer thunks.
29087 * sysdeps/generic/bp-thunks.h: Remove file.
29088 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29089 * sysdeps/unix/s-proto-bp.S: Likewise.
29090
29091 [BZ #15062]
29092 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29093 parts of result separately when argument is not close to line from
29094 -i to i and one part of argument is small.
29095 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29096 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29097 * math/libm-test.inc (cacos_test): Add more tests.
29098 (casin_test): Likewise.
29099 (casinh_test): Likewise.
29100 * sysdeps/i386/fpu/libm-test-ulps: Update.
29101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29102
29103 2013-01-31 David S. Miller <davem@davemloft.net>
29104
29105 * po/de.po: Update from translation team.
29106
29107 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29108
29109 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29110
29111 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29112
29113 * configure.in (_AC_PROG_CC_C89): New definition.
29114 * configure: Regenerate.
29115
29116 * configure.in (AC_PROG_CPP): New definition.
29117 * configure: Regenerate.
29118
29119 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29120
29121 * debug/tst-backtrace.h: New file.
29122 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29123 (ret): Remove variable.
29124 (x): Likewise.
29125 (FAIL): Remove macro.
29126 (NO_INLINE): Likewise.
29127 (fn1): Use match function instead of strstr.
29128 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29129 (ret): Remove variable.
29130 (x): Likewise.
29131 (FAIL): Remove macro.
29132 (NO_INLINE): Likewise.
29133 (fn): Use match function instead of strstr.
29134 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29135 (ret): Remove variable.
29136 (x): Likewise.
29137 (FAIL): Remove macro.
29138 (NO_INLINE): Likewise.
29139 (handle_signal): Use match function instead of strstr.
29140 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29141 (ret): Remove variable.
29142 (x): Likewise.
29143 (FAIL): Remove macro.
29144 (NO_INLINE): Likewise.
29145 (handle_signal): Use match function instead of strstr.
29146
29147 2013-01-23 Roland McGrath <roland@hack.frob.com>
29148
29149 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29150
29151 2013-01-23 David S. Miller <davem@davemloft.net>
29152
29153 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29154 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29155 argument of CAS if possible.
29156 * sysdeps/sparc/sparc64/bits/atomic.h
29157 (__arch_compare_and_exchange_val_32_acq): Likewise.
29158 (__arch_compare_and_exchange_val_64_acq): Likewise.
29159
29160 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29161
29162 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29163 * sysdeps/posix/ulimit.c: ... this.
29164 Include <limits.h>.
29165 * sysdeps/unix/bsd/ulimit.c: Remove file.
29166
29167 2013-01-23 Adam Conrad <adconrad@0c3.net>
29168
29169 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29170 (LDFLAGS-tst-array5): Likewise.
29171
29172 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29173
29174 [BZ #15036]
29175 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29176 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29177 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29178 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29179
29180 2013-01-21 David S. Miller <davem@davemloft.net>
29181
29182 * sysdeps/sparc/backtrace.c: New file.
29183 * sysdeps/sparc/sparc32/backtrace.h: New file.
29184 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29185 * sysdeps/sparc/sparc64/backtrace.h: New file.
29186 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29187 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29188 -funwind-tables.
29189
29190 2013-01-21 Andreas Schwab <schwab@suse.de>
29191
29192 [BZ #15020]
29193 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29194 closed its stdout.
29195
29196 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29197
29198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29199 "mpa2.h".
29200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29201
29202 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29203 Mark Mitchell <mark@codesourcery.com>
29204 Tom de Vries <tom@codesourcery.com>
29205 Paul Pluzhnikov <ppluzhnikov@google.com>
29206
29207 * debug/tst-backtrace2.c: New file.
29208 * debug/tst-backtrace3.c: Likewise.
29209 * debug/tst-backtrace4.c: Likewise.
29210 * debug/tst-backtrace5.c: Likewise.
29211 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29212 (CFLAGS-tst-backtrace3.c): Likewise.
29213 (CFLAGS-tst-backtrace4.c): Likewise.
29214 (CFLAGS-tst-backtrace5.c): Likewise.
29215 (LDFLAGS-tst-backtrace2): Likewise.
29216 (LDFLAGS-tst-backtrace3): Likewise.
29217 (LDFLAGS-tst-backtrace4): Likewise.
29218 (LDFLAGS-tst-backtrace5): Likewise.
29219 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29220 tst-backtrace4 and tst-backtrace5.
29221
29222 2013-01-18 Anton Blanchard <anton@samba.org>
29223 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29224
29225 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29226 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29227 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29228 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29230 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29231 "+r" and remove output regs list as redundant. Add explicit inline
29232 asm to specify register of return val to work around compiler codegen
29233 bug. Remove (int) cast on return value. Add return type parameter to
29234 use in macro so that this macro does not truncate return value for
29235 64-bit values.
29236 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29237 pass to INTERNAL_VSYSCALL_NCS.
29238 (INLINE_VSYSCALL): Add 'long int' as return type to
29239 INTERNAL_VSYSCALL_NCS macro invocation.
29240 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29241 INTERNAL_VSYSCALL_NCS macro invocation.
29242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29243
29244 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29245
29246 [BZ #14496]
29247 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29248 Fix application of SIMD FP exception mask.
29249
29250 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29251 mp_no from a power of two.
29252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29253 __mpexp_twomm1. Use __pow_mp.
29254
29255 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29256 multiplication.
29257
29258 2013-01-17 David S. Miller <davem@davemloft.net>
29259
29260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29261
29262 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29263
29264 [BZ #15023]
29265 * include/complex.h: Condition contents on [!_COMPLEX_H].
29266 (__kernel_casinhf): New prototype.
29267 (__kernel_casinh): Likewise.
29268 (__kernel_casinhl): Likewise.
29269 * math/Makefile (libm_calls): Add k_casinh.
29270 * math/k_casinh.c: New file.
29271 * math/k_casinhf.c: Likewise.
29272 * math/k_casinhl.c: Likewise.
29273 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29274 finite nonzero arguments.
29275 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29276 finite nonzero arguments.
29277 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29278 finite nonzero arguments.
29279 * math/s_casinh.c: Do not include <float.h>.
29280 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29281 * math/s_casinhf.c: Do not include <float.h>.
29282 (__casinhf): Move code for finite nonzero arguments to
29283 k_casinhf.c.
29284 * math/s_casinhl.c: Do not include <float.h>.
29285 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29286 redefine.
29287 (__casinhl): Move code for finite nonzero arguments to
29288 k_casinhl.c.
29289 * math/libm-test.inc (cacos_test): Add more tests.
29290 * sysdeps/i386/fpu/libm-test-ulps: Update.
29291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29292
29293 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29294
29295 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29296 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29297 [!HAVE_MREMAP]: Remove [defined linux] case.
29298 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29299
29300 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29301
29302 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29303
29304 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29305
29306 * elf/elf.h (R_386_SIZE32): New relocation.
29307 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29308 R_386_SIZE32.
29309 (elf_machine_rela): Likewise.
29310 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29311 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29312
29313 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29314
29315 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29316 (FP_FAST_FMA): Do not define.
29317 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29318 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29319 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29320 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29321 !_SOFT_FLOAT]: Likewise.
29322 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29323 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29324 value.
29325 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29326 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29327 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29328 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29329 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29330 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29331 file.
29332
29333 2013-01-16 Andreas Schwab <schwab@suse.de>
29334
29335 [BZ #14327]
29336 * include/stdlib.h (__mktemp): Add declaration.
29337 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29338 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29339
29340 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29341
29342 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29343 definitions.
29344 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29345 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29346 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29347 definitions here.
29348 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29349 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29350 definitions.
29351 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29352 and ONE.
29353 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29354 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29355 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29356 definitions.
29357 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29358 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29359 definitions.
29360 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29361
29362 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29363
29364 2013-01-15 David S. Miller <davem@davemloft.net>
29365
29366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29367 trunc{,f} to libm-sysdep_routes.
29368 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29370 file.
29371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29373 file.
29374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29375 file.
29376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29378 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29379 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29380 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29381 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29382 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29383 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29384
29385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29386 nearbyint{,f} to libm-sysdep_routes.
29387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29389 New file.
29390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29391 file.
29392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29393 New file.
29394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29395 file.
29396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29398 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29399 file.
29400 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29401 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29402 file.
29403 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29404 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29405 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29406
29407 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29408 libc_feholdexcept and libc_fesetenv.
29409
29410 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29411
29412 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29413
29414 2013-01-14 David S. Miller <davem@davemloft.net>
29415
29416 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29417 (SPARC_ASM_VIS2_IFUNC): Likewise.
29418 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29420 use of 'siam' instruction.
29421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29422 Likewise.
29423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29424 Likewise.
29425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29426 Likewise.
29427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29432 file.
29433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29434 file.
29435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29436 file.
29437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29438 file.
29439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29444 new VIS2 routines.
29445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29448 Likewise.
29449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29454 routines to libm-sysdep_routines.
29455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29456
29457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29458 fdim/fdimf to libm-sysdep_routines.
29459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29460 file.
29461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29463 file.
29464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29467 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29468 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29469 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29470 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29471
29472 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29473
29474 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29475 to optimize copies.
29476
29477 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29480
29481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29482 local variable MPTWO.
29483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29484 Likewise.
29485
29486 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29487
29488 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29489 GLOB_NOESCAPE.
29490
29491 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29492
29493 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29494
29495 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29496
29497 * manual/pattern.texi (glob_t): Document gl_flags.
29498 (glob64_t): Likewise.
29499
29500 2013-01-11 David S. Miller <davem@davemloft.net>
29501
29502 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29503 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29504 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29505 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29506 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29507 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29508 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29509 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29510 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29511 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29512 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29513 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29514 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29515
29516 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29517 sparc V9 rather than using V8 code.
29518 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29519 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29520
29521 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29522 Move to...
29523 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29524 Here.
29525
29526 2013-01-11 Roland McGrath <roland@hack.frob.com>
29527
29528 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29529 not in the main loop.
29530 * configure: Regenerated.
29531
29532 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29533
29534 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29535 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29536 to just #else.
29537 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29538 [!__GLIBC_HAVE_LONG_LONG] case.
29539 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29540 condition to just #else.
29541 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29542 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29543 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29544 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29545 unconditional.
29546 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29547 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29548 #elif condition to just #else.
29549 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29550 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29551 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29552 #elif condition to just #else.
29553
29554 2013-01-11 Steve Ellcey <sellcey@mips.com>
29555
29556 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29557 (EF_MIPS_ARCH_64): Fix value.
29558 (EF_MIPS_ARCH_32R2): New.
29559 (EF_MIPS_ARCH_64R2): New.
29560
29561 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29562
29563 * Makeconfig (+link-pie-before-libc): New.
29564 (+link-pie-after-libc): Likewise.
29565 (+link-pie-tests): Likewise.
29566 (+link-pie): Rewritten.
29567 (link-before-libc): Remove $(config-LDFLAGS).
29568 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29569 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29570 (config-LDFLAGS): Renamed to ...
29571 (rtld-LDFLAGS): This.
29572 (rtld-tests-LDFLAGS): New macro.
29573 (link-libc-rpath-link): Likewise.
29574 (link-libc-tests-rpath-link): Likewise.
29575 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29576 (link-libc): Prepand $(link-libc-rpath-link).
29577 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29578 (test-program-prefix): New macro.
29579 (test-via-rtld-prefix): Likewise.
29580 (test-program-cmd): Likewise.
29581 (host-test-program-cmd): Likewise.
29582 * Makefile ($(common-objpfx)testrun.sh): Replace
29583 $(run-program-prefix) with $(test-program-prefix).
29584 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29585 $(rtld-LDFLAGS).
29586 ($(common-objpfx)shlib.lds): Likewise.
29587 (build-module-helper): Likewise.
29588 ($(common-objpfx)format.lds): Likewise.
29589 * Rules (binaries-pie-tests): New.
29590 (binaries-pie-notests): Likewise.
29591 (binaries-pie): Rewritten.
29592 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29593 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29594 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29595 (make-test-out): Replace $(host-built-program-cmd) with
29596 $(host-test-program-cmd).
29597 * config.make.in (build-hardcoded-path-in-tests): New variable.
29598 * configure.in (--enable-hardcoded-path-in-tests): New configure
29599 option.
29600 (hardcoded_path_in_tests): New AC_SUBST.
29601 * configure: Regenerated.
29602 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29603 $(built-program-cmd) with $(test-program-cmd).
29604 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29605 (test_program_cmd): This.
29606 * elf/Makefile ($(objpfx)order.out): Run test with
29607 $(test-program-prefix).
29608 ($(objpfx)order2.out): Likewise.
29609 ($(objpfx)tst-initorder.out): Likewise.
29610 ($(objpfx)tst-initorder2.out): Likewise.
29611 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29612 $(test-program-cmd).
29613 ($(objpfx)tst-array1-static.out): Likewise.
29614 ($(objpfx)tst-array2.out): Likewise.
29615 ($(objpfx)tst-array3.out): Likewise.
29616 ($(objpfx)tst-array4.out): Likewise.
29617 ($(objpfx)tst-array5.out): Likewise.
29618 ($(objpfx)tst-array5-static.out): Likewise.
29619 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29620 $(test-program-cmd).
29621 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29622 $(run-program-prefix) with $(test-program-prefix).
29623 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29624 (test_program_prefix): This.
29625 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29626 $(run-program-prefix) with $(test-program-prefix).
29627 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29628 (test_program_prefix): This.
29629 * iconvdata/tst-tables.sh: Likewise.
29630 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29631 $(run-program-prefix) with $(test-program-prefix).
29632 ($(objpfx)tst-translit.out): Likewise.
29633 ($(objpfx)tst-gettext2.out): Likewise.
29634 ($(objpfx)tst-gettext4.out): Likewise.
29635 ($(objpfx)tst-gettext6.out): Likewise.
29636 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29637 (test_program_prefix): This.
29638 * intl/tst-gettext2.sh: Likewise.
29639 * intl/tst-gettext4.sh Likewise.
29640 * intl/tst-gettext6.sh: Likewise.
29641 * intl/tst-translit.sh: Likewise.
29642 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29643 with $(test-program-cmd).
29644 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29645 $(run-program-prefix) with $(test-program-prefix).
29646 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29647 (test_program_prefix): This.
29648 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29649 $(run-program-prefix) with $(test-program-prefix).
29650 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29651 (test_program_prefix): This.
29652 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29653 * posix/Makefile ($(objpfx)globtest.out): Replace
29654 $(run-via-rtld-prefix) and $(test-wrapper) with
29655 $(test-program-prefix) and $(test-via-rtld-prefix).
29656 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29657 $(test-program-prefix).
29658 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29659 $(host-test-program-cmd).
29660 (tst-spawn-ARGS): Likewise.
29661 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29662 $(test-program-prefix).
29663 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29664 (test_via_rtld_prefix): This.
29665 (test_wrapper): Renamed to ...
29666 (test_program_prefix): This.
29667 (run_program_prefix): Replaced by test_program_prefix.
29668 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29669 (test_program_prefix): This.
29670 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29671 with $(host-test-program-cmd).
29672 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29673 $(run-program-prefix) with $(test-program-prefix).
29674 ($(objpfx)tst-printf.out): Likewise.
29675 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29676 $(test-program-cmd).
29677 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29678 (test_program_prefix): This.
29679 * stdio-common/tst-unbputc.sh: Likewise.
29680 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29681 $(run-program-prefix) with $(test-program-prefix).
29682 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29683 (test_program_prefix): This.
29684 * string/Makefile ($(objpfx)tst-svc.out): Replace
29685 $(built-program-cmd) with $(test-program-cmd).
29686
29687 2013-01-11 Andreas Jaeger <aj@suse.de>
29688
29689 [BZ #15003]
29690 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29691 value. Sync with Linux 3.7.
29692
29693 2013-01-10 David S. Miller <davem@davemloft.net>
29694
29695 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29696 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29697 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29698
29699 2013-01-10 Roland McGrath <roland@hack.frob.com>
29700
29701 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29702 never set.
29703 * configure: Regenerated.
29704
29705 2013-01-10 David S. Miller <davem@davemloft.net>
29706
29707 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29708 sparc V9 rather than using V8 code.
29709 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29710 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29711
29712 2013-01-10 Roland McGrath <roland@hack.frob.com>
29713
29714 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29715 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29716 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29717 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29718 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29719 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29720 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29721 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29722 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29723 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29724 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29725 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29726 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29727 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29728 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29729 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29730 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29731 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29732 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29733 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29734 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29735 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29736 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29737 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29738 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29739 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29740 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29741
29742 2013-01-10 David S. Miller <davem@davemloft.net>
29743
29744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29745
29746 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29747
29748 * posix/Makefile (tests-static): New variable.
29749 (tests): Add $(tests-static).
29750 (tst-exec-static-ARGS): New variable.
29751 (tst-spawn-static-ARGS): Likewise.
29752 * posix/tst-exec-static.c: New file.
29753 * posix/tst-spawn-static.c: Likewise.
29754 * posix/tst-exec.c: Support run directly.
29755 * posix/tst-spawn.c: Likewise.
29756
29757 2013-01-10 Joseph Myers <joseph@codesourcery.com>
29758
29759 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29760 long.
29761 * math/bits/mathcalls.h (llrint): Likewise.
29762 (llround): Likewise.
29763 * stdlib/stdlib.h (struct drand48_data): Likewise.
29764 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29765 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29766 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29767 Likewise.
29768 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29769 Likewise.
29770 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29771 (elf_greg_t): Likewise.
29772 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29773 (__jmp_buf): Likewise.
29774 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29775 definitions.
29776 (llrint): Likewise, for all definitions.
29777 (llrintl): Likewise.
29778
29779 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29780 Remove [__GNUC__] condition.
29781 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29782 condition to just [__USE_ISOC99].
29783 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29784
29785 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29786
29787 [BZ #14200]
29788 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29789 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29790 defined.
29791 (_POSIX_V6_ILP32_OFF32): Likewise.
29792 (_XBS5_ILP32_OFF32): Likewise.
29793 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29794 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29795
29796 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29797
29798 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29799
29800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29801 doubles __mpexp_twomm1. Adjust usage.
29802 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29803 Remove.
29804
29805 2013-01-10 Andreas Schwab <schwab@suse.de>
29806
29807 [BZ #14964]
29808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29809 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29810
29811 2013-01-09 David S. Miller <davem@davemloft.net>
29812
29813 [BZ #15003]
29814 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29815 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29816 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29817 (TCP_FASTOPEN): Define.
29818 (tcp_repair_opt): New structure.
29819 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29820 enum values.
29821 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29822 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29823 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29824 (tcp_cookie_transactions): New structure.
29825
29826 2013-01-09 Anton Blanchard <anton@samba.org>
29827
29828 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29829 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29830 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29831 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29832
29833 2013-01-09 Joseph Myers <joseph@codesourcery.com>
29834
29835 * include/features.h (__USE_ANSI): Remove.
29836
29837 2013-01-09 Roland McGrath <roland@hack.frob.com>
29838
29839 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29840
29841 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29842
29843 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29844
29845 * sysdeps/s390/fpu/libm-test-ulps: Update.
29846
29847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29848
29849 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29850 (__acr): Likewise.
29851 (__cpy): Likewise.
29852 (norm): Likewise.
29853 (denorm): Likewise.
29854 (__mp_dbl): Likewise.
29855 (__dbl_mp): Likewise.
29856 (add_magnitudes): Likewise.
29857 (sub_magnitudes): Likewise.
29858 (__add): Likewise.
29859 (__sub): Likewise.
29860 (__mul): Likewise.
29861 (__inv): Likewise.
29862 (__dvd): Likewise.
29863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29864 (__acr): Likewise.
29865 (__cpy): Likewise.
29866 (norm): Likewise.
29867 (denorm): Likewise.
29868 (__mp_dbl): Likewise.
29869 (__dbl_mp): Likewise.
29870 (add_magnitudes): Likewise.
29871 (sub_magnitudes): Likewise.
29872 (__add): Likewise.
29873 (__sub): Likewise.
29874 (__mul): Likewise.
29875 (__inv): Likewise.
29876 (__dvd): Likewise.
29877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29878 (__acr): Likewise.
29879 (__cpy): Likewise.
29880 (norm): Likewise.
29881 (denorm): Likewise.
29882 (__mp_dbl): Likewise.
29883 (__dbl_mp): Likewise.
29884 (add_magnitudes): Likewise.
29885 (sub_magnitudes): Likewise.
29886 (__add): Likewise.
29887 (__sub): Likewise.
29888 (__mul): Likewise.
29889 (__inv): Likewise.
29890 (__dvd): Likewise.
29891
29892 2013-01-08 Joseph Myers <joseph@codesourcery.com>
29893
29894 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29895 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29896 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29897 2 && __USE_EXTERN_INLINES]: Likewise.
29898
29899 2013-01-08 Andreas Jaeger <aj@suse.de>
29900
29901 [BZ# 14985]
29902 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29903 Remove.
29904 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29905 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29906
29907 2013-01-07 Anton Blanchard <anton@samba.org>
29908
29909 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29910 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29911 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29912 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29913 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29914 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29915 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29916 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29918 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29919 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29920 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29921 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29922 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29923 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29924 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29925 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29926 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29927 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29928 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29929 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29930 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29932 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29933 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29934 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29935 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29936 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29937 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29938 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29939 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29941 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29942 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29943 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29944 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29946 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29948 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29949 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29952
29953 2013-01-07 Joseph Myers <joseph@codesourcery.com>
29954
29955 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29956 (__MALLOC_PMT): Likewise.
29957 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29958 [__GNUC__], only on [_LIBC].
29959 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29960 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29961 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29962 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29963 forward declaration.
29964 (realloc_hook_ini): Likewise.
29965 (memalign_hook_ini): Likewise.
29966 (__libc_memalign): Do not use __MALLOC_PMT in variable
29967 declaration.
29968 (__libc_valloc): Likewise.
29969 (__libc_pvalloc): Likewise.
29970 (__libc_calloc): Likewise.
29971 (__posix_memalign): Likewise.
29972
29973 [BZ #14996]
29974 * math/s_casinh.c: Include <float.h>.
29975 (__casinh): Do not do computation with squaring and square root
29976 for large arguments.
29977 * math/s_casinhf.c: Include <float.h>.
29978 (__casinhf): Do not do computation with squaring and square root
29979 for large arguments.
29980 * math/s_casinhl.c: Include <float.h>.
29981 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29982 (__casinhl): Do not do computation with squaring and square root
29983 for large arguments.
29984 * math/libm-test.inc (casin_test): Add more tests.
29985 (casinh_test): Likewise.
29986 * sysdeps/i386/fpu/libm-test-ulps: Update.
29987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29988
29989 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29990
29991 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29992 (__x86_64_raw_data_cache_size): Likewise.
29993 (__x86_64_data_cache_size_half): Likewise.
29994 (__x86_64_raw_data_cache_size_half): Likewise.
29995 (__x86_64_shared_cache_size): Likewise.
29996 (__x86_64_raw_shared_cache_size): Likewise.
29997 (__x86_64_shared_cache_size_half): Likewise.
29998 (__x86_64_raw_shared_cache_size_half): Likewise.
29999 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30000 to ...
30001 (__x86_data_cache_size): This.
30002 (__x86_64_raw_data_cache_size): Renamed to ...
30003 (__x86_raw_data_cache_size): This.
30004 (__x86_64_data_cache_size_half): Renamed to ...
30005 (__x86_data_cache_size_half): This.
30006 (__x86_64_raw_data_cache_size_half): Renamed to ...
30007 (__x86_raw_data_cache_size_half): This.
30008 (__x86_64_shared_cache_size): Renamed to ...
30009 (__x86_shared_cache_size): This.
30010 (__x86_64_raw_shared_cache_size): Renamed to ...
30011 (__x86_raw_shared_cache_size): This.
30012 (__x86_64_shared_cache_size_half): Renamed to ...
30013 (__x86_shared_cache_size_half): This.
30014 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30015 (__x86_raw_shared_cache_size_half): This.
30016 * sysdeps/x86_64/memcpy.S: Updated.
30017 * sysdeps/x86_64/memset.S: Likewise.
30018 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30021
30022 2013-01-04 David S. Miller <davem@davemloft.net>
30023
30024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30025
30026 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30027
30028 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30029 1 to avoid redefinition warning.
30030 (__USE_GNU): Don't define.
30031 (init_signaling_nan): Protoize.
30032
30033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30034
30035 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30036
30037 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30039 (__cpymn): Likewise.
30040 (norm): Remove commented code.
30041 (denorm): Likewise.
30042 (__mp_dbl): Likewise.
30043 (__inv): Likewise.
30044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30045 (__cpymn): Likewise.
30046 (norm): Remove commented code.
30047 (denorm): Likewise.
30048 (__mp_dbl): Likewise.
30049 (__inv): Likewise.
30050
30051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30052 mp_no value for 1.0 and 2.0.
30053 (norm): Use RADIXI instead of radixi.d.
30054 (denorm): Likewise.
30055 (__mul): Use 0.0 instead of zero.d.
30056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30057 mp_no value for 1.0 and 2.0.
30058 (norm): Use RADIXI instead of radixi.d.
30059 (denorm): Likewise.
30060 (__mul): Use 0.0 instead of zero.d.
30061
30062 2013-01-04 Joseph Myers <joseph@codesourcery.com>
30063
30064 [BZ #14994]
30065 * math/s_casinh.c (__casinh): Reduce finite argument to first
30066 quadrant then set signs of results at the end.
30067 * math/s_casinhf.c (__casinhf): Likewise.
30068 * math/s_casinhl.c (__casinhl): Likewise.
30069 * math/libm-test.inc (casin_test): Add more tests.
30070 (casinh_test): Likewise.
30071 * sysdeps/i386/fpu/libm-test-ulps: Update.
30072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30073
30074 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30075
30076 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30077
30078 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30079
30080 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30081 declarations.
30082 (denorm): Likewise.
30083 (__mp_dbl): Likewise.
30084 (__inv): Likewise.
30085
30086 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30087 and adjust the header comment.
30088
30089 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30090 variable name from declaration.
30091
30092 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30093
30094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30095 Initialize COMMON_CPUID_INDEX_7 element.
30096 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30097 (CPUID_RTM): Likewise.
30098 (HAS_RTM): Likewise.
30099 (COMMON_CPUID_INDEX_7): New enum.
30100
30101 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30102
30103 [BZ #14981]
30104 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30105 size is zero, record memory as freed.
30106
30107 2013-01-03 Andreas Jaeger <aj@suse.de>
30108
30109 * po/ia.po: Add new Interlingua translation.
30110
30111 2012-01-03 Allan McRae <allan@archlinux.org>
30112
30113 * locale/programs/localedef.c: Fix description of '--posix' flag.
30114
30115 2013-01-02 Joseph Myers <joseph@codesourcery.com>
30116
30117 * NEWS: Update dates in second copyright notice.
30118 * README: Update copyright dates in example.
30119 * manual/libc.texinfo: Update copyright dates.
30120 * scripts/test-installation.pl: Update copyright date in --version
30121 output.
30122
30123 * hurd/ctty-input.c: Fix copyright notice formatting.
30124 * hurd/ctty-output.c: Likewise.
30125 * hurd/dtable.c: Likewise.
30126 * hurd/hurd-raise.c: Likewise.
30127 * hurd/hurdprio.c: Likewise.
30128 * hurd/msgportdemux.c: Likewise.
30129 * misc/sys/file.h: Likewise.
30130 * misc/sys/ioctl.h: Likewise.
30131 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30132 * sysdeps/mach/hurd/chdir.c: Likewise.
30133 * sysdeps/mach/hurd/fchdir.c: Likewise.
30134 * sysdeps/mach/hurd/rename.c: Likewise.
30135 * sysdeps/mach/hurd/rmdir.c: Likewise.
30136 * sysdeps/mach/hurd/seekdir.c: Likewise.
30137 * sysdeps/mach/hurd/setsid.c: Likewise.
30138 * sysdeps/posix/wait3.c: Likewise.
30139
30140 * All files with FSF copyright notices: Update copyright dates
30141 using scripts/update-copyrights.
30142 * intl/plural.c: Regenerated.
30143 * locale/programs/charmap-kw.h: Likewise.
30144 * locale/programs/locfile-kw.h: Likewise.
30145
30146 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30147
30148 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30149 four values.
30150
30151 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30152 calculation loop and add branch prediction.
30153
30154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30155 check access beyond bounds of m1np.
30156
30157 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30158 MPTWO.
30159 (__inv): Remove local variable MPTWO to use the global
30160 constant.
30161 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30163 variable MPTWO.
30164 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30165 MP3HALFS static const.
30166
30167 2013-01-01 David S. Miller <davem@davemloft.net>
30168
30169 * po/ca.po: Update from translation team.
30170
30171 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30172
30173 * scripts/update-copyrights: New file.
30174 * Makeconfig: Reformat copyright notice.
30175 * ctype/ctype.h: Likewise.
30176 * debug/swprintf_chk.c: Likewise.
30177 * elf/dl-cache.c: Likewise.
30178 * elf/dl-debug.c: Likewise.
30179 * elf/dl-object.c: Likewise.
30180 * grp/initgroups.c: Likewise.
30181 * hurd/Makefile: Likewise.
30182 * hurd/hurd/signal.h: Likewise.
30183 * hurd/hurdfault.c: Likewise.
30184 * hurd/hurdioctl.c: Likewise.
30185 * hurd/hurdlookup.c: Likewise.
30186 * hurd/intr-msg.c: Likewise.
30187 * iconv/gconv_open.c: Likewise.
30188 * libio/swprintf.c: Likewise.
30189 * locale/lc-ctype.c: Likewise.
30190 * locale/nl_langinfo.c: Likewise.
30191 * mach/Machrules: Likewise.
30192 * mach/Makefile: Likewise.
30193 * malloc/obstack.h: Likewise.
30194 * manual/Makefile: Likewise.
30195 * manual/tsort.awk: Likewise.
30196 * misc/bits/stab.def: Likewise.
30197 * nis/nis_print_group_entry.c: Likewise.
30198 * nis/nis_table.c: Likewise.
30199 * nis/nss_compat/compat-pwd.c: Likewise.
30200 * nis/nss_compat/compat-spwd.c: Likewise.
30201 * po/Makefile: Likewise.
30202 * posix/fnmatch.c: Likewise.
30203 * posix/regex.h: Likewise.
30204 * resolv/Makefile: Likewise.
30205 * resolv/nss_dns/dns-network.c: Likewise.
30206 * resolv/res_hconf.c: Likewise.
30207 * scripts/gen-sorted.awk: Likewise.
30208 * soft-fp/soft-fp.h: Likewise.
30209 * stdio-common/printf.h: Likewise.
30210 * stdlib/monetary.h: Likewise.
30211 * stdlib/random.c: Likewise.
30212 * stdlib/random_r.c: Likewise.
30213 * sysdeps/generic/Makefile: Likewise.
30214 * sysdeps/gnu/Makefile: Likewise.
30215 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30222 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30237 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30238 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30239 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30240 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30241 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30242 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30243 * sysdeps/mach/hurd/errnos.awk: Likewise.
30244 * sysdeps/mach/hurd/fork.c: Likewise.
30245 * sysdeps/mach/hurd/getcwd.c: Likewise.
30246 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30247 * sysdeps/mach/hurd/mmap.c: Likewise.
30248 * sysdeps/mach/hurd/utimes.c: Likewise.
30249 * sysdeps/mach/hurd/xmknod.c: Likewise.
30250 * sysdeps/posix/profil.c: Likewise.
30251 * sysdeps/posix/readdir_r.c: Likewise.
30252 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30253 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30254 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30255 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30257 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30258 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30259 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30261 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30262 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30263 * sysdeps/pthread/lio_listio.c: Likewise.
30264 * sysdeps/sparc/dl-procinfo.h: Likewise.
30265 * sysdeps/unix/i386/sysdep.S: Likewise.
30266 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30267 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30268 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30269 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30271 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30272 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30273 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30274 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30275 * sysdeps/wordsize-32/divdi3.c: Likewise.
30276 * time/sys/time.h: Likewise.
30277 * wcsmbs/Makefile: Likewise.
30278
30279 2013-01-01 David S. Miller <davem@davemloft.net>
30280
30281 * po/fr.po: Update from translation team.
30282
30283 * catgets/gencat.c: Update copyright year.
30284 * csu/version.c: Likewise.
30285 * debug/catchsegv.sh: Likewise.
30286 * debug/pcprofiledump.c: Likewise.
30287 * debug/xtrace.sh: Likewise.
30288 * elf/ldconfig.c: Likewise.
30289 * elf/ldd.bash.in: Likewise.
30290 * elf/pldd.c: Likewise.
30291 * elf/sotruss.ksh: Likewise.
30292 * elf/sprof.c: Likewise.
30293 * iconv/iconv_prog.c: Likewise.
30294 * iconv/iconvconfig.c: Likewise.
30295 * locale/programs/locale.c: Likewise.
30296 * locale/programs/localedef.c: Likewise.
30297 * login/programs/pt_chown.c: Likewise.
30298 * malloc/memusage.sh: Likewise.
30299 * malloc/memusagestat.c: Likewise.
30300 * malloc/mtrace.pl: Likewise.
30301 * nscd/nscd.c: Likewise.
30302 * nss/getent.c: Likewise.
30303 * nss/makedb.c: Likewise.
30304 * posix/getconf.c: Likewise.
30305
30306 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30307
30308 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30309 numbers.
30310
30311 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30312
30313 * math/bits/mathcalls.h (modf): Use __nonnull.
30314
30315 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30316
30317 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30318 (split): Use macro CN instead of the bare value.
30319 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30320 could be used.
30321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30322 instead of the bare value.
30323 (power1): Likewise.
30324
30325 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30326
30327 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30328 __ATAN_TWOM.
30329 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30330
30331 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30332 their values.
30333 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30334 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30335 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30336 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30337
30338 2012-12-28 Andreas Jaeger <aj@suse.de>
30339
30340 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30341 values are from Linux 3.7.
30342
30343 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30344 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30345
30346 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30347
30348 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30349 TRUE case.
30350
30351 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30352 (norm): Likewise.
30353 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30354 variables with preprocessor constants.
30355 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30356 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30357 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30358
30359 2012-12-27 Bruno Haible <bruno@clisp.org>
30360
30361 [BZ #14317]
30362 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30363 only if needed.
30364
30365 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30366
30367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30368 and use variable directly.
30369 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30370
30371 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30372 MPONE.
30373 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30374 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30375 variable MPONE.
30376 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30378 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30379 include directive. Remove local variable MPONE.
30380 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30381 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30382 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30383
30384 2012-12-25 David S. Miller <davem@davemloft.net>
30385
30386 * version.h (RELEASE): Set to "development".
30387 (VERSION): Set to "2.17.90".
30388 * NEWS: Add 2.18 section.
30389
30390 2012-12-21 David S. Miller <davem@davemloft.net>
30391
30392 * po/hr.po: Update from translation team.
30393
30394 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30395
30396 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30397
30398 2012-12-19 Steve Ellcey <sellcey@mips.com>
30399
30400 * NEWS: Mention new memcpy for MIPS.
30401
30402 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30403
30404 * manual/contrib.texi (Contributors): Spelling correction.
30405
30406 2012-12-15 David S. Miller <davem@davemloft.net>
30407
30408 * po/ru.po: Update from translation team.
30409
30410 2012-12-13 David S. Miller <davem@davemloft.net>
30411
30412 * NEWS: Mention IFUNC testsuite enhancements.
30413
30414 * po/pl.po: Update from translation team.
30415 * po/bg.po: Likewise.
30416
30417 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30418 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30419
30420 2012-12-11 David S. Miller <davem@davemloft.net>
30421
30422 * po/sv.po: Update from translation team.
30423
30424 * po/vi.po: Update from translation team.
30425
30426 * po/cs.po: Update from translation team.
30427
30428 * po/de.po: Update from translation team.
30429 * po/eo.po: Likewise.
30430 * po/nl.po: Likewise.
30431
30432 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30433
30434 [BZ #14246]
30435 * manual/argp.texi (Argp Helper Functions): Move node to follow
30436 Argp Parsing State.
30437
30438 [BZ #14872]
30439 * manual/conf.texi (Limits on File System Capacity): Mention if
30440 terminating null is included in the max size.
30441
30442 2012-12-10 Andreas Jaeger <aj@suse.de>
30443
30444 * po/cs.po: Update from translation team.
30445
30446 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30447
30448 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30449 void pointer and cast to uintptr_t.
30450 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30451 path.
30452 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30453 * sysdeps/s390/s390-64/memset.S: Likewise.
30454
30455 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30456
30457 [BZ #14833]
30458 * menual/message.texi (Message Translation): Fix typos.
30459 (Helper programs for gettext): Likewise.
30460
30461 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30462
30463 [BZ #14898]
30464 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30465 Change to -1.
30466
30467 2012-12-07 David S. Miller <davem@davemloft.net>
30468
30469 * po/libc.pot: Update.
30470
30471 2012-12-07 Richard Henderson <rth@redhat.com>
30472
30473 [BZ #10114]
30474 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30475 normal/normal case to before the switch.
30476 (_FP_DIV): Likewise.
30477
30478 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30479 Mike Frysinger <vapier@gentoo.org>
30480
30481 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30482 check for __NR_fadvise64_64.
30483
30484 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30485
30486 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30487 0, not just to plain "0" as a statement.
30488 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30489 with cw.
30490
30491 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30492
30493 * NEWS: Use sourceware.org in Bugzilla URL.
30494
30495 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30496
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30498 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30499
30500 * stdio-common/tst-put-error.c (do_test): Add newline to the
30501 padded test to ensure flush.
30502
30503 2012-12-05 Jeff Law <law@redhat.com>
30504
30505 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30506
30507 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30508
30509 * README: Don't refer to ports add-on as distributed separately.
30510 Mention AArch64 in list of systems supported in the ports add-on.
30511
30512 * LICENSES: Add more non-FSF copyright and license notices.
30513
30514 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30515 ((unused)).
30516
30517 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30518
30519 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30520 10000 as width of padded output.
30521
30522 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30523
30524 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30525
30526 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30527 variable LX with __attribute__ ((unused)).
30528 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30529 Likewise.
30530 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30531 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30532 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30533 with __attribute__ ((unused)).
30534
30535 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30536
30537 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30538
30539 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30540
30541 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30542 (CFLAGS-nldbl-acos.c): New variable.
30543 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30544 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30545 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30546 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30547 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30548 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30549 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30550 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30551 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30552 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30553 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30554 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30555 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30556 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30557 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30558 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30559 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30560 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30561 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30562 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30563 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30564 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30565 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30566 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30567 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30568 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30569 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30570 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30571 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30572 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30573 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30574 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30575 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30576 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30577 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30578 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30579 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30580 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30581 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30582 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30583 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30584 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30585 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30586 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30587 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30588 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30589 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30590 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30591 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30592 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30593 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30594 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30595 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30596 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30597 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30598 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30599 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30600 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30601 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30602 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30603 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30604 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30605 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30606 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30607 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30608 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30609 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30610 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30611 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30612 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30613 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30614 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30615 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30616 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30617 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30618 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30619 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30620 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30621 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30622 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30623 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30624 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30625 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30626 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30627 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30628 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30629 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30630 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30631 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30632 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30633 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30634 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30635 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30636 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30637 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30638 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30639 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30640
30641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30642 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30643
30644 [BZ #14914]
30645 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30646 whole low double instead of just low 47 bits when splitting values
30647 into two parts.
30648
30649 2012-12-03 Allan McRae <allan@archlinux.org>
30650
30651 * manual/stdio.texi (Predefined Printf Handlers): Remove
30652 @hsep and @vsep usage.
30653
30654 2012-12-03 Mike Frysinger <vapier@gentoo.org>
30655
30656 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30657 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30658
30659 2012-12-03 Jeff Law <law@redhat.com>
30660
30661 * time/sys/time.h (settimeofday): Do not mark TV argument
30662 as __nonnull.
30663
30664 2012-12-01 Mike Frysinger <vapier@gentoo.org>
30665
30666 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30667 when currently writing and seek to current position when not.
30668 * libio/Makefile (tests): Remove bug-fclose1.
30669 * libio/bug-fclose1.c: Delete.
30670
30671 2012-12-01 Joseph Myers <joseph@codesourcery.com>
30672
30673 * manual/arith.texi (feenableexcept): Fix typo.
30674 (fedisableexcept): Likewise.
30675
30676 2012-11-30 Roland McGrath <roland@hack.frob.com>
30677
30678 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30679 second, differently-typed declaration, rather than a cast.
30680
30681 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30682
30683 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30684 * include/rpc/svc.h: ... here.
30685
30686 2012-11-30 Aurelien Jarno <aurel32@debian.org>
30687
30688 [BZ #13013]
30689 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30690 depending n and resplen2 to catch cases where answer
30691 equals answerp2.
30692
30693 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30694
30695 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30696 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30697
30698 2012-11-29 Mike Frysinger <vapier@gentoo.org>
30699
30700 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30701
30702 2012-11-29 Roland McGrath <roland@hack.frob.com>
30703
30704 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30705
30706 2012-11-28 Jeff Law <law@redhat.com>
30707
30708 [BZ #13761]
30709 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30710 dataset_temporary. Track alloca usage into alloca_used.
30711 If dataset is large allocate and release it via malloc/free.
30712
30713 2012-06-04 Florian Weimer <fweimer@redhat.com>
30714
30715 [BZ #14197]
30716 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30717
30718 2012-11-28 David S. Miller <davem@davemloft.net>
30719
30720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30721
30722 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30723
30724 [BZ #14803]
30725 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30726 of pi/2 rounded to nearest to 64 bits.
30727 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30728 nearest to 64 bits.
30729 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30730 bits.
30731
30732 2012-11-28 Jeff Law <law@redhat.com>
30733 Martin Osvald <mosvald@redhat.com>
30734
30735 [BZ #14889]
30736 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30737 * sunrpc/svc.c: Include time.h.
30738 (__svc_accept_failed): New function.
30739 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30740 any reason other than EINTR, call __svc_accept_failed.
30741 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30742 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30743
30744 2012-11-28 Andreas Schwab <schwab@suse.de>
30745
30746 * scripts/abilist.awk: Also handle indirect functions in .opd
30747 section.
30748
30749 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30750
30751 [BZ #13881]
30752 * sysdeps/x86/fpu/powl_helper.c: New file.
30753 * sysdeps/x86/fpu/Makefile: Likewise.
30754 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30755 (p3): New object.
30756 (__ieee754_powl): Use __powl_helper for finite arguments except
30757 integer exponents below 8.
30758 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30759 (p3): New object.
30760 (__ieee754_powl): Use __powl_helper for finite arguments except
30761 integer exponents below 8.
30762 * math/libm-test.inc (pow_test): Add more tests and enable some
30763 previously disabled tests.
30764 * sysdeps/i386/fpu/libm-test-ulps: Update.
30765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30766
30767 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30768 Carlos O'Donell <carlos_odonell@mentor.com>
30769
30770 * nss/makedb.c (is_prime): Assert that input is odd and greater
30771 than 4. Note that fact in a comment too.
30772 (next_prime): Add 4 to input.
30773
30774 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30775
30776 [BZ #11741]
30777 * libio/Makefile (tests): Add test case tst-fwrite-error.
30778 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30779 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30780 * libio/tst-fwrite-error.c: New test case.
30781
30782 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30783
30784 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30785 before casting to void *.
30786 * include/libc-internal.h (__pointer_type): New macro.
30787 (__integer_if_pointer_type_sub): Likewise.
30788 (__integer_if_pointer_type): Likewise.
30789 (cast_to_integer): Likewise.
30790 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30791 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30792 before casting to atomic64_t.
30793 (atomic_exchange_acq): Likewise.
30794 (__arch_exchange_and_add_body): Likewise.
30795 (__arch_add_body): Likewise.
30796 (atomic_add_negative): Likewise.
30797 (atomic_add_zero): Likewise.
30798
30799 2012-11-26 Joseph Myers <joseph@codesourcery.com>
30800
30801 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30802 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30803 (add_fdes): Likewise.
30804 (linear_search_fdes): Likewise.
30805 (binary_search_unencoded_fdes): Likewise.
30806
30807 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30808
30809 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30810
30811 2012-11-24 Adam Conrad <adconrad@0c3.net>
30812
30813 * configure.in: Autodetect C++ header directories.
30814 * configure: Regenerated.
30815
30816 2012-11-23 Mike Frysinger <vapier@gentoo.org>
30817
30818 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30819
30820 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30821
30822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30823
30824 2012-11-22 Joseph Myers <joseph@codesourcery.com>
30825
30826 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30827 LDBL_MANT_DIG == 106]: Disable some tests.
30828 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30829 Likewise.
30830 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30831 Likewise.
30832
30833 [BZ #14871]
30834 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30835 input for small inputs. Return +/- pi/2 for large inputs.
30836 * math/libm-test.inc (atan_test): Add more tests.
30837
30838 * sysdeps/generic/unwind-dw2-fde-glibc.c
30839 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30840 __attribute__ ((unused)).
30841
30842 [BZ #14645]
30843 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30844 x * y if x and y are nonzero and z is zero.
30845
30846 [BZ #14811]
30847 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30848 nonzero exponents with absolute value below 0x1p-117 to +/-
30849 0x1p-117.
30850
30851 [BZ #14869]
30852 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30853 up arguments below 2**-450, not just those below 2**-500.
30854 * math/libm-test.inc (hypot_test): Add another test.
30855
30856 [BZ #14868]
30857 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30858 Return a+b for ratio over 2**120, not 2**60.
30859 * math/libm-test.inc (hypot_test): Add another test.
30860
30861 * math/libm-test.inc (clog_test): Use
30862 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30863 (clog10_test): Likewise.
30864
30865 [BZ #6778]
30866 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30867
30868 2012-11-22 Andreas Schwab <schwab@suse.de>
30869
30870 * sysdeps/i386/fpu/libm-test-ulps: Update.
30871
30872 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30873
30874 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30875 printf output with newline.
30876
30877 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30878
30879 [BZ #14865]
30880 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30881 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30882 -z nodlopen, -z initfirst and -z execstack support.
30883 * configure: Regenerated.
30884
30885 * elf/elf.h (DF_1_NODIRECT): New macro.
30886 (DF_1_IGNMULDEF): Likewise.
30887 (DF_1_NOKSYMS): Likewise.
30888 (DF_1_NOHDR): Likewise.
30889 (DF_1_EDITED): Likewise.
30890 (DF_1_NORELOC): Likewise.
30891 (DF_1_SYMINTPOSE): Likewise.
30892 (DF_1_GLOBAUDIT): Likewise.
30893 (DF_1_SINGLETON): Likewise.
30894 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30895 DT_1_SUPPORTED_MASK bits.
30896 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30897
30898 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30899
30900 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30901
30902 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30903
30904 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30905 macro.
30906
30907 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30908 (sendmmsg): Move declarations...
30909 * socket/sys/socket.h: ... here.
30910 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30911 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30912 include it from...
30913 * socket/recvmmsg.c: ... this new file.
30914 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30915 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30916 definition of __sendmmsg hidden.
30917 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30918 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30919 Move ENOSYS stub into and include it from...
30920 * socket/sendmmsg.c: ... this new file.
30921 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30922 (sysdep_routines): Move recvmmsg and sendmmsg...
30923 * socket/Makefile (routines): ... here.
30924 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30925 (GLIBC_PRIVATE): Add __sendmmsg.
30926 * include/sys/socket.h (__sendmmsg): Add declarations.
30927 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30928 sendmmsg.
30929
30930 2012-11-20 Joseph Myers <joseph@codesourcery.com>
30931
30932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30933 variable I1 with __attribute__ ((unused)).
30934 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30935
30936 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30937
30938 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30939 DUMMY variables with __attribute__ ((unused)).
30940
30941 * bits/byteswap.h: Include <bits/types.h>.
30942 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30943
30944 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30945
30946 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30947 string_t. Do not manually set errno.
30948 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30949 length with __strnlen. Make sure to both set errno and return it on
30950 failure.
30951
30952 2012-11-19 David S. Miller <davem@davemloft.net>
30953
30954 With help from Joseph Myers.
30955 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30956 very large arguments properly.
30957 * math/libm-test.inc (atan_test): New tests.
30958 (atan2_test): New tests.
30959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30961
30962 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30963
30964 [BZ #14856]
30965 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30966 Define to 3.
30967
30968 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30969 [POSIX] (EADDRNOTAVAIL): Likewise.
30970 [POSIX] (EAFNOSUPPORT): Likewise.
30971 [POSIX] (EALREADY): Likewise.
30972 [POSIX] (ECONNABORTED): Likewise.
30973 [POSIX] (ECONNREFUSED): Likewise.
30974 [POSIX] (ECONNRESET): Likewise.
30975 [POSIX] (EDESTADDRREQ): Likewise.
30976 [POSIX] (EDQUOT): Likewise.
30977 [POSIX] (EHOSTUNREACH): Likewise.
30978 [POSIX] (EIDRM): Likewise.
30979 [POSIX] (EISCONN): Likewise.
30980 [POSIX] (ELOOP): Likewise.
30981 [POSIX] (EMULTIHOP): Likewise.
30982 [POSIX] (ENETDOWN): Likewise.
30983 [POSIX] (ENETUNREACH): Likewise.
30984 [POSIX] (ENOBUFS): Likewise.
30985 [POSIX] (ENODATA): Likewise.
30986 [POSIX] (ENOLINK): Likewise.
30987 [POSIX] (ENOMSG): Likewise.
30988 [POSIX] (ENOPROTOOPT): Likewise.
30989 [POSIX] (ENOSR): Likewise.
30990 [POSIX] (ENOSTR): Likewise.
30991 [POSIX] (ENOTCONN): Likewise.
30992 [POSIX] (ENOTSOCK): Likewise.
30993 [POSIX] (EOPNOTSUPP): Likewise.
30994 [POSIX] (EOVERFLOW): Likewise.
30995 [POSIX] (EPROTO): Likewise.
30996 [POSIX] (EPROTONOSUPPORT): Likewise.
30997 [POSIX] (EPROTOTYPE): Likewise.
30998 [POSIX] (ESTALE): Likewise.
30999 [POSIX] (ETIME): Likewise.
31000 [POSIX] (ETXTBSY): Likewise.
31001 [POSIX] (EWOULDBLOCK): Likewise.
31002 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31003 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31004 [POSIX] (SEEK_CUR): Likewise.
31005 [POSIX] (SEEK_END): Likewise.
31006 [POSIX || UNIX98] (mode_t): Do not require.
31007 [POSIX] (off_t): Likewise.
31008 [POSIX] (pid_t): Likewise.
31009 [POSIX] (sys/stat.h): Do not allow header.
31010 [POSIX] (unistd.h): Likewise.
31011 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31012 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31013 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31014 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31015 require.
31016 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31017 sigevent): Specify elements.
31018 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31019 entry.
31020 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31021 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31022
31023 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31024 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31025 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31026 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31027 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31028 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31029 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31030 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31031 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31032 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31033 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31034 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31035 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31036 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31037 Likewise.
31038 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31039 Likewise.
31040 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31041 Likewise.
31042 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31043 Likewise.
31044 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31045 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31046 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31047 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31048 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31049 Specify lower bound on value.
31050 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31051 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31052 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31053 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31054 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31055 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31056 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31057 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31058 value.
31059 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31060 as optional.
31061 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31062 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31063 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31064 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31065 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31066 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31067 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31068 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31069 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31070 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31071 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31072 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31073 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31074 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31075 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31076 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31077 entry.
31078 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31079 optional.
31080 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31081 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31082 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31083 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31084 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31085 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31086 Likewise.
31087 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31088 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31089 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31090 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31091 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31092 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31093 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31094 as optional.
31095 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31096 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31097 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31098 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31099 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31100 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31101 specify as optional.
31102 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31103 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31104 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31105 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31106 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31107 [XPG3] (NL_LANGMAX): Likewise.
31108 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31109 [POSIX || XPG3] (NL_NMAX): Likewise.
31110 [POSIX || XPG3] (NL_SETMAX): Likewise.
31111 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31112 [XPG3] (NZERO): Likewise.
31113 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31114 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31115 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31116 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31117 (REG_ERANGE): Expect.
31118 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31119 optional-constant.
31120 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31121 Use (void) in prototype.
31122 [POSIX] (*_t): Allow.
31123 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31124 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31125 (WRDE_BADVAL): Expect.
31126
31127 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31128 expect.
31129 [XPG3 || XPG4] (O_RSYNC): Likewise.
31130 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31131 Likewise.
31132 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31133 [XPG3 || XPG4] (sigqueue): Likewise.
31134 [XPG3 || XPG4] (sigtimedwait): Likewise.
31135 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31136 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31137 [XPG3 || XPG4] (vsnprintf): Likewise.
31138 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31139 Likewise.
31140 [XPG3 || XPG4] (blksize_t): Likewise.
31141 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31142 Likewise.
31143 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31144 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31145 [XPG3 || XPG4] (struct itimerspec): Likewise.
31146 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31147 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31148 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31149 [XPG3 || XPG4] (clockid_t): Likewise.
31150 [XPG3 || XPG4] (timer_t): Likewise.
31151 [XPG3 || XPG4] (clock_getres): Likewise.
31152 [XPG3 || XPG4] (clock_gettime): Likewise.
31153 [XPG3 || XPG4] (clock_settime): Likewise.
31154 [XPG3 || XPG4] (nanosleep): Likewise.
31155 [XPG3 || XPG4] (timer_create): Likewise.
31156 [XPG3 || XPG4] (timer_delete): Likewise.
31157 [XPG3 || XPG4] (timer_gettime): Likewise.
31158 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31159 [XPG3 || XPG4] (timer_settime): Likewise.
31160 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31161 [XPG3 || XPG4] (getlogin_r): Likewise.
31162 [XPG3 || XPG4] (pread): Likewise.
31163 [XPG3 || XPG4] (pthread_atfork): Likewise.
31164 [XPG3 || XPG4] (pwrite): Likewise.
31165
31166 [BZ #14835]
31167 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31168 <bits/siginfo.h>.
31169
31170 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31171
31172 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31173 finalizing MALLSTREAM.
31174
31175 * sysdeps/mach/hurd/syncfs.c: New file.
31176
31177 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31178
31179 [BZ #14719]
31180 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31181 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31182 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31183 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31184 (_nss_dns_gethostbyname4_r): Likewise.
31185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31186 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31187
31188 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31189
31190 [BZ #13763]
31191 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31192
31193 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31194
31195 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31196 * elf/cache.c (print_entry): Print ",AArch64" for
31197 FLAG_AARCH64_LIB64
31198
31199 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31200 * elf/cache.c (print_entry): Print ",hard-float" for
31201 FLAG_ARM_LIBHF.
31202
31203 2012-11-18 David S. Miller <davem@davemloft.net>
31204
31205 With help from Joseph Myers.
31206 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31207 cutoff to 2**-13.
31208 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31209 cutoff to 2**-25.
31210 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31211 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31212 small.
31213 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31214 * math/libm-test.inc (y0_test): New tests.
31215 (y1_test): New tests.
31216 * sysdeps/i386/fpu/libm-test-ulps: Update.
31217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31219
31220 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31221
31222 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31223 64-bit targets.
31224 * configure: Regenerated.
31225
31226 2012-11-17 David S. Miller <davem@davemloft.net>
31227
31228 [BZ #14811]
31229 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31230 nonzero exponents with absolute value below 0x1p-128 to +/-
31231 0x1p-128.
31232
31233 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31234
31235 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31236
31237 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31238
31239 * posix/getconf-speclist.c: New file.
31240 * posix/posix-envs.def: Likewise.
31241 * posix/confstr.c (START_ENV_GROUP): New macro.
31242 (END_ENV_GROUP): Likewise.
31243 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31244 (KNOWN_PRESENT_ENV_STRING): Likewise.
31245 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31246 (UNKNOWN_ENVIRONMENT): Likewise.
31247 (confstr): Include posix-envs.def instead of handling
31248 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31249 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31250 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31251 (END_ENV_GROUP): Likewise.
31252 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31253 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31254 (UNKNOWN_ENVIRONMENT): Likewise.
31255 (__sysconf): Include posix-envs.def instead of handling associated
31256 cases directly here.
31257 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31258 preprocessing getconf-speclist.c rather than running getconf or
31259 generating empty file.
31260
31261 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31262
31263 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31264
31265 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31266
31267 [BZ #14672]
31268 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31269
31270 2012-11-16 David S. Miller <davem@davemloft.net>
31271
31272 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31273 smaller than LDBL_EPSILON/2.0L, just return xm1.
31274
31275 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31276
31277 * elf/tst-array1.c (init): Set constructor priority to 1000.
31278 (fini): Set destructor priority to 1000.
31279 * elf/tst-array2dep.c: Likewise.
31280
31281 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31282
31283 [BZ #11741]
31284 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31285 (_IO_new_file_xsputn): Also return EOF if none of the input
31286 data was written when overflow failed.
31287 * libio/iopadn.c (_IO_padn): Likewise.
31288 * libio/iowpadn.c (_IO_wpadn): Likewise.
31289 * stdio-common/tst-put-error.c: Add copyright notice.
31290 (do_test): Add case for printing padded string.
31291 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31292 _IO_padn returned error.
31293 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31294 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31295 return EOF.
31296
31297 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31298
31299 * libio/libioP.h: Add comment note that the references to C++
31300 bits are now obsolete.
31301
31302 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31303
31304 * math/libm-test.inc (check_complex): Use asprintf.
31305
31306 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31307
31308 * debug/pcprofiledump.c (print_version): Update copyright year.
31309 * malloc/memusagestat.c (print_version): Likewise.
31310
31311 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31312
31313 [BZ #14831]
31314 * elf/Makefile (tests): Add tst-audit8.
31315 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31316 ($(objpfx)tst-audit8.out): New target.
31317 (tst-audit8-ENV): New variable.
31318 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31319 audit if l_reloc_result is NULL.
31320 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31321 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31322 * elf/tst-audit8.c: New file.
31323
31324 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31325
31326 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31327 * misc/Makefile (CFLAGS-select.c): Define.
31328 * posix/Makefile (CFLAGS-pause.c): Define.
31329
31330 2012-11-13 David S. Miller <davem@davemloft.net>
31331
31332 * crypt/Makefile: Move test targets after toplevel Rules
31333 inclusion. Grab any necessary sysdep routines when linking.
31334 * crypt/md5.c (md5_process_block): Remove define, we will always
31335 name it __md5_process_block.
31336 (md5_finish_ctx): Update md5_process_block call.
31337 (md5_stream): Likewise.
31338 (md5_process_bytes): Likewise.
31339 (md5_process_block): Rename to __md5_process_block and move to ...
31340 * crypt/md5-block.c: ... here.
31341 * crypt/sha256.c (sha256_process_block): Move to ...
31342 * crypt/sha256-block.c: ... here.
31343 * crypt/sha512.c (sha512_process_block): Move to ...
31344 * crypt/sha512-block.c: ... here.
31345 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31346 path.
31347 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31348 * sysdeps/sparc/sparc64/multiarch/Makefile
31349 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31350 crypt subdir.
31351 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31352 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31353 multiarch changes.
31354 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31355 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31356 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31357 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31358 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31359 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31360 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31361 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31362 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31363 file.
31364 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31365 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31366 file.
31367 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31368
31369 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31370
31371 * timezone/tzselect.ksh: Update from tzcode git revision
31372 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31373 * timezone/zdump.c: Likewise.
31374 * timezone/zic.c: Likewise.
31375 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31376 in TZVERSION setting, not $(PKGVERSION).
31377 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31378 REPORT_BUGS_TO settings.
31379
31380 [BZ #14838]
31381 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31382 macro.
31383
31384 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31385
31386 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31387 detection to immediately after _FP_ROUND().
31388 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31389 bits are 0.
31390
31391 2012-11-11 David S. Miller <davem@davemloft.net>
31392
31393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31394 inttypes.h
31395 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31396 __close rather than their public counterparts.
31397
31398 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31399
31400 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31401 file.
31402 [UNIX98] (sem_timedwait): Do not expect.
31403 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31404 [XPG4 || UNIX98] (sockatmark): Do not expect.
31405 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31406 (clock_getcpuclockid): Do not expect.
31407 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31408 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31409 Do not expect.
31410 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31411 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31412 [UNIX98] (vwscanf): Likewise.
31413 [UNIX98] (vswscanf): Likewise.
31414
31415 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31416
31417 * timezone/version.h: Remove file.
31418 * timezone/README: Do not refer to version.h.
31419 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31420 $(objpfx)version.h.
31421 ($(objpfx)zdump.o): Likewise.
31422 ($(objpfx)version.h): New target.
31423
31424 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31425 2012i.
31426 * timezone/README: Don't mention modification to tzselect.ksh.
31427 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31428 work on unmodified tzselect.ksh. Substitute version numbers in
31429 tzselect.ksh.
31430
31431 * Makefile (format-me): Remove.
31432 (INSTALL): Adjust indentation. Use commands directly instead of
31433 using $(format-me).
31434
31435 * aclocal.m4 (ACX_PKGVERSION): New macro.
31436 (ACX_BUGURL): Likewise.
31437 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31438 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31439 (REPORT_BUGS_TO): Likewise.
31440 * configure: Regenerated.
31441 * config.h.in (PKGVERSION): New macro.
31442 (REPORT_BUGS_TO): Likewise.
31443 * config.make.in (PKGVERSION): New variable.
31444 (PKGVERSION_TEXI): Likewise.
31445 (REPORT_BUGS_TO): Likewise.
31446 (REPORT_BUGS_TEXI): Likewise.
31447 * Makefile (format-me): Use -I$(common-objpfx)manual.
31448 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31449 ($(common-objpfx)manual/%): New target.
31450 (manual/%): Remove target.
31451 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31452 (print_version): Use PKGVERSION.
31453 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31454 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31455 and REPORT_BUGS_TO.
31456 ($(objpfx)xtrace): Likewise.
31457 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31458 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31459 (print_version): Use PKGVERSION.
31460 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31461 (do_version): Use PKGVERSION.
31462 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31463 REPORT_BUGS_TO.
31464 (common-ldd-rewrite): Likewise.
31465 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31466 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31467 (print_version): Use PKGVERSION.
31468 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31469 * elf/pldd.c (argp_program_bug_address): Remove variable.
31470 (more_help): New function.
31471 (argp): Use more_help.
31472 (print_version): Use PKGVERSION.
31473 * elf/sln.c (main): Use PKGVERSION.
31474 (usage): Use REPORT_BUGS_TO.
31475 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31476 (top level): Use PKGVERSION.
31477 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31478 (print_version): Use PKGVERSION.
31479 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31480 (print_version): Use PKGVERSION.
31481 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31482 (print_version): Use PKGVERSION.
31483 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31484 (print_version): Use PKGVERSION.
31485 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31486 (print_version): Use PKGVERSION.
31487 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31488 (print_version): Use PKGVERSION.
31489 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31490 and BUGURL.
31491 ($(objpfx)memusage): Likewise.
31492 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31493 (do_version): Use PKGVERSION.
31494 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31495 (print_version): Use PKGVERSION.
31496 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31497 ($PKGVERSION): New variable.
31498 ($REPORT_BUGS_TO): Likewise.
31499 (usage): Use $REPORT_BUGS_TO.
31500 (top level): Use $PKGVERSION.
31501 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31502 ($(objpfx)pkgvers.texi): New rule.
31503 ($(objpfx)stamp-pkgvers): Likewise.
31504 * manual/install.texi: Include pkgvers.texi.
31505 (--with-pkgversion): Document new configure option.
31506 (--with-bugurl): Likewise.
31507 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31508 than necessarily for this particular distribution. Use
31509 REPORT_BUGS_TO for where to report bugs.
31510 * INSTALL: Regenerated.
31511 * manual/libc.texinfo: Include pkgvers.texi.
31512 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31513 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31514 (print_version): Use PKGVERSION.
31515 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31516 (print_version): Use PKGVERSION.
31517 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31518 (print_version): Use PKGVERSION.
31519 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31520 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31521 macro.
31522 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31523 (print_version): Use PKGVERSION.
31524 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31525 (print_version): Use PKGVERSION.
31526 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31527 and PKGVERSION.
31528
31529 * timezone/checktab.awk: Update from tzcode 2012i.
31530 * timezone/ialloc.c: Likewise.
31531 * timezone/private.h: Likewise.
31532 * timezone/scheck.c: Likewise.
31533 * timezone/tzfile.h: Likewise.
31534 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31535 (TZVERSION): Hardcode tzcode version number.
31536 * timezone/zdump.c: Update from tzcode 2012i.
31537 * timezone/zic.c: Likewise.
31538 * timezone/version.h: New file.
31539 * timezone/README: Describe version.h. Update upstream location.
31540
31541 [BZ #14824]
31542 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31543 (mktemp): Enable declaration.
31544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31545 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31546 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31547 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31548 Likewise.
31549 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31550 Likewise.
31551 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31552 Likewise.
31553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31554 Likewise.
31555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31556 Likewise.
31557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31558 Likewise.
31559
31560 [BZ #14821]
31561 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31562 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31563 for copies of such integer values.
31564 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31565 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31566
31567 2012-11-09 Andreas Jaeger <aj@suse.de>
31568
31569 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31570 definitions and declarations that are provided by
31571 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31572
31573 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31574
31575 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31576 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31577 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31578 definition.
31579
31580 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31581
31582 * elf/elf.h: Update comment before AArch64 relocations.
31583
31584 2012-11-07 David S. Miller <davem@davemloft.net>
31585
31586 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31587 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31588 (__start_context): Declare.
31589 (__makecontext_ret): Delete.
31590 (__makecontext): Hook up __start_context instead of
31591 __makecontext_ret.
31592 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31593 (sysdep_routines): Add __start_context when in stdlib.
31594
31595 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31596
31597 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31598 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31599 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31600 hardcoded "nm".
31601 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31602 (READELF): New variable. Use it instead of hardcoded "readelf".
31603
31604 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31607 * sysdeps/x86/Makefile: Here.
31608 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31609 * sysdeps/x86/tst-xmmymm.sh: This.
31610
31611 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31612
31613 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31614 expectations.
31615 [UNIX98] (pthread_barrier_t): Do not expect.
31616 [UNIX98] (pthread_barrierattr_t): Likewise.
31617 [UNIX98] (pthread_spinlock_t): Likewise.
31618 [UNIX98] (pthread_barrier_destroy): Likewise.
31619 [UNIX98] (pthread_barrier_init): Likewise.
31620 [UNIX98] (pthread_barrier_wait): Likewise.
31621 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31622 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31623 [UNIX98] (pthread_barrierattr_init): Likewise.
31624 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31625 [UNIX98] (pthread_getcpuclockid): Likewise.
31626 [UNIX98] (pthread_mutex_timedlock): Likewise.
31627 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31628 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31629 [UNIX98] (pthread_sigmask): Likewise.
31630 [UNIX98] (pthread_spin_destroy): Likewise.
31631 [UNIX98] (pthread_spin_init): Likewise.
31632 [UNIX98] (pthread_spin_lock): Likewise.
31633 [UNIX98] (pthread_spin_trylock): Likewise.
31634 [UNIX98] (pthread_spin_unlock): Likewise.
31635 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31636 Do not expect.
31637 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31638 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31639 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31640 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31641 [XPG3 || XPG4] (pthread_key_t): Likewise.
31642 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31643 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31644 [XPG3 || XPG4] (pthread_once_t): Likewise.
31645 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31646 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31647 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31648 [XPG3 || XPG4] (pthread_t): Likewise.
31649
31650 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31651 not expect.
31652 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31653
31654 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31655 Change function return type to int.
31656
31657 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31658 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31659 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31660 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31661 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31662 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31663 [!POSIX] (posix_madvise): Likewise.
31664 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31665 && !UNIX98].
31666 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31667 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31668 (mode_t): Likewise.
31669 (posix_mem_offset): Likewise.
31670 (posix_typed_mem_get_info): Likewise.
31671 (posix_typed_mem_open): Likewise.
31672
31673 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31674 Change condition to [XOPEN2K8].
31675
31676 * conform/conformtest.pl: Preprocess allow-header data with -x c
31677 instead of from stdin.
31678 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31679 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31680 [C99-based standards] (cerfc): Likewise.
31681 [C99-based standards] (cexp2): Likewise.
31682 [C99-based standards] (cexpm1): Likewise.
31683 [C99-based standards] (clog10): Likewise.
31684 [C99-based standards] (clog1p): Likewise.
31685 [C99-based standards] (clog2): Likewise.
31686 [C99-based standards] (clgamma): Likewise.
31687 [C99-based standards] (ctgamma): Likewise.
31688 [C99-based standards] (cerff): Likewise.
31689 [C99-based standards] (cerfcf): Likewise.
31690 [C99-based standards] (cexp2f): Likewise.
31691 [C99-based standards] (cexpm1f): Likewise.
31692 [C99-based standards] (clog10f): Likewise.
31693 [C99-based standards] (clog1pf): Likewise.
31694 [C99-based standards] (clog2f): Likewise.
31695 [C99-based standards] (clgammaf): Likewise.
31696 [C99-based standards] (ctgammaf): Likewise.
31697 [C99-based standards] (cerfl): Likewise.
31698 [C99-based standards] (cerfcl): Likewise.
31699 [C99-based standards] (cexp2l): Likewise.
31700 [C99-based standards] (cexpm1l): Likewise.
31701 [C99-based standards] (clog10l): Likewise.
31702 [C99-based standards] (clog1pl): Likewise.
31703 [C99-based standards] (clog2l): Likewise.
31704 [C99-based standards] (clgammal): Likewise.
31705 [C99-based standards] (ctgammal): Likewise.
31706 * conform/data/inttypes.h-data [C99-based standards]: Include
31707 stdint.h-data. Remove all expectations for stdint.h contents.
31708 [C99-based standards] (PRI*): Do not allow.
31709 [C99-based standards] (SCN*): Likewise.
31710 [C99-based standards] (*_t): Likewise.
31711 [C99-based-standards] (PRId8): Expect macro.
31712 [C99-based-standards] (PRIi8): Likewise.
31713 [C99-based-standards] (PRIo8): Likewise.
31714 [C99-based-standards] (PRIu8): Likewise.
31715 [C99-based-standards] (PRIx8): Likewise.
31716 [C99-based-standards] (PRIX8): Likewise.
31717 [C99-based-standards] (SCNd8): Likewise.
31718 [C99-based-standards] (SCNi8): Likewise.
31719 [C99-based-standards] (SCNo8): Likewise.
31720 [C99-based-standards] (SCNu8): Likewise.
31721 [C99-based-standards] (SCNx8): Likewise.
31722 [C99-based-standards] (PRIdLEAST8): Likewise.
31723 [C99-based-standards] (PRIiLEAST8): Likewise.
31724 [C99-based-standards] (PRIoLEAST8): Likewise.
31725 [C99-based-standards] (PRIuLEAST8): Likewise.
31726 [C99-based-standards] (PRIxLEAST8): Likewise.
31727 [C99-based-standards] (PRIXLEAST8): Likewise.
31728 [C99-based-standards] (SCNdLEAST8): Likewise.
31729 [C99-based-standards] (SCNiLEAST8): Likewise.
31730 [C99-based-standards] (SCNoLEAST8): Likewise.
31731 [C99-based-standards] (SCNuLEAST8): Likewise.
31732 [C99-based-standards] (SCNxLEAST8): Likewise.
31733 [C99-based-standards] (PRIdFAST8): Likewise.
31734 [C99-based-standards] (PRIiFAST8): Likewise.
31735 [C99-based-standards] (PRIoFAST8): Likewise.
31736 [C99-based-standards] (PRIuFAST8): Likewise.
31737 [C99-based-standards] (PRIxFAST8): Likewise.
31738 [C99-based-standards] (PRIXFAST8): Likewise.
31739 [C99-based-standards] (SCNdFAST8): Likewise.
31740 [C99-based-standards] (SCNiFAST8): Likewise.
31741 [C99-based-standards] (SCNoFAST8): Likewise.
31742 [C99-based-standards] (SCNuFAST8): Likewise.
31743 [C99-based-standards] (SCNxFAST8): Likewise.
31744 [C99-based-standards] (PRId16): Likewise.
31745 [C99-based-standards] (PRIi16): Likewise.
31746 [C99-based-standards] (PRIo16): Likewise.
31747 [C99-based-standards] (PRIu16): Likewise.
31748 [C99-based-standards] (PRIx16): Likewise.
31749 [C99-based-standards] (PRIX16): Likewise.
31750 [C99-based-standards] (SCNd16): Likewise.
31751 [C99-based-standards] (SCNi16): Likewise.
31752 [C99-based-standards] (SCNo16): Likewise.
31753 [C99-based-standards] (SCNu16): Likewise.
31754 [C99-based-standards] (SCNx16): Likewise.
31755 [C99-based-standards] (PRIdLEAST16): Likewise.
31756 [C99-based-standards] (PRIiLEAST16): Likewise.
31757 [C99-based-standards] (PRIoLEAST16): Likewise.
31758 [C99-based-standards] (PRIuLEAST16): Likewise.
31759 [C99-based-standards] (PRIxLEAST16): Likewise.
31760 [C99-based-standards] (PRIXLEAST16): Likewise.
31761 [C99-based-standards] (SCNdLEAST16): Likewise.
31762 [C99-based-standards] (SCNiLEAST16): Likewise.
31763 [C99-based-standards] (SCNoLEAST16): Likewise.
31764 [C99-based-standards] (SCNuLEAST16): Likewise.
31765 [C99-based-standards] (SCNxLEAST16): Likewise.
31766 [C99-based-standards] (PRIdFAST16): Likewise.
31767 [C99-based-standards] (PRIiFAST16): Likewise.
31768 [C99-based-standards] (PRIoFAST16): Likewise.
31769 [C99-based-standards] (PRIuFAST16): Likewise.
31770 [C99-based-standards] (PRIxFAST16): Likewise.
31771 [C99-based-standards] (PRIXFAST16): Likewise.
31772 [C99-based-standards] (SCNdFAST16): Likewise.
31773 [C99-based-standards] (SCNiFAST16): Likewise.
31774 [C99-based-standards] (SCNoFAST16): Likewise.
31775 [C99-based-standards] (SCNuFAST16): Likewise.
31776 [C99-based-standards] (SCNxFAST16): Likewise.
31777 [C99-based-standards] (PRId32): Likewise.
31778 [C99-based-standards] (PRIi32): Likewise.
31779 [C99-based-standards] (PRIo32): Likewise.
31780 [C99-based-standards] (PRIu32): Likewise.
31781 [C99-based-standards] (PRIx32): Likewise.
31782 [C99-based-standards] (PRIX32): Likewise.
31783 [C99-based-standards] (SCNd32): Likewise.
31784 [C99-based-standards] (SCNi32): Likewise.
31785 [C99-based-standards] (SCNo32): Likewise.
31786 [C99-based-standards] (SCNu32): Likewise.
31787 [C99-based-standards] (SCNx32): Likewise.
31788 [C99-based-standards] (PRIdLEAST32): Likewise.
31789 [C99-based-standards] (PRIiLEAST32): Likewise.
31790 [C99-based-standards] (PRIoLEAST32): Likewise.
31791 [C99-based-standards] (PRIuLEAST32): Likewise.
31792 [C99-based-standards] (PRIxLEAST32): Likewise.
31793 [C99-based-standards] (PRIXLEAST32): Likewise.
31794 [C99-based-standards] (SCNdLEAST32): Likewise.
31795 [C99-based-standards] (SCNiLEAST32): Likewise.
31796 [C99-based-standards] (SCNoLEAST32): Likewise.
31797 [C99-based-standards] (SCNuLEAST32): Likewise.
31798 [C99-based-standards] (SCNxLEAST32): Likewise.
31799 [C99-based-standards] (PRIdFAST32): Likewise.
31800 [C99-based-standards] (PRIiFAST32): Likewise.
31801 [C99-based-standards] (PRIoFAST32): Likewise.
31802 [C99-based-standards] (PRIuFAST32): Likewise.
31803 [C99-based-standards] (PRIxFAST32): Likewise.
31804 [C99-based-standards] (PRIXFAST32): Likewise.
31805 [C99-based-standards] (SCNdFAST32): Likewise.
31806 [C99-based-standards] (SCNiFAST32): Likewise.
31807 [C99-based-standards] (SCNoFAST32): Likewise.
31808 [C99-based-standards] (SCNuFAST32): Likewise.
31809 [C99-based-standards] (SCNxFAST32): Likewise.
31810 [C99-based-standards] (PRId64): Likewise.
31811 [C99-based-standards] (PRIi64): Likewise.
31812 [C99-based-standards] (PRIo64): Likewise.
31813 [C99-based-standards] (PRIu64): Likewise.
31814 [C99-based-standards] (PRIx64): Likewise.
31815 [C99-based-standards] (PRIX64): Likewise.
31816 [C99-based-standards] (SCNd64): Likewise.
31817 [C99-based-standards] (SCNi64): Likewise.
31818 [C99-based-standards] (SCNo64): Likewise.
31819 [C99-based-standards] (SCNu64): Likewise.
31820 [C99-based-standards] (SCNx64): Likewise.
31821 [C99-based-standards] (PRIdLEAST64): Likewise.
31822 [C99-based-standards] (PRIiLEAST64): Likewise.
31823 [C99-based-standards] (PRIoLEAST64): Likewise.
31824 [C99-based-standards] (PRIuLEAST64): Likewise.
31825 [C99-based-standards] (PRIxLEAST64): Likewise.
31826 [C99-based-standards] (PRIXLEAST64): Likewise.
31827 [C99-based-standards] (SCNdLEAST64): Likewise.
31828 [C99-based-standards] (SCNiLEAST64): Likewise.
31829 [C99-based-standards] (SCNoLEAST64): Likewise.
31830 [C99-based-standards] (SCNuLEAST64): Likewise.
31831 [C99-based-standards] (SCNxLEAST64): Likewise.
31832 [C99-based-standards] (PRIdFAST64): Likewise.
31833 [C99-based-standards] (PRIiFAST64): Likewise.
31834 [C99-based-standards] (PRIoFAST64): Likewise.
31835 [C99-based-standards] (PRIuFAST64): Likewise.
31836 [C99-based-standards] (PRIxFAST64): Likewise.
31837 [C99-based-standards] (PRIXFAST64): Likewise.
31838 [C99-based-standards] (SCNdFAST64): Likewise.
31839 [C99-based-standards] (SCNiFAST64): Likewise.
31840 [C99-based-standards] (SCNoFAST64): Likewise.
31841 [C99-based-standards] (SCNuFAST64): Likewise.
31842 [C99-based-standards] (SCNxFAST64): Likewise.
31843 [C99-based-standards] (PRIdMAX): Likewise.
31844 [C99-based-standards] (PRIiMAX): Likewise.
31845 [C99-based-standards] (PRIoMAX): Likewise.
31846 [C99-based-standards] (PRIuMAX): Likewise.
31847 [C99-based-standards] (PRIxMAX): Likewise.
31848 [C99-based-standards] (PRIXMAX): Likewise.
31849 [C99-based-standards] (SCNdMAX): Likewise.
31850 [C99-based-standards] (SCNiMAX): Likewise.
31851 [C99-based-standards] (SCNoMAX): Likewise.
31852 [C99-based-standards] (SCNuMAX): Likewise.
31853 [C99-based-standards] (SCNxMAX): Likewise.
31854 [C99-based-standards] (PRIdPTR): Likewise.
31855 [C99-based-standards] (PRIiPTR): Likewise.
31856 [C99-based-standards] (PRIoPTR): Likewise.
31857 [C99-based-standards] (PRIuPTR): Likewise.
31858 [C99-based-standards] (PRIxPTR): Likewise.
31859 [C99-based-standards] (PRIXPTR): Likewise.
31860 [C99-based-standards] (SCNdPTR): Likewise.
31861 [C99-based-standards] (SCNiPTR): Likewise.
31862 [C99-based-standards] (SCNoPTR): Likewise.
31863 [C99-based-standards] (SCNuPTR): Likewise.
31864 [C99-based-standards] (SCNxPTR): Likewise.
31865 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31866 allow.
31867 * conform/data/stdint.h-data: Update comments to clarify
31868 requirements.
31869 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31870 type.
31871 [C99-based standards] (INT8_MAX): Likewise.
31872 [C99-based standards] (INT16_MIN): Likewise.
31873 [C99-based standards] (INT16_MAX): Likewise.
31874 [C99-based standards] (INT32_MIN): Likewise.
31875 [C99-based standards] (INT32_MAX): Likewise.
31876 [C99-based standards] (INT64_MIN): Likewise.
31877 [C99-based standards] (INT64_MAX): Likewise.
31878 [C99-based standards] (UINT8_MAX): Likewise.
31879 [C99-based standards] (UINT16_MAX): Likewise.
31880 [C99-based standards] (UINT32_MAX): Likewise.
31881 [C99-based standards] (UINT64_MAX): Likewise.
31882 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31883 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31884 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31885 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31886 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31887 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31888 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31889 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31890 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31891 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31892 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31893 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31894 [C99-based standards] (INT_FAST8_MIN): Likewise.
31895 [C99-based standards] (INT_FAST8_MAX): Likewise.
31896 [C99-based standards] (INT_FAST16_MIN): Likewise.
31897 [C99-based standards] (INT_FAST16_MAX): Likewise.
31898 [C99-based standards] (INT_FAST32_MIN): Likewise.
31899 [C99-based standards] (INT_FAST32_MAX): Likewise.
31900 [C99-based standards] (INT_FAST64_MIN): Likewise.
31901 [C99-based standards] (INT_FAST64_MAX): Likewise.
31902 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31903 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31904 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31905 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31906 [C99-based standards] (INTPTR_MIN): Likewise.
31907 [C99-based standards] (INTPTR_MAX): Likewise.
31908 [C99-based standards] (UINTPTR_MAX): Likewise.
31909 [C99-based standards] (INTMAX_MIN): Likewise.
31910 [C99-based standards] (INTMAX_MAX): Likewise.
31911 [C99-based standards] (UINTMAX_MAX): Likewise.
31912 [C99-based standards] (PTRDIFF_MIN): Likewise.
31913 [C99-based standards] (PTRDIFF_MAX): Likewise.
31914 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31915 [C99-based standards] (SIZE_MAX): Likewise.
31916 [C99-based standards] (WCHAR_MAX): Likewise.
31917 [C99-based standards] (WINT_MAX): Likewise.
31918 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31919 constraint on value.
31920 [C99-based standards] (WCHAR_MIN): Likewise.
31921 [C99-based standards] (WINT_MIN): Likewise.
31922 [C99-based standards] (*_t): Allow.
31923 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31924 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31925 Include math.h-data and complex.h-data. Remove all expectations
31926 of math.h and complex.h contents.
31927 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31928 at end of line.
31929 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31930 (struct tm): Expect tag.
31931 [C99-based-standards] (wcstof): Expect function.
31932 [C99-based-standards] (wcstold): Likewise.
31933 [C99-based-standards] (wcstoll): Likewise.
31934 [C99-based-standards] (wcstoull): Likewise.
31935 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31936 macro-int-constant. Specify type.
31937 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31938 constraint on value.
31939 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31940 Specify type.
31941 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31942 Specify value.
31943 [ISO C standards]: Do not allow headers.
31944 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31945 wcs[abcdefghijklmnopqrstuvwxyz]*.
31946 [ISO C standards] (*_t): Do not allow.
31947 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31948 Expect function.
31949 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31950 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31951 Specify type.
31952 [ISO C standards]: Do not allow headers.
31953 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31954 is[abcdefghijklmnopqrstuvwxyz]*.
31955 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31956 to[abcdefghijklmnopqrstuvwxyz]*.
31957 [ISO C standards] (*_t): Do not allow.
31958 * conform/data/stdalign.h-data: New file.
31959 * conform/data/stdbool.h-data: Likewise.
31960 * conform/data/stdnoreturn.h-data: Likewise.
31961
31962 2012-11-07 Roland McGrath <roland@hack.frob.com>
31963
31964 [BZ #14815]
31965 * manual/filesys.texi (Directory Entries): Typo fix.
31966 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31967
31968 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31969
31970 * elf/elf.h (EM_AARCH64): New macro.
31971 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31972 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31973 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31974 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31975 (R_AARCH64_TLSDESC): Likewise.
31976 (NT_ARM_TLS): Likewise.
31977 (NT_ARM_HW_BREAK): Likewise.
31978 (NT_ARM_HW_WATCH): Likewise.
31979
31980 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31981
31982 [BZ #14811]
31983 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31984 (__ieee754_powl): Saturate nonzero exponents with absolute value
31985 below 0x1p-79 to +/- 0x1p-79.
31986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31987 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31988 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31989 nonzero exponents with absolute value below 0x1p-32 to +/-
31990 0x1p-32.
31991 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31992 (__ieee754_powl): Saturate nonzero exponents with absolute value
31993 below 0x1p-79 to +/- 0x1p-79.
31994 * math/libm-test.inc (pow_test): Add more tests.
31995
31996 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31997
31998 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31999 _dl_s390_cap_flags with kernel. Increase string length.
32000 (_dl_s390_platforms): Add z196 and zEC12.
32001
32002 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32003
32004 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32005 Change XOPEN21K to XOPEN2K.
32006
32007 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32008
32009 * string/memmove.c: Use memcpy when possible.
32010
32011 2012-11-06 Andreas Jaeger <aj@suse.de>
32012
32013 * po/eo.po: Update from translation team.
32014
32015 2012-11-06 Joseph Myers <joseph@codesourcery.com>
32016
32017 [BZ #14793]
32018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32019 exponent and small x and y exponents, scale x or y up. Increase
32020 by 2 the exponent used in scaling up.
32021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32022 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32023 * math/libm-test.inc (fma_test): Add more tests.
32024 (fma_test_towardzero): Likewise.
32025 (fma_test_downward): Likewise.
32026 (fma_test_upward): Likewise.
32027
32028 2012-11-05 Joseph Myers <joseph@codesourcery.com>
32029
32030 [BZ #14805]
32031 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32032 fenv_t *.
32033
32034 [BZ #14801]
32035 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32036 namespace for names of struct fields.
32037 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32038 fenv_t fields.
32039 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32040 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32041
32042 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32043
32044 [BZ #3665]
32045 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32046
32047 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32048
32049 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32050 PTR_DEMANGLE.
32051
32052 [BZ #5246]
32053 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32054 PTR_DEMANGLE.
32055
32056 2012-11-04 Joseph Myers <joseph@codesourcery.com>
32057
32058 [BZ #14797]
32059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32060 definitely overflow as x * y not x * y + z.
32061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32062 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32063 * math/libm-test.inc (fma_test): Add more tests.
32064 (fma_test_towardzero): Likewise.
32065 (fma_test_downward): Likewise.
32066 (fma_test_upward): Likewise.
32067
32068 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32069
32070 [BZ #157]
32071
32072 * include/stub-tag.h: Remove file.
32073 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32074 '#include' of it.
32075 * manual/maint.texi (Porting): Don't reference it.
32076 * Makerules ($(objpfx)stubs): Likewise.
32077 * dirent/closedir.c: Don't include <stub-tag.h>.
32078 * dirent/dirfd.c: Likewise.
32079 * dirent/fdopendir.c: Likewise.
32080 * dirent/getdents.c: Likewise.
32081 * dirent/getdents64.c: Likewise.
32082 * dirent/opendir.c: Likewise.
32083 * dirent/readdir.c: Likewise.
32084 * dirent/readdir64.c: Likewise.
32085 * dirent/readdir64_r.c: Likewise.
32086 * dirent/readdir_r.c: Likewise.
32087 * dirent/rewinddir.c: Likewise.
32088 * dirent/seekdir.c: Likewise.
32089 * dirent/telldir.c: Likewise.
32090 * gmon/profil.c: Likewise.
32091 * grp/setgroups.c: Likewise.
32092 * inet/if_index.c: Likewise.
32093 * io/access.c: Likewise.
32094 * io/chdir.c: Likewise.
32095 * io/chmod.c: Likewise.
32096 * io/chown.c: Likewise.
32097 * io/close.c: Likewise.
32098 * io/dup.c: Likewise.
32099 * io/dup2.c: Likewise.
32100 * io/dup3.c: Likewise.
32101 * io/euidaccess.c: Likewise.
32102 * io/faccessat.c: Likewise.
32103 * io/fchdir.c: Likewise.
32104 * io/fchmod.c: Likewise.
32105 * io/fchmodat.c: Likewise.
32106 * io/fchown.c: Likewise.
32107 * io/fchownat.c: Likewise.
32108 * io/fcntl.c: Likewise.
32109 * io/flock.c: Likewise.
32110 * io/fstatfs.c: Likewise.
32111 * io/fstatfs64.c: Likewise.
32112 * io/fstatvfs.c: Likewise.
32113 * io/fstatvfs64.c: Likewise.
32114 * io/futimens.c: Likewise.
32115 * io/fxstat.c: Likewise.
32116 * io/fxstat64.c: Likewise.
32117 * io/fxstatat.c: Likewise.
32118 * io/fxstatat64.c: Likewise.
32119 * io/getcwd.c: Likewise.
32120 * io/isatty.c: Likewise.
32121 * io/lchmod.c: Likewise.
32122 * io/lchown.c: Likewise.
32123 * io/link.c: Likewise.
32124 * io/linkat.c: Likewise.
32125 * io/lseek.c: Likewise.
32126 * io/lseek64.c: Likewise.
32127 * io/lxstat64.c: Likewise.
32128 * io/mkdir.c: Likewise.
32129 * io/mkdirat.c: Likewise.
32130 * io/mkfifo.c: Likewise.
32131 * io/mkfifoat.c: Likewise.
32132 * io/open.c: Likewise.
32133 * io/open64.c: Likewise.
32134 * io/openat.c: Likewise.
32135 * io/openat64.c: Likewise.
32136 * io/pipe.c: Likewise.
32137 * io/pipe2.c: Likewise.
32138 * io/poll.c: Likewise.
32139 * io/posix_fadvise.c: Likewise.
32140 * io/posix_fadvise64.c: Likewise.
32141 * io/posix_fallocate.c: Likewise.
32142 * io/posix_fallocate64.c: Likewise.
32143 * io/read.c: Likewise.
32144 * io/readlink.c: Likewise.
32145 * io/readlinkat.c: Likewise.
32146 * io/rmdir.c: Likewise.
32147 * io/sendfile.c: Likewise.
32148 * io/sendfile64.c: Likewise.
32149 * io/statfs.c: Likewise.
32150 * io/statfs64.c: Likewise.
32151 * io/statvfs.c: Likewise.
32152 * io/statvfs64.c: Likewise.
32153 * io/symlink.c: Likewise.
32154 * io/symlinkat.c: Likewise.
32155 * io/ttyname.c: Likewise.
32156 * io/ttyname_r.c: Likewise.
32157 * io/umask.c: Likewise.
32158 * io/unlink.c: Likewise.
32159 * io/unlinkat.c: Likewise.
32160 * io/utime.c: Likewise.
32161 * io/utimensat.c: Likewise.
32162 * io/write.c: Likewise.
32163 * io/xmknod.c: Likewise.
32164 * io/xmknodat.c: Likewise.
32165 * io/xstat.c: Likewise.
32166 * io/xstat64.c: Likewise.
32167 * login/getpt.c: Likewise.
32168 * login/grantpt.c: Likewise.
32169 * login/unlockpt.c: Likewise.
32170 * math/e_acoshl.c: Likewise.
32171 * math/e_acosl.c: Likewise.
32172 * math/e_asinl.c: Likewise.
32173 * math/e_atan2l.c: Likewise.
32174 * math/e_atanhl.c: Likewise.
32175 * math/e_coshl.c: Likewise.
32176 * math/e_expl.c: Likewise.
32177 * math/e_fmodl.c: Likewise.
32178 * math/e_gammal_r.c: Likewise.
32179 * math/e_hypotl.c: Likewise.
32180 * math/e_j0l.c: Likewise.
32181 * math/e_j1l.c: Likewise.
32182 * math/e_jnl.c: Likewise.
32183 * math/e_lgammal_r.c: Likewise.
32184 * math/e_log10l.c: Likewise.
32185 * math/e_log2l.c: Likewise.
32186 * math/e_logl.c: Likewise.
32187 * math/e_powl.c: Likewise.
32188 * math/e_rem_pio2l.c: Likewise.
32189 * math/e_sinhl.c: Likewise.
32190 * math/e_sqrtl.c: Likewise.
32191 * math/fclrexcpt.c: Likewise.
32192 * math/fedisblxcpt.c: Likewise.
32193 * math/feenablxcpt.c: Likewise.
32194 * math/fegetenv.c: Likewise.
32195 * math/fegetexcept.c: Likewise.
32196 * math/fegetround.c: Likewise.
32197 * math/feholdexcpt.c: Likewise.
32198 * math/fesetenv.c: Likewise.
32199 * math/fesetround.c: Likewise.
32200 * math/feupdateenv.c: Likewise.
32201 * math/fgetexcptflg.c: Likewise.
32202 * math/fraiseexcpt.c: Likewise.
32203 * math/fsetexcptflg.c: Likewise.
32204 * math/ftestexcept.c: Likewise.
32205 * math/k_cosl.c: Likewise.
32206 * math/k_rem_pio2l.c: Likewise.
32207 * math/k_sinl.c: Likewise.
32208 * math/k_tanl.c: Likewise.
32209 * math/s_asinhl.c: Likewise.
32210 * math/s_atanl.c: Likewise.
32211 * math/s_cbrtl.c: Likewise.
32212 * math/s_erfl.c: Likewise.
32213 * math/s_expm1l.c: Likewise.
32214 * math/s_log1pl.c: Likewise.
32215 * math/s_tanhl.c: Likewise.
32216 * misc/acct.c: Likewise.
32217 * misc/brk.c: Likewise.
32218 * misc/chflags.c: Likewise.
32219 * misc/chroot.c: Likewise.
32220 * misc/fchflags.c: Likewise.
32221 * misc/fgetxattr.c: Likewise.
32222 * misc/flistxattr.c: Likewise.
32223 * misc/fremovexattr.c: Likewise.
32224 * misc/fsetxattr.c: Likewise.
32225 * misc/fsync.c: Likewise.
32226 * misc/ftruncate.c: Likewise.
32227 * misc/futimes.c: Likewise.
32228 * misc/futimesat.c: Likewise.
32229 * misc/getdomain.c: Likewise.
32230 * misc/getdtsz.c: Likewise.
32231 * misc/gethostid.c: Likewise.
32232 * misc/gethostname.c: Likewise.
32233 * misc/getloadavg.c: Likewise.
32234 * misc/getpagesize.c: Likewise.
32235 * misc/getsysstats.c: Likewise.
32236 * misc/getxattr.c: Likewise.
32237 * misc/gtty.c: Likewise.
32238 * misc/ioctl.c: Likewise.
32239 * misc/lgetxattr.c: Likewise.
32240 * misc/listxattr.c: Likewise.
32241 * misc/llistxattr.c: Likewise.
32242 * misc/lremovexattr.c: Likewise.
32243 * misc/lsetxattr.c: Likewise.
32244 * misc/lutimes.c: Likewise.
32245 * misc/madvise.c: Likewise.
32246 * misc/mincore.c: Likewise.
32247 * misc/mlock.c: Likewise.
32248 * misc/mlockall.c: Likewise.
32249 * misc/mmap.c: Likewise.
32250 * misc/mprotect.c: Likewise.
32251 * misc/msync.c: Likewise.
32252 * misc/munlock.c: Likewise.
32253 * misc/munlockall.c: Likewise.
32254 * misc/munmap.c: Likewise.
32255 * misc/preadv.c: Likewise.
32256 * misc/preadv64.c: Likewise.
32257 * misc/ptrace.c: Likewise.
32258 * misc/pwritev.c: Likewise.
32259 * misc/pwritev64.c: Likewise.
32260 * misc/readv.c: Likewise.
32261 * misc/reboot.c: Likewise.
32262 * misc/remap_file_pages.c: Likewise.
32263 * misc/removexattr.c: Likewise.
32264 * misc/revoke.c: Likewise.
32265 * misc/select.c: Likewise.
32266 * misc/setdomain.c: Likewise.
32267 * misc/setegid.c: Likewise.
32268 * misc/seteuid.c: Likewise.
32269 * misc/sethostid.c: Likewise.
32270 * misc/sethostname.c: Likewise.
32271 * misc/setregid.c: Likewise.
32272 * misc/setreuid.c: Likewise.
32273 * misc/setxattr.c: Likewise.
32274 * misc/sstk.c: Likewise.
32275 * misc/stty.c: Likewise.
32276 * misc/swapoff.c: Likewise.
32277 * misc/swapon.c: Likewise.
32278 * misc/sync.c: Likewise.
32279 * misc/syncfs.c: Likewise.
32280 * misc/syscall.c: Likewise.
32281 * misc/truncate.c: Likewise.
32282 * misc/ualarm.c: Likewise.
32283 * misc/usleep.c: Likewise.
32284 * misc/ustat.c: Likewise.
32285 * misc/utimes.c: Likewise.
32286 * misc/vhangup.c: Likewise.
32287 * misc/writev.c: Likewise.
32288 * posix/_exit.c: Likewise.
32289 * posix/alarm.c: Likewise.
32290 * posix/execve.c: Likewise.
32291 * posix/fexecve.c: Likewise.
32292 * posix/fork.c: Likewise.
32293 * posix/fpathconf.c: Likewise.
32294 * posix/getaddrinfo.c: Likewise.
32295 * posix/getegid.c: Likewise.
32296 * posix/geteuid.c: Likewise.
32297 * posix/getgid.c: Likewise.
32298 * posix/getgroups.c: Likewise.
32299 * posix/getlogin.c: Likewise.
32300 * posix/getlogin_r.c: Likewise.
32301 * posix/getpgid.c: Likewise.
32302 * posix/getpid.c: Likewise.
32303 * posix/getppid.c: Likewise.
32304 * posix/getresgid.c: Likewise.
32305 * posix/getresuid.c: Likewise.
32306 * posix/getsid.c: Likewise.
32307 * posix/getuid.c: Likewise.
32308 * posix/glob64.c: Likewise.
32309 * posix/nanosleep.c: Likewise.
32310 * posix/pathconf.c: Likewise.
32311 * posix/pause.c: Likewise.
32312 * posix/posix_madvise.c: Likewise.
32313 * posix/pread.c: Likewise.
32314 * posix/pread64.c: Likewise.
32315 * posix/pwrite.c: Likewise.
32316 * posix/pwrite64.c: Likewise.
32317 * posix/sched_getaffinity.c: Likewise.
32318 * posix/sched_getp.c: Likewise.
32319 * posix/sched_gets.c: Likewise.
32320 * posix/sched_primax.c: Likewise.
32321 * posix/sched_primin.c: Likewise.
32322 * posix/sched_rr_gi.c: Likewise.
32323 * posix/sched_setaffinity.c: Likewise.
32324 * posix/sched_setp.c: Likewise.
32325 * posix/sched_sets.c: Likewise.
32326 * posix/sched_yield.c: Likewise.
32327 * posix/setgid.c: Likewise.
32328 * posix/setlogin.c: Likewise.
32329 * posix/setpgid.c: Likewise.
32330 * posix/setresgid.c: Likewise.
32331 * posix/setresuid.c: Likewise.
32332 * posix/setsid.c: Likewise.
32333 * posix/setuid.c: Likewise.
32334 * posix/sleep.c: Likewise.
32335 * posix/spawni.c: Likewise.
32336 * posix/sysconf.c: Likewise.
32337 * posix/times.c: Likewise.
32338 * posix/wait.c: Likewise.
32339 * posix/wait3.c: Likewise.
32340 * posix/wait4.c: Likewise.
32341 * posix/waitpid.c: Likewise.
32342 * resolv/gai_sigqueue.c: Likewise.
32343 * resource/getpriority.c: Likewise.
32344 * resource/getrlimit.c: Likewise.
32345 * resource/getrusage.c: Likewise.
32346 * resource/nice.c: Likewise.
32347 * resource/setpriority.c: Likewise.
32348 * resource/setrlimit.c: Likewise.
32349 * resource/ulimit.c: Likewise.
32350 * rt/aio_cancel.c: Likewise.
32351 * rt/aio_fsync.c: Likewise.
32352 * rt/aio_read.c: Likewise.
32353 * rt/aio_sigqueue.c: Likewise.
32354 * rt/aio_suspend.c: Likewise.
32355 * rt/aio_write.c: Likewise.
32356 * rt/clock_getres.c: Likewise.
32357 * rt/clock_gettime.c: Likewise.
32358 * rt/clock_nanosleep.c: Likewise.
32359 * rt/clock_settime.c: Likewise.
32360 * rt/lio_listio.c: Likewise.
32361 * rt/mq_close.c: Likewise.
32362 * rt/mq_getattr.c: Likewise.
32363 * rt/mq_notify.c: Likewise.
32364 * rt/mq_open.c: Likewise.
32365 * rt/mq_receive.c: Likewise.
32366 * rt/mq_send.c: Likewise.
32367 * rt/mq_setattr.c: Likewise.
32368 * rt/mq_timedreceive.c: Likewise.
32369 * rt/mq_timedsend.c: Likewise.
32370 * rt/mq_unlink.c: Likewise.
32371 * rt/shm_open.c: Likewise.
32372 * rt/shm_unlink.c: Likewise.
32373 * rt/timer_create.c: Likewise.
32374 * rt/timer_delete.c: Likewise.
32375 * rt/timer_getoverr.c: Likewise.
32376 * rt/timer_gettime.c: Likewise.
32377 * rt/timer_settime.c: Likewise.
32378 * setjmp/__longjmp.c: Likewise.
32379 * setjmp/setjmp.c: Likewise.
32380 * signal/kill.c: Likewise.
32381 * signal/killpg.c: Likewise.
32382 * signal/raise.c: Likewise.
32383 * signal/sigaction.c: Likewise.
32384 * signal/sigaltstack.c: Likewise.
32385 * signal/sigblock.c: Likewise.
32386 * signal/sigignore.c: Likewise.
32387 * signal/sigintr.c: Likewise.
32388 * signal/signal.c: Likewise.
32389 * signal/sigpause.c: Likewise.
32390 * signal/sigpending.c: Likewise.
32391 * signal/sigqueue.c: Likewise.
32392 * signal/sigreturn.c: Likewise.
32393 * signal/sigset.c: Likewise.
32394 * signal/sigsetmask.c: Likewise.
32395 * signal/sigstack.c: Likewise.
32396 * signal/sigsuspend.c: Likewise.
32397 * signal/sigtimedwait.c: Likewise.
32398 * signal/sigvec.c: Likewise.
32399 * signal/sigwait.c: Likewise.
32400 * signal/sigwaitinfo.c: Likewise.
32401 * signal/sysv_signal.c: Likewise.
32402 * socket/accept.c: Likewise.
32403 * socket/accept4.c: Likewise.
32404 * socket/bind.c: Likewise.
32405 * socket/connect.c: Likewise.
32406 * socket/getpeername.c: Likewise.
32407 * socket/getsockname.c: Likewise.
32408 * socket/getsockopt.c: Likewise.
32409 * socket/isfdtype.c: Likewise.
32410 * socket/listen.c: Likewise.
32411 * socket/recv.c: Likewise.
32412 * socket/recvfrom.c: Likewise.
32413 * socket/recvmsg.c: Likewise.
32414 * socket/send.c: Likewise.
32415 * socket/sendmsg.c: Likewise.
32416 * socket/sendto.c: Likewise.
32417 * socket/setsockopt.c: Likewise.
32418 * socket/shutdown.c: Likewise.
32419 * socket/sockatmark.c: Likewise.
32420 * socket/socket.c: Likewise.
32421 * socket/socketpair.c: Likewise.
32422 * stdio-common/ctermid.c: Likewise.
32423 * stdio-common/cuserid.c: Likewise.
32424 * stdio-common/remove.c: Likewise.
32425 * stdio-common/rename.c: Likewise.
32426 * stdio-common/renameat.c: Likewise.
32427 * stdio-common/tempname.c: Likewise.
32428 * stdlib/getcontext.c: Likewise.
32429 * stdlib/makecontext.c: Likewise.
32430 * stdlib/setcontext.c: Likewise.
32431 * stdlib/swapcontext.c: Likewise.
32432 * stdlib/system.c: Likewise.
32433 * streams/fattach.c: Likewise.
32434 * streams/fdetach.c: Likewise.
32435 * streams/getmsg.c: Likewise.
32436 * streams/getpmsg.c: Likewise.
32437 * streams/putmsg.c: Likewise.
32438 * streams/putpmsg.c: Likewise.
32439 * sysdeps/unix/bsd/getpt.c: Likewise.
32440 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32441 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32442 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32444 Likewise.
32445 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32446 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32447 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32448 * sysvipc/msgctl.c: Likewise.
32449 * sysvipc/msgget.c: Likewise.
32450 * sysvipc/msgrcv.c: Likewise.
32451 * sysvipc/msgsnd.c: Likewise.
32452 * sysvipc/semctl.c: Likewise.
32453 * sysvipc/semget.c: Likewise.
32454 * sysvipc/semop.c: Likewise.
32455 * sysvipc/semtimedop.c: Likewise.
32456 * sysvipc/shmat.c: Likewise.
32457 * sysvipc/shmctl.c: Likewise.
32458 * sysvipc/shmdt.c: Likewise.
32459 * sysvipc/shmget.c: Likewise.
32460 * termios/tcdrain.c: Likewise.
32461 * termios/tcflow.c: Likewise.
32462 * termios/tcflush.c: Likewise.
32463 * termios/tcgetattr.c: Likewise.
32464 * termios/tcgetpgrp.c: Likewise.
32465 * termios/tcsendbrk.c: Likewise.
32466 * termios/tcsetattr.c: Likewise.
32467 * termios/tcsetpgrp.c: Likewise.
32468 * time/adjtime.c: Likewise.
32469 * time/clock.c: Likewise.
32470 * time/getitimer.c: Likewise.
32471 * time/gettimeofday.c: Likewise.
32472 * time/setitimer.c: Likewise.
32473 * time/settimeofday.c: Likewise.
32474 * time/stime.c: Likewise.
32475 * time/time.c: Likewise.
32476
32477 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32478
32479 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32480 /usr/old/bin.
32481
32482 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32483 instead of spaces.
32484 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32485
32486 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32487
32488 [BZ #14796]
32489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32490 FE_TONEAREST before applying Dekker multiplication and Knuth
32491 addition. Clear inexact exceptions and check for exact zero
32492 results afterwards.
32493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32494 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32496 * math/libm-test.inc (fma_test): Add more tests.
32497 (fma_test_towardzero): Likewise.
32498 (fma_test_downward): Likewise.
32499 (fma_test_upward): Likewise.
32500 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32501 function.
32502 (libc_fesetround): New macro.
32503 (libc_fesetroundf): Likewise.
32504 (libc_fesetroundl): Likewise.
32505 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32506 function.
32507 (libc_fesetround_387): Likewise.
32508 (libc_fesetroundf): New macro.
32509 (libc_fesetround): Likewise.
32510 (libc_fesetroundl): Likewise.
32511 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32512 function.
32513 (libc_fesetroundf): New macro.
32514 (libc_fesetround): Likewise.
32515 (libc_fesetroundl): Likewise.
32516 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32517 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32518 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32519 libm_hidden_ver.
32520 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32521 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32522 libm_hidden_def.
32523 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32524 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32525 libm_hidden_ver.
32526 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32527 libm_hidden_def.
32528
32529 [BZ #3439]
32530 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32531 integer constant usable in #if and use that to give value to enum
32532 constant.
32533 (FE_DIVBYZERO): Likewise.
32534 (FE_UNDERFLOW): Likewise.
32535 (FE_OVERFLOW): Likewise.
32536 (FE_INVALID): Likewise.
32537 (FE_INVALID_SNAN): Likewise.
32538 (FE_INVALID_ISI): Likewise.
32539 (FE_INVALID_IDI): Likewise.
32540 (FE_INVALID_ZDZ): Likewise.
32541 (FE_INVALID_IMZ): Likewise.
32542 (FE_INVALID_COMPARE): Likewise.
32543 (FE_INVALID_SOFTWARE): Likewise.
32544 (FE_INVALID_SQRT): Likewise.
32545 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32546 (FE_TONEAREST): Likewise.
32547 (FE_TOWARDZERO): Likewise.
32548 (FE_UPWARD): Likewise.
32549 (FE_DOWNWARD): Likewise.
32550 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32551 (FE_DIVBYZERO): Likewise.
32552 (FE_OVERFLOW): Likewise.
32553 (FE_UNDERFLOW): Likewise.
32554 (FE_INEXACT): Likewise.
32555 (FE_TONEAREST): Likewise.
32556 (FE_DOWNWARD): Likewise.
32557 (FE_UPWARD): Likewise.
32558 (FE_TOWARDZERO): Likewise.
32559 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32560 (FE_UNDERFLOW): Likewise.
32561 (FE_OVERFLOW): Likewise.
32562 (FE_DIVBYZERO): Likewise.
32563 (FE_INVALID): Likewise.
32564 (FE_TONEAREST): Likewise.
32565 (FE_TOWARDZERO): Likewise.
32566 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32567 (FE_OVERFLOW): Likewise.
32568 (FE_UNDERFLOW): Likewise.
32569 (FE_DIVBYZERO): Likewise.
32570 (FE_INEXACT): Likewise.
32571 (FE_TONEAREST): Likewise.
32572 (FE_TOWARDZERO): Likewise.
32573 (FE_UPWARD): Likewise.
32574 (FE_DOWNWARD): Likewise.
32575 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32576 (FE_DIVBYZERO): Likewise.
32577 (FE_OVERFLOW): Likewise.
32578 (FE_UNDERFLOW): Likewise.
32579 (FE_INEXACT): Likewise.
32580 (FE_TONEAREST): Likewise.
32581 (FE_DOWNWARD): Likewise.
32582 (FE_UPWARD): Likewise.
32583 (FE_TOWARDZERO): Likewise.
32584
32585 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32586
32587 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32588
32589 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32590
32591 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32592 commands. Quote $PWD.
32593 (blacklist_exports): Don't use remove_newlines. Replace "declare
32594 -x" by "export".
32595 (remove_newlines): Remove.
32596
32597 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32598
32599 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32600 * stdlib/stdlib.h (atof): Moved to ...
32601 * include/bits/stdlib-float.h: Here. New file.
32602 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32603 * stdlib/bits/stdlib-float.h: New file.
32604 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32605 -mno-sse -mno-mmx.
32606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32607 <xmmintrin.h>.
32608
32609 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32610
32611 * conform/conformtest.pl (@headers): Add fenv.h.
32612 * conform/data/fenv.h-data: New file.
32613 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32614 include of <math/fenv.h>.
32615
32616 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32617 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32618 && !UNIX98]. Enables tests for XOPEN2K8.
32619 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32620 POSIX2008]: Likewise.
32621
32622 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32623 (struct rusage): Do not expect type or its members.
32624
32625 [BZ #3439]
32626 * math/math.h (FP_NAN): Define macro to integer constant usable in
32627 #if and use that to give value to enum constant.
32628 (FP_INFINITE): Likewise.
32629 (FP_ZERO): Likewise.
32630 (FP_SUBNORMAL): Likewise.
32631 (FP_NORMAL): Likewise.
32632
32633 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32634
32635 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32636 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32637 arguments.
32638
32639 2012-11-02 Roland McGrath <roland@hack.frob.com>
32640
32641 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32642 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32643 autoconf-time if not.
32644 * configure.in: Remove AC_PREREQ.
32645
32646 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32647
32648 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32649 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32650 of the internal implementation.
32651
32652 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32653
32654 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32655 except include of <misc/sys/syslog.h>.
32656
32657 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32658
32659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32660 function returns with a NULL context exit with zero.
32661
32662 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32663
32664 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32665
32666 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32667
32668 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32669 (run_program_cmd): This.
32670 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32671 (tst_langinfo): New variable. Use it.
32672
32673 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32674
32675 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32676 floating point opcodes.
32677
32678 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32679
32680 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32681 variable.
32682
32683 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32684
32685 * sysdeps/mach/hurd/powerpc: Remove directory.
32686 * sysdeps/mach/powerpc: Likewise.
32687
32688 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32689
32690 * scripts/check-local-headers.sh: Ignore c++ headers.
32691
32692 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32693
32694 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32695 __libc_cleanup_region_start argument.
32696
32697 2012-11-01 Joseph Myers <joseph@codesourcery.com>
32698
32699 [BZ #14784]
32700 [BZ #14785]
32701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32702 x * y using scaling, not as x * y + z.
32703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32705 * math/libm-test.inc (fma_test): Add more tests.
32706 (fma_test_towardzero): Likewise.
32707 (fma_test_downward): Likewise.
32708 (fma_test_upward): Likewise.
32709
32710 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32711
32712 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32713
32714 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32715
32716 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32717 New variable.
32718
32719 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32720
32721 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32722
32723 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32724
32725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32726 Fix sort order.
32727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32728 Likewise.
32729
32730 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32731
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32733 Fix the order of the list for glibc 2.17.
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32735 Likewise.
32736
32737 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32738
32739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32740
32741 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32742
32743 [BZ #14610]
32744 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32745 for low part of x being zero before using __atanl (y).
32746 * math/libm-test.inc (atan2_test): Add another test.
32747
32748 * manual/install.texi (Configuring and compiling): Document
32749 general use of test-wrapper and test-wrapper-env.
32750 * INSTALL: Regenerated.
32751
32752 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32753 (__fma): Do not extract and scale down low bits on after-rounding
32754 systems when result rounded to normal precision would have normal
32755 exponent.
32756 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32757 (__fmal): Do not extract and scale down low bits on after-rounding
32758 systems when result rounded to normal precision would have normal
32759 exponent.
32760 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32761 (__fmal): Do not extract and scale down low bits on after-rounding
32762 systems when result rounded to normal precision would have normal
32763 exponent.
32764 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32765 macro.
32766 (fma_test): Add more tests.
32767 (fma_test_towardzero): Likewise.
32768 (fma_test_downward): Likewise.
32769 (fma_test_upward): Likewise.
32770
32771 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32772
32773 * sysdeps/i386/tininess.h: Renamed to ...
32774 * sysdeps/x86/tininess.h: This.
32775 * sysdeps/x86_64/tininess.h: Removed.
32776
32777 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32778
32779 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32780 input. Use $(build-program-cmd).
32781 ($(objpfx)tst-array1-static.out): Likewise.
32782 ($(objpfx)tst-array2.out): Likewise.
32783 ($(objpfx)tst-array3.out): Likewise.
32784 ($(objpfx)tst-array4.out): Likewise.
32785 ($(objpfx)tst-array5.out): Likewise.
32786 ($(objpfx)tst-array5-static.out): Likewise.
32787
32788 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32789
32790 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32791 if defined.
32792
32793 * nss/nsswitch.h (nss_interface_function): Provide new
32794 macro for use with NSS functions.
32795 * grp/initgroups.c: Use new macro.
32796 * nss/getXXbyYY.c: Likewise.
32797 * nss/getXXbyYY_r.c: Likewise.
32798 * nss/getXXent.c: Likewise.
32799 * nss/getXXent_r.c: Likewise.
32800 * sysdeps/posix/getaddrinfo.c: Likewise.
32801
32802 2012-10-30 Andreas Jaeger <aj@suse.de>
32803
32804 * po/ru.po: Update Russion translation from translation project.
32805
32806 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32807
32808 [BZ #14152]
32809 [BZ #14783]
32810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32811 result and shift together with sticky bit instead of replicating
32812 round-to-nearest rounding.
32813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32814 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32815 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32816 missing underflow exceptions.
32817 (fma_test_towardzero): Add more tests.
32818 (fma_test_downward): Likewise.
32819 (fma_test_upward): Likewise.
32820
32821 [BZ #14047]
32822 * sysdeps/generic/tininess.h: New file.
32823 * sysdeps/i386/tininess.h: Likewise.
32824 * sysdeps/sh/tininess.h: Likewise.
32825 * sysdeps/x86_64/tininess.h: Likewise.
32826 * stdlib/tst-strtod-underflow.c: Likewise.
32827 * stdlib/tst-tininess.c: Likewise.
32828 * stdlib/strtod_l.c: Include <tininess.h>.
32829 (round_and_return): Do not set errno for exact underflow cases.
32830 Force an underflow exception when setting errno for underflow.
32831 Determine underflow based on rounding to normal precision if
32832 TININESS_AFTER_ROUNDING.
32833 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32834 ERANGE for exact underflow cases.
32835 * stdlib/Makefile (tests): Add tst-tininess and
32836 tst-strtod-underflow.
32837 ($(objpfx)tst-tininess): Use $(link-libm).
32838 ($(objpfx)tst-strtod-underflow): Likewise.
32839
32840 2012-10-30 Andreas Jaeger <aj@suse.de>
32841
32842 [BZ#14767]
32843 * elf/Makefile (tests): Remove conditional for have-initfini-array
32844 since this is now always required and the variable does not exist
32845 anymore.
32846 (tests-static): Likewise.
32847 (modules-names): Likewise.
32848
32849 * po/eo.po: Add Esperanto translation from translation project.
32850
32851 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32852 merged with constructor/destructor.
32853 (init_array): Likewise.
32854 * elf/tst-array2dep.c (fini_array): Likewise.
32855 (init_array): Likewise.
32856
32857 2012-10-29 Mike Frysinger <vapier@gentoo.org>
32858
32859 * manual/message.texi: Delete @cartouche tags.
32860
32861 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32862
32863 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32864 EOPNOTSUPP.
32865 * sysdeps/mach/hurd/fsync.c: Likewise.
32866
32867 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32868 [_POSIX_REALTIME_SIGNALS]: Change condition to
32869 [_POSIX_REALTIME_SIGNALS > 0].
32870
32871 2012-10-27 Andreas Jaeger <aj@suse.de>
32872
32873 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32874 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32876 [__WORDSIZE != 64]: Likewise.
32877
32878 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32879
32880 * iconvdata/tst-table.sh: Remove ${SHELL}.
32881 * iconvdata/tst-tables.sh: Likewise.
32882
32883 2012-10-25 David S. Miller <davem@davemloft.net>
32884
32885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32886 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32887 of strtoull.
32888
32889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32890 ifunc-impl-list.c
32891 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32892 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32893 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32894 file.
32895
32896 2012-10-25 Roland McGrath <roland@hack.frob.com>
32897
32898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32899 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32900 __getdirentries.
32901
32902 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32903 Jim Blandy <jimb@codesourcery.com>
32904
32905 * scripts/cross-test-ssh.sh: New file.
32906 * manual/install.texi (Configuring and compiling): Document use of
32907 cross-test-ssh.sh.
32908 * INSTALL: Regenerated.
32909
32910 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32911
32912 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32913 EOPNOTSUPP.
32914
32915 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32916
32917 * Makeconfig (run-program-prefix): Fix comment.
32918
32919 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32920 Jim Blandy <jimb@codesourcery.com>
32921
32922 * Makeconfig (test-wrapper): New variable,
32923 (test-wrapper-env): Likewise.
32924 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32925 (run-built-tests): Define to yes.
32926 (run-program-prefix): Use $(test-wrapper).
32927 (built-program-cmd): Likewise.
32928 * Rules (make-test-out): Use $(test-wrapper-env) and
32929 $(host-built-program-cmd).
32930 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32931 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32932 tst-pathopt.sh.
32933 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32934 $(test-wrapper-env) to tst-rtld-load-self.sh.
32935 ($(objpfx)order2.out): Use $(test-wrapper).
32936 ($(objpfx)tst-initorder.out): Likewise.
32937 ($(objpfx)tst-initorder2.out): Likewise.
32938 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32939 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32940 (test_wrapper_env): New variable. Use it to run ld.so.
32941 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32942 Use it to run ld.so.
32943 (test_wrapper_env): Likewise.
32944 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32945 $(test-wrapper) to run-iconv-test.sh.
32946 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32947 (ICONV): Use $test_wrapper.
32948 * posix/Makefile ($(objpfx)globtest.out): Pass
32949 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32950 globtest.sh, not $(run-program-prefix).
32951 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32952 (test_wrapper): Likewise.
32953 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32954 set together with run_via_rtld_prefix.
32955 (run_program_prefix): Define in terms of test_wrapper and
32956 run_via_rtld_prefix.
32957
32958 2012-10-24 Roland McGrath <roland@hack.frob.com>
32959
32960 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32961 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32962 Targets removed.
32963
32964 [BZ #14743]
32965 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32966 Declare __clock_getres, __clock_gettime, __clock_settime,
32967 __clock_nanosleep, and __clock_getcpuclockid.
32968 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32969 Remove librt_hidden_def (clock_gettime).
32970 * sysdeps/unix/clock_gettime.c: Likewise.
32971 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32972 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32973 * rt/clock_getres.c: Define __clock_getres as an alias.
32974 * sysdeps/posix/clock_getres.c: Likewise.
32975 * rt/clock_settime.c: Define __clock_settime as an alias.
32976 * sysdeps/unix/clock_settime.c: Likewise.
32977 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32978 * sysdeps/unix/clock_nanosleep.c: Likewise.
32979 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32980 * rt/clock-compat.c: New file.
32981 * rt/Makefile (librt-routines): Add clock-compat and move
32982 $(clock-routines) to ...
32983 (routines): ... here, new variable.
32984 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32985 Don't add get_clockfreq here.
32986 * rt/Versions (libc: GLIBC_2.17): New version set.
32987 Add clock_* symbols here.
32988 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32990 (GLIBC_2.17): Add clock_* symbols.
32991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32993 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32995 Likewise.
32996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32997 Likewise.
32998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33002 * NEWS: Mention the move.
33003
33004 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33005 Use __open, __read, __close rather than their public counterparts.
33006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33007 (__get_clockfreq_via_cpuinfo): Likewise.
33008 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33009 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33010
33011 * config.h.in (HAVE_IFUNC): New #undef.
33012 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33013 was successful.
33014 * configure: Regenerated.
33015
33016 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33017
33018 * configure.in: Move READELF check to start of file.
33019 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33020 libc_cv_asm_gnu_indirect_function in the process.
33021 * configure: Regenerated.
33022
33023 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33024
33025 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33026 send the output to /dev/null.
33027 (libc_cv_cc_with_libunwind): Likewise.
33028 (libc_cv_as_noexecstack): Likewise.
33029 * configure: Regenerate.
33030
33031 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33032
33033 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33034
33035 * posix/globtest.sh (TMPDIR): Do not set.
33036 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33037 (testout): Likewise.
33038
33039 2012-10-24 Andreas Jaeger <aj@suse.de>
33040
33041 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33042 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33043 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33044 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33045 posix_fadvise64, posix_fallocate64.
33046
33047 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33048 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33049 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33050 Likewise.
33051 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33052 Likewise.
33053 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33054
33055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33056 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33057 <bits/fcntl-linux.h>.
33058 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33059
33060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33061 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33062 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33063 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33064 [__WORDSIZE != 64]: Likewise.
33065
33066 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33067
33068 * Makeconfig (run-built-tests): New variable.
33069 * Rules [$(cross-compiling) = yes]: Change condition to
33070 [$(run-built-tests) = no].
33071 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33072 to [$(run-built-tests) = yes].
33073 * elf/Makefile [$(cross-compiling) = no]: Likewise
33074 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33075 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33076 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33077 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33078 * io/Makefile [$(cross-compiling) = no]: Likewise.
33079 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33080 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33081 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33082 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33083 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33084 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33085 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33086 * string/Makefile [$(cross-compiling) = no]: Likewise.
33087
33088 * posix/Makefile ($(objpfx)globtest.out): Pass
33089 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33090 $(rtld-installed-name).
33091 * posix/globtest.sh (elf_objpfx): Remove variable.
33092 (rtld_installed_name): Likewise.
33093 (library_path): Likewise.
33094 (run_program_prefix): New variable. Use for running globtest
33095 binary.
33096
33097 2012-10-23 Jim Blandy <jimb@codesourcery.com>
33098 Joseph Myers <joseph@codesourcery.com>
33099
33100 * Makeconfig (host-built-program-cmd): New variable.
33101 * elf/Makefile (tst-stackguard1-ARGS): Use
33102 $(host-built-program-cmd).
33103 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33104 (tst-spawn-ARGS): Likewise.
33105 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33106
33107 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33108 Jim Blandy <jimb@codesourcery.com>
33109
33110 * Makeconfig (run-via-rtld-prefix): New variable.
33111 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33112 (built-program-cmd): Likewise.
33113
33114 2012-10-22 Andreas Jaeger <aj@suse.de>
33115
33116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33117 __O_RSYNC if it exists, otherwise to O_SYNC.
33118
33119 2012-10-22 Jim Blandy <jimb@codesourcery.com>
33120 Joseph Myers <joseph@codesourcery.com>
33121
33122 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33123 /dev/null.
33124 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33125 from /dev/null
33126 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33127 /dev/null.
33128
33129 2012-10-22 Andreas Jaeger <aj@suse.de>
33130
33131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33132 Define always.
33133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33134
33135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33136 bits/fcntl-linux.h.
33137
33138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33139 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33140
33141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33142 to __O_LARGEFILE.
33143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33144 to __O_LARGEFILE.
33145
33146 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33147 Joseph Myers <joseph@codesourcery.com>
33148
33149 * config.make.in (NM): New variable.
33150
33151 2012-10-21 Andreas Jaeger <aj@suse.de>
33152
33153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33154 definitions and declarations that are provided by
33155 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33156
33157 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33158
33159 [BZ #14683]
33160 * elf/Makefile (tests-static): Add tst-leaks1-static.
33161 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33162 ($(objpfx)tst-leaks1-static): New rule.
33163 ($(objpfx)tst-leaks1-static-mem): Likewise.
33164 (tst-leaks1-static-ENV): New macro.
33165 * elf/dl-open.c (dl_open_worker): Check the main application
33166 only if SHARED is defined.
33167 * elf/tst-leaks1-static.c: New file.
33168
33169 2012-10-20 Andreas Jaeger <aj@suse.de>
33170
33171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33172 generic values for Linux.
33173 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33174 and declarations that are provided by <bits/fcntl-linux.h> and
33175 include <bits/fcntl-linux.h>.
33176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33178
33179 2012-10-20 Roland McGrath <roland@hack.frob.com>
33180
33181 * io/fcntl.h: Move include of <bits/types.h> to the top and
33182 include it unconditionally.
33183
33184 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33185
33186 * wcsmbs/Makefile (tests-ifunc): New variable.
33187 (tests): Add $(tests-ifunc).
33188 * wcsmbs/test-wcschr-ifunc.c: New file.
33189 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33190 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33191 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33192 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33193 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33194
33195 * string/Makefile (tests-ifunc): New variable.
33196 (tests): Add $(tests-ifunc).
33197 * string/test-memccpy.c (TEST_NAME): New macro.
33198 * string/test-memchr.c (TEST_NAME): Likewise.
33199 * string/test-memcmp.c (TEST_NAME): Likewise.
33200 * string/test-memcpy.c (TEST_NAME): Likewise.
33201 * string/test-memmem.c (TEST_NAME): Likewise.
33202 * string/test-memmove.c (TEST_NAME): Likewise.
33203 * string/test-memset.c (TEST_NAME): Likewise.
33204 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33205 * string/test-stpcpy.c (TEST_NAME): Likewise.
33206 * string/test-stpncpy.c (TEST_NAME): Likewise.
33207 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33208 * string/test-strcasestr.c (TEST_NAME): Likewise.
33209 * string/test-strcat.c (TEST_NAME): Likewise.
33210 * string/test-strchr.c (TEST_NAME): Likewise.
33211 * string/test-strcmp.c(TEST_NAME): Likewise.
33212 * string/test-strcpy.c (TEST_NAME): Likewise.
33213 * string/test-strcspn.c (TEST_NAME): Likewise.
33214 * string/test-strlen.c (TEST_NAME): Likewise.
33215 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33216 * string/test-strncmp.c (TEST_NAME): Likewise.
33217 * string/test-strncpy.c (TEST_NAME): Likewise.
33218 * string/test-strnlen.c (TEST_NAME): Likewise.
33219 * string/test-strpbrk.c (TEST_NAME): Likewise.
33220 * string/test-strrchr.c (TEST_NAME): Likewise.
33221 * string/test-strspn.c (TEST_NAME): Likewise.
33222 * string/test-strstr.c (TEST_NAME): Likewise.
33223 * string/test-bcopy-ifunc.c: New file.
33224 * string/test-bzero-ifunc.c: Likewise.
33225 * string/test-memccpy-ifunc.c: Likewise.
33226 * string/test-memchr-ifunc.c: Likewise.
33227 * string/test-memcmp-ifunc.c: Likewise.
33228 * string/test-memcpy-ifunc.c: Likewise.
33229 * string/test-memmem-ifunc.c: Likewise.
33230 * string/test-memmove-ifunc.c: Likewise.
33231 * string/test-mempcpy-ifunc.c: Likewise.
33232 * string/test-memset-ifunc.c: Likewise.
33233 * string/test-rawmemchr-ifunc.c: Likewise.
33234 * string/test-stpcpy-ifunc.c: Likewise.
33235 * string/test-stpncpy-ifunc.c: Likewise.
33236 * string/test-strcasecmp-ifunc.c: Likewise.
33237 * string/test-strcasestr-ifunc.c: Likewise.
33238 * string/test-strcat-ifunc.c: Likewise.
33239 * string/test-strchr-ifunc.c: Likewise.
33240 * string/test-strchrnul-ifunc.c: Likewise.
33241 * string/test-strcmp-ifunc.c: Likewise.
33242 * string/test-strcpy-ifunc.c: Likewise.
33243 * string/test-strcspn-ifunc.c: Likewise.
33244 * string/test-strlen-ifunc.c: Likewise.
33245 * string/test-strncasecmp-ifunc.c: Likewise.
33246 * string/test-strncat-ifunc.c: Likewise.
33247 * string/test-strncmp-ifunc.c: Likewise.
33248 * string/test-strncpy-ifunc.c: Likewise.
33249 * string/test-strnlen-ifunc.c: Likewise.
33250 * string/test-strpbrk-ifunc.c: Likewise.
33251 * string/test-strrchr-ifunc.c: Likewise.
33252 * string/test-strspn-ifunc.c: Likewise.
33253 * string/test-strstr-ifunc.c: Likewise.
33254
33255 * debug/Makefile (tests-ifunc): New variable.
33256 (tests): Add $(tests-ifunc).
33257 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33258 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33259 * debug/test-stpcpy_chk-ifunc.c: New file.
33260 * debug/test-strcpy_chk-ifunc.c: Likewise.
33261
33262 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33263
33264 [BZ #13601]
33265 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33266 header is not read in.
33267
33268 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33269
33270 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33271 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33272 directly. Pass built executable to script as
33273 $(built-program-cmd).
33274 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33275 $testprogram without using LD_LIBRARY_PATH and $ldso.
33276
33277 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33278 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33279 $(rtld-installed-name).
33280 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33281 (rtld_installed_name): Likewise.
33282 (library_path): Likewise.
33283 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33284 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33285 $(run-program-prefix) to tst-tables.sh.
33286 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33287 it to run tst-table-from and tst-table-to.
33288 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33289 Pass it to tst-table.sh.
33290 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33291 $(run-program-prefix) to tst-gettext.sh.
33292 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33293 tst-translit.sh.
33294 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33295 tst-gettext2.sh.
33296 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33297 to run tst-gettext.
33298 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33299 to run tst-gettext2.
33300 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33301 to run tst-translit.
33302 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33303 $(run-program-prefix) to tst-mtrace.sh.
33304 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33305 to run tst-mtrace.
33306 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33307 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33308 $(rtld-installed-name).
33309 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33310 (rtld_installed_name): Likewise.
33311 (run_program_prefix): New variable. Use it to run wordexp-test.
33312
33313 * Makeconfig (ARCH): Remove all definitions.
33314 (machine): Likewise.
33315 [ARCH]: Remove conditional code.
33316 [!objdir]: Give error.
33317 [!objdir] (objpfx): Remove.
33318 [!objdir] (common-objpfx): Likewise.
33319 [!objdir] (common-objdir): Likewise.
33320 * configure.in (config_makefile): Remove. Hardcode Makefile in
33321 AC_CONFIG_FILES call.
33322 * configure: Regenerated.
33323
33324 [BZ #13888]
33325 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33326 or TMPDIR.
33327 (testout): Likewise.
33328
33329 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33330 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33331 $(rtld-installed-name).
33332 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33333 (rtld_installed_name): Likwise.
33334 (runit): Remove function.
33335 (run_getconf): New variable, Use it for running getconf binary.
33336
33337 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33338
33339 [BZ #14716]
33340 * string/test-memmem.c (check_result): New function.
33341 (do_one_test): Use it.
33342 (check1): New function.
33343 (test_main): Use it.
33344
33345 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33346
33347 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33348
33349 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33350
33351 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33352 (_G_LSEEK64): Likewise.
33353 (_G_MMAP64): Likewise.
33354 (_G_FSTAT64): Likewise.
33355 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33356 (_G_LSEEK64): Likewise.
33357 (_G_MMAP64): Likewise.
33358 (_G_FSTAT64): Likewise.
33359 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33360 unconditional. Call __mmap64 directly.
33361 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33362 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33363 __lseek64 directly.
33364 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33365 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33366 __mmap64 directly.
33367 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33368 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33369 __lseek64 directly.
33370 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33371 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33372 __lseek64 directly.
33373 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33374 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33375 __lseek64 directly.
33376 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33377 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33378 __fxstat64 directly.
33379 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33380 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33381 unconditional.
33382 (freopen64) [!_G_OPEN64]: Remove conditional code.
33383 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33384 unconditional.
33385 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33386 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33387 unconditional.
33388 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33389 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33390 unconditional.
33391 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33392 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33393 unconditional.
33394 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33395 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33396 unconditional.
33397 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33398 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33399 unconditional.
33400 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33401 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33402 unconditional.
33403 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33404
33405 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33406
33407 [BZ #12140]
33408 * manual/memory.texi (Malloc Tunable Parameters): Add note
33409 about free list pointers overwriting some perturb bytes.
33410 Wording suggested by Roland McGrath.
33411
33412 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33413
33414 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33415 (lgamma_test): Likewise.
33416 (tgamma_test): Likewise.
33417
33418 2012-10-16 Florian Weimer <fweimer@redhat.com>
33419
33420 [BZ #14700]
33421 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33422 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33423
33424 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33425
33426 * NEWS: Mention BZ #14716.
33427 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33428 when removing AVAILABLE1_USES_J macro.
33429
33430 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33431
33432 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33433 (__bswap_64): __uint64_t for unsigned 64-bit int.
33434
33435 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33436
33437 * include/string.h (memmem): Declare libc hidden alias.
33438 * string/memmem.c (memmem): Define libc hidden alias.
33439 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33440 __read, __close instead of open, read, close.
33441
33442 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33443
33444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33445 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33446 global and hidden.
33447 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33448 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33449 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33450 Likewise.
33451 (__rawmemchr_sse2): Likewise.
33452 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33453 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33454 (__strchr_sse2): Likewise.
33455 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33456 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33457 (__strcasecmp_sse2): Likewise.
33458 (__strncasecmp_sse2): Likewise.
33459 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33460 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33461 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33462 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33463 (__strrchr_sse2): Likewise.
33464 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33465 ifunc-impl-list.c.
33466 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33467 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33468 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33469 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33470 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33471 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33472 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33473 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33474 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33475 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33476 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33477 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33478 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33479 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33480 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33481 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33482 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33483 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33484 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33485 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33486 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33487 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33488 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33489 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33490 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33491 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33492 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33493 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33494 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33495 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33496
33497 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33498 global and hidden.
33499 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33500 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33501 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33502 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33503 Likewise.
33504 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33505 Likewise.
33506 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33507 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33508 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33509 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33510 ifunc-impl-list.c.
33511 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33512 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33513 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33514 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33515 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33516 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33517 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33518 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33519 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33520 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33521 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33522 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33523 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33524 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33525 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33526 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33527 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33528 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33529 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33530 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33531 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33532 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33533 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33534 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33535 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33536 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33537 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33538 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33539 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33540 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33541 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33542 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33543 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33544 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33545 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33546 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33547 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33548 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33549 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33550 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33551 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33552
33553 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33554 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33555 * include/ifunc-impl-list.h: New file.
33556 * misc/ifunc-impl-list.c: Likewise.
33557 * misc/Makefile (routines): Add ifunc-impl-list.
33558 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33559 * string/test-string.h: Include <ifunc-impl-list.h>.
33560 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33561 TEST_NAME]: New variables.
33562 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33563 are defined.
33564 (test_init): Call __libc_ifunc_impl_list to initialize
33565 func_list if TEST_IFUNC and TEST_NAME are defined.
33566
33567 * string/Makefile (strop-tests): Add bcopy and bzero.
33568 * string/test-bcopy.c: New file.
33569 * string/test-bzero.c: Likewise.
33570 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33571 defined.
33572 * string/test-memset.c: Support bzero test if TEST_BZERO is
33573 defined.
33574 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33575 __libc_memmove.
33576 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33577 __libc_memset.
33578 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33579 of memset.
33580
33581 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33582
33583 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33584 * configure: Regenerated.
33585
33586 * Makeconfig (+link-static-before-libc): Don't include
33587 $(link-static-libc).
33588
33589 * libio/libio.h (_IO_pos_t): Remove.
33590
33591 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33592
33593 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33594 McGrath.
33595
33596 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33597
33598 * crypt/crypt-entry.c: Include fips-private.h.
33599 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33600 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33601 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33602 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33603
33604 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33605
33606 * crypt/crypt-private.h: Include stdbool.h.
33607 (_ufc_setup_salt_r): Return bool.
33608 * crypt/crypt-entry.c: Include errno.h.
33609 (__crypt_r): Return NULL with EINVAL for bad salt.
33610 * crypt/crypt_util.c (bad_for_salt): New.
33611 (_ufc_setup_salt_r): Check that salt is long enough and within
33612 the specified alphabet.
33613 * crypt/badsalttest.c: New file.
33614 * crypt/Makefile (tests): Add it.
33615 ($(objpfx)badsalttest): New.
33616
33617 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33618
33619 * NEWS: Add entry for BZ #14602.
33620
33621 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33622
33623 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33624 type-generic.
33625 * math/libm-test.inc: Update comment listing what functions and
33626 macros are tested.
33627 (isgreater_test): New function.
33628 (isgreaterequal_test): Likewise.
33629 (isless_test): Likewise.
33630 (islessequal_test): Likewise.
33631 (islessgreater_test): Likewise.
33632 (isunordered_test): Likewise.
33633 (main): Call the new functions.
33634
33635 2012-10-09 Roland McGrath <roland@hack.frob.com>
33636
33637 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33638 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33639 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33640 * sysdeps/i386/configure: Regenerated.
33641 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33642 * sysdeps/mach/configure: Regenerated.
33643 * sysdeps/mach/hurd/configure: Regenerated.
33644 * sysdeps/powerpc/configure: Regenerated.
33645 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33646 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33647 * sysdeps/s390/s390-32/configure: Regenerated.
33648 * sysdeps/s390/s390-64/configure: Regenerated.
33649 * sysdeps/sh/configure: Regenerated.
33650 * sysdeps/sparc/configure: Regenerated.
33651 * sysdeps/unix/sysv/linux/configure: Regenerated.
33652 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33653 * sysdeps/x86_64/configure: Regenerated.
33654
33655 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33656 defined. Don't check if MAP is NULL.
33657
33658 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33659
33660 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33661 (_G_stat64): Likewise.
33662 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33663 (_G_stat64): Likewise.
33664 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33665 instead of struct _G_stat64.
33666 * libio/fileops.c (mmap_remap_check): Likewise.
33667 (decide_maybe_mmap): Likewise.
33668 (_IO_new_file_seekoff): Likewise.
33669 (_IO_file_stat): Likewise.
33670 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33671 _G_off64_t.
33672 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33673 instead of struct _G_stat64.
33674 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33675
33676 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33677
33678 [BZ #14602]
33679 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33680 Replace with ...
33681 (CHECK_EOL): New macro.
33682 (two_way_short_needle): Check beginning of haystack for EOL. Use
33683 CHECK_EOL.
33684 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33685 Replace with CHECK_EOL.
33686 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33687 Replace with CHECK_EOL.
33688
33689 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33690
33691 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33692 type-generic.
33693 * math/libm-test.inc: Update comment listing what functions and
33694 macros are tested.
33695 (finite_test): New function.
33696 (isinf_test): Likewise.
33697 (isnan_test): Likewise.
33698 (fpclassify_test): Test subnormal input.
33699 (isfinite_test): Likewise.
33700 (isnormal_test): Likewise.
33701 (main): Call the new functions.
33702
33703 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33704
33705 [BZ #14660]
33706 * Makerules (%.dynsym): Force C locale when running
33707 $(OBJDUMP) --dynamic-syms.
33708
33709 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33710
33711 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33712 <stdint.h>.
33713
33714 2012-10-06 David S. Miller <davem@davemloft.net>
33715
33716 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33717 upper 32-bits of the length value in %o2 since we use branch-on-register
33718 tests which consider the entire 64-bit register.
33719
33720 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33721
33722 * string/test-strstr.c (check2): Add a test for page boundary.
33723
33724 2012-10-05 David S. Miller <davem@davemloft.net>
33725
33726 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33727 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33728 file.
33729 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33730 sysdep_routines.
33731 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33732 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33733 and bzero when HWCAP_SPARC_CRYPTO is present.
33734
33735 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33736
33737 [BZ #14602]
33738 * string/test-strstr.c (check2): New function.
33739 (test_main): Call check2.
33740
33741 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33742 and bug-strchr1.
33743 * string/bug-strcasestr1.c (do_test): Moved to ...
33744 * string/test-strcasestr.c (check1): Here. New function.
33745 (do_one_test): Break out result checking code into ...
33746 (check_result): This. New function.
33747 (do_one_test): Call check_result.
33748 (test_main): Call check1.
33749 * string/bug-strchr1.c (do_test): Moved to ...
33750 * string/test-strchr.c (check1): Here. New function.
33751 (do_one_test): Break out result checking code into ...
33752 (check_result): This. New function.
33753 (do_one_test): Call check_result.
33754 (test_main): Call check1.
33755 * string/bug-strstr1.c (main): Moved to ...
33756 * string/test-strstr.c (check1): Here. New function.
33757 (do_one_test): Break out result checking code into ...
33758 (check_result): This. New function.
33759 (do_one_test): Call check_result.
33760 (test_main): Call check1.
33761 * string/bug-strcasestr1.c: Removed.
33762 * string/bug-strchr1.c: Likewise.
33763 * string/bug-strstr1.c: Likewise.
33764
33765 * elf/Makefile (dl-routines): Add hwcaps.
33766 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33767 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33768 (_dl_important_hwcaps): Moved to ...
33769 * elf/dl-hwcaps.c: Here. New file.
33770 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33771
33772 [BZ #14557]
33773 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33774 if IS_IN_rtld isn't defined.
33775
33776 * elf/dl-support.c (_dl_sysinfo_map): New.
33777 Include "get-dynamic-info.h" and "setup-vdso.h".
33778 (_dl_non_dynamic_init): Call setup_vdso.
33779 * elf/dynamic-link.h: Don't include <assert.h>.
33780 (elf_get_dynamic_info): Moved to ...
33781 * elf/get-dynamic-info.h: Here. New file.
33782 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33783 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33784 * elf/setup-vdso.h: Here. New file.
33785 * elf/rtld.c: Include "setup-vdso.h".
33786 (dl_main): Call setup_vdso.
33787
33788 2012-10-05 Joseph Myers <joseph@codesourcery.com>
33789
33790 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33791 creal in comment listing functions tested. List finite, isinf,
33792 isnan, isless, islessequal, isgreater, isgreaterequal,
33793 islessgreater, isunordered, lgamma_r and pow10 as functions and
33794 macros not tested. Mention which functions not tested are aliases
33795 for other functions. Fix typo. Note that signs of NaNs are not
33796 tested.
33797
33798 * scripts/config.guess: Update from config.git.
33799 * scripts/config.sub: Likewise.
33800
33801 2012-10-04 Roland McGrath <roland@hack.frob.com>
33802
33803 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33804 * misc/madvise.c (madvise): Renamed to __madvise.
33805 Make madvise a weak alias.
33806 * include/sys/mman.h: Declare __madvise.
33807 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33808 * sysdeps/unix/syscalls.list
33809 (madvise): Make __madvise the strong name, and madvise a weak alias.
33810 * sysdeps/unix/sysv/linux/syscalls.list
33811 (madvise, mmap): Remove redundant entries.
33812 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33813 * malloc/malloc.c (mtrim): Likewise.
33814 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33815
33816 2012-10-03 Roland McGrath <roland@hack.frob.com>
33817
33818 * sysdeps/mach/hurd/dl-cache.c: File removed.
33819 * config.h.in (USE_LDCONFIG): New #undef.
33820 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33821 * configure: Regenerated.
33822 * elf/Makefile (dl-routines): Add dl-cache only under
33823 [$(use-ldconfig) = yes].
33824 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33825 cache on [USE_LDCONFIG].
33826 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33827 [USE_LDCONFIG].
33828 * elf/rtld.c (dl_main): Likewise.
33829
33830 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33831
33832 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33833 _SC_LEVEL4_CACHE_LINESIZE.
33834
33835 2012-10-03 Roland McGrath <roland@hack.frob.com>
33836
33837 * sysdeps/unix/bsd/confstr.h: File removed.
33838
33839 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
33840
33841 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33842 sys/sdt-config.h.
33843
33844 2012-10-02 Roland McGrath <roland@hack.frob.com>
33845
33846 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33847 Make 'mapoff' field ElfW(Off) rather than off_t.
33848
33849 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33850
33851 * nscd/Makefile: Remove nscd-cflags and all its users.
33852 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33853 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33854
33855 [BZ #10631]
33856 * malloc.c (malloc_printerr): Clarify error message.
33857
33858 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33859
33860 [BZ #14648]
33861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33862 Set bit_FMA_Usable if FMA is supported.
33863 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33864 macro.
33865 (bit_FMA4_Usable): Updated.
33866 (index_FMA_Usable): New macro.
33867 (CPUID_FMA): Likewise
33868 (HAS_FMA): Defined with bit_FMA_Usable.
33869
33870 2012-10-01 Roland McGrath <roland@hack.frob.com>
33871
33872 * bits/types.h (__swblk_t): Type removed.
33873 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33874 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33876 (__SWBLK_T_TYPE): Likewise.
33877 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33878 (__SWBLK_T_TYPE): Likewise.
33879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33880 (__SWBLK_T_TYPE): Likewise.
33881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33882 (__SWBLK_T_TYPE): Likewise.
33883
33884 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
33885 Honza Horak <hhorak@redhat.com>
33886
33887 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33888 (xdr_mapname): Use YPMAXMAP as maxsize.
33889 (xdr_peername): Use YPMAXPEER as maxsize.
33890 (xdr_keydat): Use YPAXRECORD as maxsize.
33891 (xdr_valdat): Use YPMAXRECORD as maxsize.
33892
33893 2012-10-01 Roland McGrath <roland@hack.frob.com>
33894
33895 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33896
33897 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33898 * csu/init-first.c: ... here.
33899 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33900 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33901 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33902 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33903 * sysdeps/i386/init-first.c: File removed.
33904 * sysdeps/sh/init-first.c: File removed.
33905
33906 2012-10-01 Joseph Myers <joseph@codesourcery.com>
33907
33908 [BZ #14645]
33909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33910 if x * y might underflow to zero and z is zero.
33911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33913 * math/libm-test.inc (min_subnorm_value): New variable.
33914 (fma_test): Add more tests.
33915 (fma_test_towardzero): Likewise.
33916 (fma_test_downward): Likewise
33917 (fma_test_upward): Likewise.
33918 (initialize): Set min_subnorm_value.
33919
33920 2012-09-29 Joseph Myers <joseph@codesourcery.com>
33921
33922 [BZ #14638]
33923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33924 0 + 0.
33925 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33926 mode for addition resulting in exact zero.
33927 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33929 exact 0 + 0.
33930 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33932 * math/libm-test.inc (fma_test): Add more tests.
33933 (fma_test_towardzero): New function.
33934 (fma_test_downward): Likewise.
33935 (fma_test_upward): Likewise.
33936 (main): Call the new functions.
33937
33938 2012-09-28 David S. Miller <davem@davemloft.net>
33939
33940 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33941
33942 2012-09-28 Roland McGrath <roland@hack.frob.com>
33943
33944 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33945 instead of SIGALRM.
33946
33947 * sysdeps/gnu/_G_config.h: Moved to ...
33948 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33949 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33950 * sysdeps/generic/_G_config.h: ... here.
33951
33952 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33953
33954 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33955
33956 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33957 Conditionalize target on [libnss_test1.so-version].
33958
33959 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33960
33961 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33962 (elfobjdir): Move out of conditionals.
33963
33964 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33965 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33966 (__nss_lookup_function): Conditionalize label remove_from_tree on
33967 [!DO_STATIC_NSS || SHARED], matching its only use.
33968
33969 2012-09-28 David S. Miller <davem@davemloft.net>
33970
33971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33972 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33973 file.
33974 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33975 sysdep_routines.
33976 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33978 when HWCAP_SPARC_CRYPTO is present.
33979
33980 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33981
33982 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33983
33984 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33985
33986 [BZ #6530]
33987 * stdio-common/vfprintf.c (process_string_arg): Revert
33988 2000-07-22 change.
33989
33990 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33991
33992 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33993 for testcase.
33994 * stdio-common/tst-sprintf.c: Include <locale.h>
33995 (main): Test sprintf's handling of incomplete multibyte
33996 characters.
33997
33998 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33999
34000 * elf/dl-runtime.c (VERSYMIDX): Removed.
34001 * elf/dl-version.c (VERSYMIDX): Likewise.
34002 * elf/do-rel.h (VERSYMIDX): Likewise.
34003 (VALIDX): Likewise.
34004 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34005 * elf/rtld.c (VALIDX): Likewise.
34006 (ADDRIDX): Likewise.
34007 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34008 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34009 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34010 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34011 (VALIDX): Likewise.
34012 (ADDRIDX): Likewise.
34013
34014 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34015
34016 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34017
34018 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34019
34020 [BZ #11438]
34021 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34022 to global scope.
34023 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34024 addresses are in the same scope as 192.0.2/24.
34025 * posix/gai.conf: Document new scope table defaults.
34026
34027 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34028
34029 [BZ #5298]
34030 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34031 for ftell. Compute offsets from write pointers instead.
34032 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34033
34034 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34035
34036 [BZ #14543]
34037 * libio/Makefile (tests): New test case tst-fseek.
34038 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34039 combination works in wide mode.
34040 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34041 state when the external buffer state changes.
34042
34043 2012-09-27 David S. Miller <davem@davemloft.net>
34044
34045 [BZ #14376]
34046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34047 pass reloc->r_addend in as the 'high' argument to
34048 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34049
34050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34051
34052 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34053
34054 * rt/tst-aio2.c: Include <pthread.h>.
34055 * rt/tst-aio3.c: Likewise.
34056
34057 2012-09-27 Steve Ellcey <sellcey@mips.com>
34058
34059 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34060
34061 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34062
34063 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34064 contents on [SHARED].
34065
34066 2012-09-26 Marek Polacek <polacek@redhat.com>
34067
34068 [BZ #14530]
34069 [BZ #13741]
34070 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34071 for C++ and GCC <4.3 as well as for non GCC compilers.
34072
34073 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34074
34075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34076
34077 2012-09-25 Roland McGrath <roland@hack.frob.com>
34078
34079 * Makefile.in (all, install): Declare with .PHONY.
34080 Reported by Michael Hope <michael.hope@linaro.org>.
34081
34082 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34083
34084 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34085 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34086 system header.
34087 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34088 Likewise.
34089 (sydep_routines): Add the new and the internal functions.
34090 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34091 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34093 (GLIBC_2.17): Add the new function.
34094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34095 (GLIBC_2.17): Likewise.
34096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34097 (GLIBC_2.17): Likewise.
34098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34099 (GLIBC_2.17): Likewise.
34100 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34101
34102 2012-09-25 Alan Modra <amodra@gmail.com>
34103
34104 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34105 Add release barrier before setting once_control to say
34106 initialisation is done. Add hints on lwarx. Use macro in
34107 place of isync.
34108 (clear_once_control): Add release barrier.
34109
34110 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34111
34112 [BZ #13629]
34113 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34114 specially.
34115 * math/s_clog10.c (__clog10): Likewise.
34116 * math/s_clog10f.c (__clog10f): Likewise.
34117 * math/s_clog10l.c (__clog10l): Likewise.
34118 * math/s_clogf.c (__clogf): Likewise.
34119 * math/s_clogl.c (__clogl): Likewise.
34120 * math/Makefile (libm-calls): Add x2y2m1.
34121 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34122 (__x2y2m1): Likewise.
34123 (__x2y2m1l): Likewise.
34124 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34125 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34127 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34128 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34129 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34130 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34131 * sysdeps/i386/fpu/libm-test-ulps: Update.
34132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34133
34134 [BZ #14621]
34135 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34136 int as type of variable DEPTH.
34137 (glob): Use size_t instead of int as type of variables NEWCOUNT
34138 and OLD_PATHC.
34139
34140 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34141
34142 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34143 Add s_sincosf-sse2.
34144 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34145 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34146 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34147 macros for using routine as __sincosf_ia32.
34148 Use macro for function declaration and weak_alias.
34149 * sysdeps/i386/fpu/libm-test-ulps: Update.
34150
34151 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34153
34154 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34155 subnormal argument.
34156 * math/s_cexpf.c (__cexpf): Likewise.
34157 * math/s_csinf.c (__csinf): Likewise.
34158 * math/s_csinhf.c (__csinhf): Likewise.
34159 * math/s_ctanf.c (__ctanf): Likewise.
34160 * math/s_ctanhf.c (__ctanhf): Likewise.
34161 * math/s_ccosh.c (__ccoshf): Likewise.
34162 * math/s_cexp.c (__cexpl): Likewise.
34163 * math/s_csin.c (__csin): Likewise.
34164 * math/s_csinh.c (__csinh): Likewise.
34165 * math/s_ctan.c (__ctan): Likewise.
34166 * math/s_ctanh.c (ctanh): Likewise.
34167 * math/s_ccoshl.c (__ccoshl): Likewise.
34168 * math/s_cexpl.c (__cexpl): Likewise.
34169 * math/s_csinl.c (__csinl): Likewise.
34170 * math/s_csinhl.c (__csinhl): Likewise.
34171 * math/s_ctanl.c (__ctanl): Likewise.
34172 * math/s_ctanhl.c (__ctanhl): Likewise.
34173
34174 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34175
34176 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34177 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34178 (_IO_off_t): Define to __off_t, not _G_off_t.
34179 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34180 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34181 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34182 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34183 type of __dummy and __dummy2 fields.
34184 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34185 (_G_ssize_t): Likewise.
34186 (_G_off_t): Likewise.
34187 (_G_pid_t): Likewise.
34188 (_G_uid_t): Likewise.
34189 (_G_wchar_t): Likewise.
34190 (_G_wint_t): Likewise.
34191 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34192 (_G_ssize_t): Likewise.
34193 (_G_off_t): Likewise.
34194 (_G_pid_t): Likewise.
34195 (_G_uid_t): Likewise.
34196 (_G_wchar_t): Likewise.
34197 (_G_wint_t): Likewise.
34198 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34199 (_G_ssize_t): Likewise.
34200 (_G_off_t): Likewise.
34201 (_G_pid_t): Likewise.
34202 (_G_uid_t): Likewise.
34203 (_G_wchar_t): Likewise.
34204 (_G_wint_t): Likewise.
34205
34206 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34207
34208 * malloc/arena.c: Include malloc-sysdep.h.
34209 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34210 is sufficient to shrink the heap or an unmap is needed.
34211 * sysdeps/generic/malloc-sysdep.h: New file. Define
34212 new function check_may_shrink_heap.
34213 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34214 new function check_may_shrink_heap.
34215
34216 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34217
34218 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34219 comments.
34220
34221 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34222
34223 * catgets/test-gencat.sh: Add "set -e".
34224 * elf/tst-pathopt.sh: Likewise.
34225 * grp/tst_fgetgrent.sh: Likewise.
34226 * iconvdata/run-iconv-test.sh: Likewise.
34227 * intl/tst-gettext.sh: Likewise.
34228 * intl/tst-gettext2.sh: Likewise.
34229 * intl/tst-gettext4.sh: Likewise.
34230 * intl/tst-gettext6.sh: Likewise.
34231 * intl/tst-translit.sh: Likewise.
34232 * io/ftwtest-sh: Likewise.
34233 * libio/test-freopen.sh: Likewise.
34234 * malloc/tst-mtrace.sh: Likewise.
34235 * posix/globtest.sh: Likewise.
34236 * posix/tst-getconf.sh: Likewise.
34237 * posix/wordexp-tst.sh: Likewise.
34238 * stdio-common/tst-printf.sh: Likewise.
34239 * stdio-common/tst-unbputc.sh: Likewise.
34240 * stdlib/tst-fmtmsg.sh: Likewise.
34241 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34242 * catgets/Makefile: Do not specify -e option when running
34243 testsuite shell scripts.
34244 * elf/Makefile: Likewise.
34245 * grp/Makefile: Likewise.
34246 * iconvdata/Makefile: Likewise.
34247 * intl/Makefile: Likewise.
34248 * io/Makefile: Likewise.
34249 * libio/Makefile: Likewise.
34250 * malloc/Makefile: Likewise.
34251 * posix/Makefile: Likewise.
34252 * stdio-common/Makefile: Likewise.
34253 * stdlib/Makefile: Likewise.
34254 * sysdeps/x86_64/Makefile: Likewise.
34255
34256 * io/ftwtest-sh: Add copyright header.
34257 * posix/globtest.sh: Likewise.
34258 * posix/tst-getconf.sh: Likewise.
34259 * posix/wordexp-tst.sh: Likewise.
34260 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34261
34262 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34263
34264 [BZ #13679]
34265 * Makeconfig (+link): Defined as $(+link-static) if
34266 $(build-shared) isn't yes.
34267 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34268 isn't yes.
34269 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34270
34271 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34272
34273 [BZ #14562]
34274 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34275 new chunk size with MALLOC_ALIGN_MASK.
34276
34277 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34278
34279 [BZ #5044]
34280 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34281 <rounding-mode.h>.
34282 (__printf_fphex): Determine rounding using get_rounding_mode and
34283 round_away.
34284 * stdio-common/tst-printf-round.c (struct hex_test): New
34285 structure.
34286 (hex_tests): New variable.
34287 (test_hex_in_one_mode): New function.
34288 (do_test): Also run tests for hex float output.
34289
34290 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34291
34292 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34293 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34294 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34295 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34296 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34297 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34298 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34299 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34300
34301 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34302
34303 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34304 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34305 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34306 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34307
34308 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34309
34310 [BZ #14579]
34311 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34312 mode only.
34313 * elf/tst-rtld-load-self.sh: New test.
34314 * elf/Makefile: Run it.
34315
34316 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34317
34318 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34319 (tst-writev-ENV): Remove.
34320 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34321
34322 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34323
34324 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34325
34326 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34327
34328 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34329 unconditional.
34330 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34331 Likewise.
34332 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34333 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34334 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34335 Likewise.
34336
34337 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34338
34339 [BZ #14587]
34340 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34341 * config.make.in (have-cpp-asm-debuginfo): Removed.
34342 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34343 * configure: Regenerated.
34344
34345 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34346
34347 [BZ #5044]
34348 * stdio-common/printf_fp.c: Include <stdbool.h> and
34349 <rounding-mode.h>.
34350 (___printf_fp): Determine rounding using get_rounding_mode and
34351 round_away.
34352 * stdio-common/tst-printf-round.c: New file.
34353 * stdio-common/Makefile (tests): Add tst-printf-round.
34354 (link-libm): New variable.
34355 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34356
34357 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34358
34359 [BZ #14576]
34360 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34361 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34362 Likewise.
34363 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34364 Likewise.
34365
34366 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34367
34368 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34369 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34370 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34371 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34372
34373 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34374
34375 [BZ #14518]
34376 * include/rounding-mode.h: New file.
34377 * sysdeps/generic/get-rounding-mode.h: Likewise.
34378 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34379 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34380 (MAX_VALUE): New macro.
34381 (MIN_VALUE): Likewise.
34382 (overflow_value): New function.
34383 (underflow_value): Likewise.
34384 (round_and_return): Use overflow_value and underflow_value to
34385 determine return values in overflow and underflow cases. Use
34386 round_away to determine rounding depending on rounding mode.
34387 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34388 determine return values in overflow and underflow cases.
34389 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34390 (struct test_results): New structure.
34391 (struct test): Use struct test_results to store expected results
34392 for all rounding modes.
34393 (TEST): Include expected results for all rounding modes.
34394 (test_in_one_mode): New function.
34395 (do_test): Use test_in_one_mode to compute and check results.
34396 Check results for all rounding modes.
34397 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34398 $(link-libm).
34399
34400 2012-12-09 Allan McRae <allan@archlinux.org>
34401
34402 * sysdeps/i386/fpu/libm-test-ulps: Update
34403
34404 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34405
34406 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34407 (_G_int32_t): Likewise.
34408 (_G_uint16_t): Likewise.
34409 (_G_uint32_t): Likewise.
34410 (_G_HAVE_BOOL): Likewise.
34411 (_G_HAVE_ATEXIT): Likewise.
34412 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34413 (_G_HAVE_IO_FILE_OPEN): Likewise.
34414 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34415 (_G_int32_t): Likewise.
34416 (_G_uint16_t): Likewise.
34417 (_G_uint32_t): Likewise.
34418 (_G_HAVE_BOOL): Likewise.
34419 (_G_HAVE_ATEXIT): Likewise.
34420 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34421 (_G_HAVE_IO_FILE_OPEN): Likewise.
34422 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34423 (_G_int32_t): Likewise.
34424 (_G_uint16_t): Likewise.
34425 (_G_uint32_t): Likewise.
34426 (_G_HAVE_BOOL): Likewise.
34427 (_G_HAVE_ATEXIT): Likewise.
34428 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34429 (_G_HAVE_IO_FILE_OPEN): Likewise.
34430
34431 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34432
34433 * csu/libc-tls.c: Update copyright years.
34434
34435 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34436
34437 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34438 [!_G_USING_THUNKS]: Remove conditional code.
34439 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34440 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34441
34442 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34443 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34444 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34445 (_G_VTABLE_LABEL_PREFIX): Likewise.
34446 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34447 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34448 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34449 (_G_VTABLE_LABEL_PREFIX): Likewise.
34450 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34451 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34452 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34453 (_G_VTABLE_LABEL_PREFIX): Likewise.
34454 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34455
34456 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34457
34458 * libio/Makefile: Include ../Makeconfig before tests.
34459 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34460 only if $(build-shared) is yes.
34461
34462 * iconv/gconv_db.c: Update copyright years.
34463
34464 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34465
34466 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34467 unwind info if defined PIC. Fix special cases description.
34468 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34469
34470 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34471 DP_HI_MASK entry.
34472 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34473
34474 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34475
34476 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34477
34478 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34479 is NULL.
34480
34481 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34482 (LDLIBS-tst-chk4): This.
34483 (LDFLAGS-tst-chk5): Renamed to ...
34484 (LDLIBS-tst-chk5): This.
34485 (LDFLAGS-tst-chk6): Renamed to ...
34486 (LDLIBS-tst-chk6): This.
34487 (LDFLAGS-tst-lfschk4): Renamed to ...
34488 (LDLIBS-tst-lfschk4): This.
34489 (LDFLAGS-tst-lfschk5): Renamed to ...
34490 (LDLIBS-tst-lfschk5): This.
34491 (LDFLAGS-tst-lfschk6): Renamed to ...
34492 (LDLIBS-tst-lfschk6): This.
34493
34494 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34495 on $(common-objpfx)soversions.mk.
34496
34497 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34498
34499 [BZ #10014]
34500 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34501 example host name.
34502
34503 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34504
34505 * malloc/arena.c (arena_get_retry): New function that gets
34506 another arena for the caller to try its request on.
34507 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34508 current arena cannot fulfill the request.
34509 (__libc_memalign): Likewise.
34510 (__libc_memalign): Likewise.
34511 (__libc_pvalloc): Likewise.
34512 (__libc_calloc): Likewise.
34513
34514 2012-09-05 John Tobey <john.tobey@gmail.com>
34515
34516 [BZ #13542]
34517 * manual/arith.texi (Operations on Complex): Fix description
34518 of carg branch cut.
34519
34520 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34521
34522 [BZ #10014]
34523 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34524 host name.
34525
34526 [BZ #10038]
34527 * manual/memory.texi (Memory): Make order of menu items match
34528 order of sections.
34529
34530 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34531
34532 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34533 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34534 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34535
34536 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34537
34538 * csu/libc-tls.c (static_dtv): Renamed to ...
34539 (_dl_static_dtv): This. Make it global.
34540 (_dl_initial_dtv): Removed.
34541 (__libc_setup_tls): Updated.
34542 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34543 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34544 DL_INITIAL_DTV.
34545
34546 2012-09-06 Petr Machata <pmachata@redhat.com>
34547
34548 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34549 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34550 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34551 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34552
34553 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34554
34555 [BZ #14545]
34556 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34557 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34558 freeing dtv[-1].
34559
34560 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34561
34562 [BZ #14544]
34563 * Makeconfig (link-static-before-libc): Replace $(+prector)
34564 with $(+prectorT).
34565 (link-static-after-libc): Replace $(+postctor) with
34566 $(+postctorT).
34567 (link-bounded): Replace $(+prector)/$(+postctor) with
34568 $(+prectorT)/$(+postctorT).
34569 (+prectorT): New macro.
34570 (+postctorT): Likewise.
34571
34572 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34573
34574 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34575 (round_str): Handle values above the maximum for IBM long double
34576 as inexact.
34577 * stdlib/tst-strtod-round.c (tests): Regenerated.
34578
34579 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34580
34581 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34582 assembler flag.
34583 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34584 zarch_nohighgprs around the zarch optimized routines.
34585 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34586 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34587 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34588 for zarch.
34589
34590 2012-09-05 David S. Miller <davem@davemloft.net>
34591
34592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34593
34594 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34595 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34596 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34597 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34598 entries.
34599
34600 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34601
34602 * malloc/arena.c: Fold copyright years.
34603 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34604
34605 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34606
34607 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34608
34609 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34610
34611 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34612
34613 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34614
34615 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34616 change internal state upon failure.
34617
34618 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34619
34620 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34621 * malloc/memusage.c (mmap): Likewise.
34622 (mmap64, mremap): Likewise. Adjust name in comment.
34623
34624 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34625
34626 * libio/fileops.c: Fix typos in comments.
34627 * libio/oldfileops.c: Likewise.
34628 * libio/wfileops.c: Likewise.
34629
34630 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34631
34632 [BZ #1349]
34633 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34634 (tst-malloc-usable-ENV): Set environment for test case.
34635 * malloc/hooks.c (malloc_check_get_size): New function to get
34636 requested size.
34637 * malloc/malloc.c (musable): Use malloc_check_get_size.
34638 * malloc/tst-malloc-usable.c: New test case.
34639
34640 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34641
34642 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34643
34644 2012-09-05 Allan McRae <allan@archlinux.org>
34645
34646 [BZ #13966]
34647 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34648 determine header location.
34649 * configure: Regenerated.
34650
34651 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34652
34653 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34654 float format.
34655 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34656 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34657 format.
34658 (test): Regenerate.
34659
34660 2012-09-04 David S. Miller <davem@davemloft.net>
34661
34662 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34663 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34664 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34665
34666 2012-09-04 Florian Weimer <fweimer@redhat.com>
34667
34668 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34669 failures.
34670
34671 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34672
34673 2012-09-04 Joseph Myers <joseph@codesourcery.com>
34674
34675 [BZ #9914]
34676 * libio/iogetdelim.c: Include <limits.h>.
34677 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34678 + len + 1 would overflow.
34679
34680 2012-09-03 Andreas Jaeger <aj@suse.de>
34681
34682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34683 * sysdeps/i386/fpu/libm-test-ulps: Update.
34684
34685 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34686
34687 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34688 Add s_sinf-sse2, s_conf-sse2.
34689
34690 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34691 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34692 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34693 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34694
34695 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34696 for using routine as __sinf_ia32.
34697 Use macro for function declaration and weak_alias.
34698 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34699 for using routine as __cosf_ia32.
34700 Use macro for function declaration and weak_alias.
34701
34702 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34703 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34704
34705 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34706 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34708
34709 * math/libm-test.inc (cos_test): Add more test cases.
34710 (sin_test): Likewise.
34711 (sincos_test): Likewise.
34712
34713 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34714
34715 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34716 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34717 hidden.
34718 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34719
34720 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34721
34722 [BZ #14538]
34723 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34724 first element of the GOT.
34725 (elf_machine_load_address): Return the difference between
34726 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34727
34728 2012-09-01 Allan McRae <allan@archlinux.org>
34729
34730 [BZ #13412]
34731 * configure.in (AWK): Require gawk version 3.0 or later.
34732 * configure: Regenerated.
34733
34734 2012-09-01 Joseph Myers <joseph@codesourcery.com>
34735
34736 * sysdeps/unix/sysv/linux/kernel-features.h
34737 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34738 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34739 [__NR_clock_getres]: Make code unconditional.
34740 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34741 (clock_getcpuclockid): Remove code left unreachable by removal of
34742 conditionals.
34743 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34744 code unconditional.
34745 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34746 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34747 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34748 Make code unconditional.
34749 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34750 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34751 * sysdeps/unix/sysv/linux/clock_settime.c
34752 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34753 conditional code.
34754 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34755 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34756
34757 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34758
34759 [BZ #14476]
34760 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34761 scripts/test-installation.pl.
34762
34763 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34764 and $ld_so_version if it is set.
34765
34766 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34767
34768 [BZ #14516]
34769 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34770 failure if reading from procfs failed.
34771 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34772
34773 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34774
34775 * sysdeps/unix/sysv/linux/kernel-features.h
34776 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34777 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34778 Remove conditional code.
34779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34780 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34781 Remove conditional code.
34782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34783 * sysdeps/unix/sysv/linux/i386/fxstat.c
34784 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34785 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34786 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34787 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34789 * sysdeps/unix/sysv/linux/i386/lxstat.c
34790 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34792 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34793 Remove conditional code.
34794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34795 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34796 Remove conditional code.
34797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34798 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34799 <kernel-features.h>.
34800 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34801 Remove.
34802 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34803 Remove conditional code.
34804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34805 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34806 Remove conditional.
34807
34808 2012-08-27 Mike Frysinger <vapier@gentoo.org>
34809
34810 [BZ #5400]
34811 * NEWS: Add fixed bug number.
34812
34813 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34814
34815 [BZ #14519]
34816 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34817 underflowing exponent in case of negative sign.
34818 * stdlib/tst-strtod-round-data: Add more tests.
34819 * stdlib/tst-strtod-round.c (tests): Regenerated.
34820
34821 [BZ #3479]
34822 * stdlib/strtod_l.c (NDIG): Remove.
34823 (HEXNDIG): Likewise.
34824 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34825 smallest representable value.
34826 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34827 lie within an exact representation of 1/2 ulp of the result.
34828 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34829 unconditionally.
34830 (TENS_P9_IDX): Define unconditionally.
34831 (TENS_P9_SIZE): Likewise.
34832 (TENS_P10_IDX): Likewise.
34833 (TENS_P10_SIZE): Likewise.
34834 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34835 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34836 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34837 entries for 10^2^13 and 10^2^14.
34838 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34839 (TENS_P13_IDX): Define.
34840 (TENS_P13_SIZE): Likewise.
34841 (TENS_P14_IDX): Likewise.
34842 (TENS_P14_SIZE): Likewise.
34843 (_fpioconst_pow10): Change array size to
34844 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34845 unconditional.
34846 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34847 1024]: Add entries for 10^2^13 and 10^2^14.
34848 [LAST_POW10 > _LAST_POW10]: Remove #error.
34849 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34850 (_fpioconst_pow10): Change array size to
34851 FPIOCONST_POW10_ARRAY_SIZE.
34852 * stdlib/gen-fpioconst.c: New file.
34853 * stdlib/gen-tst-strtod-round.c: Likewise.
34854 * stdlib/tst-strtod-round-data: Likewise.
34855 * stdlib/tst-strtod-round.c: Likewise.
34856 * stdlib/Makefile (tests): Add tst-strtod-round.
34857
34858 [BZ #14459]
34859 * stdlib/strtod_l.c: Include <stdint.h>.
34860 (NDEBUG): Do not define.
34861 (round_and_return): Change EXPONENT parameter to type intmax_t.
34862 Rearrange calculations to avoid internal overflow possibilities.
34863 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34864 Rearrange calculations to avoid internal overflow possibilities.
34865 Assert that number fits inside MPNSIZE limbs.
34866 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34867 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34868 calculations and add assertions to avoid internal overflow
34869 possibilities. Add casts to avoid signed/unsigned operations.
34870 * stdlib/tst-strtod-overflow.c: New file.
34871 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34872
34873 2012-08-25 Marek Polacek <polacek@redhat.com>
34874
34875 * time/time.h: Fix some typos in comments.
34876
34877 2012-08-23 Roland McGrath <roland@hack.frob.com>
34878
34879 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34880 * posix/tst-rfc3484-2.c: Likewise.
34881 * posix/tst-rfc3484-3.c: Likewise.
34882
34883 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34884
34885 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34886 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34887
34888 2012-08-23 Joseph Myers <joseph@codesourcery.com>
34889
34890 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34891 #include of fxstatat64.c.
34892
34893 2012-08-22 Roland McGrath <roland@hack.frob.com>
34894
34895 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34896 * shadow/getspent_r.c: Likewise.
34897 * shadow/getspnam.c: Likewise.
34898 * shadow/getspnam_r.c: Likewise.
34899 * gshadow/getsgent.c: Likewise.
34900 * gshadow/getsgent_r.c: Likewise.
34901 * gshadow/getsgnam.c: Likewise.
34902 * gshadow/getsgnam_r.c: Likewise.
34903 * inet/getnetbyad.c: Likewise.
34904 * inet/getnetbyad_r.c: Likewise.
34905 * inet/getnetbynm.c: Likewise.
34906 * inet/getnetbynm_r.c: Likewise.
34907 * inet/getnetent.c: Likewise.
34908 * inet/getnetent_r.c: Likewise.
34909 * inet/getproto.c: Likewise.
34910 * inet/getproto_r.c: Likewise.
34911 * inet/getprtent.c: Likewise.
34912 * inet/getprtent_r.c: Likewise.
34913 * inet/getprtname.c: Likewise.
34914 * inet/getprtname_r.c: Likewise.
34915 * inet/getrpcbyname.c: Likewise.
34916 * inet/getrpcbyname_r.c: Likewise.
34917 * inet/getrpcbynumber.c: Likewise.
34918 * inet/getrpcbynumber_r.c: Likewise.
34919 * inet/getrpcent.c: Likewise.
34920 * inet/getrpcent_r.c: Likewise.
34921 * inet/getaliasent.c: Likewise.
34922 * inet/getaliasent_r.c: Likewise.
34923 * inet/getaliasname.c: Likewise.
34924 * inet/getaliasname_r.c: Likewise.
34925 * nscd/getgrgid_r.c: Likewise.
34926 * nscd/getgrnam_r.c: Likewise.
34927 * nscd/gethstbyad_r.c: Likewise.
34928 * nscd/gethstbynm3_r.c: Likewise.
34929 * nscd/getpwnam_r.c: Likewise.
34930 * nscd/getpwuid_r.c: Likewise.
34931 * nscd/getsrvbynm_r.c: Likewise.
34932 * nscd/getsrvbypt_r.c: Likewise.
34933 * nscd/gai.c: Likewise.
34934
34935 * configure.in (build_nscd): New substituted variable, set
34936 by --disable-build-nscd and defaults to $use_nscd.
34937 * configure: Regenerated.
34938 * config.make.in (build-nscd): New substituted variable.
34939 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34940 Change conditional to require [$(build-nscd) = yes] as well.
34941 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34942
34943 [BZ# 13696]
34944 * configure.in (use_nscd): New substituted variable, set by
34945 --disable-nscd. If enabled, define USE_NSCD.
34946 * configure: Regenerated.
34947 * config.h.in: Add USE_NSCD.
34948 * config.make.in (use-nscd): New substituted variable.
34949 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34950 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34951 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34952 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34953 (CFLAGS-getgrnam_r.c): Likewise.
34954 (CFLAGS-initgroups.c): Likewise.
34955 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34956 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34957 Variables removed.
34958 * inet/getnetgrent_r.c
34959 (nscd_setnetgrent): New function, broken out of ...
34960 (setnetgrent): ... here. Call it.
34961 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34962 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34963 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34964 * nscd/Makefile (routines, aux): Move definitions after include of
34965 Makeconfig. Conditionalize on [$(use-nscd) != no].
34966 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34967 Conditionalize on [USE_NSCD].
34968 (is_nscd, nscd_init_cb): Likewise.
34969 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34970 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34971 * nss/nss_db/db-init.c: Likewise.
34972 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34973 [USE_NSCD].
34974 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34975 (make_request): Use it.
34976 (cache_valid_p): New function.
34977 (__check_pf): Use it.
34978 * NEWS: Add item for --disable-nscd.
34979
34980 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34981
34982 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34983 to support sed >= 4.2.1-20-ga9bf076.
34984 * configure: Regenerated.
34985
34986 2012-08-22 Roland McGrath <roland@hack.frob.com>
34987
34988 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34989 Conditionalize whole body on [IREL].
34990
34991 2012-08-22 Jeff Law <law@redhat.com>
34992
34993 [BZ #14505]
34994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34995 if the family is PF_UNSPEC.
34996
34997 2012-08-22 Mike Frysinger <vapier@gentoo.org>
34998
34999 * Makerules (lib-version): Rename from V.
35000 (install-lib-nosubdir): Change V to lib-version.
35001
35002 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35003
35004 [BZ #14252]
35005 * powerpc32/power6/wcschr.c: New file.
35006 * powerpc32/power6/wcscpy.c: New file.
35007 * powerpc32/power6/wcsrchr.c: New file.
35008 * powerpc64/power6/wcschr.c: New file.
35009 * powerpc64/power6/wcscpy.c: New file.
35010 * powerpc64/power6/wcsrchr.c: New file.
35011
35012 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35013
35014 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35015 (two_way_short_needle): Use it.
35016 * string/strstr.c (AVAILABLE1_USES_J): Define.
35017 * string/strcasestr.c: Likewise.
35018
35019 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35020 array references.
35021 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35022
35023 [BZ #11607]
35024 * NEWS: Add an entry.
35025 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35026 define their defaults.
35027 (two_way_short_needle): Detect end-of-string on-the-fly.
35028 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35029 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35030 * string/bug-strcasestr1.c: New test.
35031 * string/Makefile: Run it.
35032
35033 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35034
35035 [BZ #11607]
35036 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35037 the first character.
35038
35039 2012-08-21 Roland McGrath <roland@hack.frob.com>
35040
35041 * csu/elf-init.c (__libc_csu_irel): Function removed.
35042 * csu/libc-start.c (apply_irel): New function.
35043 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35044
35045 2012-08-21 Joseph Myers <joseph@codesourcery.com>
35046
35047 * sysdeps/unix/sysv/linux/kernel-features.h
35048 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35049 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35050 <kernel-features.h>.
35051 [__NR_fadvise64_64]: Make code unconditional.
35052 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35053 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35054 !__NR_fadvise64_64)]: Likewise.
35055 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35056 !__NR_fadvise64_64))]: Likewise.
35057 [__NR_fadvise64]: Make code unconditional.
35058 [!__NR_fadvise64]: Remove conditional code.
35059 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35060 <kernel-features.h>.
35061 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35062 unconditional.
35063 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35064 conditional code.
35065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35066 not include <kernel-features.h>.
35067 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35068 unconditional.
35069 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35070 conditional code.
35071 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35072 include <kernel-features.h>.
35073 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35074 unconditional.
35075 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35076 conditional code.
35077
35078 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35079
35080 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35081 slight instruction rearrangements per scrollpipe analysis.
35082 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35083
35084 2012-08-20 Roland McGrath <roland@hack.frob.com>
35085
35086 * manual/syslog.texi (syslog; vsyslog, closelog):
35087 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35088 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35089
35090 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35091 DSOCAPS to match condition on defining it.
35092
35093 2012-08-20 Joseph Myers <joseph@codesourcery.com>
35094
35095 * sysdeps/unix/sysv/linux/kernel-features.h
35096 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35098 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35099 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35101 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35102 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35104 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35105 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35106
35107 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35108 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35109
35110 * sysdeps/unix/sysv/linux/kernel-features.h
35111 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35112 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35113 unconditional.
35114 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35115 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35116 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35117 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35118 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35119 Make code unconditional.
35120 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35121 (__mmap64) [!__NR_mmap2]: Likewise.
35122 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35123 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35124 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35125 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35126 [__NR_mmap2]: Make code unconditional.
35127 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35128 (__mmap64) [!__NR_mmap2]: Likewise.
35129
35130 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35131
35132 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35133
35134 2012-08-18 Andreas Jaeger <aj@suse.de>
35135
35136 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35137
35138 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35139
35140 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35141 * include/unistd.h (__have_sock_cloexec): Likewise.
35142 (__have_pipe2): Likewise.
35143 (__have_dup3): Likewise.
35144
35145 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35146
35147 [BZ #9685]
35148 * include/unistd.h (__have_pipe2): Change define into an extern int.
35149 (__have_dup3): Likewise.
35150 * socket/have_sock_cloexec.c: Include fcntl.h.
35151 (__have_pipe2): New variable.
35152 (__have_dup3): Likewise.
35153
35154 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35155
35156 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35157
35158 2012-08-17 Marek Polacek <polacek@redhat.com>
35159
35160 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35161 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35162
35163 2012-08-17 Roland McGrath <roland@hack.frob.com>
35164
35165 * configure.in: Add AC_SUBST for sysheaders.
35166 * configure: Regenerated.
35167 * config.make.in (sysheaders): New substituted variable.
35168
35169 * sysdeps/unix/mkfifo.c: Moved ...
35170 * sysdeps/posix/mkfifo.c: ... here.
35171 * sysdeps/unix/mkfifoat.c: Moved ...
35172 * sysdeps/posix/mkfifoat.c: ... here.
35173
35174 * sysdeps/unix/utime.c: Moved ...
35175 * sysdeps/posix/utime.c: ... here.
35176
35177 * sysdeps/unix/time.c: Moved ...
35178 * sysdeps/posix/time.c: ... here.
35179 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35180 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35181
35182 * sysdeps/unix/nice.c: Moved ...
35183 * sysdeps/posix/nice.c: ... here.
35184
35185 * sysdeps/unix/alarm.c: Moved ...
35186 * sysdeps/posix/alarm.c: ... here.
35187
35188 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35189
35190 2012-08-17 Jeff Law <law@redhat.com>
35191
35192 * intl/Makefile (codeset_mo): New variable.
35193 ($(codeset_mo)): New target.
35194 (tst-codeset.out): Depend on that. Remove explicit rule.
35195 (tst-gettext3.out, tst-gettext5.out): Likewise.
35196 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35197 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35198 * intl/tst-codeset.sh: Remove.
35199 * intl/tst-gettext3.sh: Likewise.
35200 * intl/tst-gettext5.sh: Likewise.
35201
35202 2012-08-17 Roland McGrath <roland@hack.frob.com>
35203
35204 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35205 * sysdeps/unix/syscalls.list: ... here.
35206
35207 * sysdeps/posix/getaddrinfo.c
35208 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35209 (gaiconf_init, gaiconf_reload): Use them.
35210 [!_STATBUF_ST_NSEC]
35211 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35212 Define using time_t rather than struct timespec.
35213
35214 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35215 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35216 Macros removed.
35217 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35218 [!NO_THREADS].
35219 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35220 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35221 Likewise.
35222
35223 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35224 __libc_cleanup_push argument.
35225
35226 * bits/param.h: New file.
35227 * misc/sys/param.h: New file.
35228 * include/sys/param.h: New file.
35229 * misc/Makefile (headers): Add bits/param.h.
35230 * sysdeps/generic/sys/param.h: File removed.
35231 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35232 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35233 * sysdeps/mach/hurd/bits/param.h: New file.
35234 * sysdeps/mach/hurd/sys/param.h: File removed.
35235
35236 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35237 last change.
35238
35239 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35240 [_IO_MTSAFE_IO].
35241 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35242 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35243 New macros.
35244
35245 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35246 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35247 rather than -D_IO_MTSAFE_IO conditionally.
35248 * stdio-common/Makefile (CPPFLAGS): Likewise.
35249 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35250 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35251 Use $(libio-mtsafe).
35252 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35253 of -D_IO_MTSAFE_IO.
35254 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35255 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35256 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35257 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35258 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35259 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35260 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35261 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35262 (CFLAGS-fread_u_chk.c): Likewise.
35263 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35264 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35265 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35266 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35267 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35268 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35269 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35270 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35271 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35272
35273 * libio/Makefile: Test [$(libc-reentrant) = yes]
35274 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35275
35276 * Makeconfig
35277 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35278 * sysdeps/pthread/configure: File removed.
35279 * sysdeps/pthread/Makeconfig: New file.
35280 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35281 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35282
35283 2012-08-16 Gary Benson <gbenson@redhat.com>
35284
35285 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35286 unmapping the first object in a namespace.
35287
35288 2012-08-16 Roland McGrath <roland@hack.frob.com>
35289
35290 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35291 (__internal_setnetgrent): ... this. Add internal_function to
35292 definition. Add libc_hidden_def.
35293 (setnetgrent): Update caller.
35294 (internal_endnetgrent): Renamed to ...
35295 (__internal_endnetgrent): ... this. Add internal_function to
35296 definition. Add libc_hidden_def.
35297 (endnetgrent): Update caller.
35298 (internal_getnetgrent_r): Renamed to ...
35299 (__internal_getnetgrent_r): ... this. Add internal_function to
35300 definition. Add libc_hidden_def.
35301 (__getnetgrent_r): Update caller.
35302 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35303
35304 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35305
35306 * stdlib/longlong.h: Update from GCC.
35307
35308 2012-08-16 Roland McGrath <roland@hack.frob.com>
35309
35310 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35311 on _QL, which is set by umul_ppmm but never used.
35312 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35313 variables, which are set by GMP macros but never used.
35314 * stdio-common/_itowa.c (_itowa): Likewise.
35315 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35316 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35317
35318 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35319
35320 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35321 struct La_sh_regs is not constant.
35322 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35323 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35324 and struct La_sparc64_regs are not constant.
35325
35326 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35327
35328 * sysdeps/unix/sysv/linux/kernel-features.h
35329 (__ASSUME_POSIX_TIMERS): Remove.
35330 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35331 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35332 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35333 Make code unconditional.
35334 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35335 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35336 Make code unconditional.
35337 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35338 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35339 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35340 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35341 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35342 Make code unconditional.
35343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35344 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35345 (__libc_missing_posix_timers): Remove.
35346
35347 2012-08-15 Roland McGrath <roland@hack.frob.com>
35348
35349 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35350 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35351
35352 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35353
35354 * elf/dl-sym.c: Include <stdlib.h>.
35355
35356 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35357 constants, which avoids warnings in 32-bit builds.
35358
35359 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35360 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35361
35362 * misc/lseek.c: File moved to ...
35363 * io/lseek.c: ... here.
35364
35365 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35366
35367 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35368 shifting LEN more than 31 bits at once.
35369
35370 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35371
35372 [BZ #14195]
35373 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35374 segmentation fault for a case of two empty input strings.
35375 * string/test-strncasecmp.c (check1): Renamed to...
35376 (bz12205): ...this.
35377 (bz14195): Add new testcase for two empty input strings and N > 0.
35378 (test_main): Call new testcase, adapt for renamed function.
35379
35380 2012-08-15 Andreas Jaeger <aj@suse.de>
35381
35382 [BZ #14090]
35383 * crypt/md5test2.c: New test, based on test supplied by Serge
35384 Belyshev <belyshev@depni.sinp.msu.ru>.
35385 * crypt/Makefile (xtests): Add md5test-giant..
35386 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35387
35388 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35389
35390 [BZ #14090]
35391 * crypt/md5.c (md5_process_block): Don't assume the buffer
35392 length is less than 2**32.
35393 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35394 length is less than 2**64.
35395
35396 2012-08-15 Roland McGrath <roland@hack.frob.com>
35397
35398 * string/str-two-way.h: Include <sys/param.h>.
35399 (MAX): Macro removed.
35400
35401 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35402 Move #define and #undef of memmove to just before and after
35403 including <string.h>.
35404
35405 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35406 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35407 and after including <string.h>. Move declarations of
35408 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35409 to before #include "string/memmove.c".
35410
35411 * include/dirent.h: Declare __getdirentries.
35412
35413 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35414 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35415
35416 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35417
35418 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35419 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35420 * sysdeps/i386/configure: Regenerated.
35421 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35422 STABS_CURRENT_FILE, and STABS_FUN.
35423 (END): Remove call to STABS_FUN_END.
35424 (STABS_CURRENT_FILE1): Delete.
35425 (STABS_CURRENT_FILE): Likewise.
35426 (STABS_FUN): Likewise.
35427 (STABS_FUN_END): Likewise.
35428 (STABS_FUN2): Likewise.
35429 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35430 * sysdeps/x86_64/configure: Regenerated.
35431
35432 2012-08-14 Roland McGrath <roland@hack.frob.com>
35433
35434 * elf/dl-open.c: Include <atomic.h>.
35435 * elf/dl-lookup.c: Likewise.
35436
35437 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35438
35439 * sysdeps/unix/sysv/linux/kernel-features.h
35440 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35441 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35442 unconditionally.
35443 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35444 unconditionally.
35445 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35446 condition on __ASSUME_CLONE_THREAD_FLAGS.
35447
35448 2012-08-14 Andreas Jaeger <aj@suse.de>
35449
35450 * sysdeps/i386/fpu/libm-test-ulps: Update.
35451
35452 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35453
35454 * include/atomic.h (atomic_exchange_and_add): Split into ...
35455 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35456 New atomic macros.
35457
35458 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35459
35460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35461
35462 2012-08-13 Jeff Law <law@redhat.com>
35463
35464 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35465 null byte in the output string.
35466
35467 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35468
35469 * sysdeps/unix/sysv/linux/kernel-features.h
35470 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35471 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35472 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35473 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35474 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35475 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35476 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35477
35478 2012-08-09 Jeff Law <law@redhat.com>
35479
35480 [BZ #13939]
35481 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35482 When avoid_arena is set, don't retry in the that arena. Pick the
35483 next one, whatever it might be.
35484 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35485 (arena_lock): Pass in new parameter to arena_get2.
35486 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35487 arena_get2.
35488 (__libc_malloc): Unify retrying after main arena failure with
35489 __libc_memalign version.
35490 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35491
35492 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35493
35494 [BZ #14166]
35495 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35496 to __redirect_strstr.
35497 (__strstr_sse42): Use typeof __redirect_strstr.
35498 (__strstr_ia32): Likewise.
35499 (__libc_strstr): New prototype.
35500 (strstr): Renamed to ...
35501 (__libc_strstr): This.
35502 (strstr): New strong alias of __libc_strstr.
35503 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35504 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35505 __redirect_time.
35506 Include <time.h>.
35507 (__libc_time): New prototype.
35508 (time_ifunc): Replace time with __libc_time.
35509 (time): New strong alias and hidden definition of __libc_time.
35510 (__GI_time): Remove strong alias.
35511 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35512 Include <stddef.h>.
35513 (memmove): Redefined to __redirect_memmove.
35514 (__memmove_sse2): Use typeof __redirect_memmove.
35515 (__memmove_ssse3): Likewise.
35516 (__memmove_ssse3_back): Likewise.
35517 (__libc_memmove): New prototype.
35518 (memmove): Renamed to ...
35519 (__libc_memmove): This.
35520 (memmove): New strong alias of __libc_memmove.
35521
35522 2012-08-08 Mark Salter <msalter@redhat.com>
35523
35524 * elf/elf.h
35525 (R_MN10300_TLS_GD): Define.
35526 (R_MN10300_TLS_LD): Likewise.
35527 (R_MN10300_TLS_LDO): Likewise.
35528 (R_MN10300_TLS_GOTIE): Likewise.
35529 (R_MN10300_TLS_IE): Likewise.
35530 (R_MN10300_TLS_LE): Likewise.
35531 (R_MN10300_TLS_DTPMOD): Likewise.
35532 (R_MN10300_TLS_DTPOFF): Likewise.
35533 (R_MN10300_TLS_TPOFF): Likewise.
35534 (R_MN10300_SYM_DIFF): Likewise.
35535 (R_MN10300_ALIGN): Likewise.
35536 (R_MN10300_NUM): Update.
35537
35538 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35539
35540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35541 Remove.
35542
35543 2012-08-08 Roland McGrath <roland@hack.frob.com>
35544
35545 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35546
35547 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35548 sysdeps/unix -> sysdeps/posix move.
35549 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35550
35551 2012-08-07 Allan McRae <allan@archlinux.org>
35552
35553 [BZ #14303]
35554 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35555 (SUNOS_CPP): Likewise.
35556 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35557 not found.
35558 (open_input): Call CPP using execvp.
35559
35560 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35561
35562 * sysdeps/unix/sysv/linux/kernel-features.h
35563 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35564 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35565 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35566 (__ASSUME_WAITID_SYSCALL): Likewise.
35567 * sysdeps/unix/sysv/linux/dl-execstack.c
35568 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35569 code unconditional.
35570 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35571 conditional code.
35572 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35573 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35574 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35575 code.
35576 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35577 unconditional.
35578 [__ASSUME_WAITID_SYSCALL]: Likewise.
35579 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35580
35581 2012-08-07 Roland McGrath <roland@hack.frob.com>
35582
35583 * sysdeps/unix/closedir.c: Renamed to ...
35584 * sysdeps/posix/closedir.c: ... here.
35585 * sysdeps/unix/dirfd.c: Renamed to ...
35586 * sysdeps/posix/dirfd.c: ... here.
35587 * sysdeps/unix/dirstream.h: Renamed to ...
35588 * sysdeps/posix/dirstream.h: ... here.
35589 * sysdeps/unix/fdopendir.c: Renamed to ...
35590 * sysdeps/posix/fdopendir.c: ... here.
35591 * sysdeps/unix/opendir.c: Renamed to ...
35592 * sysdeps/posix/opendir.c: ... here.
35593 * sysdeps/unix/readdir.c: Renamed to ...
35594 * sysdeps/posix/readdir.c: ... here.
35595 * sysdeps/unix/readdir_r.c: Renamed to ...
35596 * sysdeps/posix/readdir_r.c: ... here.
35597 * sysdeps/unix/rewinddir.c: Renamed to ...
35598 * sysdeps/posix/rewinddir.c: ... here.
35599 * sysdeps/unix/seekdir.c: Renamed to ...
35600 * sysdeps/posix/seekdir.c: ... here.
35601 * sysdeps/unix/telldir.c: Renamed to ...
35602 * sysdeps/posix/telldir.c: ... here.
35603 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35604 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35605 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35606 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35607
35608 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35609 * bits/fcntl.h: ... here.
35610
35611 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35612 not 0.
35613 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35614 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35615 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35616 (struct flock): Move l_start, l_len to the beginning.
35617 Use __pid_t for l_pid.
35618 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35619 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35620 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35621 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35622 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35623 [__USE_LARGEFILE64] (struct flock64): New type.
35624 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35625
35626 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35627 * bits/dirent.h: ... here.
35628
35629 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35630 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35631
35632 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35633
35634 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35635 Change from 2.6.0 to 2.6.16.
35636 * sysdeps/unix/sysv/linux/configure: Regenerated.
35637 * sysdeps/unix/sysv/linux/kernel-features.h
35638 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35639 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35640 version.
35641 (__ASSUME_UTIMES): Likewise.
35642 (__ASSUME_CLONE_STOPPED): Remove.
35643 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35644 architectures, not kernel version.
35645 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35646 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35647 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35648 (__ASSUME_WAITID_SYSCALL): Likewise.
35649 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35650 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35651 * README: State 2.6.16 as minimum Linux kernel version. Do not
35652 refer to older versions.
35653
35654 2012-08-06 Roland McGrath <roland@hack.frob.com>
35655
35656 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35657 Define alphasort64 as an alias.
35658 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35659 Define versionsort64 as an alias.
35660 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35661 Define scandir64 as an alias.
35662 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35663 Define scandirat64 as an alias.
35664 * dirent/alphasort64.c (alphasort64):
35665 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35666 * dirent/versionsort64.c: Likewise.
35667 * dirent/scandir64.c: Likewise.
35668 * dirent/scandirat64.c: Likewise.
35669 * sysdeps/wordsize-64/alphasort.c: File removed.
35670 * sysdeps/wordsize-64/alphasort64.c: File removed.
35671 * sysdeps/wordsize-64/scandir.c: File removed.
35672 * sysdeps/wordsize-64/scandir64.c: File removed.
35673 * sysdeps/wordsize-64/scandirat.c: File removed.
35674 * sysdeps/wordsize-64/scandirat64.c: File removed.
35675 * sysdeps/wordsize-64/versionsort.c: File removed.
35676 * sysdeps/wordsize-64/versionsort64.c: File removed.
35677 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35678 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35679 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35680 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35681 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35682 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35683 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35684 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35685
35686 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35688 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35690 [defined __arch64__ || defined __sparcv9]
35691 (__INO_T_MATCHES_INO64_T): New macro.
35692 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35693 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35694 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35695 * sysdeps/unix/sysv/linux/bits/dirent.h
35696 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35697 (_DIRENT_MATCHES_DIRENT64): New macro.
35698
35699 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35700 Define lockf64 as an alias.
35701 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35702 Define fseeko64 as an alias.
35703 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35704 Define ftello64 as an alias.
35705 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35706 Define _IO_fgetpos64 and fgetpos64 as aliases.
35707 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35708 Define _IO_fsetpos64 and fsetpos64 as aliases.
35709 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35710 Conditionalize body on this.
35711 * libio/fseeko64.c: Likewise.
35712 * libio/ftello64.c: Likewise.
35713 * libio/iofgetpos64.c: Likewise.
35714 * libio/iofsetpos64.c: Likewise.
35715 * sysdeps/wordsize-64/lockf.c: File removed.
35716 * sysdeps/wordsize-64/lockf64.c: File removed.
35717 * sysdeps/wordsize-64/fseeko.c: File removed.
35718 * sysdeps/wordsize-64/fseeko64.c: File removed.
35719 * sysdeps/wordsize-64/ftello.c: File removed.
35720 * sysdeps/wordsize-64/ftello64.c: File removed.
35721 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35722 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35723 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35724 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35725 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35726 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35727 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35728 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35729 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35730 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35731 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35732 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35733 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35734 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35735
35736 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35738 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35740 [defined __arch64__ || defined __sparcv9]
35741 (__OFF_T_MATCHES_OFF64_T): New macro.
35742 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35743 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35745 (__OFF_T_MATCHES_OFF64_T): New macro.
35746
35747 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35748
35749 * stdlib/secure-getenv.c (__secure_getenv): Replace
35750 GLIBC_2_16 with GLIBC_2_17.
35751
35752 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35753
35754 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35755 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35756
35757 2012-08-03 David S. Miller <davem@davemloft.net>
35758
35759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35760
35761 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35762
35763 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35764 Remove.
35765 (__ASSUME_CORRECT_SI_PID): Likewise.
35766 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35767 (__ASSUME_TMPFS_NAME): Likewise.
35768 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35769 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35770 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35771 (HAVE_AUX_SECURE): Make definition unconditional.
35772 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35773 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35774
35775 2012-08-03 Roland McGrath <roland@hack.frob.com>
35776
35777 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35778 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35779 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35780 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35781 __eloop_threshold instead of SYMLOOP_MAX.
35782
35783 * sysdeps/generic/eloop-threshold.h: New file.
35784 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35785 of MAXSYMLINKS.
35786 * elf/chroot_canon.c (chroot_canon): Likewise.
35787
35788 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35789
35790 [BZ #13717]
35791 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35792 Change to 2.6.0 everywhere.
35793 * sysdeps/unix/sysv/linux/configure: Regenerated.
35794 * sysdeps/unix/sysv/linux/kernel-features.h
35795 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35796 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35797 kernel versions.
35798 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35799 (__ASSUME_FUTEX_REQUEUE): Remove.
35800 (__ASSUME_STATFS64): Define unconditionally.
35801 (__ASSUME_AT_SECURE): Likewise.
35802 (__ASSUME_CORRECT_SI_PID): Likewise.
35803 (__ASSUME_TGKILL): Define without depending on kernel version for
35804 i386.
35805 (__ASSUME_UTIMES): Likewise.
35806 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35807 kernel version.
35808 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35809 (__ASSUME_TMPFS_NAME): Likewise.
35810 * README: Update reference to Linux kernel versions.
35811
35812 2012-08-02 Marek Polacek <polacek@redhat.com>
35813
35814 [BZ# 14150]
35815 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35816 libc_cv_asm_type_prefix with %.
35817 * configure: Regenerated.
35818 * include/libc-symbols.h: Remove comment about
35819 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35820 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35821 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35822 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35823 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35824 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35825 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35826 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35827 * elf/tst-unique2mod1.c: Likewise.
35828 * elf/tst-unique1mod2.c: Likewise.
35829 * elf/tst-unique1mod1.c: Likewise.
35830 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35831 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35832 Replace ASM_TYPE_DIRECTIVE with .type.
35833 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35834 * sysdeps/i386/sysdep.h: Likewise.
35835 * sysdeps/x86_64/sysdep.h: Likewise.
35836 * sysdeps/sh/sysdep.h: Likewise.
35837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35838 Do not define ASM_TYPE_DIRECTIVE.
35839 * sysdeps/powerpc/sysdep.h: Likewise.
35840 * sysdeps/powerpc/powerpc32/sysdep.h:
35841 Replace ASM_TYPE_DIRECTIVE with .type.
35842 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35843 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35844 * sysdeps/i386/fpu/e_powf.S: Likewise.
35845 * sysdeps/i386/fpu/e_expl.S: Likewise.
35846 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35847 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35848 * sysdeps/i386/fpu/e_pow.S: Likewise.
35849 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35850 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35851 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35852 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35853 * sysdeps/i386/fpu/e_log2.S: Likewise.
35854 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35855 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35856 * sysdeps/i386/fpu/e_powl.S: Likewise.
35857 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35858 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35859 * sysdeps/i386/fpu/e_logl.S: Likewise.
35860 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35861 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35862 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35863 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35865 * sysdeps/i386/fpu/e_log.S: Likewise.
35866 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35867 * sysdeps/i386/fpu/e_logf.S: Likewise.
35868 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35869 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35870 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35871 * sysdeps/i386/fpu/e_log10.S: Likewise.
35872 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35873 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35874 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35875 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35876 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35877 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35878 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35879 * sysdeps/i386/i686/strtok.S: Likewise.
35880 * sysdeps/i386/i386-mcount.S: Likewise.
35881 * sysdeps/i386/strtok.S: Likewise.
35882 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35883 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35884 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35885 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35886 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35887 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35888 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35889 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35890 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35891 * sysdeps/x86_64/_mcount.S: Likewise.
35892 * sysdeps/x86_64/strtok.S: Likewise.
35893 * sysdeps/sh/_mcount.S: Likewise.
35894
35895 2012-08-01 Roland McGrath <roland@hack.frob.com>
35896
35897 * libio/iofopen.c: Include <fcntl.h>.
35898 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35899 (_IO_fopen64, fopen64): Define as aliases.
35900 * libio/iofopen64.c: Include <fcntl.h>.
35901 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35902 Conditionalize body on this.
35903 * sysdeps/wordsize-64/iofopen.c: File removed.
35904 * sysdeps/wordsize-64/iofopen64.c: File removed.
35905
35906 2012-08-01 Marek Polacek <polacek@redhat.com>
35907
35908 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35909 Use dlfcn directly instead of a variable.
35910 (binfmt-subdir): Do not define.
35911 (dlfcn): Likewise.
35912
35913 2012-08-01 Joseph Myers <joseph@codesourcery.com>
35914
35915 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35916 Remove all definitions.
35917 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35918 <kernel-features.h>.
35919 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35920 (miss_F_GETOWN_EX): Remove all definitions.
35921 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35922 macro definition.
35923 [!__ASSUME_FCNTL64]: Remove conditional code.
35924 [__ASSUME_FCNTL64]: Make code unconditional.
35925 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35926 <kernel-features.h>.
35927 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35928 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35929 (lockf64) [__NR_fcntl64]: Make code unconditional.
35930 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35931
35932 * sysdeps/unix/sysv/linux/kernel-features.h
35933 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35934 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35935 Make code unconditional.
35936 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35937 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35939 [__NR_vfork]: Make code unconditional.
35940 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35941 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35943 [__NR_vfork]: Make code unconditional.
35944 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35945 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35946
35947 2012-08-01 Roland McGrath <roland@hack.frob.com>
35948
35949 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35950 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35951
35952 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35953 Define mkstemp64 as an alias.
35954 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35955 Define mkstemps64 as an alias.
35956 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35957 Define mkostemp64 as an alias.
35958 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35959 Define mkostemps64 as an alias.
35960 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35961 Conditionalize body on this.
35962 * misc/mkostemp64.c: Likewise.
35963 * misc/mkostemps64.c: Likewise.
35964 * misc/mkstemps64.c: Likewise.
35965 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35966 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35967 * sysdeps/wordsize-64/mkostemp.c: File removed.
35968 * sysdeps/wordsize-64/mkstemp.c: File removed.
35969 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35970 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35971 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35972 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35973
35974 [BZ #14138]
35975 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35976 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35977 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35978 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35979
35980 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35981 compat_symbol macros from <shlib-compat.h> rather than the underlying
35982 default_symbol_version and symbol_version macros, so that DEFAULT
35983 lines in shlib-versions are respected.
35984 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35985
35986 2012-08-01 Florian Weimer <fweimer@redhat.com>
35987
35988 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35989 Declare with warn_unused_result.
35990 (setgid, setregid, setegid, setresgid): Likewise.
35991 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35992 Likewise.
35993 * WUR-REPORT: Remove set*id functions.
35994
35995 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35996
35997 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35998
35999 2012-07-31 Roland McGrath <roland@hack.frob.com>
36000
36001 [BZ #10191]
36002 * include/sys/socket.h (__libc_accept, __libc_accept4):
36003 Add attribute_hidden.
36004 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36005
36006 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36007 use of PTR_MANGLE.
36008 * inet/getnetgrent_r.c (setup): Likewise.
36009
36010 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36011
36012 2012-07-31 David S. Miller <davem@davemloft.net>
36013
36014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36015
36016 2012-07-31 Joseph Myers <joseph@codesourcery.com>
36017
36018 [BZ #13629]
36019 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36020 value between 1.0 and 2.0 and smaller part has absolute value less
36021 than 1.0.
36022 * math/s_clog10.c (__clog10): Likewise.
36023 * math/s_clog10f.c (__clog10f): Likewise.
36024 * math/s_clog10l.c (__clog10l): Likewise.
36025 * math/s_clogf.c (__clogf): Likewise.
36026 * math/s_clogl.c (__clogl): Likewise.
36027 * math/libm-test.inc (clog_test): Add more tests.
36028 (clog10_test): Likewise.
36029 * sysdeps/i386/fpu/libm-test-ulps: Update.
36030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36031
36032 2012-07-31 Florian Weimer <fweimer@redhat.com>
36033
36034 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36035 Exit with zero in case no suitable GID is found, and write a
36036 message to standard error.
36037
36038 2012-07-30 Roland McGrath <roland@hack.frob.com>
36039
36040 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36041 rather than to 1.
36042 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36043 (MAXPATHLEN): Removed.
36044 (NOGROUP, NODEV): New macros.
36045 (setbit, clrbit, isset, isclr): New macros.
36046 (howmany, roundup, powerof2): New macros.
36047 (DEV_BSIZE): New macro.
36048
36049 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36050 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36051
36052 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36053 definition on [!__NO_LONG_DOUBLE_MATH].
36054
36055 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36056 PTR_MANGLE and PTR_DEMANGLE.
36057
36058 * socket/accept4.c (accept4): Rename to __libc_accept4.
36059 Define accept4 as a weak alias.
36060
36061 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36062 on [_DIRENT_HAVE_D_TYPE].
36063 * io/ftw.c (ftw_dir): Likewise.
36064
36065 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36066
36067 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36068
36069 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36070 Use the BSD numbers rather than the arbitrary ones we had.
36071 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36072 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36073 (SIGXCPU, SIGXFSZ): New macros.
36074 (_NSIG): Now 32.
36075
36076 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36077 initializer on [_LIBC_REENTRANT].
36078
36079 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36080 definitions inside [_POSIX_MAPPED_FILES].
36081
36082 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36083
36084 * dirent/opendir.c: Include <fcntl.h>.
36085
36086 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36087 (__libc_getspecific): Likewise.
36088 (__libc_key_create): Likewise.
36089
36090 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36091 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36092 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36093 (tmpfile64): Define as alias.
36094 * sysdeps/wordsize-64/tmpfile.c: File removed.
36095 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36096 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36097 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36098
36099 * stdio-common/vfscanf.c: Include <stdbool.h>.
36100 * nss/makedb.c: Likewise.
36101 * stdio-common/_i18n_number.h: Likewise.
36102 * argp/argp-help.c: Likewise.
36103 * posix/wordexp.c: Likewise.
36104 * sysdeps/posix/spawni.c: Likewise.
36105 * nss/nss_files/files-initgroups.c: Likewise.
36106 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36107 * nss/nss_files/files-initgroups.c: Likewise.
36108 * nss/nss_db/db-netgrp.c: Likewise.
36109 * nss/nss_db/db-initgroups.c: Likewise.
36110 * io/fchmodat.c: Include <sys/stat.h>.
36111
36112 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36113 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36114
36115 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36116 [HAVE_MMAP].
36117
36118 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36119 Add multiple inclusion protection.
36120
36121 2012-07-27 David S. Miller <davem@davemloft.net>
36122
36123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36124
36125 2012-07-27 Gary Benson <gbenson@redhat.com>
36126
36127 [BZ #14298]
36128 * elf/rtld.c: Include <stap-probe.h>.
36129 (dl_main): Added static probes "init_start" and "init_complete".
36130 * elf/dl-load.c: Include <stap-probe.h>.
36131 (lose): Take new parameter "nsid".
36132 Added static probe "map_failed".
36133 (_dl_map_object_from_fd): Pass namespace id to lose.
36134 Added static probe "map_start".
36135 (open_verify): Pass namespace id to lose.
36136 * elf/dl-open.c: Include <stap-probe.h>.
36137 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36138 and "reloc_complete".
36139 * elf/dl-close.c: Include <stap-probe.h>.
36140 (_dl_close_worker): Added static probes "unmap_start" and
36141 "unmap_complete".
36142 * elf/rtld-debugger-interface.txt: New file documenting the above.
36143
36144 2012-07-26 Roland McGrath <roland@hack.frob.com>
36145
36146 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36147 rather than a string variable.
36148 * sunrpc/rpc_main.c (h_output): Likewise.
36149 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36150
36151 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36152
36153 * inet/check_native.c: New file.
36154
36155 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36156
36157 [BZ #13629]
36158 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36159 if larger part has absolute value 1.0.
36160 * math/s_clog10.c (__clog10): Likewise.
36161 * math/s_clog10f.c (__clog10f): Likewise.
36162 * math/s_clog10l.c (__clog10l): Likewise.
36163 * math/s_clogf.c (__clogf): Likewise.
36164 * math/s_clogl.c (__clogl): Likewise.
36165 * math/libm-test.inc (clog_test): Add more tests.
36166 (clog10_test): Likewise.
36167 * sysdeps/i386/fpu/libm-test-ulps: Update.
36168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36169
36170 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36171 (pltexit): Likewise.
36172 (La_regs): Likewise.
36173 (La_retval): Likewise.
36174 (int_retval): Likewise.
36175 Update #error for removed macros to refer only to definitions in
36176 tst-audit.h.
36177 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36178 macro.
36179 (pltexit): Likewise.
36180 (La_regs): Likewise.
36181 (La_retval): Likewise.
36182 (int_retval): Likewise.
36183 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36184 macro.
36185 (pltexit): Likewise.
36186 (La_regs): Likewise.
36187 (La_retval): Likewise.
36188 (int_retval): Likewise.
36189 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36190 macro.
36191 (pltexit): Likewise.
36192 (La_regs): Likewise.
36193 (La_retval): Likewise.
36194 (int_retval): Likewise.
36195 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36196 macro.
36197 (pltexit): Likewise.
36198 (La_regs): Likewise.
36199 (La_retval): Likewise.
36200 (int_retval): Likewise.
36201 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36202 macro.
36203 (pltexit): Likewise.
36204 (La_regs): Likewise.
36205 (La_retval): Likewise.
36206 (int_retval): Likewise.
36207 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36208 macro.
36209 (pltexit): Likewise.
36210 (La_regs): Likewise.
36211 (La_retval): Likewise.
36212 (int_retval): Likewise.
36213 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36214 macro definitions in tst-audit.h.
36215 * sysdeps/i386/tst-audit.h: New file.
36216 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36217 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36218 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36219 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36220 * sysdeps/sh/tst-audit.h: Likewise.
36221 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36222 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36223 * sysdeps/x86_64/tst-audit.h: Likewise.
36224
36225 2012-07-26 Andreas Jaeger <aj@suse.de>
36226
36227 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36228 ptrace.
36229
36230 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36231 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36232 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36233 PTRACE_O_MASK.
36234 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36235 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36236 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36237
36238 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36239 value.
36240
36241 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36242 _sigsys.
36243 (si_call_addr, si_syscall, si_arch): Define new macro.
36244 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36245 _sigsys.
36246 (si_call_addr, si_syscall, si_arch): Define new marcro.
36247 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36248 _sigsys.
36249 (si_call_addr, si_syscall, si_arch): Define new macro.
36250 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36251 _sigsys.
36252 (si_call_addr, si_syscall, si_arch): Define new macro.
36253
36254 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36255
36256 [BZ #13717]
36257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36258 Change to 2.4.21 where previously 2.4.1.
36259 * sysdeps/unix/sysv/linux/configure: Regenerated.
36260 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36261 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36262 Linux kernel version.
36263 (__ASSUME_STD_AUXV): Remove.
36264 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36265 kernel version.
36266 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36267 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36268 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36269 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36270 (__ASSUME_NETLINK_SUPPORT): Likewise.
36271 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36272 (__no_netlink_support): Remove conditional definition.
36273 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36274 Remove.
36275 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36276 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36277 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36278 (if_nameindex_ioctl): Remove.
36279 (if_nameindex_netlink): Do not handle __no_netlink_support.
36280 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36281 code.
36282 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36283 Remove conditional code.
36284 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36285 code.
36286 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36287 unconditional.
36288 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36289 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36290 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36291 Remove.
36292 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36293 [!__ASSUME_STD_AUXV]: Remove conditional code.
36294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36295 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36296 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36298 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36299 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36300 code.
36301 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36303 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36304 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36305 conditional code.
36306 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36308 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36309 code.
36310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36311 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36312 conditional code.
36313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36314 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36315 code unconditional.
36316 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36317 conditional code.
36318 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36319 unconditional.
36320 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36321 conditional code.
36322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36323 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36324 unconditional.
36325 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36326 conditional code.
36327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36328 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36329 code unconditional.
36330 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36331 conditional code.
36332 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36333 unconditional.
36334 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36335 conditional code.
36336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36337 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36338 code unconditional.
36339 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36340 conditional code.
36341 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36342 unconditional.
36343 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36344 conditional code.
36345
36346 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36347
36348 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36349 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36350 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36351 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36352 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36353 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36354 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36355 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36356 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36357 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36358 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36359 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36360 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36361 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36362 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36363 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36364 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36366 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36368 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36369 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36370 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36371
36372 2012-07-25 Florian Weimer <fweimer@redhat.com>
36373
36374 * Versions.def: Add GLIBC_2.17.
36375 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36376 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36377 Introduce __libc_secure_getenv.
36378 * stdlib/Versions (2.17): Add secure_getenv
36379 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36380 * stdlib/secure-getenv.c: Rename __secure_getenv to
36381 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36382 symbol __secure_getenv for GLIBC_2.0.
36383 * stdlib/tst-secure-getenv.c: New.
36384 * stdlib/Makefile (tests): Add testcase.
36385 * manual/startup.texi (Environment Access): Document
36386 secure_getenv.
36387 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36388 __libc_secure_getenv.
36389 * inet/ruserpass.c (ruserpass): Likewise.
36390 * malloc/mtrace.c (mtrace): Likewise.
36391 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36392 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36393 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36394 * sysdeps/posix/tempname.c: Likewise. Evaluate
36395 HAVE_SECURE_GETENV.
36396 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36397 __secure_getenv to __libc_secure_getenv.
36398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36400 Likewise.
36401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36402 Likewise.
36403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36405 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36410
36411 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36412
36413 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36414 (struct La_i86_retval): Likewise.
36415 (struct La_x86_64_regs): Likewise.
36416 (struct La_x86_64_retval): Likewise.
36417 (struct La_x32_regs): Likewise.
36418 (struct La_x32_retval): Likewise.
36419 (struct La_ppc32_regs): Likewise.
36420 (struct La_ppc32_retval): Likewise.
36421 (struct La_ppc64_regs): Likewise.
36422 (struct La_ppc64_retval): Likewise.
36423 (struct La_sh_regs): Likewise.
36424 (struct La_sh_retval): Likewise.
36425 (struct La_s390_32_regs): Likewise.
36426 (struct La_s390_32_retval): Likewise.
36427 (struct La_s390_64_regs): Likewise.
36428 (struct La_s390_64_retval): Likewise.
36429 (struct La_sparc32_regs): Likewise.
36430 (struct La_sparc32_retval): Likewise.
36431 (struct La_sparc64_regs): Likewise.
36432 (struct La_sparc64_retval): Likewise.
36433 (struct audit_ifaces): Remove architecture-specific pltenter and
36434 pltexit members.
36435 * sysdeps/i386/ldsodefs.h: New file.
36436 * sysdeps/powerpc/ldsodefs.h: Likewise.
36437 * sysdeps/s390/ldsodefs.h: Likewise.
36438 * sysdeps/sh/ldsodefs.h: Likewise.
36439 * sysdeps/sparc/ldsodefs.h: Likewise.
36440 * sysdeps/x86_64/ldsodefs.h: Likewise.
36441
36442 2012-07-25 Marek Polacek <polacek@redhat.com>
36443
36444 [BZ #6808]
36445 * math/libm-test.inc (yn_test): Add another test.
36446 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36447 to ERANGE when the result is +-Inf.
36448 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36449 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36450 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36451 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36452
36453 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36454
36455 * conform/data/time.h-data (NULL): Use macro-constant. Require
36456 equal to 0.
36457 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36458 clock_t.
36459 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36460
36461 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36462
36463 * configure.in <sysdeps resolving>: Correct printing
36464 Implies_before.
36465 * configure: Regenerate.
36466
36467 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36468
36469 * math/w_ilogb.c: Include <limits.h>.
36470 * math/w_ilogbl.c: Likewise.
36471
36472 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36473
36474 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36475 va_copy. Document allowing for unavailable va_copy only as
36476 pre-C99 compatibility.
36477 * manual/string.texi (Copying and Concatenation): Use va_copy
36478 instead of __va_copy in concat example.
36479
36480 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36481
36482 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36483 (__sendto): Use create_address_port. Initialize APORT and deallocate
36484 it if not null.
36485
36486 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36487 with O_NOLINK passed to __file_name_lookup.
36488
36489 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36490 with O_NOLINK passed to __file_name_lookup.
36491
36492 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36493 negative N or less than NGIDS.
36494
36495 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36496 type to string_t. Set ERANGE as errno and return it if NAME is not big
36497 enough. Use memcpy instead of strncpy.
36498
36499 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36500
36501 * elf/Makefile (check-data): Remove.
36502 (localplt.data): New vpath directive.
36503 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36504 instead of $(check-data).
36505 * scripts/data/localplt-generic.data: Move to ...
36506 * sysdeps/generic/localplt.data: ... here.
36507 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36508 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36509 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36511 ... here.
36512 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36514 ... here.
36515 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36517 ... here.
36518 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36520 ... here.
36521 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36523 ... here.
36524 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36526 ... here.
36527
36528 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36529
36530 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36531 PPC32 and PPC64 files.
36532 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36533 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36534
36535 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36536
36537 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36538 __makecontext_ret to ...
36539 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36540 ... here and call exit if uc_link is NULL. New file.
36541 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36542 __makecontext_ret.S.
36543 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36544 __makecontext_ret to ...
36545 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36546 ... here and call exit if uc_link is NULL. New file.
36547 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36548 __makecontext_ret.S.
36549
36550 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36551
36552 * elf/elf.h (R_390_IRELATIVE): New definition.
36553 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36554 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36555 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36556 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36557 (elf_machine_lazy_rel): Likewise.
36558 * sysdeps/s390/dl-irel.h: New file.
36559 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36560 * sysdeps/s390/s390-64/memset.S: New asm code.
36561 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36562 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36563 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36564 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36565 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36566 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36567 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36568 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36569 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36570 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36571 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36572 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36573 * sysdeps/s390/s390-32/memset.S: New asm code.
36574 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36575
36576 2012-07-17 Marek Polacek <polacek@redhat.com>
36577
36578 [BZ #14349]
36579 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36580 * sysdeps/s390/s390-64/configure.in: Likewise.
36581 * sysdeps/sparc/configure.in: Likewise.
36582 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36583 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36584 * sysdeps/i386/configure.in: Likewise.
36585 * sysdeps/x86_64/configure.in: Likewise.
36586 * sysdeps/sh/configure.in: Likewise.
36587 * sysdeps/s390/s390-32/configure: Regenerated.
36588 * sysdeps/s390/s390-64/configure: Likewise.
36589 * sysdeps/x86_64/configure: Likewise.
36590 * sysdeps/sh/configure: Likewise.
36591 * sysdeps/powerpc/powerpc64/configure: Likewise.
36592 * sysdeps/powerpc/powerpc32/configure: Likewise.
36593 * sysdeps/sparc/configure: Likwise.
36594 * sysdeps/i386/configure: Likewise.
36595
36596 * elf/dl-open.c: Comment fixes.
36597
36598 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36599
36600 * Makefile [CXX] (check-data): Remove.
36601 [CXX] (c++-types.data): New vpath directive.
36602 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36603 vpath. Do not allow for C++ type data being missing.
36604 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36605 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36606 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36607 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36608 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36609 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36610 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36612 ... here.
36613 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36615 ... here.
36616 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36618 ... here.
36619 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36621 ... here.
36622 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36624 ... here.
36625 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36627 ... here.
36628 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36630 ... here.
36631 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36633
36634 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36635 definitions to architecture-specific files.
36636 (TLS_IE): Likewise.
36637 (TLS_LD): Likewise.
36638 (TLS_GD): Likewise.
36639 * sysdeps/i386/tls-macros.h: New file.
36640 * sysdeps/powerpc/tls-macros.h: Likewise.
36641 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36642 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36643 * sysdeps/sh/tls-macros.h: Likewise.
36644 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36645 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36646 * sysdeps/x86_64/tls-macros.h: Likewise.
36647
36648 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36649
36650 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36651 zero value for regular exit case.
36652
36653 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36654 (__start_context): Preserve zero value for regular exit case.
36655
36656 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36657 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36658
36659 * manual/setjmp.texi (setcontext): Clarify normal process
36660 termination when uc_link is the null pointer.
36661 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36662 exit call.
36663
36664 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36665
36666 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36667 preprocessor. Test for each exception mask separately.
36668
36669 2012-07-16 Andreas Jaeger <aj@suse.de>
36670
36671 * po/ru.po: Update from translation team.
36672
36673 2012-07-15 Joseph Myers <joseph@codesourcery.com>
36674
36675 * conform/data/string.h-data (NULL): Use macro-constant. Require
36676 equal to 0.
36677 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36678 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36679 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36680 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36682
36683 2012-07-13 Andreas Jaeger <aj@suse.de>
36684
36685 * po/fr.po: Update from translation team.
36686
36687 2012-07-12 Marek Polacek <polacek@redhat.com>
36688
36689 [BZ #14173]
36690 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36691 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36692 loop condition.
36693
36694 2012-07-12 Joseph Myers <joseph@codesourcery.com>
36695
36696 [BZ #13717]
36697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36698 Change to 2.4.1 where previously 2.4.0.
36699 * sysdeps/unix/sysv/linux/configure: Regenerated.
36700 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36701 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36702 version.
36703 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36704 (__ASSUME_AT_CLKTCK): Remove.
36705 (__ASSUME_AT_PAGESIZE): Likewise.
36706 (__ASSUME_AT_XID): Likewise.
36707 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36708 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36709 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36710 unconditionally.
36711 (HAVE_AUX_PAGESIZE): Likewise.
36712 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36713 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36714 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36715
36716 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36717
36718 [BZ #14307]
36719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36720 the temporary buffer used to invoke __gethostbyname2_r,
36721 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36722 host_data / struct gaih_addrtuple.
36723 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36724 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36725 header file nss/nsswitch.h.
36726 * nss/nsswitch.h (global scope): Add definition of implementation
36727 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36728 resolv/nss_dns/dns-host.c).
36729
36730 2012-07-11 Andreas Jaeger <aj@suse.de>
36731
36732 * po/fr.po: Update from translation team.
36733
36734 * po/sv.po: Update from translation team
36735 * po/fr.po: Another update from translation team.
36736
36737 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36738
36739 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36740 for subnormals or multiply small sinh result by itself.
36741 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36743
36744 2012-07-11 David S. Miller <davem@davemloft.net>
36745
36746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36747
36748 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36749
36750 [BZ #14347]
36751 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36752 (INTERNAL_MARK): Shift it here.
36753
36754 2012-07-10 Marek Polacek <polacek@redhat.com>
36755
36756 [BZ #14151]
36757 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36758 libc_cv_asm_global_directive with .globl.
36759 * configure: Regenerated.
36760 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36761 with .globl.
36762 * sysdeps/i386/configure: Regenerated.
36763 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36764 with .globl.
36765 * sysdeps/x86_64/configure: Regenerated.
36766 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36767 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36768 * elf/tst-unique2mod2.c: Likewise.
36769 * elf/tst-unique2mod1.c: Likewise.
36770 * elf/tst-unique1mod2.c: Likewise.
36771 * elf/tst-unique1mod1.c: Likewise.
36772 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36773 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36775 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36776 * sysdeps/mach/sysdep.h: Likewise.
36777 * sysdeps/i386/sysdep.h: Likewise.
36778 * sysdeps/i386/i386-mcount.S: Likewise.
36779 * sysdeps/x86_64/_mcount.S: Likewise.
36780 * sysdeps/x86_64/sysdep.h: Likewise.
36781 * sysdeps/sh/_mcount.S: Likewise.
36782 * sysdeps/sh/sysdep.h: Likewise.
36783 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36784 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36785 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36786 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36787 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36788 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36789 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36790 * locale/localeinfo.h: Likewise.
36791 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36792 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36793
36794 2012-07-09 Roland McGrath <roland@hack.frob.com>
36795
36796 [BZ #14336]
36797 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36798 system".
36799 * manual/message.texi (The Uniforum approach): Likewise.
36800 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36801 (glibc iconv Implementation): Likewise.
36802
36803 2012-07-09 Joseph Myers <joseph@codesourcery.com>
36804
36805 [BZ #14337]
36806 * math/s_clog.c (__clog): Avoid scaling a value down where that
36807 could result in underflow.
36808 * math/s_clog10.c (__clog10): Likewise.
36809 * math/s_clog10f.c (__clog10f): Likewise.
36810 * math/s_clog10l.c (__clog10l): Likewise.
36811 * math/s_clogf.c (__clogf): Likewise.
36812 * math/s_clogl.c (__clogl): Likewise.
36813 * math/libm-test.inc (clog_test): Add more tests.
36814 (clog10_test): Likewise.
36815 * sysdeps/i386/fpu/libm-test-ulps: Update.
36816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36817
36818 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36819
36820 [BZ #14283]
36821 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36822 by 7 not 8 to examine high bit of fractional part.
36823
36824 [BZ #14042]
36825 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36826 for call to __mcount_internal.
36827 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36828 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36829 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36830
36831 2012-07-06 Joseph Myers <joseph@codesourcery.com>
36832
36833 [BZ #14154]
36834 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36835 approximation for values within 0x1p-13f of an odd multiple of
36836 pi/4.
36837 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36838 exception. Add more tests.
36839 * sysdeps/i386/fpu/libm-test-ulps: Update.
36840
36841 [BZ #6778]
36842 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36843 inputs and return -1 for them. Do not check for +Inf in case not
36844 reachable for +Inf.
36845 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36846 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36847 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36848 and return -1 for them. Do not check for +Inf in case not
36849 reachable for +Inf.
36850 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36851 define.
36852 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36853 and return -1 for them. Do not check for +Inf in case not
36854 reachable for +Inf.
36855 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36856 spurious underflow.
36857 * sysdeps/i386/fpu/libm-test-ulps: Update.
36858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36859
36860 2012-07-06 Mike Frysinger <vapier@gentoo.org>
36861
36862 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36863
36864 2012-07-05 Joseph Myers <joseph@codesourcery.com>
36865
36866 [BZ #14157]
36867 [BZ #14331]
36868 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36869 could result in spurious underflow. Scale down values above
36870 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36871 * math/s_csqrtf.c (__csqrtf): Likewise.
36872 * math/s_csqrtl.c (__csqrtl): Likewise.
36873 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36874 spurious underflow.
36875 * sysdeps/i386/fpu/libm-test-ulps: Update.
36876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36877
36878 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36879
36880 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36881 xopen-msg.sed.
36882 * catgets/xopen-msg.awk: New file.
36883 * catgets/xopen-msg.sed: Removed.
36884
36885 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36886 po2text.sed.
36887 * intl/po2test.awk: New file.
36888 * intl/po2test.sed: Removed.
36889
36890 2012-07-04 Joseph Myers <joseph@codesourcery.com>
36891
36892 [BZ #14328]
36893 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36894 or multiply small sinh result by itself.
36895 * math/s_ctanf.c (__ctanf): Likewise.
36896 * math/s_ctanh.c (__ctanh): Likewise.
36897 * math/s_ctanhf.c (__ctanhf): Likewise.
36898 * math/s_ctanhl.c (__ctanhl): Likewise.
36899 * math/s_ctanl.c (__ctanl): Likewise.
36900 * math/libm-test.inc (ctan_test_tonearest): New function.
36901 (ctan_test_towardzero): Likewise.
36902 (ctan_test_downward): Likewise.
36903 (ctan_test_upward): Likewise.
36904 (ctanh_test_tonearest): Likewise.
36905 (ctanh_test_towardzero): Likewise.
36906 (ctanh_test_downward): Likewise.
36907 (ctanh_test_upward): Likewise.
36908 (main): Call these new functions.
36909 * sysdeps/i386/fpu/libm-test-ulps: Update.
36910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36911
36912 2012-07-03 Mike Frysinger <vapier@gentoo.org>
36913
36914 * .gitignore: Delete /ports entry.
36915
36916 2012-07-03 Andreas Jaeger <aj@suse.de>
36917
36918 * po/bg.po: Update from translation team.
36919 * po/cs.po: Likewise.
36920 * po/de.po: Likewise.
36921 * po/hr.po: Likewise.
36922 * po/nl.pl: Likewise.
36923 * po/pl.po: Likewise.
36924 * po/vi.po: Likewise.
36925
36926 2012-07-03 Joseph Myers <joseph@codesourcery.com>
36927
36928 * Makeconfig [!+link] (+link-before-libc): New variable.
36929 [!+link] (+link-after-libc): Likewise.
36930 [!+link] (+link-tests): Likewise.
36931 [!+link] (+link): Define in terms of $(+link-before-libc) and
36932 $(+link-after-libc).
36933 [!+link-static] (+link-static-before-libc): New variable.
36934 [!+link-static] (+link-static-after-libc): Likewise.
36935 [!+link-static] (+link-static-tests): Likewise.
36936 [!+link-static] (+link-static): Define in terms of
36937 $(+link-static-before-libc) and $(+link-static-after-libc).
36938 [build-shared] (link-libc-before-gnulib): New variable.
36939 [build-shared] (link-libc-tests): Likewise.
36940 [build-shared] (link-libc): Define in terms of
36941 $(link-libc-before-gnulib).
36942 [!build-shared] (link-libc-tests): New variable.
36943 (link-libc-static-tests): New variable.
36944 [!gnulib] (gnulib-arch): New variable.
36945 [!gnulib] (gnulib-tests): Likewise.
36946 [!gnulib] (static-gnulib-arch): Likewise.
36947 [!gnulib] (static-gnulib-tests): Likewise.
36948 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36949 Define with "=" instead of ":=".
36950 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36951 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36952 * Rules (binaries-all-notests): New variable.
36953 (binaries-all-tests): Likewise.
36954 (binaries-static-notests): Likewise.
36955 (binaries-static-tests): Likewise.
36956 (binaries-all): Define using $(binaries-all-notests) and
36957 $(binaries-all-tests).
36958 (binaries-static): Define using $(binaries-static-notests) and
36959 $(binaries-static-tests).
36960 (binaries-shared-tests): New variable.
36961 (binaries-shared-notests): Likewise.
36962 (binaries-shared): Remove variable.
36963 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36964 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36965 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36966 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36967 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36968 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36969 * elf/Makefile (sln-modules): New variable.
36970 (extra-objs): Add $(sln-modules:=.o).
36971 (ldconfig-modules): Add static-stubs.
36972 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36973 * elf/static-stubs.c: New file.
36974
36975 [BZ #14283]
36976 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36977 by 7 not 8 to examine high bit of fractional part. Use volatile
36978 variables when splitting into final array of floats if
36979 __FLT_EVAL_METHOD__ != 0.
36980 * math/libm-test.inc (cos_test): Add another test.
36981 (sin_test): Likewise.
36982 * sysdeps/i386/fpu/libm-test-ulps: Update.
36983
36984 [BZ #14273]
36985 * math/libm-test.inc (cosh_test): Add more tests.
36986
36987 * version.h (RELEASE): Set to "development".
36988 (VERSION): Set to "2.16.90".
36989
36990 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36991
36992 * NEWS: Update copyright. Remove last-updated date.
36993 Mention math library bug fixes and timezone data changes.
36994 * README: Mention GNU/Hurd, x32, and HPPA support status.
36995
36996 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36997
36998 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36999
37000 2012-06-27 Andreas Jaeger <aj@suse.de>
37001
37002 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37003
37004 2012-06-25 Andreas Jaeger <aj@suse.de>
37005
37006 * sysdeps/s390/fpu/libm-test-ulps: Update.
37007
37008 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37009 Thomas Schwinge <thomas@codesourcery.com>
37010
37011 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37012 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37014 fanotify_mark.
37015
37016 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37017
37018 * sysdeps/mach/start.c: Remove file.
37019 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37020 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37021 * sysdeps/sh/init-first.c: Likewise.
37022
37023 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37024 registers for frame unwinding purposes, add CFI directives.
37025 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37026 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37027 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37028 Likewise.
37029
37030 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37031 __fortify_fail returning.
37032 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37033
37034 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37035 sysdeps/sh/____longjmp_chk.S.
37036 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37037 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37038 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37039 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37040
37041 * sysdeps/sh/abort-instr.h: New file.
37042 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37043 process in case exit returns.
37044
37045 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37046 initialize the GOT register before use.
37047
37048 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37049 calculation of ARGC > 4.
37050
37051 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37052 meaningful names to some local labels.
37053
37054 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37055 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37056
37057 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37058 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37059 (__arch_compare_and_exchange_val_16_acq): Likewise.
37060 (__arch_compare_and_exchange_val_32_acq): Likewise.
37061 (atomic_exchange_and_add): Fix gUSA sequence.
37062 (atomic_add): Likewise.
37063 (atomic_add_negative): Likewise.
37064 (atomic_add_zero): Likewise.
37065 (atomic_bit_test_set): Likewise.
37066
37067 2012-06-22 Andreas Schwab <schwab@redhat.com>
37068
37069 [BZ #13579]
37070 * include/link.h (struct link_map): Add l_free_initfini.
37071 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37072 l_initfini.
37073 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37074 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37075 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37076 set.
37077
37078 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37079
37080 * configure.in: Use AC_LANG_SOURCE.
37081 * configure: Regenerate.
37082
37083 2012-06-22 Roland McGrath <roland@hack.frob.com>
37084
37085 * configure.in (libc_cv_localstatedir): New substituted variable.
37086 * configure: Regenerated.
37087 * config.make.in (localstatedir): New variable, substituted from
37088 libc_cv_localstatedir.
37089 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37090 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37091 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37092 * sysdeps/gnu/configure: Regenerated.
37093
37094 2012-06-21 Jeff Law <law@redhat.com>
37095
37096 [BZ #14277]
37097 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37098 free. Simplify list management for _LIBC case.
37099
37100 2012-06-21 Joseph Myers <joseph@codesourcery.com>
37101
37102 [BZ #14273]
37103 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37104 Clear sign bit of 64-bit integer value before comparing against
37105 overflow value.
37106
37107 * sysdeps/mach/configure: Regenerated.
37108
37109 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37110
37111 [BZ #14278]
37112 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37113
37114 2012-06-21 Jeff Law <law@redhat.com>
37115
37116 [BZ #13882]
37117 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37118 uint16_t for elements in the "seen" array to avoid char overflows.
37119 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37120 * elf/dl-open.c (dl_open_worker): Likewise.
37121
37122 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37123
37124 * scripts/list-sources.sh: Scan PORTS for translations.
37125 * po/libc.pot: Regenerated.
37126
37127 2012-06-21 Andreas Jaeger <aj@suse.de>
37128
37129 [BZ #12194]
37130 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37131 warning.
37132 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37133 * bits/byteswap-16.h (__bswap_16): Likewise.
37134 * bits/byteswap.h (__bswap_constant_16): Likewise.
37135
37136 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37137
37138 [BZ #14117]
37139 * sysdeps/i386/fpu_control.h: Removed.
37140 * sysdeps/x86_64/fpu_control.h: Moved to ...
37141 * sysdeps/x86/fpu_control.h: Here.
37142
37143 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37144 (_FPU_SETCW): Likewise.
37145
37146 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37147
37148 [BZ #14117]
37149 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37150 * sysdeps/x86/fpu/bits/mathinline.h: This.
37151 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37152
37153 [BZ #14050]
37154 [BZ #14117]
37155 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37156 functions if __x86_64__ is defined.
37157
37158 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37159
37160 * string/endian.h: Add !__ASSEMBLER__ condition for including
37161 conversion interfaces.
37162
37163 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37164
37165 [BZ #14241]
37166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37167 of ABS(x) in calculating zero to negative powers other than odd
37168 integers.
37169 * math/libm-test.inc (pow_test): Add more tests.
37170
37171 2012-06-15 Andreas Jaeger <aj@suse.de>
37172
37173 * manual/contrib.texi (Contributors): Update entry of Liubov
37174 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37175 Machado Filho.
37176
37177 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37178
37179 * string/string.h: Add __wur to GNU version of strerror_r.
37180
37181 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37182
37183 [BZ #14229]
37184 * string/Makefile (tests): Add tst-strtok_r.
37185 * string/tst-strtok_r.c: New file.
37186 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37187 RAX_LP/RDX_LP on SAVE_PTR.
37188
37189 2012-06-14 Roland McGrath <roland@hack.frob.com>
37190
37191 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37192
37193 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37194
37195 * libm_test.inc (csqrt_test): Allow more spurious underflow
37196 exceptions.
37197 (j0_test): Likewise.
37198 (j1_test): Likewise.
37199 (y0_test): Likewise.
37200 (y1_test): Likewise.
37201
37202 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37203
37204 * po/Makefile (libc.pot): Use UTF-8 charset.
37205
37206 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37207
37208 [BZ #14210]
37209 Suppress sign-conversion warning from FD_SET.
37210 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37211 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37212 not unsigned long int.
37213 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37214
37215 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37216
37217 [BZ #14050]
37218 [BZ #14117]
37219 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37220 __extern_always_inline instead of __extern_inline.
37221 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37222 (__signbit): Likewise.
37223 (__signbitl): Support C++ namespace.
37224 (lrintf): New inline function.
37225 (lrint): Likewise.
37226 (llrintf): Likewise.
37227 (llrint): Likewise.
37228 (fmaxf): Likewise.
37229 (fmax): Likewise.
37230 (fminf): Likewise.
37231 (fmin): Likewise.
37232 (rint): Likewise.
37233 (rintf): Likewise.
37234 (ceil): Likewise.
37235 (ceilf): Likewise.
37236 (floor): Likewise.
37237 (floorf): Likewise.
37238 (nearbyint): Likewise.
37239 (nearbyintf): Likewise.
37240
37241 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37242
37243 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37244 non-default versions.
37245
37246 2012-06-11 Roland McGrath <roland@hack.frob.com>
37247
37248 [BZ #14218]
37249 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37250
37251 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37252
37253 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37254 (FE_UPWARD, FE_DOWNWARD): Don't define.
37255 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37256 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37257
37258 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37259 reading it.
37260 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37261 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37262
37263 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37264
37265 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37267 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37268 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37269
37270 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37271
37272 [BZ #14117]
37273 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37274 * sysdeps/i386/fpu/Implies: New file.
37275 * sysdeps/x86_64/fpu/Implies: Likewise.
37276 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37277 * sysdeps/x86/fpu/bits/fenv.h: This.
37278
37279 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37280 __SSE_MATH__.
37281
37282 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37283
37284 [BZ #14134]
37285 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37286 character 0xffff that matches the last element of the
37287 conversion table.
37288
37289 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37290
37291 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37292 fmodl commit.
37293
37294 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37295
37296 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37297 values higher than 25.6283.
37298
37299 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37300
37301 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37302 subnormal exponent extraction and add some __builtin_expect.
37303 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37304 Fix for subnormal mantissa calculation.
37305
37306 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37307
37308 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37309 cpu2 is -1 and errno is not ENOSYS.
37310
37311 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37312
37313 [BZ #14117]
37314 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37315 * sysdeps/x86/bits/string.h: This.
37316 * sysdeps/x86_64/bits/string.h: Removed.
37317
37318 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37319 if not compiling for x86-64, but compiling for >= i486.
37320
37321 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37322 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37323
37324 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37325 New macro from Linux kernel 3.4.0.
37326 (FP_XSTATE_MAGIC2): Likewise.
37327 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37328 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37329 (struct _fpx_sw_bytes): New struct.
37330 (struct _xsave_hdr): Likewise.
37331 (struct _ymmh_state): Likewise.
37332 (struct _xstate): Likewise.
37333
37334 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37335 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37336 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37337 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37338 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37339 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37340
37341 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37342 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37343 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37344 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37345 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37346 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37347
37348 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37349
37350 [BZ #13743]
37351 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37352 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37353 (sysdep_headers): Include sys/platform/ppc.h.
37354 * sysdeps/powerpc/test-gettimebase.c: Test for
37355 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37356 * manual/Makefile (appendices): Include platform.texi.
37357 * manual/contrib.texi (Contributors): Update @node pointers.
37358 * manual/maint.texi (Maintenance): Likewise.
37359 (Platform): New node.
37360 * manual/platform.texi: New file. Document the new features.
37361
37362 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37363 Jakub Jelinek <jakub@redhat.com>
37364
37365 [BZ #14188]
37366 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37367 where __builtin_expect is unavailable.
37368
37369 2012-06-03 David S. Miller <davem@davemloft.net>
37370
37371 * stdlib/longlong.h: Updated from GCC.
37372
37373 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37374
37375 [BZ #14042]
37376 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37377 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37378 __mcount_internal.
37379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37380 (GLIBC_2.16): Likewise.
37381
37382 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37383
37384 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37385
37386 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37387
37388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37389 (default-abi): New variable.
37390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37391 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37392 variable.
37393 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37394 Likewise.
37395 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37396 Likewise.
37397 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37398 Likewise.
37399
37400 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37401 definition. Document in comment.
37402
37403 2012-06-01 David S. Miller <davem@davemloft.net>
37404
37405 * stdlib/longlong.h: Updated from GCC.
37406
37407 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37408
37409 [BZ #14117]
37410 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37411 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37412 sys/debugreg.h sys/io.h here.
37413 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37414 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37415 sys/io.h.
37416 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37417 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37418 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37419 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37420 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37421 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37422
37423 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37424 Define only if __x86_64__ is defined.
37425
37426 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37427
37428 [BZ #14048]
37429 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37430 Use int64_t for variable i.
37431 * math/libm-test.inc (fmod_test): Add more tests.
37432
37433 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37434 z computation is not scheduled after fetestexcept.
37435 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37436 Use math_force_eval instead of asm to ensure calculation scheduled
37437 before exception test.
37438 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37439 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37440
37441 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37442
37443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37444 computation is not scheduled after fetestexcept.
37445
37446 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37447
37448 [BZ #14117]
37449 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37450 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37451
37452 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37453
37454 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37455 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37456
37457 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37458
37459 [BZ #14117]
37460 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37461 <bits/wordsize.h>.
37462 (__WCHAR_MIN): Support __WORDSIZE == 64.
37463 (__WCHAR_MAX): Likewise.
37464
37465 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37466 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37467
37468 [BZ #14183]
37469 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37470 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37471
37472 [BZ #14117]
37473 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37474 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37475
37476 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37477 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37478
37479 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37480 Defined to 1 if __x86_64__ isn't defined.
37481 (_STAT_VER_LINUX_OLD): New.
37482 (st_atime): Remove duplicate.
37483 (st_mtime): Likewise.
37484 (st_ctime): Likewise.
37485
37486 2012-05-31 David S. Miller <davem@davemloft.net>
37487
37488 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37489 entries.
37490
37491 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37492
37493 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37494 gen-libm-test.pl.
37495
37496 [BZ #14132]
37497 * elf/dl-reloc.c: Include <_itoa.h>.
37498 (_dl_reloc_bad_type): Remove use of INTUSE.
37499 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37500 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37501 * stdio-common/psiginfo.c (psiginfo): Likewise.
37502 * stdio-common/psignal.c (psignal): Likewise.
37503 * string/strsignal.c (strsignal): Likewise.
37504 * include/signal.h (_sys_siglist): Declare hidden proto.
37505 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37506 INTVARDEF with libc_hidden_data_def.
37507 * stdio-common/itoa-udigits.c: Likewise.
37508 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37509 (_itoa_lower_digits_internal): Remove declaration.
37510 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37511 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37512 (_sys_sigabbrev_internal): Remove aliases.
37513 (_sys_siglist): Define hidden alias.
37514
37515 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37516
37517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37518 bits/sysctl.h.
37519
37520 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37521
37522 [BZ #14117]
37523 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37524 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37525
37526 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37527 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37528 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37529 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37531 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37532
37533 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37534 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37535 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37536
37537 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37538 with __addr.
37539 (insw): Likewise.
37540 (insl): Likewise.
37541 (outsb): Likewise.
37542 (outsw): Likewise.
37543 (outsl): Likewise.
37544
37545 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37546 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37547 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37548
37549 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37550 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37551 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37552 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37553 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37554 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37555
37556 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37557 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37558
37559 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37560 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37561
37562 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37564 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37565
37566 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37567 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37568 to ...
37569 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37570
37571 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37572 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37573 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37574
37575 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37576 for x86-64.
37577 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37578
37579 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37580
37581 * math/math.h (M_El): Use two more decimal places.
37582 (M_LOG2El): Likewise.
37583 (M_LOG10El): Likewise.
37584 (M_LN2l): Likewise.
37585 (M_LN10l): Likewise.
37586 (M_PIl): Likewise.
37587 (M_PI_2l): Likewise.
37588 (M_PI_4l): Likewise.
37589 (M_1_PIl): Likewise.
37590 (M_2_PIl): Likewise.
37591 (M_2_SQRTPIl): Likewise.
37592 (M_SQRT2l): Likewise.
37593 (M_SQRT1_2l): Likewise.
37594
37595 2012-05-31 David S. Miller <davem@davemloft.net>
37596
37597 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37598 values between float registers.
37599 * sysdeps/sparc/sparc64/memset.S: Likewise.
37600 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37601
37602 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37603
37604 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37605 -D_FORTIFY_SOURCE=1.
37606 (CPPFLAGS-tst-longjmp_chk.c): Define.
37607 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37608 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37609 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37610 CFLAGS-tst-wchar-h.c.
37611
37612 2012-05-31 Marek Polacek <polacek@redhat.com>
37613
37614 [BZ #14132]
37615 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37616 __endmntent_internal): Remove declaration.
37617 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37618 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37619 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37620
37621 2012-05-30 David S. Miller <davem@davemloft.net>
37622
37623 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37624 (___Q_simulate_exceptions): Use real FP ops rather than writing
37625 into the %fsr.
37626 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37627 Likewise.
37628
37629 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37630
37631 [BZ #14117]
37632 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37633 * sysdeps/x86/bits/xtitypes.h: This.
37634
37635 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37636 * sysdeps/x86/bits/wordsize.h: This.
37637
37638 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37639 * sysdeps/x86/bits/huge_vall.h: This.
37640
37641 * sysdeps/i386/bits/select.h: Removed.
37642 * sysdeps/x86_64/bits/select.h: Renamed to ...
37643 * sysdeps/x86/bits/select.h: This.
37644
37645 * sysdeps/i386/bits/setjmp.h: Removed.
37646 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37647 * sysdeps/x86/bits/setjmp.h: This.
37648
37649 * sysdeps/i386/bits/mathdef.h: Removed.
37650 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37651 * sysdeps/x86/bits/mathdef.h: This.
37652
37653 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37654
37655 [BZ #14132]
37656 * include/sys/socket.h (__connect_internal)
37657 (__libc_sa_len_internal): Remove declaration.
37658 (__connect, __libc_sa_len): Declare hidden_proto.
37659 (SA_LEN): Remove use of INTUSE.
37660 * socket/connect.c: Add libc_hidden_def.
37661 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37662 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37663 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37664 alias.
37665 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37666 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37667 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37668 of adding _internal alias.
37669
37670 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37671
37672 [BZ #14117]
37673 * sysdeps/i386/bits/link.h: Removed.
37674 * sysdeps/i386/bits/linkmap.h: Likewise.
37675 * sysdeps/x86_64/bits/link.h: Renamed to ...
37676 * sysdeps/x86/bits/link.h: This.
37677 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37678 * sysdeps/x86/bits/linkmap.h: This.
37679
37680 * sysdeps/i386/bits/endian.h: Removed.
37681 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37682 * sysdeps/x86/bits/endian.h: This.
37683
37684 * sysdeps/i386/bits/byteswap.h: Removed.
37685 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37686 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37687 * sysdeps/x86/bits/byteswap.h: This.
37688 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37689 * sysdeps/x86/bits/byteswap-16.h: This.
37690 * sysdeps/i386/Implies: Add x86.
37691 * sysdeps/x86_64/Implies: Likewise.
37692
37693 2012-05-30 David S. Miller <davem@davemloft.net>
37694
37695 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37696 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37697 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37698 (FP_TRAPPING_EXCEPTIONS): Define.
37699 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37700 (FP_TRAPPING_EXCEPTIONS): Define.
37701 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37702 subnormals only when inexact has been signalled or underflow
37703 exceptions are enabled.
37704 (_FP_PACK_CANONICAL): Likewise.
37705
37706 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37707
37708 [BZ #14183]
37709 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37710 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37711
37712 2012-05-30 Richard Henderson <rth@twiddle.net>
37713
37714 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37715 with #ifndef NOT_IN_libc.
37716
37717 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37718 marked to avoid plt entry.
37719
37720 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37721
37722 [BZ #14112]
37723 * Makeconfig (default-abi): New macro.
37724 (abi-includes): Likewise.
37725 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37726 $(abi-$(default-abi)-lib-soname) for soname if defined.
37727 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37728 abi-variants.
37729 * Makefile (installed-stubs): Likewise.
37730 * include/stubs-biarch.h: Removed.
37731 * scripts/lib-names.awk: Only handle one library at a time.
37732 * scripts/soversions.awk: Remove WORDSIZE support.
37733 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37734 entries.
37735 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37736 Removed.
37737 (syscall-list-default-condition): Likewise.
37738 (syscall-list-default-condition): Likewise.
37739 (syscall-list-includes): Likewise.
37740 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37741 syscall-list-* with abi-*. Handle undefined abi-variants.
37742 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37743 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37744 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37745 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37746 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37747 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37748 Removed.
37749 (syscall-list-32-options): Likewise.
37750 (syscall-list-32-condition): Likewise.
37751 (syscall-list-64-options): Likewise.
37752 (syscall-list-64-condition): Likewise.
37753 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37754 macro.
37755 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37756 Renamed to ...
37757 (abi-*): This.
37758 (abi-64-ld-soname): New macro.
37759 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37760 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37761 Renamed to ...
37762 (abi-*): This.
37763 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37764 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37765
37766 2012-05-30 Joseph Myers <joseph@codesourcery.com>
37767
37768 * sysdeps/unix/sysv/linux/kernel-features.h
37769 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37770 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37771 include <kernel-features.h>.
37772 [!__NR_ftruncate64]: Remove conditional code.
37773 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37774 [__NR_ftruncate64]: Make code unconditional.
37775 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37776 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37777 include <kernel-features.h>.
37778 [!__NR_ftruncate64]: Remove conditional code.
37779 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37780 [__NR_ftruncate64]: Make code unconditional.
37781 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37783 include <kernel-features.h>.
37784 [!__NR_ftruncate64]: Remove conditional code.
37785 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37786 [__NR_ftruncate64]: Make code unconditional.
37787 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37789 include <kernel-features.h>.
37790 [!__NR_ftruncate64]: Remove conditional code.
37791 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37792 [__NR_ftruncate64]: Make code unconditional.
37793 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37794
37795 * configure.in (libc_cv_fpie): Weaken to a compile test using
37796 LIBC_TRY_CC_OPTION.
37797 * configure: Regenerated.
37798
37799 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37800
37801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37805 Refreshed.
37806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37812 Refreshed.
37813
37814 2012-05-27 David S. Miller <davem@davemloft.net>
37815
37816 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37817 (___Q_zero): New.
37818 (__Q_simulate_exceptions): Return void. Change to simulate
37819 exceptions by writing into the %fsr.
37820 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37821 (__Qp_handle_exceptions): Likewise.
37822 (numbers): Delete.
37823 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37824 __Qp_handle_exceptions.
37825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37826 __Qp_handle_exceptions.
37827 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37828 as unused and give dummy FP_RND_NEAREST initializer.
37829 (FP_INHIBIT_RESULTS): Define.
37830 (___Q_simulate_exceptions): Update declaration.
37831 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37832 formatting.
37833 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37834 as unused and give dummy FP_RND_NEAREST initializer.
37835 (__Qp_handle_exceptions): Update declaration.
37836 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37837 formatting.
37838
37839 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37840
37841 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37842 the temporary FPU control word.
37843 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37844 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37845 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37846 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37847 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37848 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37849 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37850 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37851 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37852 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37853 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37854
37855 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37856
37857 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37858 fields.
37859
37860 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37861
37862 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37863 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37864 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37865 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37866 Likewise.
37867 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37868 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37869 Likewise.
37870
37871 2012-05-27 Ulrich Drepper <drepper@gmail.com>
37872
37873 * po/h.po: Update from translation team.
37874
37875 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37876
37877 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37878
37879 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37880 handling of denormals.
37881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37882 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37883 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37884 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37885 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37888 Likewise.
37889
37890 2012-05-26 Marek Polacek <polacek@redhat.com>
37891
37892 [BZ #14152]
37893 * math/libm-test.inc (fma_test): Don't always expect underflow
37894 exception.
37895
37896 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37897
37898 [BZ #12416]
37899 * elf/tst-execstack.c: Include stackinfo.h.
37900 (do_test): Adjust test case to ensure that pthread_getattr_np
37901 behaviour remains the same after marking stack executable.
37902
37903 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37904
37905 * sysdeps/unix/sysv/linux/kernel-features.h
37906 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37907 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37908 kernel-features.h.
37909 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37910 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37911 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37912 kernel-features.h.
37913 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37914 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37915
37916 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37917
37918 * configure.in: Define the default includes to being none.
37919 * configure: Regenerated.
37920
37921 2012-05-25 Roland McGrath <roland@hack.frob.com>
37922
37923 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37924 * sysdeps/x86_64/setjmp.S: Likewise.
37925 * sysdeps/i386/bsd-setjmp.S: Likewise.
37926 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37927 * sysdeps/i386/setjmp.S: Likewise.
37928 * sysdeps/i386/__longjmp.S: Likewise.
37929 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37930 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37931
37932 * include/stap-probe.h: New file.
37933 * configure.in: Handle --enable-systemtap.
37934 * configure: Regenerated.
37935 * config.h.in (USE_STAP_PROBE): New #undef.
37936 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37937 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37938 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37939
37940 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37941
37942 [BZ #13717]
37943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37944 to 2.4.0 where earlier.
37945 * sysdeps/unix/sysv/linux/configure: Regenerated.
37946 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37947 <kernel-features.h>.
37948 [__ASSUME_32BITUIDS]: Make code unconditional.
37949 [!__ASSUME_32BITUIDS]: Remove conditional code.
37950 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37951 <kernel-features.h>.
37952 [__ASSUME_32BITUIDS]: Make code unconditional.
37953 [!__ASSUME_32BITUIDS]: Remove conditional code.
37954 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37955 [__ASSUME_32BITUIDS]: Make code unconditional.
37956 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37957 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37958 <kernel-features.h>.
37959 [__ASSUME_32BITUIDS]: Make code unconditional.
37960 [!__ASSUME_32BITUIDS]: Remove conditional code.
37961 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37962 <kernel-features.h>.
37963 [__ASSUME_32BITUIDS]: Make code unconditional.
37964 [!__ASSUME_32BITUIDS]: Remove conditional code.
37965 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37966 <kernel-features.h>.
37967 [__ASSUME_32BITUIDS]: Make code unconditional.
37968 [!__ASSUME_32BITUIDS]: Remove conditional code.
37969 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37970 <kernel-features.h>.
37971 [__ASSUME_32BITUIDS]: Make code unconditional.
37972 [!__ASSUME_32BITUIDS]: Remove conditional code.
37973 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37974 <kernel-features.h>.
37975 [__ASSUME_32BITUIDS]: Make code unconditional.
37976 [!__ASSUME_32BITUIDS]: Remove conditional code.
37977 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37978 <kernel-features.h>.
37979 [__ASSUME_32BITUIDS]: Make code unconditional.
37980 [!__ASSUME_32BITUIDS]: Remove conditional code.
37981 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37982 <kernel-features.h>.
37983 [__ASSUME_32BITUIDS]: Make code unconditional.
37984 [!__ASSUME_32BITUIDS]: Remove conditional code.
37985 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37986 <kernel-features.h>.
37987 [__ASSUME_32BITUIDS]: Make code unconditional.
37988 [!__ASSUME_32BITUIDS]: Remove conditional code.
37989 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37990 <kernel-features.h>.
37991 [__ASSUME_32BITUIDS]: Make code unconditional.
37992 [!__ASSUME_32BITUIDS]: Remove conditional code.
37993 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37994 <kernel-features.h>.
37995 [__ASSUME_32BITUIDS]: Make code unconditional.
37996 [!__ASSUME_32BITUIDS]: Remove conditional code.
37997 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37998 <kernel-features.h>.
37999 [__NR_setresgid] (__setresgid): Do not declare.
38000 [__ASSUME_32BITUIDS]: Make code unconditional.
38001 [!__ASSUME_32BITUIDS]: Remove conditional code.
38002 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38003 <kernel-features.h>.
38004 [__NR_setresuid] (__setresuid): Do not declare.
38005 [__ASSUME_32BITUIDS]: Make code unconditional.
38006 [!__ASSUME_32BITUIDS]: Remove conditional code.
38007 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38008 <kernel-features.h>.
38009 [__ASSUME_32BITUIDS]: Make code unconditional.
38010 [!__ASSUME_32BITUIDS]: Remove conditional code.
38011 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38012 <kernel-features.h>.
38013 [__ASSUME_32BITUIDS]: Make code unconditional.
38014 [!__ASSUME_32BITUIDS]: Remove conditional code.
38015 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38016 <kernel-features.h>.
38017 [__ASSUME_32BITUIDS]: Make code unconditional.
38018 [!__ASSUME_32BITUIDS]: Remove conditional code.
38019 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38020 <kernel-features.h>.
38021 [__ASSUME_32BITUIDS]: Make code unconditional.
38022 [!__ASSUME_32BITUIDS]: Remove conditional code.
38023 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38024 <kernel-features.h>.
38025 [__ASSUME_32BITUIDS]: Make code unconditional.
38026 [!__ASSUME_32BITUIDS]: Remove conditional code.
38027 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38028 <kernel-features.h>.
38029 [__ASSUME_32BITUIDS]: Make code unconditional.
38030 [!__ASSUME_32BITUIDS]: Remove conditional code.
38031 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38032 <kernel-features.h>.
38033 [__ASSUME_32BITUIDS]: Make code unconditional.
38034 [!__ASSUME_32BITUIDS]: Remove conditional code.
38035 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38036 <kernel-features.h>.
38037 [__ASSUME_32BITUIDS]: Make code unconditional.
38038 [!__ASSUME_32BITUIDS]: Remove conditional code.
38039 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38040 <kernel-features.h>.
38041 [__ASSUME_32BITUIDS]: Make code unconditional.
38042 [!__ASSUME_32BITUIDS]: Remove conditional code.
38043 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38044 <kernel-features.h>.
38045 [__ASSUME_32BITUIDS]: Make code unconditional.
38046 [!__ASSUME_32BITUIDS]: Remove conditional code.
38047 * sysdeps/unix/sysv/linux/kernel-features.h
38048 (__ASSUME_SETRESUID_SYSCALL): Remove.
38049 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38050 (__ASSUME_32BITUIDS): Likewise.
38051 (__ASSUME_LDT_WORKS): Likewise.
38052 (__ASSUME_O_DIRECTORY): Likewise.
38053 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38054 architecture but not kernel version.
38055 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38056 (__ASSUME_MMAP2_SYSCALL): Likewise.
38057 (__ASSUME_STAT64_SYSCALL): Likewise.
38058 (__ASSUME_IPC64): Likewise.
38059 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38060 <kernel-features.h>.
38061 [__ASSUME_32BITUIDS]: Make code unconditional.
38062 [!__ASSUME_32BITUIDS]: Remove conditional code.
38063 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38064 <kernel-features.h>.
38065 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38066 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38067 132096]: Remove conditional code.
38068 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38069 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38070 <kernel-features.h>.
38071 [__ASSUME_32BITUIDS]: Make code unconditional.
38072 [!__ASSUME_32BITUIDS]: Remove conditional code.
38073 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38074 <kernel-features.h>.
38075 [__ASSUME_32BITUIDS]: Make code unconditional.
38076 [!__ASSUME_32BITUIDS]: Remove conditional code.
38077 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38078 <kernel-features.h>.
38079 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38080 unconditional.
38081 (__setresgid): Do not declare.
38082 [__ASSUME_32BITUIDS]: Make code unconditional.
38083 [!__ASSUME_32BITUIDS]: Remove conditional code.
38084 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38085 <kernel-features.h>.
38086 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38087 unconditional.
38088 (__setresuid): Do not declare.
38089 [__ASSUME_32BITUIDS]: Make code unconditional.
38090 [!__ASSUME_32BITUIDS]: Remove conditional code.
38091 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38092 <kernel-features.h>.
38093 [__ASSUME_32BITUIDS]: Make code unconditional.
38094 [!__ASSUME_32BITUIDS]: Remove conditional code.
38095 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38096 <kernel-features.h>.
38097 [__ASSUME_32BITUIDS]: Make code unconditional.
38098 [!__ASSUME_32BITUIDS]: Remove conditional code.
38099
38100 2012-05-25 Richard Henderson <rth@twiddle.net>
38101
38102 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38103 dl_hwcap to ifunc resolver.
38104 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38105 elf_ifunc_invoke.
38106 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38107 dl_hwcap to ifunc resolver.
38108 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38109
38110 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38111
38112 [BZ #14153]
38113 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38114 for |x| <= 2**-26, not 2**-57.
38115 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38116 exception.
38117
38118 2012-05-24 Jeff Law <law@redhat.com>
38119
38120 * stdio-common/Makefile (tests): Add bug25.
38121 * stdio-common/bug25.c: New test.
38122
38123 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38124
38125 [BZ #13576]
38126 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38127 multiple of MALLOC_ALIGNMENT in size.
38128 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38129
38130 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38131
38132 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38133 Require >= 256.
38134 (FILENAME_MAX): Use macro-int-constant.
38135 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38136 (_IOFBF): Use macro-int-constant.
38137 (_IOLBF): Likewise.
38138 (_IONBF): Likewise.
38139 (SEEK_CUR): Likewise.
38140 (SEEK_END): Likewise.
38141 (SEEK_SET): Likewise.
38142 (TMP_MAX): Likewise.
38143 (EOF): Use macro-int-constant. Require < 0.
38144 (NULL): Use macro-constant. Require == 0.
38145 (stdin): Require type to be FILE *.
38146 (stdout): Likewise.
38147 (stderr): Likewise.
38148 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38149 macro-int-constant.
38150 (EXIT_SUCCESS): Likewise.
38151 (NULL): Use macro-constant. Require == 0.
38152 (RAND_MAX): Use macro-int-constant.
38153 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38154 [C99-based standards] (strtof): Require function.
38155 [C99-based standards] (strtold): Likewise.
38156 [C99-based standards] (strtoll): Likewise.
38157 [C99-based standards] (strtoull): Likewise.
38158 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38159 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38160 [ISO || ISO99 || ISO11] (math.h): Likewise.
38161 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38162 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38164
38165 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38166
38167 [BZ #14132]
38168 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38169 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38170 * intl/dgettext.c (DCGETTEXT): Likewise.
38171 * intl/gettext.c (DCGETTEXT): Likewise.
38172 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38173 * posix/regex_internal.h (gettext): Likewise.
38174 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38175 Remove declaration.
38176 * include/argz.h (__argz_count_internal)
38177 (__argz_stringify_internal): Remove declaration.
38178 (__argz_count, __argz_stringify): Declare hidden proto.
38179 * intl/dcgettext.c: Remove use of INTDEF.
38180 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38181 * string/argz-stringify.c: Likewise.
38182 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38183 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38184 Declare hidden proto.
38185 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38186 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38187 Declare hidden proto.
38188 * include/stdio.h (__asprintf_internal): Don't declare.
38189 (__asprintf): Don't define as macro. Declare hidden proto.
38190 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38191 (__fsetlocking): Declare hidden proto.
38192 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38193 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38194 hidden proto.
38195 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38196 (_IO_setlinebuf): Remove use of INTUSE.
38197 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38198 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38199 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38200 Remove declaration.
38201 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38202 (_IO_do_flush): Remove use of INTUSE.
38203 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38204 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38205 (_IO_adjust_column, _IO_least_wmarker)
38206 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38207 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38208 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38209 (_IO_default_doallocate, _IO_wdefault_doallocate)
38210 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38211 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38212 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38213 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38214 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38215 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38216 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38217 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38218 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38219 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38220 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38221 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38222 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38223 proto.
38224 (_IO_flush_all_internal, _IO_adjust_column_internal)
38225 (_IO_default_uflow_internal, _IO_default_finish_internal)
38226 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38227 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38228 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38229 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38230 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38231 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38232 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38233 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38234 (_IO_file_close_internal, _IO_file_close_it_internal)
38235 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38236 (_IO_file_init_internal, _IO_file_attach_internal)
38237 (_IO_file_fopen_internal, _IO_file_read_internal)
38238 (_IO_file_sync_internal, _IO_file_seek_internal)
38239 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38240 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38241 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38242 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38243 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38244 (_IO_list_all_internal, _IO_link_in_internal)
38245 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38246 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38247 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38248 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38249 (_IO_do_write_internal, _IO_padn_internal)
38250 (_IO_getline_info_internal, _IO_getline_internal)
38251 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38252 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38253 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38254 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38255 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38256 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38257 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38258 with libc_hidden_ver, remove use of INTUSE.
38259 * libio/genops.c: Likewise.
38260 * libio/freopen.c: Likewise.
38261 * libio/freopen64.c: Likewise.
38262 * libio/iofclose.c: Likewise.
38263 * libio/iofdopen.c: Likewise.
38264 * libio/iofflush.c: Likewise.
38265 * libio/iofflush_u.c: Likewise.
38266 * libio/iofgets.c: Likewise.
38267 * libio/iofgets_u.c: Likewise.
38268 * libio/iofopen.c: Likewise.
38269 * libio/iofopncook.c: Likewise.
38270 * libio/iofread.c: Likewise.
38271 * libio/iofread_u.c: Likewise.
38272 * libio/ioftell.c: Likewise.
38273 * libio/iofwrite.c: Likewise.
38274 * libio/iogetline.c: Likewise.
38275 * libio/iogets.c: Likewise.
38276 * libio/iogetwline.c: Likewise.
38277 * libio/iopadn.c: Likewise.
38278 * libio/iopopen.c: Likewise.
38279 * libio/ioseekoff.c: Likewise.
38280 * libio/ioseekpos.c: Likewise.
38281 * libio/iosetbuffer.c: Likewise.
38282 * libio/iosetvbuf.c: Likewise.
38283 * libio/ioungetc.c: Likewise.
38284 * libio/ioungetwc.c: Likewise.
38285 * libio/iovdprintf.c: Likewise.
38286 * libio/iovsprintf.c: Likewise.
38287 * libio/iovsscanf.c: Likewise.
38288 * libio/memstream.c: Likewise.
38289 * libio/obprintf.c: Likewise.
38290 * libio/oldfileops.c: Likewise.
38291 * libio/oldiofclose.c: Likewise.
38292 * libio/oldiofdopen.c: Likewise.
38293 * libio/oldiofopen.c: Likewise.
38294 * libio/oldiopopen.c: Likewise.
38295 * libio/oldstdfiles.c: Likewise.
38296 * libio/putc.c: Likewise.
38297 * libio/setbuf.c: Likewise.
38298 * libio/setlinebuf.c: Likewise.
38299 * libio/stdfiles.c: Likewise.
38300 * libio/strops.c: Likewise.
38301 * libio/vasprintf.c: Likewise.
38302 * libio/vscanf.c: Likewise.
38303 * libio/vsnprintf.c: Likewise.
38304 * libio/vswprintf.c: Likewise.
38305 * libio/wfiledoalloc.c: Likewise.
38306 * libio/wfileops.c: Likewise.
38307 * libio/wgenops.c: Likewise.
38308 * libio/wmemstream.c: Likewise.
38309 * libio/wstrops.c: Likewise.
38310 * libio/__fpurge.c: Likewise.
38311 * libio/__fsetlocking.c: Likewise.
38312 * assert/assert.c: Likewise.
38313 * debug/fgets_chk.c: Likewise.
38314 * debug/fgets_u_chk.c: Likewise.
38315 * debug/fread_chk.c: Likewise.
38316 * debug/fread_u_chk.c: Likewise.
38317 * debug/gets_chk.c: Likewise.
38318 * debug/obprintf_chk.c: Likewise.
38319 * debug/vasprintf_chk.c: Likewise.
38320 * debug/vdprintf_chk.c: Likewise.
38321 * debug/vsnprintf_chk.c: Likewise.
38322 * debug/vsprintf_chk.c: Likewise.
38323 * malloc/mtrace.c: Likewise.
38324 * misc/error.c: Likewise.
38325 * misc/syslog.c: Likewise.
38326 * stdio-common/asprintf.c: Likewise.
38327 * stdio-common/fxprintf.c: Likewise.
38328 * stdio-common/getw.c: Likewise.
38329 * stdio-common/isoc99_fscanf.c: Likewise.
38330 * stdio-common/isoc99_scanf.c: Likewise.
38331 * stdio-common/isoc99_vfscanf.c: Likewise.
38332 * stdio-common/isoc99_vscanf.c: Likewise.
38333 * stdio-common/isoc99_vsscanf.c: Likewise.
38334 * stdio-common/printf-prs.c: Likewise.
38335 * stdio-common/printf_fp.c: Likewise.
38336 * stdio-common/printf_fphex.c: Likewise.
38337 * stdio-common/printf_size.c: Likewise.
38338 * stdio-common/putw.c: Likewise.
38339 * stdio-common/scanf.c: Likewise.
38340 * stdio-common/sprintf.c: Likewise.
38341 * stdio-common/tmpfile.c: Likewise.
38342 * stdio-common/vfprintf.c: Likewise.
38343 * stdio-common/vfscanf.c: Likewise.
38344 * stdlib/strfmon_l.c: Likewise.
38345 * sunrpc/openchild.c: Likewise.
38346 * sunrpc/xdr_stdio.c: Likewise.
38347 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38348 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38349
38350 2012-05-24 Roland McGrath <roland@hack.frob.com>
38351
38352 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38353
38354 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38355 in the third column, to generate for the shared library an IFUNC
38356 that uses _dl_vdso_vsym.
38357 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38358 * Makeconfig (object-suffixes-noshared): New variable.
38359
38360 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38361 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38362 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38363 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38364
38365 [BZ #14132]
38366 * include/sys/time.h (__gettimeofday): Remove macro.
38367 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38368 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38369 Remove INTDEF.
38370 (__gettimeofday): Add libc_hidden_def.
38371 (gettimeofday): Add libc_hidden_weak.
38372 * sysdeps/mach/gettimeofday.c: Likewise.
38373 * sysdeps/posix/gettimeofday.c: Likewise.
38374 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38375 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38377 (__gettimeofday_internal): Remove strong_alias.
38378 (__gettimeofday): Add libc_hidden_def.
38379 (gettimeofday): Add libc_hidden_weak.
38380 * sysdeps/unix/syscalls.list (gettimeofday):
38381 Remove __gettimeofday_internal alias.
38382
38383 2012-05-24 Daniel Jacobowitz <drow@false.org>
38384 H.J. Lu <hongjiu.lu@intel.com>
38385
38386 [BZ #12495]
38387 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38388 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38389 (largebin_index_32_big): New.
38390 (largebin_index): Use it for 16-byte alignment.
38391 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38392 correction with front_misalign.
38393
38394 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38395
38396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38398 Likewise.
38399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38400 Likewise.
38401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38402 Likewise.
38403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38404 Likewise.
38405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38406 Likewise.
38407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38408 Likewise.
38409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38410 Likewise.
38411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38412 Likewise.
38413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38414 Likewise.
38415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38416 Likewise.
38417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38418 Likewise.
38419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38420 Likewise.
38421
38422 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38423 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38424
38425 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38426
38427 [BZ #10846]
38428 [BZ #14036]
38429 * math/libm-test.inc (exp_test): Add test from bug 14036.
38430 (pow_test): Add test from bug 10846.
38431
38432 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38433 and other flags.
38434 (special_function): Do not include flags in test name.
38435 (parse_args): Likewise.
38436 * sysdeps/i386/fpu/libm-test-ulps: Update.
38437 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38438 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38439 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38441
38442 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38443 exceptions.
38444 * math/libm-test.inc ("Philosophy"): Update comment about
38445 exception testing.
38446 (UNDERFLOW_EXCEPTION): New macro.
38447 (UNDERFLOW_EXCEPTION_OK): Likewise.
38448 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38449 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38450 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38451 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38452 (INVALID_EXCEPTION_OK): Update value.
38453 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38454 (OVERFLOW_EXCEPTION_OK): Likewise.
38455 (IGNORE_ZERO_INF_SIGN): Likewise.
38456 (test_exceptions): Handle underflow exceptions.
38457 (acos_test): Update for underflow exception expectations.
38458 (cexp_test): Likewise.
38459 (clog_test): Likewise.
38460 (clog10_test): Likewise.
38461 (csqrt_test): Likewise.
38462 (ctan_test): Likewise.
38463 (ctanh_test): Likewise.
38464 (exp_test): Likewise.
38465 (exp10_test): Likewise.
38466 (exp2_test): Likewise.
38467 (expm1_test): Likewise.
38468 (fma_test): Likewise.
38469 (j0_test): Likewise.
38470 (jn_test): Likewise.
38471 (nexttoward_test): Likewise.
38472 (pow_test): Likewise.
38473 (scalbn_test): Likewise.
38474 (scalbln_test): Likewise.
38475 (tan_test): Likewise.
38476 (y1_test): Likewise.
38477 * sysdeps/i386/fpu/libm-test-ulps: Update.
38478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38479
38480 2012-05-23 David S. Miller <davem@davemloft.net>
38481
38482 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38483 (__libc_sigaction): Remove unused local variables.
38484
38485 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38486
38487 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38488
38489 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38490
38491 mktime: avoid signed integer overflow
38492 * time/mktime.c (__mktime_internal): Do not mishandle the case
38493 where diff == INT_MIN.
38494
38495 mktime: simplify computation of average
38496 * time/mktime.c (ranged_convert): Use new time_t_avg function
38497 instead of rolling our own (probably-slower) code.
38498
38499 mktime: do not assume signed right shift propagates sign bit
38500 * time/mktime.c (isdst_differ): New static function.
38501 (__mktime_internal): No need to normalize tm_isdst now.
38502 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38503 tm_isdst values.
38504
38505 mktime: merge another wrapv change from gnulib
38506 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38507 from some compilers.
38508
38509 mktime: remove incorrect attempt at unusual arithmetics
38510 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38511 The code didn't really work on such machines anyway.
38512 (TYPE_MINIMUM): Assume two's complement.
38513 (twos_complement_arithmetic): Verify that long_int and time_t
38514 are two's complement (or unsigned, in the latter case).
38515
38516 mktime: check signed shifts on long_int and time_t, too
38517 * time/mktime.c (SHR): Check that shifts work as desired
38518 on the types long_int and time_t too, as SHR is used on
38519 such types.
38520
38521 mktime: do not assume 'long' is wide enough
38522 * time/mktime.c (verify): Move decl up.
38523 (long_int): New type.
38524 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38525 to remove assumption in the code that 'long' is wide enough to
38526 store year values. This assumption is not true on x32 and on
38527 some non-glibc platforms.
38528
38529 mktime: merge wrapv change from gnulib
38530 * time/mktime.c (WRAPV): New macro.
38531 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38532 (guess_time_tm, __mktime_internal): Do not assume that signed
38533 integer overflow wraps around; modern compilers generate code
38534 where this assumption is no longer valid.
38535
38536 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38537
38538 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38539 Replace "jmp L(pseudo_end)" with "ret".
38540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38541 Likewise.
38542
38543 2012-05-23 Andreas Jaeger <aj@suse.de>
38544
38545 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38546 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38547
38548 2012-05-23 Andreas Jaeger <aj@suse.de>
38549 Maximilian Attems <max@stro.at>
38550
38551 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38552 New macros.
38553
38554 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38555
38556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38557 code so that pseudo_end is just ret and the stack pointer is
38558 correct also for static library in error case.
38559
38560 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38561
38562 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38563 move to syscalls.list.
38564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38568
38569 * manual/install.texi (Running make install): Do not mention Linux
38570 kernel version for which pt_chown is not needed.
38571 (Linux): Do not mention problems with nscd with 2.0 kernels.
38572 * INSTALL: Regenerated.
38573
38574 2012-05-23 Andreas Jaeger <aj@suse.de>
38575
38576 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38577 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38578 macro.
38579 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38580 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38581 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38582 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38583 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38584 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38585 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38586 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38587 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38588 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38589 * sysdeps/unix/sysv/linux/bits/in.h
38590 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38591
38592 2012-05-22 Roland McGrath <roland@hack.frob.com>
38593
38594 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38595 (PREPARE_VERSION): Just use assert instead, it will be elided
38596 under [NDEBUG] anyway.
38597
38598 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38599
38600 * sysdeps/unix/sysv/linux/Makefile: Include
38601 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38602 (sysdep_routines): Remove sysctl.
38603 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38604 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38605 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38606 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38607 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38608
38609 2012-05-22 Andreas Jaeger <aj@suse.de>
38610
38611 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38612 that pseudo_end is just ret and the stack pointer is correct also
38613 for static library in error case.
38614
38615 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38616
38617 [BZ #14122]
38618 * nss/nsswitch.c (defconfig_entries): New variable.
38619 (__nss_database_lookup): Don't leak defconfig entries.
38620 (nss_parse_service_list): Don't leak on error paths.
38621 (free_database_entries): New function.
38622 (free_defconfig): New function.
38623 (free_mem): Move common code to free_database_entries.
38624
38625 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38626
38627 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38628 Add arch_prctl.
38629 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38630
38631 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38632 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38634 New macro.
38635 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38636 (INTERNAL_SYSCALL_TYPES): Likewise.
38637 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38638 (LOAD_REGS_TYPES_[1-6]): Likewise.
38639 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38640 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38641
38642 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38643
38644 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38645 copysignl for GLIBC_2_0.
38646 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38647 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38648 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38649 logbl for GLIBC_2_0.
38650 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38651 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38652
38653 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38654
38655 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38656 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38657
38658 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38659 Use "neg %eax".
38660
38661 * time/mktime.c: Update copyright years.
38662
38663 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38664
38665 mktime: merge comment-quoting-style change from gnulib
38666 * time/mktime.c: Quote 'like this' in comments.
38667 The GNU coding standards suggest that we no longer quote `like this',
38668 as "`" and "'" are typically rendered asymmetrically nowadays.
38669 The typical gnulib style is to quote 'like this' when quoting
38670 code, and "like this" when quoting English.
38671
38672 * time/mktime.c (compile-command): Add "-I.".
38673
38674 mktime: merge mktime-internal.h change from gnulib
38675 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38676
38677 mktime: merge time_r change from gnulib
38678 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38679
38680 mktime: merge DEBUG change from gnulib
38681 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38682 case system <time.h> has a #define.
38683
38684 mktime: merge <sys/types.h> change from gnulib
38685 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38686 since <time.t> is now guaranteed to define time_t.
38687
38688 mktime: merge HAVE_CONFIG_H change from gnulib
38689 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38690
38691 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38692
38693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38694 Use "neg %eax".
38695
38696 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38697 __rlim_t cast.
38698 (struct rusage): Use anonymous union to pad each field to
38699 __syscall_slong_t.
38700
38701 2012-05-21 David S. Miller <davem@davemloft.net>
38702
38703 * Makefules (o-iterator): Remove .s cases.
38704 (compile-command.s): Delete.
38705 (COMPILE.s): Delete.
38706 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38707
38708 2012-05-21 Joseph Myers <joseph@codesourcery.com>
38709
38710 * configure.in (libc_cv_predef_stack_protector): Only consider
38711 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38712 * configure: Regenerated.
38713
38714 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38715
38716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38717 New macro. Use R*LP on int and pointer.
38718 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38719 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38720 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38721 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38722
38723 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38724 [__WORDSIZE_TIME64_COMPAT32] instead of
38725 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38726 (struct utmp): Likewise.
38727 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38728 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38729 Renamed to ...
38730 (__WORDSIZE_TIME64_COMPAT32): This.
38731 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38732 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38733 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38734 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38735 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38736 (__WORDSIZE_TIME64_COMPAT32): New macro.
38737
38738 2012-05-21 Andreas Jaeger <aj@suse.de>
38739
38740 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38741 only if [SHARED]. Add prototype for __wcschr_ia32.
38742
38743 2012-05-21 Roland McGrath <roland@hack.frob.com>
38744
38745 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38746 of %rbp unmolested in the jmp_buf while mangling the low bits.
38747 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38748 unmolested high bits of %rbp while demangling the low bits.
38749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38750
38751 2012-05-21 Andreas Jaeger <aj@suse.de>
38752
38753 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38754 * sunrpc/svc_simple.c: Use it for registerrpc.
38755 * sunrpc/xcrypt.c: Use it for passwd2des.
38756
38757 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38758
38759 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38760
38761 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38762 Don't define if [__SYSCALL_WORDSIZE != 32].
38763 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38764 New macro.
38765
38766 2012-05-21 Bruno Haible <bruno@clisp.org>
38767 Andreas Jaeger <aj@suse.de>
38768
38769 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38770 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38771 inptr and inend for must_buffer_ch.
38772 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38773 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38774 * stdio-common/Makefile (tests): Remove bug15.
38775 (bug15-ENV): Remove macro.
38776 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38777 anymore.
38778
38779 2012-05-19 Andreas Jaeger <aj@suse.de>
38780 Roland McGrath <roland@hack.frob.com>
38781
38782 * manual/contrib.texi: Completely rewritten. It contains now an
38783 alphabetical list of contributors and their contributions.
38784
38785 2012-05-21 Richard Henderson <rth@twiddle.net>
38786
38787 * misc/getauxval.c (__getauxval): Use unsigned long int.
38788 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38789 (getauxval): Use unsigned long int.
38790
38791 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38792
38793 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38794
38795 2012-05-21 Roland McGrath <roland@hack.frob.com>
38796
38797 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38798 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38799 __alignof__ (long double).
38800
38801 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38802
38803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38804
38805 2012-05-20 Richard Henderson <rth@twiddle.net>
38806
38807 * misc/getauxval.c: New file.
38808 * misc/sys/auxv.h: New file.
38809 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38810 (routines): Add getauxval.
38811 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38812 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38813 * elf/dl-sysdep.c (_dl_auxv): Remove.
38814 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38815 * elf/dl-support.c (_dl_auxv): New variable.
38816 (_dl_aux_init): Initialize it.
38817 * manual/startup.texi (Auxiliary Vector): New node.
38818 * sysdeps/generic/bits/hwcap.h: New file.
38819 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38820 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38821 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38822 * sysdeps/sparc/sysdep.h: ... here. Include it.
38823 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38824 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38826 Update.
38827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38835
38836 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38837
38838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38839
38840 2012-05-19 David S. Miller <davem@davemloft.net>
38841
38842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38843
38844 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38845
38846 [BZ #14123]
38847 * math/s_ccosh.c: Include <float.h>
38848 (__ccosh): Avoid internal overflow calculating sinh and cosh
38849 values before multiplying by sin and cos values.
38850 * math/s_ccoshf.c: Likewise.
38851 * math/s_ccoshl.c: Likewise.
38852 * math/s_csin.c: Likewise.
38853 * math/s_csinf.c: Likewise.
38854 * math/s_csinl.c: Likewise.
38855 * math/s_csinh.c: Likewise.
38856 * math/s_csinhf.c: Likewise.
38857 * math/s_csinhl.c: Likewise.
38858 * math/libm-test.inc (ccos_test): Add more tests.
38859 (ccosh_test): Likewise.
38860 (csin_test): Likewise.
38861 (csinh_test): Likewise.
38862 * sysdeps/i386/fpu/libm-test-ulps: Update.
38863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38864
38865 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38866
38867 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38868 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38869
38870 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38871
38872 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38873
38874 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38875 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38876 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38877 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38878 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38879 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38880 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38881 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38882 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38883 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38884 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38885 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38886 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38887 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38888 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38889 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38890 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38891 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38892 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38893 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38894 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38895 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38896 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38897 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38898 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38899 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38900 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38901 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38902 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38903 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38904 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38905
38906 2012-05-18 Andreas Jaeger <aj@suse.de>
38907
38908 * csu/.gitignore: Delete.
38909
38910 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38911
38912 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38913 (timex): Use __syscall_slong_t.
38914
38915 2012-05-18 Andreas Jaeger <aj@suse.de>
38916 Carlos O'Donell <carlos_odonell@mentor.com>
38917
38918 * manual/install.texi (Configuring and compiling): Update
38919 description about files modified in the source directory.
38920 * INSTALL: Regenerated.
38921
38922 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38923
38924 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38925 value. Use "or" to set return value to -1.
38926 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38927 negate return value.
38928
38929 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38930
38931 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38932 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38933 failure if the compiler has Graphite support disabled.
38934 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38935 Likewise.
38936 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38937 (CFLAGS-memmove.c): Likewise.
38938 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38939 Likewise.
38940
38941 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38942
38943 * sysdeps/x86_64/x32/_itoa.h: New file.
38944
38945 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38946 getdents system call only if kernel and user dirents have the
38947 same d_ino and d_off.
38948
38949 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38950 LLONG_MAX != LONG_MAX.
38951 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38952 (_fitoa_word): Likewise.
38953
38954 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38955 years.
38956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38957 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38958 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38959
38960 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38961 include <bits/wordsize.h>. Check __x86_64__ instead of
38962 __WORDSIZE.
38963 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38964 if __x86_64__ is defined. Use anonymous union on fpstate.
38965
38966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38967 anonymous union.
38968
38969 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38970
38971 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38972 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38973 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38974 Refer to _rtld_local_ro instead of _rtld_global_ro.
38975 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38976 Likewise.
38977 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38978 Likewise.
38979 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38980 Likewise.
38981 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38982 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38983 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38984
38985 * sysdeps/powerpc/powerpc32/dl-machine.c
38986 (__elf_machine_runtime_setup) [PROF]: Don't reference
38987 _dl_prof_resolve.
38988
38989 2012-05-18 Andreas Jaeger <aj@suse.de>
38990
38991 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38992 function only available for GCCs before 3.4 since GCC 3.4
38993 introduced a builtin.
38994 (lrint): Likewise.
38995 (llrintf): Likewise.
38996 (llrint): Likewise.
38997 (fmaxf): Likewise.
38998 (fmax): Likewise.
38999 (fminf): Likewise.
39000 (fmin): Likewise.
39001 (rint): Likewise.
39002 (rintf): Likewise.
39003 (nearbyint): Likewise.
39004 (nearbyintf): Likewise.
39005 (ceil): Likewise.
39006 (ceilf): Likewise.
39007 (floor): Likewise.
39008 (floorf): Likewise.
39009
39010 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39011
39012 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39013 on both fields and cast pointer to __syscall_ulong_t.
39014
39015 * bits/types.h (__fsword_t): New type.
39016 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39017 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39019 (__FSWORD_T_TYPE): Likewise.
39020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39021 (__FSWORD_T_TYPE): Likewise.
39022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39023 (__FSWORD_T_TYPE): Likewise.
39024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39025 (__FSWORD_T_TYPE): Likewise.
39026 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39027 __SWORD_TYPE with __fsword_t.
39028 (statfs64): Likewise.
39029
39030 2012-05-17 David S. Miller <davem@davemloft.net>
39031
39032 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39033
39034 2012-05-17 Andreas Jaeger <aj@suse.de>
39035
39036 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39037 warning.
39038
39039 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39040
39041 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39042
39043 2012-05-17 Andreas Jaeger <aj@suse.de>
39044
39045 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39046 when it is used.
39047
39048 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39049
39050 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39051
39052 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39053
39054 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39055 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39056
39057 2012-05-17 Andreas Jaeger <aj@suse.de>
39058 Carlos O'Donell <carlos_odonell@mentor.com>
39059
39060 [BZ #14059]
39061 * sysdeps/x86_64/multiarch/init-arch.h
39062 (bit_YMM_Usable): Rename to...
39063 (bit_AVX_Usable): ... this.
39064 (bit_FMA4_Usable): New macro.
39065 (bit_XMM_state): New macro.
39066 (bit_YMM_state): New macro.
39067 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39068 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39069 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39070 (CPUID_OSXSAVE): New macro.
39071 (CPUID_AVX): New macro.
39072 (CPUID_FMA4): New macro.
39073 (index_YMM_Usable): Rename to...
39074 (index_AVX_Usable): ... this.
39075 (HAS_AVX): Use HAS_ARCH_FEATURE.
39076 (HAS_FMA4): Likewise.
39077 (HAS_YMM_USABLE): Remove.
39078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39079 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39080 are present.
39081 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39082 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39083 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39084 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39085 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39086
39087 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39088
39089 * math/libm-test.c: Support platforms without multiple rounding modes.
39090 * math/bug-nextafter.c: Support platforms without FP exceptions.
39091 * math/bug-nexttoward.c: Likewise.
39092 * math/test-fenv.c: Likewise.
39093 * math/test-misc.c: Likewise.
39094 * stdlib/bug-getcontext.c: Likewise.
39095
39096 2012-05-17 Andreas Jaeger <aj@suse.de>
39097
39098 * manual/examples/search.c (critter_cmp): Change signature to
39099 avoid warnings.
39100 * manual/string.texi (Collation Functions): Likewise.
39101
39102 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39103
39104 * bits/types.h: Fold copyright years.
39105 * bits/typesizes.h: Likewise.
39106 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39109 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39110 * time/time.h: Likewise.
39111
39112 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39113
39114 [BZ #208]
39115 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39116 in instead of returning them. Return void.
39117 (__libc_mallinfo): Accumulate over all arenas.
39118 (__malloc_stats): Adjust for change in int_mallinfo interface.
39119
39120 2012-05-16 Roland McGrath <roland@hack.frob.com>
39121
39122 [BZ #10375]
39123 * configure.in (NM): Add AC_CHECK_TOOL for it.
39124 (libc_extra_cflags): New substituted variable.
39125 Check for -fstack-protector being used implicitly.
39126 * configure: Regenerated.
39127 * config.make.in (config-extra-cflags): New variable,
39128 gets @libc_extra_cflags@.
39129 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39130
39131 [BZ #10375]
39132 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39133 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39134 * configure: Regenerated.
39135 * config.make.in (CPPUNDEFS): New substituted variable.
39136 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39137 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39138 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39139
39140 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39141
39142 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39143 (mq_attr): Use __syscall_slong_t.
39144
39145 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39146
39147 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39148 Check __x86_64__ instead of __WORDSIZE.
39149 (_STAT_VER_LINUX): Likewise.
39150 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39151 __syscall_ulong_t and __syscall_slong_t.
39152 (stat64): Likewise.
39153
39154 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39155
39156 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39157
39158 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39159
39160 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39161
39162 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39163
39164 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39165 __syscall_ulong_t.
39166
39167 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39168 include <bits/wordsize.h>. Check __x86_64__ instead of
39169 __WORDSIZE.
39170 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39171 defined.
39172 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39173
39174 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39175 include <bits/wordsize.h>. Check __x86_64__ instead of
39176 __WORDSIZE.
39177 (user_regs_struct): Use "__extension__ unsigned long long"
39178 instead of "unsigned long" if __x86_64__ is defined.
39179 (user): Likewise. Pad after pointer field if __ILP32__ is
39180 defined.
39181
39182 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39183
39184 * configure.in (makeinfo): Require version 4.5 or later. Allow
39185 versions 5 to 9.
39186 * configure: Regenerated.
39187 * manual/install.texi (texinfo): Increase version requirement to
39188 4.5 or later.
39189 * INSTALL: Regenerated.
39190
39191 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39192
39193 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39194
39195 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39196
39197 * sysdeps/x86_64/x32/ffs.c: New file.
39198
39199 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39200 __syscall_ulong_t.
39201 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39202 defined. Use __syscall_ulong_t.
39203 (shminfo): Use __syscall_ulong_t.
39204 (shm_info): Likewise.
39205
39206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39207 __syscall_ulong_t.
39208
39209 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39210 <bits/wordsize.h>.
39211 (msgqnum_t): Use __syscall_ulong_t.
39212 (msglen_t): Likewise.
39213 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39214 __syscall_ulong_t.
39215
39216 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39217 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39218
39219 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39220
39221 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39222 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39223
39224 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39225 __syscall_slong_t.
39226
39227 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39228 include <bits/wordsize.h>. Check __x86_64__ instead of
39229 __WORDSIZE.
39230
39231 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39232 "unsigned long long int" if __x86_64__ is defined.
39233 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39234
39235 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39236 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39237 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39238
39239 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39240 <stdint.h>.
39241 (GET_PC): Cast to uintptr_t first.
39242 (GET_FRAME): Likewise.
39243 (GET_STACK): Likewise.
39244
39245 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39246 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39247 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39248 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39249 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39250 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39251 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39252 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39253 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39256 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39257 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39259 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39260 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39261 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39262 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39263 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39264 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39265 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39266 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39268 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39270 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39271 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39272 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39273 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39274
39275 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39276
39277 * Makerules (+depfiles): Also collect depfiles from .oS in
39278 $(extra-objs).
39279 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39280 .oS, $(libnldbl-routines)).
39281
39282 * Makerules (native-compile-mkdep-flags): Define.
39283 * sunrpc/Makefile (extra-objs): Add $(addprefix
39284 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39285 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39286 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39287 calling $(make-target-directory).
39288
39289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39290
39291 * bits/types.h (__snseconds_t): Removed.
39292 * time/time.h (struct timespec): Replace __snseconds_t with
39293 __syscall_slong_t.
39294 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39295 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39296 Likewise.
39297 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39298 (__SNSECONDS_T_TYPE): Likewise.
39299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39300 (__SNSECONDS_T_TYPE): Likewise.
39301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39302 (__SNSECONDS_T_TYPE): Likewise.
39303
39304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39305
39306 * sysdeps/mach/hurd/bits/typesizes.h
39307 (__SYSCALL_SLONG_TYPE): New macro.
39308 (__SYSCALL_ULONG_TYPE): Likewise.
39309
39310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39311
39312 * bits/types.h (__syscall_slong_t): New type.
39313 (__syscall_ulong_t): Likewise.
39314
39315 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39316 (__SYSCALL_ULONG_TYPE): Likewise.
39317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39318 (__SYSCALL_SLONG_TYPE): Likewise.
39319 (__SYSCALL_ULONG_TYPE): Likewise.
39320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39321 (__SYSCALL_SLONG_TYPE): Likewise.
39322 (__SYSCALL_ULONG_TYPE): Likewise.
39323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39324 (__SYSCALL_SLONG_TYPE): Likewise.
39325 (__SYSCALL_ULONG_TYPE): Likewise.
39326
39327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39328
39329 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39330 Add sigaltstack-offsets.sym.
39331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39332 <sigaltstack-offsets.h>.
39333 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39334 longjmp_msg pointer.
39335 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39336 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39337 signal stack.
39338 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39339
39340 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39341
39342 * elf/stackguard-macros.h: Remove file.
39343 * sysdeps/generic/stackguard-macros.h: New file.
39344 * sysdeps/i386/stackguard-macros.h: Likewise.
39345 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39346 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39347 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39348 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39349 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39350 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39351 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39352 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39353 <elf/stackguard-macros.h>.
39354
39355 [BZ #14109]
39356 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39357 __aligned__ in attribute.
39358 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39359 (gregset_t): Likewise.
39360
39361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39362
39363 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39364 * sysdeps/x86_64/64/Implies-after: Here. New file.
39365 * sysdeps/x86_64/x32/Implies-after: New file.
39366
39367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39368
39369 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39370 and access return value for _dl_profile_fixup. Use R10_LP to
39371 load frame size.
39372
39373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39374
39375 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39376
39377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39378
39379 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39380 * sysdeps/x86_64/x32/sysdep.h: New file.
39381
39382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39383
39384 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39385 * sysdeps/x86_64/setjmp.S: Likewise.
39386
39387 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39388
39389 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39390 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39391 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39392 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39393 remove unused global constant.
39394
39395 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39396
39397 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39398 include of <not-cancel.h>.
39399
39400 2012-05-15 Roland McGrath <roland@hack.frob.com>
39401
39402 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39403
39404 2012-05-15 Jeff Law <law@redhat.com>
39405 Andreas Jaeger <aj@suse.de>
39406
39407 [BZ #13594]
39408 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39409 out from...
39410 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39411 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39412 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39413 code changing __hst_map_handle.map.
39414
39415 2012-05-15 Roland McGrath <roland@hack.frob.com>
39416
39417 * configure.in (sysnames): Look for Implies-before and Implies-after
39418 files.
39419 * configure: Regenerated.
39420
39421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39422
39423 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39424 8-byte data alignment with LP_SIZE alignment.
39425
39426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39427
39428 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39429 into R10_LP.
39430
39431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39432
39433 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39434
39435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39436
39437 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39438 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39439 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39440 Likewise.
39441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39442
39443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39444
39445 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39446 (stackinfo_sub_sp): Likewise.
39447
39448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39449
39450 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39451 RAX_LP.
39452
39453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39454
39455 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39456 into R*_LP.
39457
39458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39459
39460 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39461 sizes into R*_LP.
39462
39463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39464
39465 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39466
39467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39468
39469 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39470 into R11_LP and load __x86_64_shared_cache_size_half into
39471 R8_LP.
39472
39473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39474
39475 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39476 R8_LP.
39477
39478 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39479
39480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39481 logb for POWER7.
39482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39483 logbf for POWER7.
39484 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39485 logbl for POWER7.
39486 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39487 powerpc32/power7/fpu/s_logb.c via #include.
39488 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39489 powerpc32/power7/fpu/s_logbf.c via #include.
39490 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39491 powerpc32/power7/fpu/s_logbl.c via #include.
39492
39493 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39494
39495 * README.libm: Remove file.
39496
39497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39498
39499 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39500 count for x32. Use R*_LP and omit operand-size suffix.
39501
39502 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39503
39504 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39505 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39506 * sysdeps/x86_64/x32/shlib-versions: New file.
39507
39508 2012-05-14 Roland McGrath <roland@hack.frob.com>
39509
39510 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39511 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39512 Use _dl_fatal_printf instead.
39513
39514 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39515
39516 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39517 set if not set by the user. Do not allow for being unset.
39518 * sysdeps/unix/sysv/linux/configure: Regenerated.
39519
39520 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39521
39522 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39523 the `q' suffix from lea and replace .quad with ASM_ADDR.
39524
39525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39526
39527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39528 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39529 instead of $17.
39530 (PTR_DEMANGLE): Likewise.
39531
39532 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39533
39534 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39535 (LP_OP): Likewise.
39536 (ASM_ADDR): Likewise.
39537 (RAX_LP): Likewise.
39538 (RBP_LP): Likewise.
39539 (RBX_LP): Likewise.
39540 (RCX_LP): Likewise.
39541 (RDI_LP): Likewise.
39542 (RSI_LP): Likewise.
39543 (RSP_LP): Likewise.
39544 (R8_LP): Likewise.
39545 (R9_LP): Likewise.
39546 (R10_LP): Likewise.
39547 (R10_LP): Likewise.
39548 (R11_LP): Likewise.
39549 (R12_LP): Likewise.
39550 (R13_LP): Likewise.
39551 (R14_LP): Likewise.
39552 (R15_LP): Likewise.
39553
39554 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39555
39556 * sysdeps/x86_64/x32/dl-machine.h: New file.
39557
39558 2012-05-14 Andreas Jaeger <aj@suse.de>
39559
39560 * manual/Makefile (subdir): Remove export of subdir.
39561 (all): Remove target.
39562 (.PHONY): Remove all from list.
39563 (mkinstalldirs): Remove.
39564 (.PHONY): Remove installdirs from list.
39565 ($(inst_infodir)/libc.info): Use make-target-directory.
39566 (installdirs): Remove.
39567 (subdir_%): Remove.
39568 (glibc-targets): Remove.
39569 (lib): Remove.
39570 (stubs): Remove.
39571 ($(objpfx)stubs ../po/manual.pot): Remove.
39572 ($(objpfx)stamp%): Remove.
39573 (make-target-directory): Remove.
39574 (subdir_install): Remove.
39575 (routines): Remove.
39576 (aux): Remove.
39577 (sources): Remove.
39578 (objects): Remove.
39579 (headers): Remove.
39580
39581 [BZ #13750]
39582 * manual/.gitignore: Remove, it's not needed anymore.
39583 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39584 all files in it.
39585 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39586 directory.
39587 (texis): Renamed to $(objpfx)texis.
39588 (texis-path): New, contains path to generated files.
39589 (chapters.%): Use texis-path for complete path, add extra argument
39590 libc-texinfo.sh.
39591 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39592 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39593 (summary,texi, stamp-summary): Use complete path of
39594 files. Generate files in build dir.
39595 (dir-add.texi): Build in build dir.
39596 (libm-err.texi,stamp-libm-err): Likewise.
39597 (version.texi, stamp-version): Likewise.
39598 (.%c.texi): Likewise.
39599 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39600 (mostlyclean): Remove target.
39601 (realclean): Remove target.
39602 (generated): Add new variable with contents from mostlyclean and
39603 realclean, remove entries duplicated in common-mostlyclean, add
39604 stamp-libm-err and stamp-version.
39605 (generated-dirs): Add libc directory.
39606 ($(inst_infodir)/libc.info): Install files from build dir.
39607
39608 * manual/install.texi (Configuring and compiling): Adjust since
39609 the info files are not part of the tar ball anymore.
39610
39611 2012-05-14 Andreas Jaeger <aj@suse.de>
39612
39613 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39614 variable.
39615
39616 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39617
39618 [BZ #13717]
39619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39620 to 2.2.0 where earlier.
39621 * sysdeps/unix/sysv/linux/configure: Regenerated.
39622 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39623 Remove conditional code.
39624 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39625 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39626 Remove conditional code.
39627 [!__NR_lchown]: Likewise.
39628 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39629 [__NR_lchown]: Likewise.
39630 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39631 comment referencing __ASSUME_LCHOWN_SYSCALL.
39632 * sysdeps/unix/sysv/linux/i386/sigaction.c
39633 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39634 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39635 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39636 Remove conditional code.
39637 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39638 (__protocol_available): Remove #if 0 code.
39639 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39640 conditional code.
39641 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39642 * sysdeps/unix/sysv/linux/kernel-features.h
39643 (__ASSUME_GETCWD_SYSCALL): Don't define.
39644 (__ASSUME_REALTIME_SIGNALS): Likewise.
39645 (__ASSUME_PREAD_SYSCALL): Likewise.
39646 (__ASSUME_PWRITE_SYSCALL): Likewise.
39647 (__ASSUME_POLL_SYSCALL): Likewise.
39648 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39649 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39650 non-SPARC.
39651 (__ASSUME_SIOCGIFNAME): Don't define.
39652 (__ASSUME_MSG_NOSIGNAL): Likewise.
39653 (__ASSUME_SENDFILE): Define unconditionally.
39654 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39655 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39656 conditional code.
39657 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39658 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39659 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39660 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39661 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39662 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39663 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39668 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39674 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39677 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39680 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39686 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39688 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39689 Remove conditional code.
39690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39691 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39692 Remove conditional code.
39693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39694 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39695 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39696 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39697 Remove conditional code.
39698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39699 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39700 Remove conditional code.
39701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39702 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39703 Remove conditional code.
39704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39705 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39706 Remove conditional code.
39707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39708 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39709 Remove conditional code.
39710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39711 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39712 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39714 * sysdeps/unix/sysv/linux/sigaction.c
39715 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39716 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39717 * sysdeps/unix/sysv/linux/sigpending.c
39718 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39719 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39720 * sysdeps/unix/sysv/linux/sigprocmask.c
39721 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39722 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39723 * sysdeps/unix/sysv/linux/sigsuspend.c
39724 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39725 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39726 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39727 (__libc_missing_rt_sigs): Remove.
39728 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39729 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39730 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39731 Remove conditional code.
39732 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39733 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39734 return 1.
39735 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39736 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39737 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39738 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39739
39740 2012-05-14 Andreas Jaeger <aj@suse.de>
39741
39742 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39743 it's not used in glibc.
39744 (__coshm1): Likewise.
39745 (__acosh1p): Likewise.
39746 (__sgn): Likewise.
39747
39748 * manual/string.texi (Copying and Concatenation): Add missing
39749 variable in concat example.
39750 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39751
39752 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39753
39754 [BZ #14103]
39755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39756 __builtin_clzl with __builtin_clzll.
39757
39758 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39759
39760 [BZ #14104]
39761 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39762 libc_freeres_ptr.
39763
39764 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39765
39766 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39767 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39768 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39769 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39770
39771 2012-05-14 Mike Frysinger <vapier@gentoo.org>
39772
39773 * NEWS: Update ia64 info.
39774
39775 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39776
39777 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39778 used as bcopy.
39779
39780 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39781
39782 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39783 * sysdeps/unix/syscalls.list (dup3): Likewise.
39784 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39785 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39786
39787 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39788
39789 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39790 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39791
39792 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39793
39794 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39795 thread pointer.
39796 (TLS_IE): Use mov/add instead of movq/addq to load thread
39797 pointer.
39798 (TLS_GD_PREFIX): New.
39799 (TLS_GD): Use it.
39800
39801 2012-05-11 David S. Miller <davem@davemloft.net>
39802
39803 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39804 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39805 (_FPU_SETCW): Likewise.
39806
39807 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39808
39809 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39810 is 32-byte aligned.
39811
39812 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39813
39814 [BZ #11837]
39815 * iconvdata/gb18030.c: Update tables.
39816 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39817 characters specially.
39818 (BODY for TO_LOOP): Add encoding of missing ranges.
39819
39820 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39821
39822 [BZ #13673]
39823 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39824 * sysdeps/mach/hurd/dup3.c: Likewise.
39825 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39826 * sysdeps/powerpc/memmove.c:: Likewise.
39827
39828 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39829
39830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39831 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39832
39833 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39834
39835 * elf/elf.h (R_X86_64_RELATIVE64): New.
39836 (R_X86_64_NUM): Updated.
39837 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39838 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39839 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39840 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39841 tst-quad1pie tst-quad2pie
39842 (modules-names): Add tst-quadmod1 tst-quadmod2.
39843 ($(objpfx)tst-quad1): New dependency.
39844 ($(objpfx)tst-quad2): Likewise.
39845 ($(objpfx)tst-quad1pie): Likewise.
39846 ($(objpfx)tst-quad2pie): Likewise.
39847 * sysdeps/x86_64/tst-quad1.c: New file.
39848 * sysdeps/x86_64/tst-quad1pie.c: New file.
39849 * sysdeps/x86_64/tst-quad2.c: Likewise.
39850 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39851 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39852 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39853 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39854 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39855
39856 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39857
39858 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39859 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39860 * streams/stropts.h (t_scalar_t): Define type.
39861
39862 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39863 (_PATH_PRESERVE): Set to "/var/lib".
39864 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39865
39866 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39867 instead of int.
39868
39869 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39870 if __dir_mkfile succeeded.
39871
39872 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39873 checking for _hurd_dtablesize. Unlock it right after having
39874 finished _hurd_dtable allocation.
39875
39876 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39877
39878 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39879 * sysdeps/mach/hurd/configure: Regenerated.
39880 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39881 special-casing to...
39882 * sysdeps/gnu/configure.in: ... this new file.
39883 * sysdeps/unix/sysv/linux/configure: Regenerated.
39884 * sysdeps/gnu/configure: New generated file.
39885
39886 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39887 for Linux: use nsec instead of usec, as well as:
39888 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39889 members of type struct timespec.
39890 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39891 New macros.
39892 (struct stat64): Likewise.
39893 (_STATBUF_ST_NSEC): New macro.
39894 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39895
39896 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39897 __strtoul_internal rather than strtoul.
39898
39899 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39900
39901 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39902 and reject them.
39903
39904 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39905
39906 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39907 which preserves existing values.
39908 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39909
39910 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39911
39912 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39913 TIMEOUT values. Return EINVAL for NFDS values either negative or
39914 greater than FD_SETSIZE.
39915
39916 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39917
39918 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39919 allocated, call __vm_protect to finish enabling the existing space, and
39920 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39921 allocate the remainder.
39922
39923 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39924
39925 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39926 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39927
39928 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39929
39930 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39931 sysdeps/mach/hurd/readlink.c.
39932
39933 * posix/tst-sysconf.c (posix_options): Only use
39934 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39935 _POSIX_SYNCHRONIZED_IO when they are defined
39936 * sysdeps/mach/hurd/bits/posix_opt.h:
39937 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39938 (_XOPEN_REALTIME): Undefine macro.
39939 (_XOPEN_REALTIME_THREADS): Undefine macro.
39940 (_XOPEN_SHM): Undefine macro.
39941 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39942 macro to -1.
39943 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39944 macro to -1.
39945 (_POSIX_ASYNC_IO): Undefine macro.
39946 (_POSIX_PRIORITIZED_IO): Undefine macro.
39947 (_POSIX_SPIN_LOCKS): Define macro to -1.
39948
39949 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39950 SA_NODEFER, SA_RESETHAND.
39951 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39952 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39953 F_DUPFD_CLOEXEC.
39954
39955 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39956
39957 * elf/Makefile (pldd-modules): Define unconditionally.
39958
39959 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39960
39961 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39962
39963 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39964
39965 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39966 Return ENOENT when name is empty.
39967 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39968
39969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39970
39971 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39972
39973 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39974
39975 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39976
39977 Fix mlock in all cases except non-readable pages.
39978 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39979 instead of VM_PROT_ALL as parameter to __vm_wire function.
39980
39981 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39982 (__mkdir): When path is `/', just fail with EEXIST.
39983 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39984
39985 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39986
39987 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39988 <sys/uio.h> (for writev).
39989 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39990 and <sys/param.h> (for MIN).
39991
39992 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39993
39994 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39995 REQUESTED_TIME. Properly set the remaining time and return EINTR
39996 if interrupted.
39997
39998 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39999
40000 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40001 Depend on against $(link-rpcuserlibs).
40002
40003 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40004
40005 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40006 (__libc_stack_end): Do not use attribute_relro.
40007 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40008 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40009 to libthread-provided value.
40010 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40011 attribute_relro.
40012
40013 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40014
40015 [BZ #3748]
40016 * bits/libc-lock.h (__libc_once_get): New macro.
40017 * sysdeps/mach/bits/libc-lock.h: Likewise.
40018 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40019 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40020 instead of using implementation details.
40021
40022 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40023 * libio/freopen.c: Likewise.
40024 * libio/freopen64.c: Likewise.
40025 * misc/syslog.c: Likewise.
40026 * nscd/connections.c: Likewise.
40027 * nscd/netgroupcache.c: Likewise.
40028 * sysdeps/posix/getcwd.c: Likewise.
40029
40030 2012-05-10 Roland McGrath <roland@hack.frob.com>
40031
40032 * math/w_ilogbf.c: Add #include <limits.h>.
40033
40034 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40035
40036 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40037 path instead of returning without unlocking.
40038
40039 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40040 immediate-write ioctls.
40041 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40042
40043 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40044
40045 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40046 __builtin_frame_address instead of making assumptions about the
40047 location of the return address relative to DATA. Force early load of
40048 the return address.
40049 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40050 __builtin_frame_address.
40051
40052 dup3 for GNU Hurd.
40053 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40054 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40055 implement dup3 and do some further code clean-ups.
40056 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40057 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40058
40059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40060
40061 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40062
40063 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40064 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40065 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40066 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40067 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40068 d->port.lock.
40069
40070 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40071 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40072 when handler == SIG_ERR, not when handler != SIG_ERR.
40073
40074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40075
40076 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40077 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40078 definitions.
40079
40080 accept4 for GNU Hurd.
40081 * include/sys/socket.h (__libc_accept4): New prototype.
40082 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40083 to implement __libc_accept4.
40084 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40085 __libc_accept4.
40086 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40087
40088 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40089 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40090 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40091 signal-defines.sym.
40092
40093 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40094
40095 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40096
40097 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40098
40099 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40100 assertion on O_CLOEXEC flag.
40101 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40102 * hurd/intern-fd.c: Likewise.
40103 * hurd/port2fd.c: Likewise.
40104
40105 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40106
40107 [BZ #3906]
40108 * bits/in.h (IPV6_PKTINFO): Define new macro.
40109 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40110
40111 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40112
40113 [BZ #13954]
40114 [BZ #13955]
40115 [BZ #13956]
40116 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40117 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40118 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40119 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40121 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40122 * math/libm-test.inc (logb_test) : Additional logb tests.
40123
40124 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40125 Andreas Jaeger <aj@suse.de>
40126
40127 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40128 * configure: Regenerated.
40129 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40130 * config.make.in (link-obsolete-rpc): New substituted variable.
40131 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40132 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40133 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40134 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40135 so that libc.a contains the symbols.
40136 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40137 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40138 * sunrpc/auth_none.c: Likewise.
40139 * sunrpc/auth_unix.c: Likewise.
40140 * sunrpc/authdes_prot.c: Likewise.
40141 * sunrpc/authuxprot.c: Likewise.
40142 * sunrpc/clnt_gen.c: Likewise.
40143 * sunrpc/clnt_perr.c: Likewise.
40144 * sunrpc/clnt_raw.c: Likewise.
40145 * sunrpc/clnt_simp.c: Likewise.
40146 * sunrpc/clnt_tcp.c: Likewise.
40147 * sunrpc/clnt_udp.c: Likewise.
40148 * sunrpc/clnt_unix.c: Likewise.
40149 * sunrpc/des_crypt.c: Likewise.
40150 * sunrpc/des_soft.c: Likewise.
40151 * sunrpc/get_myaddr.c: Likewise.
40152 * sunrpc/key_call.c: Likewise.
40153 * sunrpc/key_prot.c: Likewise.
40154 * sunrpc/netname.c: Likewise.
40155 * sunrpc/pm_getmaps.c: Likewise.
40156 * sunrpc/pm_getport.c: Likewise.
40157 * sunrpc/pmap_clnt.c: Likewise.
40158 * sunrpc/pmap_prot.c: Likewise.
40159 * sunrpc/pmap_prot2.c: Likewise.
40160 * sunrpc/pmap_rmt.c: Likewise.
40161 * sunrpc/publickey.c: Likewise.
40162 * sunrpc/rpc_cmsg.c: Likewise.
40163 * sunrpc/rpc_common.c: Likewise.
40164 * sunrpc/rpc_dtable.c: Likewise.
40165 * sunrpc/rpc_prot.c: Likewise.
40166 * sunrpc/rpc_thread.c: Likewise.
40167 * sunrpc/rtime.c: Likewise.
40168 * sunrpc/svc.c: Likewise.
40169 * sunrpc/svc_auth.c: Likewise.
40170 * sunrpc/svc_raw.c: Likewise.
40171 * sunrpc/svc_run.c: Likewise.
40172 * sunrpc/svc_tcp.c: Likewise.
40173 * sunrpc/svc_udp.c: Likewise.
40174 * sunrpc/svc_unix.c: Likewise.
40175 * sunrpc/svcauth_des.c: Likewise.
40176 * sunrpc/xcrypt.c: Likewise.
40177 * sunrpc/xdr.c: Likewise.
40178 * sunrpc/xdr_array.c: Likewise.
40179 * sunrpc/xdr_float.c: Likewise.
40180 * sunrpc/xdr_intXX_t.c: Likewise.
40181 * sunrpc/xdr_mem.c: Likewise.
40182 * sunrpc/xdr_rec.c: Likewise.
40183 * sunrpc/xdr_ref.c: Likewise.
40184 * sunrpc/xdr_sizeof.c: Likewise.
40185 * sunrpc/xdr_stdio.c: Likewise.
40186
40187 2012-05-10 Roland McGrath <roland@hack.frob.com>
40188
40189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40190 change. Update copyright years.
40191
40192 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40193
40194 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40195
40196 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40197 Joseph Myers <joseph@codesourcery.com>
40198 Paul Pluzhnikov <ppluzhnikov@google.com>
40199
40200 [BZ #14012]
40201 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40202 requiring rpcgen.
40203 [cross-compiling] (extra-libs): Likewise.
40204 [cross-compiling] (extra-libs-others): Likewise.
40205 [cross-compiling] (librpcsvc-routines): Likewise.
40206 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40207 [cross-compiling] (omit-deps): Likewise.
40208 (sunrpc-CPPFLAGS): New variable.
40209 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40210 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40211 (cross-rpcgen-objs): New variable.
40212 (extra-objs): Append $(cross-rpcgen-objs).
40213 ($(cross-rpcgen-objs)): New rule.
40214 ($(objpfx)cross-rpcgen): Likewise.
40215 (rpcgen-cmd): Define to use $(built-program-file). Expand
40216 comment.
40217 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40218 ($(objpfx)x%.stmp): Likewise.
40219 * sunrpc/proto.h [IS_IN_build] (_): Define.
40220 [IS_IN_build] (_libc_intl_domainname): Likewise.
40221
40222 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40223
40224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40225 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40226 and R_X86_64_TPOFF64.
40227
40228 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40229
40230 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40231 sysdeps/unix/sysv/syscalls.list.
40232 (stime): Likewise.
40233 (utime): Likewise.
40234 * sysdeps/unix/sysv/syscalls.list: Remove file.
40235
40236 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40237
40238 [BZ #3440]
40239 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40240 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40241 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40242 (__LC_IDENTIFICATION): Make these macros useful in #if
40243 expressions, as required by C99.
40244
40245 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40246
40247 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40248 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40249 after this.
40250
40251 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40252
40253 * stdlib/longlong.h: Updated from GCC.
40254
40255 2012-05-09 Andreas Jaeger <aj@suse.de>
40256
40257 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40258 default is first entry.
40259 (run_mode): Set type.
40260 (main): Remove informal message about syslog.
40261 (options): Fix typo.
40262
40263 [BZ #14053]
40264 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40265 to asm.
40266 (lrint): Likewise.
40267 (llrintf): Likewise.
40268 (llrint): Likewise.
40269 (rint): Likewise.
40270 (rintf): Likewise.
40271 (nearbyint): Likewise.
40272 (nearbyintf): Likewise.
40273
40274 2012-05-09 Andreas Jaeger <aj@suse.de>
40275 Pedro Alves <palves@redhat.com>
40276
40277 * nscd/nscd.c (run_mode): Use enum.
40278 (main): Cleanup coding style issue.
40279
40280 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40281 Andreas Jaeger <aj@suse.de>
40282
40283 * nscd/nscd.c (go_background): Replaced with...
40284 (run_mode): ... this.
40285 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40286 (options): Add -F --foreground.
40287 (main): Implement it.
40288 (parse_opt): Parse it.
40289
40290 2012-05-09 Andreas Jaeger <aj@suse.de>
40291
40292 [BZ #14083]
40293 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40294 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40295 -Wconversion warning.
40296 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40297 Likewise.
40298
40299 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40300
40301 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40302 == 0.
40303 (LC_ALL): Use macro-int-constant.
40304 (LC_COLLATE): Likewise.
40305 (LC_CTYPE): Likewise.
40306 (LC_MESSAGES): Likewise.
40307 (LC_MONETARY): Likewise.
40308 (LC_NUMERIC): Likewise.
40309 (LC_TIME): Likewise.
40310 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40311 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40313 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40314 Specify type.
40315 [C99-based standards] (float_t): Expect type.
40316 [C99-based standards] (double_t): Expect type.
40317 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40318 type.
40319 [C99-based standards] (HUGE_VALL): Likewise.
40320 [C99-based standards] (INFINITY): Likewise.
40321 [C99-based standards] (NAN): Likewise.
40322 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40323 [C99-based standards] (FP_NAN): Likewise.
40324 [C99-based standards] (FP_NORMAL): Likewise.
40325 [C99-based standards] (FP_SUBNORMAL): Likewise.
40326 [C99-based standards] (FP_ZERO): Likewise.
40327 [C99-based standards] (FP_FAST_FMA): Use
40328 optional-macro-int-constant. Specify type. Require == 1.
40329 [C99-based standards] (FP_FAST_FMAF): Likewise.
40330 [C99-based standards] (FP_FAST_FMAL): Likewise.
40331 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40332 [C99-based standards] (FP_ILOGBNAN): Likewise.
40333 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40334 Specify type.
40335 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40336 [C99-based standards] (math_errhandling): Specify type.
40337 [ISO99 || ISO11] (signgam): Do not allow.
40338 [non-C99-based standards] (copysignf): Do not allow.
40339 [non-C99-based standards] (exp2f): Likewise.
40340 [non-C99-based standards] (log2f): Likewise.
40341 [non-C99-based standards] (modff): Allow.
40342 [non-C99-based standards] (erff): Do not allow.
40343 [non-C99-based standards] (erfcf): Likewise.
40344 [non-C99-based standards] (gammaf): Likewise.
40345 [non-C99-based standards] (hypotf): Likewise.
40346 [non-C99-based standards] (j0f): Likewise.
40347 [non-C99-based standards] (j1f): Likewise.
40348 [non-C99-based standards] (jnf): Likewise.
40349 [non-C99-based standards] (lgammaf): Likewise.
40350 [non-C99-based standards] (tgammaf): Likewise.
40351 [non-C99-based standards] (y0f): Likewise.
40352 [non-C99-based standards] (y1f): Likewise.
40353 [non-C99-based standards] (ynf): Likewise.
40354 [non-C99-based standards] (isnanf): Likewise.
40355 [non-C99-based standards] (acoshf): Likewise.
40356 [non-C99-based standards] (asinhf): Likewise.
40357 [non-C99-based standards] (atanhf): Likewise.
40358 [non-C99-based standards] (cbrtf): Likewise.
40359 [non-C99-based standards] (expm1f): Likewise.
40360 [non-C99-based standards] (ilogbf): Likewise.
40361 [non-C99-based standards] (log1pf): Likewise.
40362 [non-C99-based standards] (logbf): Likewise.
40363 [non-C99-based standards] (nextafterf): Likewise.
40364 [non-C99-based standards] (remainderf): Likewise.
40365 [non-C99-based standards] (rintf): Likewise.
40366 [non-C99-based standards] (scalbf): Likewise.
40367 [non-C99-based standards] (copysignl): Likewise.
40368 [non-C99-based standards] (exp2l): Likewise.
40369 [non-C99-based standards] (log2l): Likewise.
40370 [non-C99-based standards] (modfl): Allow.
40371 [non-C99-based standards] (erfl): Do not allow.
40372 [non-C99-based standards] (erfcl): Likewise.
40373 [non-C99-based standards] (gammal): Likewise.
40374 [non-C99-based standards] (hypotl): Likewise.
40375 [non-C99-based standards] (j0l): Likewise.
40376 [non-C99-based standards] (j1l): Likewise.
40377 [non-C99-based standards] (jnl): Likewise.
40378 [non-C99-based standards] (lgammal): Likewise.
40379 [non-C99-based standards] (tgammal): Likewise.
40380 [non-C99-based standards] (y0l): Likewise.
40381 [non-C99-based standards] (y1l): Likewise.
40382 [non-C99-based standards] (ynl): Likewise.
40383 [non-C99-based standards] (isnanl): Likewise.
40384 [non-C99-based standards] (acoshl): Likewise.
40385 [non-C99-based standards] (asinhl): Likewise.
40386 [non-C99-based standards] (atanhl): Likewise.
40387 [non-C99-based standards] (cbrtl): Likewise.
40388 [non-C99-based standards] (expm1l): Likewise.
40389 [non-C99-based standards] (ilogbl): Likewise.
40390 [non-C99-based standards] (log1pl): Likewise.
40391 [non-C99-based standards] (logbl): Likewise.
40392 [non-C99-based standards] (nextafterl): Likewise.
40393 [non-C99-based standards] (remainderl): Likewise.
40394 [non-C99-based standards] (rintl): Likewise.
40395 [non-C99-based standards] (scalbl): Likewise.
40396 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40397 [non-C99-based standards] (FP_*): Do not allow.
40398 [C99-based standards] (FP_*): Change to
40399 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40400 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40401 allow.
40402 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40403 (SIG_ERR): Likewise.
40404 [X/Open-based standards] (SIG_HOLD): Likewise.
40405 (SIG_IGN): Likewise.
40406 (SIGABRT): Use macro-int-constant. Specify type. Require
40407 positive value.
40408 (SIGFPE): Likewise.
40409 (SIGILL): Likewise.
40410 (SIGINT): Likewise.
40411 (SIGSEGV): Likewise.
40412 (SIGTER): Likewise.
40413 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40414 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40415 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40416 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40417 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40418 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40419 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40420 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40421 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40422 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40423 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40424 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40425 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40426 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40427 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40428 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40429 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40430 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40431 [X/Open-based standards] (SIGTRAP): Likewise.
40432 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40433 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40434 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40435 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40436 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40437 allow.
40438
40439 2012-05-08 Ian Wienand <ianw@vmware.com>
40440
40441 [BZ #14080]
40442 * time/tzset.c (__tzset_parse_tz): Update default rules for
40443 daylight time changes in the Energy Policy Act of 2005.
40444
40445 2012-05-09 Andreas Jaeger <aj@suse.de>
40446
40447 [BZ #13983]
40448 * elf/ldconfig.c (parse_conf): Change string to make clear that
40449 ldconfig only issued a warning if ld.so.conf does not exist.
40450
40451 2012-05-08 David S. Miller <davem@davemloft.net>
40452
40453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40454 movxtod instead of popping the value on the stack.
40455
40456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40457
40458 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40459
40460 * config.h.in: Add HAVE_ARM_PCS_VFP.
40461
40462 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40463
40464 [BZ #13979]
40465 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40466 checking but the checks are disabled for any reason.
40467
40468 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40469
40470 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40471 and ELF64_R_TYPE with ELFW(R_TYPE).
40472
40473 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40474
40475 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40476 (ulimit): Likewise.
40477
40478 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40479 (settimeofday): Likewise.
40480
40481 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40482
40483 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40484 a struct th_u2 inside the union, and move tu_block/tu_code into
40485 a new th_u3 union of tu_block/tu_code inside of that. Move
40486 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40487 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40488 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40489 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40490 (th_stuff): Change to th_u1.tu_stuff.
40491 (th_data): Define.
40492 (th_msg): Change to th_u1.th_u2.tu_data.
40493
40494 2012-05-07 David S. Miller <davem@davemloft.net>
40495
40496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40497
40498 [BZ #14074]
40499 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40500 (SETUP_PIC_REG): Use it.
40501 (SETUP_PIC_REG_LEAF): Use it.
40502
40503 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40504
40505 [BZ #13885]
40506 [BZ #13923]
40507 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40508 USE_AS_EXPM1L.
40509 (EXPL_FINITE): Likewise.
40510 (FLDLOG): Likewise.
40511 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40512 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40513 e_expl.S.
40514 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40515 USE_AS_EXPM1L.
40516 (EXPL_FINITE): Likewise.
40517 (FLDLOG): Likewise.
40518 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40519 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40520 e_expl.S.
40521 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40522 test of -max_value argument for long double.
40523 * sysdeps/i386/fpu/libm-test-ulps: Update.
40524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40525
40526 2012-05-06 David S. Miller <davem@davemloft.net>
40527
40528 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40529 quad soft-float symbols whose references which are compiler
40530 generated.
40531 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40532
40533 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40534
40535 [BZ #13884]
40536 [BZ #13914]
40537 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40538 USE_AS_EXP10L.
40539 (EXPL_FINITE): Likewise.
40540 (FLDLOG): Likewise.
40541 (c0): Likewise.
40542 (c1): Likewise.
40543 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40544 Adjust comments for base varying.
40545 (__expl_finite): Change alias to EXPL_FINITE.
40546 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40547 e_expl.S.
40548 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40549 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40550 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40551 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40552 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40553 USE_AS_EXP10L.
40554 (EXPL_FINITE): Likewise.
40555 (FLDLOG): Likewise.
40556 (c0): Likewise.
40557 (c1): Likewise.
40558 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40559 Adjust comments for base varying.
40560 (__expl_finite): Change alias to EXPL_FINITE.
40561 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40562 tests for bugs.
40563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40564
40565 [BZ #14064]
40566 * math/libm-test.inc (check_float_internal): Correct ulp
40567 calculation for subnormal expected results.
40568
40569 2012-05-06 Andreas Jaeger <aj@suse.de>
40570
40571 * Makeconfig (+math-flags): New, set to -frounding-math.
40572 (+cflags): Add +math-flags so that all of glibc gets compiled with
40573 it.
40574
40575 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40576
40577 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40578
40579 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40580 Disable one test.
40581
40582 [BZ #13787]
40583 [BZ #13922]
40584 [BZ #14036]
40585 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40586 (__ieee754_expl): Allow for and saturate large arguments.
40587 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40588 (u_threshold): Likewise.
40589 (__exp): Call __ieee754_exp before checking for overflow and
40590 underflow.
40591 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40592 (u_threshold): Likewise.
40593 (__expf): Call __ieee754_expf before checking for overflow and
40594 underflow.
40595 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40596 (u_threshold): Likewise.
40597 (__expl): Call __ieee754_expl before checking for overflow and
40598 underflow.
40599 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40600 (__ieee754_expl): Allow for and saturate large arguments.
40601 * math/libm-test.inc (exp_test): Add another test. Do not allow
40602 missing overflow exception on overflow.
40603 (expm1_test): Do not allow missing overflow exception on overflow.
40604
40605 * sysdeps/i386/fpu/e_expl.c: Move to ...
40606 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40607 rather than using inline asm.
40608 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40609 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40610 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40611
40612 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40613 (nice): Likewise.
40614 (poll): Likewise.
40615 (signal): Likewise.
40616 (time): Likewise.
40617 (times): Likewise.
40618
40619 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40620
40621 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40622 sysdeps/unix/common/syscalls.list.
40623 (fchmod): Likewise.
40624 (fchown): Likewise.
40625 (ftruncate): Likewise.
40626 (getrusage): Likewise.
40627 (gettimeofday): Likewise.
40628 (setpgid): Likewise.
40629 (setregid): Likewise.
40630 (setreuid): Likewise.
40631 (sigaction): Likewise.
40632 (truncate): Likewise.
40633 (vhangup): Likewise.
40634 * sysdeps/unix/common/syscalls.list: Remove file.
40635 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40636 * sysdeps/unix/sysv/linux/Implies: Likewise.
40637
40638 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40639
40640 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40642 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40643 Moved to ...
40644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40645 Here.
40646 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40647 to ...
40648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40649 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40650 to ...
40651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40652 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40653 to ...
40654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40655 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40656 to ...
40657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40658 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40659 to ...
40660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40661 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40662 to ...
40663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40664 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40665 to ...
40666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40667 Here.
40668 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40669 to ...
40670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40671 Here.
40672 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40673 to ...
40674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40675 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40676 Moved to ...
40677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40678 Here.
40679 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40680 to ...
40681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40682
40683 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40684
40685 * sysdeps/unix/common/bits/dirent.h: Remove file.
40686 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40687
40688 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40689 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40690 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40691 * sysdeps/unix/bsd/isatty.c: Likewise.
40692 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40693 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40694 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40695
40696 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40697
40698 [BZ #13563]
40699 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40700 long double comparison inaccuracies.
40701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40703
40704 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40705
40706 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40707 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40708
40709 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40710
40711 [BZ #14049]
40712 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40713 nonzero digits before rounding a hex value.
40714 * stdlib/tst-strtod.c (tests): Add another test.
40715
40716 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40717
40718 * sysdeps/s390/fpu/libm-test-ulps: Update.
40719
40720 2012-05-03 Andreas Jaeger <aj@suse.de>
40721
40722 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40723 does not get optimized out.
40724 (malloc_opt_barrier): New.
40725
40726 2012-05-03 Andreas Jaeger <aj@suse.de>
40727 Roland McGrath <roland@hack.frob.com>
40728
40729 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40730 intermediate file deletion.
40731 (generated): Add .symlist files.
40732
40733 2012-05-03 Joseph Myers <joseph@codesourcery.com>
40734
40735 [BZ #13775]
40736 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40737 Redirect under this condition.
40738 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40739 [__USE_GNU] (__dprintf_chk): Not under this condition.
40740 [__USE_GNU] (__vdprintf_chk): Likewise.
40741 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40742 under this condition.
40743 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40744 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40745 [__USE_XOPEN2K8] (vdprintf): Likewise.
40746 [__USE_GNU] (__dprintf_chk): Not under this condition.
40747 [__USE_GNU] (__vdprintf_chk): Likewise.
40748 [__USE_GNU] (dprintf): Likewise.
40749 [__USE_GNU] (vdprintf): Likewise.
40750
40751 2012-05-03 Roland McGrath <roland@hack.frob.com>
40752
40753 * elf/Makefile (common-generated): Set this instead of generated for
40754 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40755 $(all-built-dso)-derived lists.
40756
40757 2012-05-03 Andreas Jaeger <aj@suse.de>
40758
40759 * sysdeps/i386/fpu/libm-test-ulps: Update.
40760
40761 * FAQ: Removed.
40762 * FAQ.in: Likewise.
40763 * scripts/gen-FAQ.pl: Likewise.
40764 * manual/install.texi (Installation): Point to online location of
40765 FAQ.
40766 * Makefile (files-for-dist): Remove FAQ.
40767 (FAQ): Remove.
40768
40769 2012-05-02 Allan McRae <allan@archlinux.org>
40770
40771 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40772 (LDFLAGS-reldepmod5.so): Likewise.
40773 (LDFLAGS-reldep6mod1.so): Likewise.
40774 (LDFLAGS-reldep6mod4.so): Likewise.
40775 (LDFLAGS-reldep8mod3.so): Likewise.
40776 (LDFLAGS-unload4mod1.so): Likewise.
40777 (LDFLAGS-unload4mod2.so): Likewise.
40778 (LDFLAGS-tst-initorder): Likewise.
40779 (LDFLAGS-tst-initordera2.so): Likewise.
40780 (LDFLAGS-tst-initordera3.so): Likewise.
40781 (LDFLAGS-tst-initordera4.so): Likewise.
40782 (LDFLAGS-tst-initorderb2.so): Likewise.
40783 (LDFLAGS-noload): Likewise.
40784 (LDFLAGS-next): Likewise.
40785 (LDFLAGS-order2mod1.so): Likewise.
40786 (LDFLAGS-order2mod2.so): Likewise.
40787 (LDFLAGS-tst-initorder2): Likewise.
40788 (LDFLAGS-tst-initorder2a.so): Likewise.
40789 (LDFLAGS-tst-initorder2b.so): Likewise.
40790 (LDFLAGS-tst-initorder2c.so): Likewise.
40791 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40792
40793 2012-05-02 David S. Miller <davem@davemloft.net>
40794
40795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40796
40797 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40798
40799 [BZ #14055]
40800 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40801
40802 2012-05-02 Andreas Jaeger <aj@suse.de>
40803
40804 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40805 since we manipulate rounding mode.
40806 (CPPFLAGS-test-idouble.c): Likewise.
40807 (CPPFLAGS-test-ifloat.c): Likewise.
40808 (CFLAGS-test-ldouble.c): Likewise.
40809 (CFLAGS-test-double.c): Likewise.
40810 (CFLAGS-test-float.c): Likewise.
40811 (CFLAGS-test-misc.c): Likewise.
40812 (CFLAGS-test-test-fenv.c): Likewise.
40813
40814 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40815
40816 [BZ #2550]
40817 [BZ #2570]
40818 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40819 comparisons to determine direction to adjust input.
40820
40821 2012-05-01 Roland McGrath <roland@hack.frob.com>
40822
40823 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40824 output to the target.
40825
40826 * scripts/localplt.awk: New file.
40827 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40828 (check-localplt-CFLAGS): Variable removed.
40829 ($(all-built-dso:=.jmprel)): New static pattern rule.
40830 (generated): Add those targets.
40831 (localplt-built-dso): New variable.
40832 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40833
40834 * elf/check-localplt.c: File removed.
40835
40836 * scripts/check-execstack.awk: New file.
40837 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40838 (check-execstack-CFLAGS): Variable removed.
40839 ($(objpfx)check-execstack.h): Target removed.
40840 ($(objpfx)execstack-default): New target.
40841 (generated): Add that instead of check-execstack.h.
40842 ($(all-built-dso:=.phdr)): New static pattern rule.
40843 (generated): Add those targets.
40844 * elf/check-execstack.c: File removed.
40845
40846 * scripts/check-textrel.awk: New file.
40847 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40848 (check-textrel-CFLAGS): Variable removed.
40849 (all-built-dso): Use := to define.o
40850 ($(all-built-dso:=.dyn)): New static pattern rule.
40851 (generated): Add those targets.
40852 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40853 * config.make.in (READELF): New substituted variable.
40854 * elf/check-textrel.c: File removed.
40855
40856 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40857
40858 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40859 allow.
40860 * conform/data/ctype.h-data [C99-based standards] (isblank):
40861 Expect function.
40862 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40863 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40865 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40866 Specify type. Require positive value.
40867 (EILSEQ): Likewise.
40868 (ERANGE): Likewise.
40869 [ISO || POSIX] (EILSEQ): Do not expect.
40870 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40871 Specify type. Require positive value.
40872 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40873 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40874 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40875 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40876 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40877 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40878 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40879 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40880 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40881 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40882 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40883 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40884 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40885 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40886 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40887 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40888 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40889 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40890 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40891 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40892 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40893 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40894 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40895 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40896 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40897 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40898 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40899 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40900 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40901 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40902 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40903 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40904 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40905 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40906 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40907 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40908 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40909 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40910 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40911 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40912 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40913 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40914 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40915 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40916 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40917 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40918 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40919 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40920 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40921 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40922 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40923 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40924 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40925 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40926 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40927 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40928 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40929 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40930 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40931 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40932 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40933 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40934 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40935 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40936 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40937 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40938 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40939 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40940 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40941 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40942 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40943 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40944 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40945 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40946 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40947 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40948 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40949 Require >= 2.
40950 (FLT_ROUNDS): Expect as macro, not constant.
40951 (FLT_MANT_DIG): Use macro-int-constant.
40952 (DBL_MANT_DIG): Likewise.
40953 (LDBL_MANT_DIG): Likewise.
40954 (FLT_DIG): Likewise.
40955 (DBL_DIG): Likewise.
40956 (LDBL_DIG): Likewise.
40957 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40958 (DBL_MIN_EXP): Likewise.
40959 (LDBL_MIN_EXP): Likewise.
40960 (FLT_MAX_EXP): Use macro-int-constant.
40961 (DBL_MAX_EXP): Likewise.
40962 (LDBL_MAX_EXP): Likewise.
40963 (FLT_MAX_10_EXP): Likewise.
40964 (DBL_MAX_10_EXP): Likewise.
40965 (LDBL_MAX_10_EXP): Likewise.
40966 (FLT_MAX): Use macro-constant.
40967 (DBL_MAX): Likewise.
40968 (LDBL_MAX): Likewise.
40969 (FLT_EPSILON): Use macro-constant. Give upper bound.
40970 (DBL_EPSILON): Likewise.
40971 (LDBL_EPSILON): Likewise.
40972 (FLT_MIN): Likewise.
40973 (DBL_MIN): Likewise.
40974 (LDBL_MIN): Likewise.
40975 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40976 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40977 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40978 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40979 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40980 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40981 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40982 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40983 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40984 [ISO11] (FLT_TRUE_MIN): Likewise.
40985 [ISO11] (LDBL_TRUE_MIN): Likewise.
40986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40987 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40988 (SCHAR_MIN): Use macro-int-constant. Specify type.
40989 (SCHAR_MAX): Likewise.
40990 (UCHAR_MAX): Likewise.
40991 (CHAR_MIN): Likewise.
40992 (CHAR_MAX): Likewise.
40993 (MB_LEN_MAX): Use macro-int-constant.
40994 (SHRT_MIN): Use macro-int-constant. Specify type.
40995 (SHRT_MAX): Likewise.
40996 (USHRT_MAX): Likewise.
40997 (INT_MAX): Likewise.
40998 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40999 bound negative.
41000 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41001 bound with "U".
41002 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41003 bound with "L".
41004 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41005 bound negative. Suffix upper bound with "L".
41006 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41007 bound with "UL".
41008 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41009 Specify type.
41010 [C99-based standards] (LLONG_MAX): Likewise.
41011 [C99-based standards] (ULLONG_MAX): Likewise.
41012 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41013 == 0.
41014 [ISO11] (max_align_t): Require type.
41015 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41016
41017 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41018 from $CFLAGS, without defining away __attribute__ calls.
41019 (checknamespace): Use $CFLAGS_namespace.
41020
41021 * conform/conformtest.pl (@keywords): Only include C99 keywords
41022 for standards based on C99 or C11.
41023
41024 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41025 Disable tests.
41026 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41027 UNIX98]: Likewise.
41028
41029 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41030 usability of symbols in #if.
41031
41032 * conform/conformtest.pl: If macro or constant types start
41033 "promoted:", expect the symbol to be of the following type
41034 promoted by the integer promotions.
41035
41036 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41037 in one place. Also handle "macro-constant".
41038
41039 * conform/conformtest.pl: Only accept expected macro values with
41040 "==". Parse all "macro" lines in one place.
41041 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41042
41043 * conform/conformtest.pl: Handle braced types on "constant" lines
41044 instead of handling "typed-constant".
41045 * conform/data/signal.h-data: Use "constant" instead of
41046 "typed-constant".
41047
41048 * conform/conformtest.pl: Handle "optional-" at start of lines in
41049 one place rather than duplicating several cases. Handle each
41050 format of "macro" line with initial "optional-".
41051
41052 * conform/conformtest.pl: Only accept expected constant or
41053 optional-constant values with "==". Parse all "constant" lines in
41054 one place. Parse all "optional-constant" lines in one place.
41055 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41056 * conform/data/fmtmsg.h-data: Likewise.
41057 * conform/data/netinet/in.h-data: Likewise.
41058 * conform/data/tar.h-data: Likewise.
41059 * conform/data/limits.h-data: Use "==" form on "constant" and
41060 "optional-constant" lines.
41061
41062 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41063 Use -std=c99 for XOPEN2K.
41064 (@knownproblems): Remove.
41065 (newtoken): Don't check %isknown.
41066
41067 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41068 Do not expect macro.
41069 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41070 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41071 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41072 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41073 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41074 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41075 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41076 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41077 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41078 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41079 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41080 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41081 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41082 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41083 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41084 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41085 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41086 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41087 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41088 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41089 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41090 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41091 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41092 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41093 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41094 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41095 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41096 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41097 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41098 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41099 [XPG3] (acosh): Likewise.
41100 [XPG3] (asinh): Likewise.
41101 [XPG3] (atanh): Likewise.
41102 [XPG3] (cbrt): Likewise.
41103 [XPG3] (expm1): Likewise.
41104 [XPG3] (ilogb): Likewise.
41105 [XPG3] (log1p): Likewise.
41106 [XPG3] (logb): Likewise.
41107 [XPG3] (nextafter): Likewise.
41108 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41109 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41110 [XPG3] (remainder): Likewise.
41111 [XPG3] (rint): Likewise.
41112 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41113 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41114 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41115 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41116 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41117 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41118 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41119 [UNIX98 || XOPEN2K] (scalb): Expect.
41120 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41121 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41122 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41123 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41124 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41125 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41126 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41127 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41128 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41129 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41130 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41131 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41132 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41133 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41134 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41135 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41136 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41137 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41138 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41139 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41140 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41141 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41142 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41143 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41144 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41145 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41146 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41147 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41148 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41149 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41150 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41151 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41152 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41153 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41154 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41155 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41156 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41157 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41158 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41159 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41160 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41161 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41162 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41163 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41164 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41165 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41166 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41167 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41168 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41169 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41170 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41171 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41172 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41173 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41174 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41175 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41176 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41177 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41178 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41179 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41180 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41181 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41182 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41183 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41184 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41185 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41186 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41187 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41188 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41189 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41190 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41191 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41192 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41193 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41194 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41195 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41196 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41197 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41198 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41199 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41200 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41201 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41202 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41203 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41204 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41205 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41206 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41207 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41208 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41209 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41210 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41211 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41212 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41213 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41214 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41215 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41216 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41217 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41218 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41219 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41220 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41221 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41222 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41223 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41224 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41225 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41226 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41227 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41228 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41229 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41230 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41231 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41232 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41233 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41234 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41235 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41236 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41237 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41238 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41239 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41240 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41241 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41242 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41243 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41244 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41245 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41246 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41247 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41248 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41249 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41250 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41251 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41252 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41253 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41254 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41255 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41256 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41257
41258 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41259 _XOPEN_SOURCE_EXTENDED for XPG4.
41260
41261 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41262
41263 * Makeconfig (localtime): Remove variable.
41264 (inst_localtime-file): Likewise.
41265
41266 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41267
41268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41269 Update.
41270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41271 Update.
41272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41273 Update.
41274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41275 Update.
41276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41277 Update.
41278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41279 Update.
41280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41281 Update.
41282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41283 Update.
41284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41285 Update.
41286
41287 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41288
41289 [BZ #2550]
41290 [BZ #2570]
41291 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41292 comparisons to determine direction to adjust input.
41293 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41294 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41296 Likewise.
41297 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41298 Likewise.
41299 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41300 Likewise.
41301 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41302 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41303 Likewise.
41304 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41305 Likewise.
41306 * math/libm-test.inc (nexttoward_test): Add more tests.
41307
41308 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41309
41310 [BZ #14040]
41311 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41312 in version GLIBC_2.1, not GLIBC_2.0.
41313 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41314 Likewise.
41315
41316 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41317
41318 [BZ #13942]
41319 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41320 (1 - x) * (1 + x).
41321 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41322 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41323 * math/libm-test.inc (acos_test): Add more tests.
41324 (asin_test): Likewise.
41325 * sysdeps/i386/fpu/libm-test-ulps: Update.
41326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41327
41328 [BZ #14034]
41329 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41330 of square root.
41331 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41332 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41333 * math/libm-test.inc (acos_test_tonearest): New function.
41334 (acos_test_towardzero): Likewise.
41335 (acos_test_downward): Likewise.
41336 (acos_test_upward): Likewise.
41337 (asin_test_tonearest): Likewise.
41338 (asin_test_towardzero): Likewise.
41339 (asin_test_downward): Likewise.
41340 (asin_test_upward): Likewise.
41341 (main): Call the new functions.
41342 * sysdeps/i386/fpu/libm-test-ulps: Update.
41343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41344
41345 [BZ #13884]
41346 [BZ #13924]
41347 * math/e_exp10.c: Include <float.h>.
41348 (__ieee754_exp10): Handle underflow here rather than multiplying
41349 large negative argument by M_LN10.
41350 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41351 of __ieee754_expf.
41352 * math/e_exp10l.c: Include <float.h>.
41353 (__ieee754_exp10l): Handle underflow here rather than multiplying
41354 large negative argument by M_LN10l.
41355 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41356 spurious overflow exception on underflow.
41357
41358 2012-04-29 Marek Polacek <polacek@redhat.com>
41359
41360 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41361 (__fortify_function): New macro.
41362 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41363 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41364 __extern_always_inline.
41365 * libio/bits/stdio2.h: Likewise.
41366 * libio/bits/stdio.h: Likewise.
41367 * string/string.h: Likewise.
41368 * string/bits/string3.h: Likewise.
41369 * include/stdio.h: Likewise.
41370 * stdlib/bits/stdlib.h: Likewise.
41371 * stdlib/stdlib.h: Likewise.
41372 * rt/bits/mqueue2.h: Likewise.
41373 * rt/mqueue.h: Likewise.
41374 * posix/bits/unistd.h: Likewise.
41375 * posix/unistd.h: Likewise.
41376 * io/bits/poll2.h: Likewise.
41377 * io/bits/fcntl2.h: Likewise.
41378 * io/fcntl.h: Likewise.
41379 * io/sys/poll.h: Likewise.
41380 * misc/bits/syslog.h: Likewise.
41381 * misc/bits/syslog-ldbl.h: Likewise.
41382 * misc/sys/syslog.h: Likewise.
41383 * socket/bits/socket2.h: Likewise.
41384 * socket/sys/socket.h: Likewise.
41385 * debug/tst-chk1.c: Likewise.
41386 * wcsmbs/bits/wchar2.h: Likewise.
41387 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41388 * wcsmbs/wchar.h: Likewise.
41389
41390 2012-04-29 Andreas Jaeger <aj@suse.de>
41391
41392 * Makerules (tests): Remove enable-check-abi protection.
41393 (check-abi-warn): Remove.
41394 (check-abi-%): Remove check-abi-warn usage.
41395
41396 * configure.in: Remove check-abi configure option.
41397 * configure: Regenerated.
41398 * config.make.in (enable-check-abi): Remove.
41399
41400 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41401
41402 [BZ #14033]
41403 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41404 double functions to double *_finite functions.
41405
41406 [BZ #13941]
41407 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41408 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41409 LDBL_MIN_EXP.
41410 * stdio-common/Makefile (tests): Add tst-sprintf3.
41411 * stdio-common/tst-sprintf3.c: New file.
41412
41413 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41414 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41415
41416 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41417
41418 * conform/conformtest.pl: Remove duplicate typed-constant
41419 handling.
41420
41421 2012-04-28 David S. Miller <davem@davemloft.net>
41422
41423 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41424 (check-abi-%): Remove AWK script prerequisite and explicit
41425 abilist directory.
41426 (check-abi): Rewrite to just diff the symlist with the abilist.
41427 (config-tls, config-abi-config): Delete, no longer used.
41428 (update-abi-%): Remove AWK script and explicit abilist directory.
41429 (update-abi): Rewrite to simply compare and conditionally copy the
41430 symlist and the sysdep abilist file. Remove update-abi-config
41431 checks.
41432 * abilist/ld.abilist: Remove.
41433 * abilist/libBrokenLocale.abilist: Remove.
41434 * abilist/libanl.abilist: Remove.
41435 * abilist/libcrypt.abilist: Remove.
41436 * abilist/libdl.abilist: Remove.
41437 * abilist/librt.abilist: Remove.
41438 * abilist/libthread_db.abilist: Remove.
41439 * abilist/libutil.abilist: Remove.
41440 * scripts/extract-abilist.awk: Remove.
41441 * scripts/merge-abilist.awk: Remove.
41442 * sysdeps/generic/libcidn.abilist: New file.
41443 * sysdeps/generic/libnss_compat.abilist: New file.
41444 * sysdeps/generic/libnss_db.abilist: New file.
41445 * sysdeps/generic/libnss_dns.abilist: New file.
41446 * sysdeps/generic/libnss_files.abilist: New file.
41447 * sysdeps/generic/libnss_hesiod.abilist: New file.
41448 * sysdeps/generic/libnss_nis.abilist: New file.
41449 * sysdeps/generic/libnss_nisplus.abilist: New file.
41450 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41451 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41452 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41453 file.
41454 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41455 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41456 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41457 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41458 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41459 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41460 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41461 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41462 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41463 file.
41464 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41465 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41466 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41467 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41468 file.
41469 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41470 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41471 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41472 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41473 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41474 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41475 file.
41476 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41477 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41478 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41479 file.
41480 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41482 New file.
41483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41484 New file.
41485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41486 New file.
41487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41488 New file.
41489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41490 New file.
41491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41492 New file.
41493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41494 New file.
41495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41496 New file.
41497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41498 New file.
41499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41500 New file.
41501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41502 New file.
41503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41504 New file.
41505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41506 New file.
41507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41508 file.
41509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41510 New file.
41511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41512 New file.
41513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41514 file.
41515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41516 New file.
41517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41518 New file.
41519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41520 file.
41521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41522 New file.
41523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41524 New file.
41525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41526 New file.
41527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41528 New file.
41529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41530 New file.
41531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41532 New file.
41533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41535 file.
41536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41537 New file.
41538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41539 file.
41540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41541 file.
41542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41543 file.
41544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41545 file.
41546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41547 file.
41548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41549 New file.
41550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41551 file.
41552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41553 file.
41554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41555 New file.
41556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41557 file.
41558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41560 file.
41561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41562 New file.
41563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41564 file.
41565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41566 file.
41567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41568 file.
41569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41570 file.
41571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41572 file.
41573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41574 New file.
41575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41576 file.
41577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41578 file.
41579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41580 New file.
41581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41582 file.
41583 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41584 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41585 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41586 file.
41587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41588 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41589 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41590 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41591 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41592 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41593 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41594 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41595 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41596 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41599 file.
41600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41601 New file.
41602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41603 file.
41604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41605 file.
41606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41607 file.
41608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41609 file.
41610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41611 file.
41612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41613 New file.
41614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41615 New file.
41616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41617 file.
41618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41619 New file.
41620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41621 file.
41622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41624 file.
41625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41626 New file.
41627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41628 file.
41629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41630 file.
41631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41632 file.
41633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41634 file.
41635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41636 file.
41637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41638 New file.
41639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41640 New file.
41641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41642 file.
41643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41644 New file.
41645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41646 file.
41647
41648 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41649
41650 * conform/conformtest.pl: Fix typo in handling typed-constant from
41651 allow-header.
41652
41653 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41654
41655 * README: Cut down references to pre-2.6 Linux kernels and
41656 Linuxthreads. Update lists of configurations in libc and ports
41657 and sort alphabetically. Say "or newer" with Linux kernel version
41658 requirements.
41659
41660 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41661
41662 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41663
41664 [BZ #887]
41665 * math/libm-test.inc (logb_test_downward): New test to expose
41666 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41667 rounding mode.
41668
41669 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41670
41671 [BZ #14027]
41672 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41673 to be done.
41674 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41675 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41676
41677 2012-04-26 Joseph Myers <joseph@codesourcery.com>
41678
41679 * sysdeps/unix/i386/brk.S: Remove file.
41680 * sysdeps/unix/i386/dl-brk.S: Likewise.
41681 * sysdeps/unix/i386/pipe.S: Likewise.
41682 * sysdeps/unix/i386/sigreturn.S: Likewise.
41683 * sysdeps/unix/i386/syscall.S: Likewise.
41684 * sysdeps/unix/i386/vfork.S: Likewise.
41685 * sysdeps/unix/i386/wait.S: Likewise.
41686
41687 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41688 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41689
41690 * configure.in (arm*-none*): Do not allow without
41691 --enable-hacker-mode.
41692 (netbsd*): Remove case setting base_os.
41693 (386bsd*): Likewise.
41694 (freebsd*): Likewise.
41695 (bsdi*): Likewise.
41696 (osf*): Likewise.
41697 (sunos*): Likewise.
41698 (ultrix*): Likewise.
41699 (newsos*): Likewise.
41700 (dynix*): Likewise.
41701 (*bsd*): Likewise.
41702 (sysv*): Likewise.
41703 (isc*): Likewise.
41704 (esix*): Likewise.
41705 (sco*): Likewise.
41706 (minix*): Likewise.
41707 (irix4*): Likewise.
41708 (irix6*): Likewise.
41709 (solaris[2-9]*): Likewise.
41710 (none): Likewise.
41711 * configure: Regenerated.
41712
41713 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41714
41715 [BZ #11521]
41716 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41717 overflow or cancellation in calculating denominator.
41718 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41719 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41720 down expression to avoid unexpected rounding in newer GCCs.
41721 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41722
41723 2012-04-26 David S. Miller <davem@davemloft.net>
41724
41725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41726 long-double compat symbols.
41727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41740
41741 2012-04-25 David S. Miller <davem@davemloft.net>
41742
41743 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41744 HWCAP_* values only after the memory barriers have been defined.
41745 (atomic_full_barrier): Define.
41746 (atomic_read_barrier): Define.
41747 (atomic_write_barrier): Define.
41748
41749 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41750
41751 * shlib-versions: Add libgcc_s version information.
41752 * sysdeps/generic/libgcc_s.h: Remove.
41753 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41754 libgcc_s.h.
41755 * sysdeps/gnu/unwind-resume.c: Likewise.
41756 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41757
41758 2012-04-25 David S. Miller <davem@davemloft.net>
41759
41760 * sysdeps/unix/sparc/brk.S: Delete.
41761 * sysdeps/unix/sparc/dl-brk.S: Delete.
41762 * sysdeps/unix/sparc/pipe.S: Delete.
41763 * sysdeps/unix/sparc/sysdep.S: Delete.
41764 * sysdeps/unix/sparc/sysdep.h: Delete.
41765 * sysdeps/unix/sparc/vfork.S: Delete.
41766 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41767 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41768 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41769 (ret_ERRVAL, r0, r1, MOVE): Define.
41770 (JUMPTARGET): Remove.
41771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41772 sysdeps/unix/sparc/sysdep.h
41773 (ENTRY, END): Remove.
41774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41775
41776 2012-04-25 Joseph Myers <joseph@codesourcery.com>
41777
41778 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41779 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41780 -DIS_IN_build.
41781
41782 * timezone/README: Update upstream location and email address for
41783 tzcode and tzdata.
41784 * timezone/zdump.c: Update from tzcode 2012b.
41785 * timezone/zic.c: Likewise.
41786
41787 * configure.in (libc_cv_as_needed): Remove test.
41788 * configure: Regenerated.
41789 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41790 conditional definition.
41791 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41792 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41793 * config.make.in (have-as-needed): Remove variable.
41794
41795 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41796 Paul Pluzhnikov <ppluzhnikov@google.com>
41797
41798 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41799 strings correctly.
41800
41801 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41802
41803 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41804 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41805 * sysdeps/sh/strlen.S: Likewise.
41806
41807 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41808
41809 * sysdeps/unix/fork.S: Remove file.
41810 * sysdeps/unix/i386/fork.S: Likewise.
41811 * sysdeps/unix/sparc/fork.S: Likewise.
41812
41813 * sysdeps/unix/system.c: Remove file.
41814 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41815
41816 * sysdeps/unix/getegid.S: Remove file.
41817 * sysdeps/unix/geteuid.S: Likewise.
41818
41819 2012-04-24 Roland McGrath <roland@hack.frob.com>
41820
41821 * scripts/check-localplt.awk: New file.
41822 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41823 of diff.
41824 * scripts/data/localplt-generic.data: Add a comment.
41825
41826 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41827 NODE when __dir_mkfile failed.
41828 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41829 Reported by Ludovic Courtès <ludo@gnu.org>.
41830
41831 2012-04-24 Andreas Jaeger <aj@suse.de>
41832
41833 * Makerules (common-clean): Also remove gen-as-const-headers
41834 files.
41835
41836 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41837
41838 * Makerules (native-compile): Do not change working directory for
41839 build. Use $(OUTPUT_OPTION) in command.
41840 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41841
41842 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41843
41844 [BZ #13886]
41845 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41846 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41847 * math/libm-test.inc (floor_test): Add more tests.
41848 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41849
41850 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41851
41852 * sysdeps/unix/getdents.c: Remove file.
41853 * sysdeps/unix/sysv/getdents.c: Likewise.
41854 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41855
41856 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41857 sysdeps/unix/mman/syscalls.list.
41858 (mmap): Likewise.
41859 (mprotect): Likewise.
41860 (msync): Likewise.
41861 (munmap): Likewise.
41862 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41863 * sysdeps/unix/mman/syscalls.list: Remove.
41864 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41865
41866 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41867 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41868 * configure: Regenerated.
41869 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41870 $(libgcc_s_suffix).
41871 * config.make.in (libgcc_s_suffix): Remove variable.
41872
41873 2012-04-23 Joseph Myers <joseph@codesourcery.com>
41874
41875 * sysdeps/unix/sysv/gethostname.c: Move to ...
41876 * sysdeps/posix/gethostname.c: ... here.
41877
41878 * sysdeps/unix/execve.S: Remove file.
41879
41880 * sysdeps/unix/_exit.S: Remove file.
41881
41882 2012-04-23 Andreas Jaeger <aj@suse.de>
41883
41884 [BZ #13739]
41885 * manual/Makefile: Remove make dist support, there's no
41886 need for a stand-alone documentation tar ball.
41887 (TEXI2DVI): Define always, it's not in Makeconfig.
41888 (dist): Removed.
41889 (tar-it): Removed.
41890 (edition): Removed.
41891 (glibc-doc-$(edition).tar): Removed
41892 (%.Z): Removed.
41893 (%.gz): Removed.
41894 (%.uu): Removed.
41895 (ETAGS): Remove, it's in Makeconfig.
41896 (move-if-change): Remove, it's in Makeconfig.
41897
41898 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
41899
41900 [BZ #13970]
41901 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41902 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41903 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41904 (strtod_l, strtof_l, strtold_l): Remove __wur.
41905 It is not necessarily an error to ignore strtol's return value.
41906 One can reliably look at the stored endptr to decide whether
41907 the number had valid syntax.
41908
41909 2012-04-21 Andreas Jaeger <aj@suse.de>
41910
41911 [BZ #13739]
41912 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41913
41914 2012-04-21 Joseph Myers <joseph@codesourcery.com>
41915
41916 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41917 * sysdeps/unix/sysv/Versions: Remove file.
41918
41919 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41920
41921 [BZ #13927]
41922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41923
41924 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
41925
41926 [BZ #7064]
41927 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41928 version from __vm86.
41929
41930 2012-04-20 Joseph Myers <joseph@codesourcery.com>
41931
41932 * sysdeps/unix/common/lxstat.c: Remove file.
41933 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41934
41935 * sysdeps/unix/sysv/Makefile: Remove file.
41936
41937 * sysdeps/unix/sysv/direct.h: Remove file.
41938
41939 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41940 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41941 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41942 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41943 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41944 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41945 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41946
41947 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41948
41949 * sysdeps/unix/xmknod.c: Remove file.
41950 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41951
41952 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41953
41954 * sysdeps/unix/sysv/i386/time.S: Remove file.
41955
41956 * sysdeps/unix/fxstat.c: Remove file.
41957 * sysdeps/unix/xstat.c: Likewise.
41958 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41959
41960 * sysdeps/unix/sysv/sigaction.c: Remove file.
41961
41962 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41963 (sysdep_headers): Remove variable.
41964 [termio.h not in sysdep_headers] (generated): Likewise.
41965 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41966 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41967 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41968 * sysdeps/unix/sysv/tcflow.c: Likewise.
41969 * sysdeps/unix/sysv/tcflush.c: Likewise.
41970 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41971 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41972 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41973 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41974 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41975
41976 * sysdeps/unix/siglist.c: Remove file.
41977
41978 * sysdeps/unix/getppid.S: Remove file.
41979
41980 * sysdeps/unix/mkdir.c: Remove file.
41981 * sysdeps/unix/rmdir.c: Likewise.
41982
41983 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41984
41985 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41986 ERR_MAX value.
41987 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41988 errlist-compat value.
41989
41990 2012-04-18 David S. Miller <davem@davemloft.net>
41991
41992 * sysdeps/generic/memcopy.h (reg_char): Delete.
41993 * debug/strcat_chk.c: Use char, not reg_char.
41994 * debug/strcpy_chk.c: Likewise.
41995 * debug/strncat_chk.c: Likewise.
41996 * debug/strncpy_chk.c: Likewise.
41997 * string/memchr.c: Likewise.
41998 * string/memrchr.c: Likewise.
41999 * string/rawmemchr.c: Likewise.
42000 * string/strcat.c: Likewise.
42001 * string/strchr.c: Likewise.
42002 * string/strchrnul.c: Likewise.
42003 * string/strcmp.c: Likewise.
42004 * string/strcpy.c: Likewise.
42005 * string/strncat.c: Likewise.
42006 * string/strncmp.c: Likewise.
42007 * string/strncpy.c: Likewise.
42008
42009 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42010
42011 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42012 __builtin_memcopy is called when src and dest ranges are known to not
42013 overlap.
42014
42015 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42016
42017 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42018 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42019 fwd_align_merge macro call.
42020 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42021 bwd_align_merge macro call.
42022 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42023
42024 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42025
42026 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42027 bwd_align_merge macros.
42028 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42029 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42030 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42031
42032 2012-04-18 David S. Miller <davem@davemloft.net>
42033
42034 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42035
42036 2012-04-18 Andreas Jaeger <aj@suse.de>
42037
42038 [BZ# 6794]
42039 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42040 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42041 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42042
42043 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42044 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42045 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42046
42047 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42048 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42049 Adjust for changed ldbl-128 files.
42050
42051 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42052 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42054
42055 2012-04-17 David S. Miller <davem@davemloft.net>
42056
42057 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42058
42059 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42060
42061 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42062 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42063 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42064 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42065 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42066 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42067
42068 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42069
42070 [BZ #6794]
42071 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42072 * math/libm-test.inc: Add ilogb errno and exception tests.
42073 * math/w_ilogb.c: New file: ilogb wrapper.
42074 * math/w_ilogbf.c: New file: ilogbf wrapper.
42075 * math/w_ilogbl.c: New file: ilogbl wrapper.
42076 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42077 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42078 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42079 exception being thrown with 0.0 as argument.
42080 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42081 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42082 exception being thrown with 0.0 as argument.
42083 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42084 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42085 exception being thrown with 0.0 as argument.
42086 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42087 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42088 exception being thrown with 0.0 as argument.
42089 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42090 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42092 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42093 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42094 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42095 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42096 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42097 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42098
42099 2012-04-17 Petr Baudis <pasky@ucw.cz>
42100
42101 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42102 with altivec.
42103
42104 2012-04-16 Marek Polacek <polacek@redhat.com>
42105
42106 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42107
42108 2012-04-16 Marek Polacek <polacek@redhat.com>
42109
42110 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42111 operands of fdivp instruction.
42112
42113 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42114
42115 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42116 * elf/tst-auditmod3b.c: Likewise.
42117 * elf/tst-auditmod4b.c: Likewise.
42118 * elf/tst-auditmod5b.c: Likewise.
42119 * elf/tst-auditmod6b.c: Likewise.
42120 * elf/tst-auditmod6c.c: Likewise.
42121 * elf/tst-auditmod7b.c: Likewise.
42122 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42123 * sysdeps/x86_64/preconfigure.in: Likewise.
42124 * sysdeps/x86_64/preconfigure: Regenerated.
42125
42126 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42127
42128 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42129 __ILP32__.
42130
42131 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
42132
42133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42134 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42135
42136 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42137
42138 [BZ #13973]
42139 * locale/iso-639.def: Fix gl language name. Spotted by
42140 Yaron Shahrabani.
42141
42142 2012-04-12 Roland McGrath <roland@hack.frob.com>
42143
42144 [BZ #2074]
42145 * libio/libio.h (__io_write_fn): Update comment.
42146
42147 2012-04-12 Petr Baudis <pasky@ucw.cz>
42148
42149 [BZ #2074]
42150 * stdio.texi (Hook Functions): The user provided writer function
42151 is not allowed to return -1.
42152
42153 2012-04-11 David S. Miller <davem@davemloft.net>
42154
42155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42156
42157 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42158
42159 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42160 Add a leading slash to rtkaio.
42161
42162 2012-04-11 Jim Meyering <meyering@redhat.com>
42163
42164 [BZ #11959]
42165 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42166 It is not necessarily an error to ignore fwrite's return
42167 value. One can reliably use ferror to test for errors after
42168 the fact.
42169
42170 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42171
42172 * bits/types.h (__snseconds_t): New type.
42173 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42174
42175 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42176 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42177 (__SNSECONDS_T_TYPE): Likewise.
42178 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42179 (__SNSECONDS_T_TYPE): Likewise.
42180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42181 (__SNSECONDS_T_TYPE): Likewise.
42182
42183 2012-04-10 Andreas Jaeger <aj@suse.de>
42184
42185 [BZ #2636]
42186 * manual/time.texi (Processor Time): Return type of times is
42187 elapsed real time since an arbitrary point in the past.
42188 (CPU Time): Move CLK_TCK from here...
42189 (Processor Time): ...to here. Correct description.
42190 * manual/conf.texi (Constants for Sysconf): Correct description of
42191 _SC_CLK_TCK.
42192
42193 2012-04-10 David S. Miller <davem@davemloft.net>
42194
42195 [BZ #13967]
42196 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42197 where the is a gap between DT_REL(A) and DT_JMPREL.
42198
42199 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42200
42201 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42202 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42203 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42204
42205 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42206
42207 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42208 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42209 (dl_main): Handle --inhibit-cache.
42210 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42211 _dl_inhibit_cache.
42212 * elf/dl-load.c (_dl_map_object): Use it.
42213 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42214
42215 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42216
42217 [BZ #13872]
42218 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42219 (__ieee754_powl): Saturate large exponents rather than testing for
42220 overflow of y*log2(x).
42221 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42222 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42223 exceptions.
42224
42225 [BZ #11521]
42226 * math/s_ctan.c: Include <float.h>.
42227 (__ctan): Avoid internal overflow or cancellation in calculating
42228 denominator.
42229 * math/s_ctanf.c: Likewise.
42230 * math/s_ctanl.c: Likewise.
42231 * math/s_ctanh.c: Likewise.
42232 * math/s_ctanhf.c: Likewise.
42233 * math/s_ctanhl.c: Likewise.
42234 * math/libm-test.inc (ctan_test): Add more tests.
42235 (ctanh_test): Likewise.
42236 * sysdeps/i386/fpu/libm-test-ulps: Update.
42237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42238
42239 2012-04-09 Andreas Jaeger <aj@suse.de>
42240
42241 [BZ #6894]
42242 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42243 is an optional BSD extension.
42244
42245 [BZ #10254]
42246 * manual/stdio.texi (Opening Streams): Document additional fopen
42247 parameters.
42248
42249 2012-04-09 Roland McGrath <roland@hack.frob.com>
42250
42251 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42252 %eax without telling the compiler.
42253
42254 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42255
42256 [BZ # 13963]
42257 * manual/install.texi: Use sourceware.org.
42258
42259 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42260
42261 [BZ #13873]
42262 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42263 (__ieee754_pow): Generate overflow and underflow using huge*huge
42264 and tiny*tiny rather than just returning constant infinity or zero
42265 for large exponents.
42266 * math/libm-test.inc (pow_test): Require overflow exceptions for
42267 applicable cases of large exponents.
42268
42269 [BZ #706]
42270 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42271 (__ieee754_pow): Use iterative multiplication algorithm only for
42272 integer exponents with absolute value below 1024. Check for odd
42273 integer exponents when using algorithm for real exponents.
42274 * math/libm-test.inc (pow_test): Add more tests.
42275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42276
42277 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42278
42279 [BZ #13705]
42280 * math/libm-test.inc (exp_test): Do not allow overflow exception
42281 on underflow test.
42282
42283 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42284
42285 [BZ #13705]
42286 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42287 instead of __kernel_standard_f.
42288
42289 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42290
42291 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42292 * sysdeps/x86_64/memset_chk.S: Likewise.
42293
42294 2012-04-08 Andreas Jaeger <aj@suse.de>
42295
42296 [BZ #10153]
42297 * manual/startup.texi (Environment Access): Describe return value
42298 for putenv and setenv.
42299
42300 [BZ #6895]
42301 * manual/filesys.texi (Directory Entries): Add description for
42302 DT_LNK.
42303
42304 [BZ #6890]
42305 * manual/filesys.texi (Directory Entries): Clarify that it's file
42306 system not operating system in the description of DT_UNKNOWN.
42307
42308 [BZ #6578]
42309 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42310
42311 2012-04-08 Stephen Compall <s11@member.fsf.org>
42312
42313 [BZ #6649]
42314 * manual/llio.texi (Opening and Closing Files): Add cross
42315 reference to explain mode argument.
42316
42317 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42318
42319 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42320 * sysdeps/x86_64/memset_chk.S: Likewise.
42321
42322 2012-04-07 David S. Miller <davem@davemloft.net>
42323
42324 * elf/elf.h (R_SPARC_WDISP10): Define.
42325 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42326 R_SPARC_SIZE32.
42327 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42328 R_SPARC_SIZE64 and R_SPARC_H34.
42329
42330 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42331
42332 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42333 conditions and remove no longer applicable assertion.
42334
42335 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42336
42337 * bits/byteswap.h: Include <features.h>.
42338 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42339 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42340
42341 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42342
42343 * bits/byteswap.h (__bswap_16): Removed.
42344 Include <bits/byteswap-16.h> to get __bswap_16.
42345 * sysdeps/i386/bits/byteswap.h: Likewise.
42346 * sysdeps/s390/bits/byteswap.h: Likewise.
42347 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42348 * bits/byteswap-16.h: New file.
42349 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42350 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42351 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42352 * string/Makefile (headers): Add bits/byteswap-16.h.
42353
42354 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42355
42356 [BZ #13895]
42357 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42358 extra indirection.
42359 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42360 * nss/tst-nss-static.c: New.
42361
42362 2012-04-06 Robert Millan <rmh@gnu.org>
42363
42364 [BZ #6486]
42365 * manual/llio.texi (File Position Primitive): lseek
42366 refers to WHENCE when it really means OFFSET.
42367
42368 2012-04-06 Andreas Jaeger <aj@suse.de>
42369
42370 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42371 strncmp declarations.
42372
42373 * abilist/libc.abilist: Add __poll and __ppoll.
42374
42375 2012-04-05 David S. Miller <davem@davemloft.net>
42376
42377 * scripts/check-local-headers.sh: Accept a host triplet in the
42378 path matched by the exclude regexp.
42379
42380 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42381 definition.
42382 * sysdeps/powerpc/powerpc32/dl-machine.h
42383 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42384 * sysdeps/s390/s390-32/dl-machine.h
42385 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42386 * sysdeps/sparc/sparc32/dl-machine.h
42387 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42388 * sysdeps/sparc/sparc64/dl-machine.h
42389 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42390
42391 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42392 lazy binding.
42393 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42394 undefined symbol errors.
42395
42396 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42397 DT_NEEDED entries.
42398
42399 2012-04-05 Michael Matz <matz@suse.de>
42400
42401 [BZ #13592]
42402 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42403
42404 2012-04-05 Andreas Jaeger <aj@suse.de>
42405
42406 [BZ #13908]
42407 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42408 comment.
42409
42410 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42411
42412 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42413 which ROUND is no valid rounding mode.
42414
42415 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42416
42417 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42418 read again.
42419 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42420
42421 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42422
42423 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42424 an exception using FPU order intentionally.
42425
42426 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42427
42428 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42429 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42430 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42431 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42432
42433 2012-04-05 Simon Josefsson <simon@josefsson.org>
42434
42435 [BZ #12340]
42436 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42437 EINVAL when BUFLEN is too smal.
42438
42439 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42440
42441 [BZ #13553]
42442 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42443 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42444
42445 2012-04-03 Andreas Jaeger <aj@suse.de>
42446
42447 [BZ #13938]
42448 * manual/setjmp.texi (System V contexts): Fix sentence.
42449
42450 [BZ #13926]
42451 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42452 New macro for this case.
42453 [!__GNUC__] (__bswap_64): New inline function for this case.
42454 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42455 * bits/byteswap.h: Likewise.
42456 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42457 ull, guard with __GLIBC_HAVE_LONG_LONG.
42458
42459 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42460 __GLIBC_HAVE_LONG_LONG.
42461
42462 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42463 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42464
42465 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42466
42467 [BZ #13691]
42468 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42469 inptr and inend, rather than using last_ch.
42470
42471 2012-04-02 David S. Miller <davem@davemloft.net>
42472
42473 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42474 * stdio-common/printf-parse.h (read_int): Change return type to
42475 'int', return -1 on INT_MAX overflow.
42476 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42477 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42478 overflows INT_MAX. Check for overflow of in-format-string precision
42479 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42480 SIZE_MAX not INT_MAX for integer overflow test.
42481 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42482 skip the construct in the format string but do not record anything.
42483 * stdio-common/bug22.c: Adjust to test both width/prevision
42484 INT_MAX overflow as well as total length INT_MAX overflow. Check
42485 explicitly for proper errno values.
42486
42487 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42488
42489 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42490 CHAR_MAX.
42491 * string/test-strcmp.c [! WIDE]: Likewise.
42492 * time/tst-mktime2.c: Likewise for INT_MAX.
42493 * string/test-string.h: #include <sys/param.h> for MIN.
42494
42495 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42496 * sysdeps/i386/init-first.c (init): Likewise.
42497 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42498 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42499 * sysdeps/sh/init-first.c (init): Likewise.
42500
42501 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42502
42503 * po/ru.po: Update from translation team.
42504 * po/vi.po: Likewise.
42505
42506 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42507
42508 * resolv/nss_dns/dns-host.c: Merge copyright years.
42509
42510 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42511
42512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42513 Optimize memcpy with prefetch if
42514 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42515 src, dst pointers have unequal 16 byte alignments.
42516
42517 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42518
42519 [BZ #13928]
42520 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42521 from a CNAME entry and return the minimum ttl for the query.
42522 (gaih_getanswer_slice): Likewise.
42523
42524 2012-03-30 Jeff Law <law@redhat.com>
42525
42526 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42527 due to long keys.
42528 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42529 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42530
42531 * resolv/nss_dns/dns-host.c: Update copyright year.
42532
42533 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42534
42535 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42536 requests to save a system call. Fix check that all bytes are sent.
42537
42538 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42539 comments for sendmmsg.
42540
42541 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42542
42543 [BZ #13691]
42544 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42545 with only 1 character between 0x0041 and 0x01b0.
42546 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42547 * wcsmbs/tst-mbsnrtowcs.c: New file.
42548
42549 2012-03-29 David S. Miller <davem@davemloft.net>
42550
42551 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42552 small copies by hand.
42553
42554 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42555
42556 [BZ #13761]
42557 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42558 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42559 group memberships.
42560
42561 2012-03-28 David S. Miller <davem@davemloft.net>
42562
42563 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42564 that branches into memcpy.
42565 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42568 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42570 bits.
42571 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42572 implementation too.
42573 * sysdeps/sparc/mempcpy.S: New file.
42574
42575 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42576 the IFUNC routine in the libc case.
42577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42578
42579 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42580 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42581 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42582 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42583 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42584 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42585 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42586 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42587
42588 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42589 loop to 256 bytes instead of 64 bytes and fix test signedness.
42590
42591 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42592 * sysdeps/sparc/sparc32/Makefile: rather than here...
42593 * sysdeps/sparc/sparc64/Makefile: and here.
42594
42595 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42596
42597 * malloc/mallocbug.c: Avoid warnings about unused variables.
42598
42599 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42600
42601 [BZ #13760]
42602 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42603 in the right place. Discard and retry query if response is
42604 larger than input buffer size.
42605
42606 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42607
42608 [BZ #369]
42609 [BZ #2678]
42610 [BZ #3866]
42611 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42612 x for large integer exponent.
42613 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42614 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42615 sign of result as needed afterwards.
42616 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42617 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42618 result for underflowing pow the same as for overflow.
42619 (__kernel_standard_l): Handle powl overflow and underflow here
42620 rather than calling __kernel_standard.
42621 * math/libm-test.inc (pow_test): Add more tests.
42622
42623 [BZ #3868]
42624 [BZ #13879]
42625 [BZ #13910]
42626 [BZ #13911]
42627 [BZ #13912]
42628 [BZ #13913]
42629 [BZ #13915]
42630 [BZ #13916]
42631 [BZ #13917]
42632 [BZ #13918]
42633 [BZ #13919]
42634 [BZ #13920]
42635 [BZ #13921]
42636 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42637 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42638 (__kernel_standard_l): New function.
42639 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42640 __kernel_standard.
42641 * math/w_acosl.c (__acosl): Likewise.
42642 * math/w_asinl.c (__asinl): Likewise.
42643 * math/w_atan2l.c (__atan2l): Likewise.
42644 * math/w_atanhl.c (__atanhl): Likewise.
42645 * math/w_coshl.c (__coshl): Likewise.
42646 * math/w_exp10l.c (__exp10l): Likewise.
42647 * math/w_exp2l.c (__exp2l): Likewise.
42648 * math/w_fmodl.c (__fmodl): Likewise.
42649 * math/w_hypotl.c (__hypotl): Likewise.
42650 * math/w_j0l.c (__j0l, __y0l): Likewise.
42651 * math/w_j1l.c (__j1l, __y1l): Likewise.
42652 * math/w_jnl.c (__jnl, __ynl): Likewise.
42653 * math/w_lgammal.c (__lgammal): Likewise.
42654 * math/w_log10l.c (__log10l): Likewise.
42655 * math/w_log2l.c (__log2l): Likewise.
42656 * math/w_logl.c (__logl): Likewise.
42657 * math/w_powl.c (__powl): Likewise.
42658 * math/w_remainderl.c (__remainderl): Likewise.
42659 * math/w_scalbl.c (sysv_scalbl): Likewise.
42660 * math/w_sinhl.c (__sinhl): Likewise.
42661 * math/w_sqrtl.c (__sqrtl): Likewise.
42662 * math/w_tgammal.c (__tgammal): Likewise.
42663 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42664 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42665 * math/libm-test.inc (acos_test): Add more tests.
42666 (acosh_test): Likewise.
42667 (asin_test): Likewise.
42668 (atanh_test): Likewise.
42669 (exp_test): Likewise.
42670 (exp10_test): Likewise.
42671 (exp2_test): Likewise.
42672 (expm1_test): Likewise.
42673 (lgamma_test): Likewise.
42674 (log_test): Likewise.
42675 (log10_test): Likewise.
42676 (log1p_test): Likewise.
42677 (log2_test): Likewise.
42678 (pow_test): Do not allow some spurious overflow exceptions.
42679 (sqrt_test): Add more tests.
42680 (tgamma_test): Likewise.
42681 (y0_test): Likewise.
42682 (y1_test): Likewise.
42683 (yn_test): Likewise.
42684
42685 2012-03-27 Anton Blanchard <anton@samba.org>
42686
42687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42688 MAP_HUGETLB.
42689 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42690 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42691 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42692
42693 2012-03-27 David S. Miller <davem@davemloft.net>
42694
42695 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42696
42697 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42698 have-as-vis3 check.
42699
42700 2012-03-27 Andreas Jaeger <aj@suse.de>
42701
42702 * sysdeps/x86_64/elf/configure.in: Moved to ...
42703 * sysdeps/x86_64/configure.in: ... here.
42704 * sysdeps/x86_64/elf/start.S: Moved to ...
42705 * sysdeps/x86_64/start.S: ... here.
42706 * sysdeps/x86_64/elf/configure: Delete.
42707
42708 * sysdeps/x86_64/configure.in: Merge contents from
42709 sysdeps/i386/configure.in (without i686 check).
42710
42711 * sysdeps/i386/elf/Versions: Merge into ...
42712 * sysdeps/i386/Versions: ... this.
42713 * sysdeps/i386/elf/Versions: Delete file.
42714 * sysdeps/i386/elf/start.S: Moved to ...
42715 * sysdeps/i386/start.S: ...here.
42716 * sysdeps/i386/elf/configure.in: Merge into...
42717 * sysdeps/i386/configure.in: ...here.
42718 * sysdeps/i386/elf/configure.in: Delete file.
42719 * sysdeps/i386/elf/configure: Delete file.
42720
42721 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42722 * debug/backtracesyms.c: ... here.
42723 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42724 * debug/backtracesymsfd.c: ... here.
42725 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42726 * sysdeps/generic/ifunc-sel.h: ... here.
42727
42728 * sysdeps/unix/i386/start.c: Delete file.
42729 * sysdeps/unix/sparc/start.c: Delete file.
42730 * sysdeps/unix/start.c: Delete file.
42731
42732 * sysdeps/sh/elf/configure.in: Moved to ...
42733 * sysdeps/sh/configure.in: ... here.
42734 * sysdeps/sh/elf/start.S: Moved to ...
42735 * sysdeps/sh/start.S: ... here.
42736 * sysdeps/sh/elf/configure: Delete file.
42737
42738 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42739 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42740 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42741 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42742 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42743 * sysdeps/powerpc/powerpc64/start.S: here.
42744 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42745 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42746 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42747 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42748 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42749
42750 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42751 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42752 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42753 * sysdeps/powerpc/powerpc32/start.S: ... here.
42754 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42755 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42756 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42757
42758 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42759 * sysdeps/powerpc/ifunc-sel.h: ... here.
42760 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42761 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42762
42763 * sysdeps/sparc/elf/configure.in: Moved to ...
42764 * sysdeps/sparc/configure.in: ... here.
42765 * sysdeps/sparc/elf/configure: Delete file.
42766 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42767 * sysdeps/sparc/sparc32/start.S: ... here.
42768 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42769 * sysdeps/sparc/sparc64/start.S: ... here.
42770 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42771 * sysdeps/sparc/sparc32/Makefile: ... this.
42772 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42773 * sysdeps/sparc/sparc64/Makefile: ... this.
42774
42775 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42776 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42777 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42778 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42779 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42780 * sysdeps/s390/s390-32/setjmp.S: ... here.
42781 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42782 * sysdeps/s390/s390-32/configure.in: ... here.
42783 * sysdeps/s390/s390-32/elf/configure: Delete file.
42784 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42785 * sysdeps/s390/s390-32/start.S: ... here.
42786
42787 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42788 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42789 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42790 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42791 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42792 * sysdeps/s390/s390-64/setjmp.S: ... here.
42793 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42794 * sysdeps/s390/s390-64/configure.in: ... here
42795 * sysdeps/s390/s390-64/elf/configure: Delete file.
42796 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42797 * sysdeps/s390/s390-64/start.S: ... here.
42798 * sysdeps/s390/s390-64/elf/configure: Delete.
42799
42800 * configure.in: Remove support for elf directories in sysdeps.
42801
42802 * configure: Regenerated.
42803 * sysdeps/i386/configure: Regenerated.
42804 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42805 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42806 * sysdeps/s390/s390-32/configure: Regenerated.
42807 * sysdeps/s390/s390-64/configure: Regenerated.
42808 * sysdeps/sh/configure: Regenerated.
42809 * sysdeps/sparc/configure: Regenerated.
42810 * sysdeps/x86_64/configure: Regenerated.
42811
42812 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42813
42814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42815
42816 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42817 denormal result into account.
42818
42819 2012-03-25 Roland McGrath <roland@hack.frob.com>
42820
42821 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42822 Reported by Allan McRae <allan@archlinux.org>.
42823
42824 2012-03-23 Jeff Law <law@redhat.com>
42825
42826 * nss/getnssent.c (__nss_getent): Fix typo.
42827
42828 2012-03-23 David S. Miller <davem@davemloft.net>
42829
42830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42831
42832 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42833
42834 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42835 to pad to uint64_t for each field.
42836 (dl_tls_index): Replace unsigned long with uint64_t.
42837
42838 2012-03-23 Daniel Jacobowitz <dmj@google.com>
42839 Paul Pluzhnikov <ppluzhnikov@google.com>
42840
42841 [BZ #6528]
42842 * grp/Makefile (otherlibs): Don't set it.
42843 * inet/Makefile (otherlibs): Likewise.
42844 * login/Makefile (otherlibs): Likewise.
42845 * nscd/Makefile (otherlibs): Likewise.
42846 * posix/Makefile (otherlibs): Likewise.
42847 * pwd/Makefile (otherlibs): Likewise.
42848 * rt/Makefile (otherlibs): Likewise.
42849 * sunrpc/Makefile (otherlibs): Likewise.
42850 * nss/Makefile (otherlibs): Likewise.
42851 Add libnss_files to routines and static-only-routines.
42852 ($(objpfx)getent): Remove rule.
42853 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42854 static-only-routines.
42855
42856 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42857
42858 [BZ #13892]
42859 * math/s_cexp.c: Include <float.h>.
42860 (__cexp): Handle exp result overflowing not necessarily
42861 overflowing both real and imaginary parts of result.
42862 * math/s_cexpf.c: Likewise.
42863 * math/s_cexpl.c: Likewise.
42864 * math/libm-test.inc (cexp_test): Add more tests.
42865 * sysdeps/i386/fpu/libm-test-ulps: Update.
42866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42867
42868 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42869
42870 * include/link.h (ELFW): New macro.
42871 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42872 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42873
42874 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42875
42876 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42877 with uint64_t.
42878
42879 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42880
42881 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42882 declaration.
42883 (struct La_x32_retval): Likewise.
42884
42885 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42886
42887 * sysdeps/x86_64/preconfigure.in: New file.
42888 * sysdeps/x86_64/preconfigure: New generated file.
42889
42890 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42891
42892 [BZ #13824]
42893 * math/e_exp2l.c: Include <float.h>.
42894 (__ieee754_exp2l): Handle overflow and underflow cases
42895 separately. Only pass fractional part of argument to
42896 __ieee754_expl.
42897 * math/libm-test.inc (exp2_test): Add more tests.
42898
42899 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42900 negating x to take absolute value.
42901 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42902 Likewise.
42903 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42904 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42905 Likewise.
42906 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42907 computing low part if x was negated.
42908 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42909
42910 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42911
42912 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42913 la_x32_gnu_pltexit.
42914 (pltexit): Cast int_retval to ptrdiff_t.
42915 * elf/tst-auditmod3b.c: Likewise.
42916 * elf/tst-auditmod4b.c: Likewise.
42917 * elf/tst-auditmod5b.c: Likewise.
42918 * elf/tst-auditmod6b.c: Likewise.
42919 * elf/tst-auditmod6c.c: Likewise.
42920 * elf/tst-auditmod7b.c: Likewise.
42921
42922 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42923 and x32_gnu_pltexit.
42924
42925 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42926 __ELF_NATIVE_CLASS.
42927 (La_x32_regs): New macro.
42928 (La_x32_retval): Likewise.
42929 (la_x32_gnu_pltenter): New function prototype.
42930 (la_x32_gnu_pltexit): Likewise.
42931
42932 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42933
42934 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42935 exponent.
42936
42937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42938
42939 * configure.in (libc_cv_cc_nofma): Check for option to disable
42940 generation of FMA instructions.
42941 * configure: Regenerate.
42942 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42943 * sysdeps/ieee754/dbl-64/Makefile: New file.
42944 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42945 Remove brandred-fma4.
42946 (CFLAGS-brandred-fma4.c): Remove.
42947 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42948 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42949 define.
42950 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42951 define.
42952
42953 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42954
42955 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42956 LLONG_MAX != LONG_MAX.
42957 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42958 (_fitoa_word): Likewise.
42959 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42960 LLONG_MAX != LONG_MAX.
42961 * stdio-common/_itowa.h: Include <_itoa.h>.
42962 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42963 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42964 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42965 only if not defined.
42966 (_ITOA_WORD_TYPE): Likewise.
42967 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42968 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42969
42970 2012-03-21 David S. Miller <davem@davemloft.net>
42971
42972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42973
42974 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42975
42976 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42977 of x86_64 when setting libc_cv_slibdir, libdir and
42978 libc_cv_localedir.
42979 * sysdeps/unix/sysv/linux/configure: Regenerated.
42980
42981 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42982
42983 * manual/lang.texi (Old Varargs): Remove section.
42984 (How Variadic): Update menu.
42985 (va_start): Do not mention varargs.h.
42986
42987 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42988 Joseph Myers <joseph@codesourcery.com>
42989
42990 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42991 link test.
42992 * configure: Regenerated.
42993
42994 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42995
42996 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42997 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42998 conformtest.pl
42999
43000 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43001
43002 * NOTES: Remove.
43003 * Makefile (files-for-dist): Remove NOTES.
43004 (NOTES): Remove rule.
43005 * README: Don't refer to NOTES.
43006 * manual/creature.texi: Don't include macros.texi.
43007 * manual/intro.texi (creature.texi): Remove comment referring to
43008 NOTES.
43009
43010 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43011 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43012 * configure: Regenerated.
43013 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43014 LIBC_TRY_CC_OPTION.
43015 (libc_cv_as_i686): Likewise.
43016 (libc_cv_cc_avx): Likewise.
43017 (libc_cv_cc_sse2avx): Likewise.
43018 (libc_cv_cc_fma4): Likewise.
43019 (libc_cv_cc_novzeroupper): Likewise.
43020 * sysdeps/i386/configure: Regenerated.
43021
43022 [BZ #13883]
43023 * sysdeps/i386/fpu/s_cexp.S: Remove.
43024 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43025 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43026 * math/libm-test.inc (cexp_test): Add more tests.
43027 * sysdeps/i386/fpu/libm-test-ulps: Update.
43028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43029
43030 2012-03-21 Allan McRae <allan@archlinux.org>
43031
43032 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43033
43034 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43035
43036 [BZ #13871]
43037 * math/w_exp2.c: Do not include <float.h>.
43038 (o_threshold, u_threshold): Remove.
43039 (__exp2): Calculate result before checking finiteness and calling
43040 __kernel_standard.
43041 * math/w_exp2f.c: Likewise.
43042 * math/w_exp2l.c: Likewise.
43043 * math/libm-test.inc (exp2_test): Require overflow exception for
43044 1e6 input.
43045
43046 [BZ #3866]
43047 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43048 range of signed 64-bit integers before using fistpll. Remove
43049 checks for whether integers fit in mantissa bits.
43050 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43051 the range of signed 32-bit integers before using fistpl. Remove
43052 checks for whether integers fit in mantissa bits.
43053 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43054 (__ieee754_powl): Test for y outside the range of signed 64-bit
43055 integers before using fistpll. Reduce 64-bit values to 63-bit
43056 ones as needed.
43057 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43058 divide-by-zero is raised for zero to large negative powers.
43059 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43060 (__ieee754_powl): Test for y outside the range of signed 64-bit
43061 integers before using fistpll. Reduce 64-bit values to 63-bit
43062 ones as needed.
43063 * math/libm-test.inc (pow_test): Add more tests.
43064
43065 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43066
43067 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43068 <stdio-common/_itoa.h>.
43069 * debug/segfault.c: Likewise.
43070 * elf/dl-cache.c: Likewise.
43071 * elf/dl-minimal.c: Likewise.
43072 * elf/dl-misc.c: Likewise.
43073 * elf/dl-sysdep.c: Likewise.
43074 * elf/dl-version.c: Likewise.
43075 * elf/rtld.c: Likewise.
43076 * hurd/hurdsock.c: Likewise.
43077 * hurd/lookup-retry.c: Likewise.
43078 * malloc/malloc.c: Likewise.
43079 * malloc/mtrace.c: Likewise.
43080 * nscd/nscd_getgr_r.c: Likewise.
43081 * nscd/nscd_getpw_r.c: Likewise.
43082 * nscd/nscd_getserv_r.c: Likewise.
43083 * posix/getopt_init.c: Likewise.
43084 * posix/wordexp.c: Likewise.
43085 * stdio-common/_itoa.c: Likewise.
43086 * stdio-common/printf_fphex.c: Likewise.
43087 * stdio-common/vfprintf.c: Likewise.
43088 * string/_strerror.c: Likewise.
43089 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43090 * sysdeps/i386/i686/hp-timing.h: Likewise.
43091 * sysdeps/mach/_strerror.c: Likewise.
43092 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43093 * sysdeps/mach/hurd/sethostid.c: Likewise.
43094 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43095 * sysdeps/mach/xpg-strerror.c: Likewise.
43096 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43097 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43098 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43099 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43100 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43101 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43102 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43103 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43104 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43105 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43106 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43107 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43108 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43109 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43110 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43111 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43112 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43113 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43114 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43115 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43116 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43117
43118 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43119
43120 * stdio-common/_itoa.h: Moved to ...
43121 * sysdeps/generic/_itoa.h: Here.
43122
43123 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43124
43125 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43126 instead of "_itoa.h" and "_itowa.h".
43127 * stdio-common/vfprintf.: Likewise.
43128
43129 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43130
43131 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43132 <bits/wordsize.h>.
43133 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43134 (__signbit): Likwise.
43135 (llrintf): Likwise.
43136 (llrint): Likwise.
43137
43138 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43139
43140 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43141 __WORDSIZE != 64.
43142
43143 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43144
43145 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43146 OVERFLOW_EXCEPTION_OK.
43147 * math/libm-test.inc ("Philosophy"): Update comment about
43148 exception testing.
43149 (OVERFLOW_EXCEPTION): Define.
43150 (OVERFLOW_EXCEPTION_OK): Likewise.
43151 (INVALID_EXCEPTION_OK): Renumber.
43152 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43153 (IGNORE_ZERO_INF_SIGN): Likewise.
43154 (test_exceptions): Handle FE_OVERFLOW.
43155 (exp10_test): Expect overflow exceptions.
43156 (exp2_test): Likewise.
43157 (expm1_test): Likewise.
43158 (nextafter_test): Likewise.
43159 (pow_test): Likewise.
43160 (scalbn_test): Likewise.
43161 (scalbln_test): Likewise.
43162
43163 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43164
43165 * sysdeps/x86_64/bits/atomic.h
43166 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43167 64bit integer.
43168 (atomic_exchange_acq): Likewise.
43169 (__arch_exchange_and_add_body): Likewise.
43170 (__arch_add_body): Likewise.
43171 (atomic_add_negative): Likewise.
43172 (atomic_add_zero): Likewise.
43173
43174 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43175
43176 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43177 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43178
43179 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43180
43181 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43182 Check __x86_64__ instead of __WORDSIZE.
43183
43184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43185
43186 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43187
43188 2012-03-19 David S. Miller <davem@davemloft.net>
43189
43190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43191
43192 * sysdeps/sparc/fpu/fenv_private.h: New file.
43193 * sysdeps/sparc/fpu/math_private.h: Use it.
43194 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43195 Remove.
43196 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43197 (libc_feholdexcept_setroundl): Remove.
43198 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43199 Remove.
43200 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43201 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43202
43203 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43204
43205 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43206 int64_t instead of long int.
43207 (INSERT_WORDS64): Likwise.
43208
43209 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43210
43211 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43212 _Unwind_GetCFA return to _Unwind_Ptr first.
43213
43214 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43215
43216 [BZ #13629]
43217 * math/s_clog.c: Include <float.h>.
43218 (__clog): Scale large or subnormal inputs.
43219 * math/s_clogf.c: Likewise.
43220 * math/s_clogl.c: Likewise.
43221 * math/s_clog10.c: Include <float.h>.
43222 (M_LOG10_2): Define.
43223 (__clog10): Scale large or subnormal inputs.
43224 * math/s_clog10f.c: Likewise.
43225 * math/s_clog10l.c: Likewise.
43226 * math/libm-test.inc (clog_test): Add more tests.
43227 (clog10_test): Likewise.
43228 * sysdeps/i386/fpu/libm-test-ulps: Update.
43229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43230
43231 [BZ #11451]
43232 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43233 x and y.
43234 * math/libm-test.inc (atan2_test): Add another test.
43235
43236 * Makerules (common-objdir-compile): Remove.
43237 * sysdeps/unix/Makefile (config-generated): Do not add
43238 $(unix-generated) to variable.
43239 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43240 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43241 Remove rule.
43242 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43243 Likewise.
43244 [generic bits/local_lim.h] (before-compile): Do not append to
43245 variable.
43246 [generic bits/local_lim.h] (common-generated): Likewise.
43247 [generic sys/param.h] (before-compile): Do not append to variable.
43248 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43249 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43250 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43251 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43252 include.
43253 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43254 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43255 [generic sys/param.h] ($(addprefix
43256 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43257 [generic sys/param.h] (common-generated): Do not append to
43258 variable.
43259 [generic sys/param.h] (sysdep_headers): Likewise.
43260 [generic bits/errno.h] (before-compile): Do not append to
43261 variable.
43262 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43263 rule.
43264 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43265 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43266 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43267 [generic bits/errno.h] (common-generated): Do not append to
43268 variable.
43269 [generic bits/ioctls.h] (before-compile): Do not append to
43270 variable.
43271 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43272 rule.
43273 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43274 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43275 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43276 rule.
43277 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43278 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43279 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43280 [generic bits/ioctls.h] (common-generated): Do not append to
43281 variable.
43282 [generic sys/syscall.h] (syscall.h): Remove variable.
43283 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43284 rule.
43285 [generic sys/syscall.h] (before-compile): Do not append to
43286 variable.
43287 [generic sys/syscall.h] (common-generated): Likewise.
43288 * sysdeps/unix/errnos-tmpl.c: Remove file.
43289 * sysdeps/unix/errnos.awk: Likewise.
43290 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43291 * sysdeps/unix/ioctls.awk: Likewise.
43292 * sysdeps/unix/mk-local_lim.c: Likewise.
43293 * sysdeps/unix/snarf-ioctls: Likewise.
43294
43295 2012-03-19 Richard Henderson <rth@twiddle.net>
43296
43297 * sysdeps/i386/fpu/fenv_private.h: New file.
43298 * sysdeps/i386/fpu/math_private.h: Use it.
43299 (math_opt_barrier, math_force_eval): Remove.
43300 (libc_feholdexcept_setround_53bit): Remove.
43301 (libc_feupdateenv_53bit): Remove.
43302 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43303 (math_opt_barrier, math_force_eval): Remove.
43304 (libc_feholdexcept): Remove.
43305 (libc_feholdexcept_setround): Remove.
43306 (libc_fetestexcept, libc_fesetenv): Remove.
43307 (libc_feupdateenv_test): Remove.
43308 (libc_feupdateenv, libc_feholdsetround): Remove.
43309 (libc_feresetround): Remove.
43310
43311 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43312 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43313
43314 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43315 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43316 (libc_feupdateenv_testl): New.
43317 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43318 (libc_feupdateenv_testf): New.
43319 (libc_feupdateenv): Use libc_feupdateenv_test.
43320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43321 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43322
43323 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43324 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43325 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43326 (libc_feresetround_noex): New.
43327 (libc_feresetround_noexf): New.
43328 (libc_feresetround_noexl): New.
43329 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43330 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43331 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43332 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43333 SET_RESTORE_ROUND.
43334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43335 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43336 (__cos): Likewise.
43337 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43338 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43339 SET_RESTORE_ROUND_NOEX.
43340 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43341 SET_RESTORE_ROUND_NOEXF.
43342 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43343 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43344 (libc_feholdsetroundf): New.
43345 (libc_feresetround, libc_feresetroundf): New.
43346
43347 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43348 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43349 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43350
43351 * sysdeps/generic/math_private.h: Include <fenv.h>.
43352 (default_libc_feholdexcept): New.
43353 (default_libc_feholdexcept_setround): New.
43354 (default_libc_fesetenv, default_libc_feupdateenv): New.
43355 (libc_feholdexcept): Only define if undefined.
43356 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43357 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43358 (libc_feholdexcept_setroundl): Likewise.
43359 (libc_feholdexcept_setround_53bit): Likewise.
43360 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43361 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43362 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43363 (libc_feupdateenv_53bit): Likewise.
43364 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43365 (libc_feholdexcept): Convert from macro to inline function.
43366 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43367 (libc_fesetenv, libc_feupdateenv): Likewise.
43368
43369 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43370 not previously defined.
43371 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43372 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43373 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43374 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43375 * sysdeps/ieee754/flt-32/math_private.h: New file.
43376 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43377 math_private.h below SET_FLOAT_WORD.
43378 (__isnan, __isinf_ns, __finite): Remove.
43379 (__isnanf, __isinf_nsf, __finitef): Remove.
43380
43381 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43382
43383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43384
43385 2012-03-17 David S. Miller <davem@davemloft.net>
43386
43387 [BZ #6471]
43388 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43389 for 2.16.
43390
43391 2012-03-16 David S. Miller <davem@davemloft.net>
43392
43393 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43394 warnings.
43395
43396 [BZ #6471]
43397 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43398 properly.
43399 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43400 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43401 sysdep_routines when subdir is sysvipc.
43402 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43403 __getshmlba helper.
43404
43405 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43406
43407 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43408
43409 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43410 [__LP64__].
43411
43412 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43413
43414 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43415 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43416 (__lround): Renamed to ...
43417 (__llround): This. Replace long int with long long int.
43418 Define lround functions as aliases of llround functions.
43419 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43420
43421 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43422
43423 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43424 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43425 adresses to uintptr_t. Replace "long int" and "unsigned long
43426 int" with "greg_t" on va_arg.
43427
43428 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43429
43430 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43431 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43432
43433 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43434 Move e_machine check before EI_CLASS check. Handle x32
43435 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43436 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43437 SKIP_EM_IA_64 and include
43438 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43439
43440 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43441 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43442 (add_system_dir): New macro.
43443
43444 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43445 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43446
43447 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43448
43449 [BZ #2551]
43450 [BZ #2552]
43451 [BZ #2553]
43452 [BZ #2554]
43453 [BZ #2562]
43454 [BZ #2563]
43455 [BZ #2565]
43456 [BZ #2566]
43457 [BZ #2576]
43458 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43459 (y0): Likewise.
43460 * math/w_j0f.c (j0f): Likewise.
43461 (y0f): Likewise.
43462 * math/w_j0l.c (__j0l): Likewise.
43463 (__y0l): Likewise.
43464 * math/w_j1.c (j1): Likewise.
43465 (y1): Likewise.
43466 * math/w_j1f.c (j1f): Likewise.
43467 (y1f): Likewise.
43468 * math/w_j1l.c (__j1l): Likewise.
43469 (__y1l): Likewise.
43470 * math/w_jn.c (jn): Likewise.
43471 (yn): Likewise.
43472 * math/w_jnf.c (jnf): Likewise.
43473 (ynf): Likewise.
43474 * math/w_jnl.c (__jnl): Likewise.
43475 (__ynl): Likewise.
43476 * math/libm-test.inc (j0_test): Add more tests.
43477 (j1_test): Likewise.
43478 (jn_test): Likewise. Add trailing semicolon to existing test.
43479 (y0_test): Likewise.
43480 (y1_test): Likewise.
43481 * sysdeps/i386/fpu/libm-test-ulps: Update.
43482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43483
43484 [BZ #13851]
43485 [BZ #13854]
43486 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43487 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43488 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43489 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43490 (__tanl): Set errno for infinite argument.
43491 * sysdeps/i386/fpu/mptan.c: Remove.
43492 * sysdeps/i386/fpu/s_tan.S: Likewise.
43493 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43494 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43495 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43496 * math/libm-test.inc (tan_test): Add more tests and enable more
43497 tests for double and long double.
43498 * sysdeps/i386/fpu/libm-test-ulps: Update.
43499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43500
43501 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43502
43503 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43504 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43505
43506 2012-03-16 Roland McGrath <roland@hack.frob.com>
43507
43508 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43509 * configure.in: Use it for both main tree and add-ons.
43510 * configure: Regenerated.
43511
43512 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43513
43514 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43515
43516 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43517
43518 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43519 in comment.
43520
43521 [BZ #13851]
43522 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43523 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43524 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43525 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43526 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43527 infinite argument.
43528 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43529 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43530 != 0 for prec == 2.
43531 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43532 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43533 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43534 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43535 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43536 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43537 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43538 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43539 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43540 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43541 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43542 * math/libm-test.inc (cos_test): Add more tests and enable more
43543 tests for long double.
43544 (sin_test): Likewise.
43545 (sincos_test): Likewise.
43546 * sysdeps/i386/fpu/libm-test-ulps: Update.
43547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43548
43549 2012-03-16 David S. Miller <davem@davemloft.net>
43550
43551 * sysdeps/sparc/fpu/math_private.h: New file.
43552
43553 2012-03-15 David S. Miller <davem@davemloft.net>
43554
43555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43556 file.
43557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43559 file.
43560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43565 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43566 sysdep routines.
43567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43568
43569 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43570 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43571
43572 * sysdeps/sparc/sparc-ifunc.h: New file.
43573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43574 sparc-ifunc.h
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43577 Likewise.
43578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43579 Likewise.
43580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43584 Likewise.
43585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43590 Likewise.
43591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43592 Likewise.
43593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43617
43618 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43619
43620 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43621 scaling.
43622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43623
43624 2012-03-15 Andreas Jaeger <aj@suse.de>
43625
43626 [BZ #13852]
43627 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43628 ieee754/flt-32 implementation for sin, cos and sincos.
43629 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43630 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43631 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43632 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43633 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43634 ieee754/flt-32 implementation for tan.
43635
43636 * math/libm-test.inc (cos_test): Enable some large input tests for
43637 float as well
43638 (sin_test): Likewise.
43639 (sincos_test): Likewise.
43640 (tan_test): Add tests for large input.
43641
43642 * sysdeps/i386/fpu/libm-test-ulps: Update.
43643
43644 2012-03-15 Andreas Jaeger <aj@suse.de>
43645
43646 [BZ #13658]
43647 * math/libm-test.inc (cos_test): Add more test cases.
43648 (sin_test): Likewise.
43649 (sincos_test): Likewise.
43650
43651 2012-03-15 Andreas Jaeger <aj@suse.de>
43652
43653 [BZ #13837]
43654 * math/libm-test.inc (cos_test): Add a test case for large input
43655 value.
43656 (sin_test): Likewise.
43657 (sincos_test): Likewise.
43658
43659 2012-03-15 Andreas Jaeger <aj@suse.de>
43660 Joseph Myers <joseph@codesourcery.com>
43661
43662 [BZ #13658]
43663 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43664 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43665 * sysdeps/i386/fpu/branred.c: Likewise.
43666 * sysdeps/i386/fpu/dosincos.c: Likewise.
43667 * sysdeps/i386/fpu/mpa.c: Likewise.
43668 * sysdeps/i386/fpu/s_cos.S: Likewise.
43669 * sysdeps/i386/fpu/s_sin.S: Likewise.
43670 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43671 * sysdeps/i386/fpu/sincos32.c: Likewise.
43672
43673 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43674 Define.
43675 (libc_feupdateenv_53bit): Define.
43676 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43677 Define.
43678 (libc_feupdateenv_53bit): Define.
43679
43680 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43681 53 bit (without extend i386 double precision).
43682
43683 * math/libm-test.inc (sincos_test): Add tests for large input.
43684 (sin): Likewise.
43685 (cos): Likewise.
43686
43687 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43688
43689 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43690
43691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43692
43693 2012-03-15 David S. Miller <davem@davemloft.net>
43694
43695 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43696 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43697 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43698 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43711 file.
43712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43714 file.
43715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43717 file.
43718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43720 file.
43721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43722 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43723 fmin/fmax sysdep routines.
43724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43725
43726 2012-03-14 David S. Miller <davem@davemloft.net>
43727
43728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43757 routines.
43758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43759 file.
43760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43762 file.
43763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43765 file.
43766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43768 file.
43769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43771 file.
43772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43774 file.
43775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43776 file.
43777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43778 file.
43779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43780 file.
43781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43782 New file.
43783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43784 file.
43785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43786 file.
43787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43789 file.
43790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43792 file.
43793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43795 file.
43796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43798 VIS3 routines.
43799
43800 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43801 New file.
43802
43803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43804
43805 * sysdeps/sparc/configure.in: New file.
43806 * sysdeps/sparc/configure: Generate.
43807 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43808 * configure: Regenerate.
43809 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43810 * config.make.in (have-as-vis3): New.
43811 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43812 available use -Av9d instead of -Av9a.
43813 * sysdeps/sparc/sparc64/Makefile: Likewise.
43814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43816 New file.
43817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43818 file.
43819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43820 New file.
43821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43822 file.
43823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43828
43829 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43830 fzeros/fnegs to load 0x80000000 into a float register instead of
43831 using the stack.
43832 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43833
43834 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43835
43836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43837 bits/syscall.h.
43838 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43839 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43840 ($(inst_includedir)/bits/syscall.h): Remove rule.
43841 ($(objpfx)bits/syscall.d): Include instead of
43842 $(objpfx)syscall-list.d.
43843 (generated): Change syscall-list.h and syscall-list.d to
43844 bits/syscall.h and bits/syscall.d.
43845
43846 2012-03-14 Roland McGrath <roland@hack.frob.com>
43847
43848 [BZ #13846]
43849 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43850
43851 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43852
43853 [BZ #13841]
43854 * math/s_csqrt.c: Include <float.h>.
43855 (__csqrt): Scale large or subnormal inputs.
43856 * math/s_csqrtf.c: Likewise.
43857 * math/s_csqrtl.c: Likewise.
43858 * math/libm-test.inc (csqrt_test): Add more tests.
43859 * sysdeps/i386/fpu/libm-test-ulps: Update.
43860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43861
43862 [BZ #13840]
43863 * math/libm-test.inc (hypot_test): Add more tests.
43864
43865 2012-03-13 David S. Miller <davem@davemloft.net>
43866
43867 [BZ #13840]
43868 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43869 double-precision for the calculation instead of scaling.
43870
43871 2012-03-13 Joseph Myers <joseph@codesourcery.com>
43872
43873 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43874 manipulate bits before adding and subtracting TWO52[sx].
43875 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43876 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43877 Likewise.
43878 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43879
43880 2012-03-13 David S. Miller <davem@davemloft.net>
43881
43882 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43883 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43885 rtld-global-offsets.h
43886 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43887
43888 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43889 large parameters.
43890
43891 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43892
43893 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43894 'err' in the ifdef scope in which it is actually used.
43895
43896 * nss/nss_db/db-init.c: Include string.h
43897
43898 2012-03-12 David S. Miller <davem@davemloft.net>
43899
43900 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43901 masking out of the most significant byte of random value used.
43902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43903 Fix coding style in previous change.
43904
43905 * sysdeps/unix/sysv/linux/kernel-features.h
43906 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43907 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43908 expression.
43909 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43910 later.
43911
43912 2012-03-11 David S. Miller <davem@davemloft.net>
43913
43914 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43915 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43916 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43917 for 'resultvar' otherwise things get truncated on 64-bit.
43918
43919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43920 Fix masking out of the most significant byte of random value used.
43921
43922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43923
43924 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43925
43926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43927
43928 2012-03-09 David S. Miller <davem@davemloft.net>
43929
43930 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43931 variables with appropriate CPP guards.
43932 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43933 from the frame pointer, not the stack pointer. Correct layout
43934 comments. Fix test on resulting framesize and the management of
43935 the outregs buffer for pltexit. Preserve floating point return
43936 values across _dl_call_pltexit call.
43937 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43938 framesize and the management of the outregs buffer for pltexit.
43939 Preserve floating point return values across _dl_call_pltexit
43940 call.
43941 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43942 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43943 (la_sparc64_gnu_pltexit): New functions.
43944 (print_exit): Fix format string for return register value.
43945
43946 2012-03-10 Joseph Myers <joseph@codesourcery.com>
43947
43948 * sunrpc/Makefile (others): Add rpcgen.
43949 ($(objpfx)rpcgen): Remove special build rule and dependency on
43950 libc.
43951 * sunrpc/rpcgen.c: New file.
43952
43953 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43954
43955 [BZ #13673]
43956 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43957 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43958 * sysdeps/i386/crti.S: Likewise.
43959 * sysdeps/i386/crtn.S: Likewise.
43960 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43961 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43962 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43963 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43964 * sysdeps/sh/crti.S: Likewise.
43965 * sysdeps/sh/crtn.S: Likewise.
43966 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43967
43968 [BZ #13673]
43969 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43970 with URL.
43971 * locale/programs/locfile-kw.gperf: Likewise.
43972 * locale/programs/charmap-kw.h: Regenerated.
43973 * locale/programs/locfile-kw.h: Likewise.
43974
43975 [BZ #13673]
43976 * intl/plural.y: Replace FSF snail mail address with URL.
43977 * intl/plural.c: Regenerated.
43978
43979 2012-03-09 Richard Henderson <rth@twiddle.net>
43980
43981 * include/math_private.h: Remove file.
43982 * math/math_private.h: Move file ...
43983 * sysdeps/generic/math_private.h: ... here.
43984
43985 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43986 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43987 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43988
43989 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43990 and <math_private.h>.
43991 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43992 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43993 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43994 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43995 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43996 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43997 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44000 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44002 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44003 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44005 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44016 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44017 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44040 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44041 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44042 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44043 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44044 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44045 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44046 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44047 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44048 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44049 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44050 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44051 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44054 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44055 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44059 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44062 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44063 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44064 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44068 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44070 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44071 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44072 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44073 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44074 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44075 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44078 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44079 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44080 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44081 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44082 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44084 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44085 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44086 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44088 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44091 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44092 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44093 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44094 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44095 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44096 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44097 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44098 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44099 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44101 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44102 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44103 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44104 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44105 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44106 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44107 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44108 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44109 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44110 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44111 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44112 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44113 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44114 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44115 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44116 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44117 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44118 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44119 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44120 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44121 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44122 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44124 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44125 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44126 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44128 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44129 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44130 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44131 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44132 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44133 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44134 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44135 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44136 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44137 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44138 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44139 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44140 * sysdeps/ieee754/k_standard.c: Likewise.
44141 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44142 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44145 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44146 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44169 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44172 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44174 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44175 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44177 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44181 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44182 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44184 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44185 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44186 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44192 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44193 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44194 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44197 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44198 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44199 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44202 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44203 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44204 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44207 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44208 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44209 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44210 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44211 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44213 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44214 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44215 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44216 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44217 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44218 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44220 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44221 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44222 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44223 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44224 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44225 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44226 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44227 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44228 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44229 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44231 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44232 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44233 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44234 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44235 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44237 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44238 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44239 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44240 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44242 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44243 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44244 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44245 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44246 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44247 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44248 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44249 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44250 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44252 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44253 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44254 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44255 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44256 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44257 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44258 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44259 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44260 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44261 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44262 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44263 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44264 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44266 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44267 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44268 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44269 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44270 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44271 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44272 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44273 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44274 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44275 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44276 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44277 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44278 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44279 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44280 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44281 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44282 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44283 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44284 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44285 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44286 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44287 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44288 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44289 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44290 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44291 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44292 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44293 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44294 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44295 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44296 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44297 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44298 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44299 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44300 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44301 * sysdeps/ieee754/s_lib_version.c: Likewise.
44302 * sysdeps/ieee754/s_matherr.c: Likewise.
44303 * sysdeps/ieee754/s_signgam.c: Likewise.
44304 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44305 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44306 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44307 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44308 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44309 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44310 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44311 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44312 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44313 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44314 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44315 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44316 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44317 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44318 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44319 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44320 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44321 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44322 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44325
44326 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44327
44328 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44329 * sunrpc/rpc_main.c: Likewise.
44330 * sunrpc/rpc_svcout.c: Likewise.
44331
44332 2012-03-09 David S. Miller <davem@davemloft.net>
44333
44334 * include/math_private.h: New file.
44335
44336 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44337
44338 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44339 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44340 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44341 from <bits/socket_type.h>.
44342 (enum __socket_type): Don't define here.
44343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44345 bits/socket_type.h.
44346
44347 [BZ #13566]
44348 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44349 checking __USE_GNU.
44350
44351 * Makerules ($(inst_includedir)/%.h): New rule.
44352 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44353 (install-others): Remove variable setting.
44354 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44355
44356 2012-03-08 Richard Henderson <rth@twiddle.net>
44357
44358 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44359 from macro to inline function; merge with the
44360 !__LIBC_INTERNAL_MATH_INLINES version.
44361 (__ieee754_sqrtf): Likewise.
44362
44363 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44364 to inline function.
44365 (__rintf, __floor, __floorf): Likewise.
44366
44367 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44368 macro to inline function.
44369 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44370
44371 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44372 not <math/math_private.h>.
44373
44374 2012-03-08 David S. Miller <davem@davemloft.net>
44375
44376 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44377 copyright year.
44378 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44379
44380 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44381
44382 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44383 normalization.
44384 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44385 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44386
44387 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44388
44389 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44390 be defined individually, they must be defined as a block. Define
44391 S for printing a string instead of hidint the different by using a
44392 macro for adding the 'l'.
44393 * stdio-common/tst-fphex-wide.c: Adjust.
44394
44395 2012-03-07 Marek Polacek <polacek@redhat.com>
44396
44397 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44398
44399 2012-03-08 Marek Polacek <polacek@redhat.com>
44400
44401 [BZ #13806]
44402 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44403 * stdio-common/tst-fphex.c: Define a few macros to make the
44404 test reusable. Use them.
44405 * stdio-common/tst-fphex-wide.c: New file.
44406
44407 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44408
44409 [BZ #6911]
44410 * manual/macros.texi (gnusystems): New macro.
44411 (nongnusystems): Likewise.
44412 (gnulinuxhurdsystems): Likewise.
44413 (gnuhurdsystems): Likewise..
44414 (gnulinuxsystems): Likewise.
44415 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44416 variants of the GNU system, not "GNU system".
44417 * manual/conf.texi: Likewise.
44418 * manual/errno.texi: Likewise. Update example of errno macro
44419 expansion.
44420 * manual/filesys.texi: Likewise.
44421 (getumask): Document as specific to GNU/Hurd.
44422 * manual/install.texi: Likewise. Reword some references to
44423 GNU/Linux.
44424 * manual/intro.texi: Likewise.
44425 * manual/io.texi: Likewise.
44426 (File Name Portability): Detail which constraints are inapplicable
44427 to all GNU systems and which are only inapplicable to GNU/Hurd.
44428 * manual/job.texi: Likewise.
44429 * manual/llio.texi: Likewise.
44430 (O_NOCTTY): Document as present on GNU/Linux.
44431 * manual/maint.texi: Likewise.
44432 * manual/memory.texi: Likewise.
44433 * manual/pattern.texi: Likewise.
44434 * manual/pipe.texi: Likewise.
44435 * manual/process.texi: Likewise.
44436 * manual/resource.texi: Likewise.
44437 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44438 child on GNU/Hurd.
44439 * manual/setjmp.texi: Likewise.
44440 * manual/signal.texi: Likewise.
44441 * manual/startup.texi: Likewise.
44442 * manual/stdio.texi: Likewise.
44443 * manual/terminal.texi: Likewise.
44444 (ONLCR): Document as POSIX.
44445 (OXTABS): Document availability on GNU/Linux as XTABS.
44446 (ONOEOT): Document availability separately from other bits.
44447 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44448 * manual/time.texi: Likewise.
44449 * manual/users.texi: Likewise.
44450 * INSTALL: Regenerated.
44451 * sysdeps/gnu/errlist.c: Regenerated.
44452
44453 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44454 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44455 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44456 puts.
44457 * configure: Regenerated.
44458
44459 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44460
44461 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44462 default includes instead of AC_HEADER_CHECK.
44463 * sysdeps/i386/configure: Regenerated.
44464
44465 [BZ #10716]
44466 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44467 * math/s_cacoshf.c (__cacoshf): Likewise.
44468 * math/s_cacoshl.c (__cacoshl): Likewise.
44469 * math/s_casinh.c (__casinh): Set signs of result from argument.
44470 * math/s_casinhf.c (__casinhf): Likewise.
44471 * math/s_casinhl.c (__casinhl): Likewise.
44472 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44473 (casinh_test): Add more tests.
44474 * sysdeps/i386/fpu/libm-test-ulps: Update.
44475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44476
44477 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44478
44479 * po/zh_TW.po: Update from translation team.
44480
44481 * login/Makefile (distribute): Remove variable.
44482 * catgets/Makefile: Likewise.
44483 * mach/Makefile: Likewise.
44484 * malloc/Makefile: Likewise.
44485 * misc/Makefile: Likewise.
44486 * iconv/Makefile: Likewise.
44487 * nscd/Makefile: Likewise.
44488 * hurd/Makefile: Likewise.
44489 * manual/Makefile: Likewise.
44490 * locale/Makefile: Likewise.
44491 * intl/Makefile: Likewise.
44492 * conform/Makefile: Likewise.
44493 * nss/Makefile: Likewise.
44494 * time/Makefile: Likewise.
44495 * soft-fp/Makefile: Likewise.
44496 * dirent/Makefile: Likewise.
44497 * gmon/Makefile: Likewise.
44498 * po/Makefile: Likewise.
44499 * rt/Makefile: Likewise.
44500 * socket/Makefile: Likewise.
44501 * math/Makefile: Likewise.
44502 * signal/Makefile: Likewise.
44503 * debug/Makefile: Likewise.
44504 * elf/Makefile: Likewise.
44505 * timezone/Makefile: Likewise.
44506 * stdlib/Makefile: Likewise.
44507 * iconvdata/Makefile: Likewise.
44508 * sunrpc/Makefile: Likewise.
44509 * io/Makefile: Likewise.
44510 * argp/Makefile: Likewise.
44511 * inet/Makefile: Likewise.
44512 * hesiod/Makefile: Likewise.
44513 * grp/Makefile: Likewise.
44514 * csu/Makefile: Likewise.
44515 * wctype/Makefile: Likewise.
44516 * crypt/Makefile: Likewise.
44517 * libio/Makefile: Likewise.
44518 * string/Makefile: Likewise.
44519 * nis/Makefile: Likewise.
44520 * resolv/Makefile: Likewise.
44521 * stdio-common/Makefile: Likewise.
44522 * wcsmbs/Makefile: Likewise.
44523 * dlfcn/Makefile: Likewise.
44524 * posix/Makefile: Likewise.
44525
44526 [BZ #6959]
44527 * timezone/Makefile: Don't install timezone files, just the programs
44528 and scripts.
44529
44530 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44531
44532 * nss/databases.def: Add missing gshadow entry.
44533
44534 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44535
44536 2012-03-06 Marek Polacek <polacek@redhat.com>
44537
44538 [BZ #13726]
44539 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44540 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44541 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44542 * stdio-common/tst-long-dbl-fphex.c: New file.
44543
44544 2012-03-06 David S. Miller <davem@davemloft.net>
44545
44546 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44547 (set_obp_int): New function.
44548 (get_obp_int): New function.
44549 (__get_clockfreq_via_dev_openprom): Likewise.
44550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44551 Avoid unused variable warnings on 'val' and use builtin_expect.
44552 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44553 __builtin_expect.
44554 (INLINE_CLONE_SYSCALL): Likewise.
44555
44556 2012-03-05 David S. Miller <davem@davemloft.net>
44557
44558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44559
44560 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44561
44562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44563
44564 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44565 only for |x| >= 40.
44566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44567
44568 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44569
44570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44571 Replace gettimeofday with __vdso_gettimeofday.
44572
44573 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44574 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44575 __vdso_clock_gettime and __vdso_getcpu.
44576
44577 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44578 time with __vdso_time.
44579
44580 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44581
44582 * manual/lang.texi (size_t): Note types to which size_t may be
44583 equivalent with the GNU C Library, but do not describe when
44584 differences between them are significant.
44585
44586 2012-03-05 Andreas Jaeger <aj@suse.de>
44587
44588 * sysdeps/i386/fpu/libm-test-ulps: Update.
44589
44590 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44591
44592 [BZ #3976]
44593 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44594 (__ieee754_pow): Save and restore rounding mode and use
44595 round-to-nearest for main computations.
44596 * math/libm-test.inc (pow_test_tonearest): New function.
44597 (pow_test_towardzero): Likewise.
44598 (pow_test_downward): Likewise.
44599 (pow_test_upward): Likewise.
44600 (main): Call the new functions.
44601 * sysdeps/i386/fpu/libm-test-ulps: Update.
44602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44603
44604 [BZ #3976]
44605 * math/libm-test.inc (cosh_test_tonearest): New function.
44606 (cosh_test_towardzero): Likewise.
44607 (cosh_test_downward): Likewise.
44608 (cosh_test_upward): Likewise.
44609 (sinh_test_tonearest): Likewise.
44610 (sinh_test_towardzero): Likewise.
44611 (sinh_test_downward): Likewise.
44612 (sinh_test_upward): Likewise.
44613 (main): Call the new functions.
44614 * sysdeps/i386/fpu/libm-test-ulps: Update.
44615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44616
44617 2012-03-05 Tom de Vries <tom@codesourcery.com>
44618
44619 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44620 default stack guard is set in last bytes.
44621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44622
44623 2012-03-05 Kees Cook <keescook@chromium.org>
44624
44625 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44626
44627 [BZ #13656]
44628 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44629 possibly allocate from heap instead of stack.
44630 * stdio-common/bug-vfprintf-nargs.c: New file.
44631 * stdio-common/Makefile (tests): Add nargs overflow test.
44632
44633 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44634
44635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44636
44637 2012-03-03 Marek Polacek <polacek@redhat.com>
44638
44639 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44640 * math/math_private.h: Likewise.
44641 * stdlib/tst-strtod.c: Likewise.
44642 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44643 * sysdeps/x86_64/bits/atomic.h: Likewise.
44644
44645 2012-03-02 David S. Miller <davem@davemloft.net>
44646
44647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44651 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44652 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44653 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44654 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44655
44656 2012-03-02 Roland McGrath <roland@hack.frob.com>
44657
44658 [BZ #13792]
44659 * manual/examples/README: New file, says the example source files
44660 can be used under GPL>=2.
44661 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44662 line containing just "*/".
44663 * manual/examples/add.c: Add copyright header (GPL>=2).
44664 * manual/examples/argp-ex1.c: Likewise.
44665 * manual/examples/argp-ex2.c: Likewise.
44666 * manual/examples/argp-ex3.c: Likewise.
44667 * manual/examples/argp-ex4.c: Likewise.
44668 * manual/examples/atexit.c: Likewise.
44669 * manual/examples/db.c: Likewise.
44670 * manual/examples/dir.c: Likewise.
44671 * manual/examples/dir2.c: Likewise.
44672 * manual/examples/execinfo.c: Likewise.
44673 * manual/examples/filecli.c: Likewise.
44674 * manual/examples/filesrv.c: Likewise.
44675 * manual/examples/fmtmsgexpl.c: Likewise.
44676 * manual/examples/genpass.c: Likewise.
44677 * manual/examples/inetcli.c: Likewise.
44678 * manual/examples/inetsrv.c: Likewise.
44679 * manual/examples/isockad.c: Likewise.
44680 * manual/examples/longopt.c: Likewise.
44681 * manual/examples/memopen.c: Likewise.
44682 * manual/examples/memstrm.c: Likewise.
44683 * manual/examples/mkfsock.c: Likewise.
44684 * manual/examples/mkisock.c: Likewise.
44685 * manual/examples/mygetpass.c: Likewise.
44686 * manual/examples/pipe.c: Likewise.
44687 * manual/examples/popen.c: Likewise.
44688 * manual/examples/rprintf.c: Likewise.
44689 * manual/examples/search.c: Likewise.
44690 * manual/examples/select.c: Likewise.
44691 * manual/examples/setjmp.c: Likewise.
44692 * manual/examples/sigh1.c: Likewise.
44693 * manual/examples/sigusr.c: Likewise.
44694 * manual/examples/stpcpy.c: Likewise.
44695 * manual/examples/strdupa.c: Likewise.
44696 * manual/examples/strftim.c: Likewise.
44697 * manual/examples/strncat.c: Likewise.
44698 * manual/examples/subopt.c: Likewise.
44699 * manual/examples/swapcontext.c: Likewise.
44700 * manual/examples/termios.c: Likewise.
44701 * manual/examples/testopt.c: Likewise.
44702 * manual/examples/testpass.c: Likewise.
44703 * manual/examples/timeval_subtract.c: Likewise.
44704
44705 [BZ #13792]
44706 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44707 function to ...
44708 * manual/timeval_subtract.c.texi: ... here, new file.
44709
44710 2012-03-02 David S. Miller <davem@davemloft.net>
44711
44712 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44713
44714 2012-03-02 Joseph Myers <joseph@codesourcery.com>
44715
44716 [BZ #3976]
44717 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44718 (__sin): Save and restore rounding mode and use round-to-nearest
44719 for all computations.
44720 (__cos): Save and restore rounding mode and use round-to-nearest
44721 for all computations.
44722 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44723 <fenv.h>.
44724 (tan): Save and restore rounding mode and use round-to-nearest for
44725 all computations.
44726 * math/libm-test.inc (cos_test_tonearest): New function.
44727 (cos_test_towardzero): Likewise.
44728 (cos_test_downward): Likewise.
44729 (cos_test_upward): Likewise.
44730 (sin_test_tonearest): Likewise.
44731 (sin_test_towardzero): Likewise.
44732 (sin_test_downward): Likewise.
44733 (sin_test_upward): Likewise.
44734 (tan_test_tonearest): Likewise.
44735 (tan_test_towardzero): Likewise.
44736 (tan_test_downward): Likewise.
44737 (tan_test_upward): Likewise.
44738 (main): Call the new functions.
44739 * sysdeps/i386/fpu/libm-test-ulps: Update.
44740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44741
44742 [BZ #10135]
44743 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44744 small n, then large n, before computing and testing k+n.
44745 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44746 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44747 Likewise.
44748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44749 Likewise.
44750 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44751 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44752 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44753 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44758 * math/libm-test.inc (scalbn_test): Add more tests.
44759 (scalbln_test): Likewise.
44760
44761 * manual/filesys.texi (mode_t): Describe constraints on size and
44762 signedness, not exact equivalence to a particular type.
44763 (ino_t): Likewise.
44764 (ino64_t): Likewise.
44765 (dev_t): Likewise.
44766 (nlink_t): Likewise.
44767 (blkcnt_t): Likewise.
44768 (blkcnt64_t): Likewise.
44769 * manual/llio.texi (off_t): Likewise.
44770
44771 [BZ #3976]
44772 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44773 (__ieee754_exp): Save and restore rounding mode and use
44774 round-to-nearest for all computations.
44775 * math/libm-test.inc (exp_test_tonearest): New function.
44776 (exp_test_towardzero): Likewise.
44777 (exp_test_downward): Likewise.
44778 (exp_test_upward): Likewise.
44779 (main): Call the new functions.
44780 * sysdeps/i386/fpu/libm-test-ulps: Update.
44781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44782
44783 2012-03-01 Chris Demetriou <cgd@google.com>
44784
44785 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44786 have predictable order.
44787
44788 2012-03-01 David S. Miller <davem@davemloft.net>
44789
44790 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44791
44792 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44793 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44794 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44795 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44796
44797 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44798 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44799 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44801 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44802 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44803 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44804 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44805 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44806
44807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44808
44809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44810 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44812
44813 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44814 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44815 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44816 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44817 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44819 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44820 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44821 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44822 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44823 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44824 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44826 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44827 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44829 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44830 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44831 * sysdeps/sparc/elf/configure: Regenerated.
44832
44833 2012-03-01 Joseph Myers <joseph@codesourcery.com>
44834
44835 * configure.in (AS, LD): Require binutils 2.20 or later.
44836 * configure: Regenerated.
44837 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44838 as required minimum version.
44839 * INSTALL: Regenerated.
44840
44841 [BZ #2541]
44842 [BZ #4108]
44843 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44844 before squaring exponent.
44845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44846 bottom long double and 27 bits of top long double before squaring
44847 exponent.
44848 * math/libm-test.inc (erfc_test): Add more tests.
44849 * sysdeps/i386/fpu/libm-test-ulps: Update.
44850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44852
44853 2012-03-01 Kai Tietz <ktietz@redhat.com>
44854
44855 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44856 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44857 containing bit-fields.
44858 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44859 * soft-fp/single.h (_FP_UNION_S): Likewise.
44860 * soft-fp/double.h (_FP_UNION_D): Likewise.
44861
44862 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44863
44864 [BZ #13786]
44865 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44866 not include ../strcmp.S.
44867 [USE_AS_STRNCASECMP_L]: Likewise.
44868 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44869 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44870 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44871 (__strncasecmp_l_ia32): Define as alias to
44872 __strncasecmp_l_nonascii.
44873
44874 [BZ #5794]
44875 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44876 * sysdeps/i386/fpu/libm-test-ulps: Update.
44877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44878
44879 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44881
44882 2012-02-29 Jeff Law <law@redhat.com>
44883
44884 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44885 out of bounds read.
44886
44887 2012-02-29 Marek Polacek <polacek@redhat.com>
44888
44889 [BZ #13706]
44890 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44891 * elf/Makefile: Add rules to run tst-unused-dep.out.
44892
44893 2012-02-28 David S. Miller <davem@davemloft.net>
44894
44895 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44896 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44899 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44900 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44901
44902 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44903
44904 * math/libm-test.inc (llround_test): Move one test from
44905 lround_test. Use TEST_f_L in moved test.
44906 (lround_test): Move misplaced test to llround_test. Add testcase
44907 from bug 2561.
44908
44909 2012-02-28 Ulrich Drepper <drepper@gmail.com>
44910
44911 * sysdeps/x86_64/fpu/e_expf.S: New file.
44912 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44913
44914 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44915
44916 [BZ #13637]
44917 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44918 of remain_len that may cause incomplete multi-byte character and
44919 false match.
44920 * posix/bug-regex33.c: New file.
44921 * posix/Makefile (tests): Add bug-regex33.
44922
44923 2012-02-28 Joseph Myers <joseph@codesourcery.com>
44924
44925 * manual/macros.texi: New file.
44926 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44927 * manual/libc.texinfo: Include macros.texi.
44928 * manual/creatute.texi: Likewise.
44929 * manual/install.texi: Likewise.
44930 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44931 @glibcadj{} in references to the GNU C Library.
44932 * manual/charset.texi: Likewise.
44933 * manual/conf.texi: Likewise.
44934 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44935 when not using those macros.
44936 * manual/creature.texi: Likewise.
44937 * manual/crypt.texi: Likewise.
44938 * manual/errno.texi: Likewise.
44939 * manual/filesys.texi: Likewise.
44940 * manual/header.texi: Likewise.
44941 * manual/install.texi: Likewise.
44942 * manual/intro.texi: Likewise.
44943 * manual/io.texi: Likewise.
44944 * manual/job.texi: Likewise.
44945 * manual/lang.texi: Likewise.
44946 * manual/libc.texiinfo: Likewise.
44947 * manual/llio.texi: Likewise.
44948 * manual/locale.texi: Likewise.
44949 * manual/maint.texi: Likewise.
44950 * manual/math.texi: Likewise.
44951 * manual/memory.texi: Likewise.
44952 * manual/message.texi: Likewise.
44953 * manual/nss.texi: Likewise.
44954 * manual/pattern.texi: Likewise.
44955 * manual/process.texi: Likewise.
44956 * manual/resource.texi: Likewise.
44957 * manual/search.texi: Likewise.
44958 * manual/setjmp.texi: Likewise.
44959 * manual/signal.texi: Likewise.
44960 * manual/socket.texi: Likewise.
44961 * manual/startup.texi: Likewise.
44962 * manual/stdio.texi: Likewise.
44963 * manual/string.texi: Likewise.
44964 * manual/sysinfo.texi: Likewise.
44965 * manual/syslog.texi: Likewise.
44966 * manual/terminal.texi: Likewise.
44967 * manual/time.texi: Likewise.
44968 * manual/users.texi: Likewise.
44969 * INSTALL: Regenerated.
44970 * NOTES: Regenerated.
44971 * sysdeps/gnu/errlist.c: Regenerated.
44972
44973 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44974
44975 * include/dirent.h: Include <dirstream.h> before
44976 <dirent/dirent.h>.
44977
44978 2012-02-28 David S. Miller <davem@davemloft.net>
44979
44980 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44981 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44982 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44983 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44984
44985 2012-02-27 David S. Miller <davem@davemloft.net>
44986
44987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44989 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44990 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44991
44992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44993 frame pointer instead of stack pointer relative arg slot.
44994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44995 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44996 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44997
44998 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44999
45000 [BZ #3992]
45001 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45002
45003 2012-02-27 David S. Miller <davem@davemloft.net>
45004
45005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45011 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45013
45014 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45015
45016 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45017 later. Allow versions 5-9.
45018 * configure: Regenerated.
45019 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45020 required minimum version and 4.6 as recommended version. Do not
45021 mention bugs in GCC 2.7 and 2.8.
45022 * INSTALL: Regenerated.
45023
45024 2012-02-27 David S. Miller <davem@davemloft.net>
45025
45026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45030 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45031 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45032 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45033 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45034
45035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45036 manipulate bits before adding and subtracting TWO112[sx].
45037 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45038
45039 2012-02-27 Roland McGrath <roland@hack.frob.com>
45040
45041 [BZ #13775]
45042 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45043 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45044 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45045 being in POSIX, because they are in 1003.1-2008.
45046
45047 * rt/tst-aio.c: Include <fcntl.h>.
45048 * rt/tst-aio7.c: Likewise.
45049 * rt/tst-aio64.c: Likewise.
45050
45051 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45052
45053 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45054
45055 * manual/install.texi (--with-headers): Describe headers as
45056 interface headers, not private headers.
45057 (Specific advice for GNU/Linux systems): Describe use of headers
45058 from "make headers_install", not private headers from older
45059 kernels.
45060 * INSTALL: Regenerated.
45061 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45062 Change to 2.6.19.
45063 * sysdeps/unix/sysv/linux/configure: Regenerated.
45064
45065 * manual/llio.texi (fclean): Remove documentation.
45066
45067 * manual/Makefile (libc-texi-generated): New variable. Include
45068 version.texi.
45069 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45070 $(libc-texi-generated), not duplicated list of files.
45071 (version.texi, stamp-version): New rules.
45072 (realclean): Remove $(libc-texi-generated), not individual files
45073 from that list. Do not remove dir-add.texinfo.
45074 * manual/libc.texinfo: Comment out uses of edition numbers and
45075 references to printed manual. Remove last-updated dates.
45076 (EDITION): Comment out.
45077 (ISBN): Likewise.
45078 (VERSION, UPDATED): Remove.
45079 (version.texi): Include.
45080
45081 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45082
45083 * sysdeps/posix/spawni.c: Include <signal.h>.
45084 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45085 * sysdeps/pthread/aio_fsync.c: Likewise.
45086
45087 2012-02-26 Ulrich Drepper <drepper@gmail.com>
45088
45089 * conform/Makefile (tests): Run only when not cross-compiling and
45090 when fast-check is not defined.
45091
45092 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45093 * conform/data/limits.h-data: Fixes for POSIX2008.
45094 * conform/run-conformtest.sh: Run all tests.
45095 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45096 headers.
45097 * include/bits/dlfcn.h: Likewise.
45098 * include/langinfo.h: Likewise.
45099 * include/monetary.h: Likewise.
45100 * include/sys/poll.h: Likewise.
45101
45102 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45103 for __USE_GNU.
45104 * posix/spawn.h: Define __need_sigset_t.
45105 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45106 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45107 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45108 to get sigevent_t only.
45109 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45110 only for __USE_GNU.
45111 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45113 process_vm_writev only for __USE_GNU.
45114 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45115
45116 * conform/Makefile: For now ignore errors from run-conformtest.
45117 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45118 POSIX to avoid namespace pollution. Don't prepend headers.
45119 * conform/data/aio.h-data: Fixes for POSIX testing.
45120 * conform/data/fcntl.h-data: Likewise.
45121 * conform/data/glob.h-data: Likewise.
45122 * conform/data/grp.h-data: Likewise.
45123 * conform/data/pthread.h-data: Likewise.
45124 * conform/data/pwd.h-data: Likewise.
45125 * conform/data/signal.h-data: Likewise.
45126 * conform/data/spawn.h-data: Likewise.
45127 * conform/data/stdio.h-data: Likewise.
45128 * conform/data/stdlib.h-data: Likewise.
45129 * conform/data/stropts.h-data: Likewise.
45130 * conform/data/sys/mman.h-data: Likewise.
45131 * conform/data/sys/stat.h-data: Likewise.
45132 * conform/data/sys/types.h-data: Likewise.
45133 * conform/data/sys/wait.h-data: Likewise.
45134 * conform/data/time.h-data: Likewise.
45135 * conform/data/unistd.h-data: Likewise.
45136 * conform/data/utime.h-data: Likewise.
45137
45138 * io/sys/stat.h: fchmod was always in POSIX.
45139 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45140 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45141 * rt/aio.h: Define __need_timespec before including <time.h>.
45142 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45143 struct. Add forward declaration of pthread_attr_t and use it in
45144 sigevent.
45145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45146 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45147 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45148 always remove CLK_TCK definition.
45149
45150 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45151
45152 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45153
45154 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45155
45156 * conform/run-conformtest.sh: New file.
45157 * conform/Makefile: Run run-conformtest for tests.
45158 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45159 support.
45160
45161 * conform/data/uchar.h-data: New file.
45162 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45163 * conform/data/arpa/inet.h-data: Likewise.
45164 * conform/data/assert.h-data: Likewise.
45165 * conform/data/complex.h-data: Likewise.
45166 * conform/data/cpio.h-data: Likewise.
45167 * conform/data/ctype.h-data: Likewise.
45168 * conform/data/dirent.h-data: Likewise.
45169 * conform/data/dlfcn.h-data: Likewise.
45170 * conform/data/errno.h-data: Likewise.
45171 * conform/data/fcntl.h-data: Likewise.
45172 * conform/data/float.h-data: Likewise.
45173 * conform/data/fmtmsg.h-data: Likewise.
45174 * conform/data/fnmatch.h-data: Likewise.
45175 * conform/data/ftw.h-data: Likewise.
45176 * conform/data/glob.h-data: Likewise.
45177 * conform/data/grp.h-data: Likewise.
45178 * conform/data/iconv.h-data: Likewise.
45179 * conform/data/inttypes.h-data: Likewise.
45180 * conform/data/langinfo.h-data: Likewise.
45181 * conform/data/libgen.h-data: Likewise.
45182 * conform/data/limits.h-data: Likewise.
45183 * conform/data/locale.h-data: Likewise.
45184 * conform/data/math.h-data: Likewise.
45185 * conform/data/monetary.h-data: Likewise.
45186 * conform/data/mqueue.h-data: Likewise.
45187 * conform/data/ndbm.h-data: Likewise.
45188 * conform/data/net/if.h-data: Likewise.
45189 * conform/data/netdb.h-data: Likewise.
45190 * conform/data/netinet/in.h-data: Likewise.
45191 * conform/data/nl_types.h-data: Likewise.
45192 * conform/data/poll.h-data: Likewise.
45193 * conform/data/pthread.h-data: Likewise.
45194 * conform/data/pwd.h-data: Likewise.
45195 * conform/data/regex.h-data: Likewise.
45196 * conform/data/sched.h-data: Likewise.
45197 * conform/data/search.h-data: Likewise.
45198 * conform/data/semaphore.h-data: Likewise.
45199 * conform/data/setjmp.h-data: Likewise.
45200 * conform/data/signal.h-data: Likewise.
45201 * conform/data/spawn.h-data: Likewise.
45202 * conform/data/stdarg.h-data: Likewise.
45203 * conform/data/stdio.h-data: Likewise.
45204 * conform/data/stdlib.h-data: Likewise.
45205 * conform/data/string.h-data: Likewise.
45206 * conform/data/strings.h-data: Likewise.
45207 * conform/data/stropts.h-data: Likewise.
45208 * conform/data/sys/ipc.h-data: Likewise.
45209 * conform/data/sys/mman.h-data: Likewise.
45210 * conform/data/sys/msg.h-data: Likewise.
45211 * conform/data/sys/resource.h-data: Likewise.
45212 * conform/data/sys/select.h-data: Likewise.
45213 * conform/data/sys/sem.h-data: Likewise.
45214 * conform/data/sys/shm.h-data: Likewise.
45215 * conform/data/sys/socket.h-data: Likewise.
45216 * conform/data/sys/stat.h-data: Likewise.
45217 * conform/data/sys/statvfs.h-data: Likewise.
45218 * conform/data/sys/time.h-data: Likewise.
45219 * conform/data/sys/timeb.h-data: Likewise.
45220 * conform/data/sys/times.h-data: Likewise.
45221 * conform/data/sys/types.h-data: Likewise.
45222 * conform/data/sys/uio.h-data: Likewise.
45223 * conform/data/sys/un.h-data: Likewise.
45224 * conform/data/sys/utsname.h-data: Likewise.
45225 * conform/data/sys/wait.h-data: Likewise.
45226 * conform/data/syslog.h-data: Likewise.
45227 * conform/data/tar.h-data: Likewise.
45228 * conform/data/termios.h-data: Likewise.
45229 * conform/data/utime.h-data: Likewise.
45230 * conform/data/utmpx.h-data: Likewise.
45231 * conform/data/varargs.h-data: Likewise.
45232 * conform/data/wchar.h-data: Likewise.
45233 * conform/data/wctype.h-data: Likewise.
45234 * conform/data/wordexp.h-data: Likewise.
45235
45236 * include/stropts.h: New file.
45237 * include/uchar.h: New file.
45238 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45239 * include/assert.h: Likewise.
45240 * include/ctype.h: Likewise.
45241 * include/dirent.h: Likewise.
45242 * include/dlfcn.h: Likewise.
45243 * include/fcntl.h: Likewise.
45244 * include/fnmatch.h: Likewise.
45245 * include/glob.h: Likewise.
45246 * include/grp.h: Likewise.
45247 * include/libio.h: Likewise.
45248 * include/locale.h: Likewise.
45249 * include/math.h: Likewise.
45250 * include/net/if.h: Likewise.
45251 * include/netdb.h: Likewise.
45252 * include/netinet/in.h: Likewise.
45253 * include/pthread.h: Likewise.
45254 * include/pwd.h: Likewise.
45255 * include/regex.h: Likewise.
45256 * include/sched.h: Likewise.
45257 * include/search.h: Likewise.
45258 * include/setjmp.h: Likewise.
45259 * include/signal.h: Likewise.
45260 * include/stdio.h: Likewise.
45261 * include/stdlib.h: Likewise.
45262 * include/string.h: Likewise.
45263 * include/sys/cdefs.h: Likewise.
45264 * include/sys/mman.h: Likewise.
45265 * include/sys/msg.h: Likewise.
45266 * include/sys/resource.h: Likewise.
45267 * include/sys/select.h: Likewise.
45268 * include/sys/socket.h: Likewise.
45269 * include/sys/stat.h: Likewise.
45270 * include/sys/statvfs.h: Likewise.
45271 * include/sys/time.h: Likewise.
45272 * include/sys/times.h: Likewise.
45273 * include/sys/uio.h: Likewise.
45274 * include/sys/utsname.h: Likewise.
45275 * include/sys/wait.h: Likewise.
45276 * include/termios.h: Likewise.
45277 * include/time.h: Likewise.
45278 * include/ulimit.h: Likewise.
45279 * include/unistd.h: Likewise.
45280 * include/utime.h: Likewise.
45281 * include/wchar.h: Likewise.
45282 * include/wctype.h: Likewise.
45283 * include/wordexp.h: Likewise.
45284
45285 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45286
45287 * time/time.h: TIME_UTC must be a macro.
45288 Make timespec_get available for ISO C11 only as well.
45289
45290 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45291
45292 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45293 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45294
45295 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45296
45297 * configure.in: Use -o not -a in test for unsupported multi-arch.
45298
45299 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45300
45301 * manual/texinfo.tex: Update to version 2012-01-19.16.
45302
45303 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45304
45305 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45306
45307 2012-02-24 Roland McGrath <roland@hack.frob.com>
45308
45309 [BZ #13738]
45310 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45311 * manual/fdl-1.3.texi: New file.
45312 * manual/fdl-1.1.texi: File removed.
45313
45314 [BZ #13738]
45315 * manual/libc.texinfo (FDL_VERSION): New @set.
45316 Use it for mention of FDL in cover text.
45317 (Documentation License): Use it in @include file name.
45318
45319 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45320 Roland McGrath <roland@hack.frob.com>
45321
45322 [BZ #5461]
45323 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45324 (not LONG_LONG_MAX and LONG_LONG_MIN.
45325 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45326 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45327 name.
45328 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45329
45330 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45331
45332 [BZ #2547]
45333 [BZ #11365]
45334 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45335 manipulate bits before adding and subtracting TWO23[sx].
45336 * math/libm-test.inc (nearbyint_test): Add more tests.
45337
45338 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45339
45340 [BZ #2548]
45341 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45342 bits before adding and subtracting TWO23[sx].
45343 * math/libm-test.inc (rint_test): Add more tests.
45344 (rint_test_tonearest): Likewise.
45345 (rint_test_towardzero): Likewise.
45346 (rint_test_downward): Likewise.
45347 (rint_test_upward: Likewise.
45348
45349 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45350
45351 [BZ #10110]
45352 * include/stdc-predef.h: New file. Extracted from features.h.
45353 * include/features.h: Include stdc-predef.h.
45354 * Makefile (headers): Add stdc-predef.h.
45355 * CONFORMANCE (Compiler limitations): Update.
45356
45357 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45358
45359 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45360
45361 2012-02-21 David S. Miller <davem@davemloft.net>
45362
45363 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45364 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45365
45366 2012-02-20 David S. Miller <davem@davemloft.net>
45367
45368 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45369 using a normal save/restore sequence, rather than allocating a
45370 dummy stack frame just to store a frame pointer and restore.
45371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45372
45373 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45374
45375 * manual/install.texi: Fix stray word in line-wrapped comment.
45376
45377 2012-02-20 David S. Miller <davem@davemloft.net>
45378
45379 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45380 both binutils and gcc support GOTDATA.
45381
45382 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45383 "rd %pc" in the PIC register setup sequences.
45384
45385 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45386 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45387 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45388 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45389 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45394 (SYSCALL_ERROR_HANDLER): Likewise.
45395 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45396 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45398 (SYSCALL_ERROR_HANDLER): Likewise.
45399
45400 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45401 (HAVE_GCC_GOTDATA): New.
45402 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45403 relocation support in both binutils and gcc.
45404 * sysdeps/sparc/elf/configure: Regenerate.
45405
45406 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45407 * sysdeps/sparc/sparc32/elf/configure: Delete.
45408 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45409 * sysdeps/sparc/sparc64/elf/configure: Delete.
45410 * sysdeps/sparc/elf/configure.in: New file.
45411 * sysdeps/sparc/elf/configure: Generate.
45412
45413 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45414 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45415 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45416 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45417 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45418
45419 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45420
45421 * manual/install.texi: Do not mention specific glibc version
45422 numbers.
45423 * manual/libc.texinfo (VERSION, UPDATED): Update.
45424 (@copying): Use @copyright{} and range of years.
45425
45426 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45427
45428 [BZ #13695]
45429 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45430 [crti.S not in sysdirs] (generated): Do not append.
45431 [crti.S not in sysdirs] (omit-deps): Likewise.
45432 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45433 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45434 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45435 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45436 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45437 Likewise.
45438 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45439 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45440 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45441 * csu/defs.awk: Remove file.
45442 * sysdeps/generic/initfini.c: Likewise.
45443 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45444 variable.
45445 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45446 Likewise.
45447
45448 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45449
45450 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45451 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45452 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45453 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45454 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45455 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45456 <bits/epoll.h>.
45457 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45458 (__EPOLL_PACKED): Define to empty if not defined by
45459 <bits/epoll.h>.
45460 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45462 bits/epoll.h.
45463
45464 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45465
45466 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45467 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45468 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45469 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45470 <bits/timerfd.h>.
45471 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45473 bits/timerfd.h.
45474
45475 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45476
45477 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45478 in C locale.
45479 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45480 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45483
45484 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45485
45486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45487 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45488
45489 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45490
45491 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45492 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45493 defined.
45494 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45495 Likewise.
45496 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45497 entry for 2.16.
45498
45499 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45500
45501 * math/w_acos.c: Use non-signaling floating-point comparisons.
45502 * math/w_acosf.c: Likewise.
45503 * math/w_acosh.c: Likewise.
45504 * math/w_acoshf.c: Likewise.
45505 * math/w_acoshl.c: Likewise.
45506 * math/w_acosl.c: Likewise.
45507 * math/w_asin.c: Likewise.
45508 * math/w_asinf.c: Likewise.
45509 * math/w_asinl.c: Likewise.
45510 * math/w_atanh.c: Likewise.
45511 * math/w_atanhf.c: Likewise.
45512 * math/w_atanhl.c: Likewise.
45513 * math/w_exp2.c: Likewise.
45514 * math/w_exp2f.c: Likewise.
45515 * math/w_exp2l.c: Likewise.
45516 * math/w_j0.c: Likewise.
45517 * math/w_j0f.c: Likewise.
45518 * math/w_j0l.c: Likewise.
45519 * math/w_j1.c: Likewise.
45520 * math/w_j1f.c: Likewise.
45521 * math/w_j1l.c: Likewise.
45522 * math/w_jn.c: Likewise.
45523 * math/w_jnf.c: Likewise.
45524 * math/w_log.c: Likewise.
45525 * math/w_log10.c: Likewise.
45526 * math/w_log10f.c: Likewise.
45527 * math/w_log10l.c: Likewise.
45528 * math/w_log2.c: Likewise.
45529 * math/w_log2f.c: Likewise.
45530 * math/w_log2l.c: Likewise.
45531 * math/w_logf.c: Likewise.
45532 * math/w_logl.c: Likewise.
45533 * math/w_sqrt.c: Likewise.
45534 * math/w_sqrtf.c: Likewise.
45535 * math/w_sqrtl.c: Likewise.
45536 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45537 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45539 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45540 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45541
45542 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45543
45544 [BZ #9739]
45545 * manual/string.texi (strnlen): Use correct parameter name in
45546 equivalent expression.
45547
45548 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45549
45550 [BZ #11174]
45551 * manual/users.texi (seteuid): Consistently use neweuid for
45552 argument name.
45553
45554 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45555
45556 [BZ #13704]
45557 * manual/nss.texi (Services in the NSS configuration): Correct
45558 list of services in example configuration file.
45559
45560 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45561
45562 [BZ #11322]
45563 * manual/arith.texi: Remove statements about negative zero
45564 behaving identically to zero.
45565
45566 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45567
45568 [BZ #5993]
45569 * manual/install.texi: Do not document upgrading from libc5.
45570
45571 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45572
45573 [BZ #4596]
45574 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45575
45576 2012-02-18 David S. Miller <davem@davemloft.net>
45577
45578 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45579 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45580 %o7 across the call.
45581 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45582 instead.
45583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45584 SETUP_PIC_REG_LEAF.
45585 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45586 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45587 * sysdeps/sparc/crtn.S: Likewise.
45588
45589 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45590
45591 * aout/Makefile: Remove.
45592
45593 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45594
45595 [BZ #13058]
45596 * manual/examples/argp-ex1.c (main): Format definition in GNU
45597 style.
45598 * manual/examples/argp-ex2.c (main): Likewise.
45599 * manual/examples/argp-ex3.c (main): Likewise.
45600 * manual/examples/argp-ex4.c (main): Likewise.
45601 * manual/examples/longopt.c (main): Use new-style prototype
45602 definition.
45603 * manual/examples/strncat.c (main): Specify return type and use
45604 (void) for arguments.
45605 * manual/examples/subopt.c (main): Use char **argv argument.
45606
45607 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45608
45609 [BZ #5077]
45610 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45611 rounding modes.
45612
45613 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45614
45615 [BZ #6907]
45616 * manual/string.texi (strchr): Change when strchrnul is
45617 recommended.
45618
45619 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45620
45621 [BZ #174]
45622 * manual/locale.texi (setlocale): Document LOCPATH.
45623
45624 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45625
45626 [BZ #10210]
45627 * manual/process.texi (execle): Move @dots{} before last argument.
45628
45629 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
45630
45631 [BZ #12047]
45632 * manual/charset.texi (Generic Charset Conversion): Fix typo
45633 (LC_TYPE -> LC_CTYPE).
45634
45635 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45636
45637 [BZ #5805]
45638 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45639 (scalbnf): Likewise.
45640 (scalbnl): Likewise.
45641 (scalbln): Likewise.
45642 (scalblnf): Likewise.
45643 (scalblnl): Likewise.
45644 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45645 (vwarnx): Likewise.
45646 (verr): Likewise.
45647 (verrx): Likewise.
45648 * manual/filesys.texi (telldir): Use braces around return type.
45649 * manual/llio.texi (mmap): Add space after comma.
45650 (mmap64): Likewise.
45651 * manual/math.texi (jn): Use @var{} on parameter names.
45652 (jnf): Likewise.
45653 (jnl): Likewise.
45654 (yn): Likewise.
45655 (ynf): Likewise.
45656 (ynl): Likewise.
45657 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45658 line.
45659 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45660 "...".
45661 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45662 (sched_get_priority_max): Likewise.
45663 * manual/signal.texi (sigvec): Add space after comma.
45664 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45665 names.
45666 (if_indextoname): Likewise.
45667 (if_freenameindex): Likewise.
45668 (sendto): Use ',' instead of '.' in prototype.
45669 * manual/startup.texi (syscall): Use @dots{} instead of literal
45670 "...".
45671 * manual/stdio.texi (__fpending): Separate initial words of
45672 paragraph from @deftypefun line.
45673 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45674 "...".
45675 (vsyslog): Use @var{} on parameter names.
45676 * manual/terminal.texi (stty): Use @var{} on parameter names.
45677 * manual/users.texi (getutmp): Use @var{} on parameter names.
45678 (getutmpx): Likewise.
45679
45680 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45681
45682 [BZ #6884]
45683 * manual/stdio.texi (fopen): Fix typos in description of
45684 ",ccs=STRING".
45685
45686 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45687
45688 [BZ #4026]
45689 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45690 get clock_id definition.
45691
45692 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
45693
45694 [BZ #4822]
45695 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45696 (madvise): Cast every argument to void on its own.
45697
45698 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45699
45700 [BZ #9902]
45701 * manual/startup.texi (Exit Status): Fix typo.
45702
45703 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45704
45705 [BZ #10140]
45706 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45707 * manual/examples/argp-ex2.c: Likewise.
45708 * manual/examples/argp-ex3.c: Likewise.
45709
45710 2012-02-16 Richard Henderson <rth@redhat.com>
45711
45712 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45713 * sysdeps/s390/s390-32/initfini.c: Remove.
45714 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45715 * sysdeps/s390/s390-64/initfini.c: Remove.
45716
45717 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45718
45719 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45720 compiler output for sysdeps/generic/initfini.c.
45721 * sysdeps/sh/elf/initfini.c: Remove file.
45722
45723 2012-02-16 David S. Miller <davem@davemloft.net>
45724
45725 [BZ #11494]
45726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45727
45728 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45729 * sysdeps/sparc/crti.S: New file.
45730 * sysdeps/sparc/crtn.S: New file.
45731 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45732 * sysdeps/sparc/sparc64/Makefile: Likewise.
45733
45734 2012-02-15 Mike Frysinger <vapier@gentoo.org>
45735
45736 [BZ #3335]
45737 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45738
45739 2012-02-15 Roland McGrath <roland@hack.frob.com>
45740
45741 [BZ #4822]
45742 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45743
45744 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45745 (write, read, close): Likewise.
45746 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45747
45748 2012-02-15 Joseph Myers <joseph@codesourcery.com>
45749
45750 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45751 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45752 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45753 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45754 <bits/signalfd.h>.
45755 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45757 bits/signalfd.h.
45758
45759 2012-02-14 Marek Polacek <polacek@redhat.com>
45760
45761 * sysdeps/x86_64/crti.S: New file.
45762 * sysdeps/x86_64/crtn.S: New file.
45763 * sysdeps/x86_64/elf/initfini.c: Remove file.
45764
45765 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45766
45767 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45768 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45769 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45770 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45771 <bits/inotify.h>.
45772 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45774 bits/inotify.h.
45775
45776 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45777
45778 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45779 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45780 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45781 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45782 <bits/eventfd.h>.
45783 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45785 bits/eventfd.h.
45786
45787 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45788
45789 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45790 __feraiseexcept instead of feraiseexcept.
45791
45792 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45793 nanosleep invocations.
45794 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45795 strings, and add error checking for a nanosleep invocations.
45796
45797 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45798
45799 Replace FSF snail mail address with URLs, as per GNU coding standards.
45800 Most of the snail mail addresses were wrong anyway, and omitting
45801 them makes the source code easier to maintain. Almost all of the
45802 changes are to license notices and to locale LC_IDENTIFICATION
45803 addresses, except for this one:
45804 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45805 not its snail mail address.
45806
45807 2012-02-09 Richard Henderson <rth@twiddle.net>
45808
45809 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45810 of kernel-features.h.
45811
45812 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45813
45814 2012-02-08 Marek Polacek <polacek@redhat.com>
45815
45816 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45817 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45818 * sysdeps/gnu/_G_config.h: Likewise.
45819 * sysdeps/generic/_G_config.h: Likewise.
45820
45821 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45822
45823 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45824 tests.
45825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45826
45827 * sysdeps/powerpc/powerpc32/crti.S: New file.
45828 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45829 * sysdeps/powerpc/powerpc64/crti.S: New file.
45830 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45831
45832 * Makeconfig (have-initfini): Don't set.
45833 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45834 * configure.in (nopic_initfini): Don't substitute.
45835 * config.h.in (HAVE_INITFINI): Don't #undef.
45836 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45837 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45838
45839 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45840
45841 Support crti.S and crtn.S provided directly by architectures.
45842 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45843 [crti.S in sysdirs] (omit-deps): Likewise.
45844 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45845 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45846 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45847 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45848 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45849 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45850 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45851 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45852 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45853 compiler output for sysdeps/generic/initfini.c.
45854 * sysdeps/i386/elf/Makefile: Remove file.
45855 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45856
45857 2012-02-07 Marek Polacek <polacek@redhat.com>
45858
45859 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45860 * sysdeps/gnu/_G_config.h: Likewise.
45861 * sysdeps/mach/hurd/_G_config.h: Likewise.
45862
45863 2012-02-07 Marek Polacek <polacek@redhat.com>
45864
45865 * math/Makefile (tests): Add tst-CMPLX2.
45866 * math/tst-CMPLX2.c: New file.
45867
45868 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45869
45870 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45871
45872 * math/libm-test.inc (jn_test): Add missing L suffix.
45873
45874 2012-02-06 Marek Polacek <polacek@redhat.com>
45875
45876 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45877 * sysdeps/i386/fpu/e_powf.S: Likewise.
45878 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45879 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45880 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45881 * sysdeps/i386/fpu/e_pow.S: Likewise.
45882 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45883 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45884 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45885 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45886 * sysdeps/i386/fpu/e_log2.S: Likewise.
45887 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45888 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45889 * sysdeps/i386/fpu/e_powl.S: Likewise.
45890 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45891 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45892 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45893 * sysdeps/i386/fpu/e_logl.S: Likewise.
45894 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45895 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45896 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45897 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45898 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45899 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45900 * sysdeps/i386/fpu/e_log.S: Likewise.
45901 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45903 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45904 * sysdeps/i386/fpu/e_logf.S: Likewise.
45905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45906 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45907 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45908 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45909 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45910 * sysdeps/i386/fpu/e_log10.S: Likewise.
45911 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45912 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45913 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45914 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45915 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45916 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45917 * sysdeps/i386/asm-syntax.h: Likewise.
45918 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45919 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45920 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45921 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45922 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45923 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45924 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45925 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45926 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45927 * sysdeps/powerpc/sysdep.h: Likewise.
45928 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45929 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45930
45931 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45932
45933 [BZ #411]
45934 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45935
45936 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45937
45938 * sysdeps/i386/sysdep.h: Include <features.h>.
45939 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45940 version.
45941
45942 2012-02-05 Joseph Myers <joseph@codesourcery.com>
45943
45944 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45945 Define.
45946 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45947 LOAD_PIC_REG_STR.
45948
45949 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45950
45951 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45952 (SETUP_PIC_REG): Use GET_PC_THUNK.
45953 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45954 macro.
45955
45956 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45957
45958 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45959 for non-PIC compilation.
45960 (SETUP_PIC_REG): Add .p2align directive.
45961 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45962 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45963 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45964 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45965 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45966 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45967 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45968 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45969 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45970 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45971 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45972 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45973 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45974 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45975 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45976 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45977 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45978 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45979 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45980 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45981 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45982 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45983 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45984 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45985 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45987 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45988 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45989 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45990 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45991 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45993 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45994 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45995 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45996 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45997 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45998 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45999 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46000 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46001 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46002
46003 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46004
46005 * math/tst-CMPLX.c: Include <stdio.h>.
46006
46007 2012-01-31 Joseph Myers <joseph@codesourcery.com>
46008
46009 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46010 float.
46011 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46012 * sysdeps/sparc/bits/mathdef.h: Likewise.
46013
46014 2012-01-31 Marek Polacek <polacek@redhat.com>
46015
46016 * libio/libio.h: Don't define _PARAMS.
46017 * locale/programs/config.h: Don't define PARAMS.
46018 * stdlib/strtol_l.c: Likewise.
46019 (__strtol_l): Remove PARAMS from the prototype.
46020
46021 2012-01-31 Ulrich Drepper <drepper@gmail.com>
46022
46023 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46024 names. Just use the correct names. Remove unnecessary wrapper
46025 functions.
46026 * malloc/arena.c: Likewise.
46027 * malloc/hooks.c: Likewise.
46028
46029 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46030 ARENA_TEST says not to. Simplify test for creation of a new arena.
46031 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46032
46033 2012-01-30 Ulrich Drepper <drepper@gmail.com>
46034
46035 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46036 into tail calls.
46037 (update_get_addr): New function.
46038 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46039 GET_ADDR_MODULE parameter.
46040
46041 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46042
46043 * crypt/cert.c: Remove __STDC__ conditionals.
46044 * crypt/crypt-entry.c: Likewise.
46045 * crypt/crypt_util.c: Likewise.
46046 * libio/filedoalloc.c: Likewise.
46047 * libio/fileops.c: Likewise.
46048 * libio/genops.c: Likewise.
46049 * libio/iofclose.c: Likewise.
46050 * libio/iofdopen.c: Likewise.
46051 * libio/iofopen.c: Likewise.
46052 * libio/iofopen64.c: Likewise.
46053 * libio/iogetdelim.c: Likewise.
46054 * libio/iopopen.c: Likewise.
46055 * libio/obprintf.c: Likewise.
46056 * libio/oldfileops.c: Likewise.
46057 * libio/oldiofclose.c: Likewise.
46058 * libio/oldiofdopen.c: Likewise.
46059 * libio/oldiofopen.c: Likewise.
46060 * libio/oldiopopen.c: Likewise.
46061 * libio/wfiledoalloc.c: Likewise.
46062 * libio/wgenops.c: Likewise.
46063 * locale/programs/xmalloc.c: Likewise.
46064 * misc/syslog.c: Likewise.
46065 * stdio-common/xbug.c: Likewise.
46066 * string/memchr.c: Likewise.
46067 * string/memcmp.c: Likewise.
46068 * string/memrchr.c: Likewise.
46069 * string/rawmemchr.c: Likewise.
46070 * sysdeps/posix/getcwd.c: Likewise.
46071 * time/strftime_l.c: Likewise.
46072
46073 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46074
46075 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46076 * config.make.in (config-cflags-sse2avx): Define.
46077 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46078 Fix typo.
46079
46080 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46081
46082 * scripts/config.guess: Update from upstream config git repository.
46083 * scripts/config.sub: Likewise.
46084
46085 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46086
46087 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46088 (EM_NUM): Update.
46089 (R_TILEPRO_*, R_TILEGX_*): New macros.
46090
46091 * scripts/firstversions.awk: Fix bug in version range handling.
46092
46093 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46094
46095 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46096
46097 * include/sys/epoll.h: New file.
46098 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46099 libc_hidden_def.
46100
46101 2012-01-28 Ulrich Drepper <drepper@gmail.com>
46102
46103 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46104 Avoid unnecessary __WORDSIZE == 64 test.
46105 (fmaxf): Use VEX format if possible.
46106 (fmax): Likewise.
46107 (fminf): Likewise.
46108 (fmin): Likewise.
46109
46110 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46111 * math/math_private.h: Remove libc_fegetround* and
46112 libc_fesetround*.
46113 * sysdeps/i386/configure.in: Check for -msse2avx.
46114 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46115 also if SSE2AVX is defined.
46116 Remove libc_fegetround* and libc_fesetround*.
46117 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46118 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46120 of HAS_YMM_USABLE.
46121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46122 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46126
46127 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46128
46129 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46130
46131 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46132 size is not set.
46133 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46134
46135 2012-01-27 Ulrich Drepper <drepper@gmail.com>
46136
46137 [BZ #13618]
46138 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46139 relocation.
46140 * Makeconfig (libm): Define.
46141 * elf/Makefile: Add rules to build and run tst-relsort1.
46142 * elf/tst-relsort1.c: New file.
46143 * elf/tst-relsort1mod1.c: New file.
46144 * elf/tst-relsort1mod2.c: New file.
46145
46146 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46147
46148 * math/s_ldexp.c: Remove __STDC__ conditionals.
46149 * math/s_ldexpf.c: Likewise.
46150 * math/s_ldexpl.c: Likewise.
46151 * math/s_nextafter.c: Likewise.
46152 * math/s_nexttowardf.c: Likewise.
46153 * math/s_significand.c: Likewise.
46154 * math/s_significandf.c: Likewise.
46155 * math/s_significandl.c: Likewise.
46156 * math/w_jnl.c: Likewise.
46157 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46158 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46159 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46160 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46161 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46163 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46164 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46165 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46166 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46167 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46169 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46170 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46171 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46172 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46173 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46174 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46176 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46177 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46178 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46179 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46181 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46182 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46183 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46184 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46185 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46186 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46187 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46188 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46189 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46190 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46191 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46192 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46193 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46194 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46195 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46196 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46197 * sysdeps/ieee754/k_standard.c: Likewise.
46198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46199 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46200 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46201 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46202 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46203 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46204 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46207 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46208 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46210 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46211 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46212 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46215 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46216 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46217 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46218 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46219 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46220 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46221 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46222 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46223 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46226 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46227 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46228 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46229 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46230 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46231 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46233 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46234 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46235 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46237 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46238 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46239 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46240 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46241 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46242 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46243 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46244 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46245 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46246 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46247 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46248 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46251 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46252 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46253 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46254 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46255 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46256 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46258 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46259 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46260 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46261 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46262 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46263 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46264 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46265 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46266 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46267 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46268 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46270 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46271 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46272 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46273 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46274 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46275 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46276 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46277 * sysdeps/ieee754/s_matherr.c: Likewise.
46278 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46279 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46282
46283 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46284
46285 * crypt/md5.h: Remove __STDC__ conditionals.
46286 * libio/libioP.h: Likewise.
46287 * locale/programs/config.h: Likewise.
46288 * sysdeps/generic/sysdep.h: Likewise.
46289 * sysdeps/i386/asm-syntax.h: Likewise.
46290 * sysdeps/s390/asm-syntax.h: Likewise.
46291 * sysdeps/unix/sysdep.h: Likewise.
46292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46294
46295 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46296
46297 * libio/libio.h: Remove __STDC__ conditionals.
46298 * malloc/obstack.h: Likewise.
46299 * math/complex.h: Likewise.
46300 * math/math.h: Likewise.
46301 * sysdeps/generic/_G_config.h: Likewise.
46302 * sysdeps/gnu/_G_config.h: Likewise.
46303 * sysdeps/mach/hurd/_G_config.h: Likewise.
46304 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46305 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46306 * sysdeps/sparc/bits/mathdef.h: Likewise.
46307
46308 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46309
46310 [BZ #13583]
46311 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46312 Clean up HAS_* macros.
46313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46314 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46315 possible.
46316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46317 HAS_AVX.
46318 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46319 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46321 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46322 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46323
46324 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46325
46326 * elf/tst-unique3.cc (gets): Remove declaration.
46327 * elf/tst-unique3lib.cc (gets): Likewise.
46328 * elf/tst-unique3lib2.cc (gets): Likewise.
46329 * elf/tst-unique4.cc (gets): Likewise.
46330
46331 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46332
46333 * include/stdio.h: Add C++ protection. Add gets declarations and
46334 definitions.
46335 * debug/tst-chk1.c: Don't declare gets here.
46336 * stdio-common/tst-gets.c: Likewise.
46337
46338 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46339
46340 * posix/glob: Remove directory.
46341
46342 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46343
46344 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46345
46346 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46347
46348 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46349 of the non-standard EPFNOSUPPORT.
46350
46351 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46352
46353 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46354 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46355 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46356
46357 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46358
46359 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46360
46361 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46362
46363 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46364 transient errors.
46365 * nscd/grpcache.c (cache_addgr): Likewise.
46366 * nscd/hstcache.c (cache_addhst): Likewise.
46367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46368 * nscd/pwdcache.c (cache_addpw): Likewise.
46369 * nscd/servicescache.c (cache_addserv): Likewise.
46370
46371 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46372
46373 * malloc/malloc.c: Various cleanups.
46374 * malloc/hooks.c: Likewise.
46375
46376 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46377 * stdlib/bug-fmtmsg1.c: New file.
46378
46379 * stdlib/fmtmsg.c (init): Add missing unlock.
46380 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46381
46382 2012-01-12 Marek Polacek <polacek@redhat.com>
46383
46384 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46385 and _GNU_SOURCE.
46386
46387 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46388
46389 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46390 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46391 macro to ensure uniqueness of label name.
46392 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46393 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46394
46395 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46396
46397 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46398
46399 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46400 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46403
46404 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46405
46406 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46407
46408 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46409 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46410 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46411
46412 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46413
46414 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46415 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46416 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46418
46419 * math/bits/math-finite.h: Add ldexp support.
46420
46421 2012-01-10 Marek Polacek <polacek@redhat.com>
46422
46423 * locale/programs/localedef.h (show_archive_content): Add noreturn
46424 attribute.
46425
46426 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46427
46428 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46429
46430 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46431
46432 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46433
46434 * io/Makefile (headers): Add bits/poll2.h.
46435
46436 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46437
46438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46439 typo #include statement.
46440
46441 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46442
46443 * include/sys/cdefs.h: Define __attribute_alloc_size.
46444 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46445 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46446 * elf/pldd.c: Likewise.
46447 * iconv/iconv_charmap.c: Likewise.
46448 * iconv/iconvconfig.c: Likewise.
46449 * iconv/strtab.c: Likewise.
46450 * locale/programs/locale.c: Likewise.
46451 * locale/programs/localedef.h: Likewise.
46452 * locale/programs/simple-hash.c: Likewise.
46453 * nscd/nscd.h: Likewise.
46454 * nss/makedb.c: Likewise.
46455 * sysdeps/generic/ldconfig.h: Likewise.
46456 * locale/programs/localedef.c: Remove xmalloc prototype.
46457 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46458
46459 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46460
46461 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46462 appropriate.
46463
46464 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46465
46466 * math/Makefile (tests): Add tst-CMPLX.
46467 * math/tst-CMPLX.c: New file.
46468
46469 * math/complex.h (CMPLXL): Fix typo.
46470
46471 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46472 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46473 GLIBC_2.16.
46474 * debug/tst-chk1.c: Add poll and ppoll tests.
46475 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46476 * include/sys/poll.h: Add hidden proto for ppoll.
46477 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46478 * sysdeps/mach/hurd/ppoll.c: Likewise.
46479 * io/ppoll.c: Likewise.
46480 * debug/poll_chk.c: New file.
46481 * debug/ppoll_chk.c: New file.
46482 * include/bits/poll2.h: New file.
46483 * io/bits/poll2.h: New file.
46484
46485 [BZ #1350]
46486 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46487
46488 * configure.in: static is always set to yes. Remove.
46489 * config.make.in: Don't set build-static.
46490 * Makeconfig: Remove use of build-static.
46491 * dlfcn/Makefile: Likewise.
46492 * elf/Makefile: Likewise.
46493 * math/Makefile: Likewise.
46494 * misc/Makefile: Likewise.
46495 * nptl/Makefile: Likewise.
46496 * sysdeps/mach/hurd/Makefile: Likewise.
46497
46498 * configure.in: PWD_P is not used anymore.
46499 * config.make.in: Remove PWD_P entry.
46500
46501 * configure.in: Remove last remnants of RANLIB.
46502 No need to check for signed size_t anymore.
46503 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46504 and IA-64.
46505 Remove __builtin_expect test because we require at least gcc 3.4.
46506 * aclocal.m4: Likewise.
46507
46508 * wcsmbs/mbrtoc16.c: Implement using towc function.
46509 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46510 * wcsmbs/wcsmbsload.c: Likewise.
46511 * iconv/gconv_simple.c: Likewise.
46512 * iconv/gconv_int.h: Likewise.
46513 * iconv/gconv_builtin.h: Likewise.
46514 * iconv/iconv_prog.c: Remove CHAR16 handling.
46515
46516 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46517
46518 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46519
46520 * configure.in: Remove --with-elf and --enable-bounded options.
46521 Dont set base_machine for ia64. More non-ELF conditions removed.
46522 Remove testing and setting of leading underscore information.
46523 * config.make.in (build-bounded): Set to no.
46524 * config.h.in: Remove NO_UNDERSCORES entry.
46525 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46526 them.
46527 * csu/start.c: Remove !NO_UNDERSCORE code.
46528 * locale/localeinfo.h: Likewise.
46529 * sysdeps/generic/machine-gmon.h: Likewise.
46530 * sysdeps/generic/sysdep.h: Likewise.
46531 * sysdeps/i386/sysdep.h: Likewise.
46532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46533 * sysdeps/mach/sysdep.h: Likewise.
46534 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46535 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46536 * sysdeps/sh/sysdep.h: Likewise.
46537 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46538 * sysdeps/unix/i386/sysdep.S: Likewise.
46539 * sysdeps/unix/sparc/start.c: Likewise.
46540 * sysdeps/unix/sparc/sysdep.S: Likewise.
46541 * sysdeps/unix/sparc/sysdep.h: Likewise.
46542 * sysdeps/unix/start.c: Likewise.
46543 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46544 * sysdeps/x86_64/sysdep.h: Likewise.
46545
46546 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46547
46548 [BZ #13553]
46549 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46550 for non-gcc.
46551 * argp/argp-fmtstream.h: Use const instead __const.
46552 * argp/argp.h: Likewise.
46553 * assert/assert.h: Likewise.
46554 * bits/fenv.h: Likewise.
46555 * bits/sched.h: Likewise.
46556 * bits/sigset.h: Likewise.
46557 * bits/sigthread.h: Likewise.
46558 * catgets/nl_types.h: Likewise.
46559 * conform/data/pthread.h-data: Likewise.
46560 * crypt/crypt-private.h: Likewise.
46561 * crypt/crypt.h: Likewise.
46562 * crypt/crypt_util.c: Likewise.
46563 * ctype/ctype.h: Likewise.
46564 * debug/execinfo.h: Likewise.
46565 * debug/mbsnrtowcs_chk.c: Likewise.
46566 * debug/mbsrtowcs_chk.c: Likewise.
46567 * debug/wcsnrtombs_chk.c: Likewise.
46568 * debug/wcsrtombs_chk.c: Likewise.
46569 * debug/wcstombs_chk.c: Likewise.
46570 * dirent/dirent.h: Likewise.
46571 * dlfcn/dlfcn.h: Likewise.
46572 * elf/neededtest4.c: Likewise.
46573 * grp/grp.h: Likewise.
46574 * gshadow/gshadow.h: Likewise.
46575 * iconv/gconv.h: Likewise.
46576 * iconv/gconv_int.h: Likewise.
46577 * iconv/gconv_simple.c: Likewise.
46578 * iconv/iconv.h: Likewise.
46579 * iconv/loop.c: Likewise.
46580 * iconv/skeleton.c: Likewise.
46581 * include/aio.h: Likewise.
46582 * include/aliases.h: Likewise.
46583 * include/argz.h: Likewise.
46584 * include/arpa/inet.h: Likewise.
46585 * include/assert.h: Likewise.
46586 * include/dirent.h: Likewise.
46587 * include/dlfcn.h: Likewise.
46588 * include/execinfo.h: Likewise.
46589 * include/fcntl.h: Likewise.
46590 * include/fenv.h: Likewise.
46591 * include/glob.h: Likewise.
46592 * include/grp.h: Likewise.
46593 * include/libintl.h: Likewise.
46594 * include/mntent.h: Likewise.
46595 * include/netdb.h: Likewise.
46596 * include/pwd.h: Likewise.
46597 * include/rpc/netdb.h: Likewise.
46598 * include/sched.h: Likewise.
46599 * include/search.h: Likewise.
46600 * include/shadow.h: Likewise.
46601 * include/signal.h: Likewise.
46602 * include/stdio.h: Likewise.
46603 * include/stdlib.h: Likewise.
46604 * include/string.h: Likewise.
46605 * include/sys/socket.h: Likewise.
46606 * include/sys/stat.h: Likewise.
46607 * include/sys/statfs.h: Likewise.
46608 * include/sys/statvfs.h: Likewise.
46609 * include/sys/syslog.h: Likewise.
46610 * include/sys/time.h: Likewise.
46611 * include/sys/uio.h: Likewise.
46612 * include/time.h: Likewise.
46613 * include/unistd.h: Likewise.
46614 * include/utmp.h: Likewise.
46615 * include/wchar.h: Likewise.
46616 * include/wctype.h: Likewise.
46617 * inet/aliases.h: Likewise.
46618 * inet/arpa/inet.h: Likewise.
46619 * inet/netinet/ether.h: Likewise.
46620 * inet/netinet/in.h: Likewise.
46621 * intl/libintl.h: Likewise.
46622 * io/bits/fcntl2.h: Likewise.
46623 * io/fcntl.h: Likewise.
46624 * io/ftw.h: Likewise.
46625 * io/sys/poll.h: Likewise.
46626 * io/sys/stat.h: Likewise.
46627 * io/sys/statfs.h: Likewise.
46628 * io/sys/statvfs.h: Likewise.
46629 * io/utime.h: Likewise.
46630 * libio/bits/stdio.h: Likewise.
46631 * libio/bits/stdio2.h: Likewise.
46632 * libio/libio.h: Likewise.
46633 * libio/libioP.h: Likewise.
46634 * libio/stdio.h: Likewise.
46635 * locale/lc-ctype.c: Likewise.
46636 * locale/locale.h: Likewise.
46637 * login/utmp.h: Likewise.
46638 * malloc/arena.c: Likewise.
46639 * malloc/malloc.c: Likewise.
46640 * malloc/malloc.h: Likewise.
46641 * malloc/mcheck.c: Likewise.
46642 * malloc/mtrace.c: Likewise.
46643 * math/bits/mathcalls.h: Likewise.
46644 * math/fenv.h: Likewise.
46645 * math/math_private.h: Likewise.
46646 * misc/bits/error.h: Likewise.
46647 * misc/bits/syslog.h: Likewise.
46648 * misc/err.h: Likewise.
46649 * misc/error.h: Likewise.
46650 * misc/fstab.h: Likewise.
46651 * misc/mntent.h: Likewise.
46652 * misc/regexp.h: Likewise.
46653 * misc/search.h: Likewise.
46654 * misc/sgtty.h: Likewise.
46655 * misc/sys/mman.h: Likewise.
46656 * misc/sys/syslog.h: Likewise.
46657 * misc/sys/uio.h: Likewise.
46658 * misc/sys/xattr.h: Likewise.
46659 * misc/ttyent.h: Likewise.
46660 * nis/rpcsvc/ypclnt.h: Likewise.
46661 * nss/nss.h: Likewise.
46662 * posix/bits/unistd.h: Likewise.
46663 * posix/fnmatch.h: Likewise.
46664 * posix/glob.h: Likewise.
46665 * posix/sched.h: Likewise.
46666 * posix/spawn.h: Likewise.
46667 * posix/sys/wait.h: Likewise.
46668 * posix/unistd.h: Likewise.
46669 * posix/wordexp.h: Likewise.
46670 * pwd/pwd.h: Likewise.
46671 * resolv/netdb.h: Likewise.
46672 * resource/sys/resource.h: Likewise.
46673 * rt/aio.h: Likewise.
46674 * rt/bits/mqueue2.h: Likewise.
46675 * rt/mqueue.h: Likewise.
46676 * shadow/shadow.h: Likewise.
46677 * signal/signal.h: Likewise.
46678 * socket/send.c: Likewise.
46679 * socket/sendto.c: Likewise.
46680 * socket/sys/socket.h: Likewise.
46681 * stdio-common/printf.h: Likewise.
46682 * stdlib/bits/stdlib.h: Likewise.
46683 * stdlib/fmtmsg.h: Likewise.
46684 * stdlib/monetary.h: Likewise.
46685 * stdlib/stdlib.h: Likewise.
46686 * stdlib/ucontext.h: Likewise.
46687 * streams/stropts.h: Likewise.
46688 * string/argz.h: Likewise.
46689 * string/bits/string2.h: Likewise.
46690 * string/string.h: Likewise.
46691 * string/strings.h: Likewise.
46692 * sunrpc/rpc/auth.h: Likewise.
46693 * sunrpc/rpc/auth_des.h: Likewise.
46694 * sunrpc/rpc/clnt.h: Likewise.
46695 * sunrpc/rpc/netdb.h: Likewise.
46696 * sunrpc/rpc/pmap_clnt.h: Likewise.
46697 * sunrpc/rpc/xdr.h: Likewise.
46698 * sysdeps/generic/inttypes.h: Likewise.
46699 * sysdeps/generic/net/if.h: Likewise.
46700 * sysdeps/generic/sys/swap.h: Likewise.
46701 * sysdeps/gnu/net/if.h: Likewise.
46702 * sysdeps/gnu/utmpx.h: Likewise.
46703 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46704 * sysdeps/i386/i486/bits/string.h: Likewise.
46705 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46706 * sysdeps/s390/bits/string.h: Likewise.
46707 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46708 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46709 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46710 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46711 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46712 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46713 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46714 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46715 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46716 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46717 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46718 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46719 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46720 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46721 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46722 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46723 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46725 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46726 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46727 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46728 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46729 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46730 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46731 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46732 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46733 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46734 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46735 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46736 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46737 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46738 * sysvipc/sys/ipc.h: Likewise.
46739 * sysvipc/sys/msg.h: Likewise.
46740 * sysvipc/sys/sem.h: Likewise.
46741 * sysvipc/sys/shm.h: Likewise.
46742 * termios/termios.h: Likewise.
46743 * time/sys/time.h: Likewise.
46744 * time/time.h: Likewise.
46745 * wcsmbs/bits/wchar2.h: Likewise.
46746 * wcsmbs/uchar.h: Likewise.
46747 * wcsmbs/wchar.h: Likewise.
46748 * wctype/wctype.h: Likewise.
46749
46750 [BZ #13551]
46751 * Makeconfig: Remove all but ELF support including AIX support.
46752 * Makerules: Likewise.
46753 * config.h.in: Likewise.
46754 * config.make.in: Likewise.
46755 * configure: Likewise.
46756 * configure.in: Likewise.
46757 * csu/Makefile: Likewise.
46758 * csu/version.c: Likewise.
46759 * debug/Makefile: Likewise.
46760 * dlfcn/Makefile: Likewise.
46761 * elf/Makefile: Likewise.
46762 * extra-lib.mk: Likewise.
46763 * iconv/Makefile: Likewise.
46764 * include/libc-symbols.h: Likewise.
46765 * include/shlib-compat.h: Likewise.
46766 * resolv/Makefile: Likewise.
46767 * resolv/res_libc.c: Likewise.
46768 * rt/Makefile: Likewise.
46769 * sysdeps/i386/asm-syntax.h: Likewise.
46770 * sysdeps/i386/sysdep.h: Likewise.
46771 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46772 * sysdeps/mach/sysdep.h: Likewise.
46773 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46774 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46775 * sysdeps/s390/asm-syntax.h: Likewise.
46776 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46777 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46778 * sysdeps/sh/sysdep.h: Likewise.
46779 * sysdeps/unix/sparc/sysdep.h: Likewise.
46780 * sysdeps/wordsize-32/divdi3.c: Likewise.
46781 * sysdeps/x86_64/sysdep.h: Likewise.
46782
46783 * argp/Versions: Remove _argp_unlock_xxx.
46784
46785 [BZ #13559]
46786 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46787 * abilist/libBrokenLocale.abilist: Likewise.
46788 * abilist/libanl.abilist: Likewise.
46789 * abilist/libc.abilist: Likewise.
46790 * abilist/libcrypt.abilist: Likewise.
46791 * abilist/libdl.abilist: Likewise.
46792 * abilist/libm.abilist: Likewise.
46793 * abilist/libnsl.abilist: Likewise.
46794 * abilist/libpthread.abilist: Likewise.
46795 * abilist/libresolv.abilist: Likewise.
46796 * abilist/librt.abilist: Likewise.
46797 * abilist/libthread_db.abilist: Likewise.
46798 * abilist/libutil.abilist: Likewise.
46799 * abilist/libnss_db.abilist: New file.
46800
46801 * scripts/abilist.awk: Add support for indirect functions.
46802
46803 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46804
46805 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46806
46807 * shlib-versions: Remove entries for ports architectures.
46808
46809 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46810 files in ports.
46811 * elf/stackguard-macros.h: Remove support for IA-64.
46812 * elf/tst-auditmod1.c: Likewise.
46813 * sysdeps/generic/ldsodefs.h: Likewise.
46814
46815 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46816 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46817 configure files.
46818
46819 [BZ #13552]
46820 * configure.in: Remove --enable-omitfp support.
46821 * FAQ.in: Adjust.
46822 * config.make.in: Likewise.
46823 * Makeconfig: Likewise.
46824 * manual/install.texi: Likewise.
46825
46826 In case anyone cares, the IA-64 architecture could move to ports.
46827 * sysdeps/ia64/*: Removed.
46828 * sysdeps/unix/sysv/linux/ia64/*: Removed.
46829 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46830
46831 [BZ #13555]
46832 * configure.in: Remove entries for unsupported architectures.
46833
46834 [BZ #13533]
46835 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46836 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46837 routines.
46838 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46839 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46840 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46841 fall back to using wcrtomb.
46842 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46843 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46844 renaming.
46845 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46846 * wcsmbs/tst-c16c32-1.c: New file.
46847
46848 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46849 local variable.
46850
46851 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46852
46853 * elf/tst-unique3.cc: Add explicit declaration of gets.
46854 * elf/tst-unique3lib.cc: Likewise.
46855 * elf/tst-unique3lib2.cc: Likewise.
46856 * elf/tst-unique4.cc: Likewise.
46857
46858 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46859
46860 2012-01-06 Joseph Myers <joseph@codesourcery.com>
46861
46862 [BZ #13566]
46863 * assert/assert.h (static_assert): Don't define for C++.
46864 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46865 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46866
46867 2012-01-03 Ulrich Drepper <drepper@gmail.com>
46868
46869 * iconv/loop.c (single loop): Fix assertion in storing of
46870 remaining bytes.
46871
46872 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46873
46874 2012-01-01 Ulrich Drepper <drepper@gmail.com>
46875
46876 * posix/getconf.c: Update copyright year.
46877 * nss/getent.c: Likewise.
46878 * nss/makedb.c: Likewise.
46879 * iconv/iconvconfig.c: Likewise.
46880 * iconv/iconv_prog.c: Likewise.
46881 * elf/ldconfig.c: Likewise.
46882 * elf/pldd.c: Likewise.
46883 * elf/sotruss.ksh: Likewise.
46884 * catgets/gencat.c: Likewise.
46885 * csu/version.c: Likewise.
46886 * elf/ldd.bash.in: Likewise.
46887 * elf/sprof.c (print_version): Likewise.
46888 * locale/programs/locale.c: Likewise.
46889 * locale/programs/localedef.c: Likewise.
46890 * login/programs/pt_chown.c: Likewise.
46891 * nscd/nscd.c (print_version): Likewise.
46892 * debug/xtrace.sh: Likewise.
46893 * malloc/memusage.sh: Likewise.
46894 * malloc/mtrace.pl: Likewise.
46895 * debug/catchsegv.sh: Likewise.
46896
46897 2011-12-30 Jakub Jelinek <jakub@redhat.com>
46898
46899 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46900 pure attribute.
46901
46902 2011-12-24 Ulrich Drepper <drepper@gmail.com>
46903
46904 [BZ #13533]
46905 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46906 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46907 transformations.
46908 * iconv/gconv_int.h: Likewise.
46909 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46910 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46911 from libc for GLIBC_2.16.
46912 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46913 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46914 * wcsmbs/uchar.h: Really define mbstate_t.
46915 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46916 * wcsmbs/c16rtomb.c: New file.
46917 * wcsmbs/mbrtoc16.c: New file.
46918 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46919 for C/POSIX locale.
46920 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46921 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46922
46923 * wcsmbs/wchar.h: Add missing __restrict.
46924
46925 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46926
46927 [BZ #13532]
46928 * time/Makefile (routines): Add timespec_get.
46929 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46930 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46931 timespec for ISO C11.
46932 * time/timespec_get.c: New file.
46933 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46934 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46935
46936 [BZ #13531]
46937 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46938 * stdlib/stdlib.h: Declare aligned_alloc.
46939 * Versions.def: Add GLIBC_2.16 for libc.
46940 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46941
46942 [BZ 13527]
46943 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46944 ISO C11.
46945
46946 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46947 code.
46948
46949 [BZ #13528]
46950 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46951
46952 [BZ #13529]
46953 * assert/assert.h (static_assert): Define.
46954
46955 * version.h: Update for 2.16 development version.
46956
46957 [BZ #13526]
46958 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46959 _ISOC11_SOURCE.
46960
46961 * version.h (RELEASE): Bump for 2.15 release.
46962 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46963
46964 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46965 Patch by Marek Polacek <mpolacek@redhat.com>.
46966
46967 * bits/byteswap.h: Protect long long constants with __extension__.
46968 * sysdeps/i386/bits/byteswap.h: Likewise.
46969 * sysdeps/ia64/bits/byteswap.h: Likewise.
46970 * sysdeps/s390/bits/byteswap.h: Likewise.
46971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46972
46973 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46974
46975 [BZ #13540]
46976 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46977 destination buffer.
46978 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46979
46980 2011-12-23 Marek Polacek <polacek@redhat.com>
46981
46982 * elf/dl-addr.c (determine_info): Add inline keyword.
46983 * elf/tst-auditmod4b.c (check_avx): Likewise.
46984 * elf/tst-auditmod6b.c (check_avx): Likewise.
46985 * elf/tst-auditmod6c.c (check_avx): Likewise.
46986 * elf/tst-auditmod7b.c (check_avx): Likewise.
46987
46988 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46989
46990 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46991 !__SSE_MATH__.
46992
46993 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46994
46995 [BZ #13540]
46996 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46997 processing for last bytes.
46998
46999 2011-08-06 Bruno Haible <bruno@clisp.org>
47000
47001 [BZ #13061]
47002 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47003 U+0385, not to U+1FEE.
47004
47005 [BZ #13062]
47006 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47007 entry for U+00A5 U+0301.
47008
47009 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47010
47011 [BZ #13166]
47012 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47013 buffer for the output is too small.
47014
47015 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47016 optimization.
47017
47018 [BZ #13185]
47019 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47020 SSE flags if possible.
47021
47022 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47023
47024 [BZ #13540]
47025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47026 processing for last bytes.
47027
47028 2011-12-22 Joseph Myers <joseph@codesourcery.com>
47029
47030 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47031 (syscall-list-default-options, syscall-list-default-condition)
47032 (syscall-list-includes): Define.
47033 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47034 list of ABIs and options and #if conditions for each ABI. Do not
47035 handle common syscalls between ABIs specially.
47036 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47037 Remove.
47038 (syscall-list-variants, syscall-list-32bit-options)
47039 (syscall-list-32bit-condition, syscall-list-64bit-options)
47040 (syscall-list-64bit-condition): Define.
47041 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47042 (syscall-list-variants, syscall-list-32bit-options)
47043 (syscall-list-32bit-condition, syscall-list-64bit-options)
47044 (syscall-list-64bit-condition): Define.
47045 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47046 Remove.
47047 (syscall-list-variants, syscall-list-32bit-options)
47048 (syscall-list-32bit-condition, syscall-list-64bit-options)
47049 (syscall-list-64bit-condition): Define.
47050 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47051 Remove.
47052 (syscall-list-variants, syscall-list-32bit-options)
47053 (syscall-list-32bit-condition, syscall-list-64bit-options)
47054 (syscall-list-64bit-condition): Define.
47055
47056 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47057
47058 * locale/iso-639.def: Add brx entry.
47059
47060 [BZ #13328]
47061 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47062 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47063
47064 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47065 __feraiseexcept_renamed.
47066
47067 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47068
47069 [BZ #13538]
47070 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47071 EPOLLET with unsigned values.
47072 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47073 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47074
47075 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47076 to large cancellation.
47077 * math/s_cacoshf.c: Likewise.
47078 * math/s_cacoshl.c: Likewise.
47079
47080 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47081
47082 [BZ #13305]
47083 [BZ #12786]
47084 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47085 * math/s_cacoshf.c: Likewise.
47086 * math/s_cacoshl.c: Likewise.
47087
47088 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47089
47090 [BZ #13439]
47091 * iconv/gconv.h: Define __GCONV_SWAP.
47092 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47093 * iconvdata/utf-16.c: Likewise.
47094 * iconvdata/utf-32.c: Likewise.
47095
47096 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47097
47098 [BZ #13524]
47099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47100 numerator after shifting it by one limb.
47101
47102 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47103
47104 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47105 under [__USE_EXTERN_INLINES].
47106
47107 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47108
47109 [BZ #13446]
47110 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47111
47112 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47113
47114 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47115 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47116 optimized code.
47117 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47118 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47119 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47120 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47121 for strncasecmp/strncasecmp_l compilation.
47122 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47123 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47124
47125 2011-12-08 Marek Polacek <mpolacek@redhat.com>
47126
47127 [BZ #13484]
47128 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47129 of __asm__.
47130
47131 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47132
47133 [BZ #13506]
47134 * time/tzfile.c (__tzfile_read): Check values from file header.
47135
47136 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47137
47138 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47139 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47140 * powerpc/powerpc32/dl-start.S: Likewise.
47141 * powerpc/powerpc32/elf/start.S: Likewise.
47142 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47143 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47144 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47145 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47146 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47147 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47148 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47149 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47150 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47151 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47152 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47153 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47154 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47155 * powerpc/powerpc32/memset.S: Likewise.
47156 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47157 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47158 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47159 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47160 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47161 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47162 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47163 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47164 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47165 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47166 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47167 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47168 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47169
47170 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47171
47172 * math/libm-test.inc: Added more nearbyint tests.
47173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47174 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47176 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47177
47178 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47179
47180 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47181 FD_CLOEXEC.
47182
47183 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47184
47185 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47186 Add wcscpy-ssse3 wcscpy-c.
47187 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47188 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47189 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47190 * sysdeps/x86_64/wcschr.S: New file.
47191 * sysdeps/x86_64/wcsrchr.S: New file.
47192 * string/test-strcmp.c: Remove checking of wcscmp function for
47193 wrong alignments.
47194 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47195 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47196 wcsrchr-sse2 wcsrchr-c.
47197 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47198 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47199 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47200 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47201 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47202 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47203 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47204 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47205 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47206 * wcsmbc/wcschr.c (WCSCHR): New macro.
47207
47208 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47209
47210 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47211 * wcsmbs/test-wcsrchr.c: New file.
47212 * string/test-strrchr.c: Add wcsrchr support.
47213 (WIDE): New macro.
47214 * wcsmbs/test-wcscpy.c: New file.
47215 * string/test-strcpy.c: Add wcscpy support.
47216 (WIDE): New macro.
47217
47218 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47219
47220 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47221 the inner loop.
47222
47223 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47224
47225 [BZ #13472]
47226 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47227
47228 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47229
47230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47231 Minor optimizations.
47232
47233 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47234 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47235 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47236
47237 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47238
47239 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47240 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47241 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47242 for gcc to avoid warnings.
47243 * inet/Makefile (tests): Add tst-checks.
47244 * inet/tst-checks.c: New file.
47245
47246 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47247 warning.
47248
47249 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47250 __wmemcmp_sse2.
47251
47252 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47253 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47254
47255 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47256
47257 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47258
47259 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47260 problem.
47261
47262 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47263
47264 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47265
47266 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47267 conditional on GCC version.
47268 (__arch_compare_and_exchange_val_8_acq)
47269 (__arch_compare_and_exchange_val_16_acq)
47270 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47271 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47272 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47273
47274 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47275
47276 * sysdeps/sh/backtrace.c: New file.
47277
47278 2011-12-02 Andreas Schwab <schwab@redhat.com>
47279
47280 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47281 parenthesis.
47282
47283 2011-12-01 Andreas Schwab <schwab@redhat.com>
47284
47285 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47286 falling back to utime.
47287
47288 2011-11-30 Andreas Schwab <schwab@redhat.com>
47289
47290 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47291 expectations for float.
47292
47293 2011-11-29 Andreas Schwab <schwab@redhat.com>
47294
47295 * locale/weight.h (findidx): Add parameter len.
47296 * locale/weightwc.h (findidx): Likewise.
47297 * posix/fnmatch_loop.c (FCT): Adjust caller.
47298 * posix/regcomp.c (build_equiv_class): Likewise.
47299 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47300 * posix/regexec.c (check_node_accept_bytes): Likewise.
47301 * string/strcoll_l.c (STRCOLL): Likewise.
47302 * string/strxfrm_l.c (STRXFRM): Likewise.
47303
47304 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47305
47306 * Makefile.in: Remove CVSOPT handling.
47307 * configure.in: Remove use of AC_REVISION.
47308 * iconvdata/Makefile (distribute): No need to filter out CVS.
47309 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47310 handling.
47311
47312 2011-11-16 Andreas Schwab <schwab@redhat.com>
47313
47314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47315 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47316 [USE_AS_STRNCASECMP_L]: Likewise.
47317 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47318 NO_TLS_DIRECT_SEG_REFS.
47319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47320 Fix argument offsets for non-PIC.
47321 [USE_AS_STRNCASECMP_L]: Likewise.
47322 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47323 NO_TLS_DIRECT_SEG_REFS.
47324
47325 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47326
47327 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47328 O_CLOEXEC.
47329 * locale/loadlocale.c (_nl_load_locale): Likewise.
47330
47331 2011-11-15 Andreas Schwab <schwab@redhat.com>
47332
47333 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47334 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47335 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47336 (SYSCALL_GETTIME): Set errno on error.
47337
47338 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47339 count references to noai6ai_cached.
47340
47341 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47342
47343 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47344
47345 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47346 FD_CLOEXEC for /proc/self/maps.
47347
47348 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47349 FD_CLOEXEC for /proc/meminfo.
47350
47351 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47352 gai.conf.
47353
47354 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47355 FD_CLOEXEC for given file.
47356
47357 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47358
47359 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47360 FD_CLOEXEC for /etc/hosts.
47361 (_gethtent): Likewise.
47362
47363 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47364
47365 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47366 cancellation and set FD_CLOEXEC for /etc/netgroup.
47367
47368 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47369 reading /etc/publickey.
47370
47371 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47372 allow cancellation when reading /etc/group.
47373
47374 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47375 cancellation.
47376 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47377
47378 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47379 when using data file.
47380
47381 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47382
47383 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47384 (write_nis_obj): Use "c" and "e" in fopen.
47385
47386 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47387
47388 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47389
47390 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47391
47392 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47393
47394 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47395 locale.alias.
47396
47397 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47398
47399 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47400
47401 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47402
47403 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47404 file parsing and set FD_CLOEXEC.
47405
47406 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47407
47408 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47409
47410 2011-11-14 Andreas Schwab <schwab@redhat.com>
47411
47412 * malloc/arena.c (arena_get2): Don't call reused_arena when
47413 _int_new_arena failed.
47414
47415 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47416
47417 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47418 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47419 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47420 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47421 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47423 to compile strcasecmp and strncasecmp.
47424 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47425 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47426
47427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47428
47429 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47430
47431 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47432 locale-defines.sym to gen-as-const-headers.
47433 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47434 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47436 to compile strcasecmp and strncasecmp.
47437 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47438 strcasecmp_l and strncasecmp_l.
47439 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47440 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47441 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47442 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47443 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47444 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47445 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47446 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47447 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47448 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47449 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47450
47451 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47452
47453 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47454 result of SYSDEP_GETTIME_CPU to retval.
47455 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47456 parameter list to macro. Remove trailing semicolon. Adjust users.
47457
47458 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47459 variable.
47460
47461 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47462 mantissa words.
47463 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47464
47465 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47466 from unused variable.
47467
47468 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47469 DWARF definitions.
47470 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47471 for assembling.
47472
47473 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47474 over namespaces.
47475
47476 * sunrpc/rpc_prot.c (rejected): Fix case value.
47477
47478 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47479 unsigned long long int to avoid warnings in shift.
47480
47481 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47482 of use of trans.
47483 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47484 variable tmp.
47485
47486 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47487 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47488 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47489
47490 * nis/nis_table.c (nis_list): Use variable of correct type for
47491 result of __follow_path call.
47492
47493 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47494
47495 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47496 of math functions ceil, trunc, floor, round, and sqrt, when
47497 avaliable on the platform.
47498 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47499 name clash.
47500 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47501 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47502 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47503
47504 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47505
47506 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47508
47509 2011-11-11 Roland McGrath <roland@hack.frob.com>
47510
47511 * include/unistd.h: Fix __readlink return type.
47512 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47513
47514 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47515
47516 * stdlib/ucontext.h: Undo last change for makecontext.
47517
47518 2011-11-11 Andreas Schwab <schwab@redhat.com>
47519
47520 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47521
47522 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47523 * setjmp/setjmp.h: Mark functions as non-leaf.
47524 * setjmp/bits/setjmp2.h: Likewise.
47525 * stdlib/ucontext.h: Likewise.
47526
47527 2011-11-10 Andreas Schwab <schwab@redhat.com>
47528
47529 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47530 (reused_arena): Don't check arena limit.
47531 (arena_get2): Atomically check arena limit.
47532
47533 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47534
47535 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47536 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47537
47538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47539 instructions.
47540
47541 2011-11-07 Andreas Schwab <schwab@redhat.com>
47542
47543 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47544 handler when locking.
47545
47546 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47547 Fix size of allocated buffer.
47548
47549 2011-11-04 Andreas Schwab <schwab@redhat.com>
47550
47551 [BZ #10103]
47552 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47553 declarations for long double functions.
47554 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47555
47556 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47557
47558 2011-11-03 Andreas Schwab <schwab@redhat.com>
47559
47560 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47561 installed.
47562
47563 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47564 is disabled.
47565
47566 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47567
47568 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47569
47570 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47571
47572 * include/alloca.h (stackinfo_alloca_round): Define.
47573 (extend_alloca): Use it.
47574 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47575 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47576 here.
47577
47578 * scripts/check-local-headers.sh: Ignore libaudit.h.
47579
47580 * nscd/Makefile (extra-objs): Make recursively expanded.
47581
47582 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47583
47584 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47585 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47586
47587 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47588 * posix/tst-rfc3484-2.c: Likewise.
47589 * posix/tst-rfc3484-3.c: Likewise.
47590
47591 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47592 process_vm_writev.
47593 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47594 process_vm_writev.
47595 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47596 process_vm_writev from libc using GLIBC_2.15 version.
47597
47598 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47599
47600 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47601
47602 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47603 stack usage.
47604
47605 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47606
47607 [BZ #13367]
47608 * nss/getent.c (initgroups_keys): Show error message in case no group
47609 names are given.
47610
47611 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47612 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47613 __bump_nl_timestamp.
47614 * nscd/connections (nscd_init): When host database is served open
47615 netlink socket and request notification about configuration changes.
47616 (main_loop_poll): Track netlink file descriptor and bump timestamp
47617 in case data becomes available.
47618 (main_loop_epoll): Likewise.
47619 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47620 (database_pers_head): Add extra_data fileds.
47621 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47622 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47623 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47624 Adjust caller.
47625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47626 in6ai data, call __free_in6ai.
47627 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47628 Add -DHAVE_NETLINK.
47629 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47630 interface information. Reuse previous data if netlink timestamp
47631 is not changed.
47632 (__bump_nl_timestamp): New function.
47633 (__free_in6ai): New function.
47634
47635 2011-10-30 Ulrich Drepper <drepper@gmail.com>
47636
47637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47638 close_not_cancel_no_status here.
47639 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47640
47641 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47642
47643 [BZ #13276]
47644 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47645 return value.
47646
47647 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47648 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47649 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47650
47651 2011-07-03 Andreas Jaeger <aj@suse.de>
47652
47653 [BZ #10709]
47654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47655 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47656 * math/libm-test.inc (sin_test): Add test case.
47657
47658 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47659
47660 [BZ #13337]
47661 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47662 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47663
47664 * elf/chroot_canon.c (chroot_canon): Cleanups.
47665
47666 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47667
47668 [BZ #13335]
47669 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47671
47672 * string/test-strchr.c: Make usable for strchrnul testing.
47673 * string/test-strchrnul.c: New file.
47674 * string/Makefile (strop-tests): Add strchrnul.
47675
47676 * po/it.po: Update from translation team.
47677 * po/es.po: Likewise.
47678
47679 2011-10-28 Ulrich Drepper <drepper@gmail.com>
47680
47681 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47682 the three constants needed as parameters. Drop the others.
47683 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47684 __m128i_strloadu_tolower.
47685 Create and initialize variable zero and use it in all the places
47686 where _mm_setzero_si128 was used.
47687
47688 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47689 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47690 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47691 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47692 anymore.
47693 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47694 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47695 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47696 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47697 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47698 __mpranred, __mptan.
47699 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47700 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47701 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47702 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47703 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47704 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47705 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47706 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47707 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47708
47709 2011-10-28 Andreas Schwab <schwab@redhat.com>
47710
47711 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47712 redefine if SHARED.
47713 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47714
47715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47716 wide char related routines to wcsmbs subdir.
47717
47718 2011-10-27 Andreas Schwab <schwab@redhat.com>
47719
47720 [BZ #13344]
47721 * misc/sys/cdefs.h (__THROWNL): Define.
47722 * posix/unistd.h: Use __THREADNL instead of __THREAD
47723 for memory synchronization functions.
47724
47725 2011-10-26 Roland McGrath <roland@hack.frob.com>
47726
47727 [BZ #13349]
47728 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47729 doesn't exist.
47730 * manual/stdio.texi (Obstack Streams): Node removed.
47731
47732 2011-10-26 Andreas Schwab <schwab@redhat.com>
47733
47734 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47735 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47736 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47737
47738 * math/math_private.h (math_force_eval): Allow non-addressable
47739 arguments.
47740 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47741
47742 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47743
47744 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47745 file is not needed.
47746
47747 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47748 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47750 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47753 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47754 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47755 Add AVX variants.
47756 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47757 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47758 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47759 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47760 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47761 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47762 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47763 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47764 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47765 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47766 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47767 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47769 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47770 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47771 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47772 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47773 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47774 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47775
47776 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47777 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47778
47779 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47780 place. Use VEX encoding when compiling for AVX.
47781
47782 2011-10-25 Andreas Schwab <schwab@redhat.com>
47783
47784 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47785 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47786
47787 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47788
47789 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47790
47791 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47792 useless if() expression.
47793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47794 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47795 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47797 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47798 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47799 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47801 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47803 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47804 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47805 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47807 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47808 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47809 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47811 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47812
47813 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47814
47815 2011-10-25 Andreas Schwab <schwab@redhat.com>
47816
47817 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47818 condition.
47819 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47820
47821 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47822
47823 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47824 .text section. Avoid duplicate constants.
47825 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47827 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47829 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47833 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47835 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47836 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47837 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47838 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47839 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47840 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47841 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47842 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47843 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47845 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47846 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47847 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47848 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47849 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47850 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47851 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47852 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47853 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47854 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47855 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47856 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47857 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47858 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47859 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47860 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47861 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47862 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47863 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47864 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47865 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47866 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47867 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47868 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47869 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47870
47871 2011-10-24 Ulrich Drepper <drepper@gmail.com>
47872
47873 * sysdeps/x86_64/dla.h: Move to ...
47874 * sysdeps/x86_64/fpu/dla.h: ...here.
47875 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47876 situations. Use __builtin_fma only for gcc 4.6 and up.
47877
47878 * config.make.in: Add have-mfma4 entry.
47879 * configure.in: Substitute libc_cv_cc_fma4.
47880 * math/Makefile (dbl-only-routines): Add sincostab.
47881 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47882 Use __sincostab not sincos.
47883 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47884 name is a macro.
47885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47887 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47889 using __copysign.
47890 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47891 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47892 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47893 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47894 and __inv.
47895 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47896 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47897 __copysign.
47898 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47899 define aliases when function name is a macro.
47900 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47901 sysdeps/ieee754/dbl-64/sincos.tbl.
47902 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47903 fma4-enabled routines.
47904 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47905 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47906 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47907 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47908 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47909 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47911 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47913 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47914 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47915 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47916 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47917 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47918 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47919 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47920 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47921 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47922 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47923 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47924 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47925 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47926 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47927 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47928 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47931 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47932 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47933 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47934
47935 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47936 rename.
47937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47945
47946 2011-10-24 Andreas Schwab <schwab@redhat.com>
47947
47948 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47949
47950 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47951
47952 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47953
47954 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47955 prediction.
47956 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47957
47958 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47959 Remove unused variable magic_bits.
47960 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47961
47962 * string/strnlen.c: Define and use STRNLEN macro.
47963 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47964 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47965 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47966 * wcsmbs/wcslen.c: Define and use WCSLEN.
47967 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47968 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47969 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47970 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47971 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47972 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47973 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47974
47975 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47976
47977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47978 strnlen-sse2-no-bsf.
47979 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47980 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47981 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47982 Add strnlen support.
47983 (USE_AS_STRNLEN): New macro.
47984 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47985 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47986 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47987 * sysdeps/x86_64/wcslen.S: New file.
47988
47989 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47990
47991 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47992 XMM-moves are used for copying on small sizes.
47993
47994 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47995
47996 * wcsmbs/Makefile (strop-tests): Add wcschr.
47997 * wcsmbs/test-wcschr.c: New file.
47998 * string/test-strchr.c: Update.
47999 Add wcschr support.
48000 (WIDE): New macro.
48001
48002 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48003
48004 * wcsmbs/Makefile (strop-tests): Add wcslen.
48005 * wcsmbs/test-wcslen.c: New file.
48006 * string/test-strlen.c: Update.
48007 Add wcslen support.
48008 (WIDE): New macro.
48009
48010 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48011
48012 * po/it.po: Update from translation team.
48013
48014 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48015
48016 * sysdeps/x86_64/wcscmp.S: Update.
48017 Fix wrong comparison semantics.
48018 wcscmp shall use signed comparison not unsigned.
48019 Don't use substraction to avoid overflow bug.
48020 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48021 * wcsmbc/wcscmp.c: Likewise.
48022 * string/test-strcmp.c: Likewise.
48023 Add new tests to check cases with negative values.
48024
48025 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48026
48027 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48028 * sysdeps/x86_64/dla.h: ...here. New file.
48029 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48038
48039 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48040
48041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48042 __ynl_finite aliases.
48043
48044 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48045
48046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48047
48048 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48049 define DLA_FMA.
48050 [DLA_FMA] (EMULV): Use DLA_FMA.
48051 [DLA_FMA] (MUL12): Use EMULV.
48052 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48053 that are not needed.
48054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48061
48062 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48063
48064 * math/s_nan.c: Undef __nan.
48065 * math/s_nanf.c: Undef __nanf.
48066 * math/s_nanl.c: Undef __nanl.
48067 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48068 "math_private.h".
48069
48070 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48071
48072 * math/s_catan.c: Add branch predictions.
48073 * math/s_catanf.c: Likewise.
48074 * math/s_catanh.c: Likewise.
48075 * math/s_catanhf.c: Likewise.
48076 * math/s_catanhl.c: Likewise.
48077 * math/s_catanl.c: Likewise.
48078 * math/s_cexp.c: Likewise.
48079 * math/s_cexpf.c: Likewise.
48080 * math/s_cexpl.c: Likewise.
48081 * math/s_clog.c: Likewise.
48082 * math/s_clog10.c: Likewise.
48083 * math/s_clog10f.c: Likewise.
48084 * math/s_clog10l.c: Likewise.
48085 * math/s_clogf.c: Likewise.
48086 * math/s_clogl.c: Likewise.
48087 * math/s_csqrt.c: Likewise.
48088 * math/s_csqrtf.c: Likewise.
48089 * math/s_csqrtl.c: Likewise.
48090 * math/s_ctanf.c: Likewise.
48091 * math/s_ctanh.c: Likewise.
48092 * math/s_ctanhf.c: Likewise.
48093 * math/s_ctanhl.c: Likewise.
48094 * math/s_ctanl.c: Likewise.
48095
48096 * math/math_private.h: Define __nan, __nanf, __nanl.
48097 * math/s_cacosh.c: Include <math_private.h>.
48098 * math/s_cacoshl.c: Likewise.
48099 * math/s_casinh.c: Likewise.
48100 * math/s_casinhf.c: Likewise.
48101 * math/s_casinhl.c: Likewise.
48102 * math/s_ccos.c: Rely entire on ccosh.
48103 * math/s_ccosf.c: Rely entire on ccoshf.
48104 * math/s_ccosl.c: Rely entirely on ccoshl.
48105 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48106 Remove tests for FE_INVALID.
48107 * math/s_ccoshf.c: Likewise.
48108 * math/s_ccoshl.c: Likewise.
48109 * math/s_csin.c: Likewise.
48110 * math/s_csinf.c: Likewise.
48111 * math/s_csinh.c Likewise.
48112 * math/s_csinhf.c: Likewise.
48113 * math/s_csinhl.c: Likewise.
48114 * math/s_csinl.c: Likewise.
48115 * math/s_ctan.c: Likewise.
48116 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48117 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48118 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48119
48120 2011-10-21 Ulrich Drepper <drepper@gmail.com>
48121
48122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48123 compilation problems.
48124
48125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48126 __builtin_expect.
48127
48128 2011-10-20 Ulrich Drepper <drepper@gmail.com>
48129
48130 * sysdeps/i386/configure.in: Test for -mfma4 option.
48131 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48132 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48133 COMMON_CPUID_INDEX_80000001.
48134 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48135 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48136 use it if FMA3 is not supported.
48137 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48138
48139 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48140 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48141
48142 2011-10-20 Andreas Schwab <schwab@redhat.com>
48143
48144 [BZ #12892]
48145 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48146 it would create a cycle with a link time dependency.
48147
48148 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48149
48150 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48151 instruction.
48152 * string/Makefile (strop-tests): Add rawmemchr.
48153 * string/test-rawmemchr.c: New file.
48154
48155 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48157 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48158 when compiling str{,n}casecmp and when AVX is available. Hook up
48159 new optimized code in initializers.
48160
48161 2011-10-19 Andreas Schwab <schwab@redhat.com>
48162
48163 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48164 __feraiseexcept instead of feraiseexcept.
48165
48166 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48167
48168 * math/math_private.h: Define defaults for libc_fetestexcept and
48169 libc_feupdateenv.
48170 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48171 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48172 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48173 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48174 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48175 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48176 libc_fetestexcept and libc_feupdateenv.
48177
48178 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48179 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48180 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48181 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48182 libc_feholdexcept_setround.
48183
48184 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48185 Add s_nearbyint-c and s_nearbyintf-c.
48186 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48187 nearbyintf inlines.
48188 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48189 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48190 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48191 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48192
48193 * math/math_private.h: Define defaults for libc_fegetround,
48194 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48195 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48196 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48198 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48199 standard functions.
48200 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48201 Remove comments and hacks for old compiler versions.
48202 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48203 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48204 libc_feholdexceptl.
48205
48206 2011-10-18 Andreas Schwab <schwab@redhat.com>
48207
48208 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48209 (__feraiseexcept_renamed): Add __NTH.
48210 (feraiseexcept): Add __NTH. Rename local variables to fix
48211 namespace violations.
48212
48213 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48214
48215 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48216
48217 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48218
48219 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48220 recently added interfaces.
48221 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48222
48223 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48224 about macro parameter expansion.
48225
48226 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48227 __NO_MATH_INLINES is defined. Cleanups.
48228
48229 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48230 and __floorf is target has SSE4.1.
48231 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48232 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48233 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48234 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48235
48236 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48237 name.
48238 (floorf): Likewise.
48239
48240 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48241
48242 2011-10-17 Andreas Schwab <schwab@redhat.com>
48243
48244 * misc/sys/cdefs.h: Fix last change.
48245
48246 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48247 database lookup.
48248
48249 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48250
48251 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48252
48253 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48255 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48256 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48259 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48260 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48261 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48262 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48263 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48264 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48265 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48266 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48267 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48268 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48269 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48270 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48271 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48272 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48273 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48274 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48275
48276 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48277 ceil, ceilf, floor, floorf.
48278
48279 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48280 Perform IRELATIVE relocations last.
48281
48282 * elf/do-rel.h: Add another parameter nrelative, replacing the
48283 local variable with the same name. Change name of the function
48284 to end in Rel or Rela (uppercase).
48285 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48286 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48287 elf_dynamic_do_##reloc function.
48288
48289 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48290
48291 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48292 is sufficient, at least on modern CPUs.
48293
48294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48295
48296 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48297 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48298
48299 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48300 __expl_finite.
48301 * math/bits/math-finite.h: Add entries for exp.
48302 * math/e_expl.c: Add __*_finite alias.
48303 * sysdeps/i386/fpu/e_exp.S: Likewise.
48304 * sysdeps/i386/fpu/e_expf.S: Likewise.
48305 * sysdeps/i386/fpu/e_expl.c: Likewise.
48306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48307 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48308 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48310 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48311 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48312 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48313
48314 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48315 is sufficient, at least on modern CPUs.
48316
48317 * ctype/ctype-info.c (__ctype_init): Define.
48318 * include/ctype.h (__ctype_init): Declare.
48319 (__ctype_b_loc): The variable is always initialized.
48320 (__ctype_toupper_loc): Likewise.
48321 (__ctype_tolower_loc): Likewise.
48322 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48323 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48324
48325 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48326
48327 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48328
48329 * configure.in: Also look in $cxxmachine/include for C++ system
48330 headers.
48331
48332 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48333
48334 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48335 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48336 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48337 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48338 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48339 (USE_AS_WMEMCMP): New macro.
48340 Fixing indents.
48341 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48342 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48343 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48344 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48346 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48347 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48348 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48349 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48350 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48351 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48352 (USE_AS_WMEMCMP): New macro.
48353 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48354 * sysdeps/string/test-memcmp.c: Update.
48355 Fix simple_wmemcmp.
48356 Add new tests.
48357 * wcsmbs/wmemcmp.c: Update.
48358 (WMEMCMP): New macro.
48359 Fix overflow bug.
48360
48361 2011-10-12 Andreas Jaeger <aj@suse.de>
48362
48363 [BZ #13268]
48364 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48365
48366 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48367
48368 * libio/iofwide.c (do_length): Avoid warning.
48369
48370 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48371
48372 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48373
48374 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48375
48376 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48377 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48378 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48379 * sysdeps/i386/i686/fpu/e_log.S: New file.
48380 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48381 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48382
48383 * ctype/ctype.h: Add support for inlined isXXX functions when
48384 compiling C++ code.
48385
48386 2011-10-14 Andreas Schwab <schwab@redhat.com>
48387
48388 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48389
48390 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48391
48392 2011-10-13 Roland McGrath <roland@hack.frob.com>
48393
48394 [BZ #13291]
48395 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48396
48397 2011-10-13 Andreas Schwab <schwab@redhat.com>
48398
48399 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48400 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48401 feraiseexcept.
48402
48403 * sysdeps/x86_64/memrchr.S: Check for zero size.
48404
48405 * string/stratcliff.c: Add memrchr tests.
48406
48407 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48408
48409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48410 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48411 rawmemchr-sse2 rawmemchr-sse2-bsf.
48412 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48413 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48414 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48415 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48416 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48417 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48418 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48419 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48420 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48421 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48422 * string/memrchr.c (MEMRCHR): New macro.
48423
48424 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48425
48426 Add integration with gcc's -ffinite-math-only and optimize wrapper
48427 functions in libm.
48428 * Versions.def: Define GLIBC_2.15 version for libm.
48429 * math/Makefile (headers): Add bits/math-finite.h.
48430 * math/bits/math-finite.h: New file.
48431 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48432 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48433 * math/e_acoshl.c: Add __*_finite alias.
48434 * math/e_acosl.c: Likewise.
48435 * math/e_asinl.c: Likewise.
48436 * math/e_atan2l.c: Likewise.
48437 * math/e_atanhl.c: Likewise.
48438 * math/e_coshl.c: Likewise.
48439 * math/e_exp10.c: Likewise.
48440 * math/e_exp10f.c: Likewise.
48441 * math/e_exp10l.c: Likewise.
48442 * math/e_exp2l.c: Likewise.
48443 * math/e_fmodl.c: Likewise.
48444 * math/e_gammal_r.c: Likewise.
48445 * math/e_hypotl.c: Likewise.
48446 * math/e_j0l.c: Likewise.
48447 * math/e_j1l.c: Likewise.
48448 * math/e_jnl.c: Likewise.
48449 * math/e_lgammal_r.c: Likewise.
48450 * math/e_log10l.c: Likewise.
48451 * math/e_log2l.c: Likewise.
48452 * math/e_logl.c: Likewise.
48453 * math/e_powl.c: Likewise.
48454 * math/e_sinhl.c: Likewise.
48455 * math/e_sqrtl.c: Likewise.
48456 * math/e_scalb.c: Completely rewritten and optimized.
48457 * math/e_scalbf.c: Likewise.
48458 * math/e_scalbl.c: Likewise.
48459 * math/w_acos.c: Likewise.
48460 * math/w_acosf.c: Likewise.
48461 * math/w_acosl.c: Likewise.
48462 * math/w_acosh.c: Likewise.
48463 * math/w_acoshf.c: Likewise.
48464 * math/w_acoshl.c: Likewise.
48465 * math/w_asin.c: Likewise.
48466 * math/w_asinf.c: Likewise.
48467 * math/w_asinl.c: Likewise.
48468 * math/w_atan2.c: Likewise.
48469 * math/w_atan2f.c: Likewise.
48470 * math/w_atan2l.c: Likewise.
48471 * math/w_atanh.c: Likewise.
48472 * math/w_atanhf.c: Likewise.
48473 * math/w_atanhl.c: Likewise.
48474 * math/w_exp10.c: Likewise.
48475 * math/w_exp10f.c: Likewise.
48476 * math/w_exp10l.c: Likewise.
48477 * math/w_fmod.c: Likewise.
48478 * math/w_fmodf.c: Likewise.
48479 * math/w_fmodl.c: Likewise.
48480 * math/w_j0.c: Likewise.
48481 * math/w_j0f.c: Likewise.
48482 * math/w_j0l.c: Likewise.
48483 * math/w_j1.c: Likewise.
48484 * math/w_j1f.c: Likewise.
48485 * math/w_j1l.c: Likewise.
48486 * math/w_jn.c: Likewise.
48487 * math/w_jnf.c: Likewise.
48488 * math/w_log.c: Likewise.
48489 * math/w_logf.c: Likewise.
48490 * math/w_logl.c: Likewise.
48491 * math/w_log10.c: Likewise.
48492 * math/w_log10f.c: Likewise.
48493 * math/w_log10l.c: Likewise.
48494 * math/w_log2.c: Likewise.
48495 * math/w_log2f.c: Likewise.
48496 * math/w_log2l.c: Likewise.
48497 * math/w_pow.c: Likewise.
48498 * math/w_powf.c: Likewise.
48499 * math/w_powl.c: Likewise.
48500 * math/w_remainder.c: Likewise.
48501 * math/w_remainderf.c: Likewise.
48502 * math/w_remainderl.c: Likewise.
48503 * math/w_scalb.c: Likewise.
48504 * math/w_scalbf.c: Likewise.
48505 * math/w_scalbl.c: Likewise.
48506 * math/w_sqrt.c: Likewise.
48507 * math/w_sqrtf.c: Likewise.
48508 * math/w_sqrtl.c: Likewise.
48509 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48510 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48511 used.
48512 * math/math_private.h: Declare __kernel_standard_f.
48513 * math/w_cosh.c: Remove cruft and optimize a bit.
48514 * math/w_coshf.c: Likewise.
48515 * math/w_coshl.c: Likewise.
48516 * math/w_exp2.c: Likewise.
48517 * math/w_exp2f.c: Likewise.
48518 * math/w_exp2l.c: Likewise.
48519 * math/w_hypot.c: Likewise.
48520 * math/w_hypotf.c: Likewise.
48521 * math/w_hypotl.c: Likewise.
48522 * math/w_lgamma.c: Likewise.
48523 * math/w_lgamma_r.c: Likewise.
48524 * math/w_lgammaf.c: Likewise.
48525 * math/w_lgammaf_r.c: Likewise.
48526 * math/w_lgammal.c: Likewise.
48527 * math/w_lgammal_r.c: Likewise.
48528 * math/w_sinh.c: Likewise.
48529 * math/w_sinhf.c: Likewise.
48530 * math/w_sinhl.c: Likewise.
48531 * math/w_tgamma.c: Likewise.
48532 * math/w_tgammaf.c: Likewise.
48533 * math/w_tgammal.c: Likewise.
48534 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48535 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48536 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48537 Minor optimizations. Pretty printing. Remove cruft.
48538 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48539 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48540 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48541 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48542 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48543 * sysdeps/i386/fpu/e_asin.S: Likewise.
48544 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48545 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48546 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48547 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48548 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48549 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48550 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48551 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48552 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48553 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48554 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48555 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48556 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48557 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48558 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48559 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48560 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48561 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48562 * sysdeps/i386/fpu/e_log.S: Likewise.
48563 * sysdeps/i386/fpu/e_log10.S: Likewise.
48564 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48566 * sysdeps/i386/fpu/e_log2.S: Likewise.
48567 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48568 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48569 * sysdeps/i386/fpu/e_logf.S: Likewise.
48570 * sysdeps/i386/fpu/e_logl.S: Likewise.
48571 * sysdeps/i386/fpu/e_pow.S: Likewise.
48572 * sysdeps/i386/fpu/e_powf.S: Likewise.
48573 * sysdeps/i386/fpu/e_powl.S: Likewise.
48574 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48575 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48576 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48578 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48579 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48580 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48581 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48582 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48583 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48588 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48589 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48590 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48594 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48596 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48597 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48604 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48605 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48606 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48607 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48608 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48609 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48610 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48611 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48612 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48613 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48614 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48615 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48616 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48617 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48618 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48619 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48620 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48621 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48622 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48623 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48648 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48662 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48663 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48664 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48665 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48666 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48667 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48668 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48669 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48671 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48672 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48674 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48675 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48676 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48677 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48678 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48679 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48680 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48681 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48682 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48683 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48684 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48685 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48686 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48688 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48689 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48691 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48692 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48693 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48694 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48695 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48696 (__isnanf): Likewise.
48697 (__isinf_ns): Likewise.
48698 (__isinf_nsf): Likewise.
48699 (__finite): Likewise.
48700 (__finitef): Likewise.
48701 (__ieee754_sqrt): Define as macro.
48702 (__ieee754_sqrtf): Define as macro.
48703 (__ieee754_sqrtl): Define as macro.
48704 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48705 inlined copy.
48706 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48707 __FINITE_MATH_ONLY__ consistent.
48708 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48709
48710 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48711
48712 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48713 of rawmemchr.
48714
48715 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48716
48717 2011-10-09 Ulrich Drepper <drepper@gmail.com>
48718
48719 * po/ja.po: Update from translation team.
48720
48721 2011-10-08 Roland McGrath <roland@hack.frob.com>
48722
48723 * locale/programs/locarchive.c (prepare_address_space): New function.
48724 (create_archive, enlarge_archive, open_archive): Use it.
48725
48726 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48727 inside [SHARED], where it is used.
48728
48729 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48730
48731 * nss/getent.c (netgroup_keys): Remove unused variable.
48732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48733
48734 2011-10-08 Ulrich Drepper <drepper@gmail.com>
48735
48736 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48737 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48739 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48740 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48741 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48742 * math/Makefile (libm-calls): Add s_isinf_ns.
48743 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48744 * math/multc3.c: Likewise.
48745 * math/s_casin.c: Likewise.
48746 * math/s_casinf.c: Likewise.
48747 * math/s_casinl.c: Likewise.
48748 * math/s_ccos.c: Likewise.
48749 * math/s_ccosf.c: Likewise.
48750 * math/s_ccosl.c: Likewise.
48751 * math/s_ctan.c: Likewise.
48752 * math/s_ctanf.c: Likewise.
48753 * math/s_ctanh.c: Likewise.
48754 * math/s_ctanhf.c: Likewise.
48755 * math/s_ctanhl.c: Likewise.
48756 * math/s_ctanl.c: Likewise.
48757 * math/w_fmod.c: Likewise.
48758 * math/w_fmodf.c: Likewise.
48759 * math/w_fmodl.c: Likewise.
48760 * math/w_remainder.c: Likewise.
48761 * math/w_remainderf.c: Likewise.
48762 * math/w_remainderl.c: Likewise.
48763 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48764 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48765 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48767 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48768 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48769 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48770 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48771
48772 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48773 of the number.
48774 * stdio-common/printf_fphex.c: Likewise.
48775 * stdio-common/printf_size.c: Likewise.
48776
48777 * math/e_exp10.c: Include math_private.h using <...> not "...".
48778 * math/e_exp10f.c: Likewise.
48779 * math/e_exp10l.c: Likewise.
48780 * math/e_exp2l.c: Likewise.
48781 * math/e_j0l.c: Likewise.
48782 * math/e_j1l.c: Likewise.
48783 * math/e_jnl.c: Likewise.
48784 * math/e_lgammal_r.c: Likewise.
48785 * math/e_rem_pio2l.c: Likewise.
48786 * math/e_scalb.c: Likewise.
48787 * math/e_scalbf.c: Likewise.
48788 * math/e_scalbl.c: Likewise.
48789 * math/k_cosl.c: Likewise.
48790 * math/k_sinl.c: Likewise.
48791 * math/k_tanl.c: Likewise.
48792 * math/s_cacoshf.c: Likewise.
48793 * math/s_catan.c: Likewise.
48794 * math/s_catanf.c: Likewise.
48795 * math/s_catanh.c: Likewise.
48796 * math/s_catanhf.c: Likewise.
48797 * math/s_catanhl.c: Likewise.
48798 * math/s_catanl.c: Likewise.
48799 * math/s_ccosh.c: Likewise.
48800 * math/s_ccoshf.c: Likewise.
48801 * math/s_ccoshl.c: Likewise.
48802 * math/s_cexp.c: Likewise.
48803 * math/s_cexpf.c: Likewise.
48804 * math/s_cexpl.c: Likewise.
48805 * math/s_clog.c: Likewise.
48806 * math/s_clog10.c: Likewise.
48807 * math/s_clog10f.c: Likewise.
48808 * math/s_clog10l.c: Likewise.
48809 * math/s_clogf.c: Likewise.
48810 * math/s_clogl.c: Likewise.
48811 * math/s_csin.c: Likewise.
48812 * math/s_csinf.c: Likewise.
48813 * math/s_csinh.c: Likewise.
48814 * math/s_csinhf.c: Likewise.
48815 * math/s_csinhl.c: Likewise.
48816 * math/s_csinl.c: Likewise.
48817 * math/s_csqrt.c: Likewise.
48818 * math/s_csqrtf.c: Likewise.
48819 * math/s_csqrtl.c: Likewise.
48820 * math/s_ctan.c: Likewise.
48821 * math/s_ctanf.c: Likewise.
48822 * math/s_ctanh.c: Likewise.
48823 * math/s_ctanhf.c: Likewise.
48824 * math/s_ctanhl.c: Likewise.
48825 * math/s_ctanl.c: Likewise.
48826 * math/s_ldexp.c: Likewise.
48827 * math/s_ldexpf.c: Likewise.
48828 * math/s_ldexpl.c: Likewise.
48829 * math/s_significand.c: Likewise.
48830 * math/s_significandf.c: Likewise.
48831 * math/s_significandl.c: Likewise.
48832 * math/w_acos.c: Likewise.
48833 * math/w_acosf.c: Likewise.
48834 * math/w_acosh.c: Likewise.
48835 * math/w_acoshf.c: Likewise.
48836 * math/w_acoshl.c: Likewise.
48837 * math/w_acosl.c: Likewise.
48838 * math/w_asin.c: Likewise.
48839 * math/w_asinf.c: Likewise.
48840 * math/w_asinl.c: Likewise.
48841 * math/w_atan2.c: Likewise.
48842 * math/w_atan2f.c: Likewise.
48843 * math/w_atan2l.c: Likewise.
48844 * math/w_atanh.c: Likewise.
48845 * math/w_atanhf.c: Likewise.
48846 * math/w_atanhl.c: Likewise.
48847 * math/w_cosh.c: Likewise.
48848 * math/w_coshf.c: Likewise.
48849 * math/w_coshl.c: Likewise.
48850 * math/w_dremf.c: Likewise.
48851 * math/w_exp10.c: Likewise.
48852 * math/w_exp10f.c: Likewise.
48853 * math/w_exp10l.c: Likewise.
48854 * math/w_exp2.c: Likewise.
48855 * math/w_exp2f.c: Likewise.
48856 * math/w_fmod.c: Likewise.
48857 * math/w_fmodf.c: Likewise.
48858 * math/w_fmodl.c: Likewise.
48859 * math/w_hypot.c: Likewise.
48860 * math/w_hypotf.c: Likewise.
48861 * math/w_hypotl.c: Likewise.
48862 * math/w_j0.c: Likewise.
48863 * math/w_j0f.c: Likewise.
48864 * math/w_j0l.c: Likewise.
48865 * math/w_j1.c: Likewise.
48866 * math/w_j1f.c: Likewise.
48867 * math/w_j1l.c: Likewise.
48868 * math/w_jn.c: Likewise.
48869 * math/w_jnf.c: Likewise.
48870 * math/w_jnl.c: Likewise.
48871 * math/w_lgamma.c: Likewise.
48872 * math/w_lgamma_r.c: Likewise.
48873 * math/w_lgammaf.c: Likewise.
48874 * math/w_lgammaf_r.c: Likewise.
48875 * math/w_lgammal.c: Likewise.
48876 * math/w_lgammal_r.c: Likewise.
48877 * math/w_log.c: Likewise.
48878 * math/w_log10.c: Likewise.
48879 * math/w_log10f.c: Likewise.
48880 * math/w_log10l.c: Likewise.
48881 * math/w_log2.c: Likewise.
48882 * math/w_log2f.c: Likewise.
48883 * math/w_log2l.c: Likewise.
48884 * math/w_logf.c: Likewise.
48885 * math/w_logl.c: Likewise.
48886 * math/w_pow.c: Likewise.
48887 * math/w_powf.c: Likewise.
48888 * math/w_powl.c: Likewise.
48889 * math/w_remainder.c: Likewise.
48890 * math/w_remainderf.c: Likewise.
48891 * math/w_remainderl.c: Likewise.
48892 * math/w_scalb.c: Likewise.
48893 * math/w_scalbf.c: Likewise.
48894 * math/w_scalbl.c: Likewise.
48895 * math/w_sinh.c: Likewise.
48896 * math/w_sinhf.c: Likewise.
48897 * math/w_sinhl.c: Likewise.
48898 * math/w_sqrt.c: Likewise.
48899 * math/w_sqrtf.c: Likewise.
48900 * math/w_sqrtl.c: Likewise.
48901 * math/w_tgamma.c: Likewise.
48902 * math/w_tgammaf.c: Likewise.
48903 * math/w_tgammal.c: Likewise.
48904
48905 * po/ja.po: Update from translation team.
48906
48907 2011-09-29 Andreas Jaeger <aj@suse.de>
48908
48909 [BZ #13179]
48910 * sunrpc/netname.c (netname2host): Fix logic.
48911
48912 [BZ #6779]
48913 [BZ #6783]
48914 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48915 correctly.
48916 * math/w_remainder.c (__remainder): Likewise.
48917 * math/w_remainderf.c (__remainderf): Likewise.
48918 * math/libm-test.inc (remainder_test): Add test cases.
48919
48920 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48921
48922 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48923 sdiv_qrnnd.
48924
48925 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48926
48927 * string/test-memcmp.c: Avoid unncessary #defines.
48928 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48929
48930 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48931
48932 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48933 Use new sse2 version for core i3 - i7 as it's faster
48934 than sse42 version.
48935 (bit_Prefer_PMINUB_for_stringop): New.
48936 * sysdeps/x86_64/rawmemchr.S: Update.
48937 Replace with faster SSE2 version.
48938 * sysdeps/x86_64/memrchr.S: New file.
48939 * sysdeps/x86_64/memchr.S: Update.
48940 Replace with faster SSE2 version.
48941
48942 2011-09-12 Marek Polacek <mpolacek@redhat.com>
48943
48944 * elf/dl-load.c (lose): Add cast to avoid warning.
48945
48946 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48947
48948 * po/ca.po: Update from translation team.
48949
48950 * inet/getnetgrent_r.c: Hook up nscd.
48951 * nscd/Makefile (routines): Add nscd_netgroup.
48952 (nscd-modules): Add netgroupcache.
48953 (CFLAGS-netgroupcache.c): Define.
48954 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48955 (cache_search): Add const to second parameter.
48956 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48957 INNETGR.
48958 (dbs): Add netgrdb entry.
48959 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48960 (verify_persistent_db): Handle netgrdb.
48961 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48962 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48963 GETFDNETGR.
48964 (netgroup_response_header): Define.
48965 (innetgroup_response_header): Define.
48966 (datahead): Add netgroup_response_header and innetgroup_response_header
48967 elements.
48968 * nscd/nscd.conf: Add entries for netgroup cache.
48969 * nscd/nscd.h (dbtype): Add netgrdb.
48970 (_PATH_NSCD_NETGROUP_DB): Define.
48971 (netgroup_iov_disabled): Declare.
48972 (xmalloc, xcalloc, xrealloc): Move declarations here.
48973 (cache_search): Adjust prototype.
48974 Add netgroup-related prototypes.
48975 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48976 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48977 (__nscd_innetgr): Declare.
48978 * nscd/selinux.c (perms): Use access_vector_t as element type and
48979 add netgroup-related initializers.
48980 * nscd/netgroupcache.c: New file.
48981 * nscd/nscd_netgroup.c: New file.
48982 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48983 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48984 For four parameters use innetgr.
48985 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48986 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48987 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48988 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48989
48990 * nscd/connections.c (register_traced_file): Don't register file
48991 for disabled databases.
48992
48993 2011-10-06 Ulrich Drepper <drepper@gmail.com>
48994
48995 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48996
48997 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48998 from tree and freeing node.
48999
49000 2011-09-25 Jiri Olsa <jolsa@redhat.com>
49001
49002 * nss/nsswitch.c (__nss_database_lookup): Handle
49003 nss_parse_service_list out of memory case.
49004
49005 2011-09-15 Jiri Olsa <jolsa@redhat.com>
49006
49007 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49008 out of memory case.
49009
49010 2011-10-04 Andreas Schwab <schwab@redhat.com>
49011
49012 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49013 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49014 pass it down.
49015 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49016 elf_machine_rela, elf_machine_lazy_rel.
49017 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49018 (ELF_DYNAMIC_DO_REL): Likewise.
49019 (ELF_DYNAMIC_DO_RELA): Likewise.
49020 (ELF_DYNAMIC_RELOCATE): Likewise.
49021 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49022 to ELF_DYNAMIC_DO_REL.
49023 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49024 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49025 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49026 elf_machine_rela.
49027 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49028 skip_ifunc, don't call ifunc function if non-zero.
49029 (elf_machine_rela): Likewise.
49030 (elf_machine_lazy_rel): Likewise.
49031 (elf_machine_lazy_rela): Likewise.
49032 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49033 (elf_machine_lazy_rel): Likewise.
49034 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49035 Likewise.
49036 (elf_machine_lazy_rel): Likewise.
49037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49038 Likewise.
49039 (elf_machine_lazy_rel): Likewise.
49040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49041 (elf_machine_lazy_rel): Likewise.
49042 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49043 (elf_machine_lazy_rel): Likewise.
49044 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49045 (elf_machine_lazy_rel): Likewise.
49046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49047 (elf_machine_lazy_rel): Likewise.
49048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49049 (elf_machine_lazy_rel): Likewise.
49050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49051 (elf_machine_lazy_rel): Likewise.
49052
49053 2011-09-28 Ulrich Drepper <drepper@gmail.com>
49054
49055 * nss/nss_files/files-init.c (_nss_files_init): Use static
49056 initialization for all the *_traced_file variables.
49057
49058 2011-09-28 Andreas Schwab <schwab@redhat.com>
49059
49060 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49061
49062 2011-09-27 Roland McGrath <roland@hack.frob.com>
49063
49064 [BZ #13226]
49065 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49066
49067 2011-09-27 Andreas Schwab <schwab@redhat.com>
49068
49069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49070 Reread the line before reparsing it.
49071
49072 2011-09-26 Andreas Schwab <schwab@redhat.com>
49073
49074 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49075
49076 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49077 Maxim Kuvyrkov <maxim@codesourcery.com>
49078 Joseph Myers <joseph@codesourcery.com>
49079
49080 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49081 if needed for __stack_chk_guard.
49082
49083 2011-09-19 Roland McGrath <roland@hack.frob.com>
49084
49085 * sysdeps/posix/spawni.c (script_execute): Always define it.
49086 It will be optimized away if unused.
49087 (maybe_script_execute): New function.
49088 (__spawni): Call it.
49089
49090 * Makerules: Don't include tls.make.
49091 (config-tls): Always set to thread.
49092 * tls.make.c: File removed.
49093
49094 2011-09-19 Mike Frysinger <vapier@gentoo.org>
49095
49096 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49097 * config.make.in (CPPFLAGS-config): New substituted variable.
49098
49099 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49100
49101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49102
49103 [BZ #13192]
49104 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49105 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49106
49107 2011-09-15 Roland McGrath <roland@hack.frob.com>
49108
49109 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49110 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49111 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49112 (CALL_FAIL): Likewise.
49113 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49114 (CALL_FAIL): Macro removed.
49115 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49116
49117 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49118
49119 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49120 for __FINITE_MATH_ONLY__ == 1.
49121
49122 2011-09-15 Andreas Schwab <schwab@redhat.com>
49123
49124 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49125 __ieee754_sqrt instead of sqrt.
49126 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49127 __ieee754_sqrtf instead of sqrtf.
49128 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49129 __floorf instead of floorf.
49130 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49131 __floorf, __truncf instead of floorf, truncf.
49132
49133 2011-09-14 Ulrich Drepper <drepper@gmail.com>
49134
49135 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49136
49137 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49138 __extern_always_inline.
49139 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49140 32-bit.
49141
49142 2011-09-14 Andreas Schwab <schwab@redhat.com>
49143
49144 * elf/rtld.c (dl_main): Also relocate in dependency order when
49145 doing symbol dependency testing.
49146
49147 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49148
49149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49150 Always define `refsym'.
49151
49152 2011-09-13 Andreas Schwab <schwab@redhat.com>
49153
49154 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49155 (__FD_ELT): Renamed from __FDELT.
49156 * misc/bits/select2.h (__FD_ELT): Likewise.
49157 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49158 __FD_MASK instead of __FDELT, __FDMASK.
49159 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49160 Likewise.
49161 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49162 Likewise.
49163
49164 * elf/Makefile (gen-ldd): Fix pattern.
49165
49166 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49167 (init_tls): Likewise.
49168
49169 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49170
49171 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49172
49173 2011-09-12 Andreas Schwab <schwab@redhat.com>
49174
49175 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49176 `struct cmsghdr *' instead of `void *'.
49177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49178 Likewise.
49179
49180 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49181
49182 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49183 if non-absolute.
49184 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49185 ldd_rewrite_script.
49186
49187 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49188
49189 * configure.in: Remove --with-tls option.
49190 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49191 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49192 out in case it is missing.
49193 * sysdeps/ia64/elf/configure.in: Likewise.
49194 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49195 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49196 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49197 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49198 * sysdeps/sh/elf/configure.in: Likewise.
49199 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49200 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49201 * sysdeps/x86_64/elf/configure.in: Likewise.
49202 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49203 * sysdeps/mach/hurd/tls.h: Likewise.
49204
49205 [BZ #13067]
49206 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49207
49208 [BZ #13090]
49209 * configure.in: Fix use of AC_INIT.
49210
49211 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49212
49213 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49214
49215 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49216 __set_errno.
49217 * malloc/hooks.c: Likewise.
49218
49219 [BZ #11929]
49220 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49221 variables statically.
49222 (narenas): Initialize.
49223 (list_lock): Initialize.
49224 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49225 initializtion of main_arena and list_lock. Small cleanups.
49226 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49227 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49228 Add initializers to main_arena and mp_.
49229 (malloc_state): Remove pagesize member. Change all users to use
49230 GLRO(dl_pagesize).
49231
49232 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49233 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49234 is always initialized.
49235
49236 * malloc/malloc.c: Removed unused configurations and dead code.
49237 * malloc/arena.c: Likewise.
49238 * malloc/hooks.c: Likewise.
49239 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49240
49241 * include/tls.h: Removed. USE___THREAD must always be defined.
49242 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49243 * elf/dl-libc.c: Likewise.
49244 * elf/dl-tsd.c: Likewise.
49245 * include/errno.h: Likewise.
49246 * include/netdb.h: Likewise.
49247 * include/resolv.h: Likewise.
49248 * inet/herrno-loc.c: Likewise.
49249 * inet/herrno.c: Likewise.
49250 * malloc/arena.c: Likewise.
49251 * malloc/hooks.c: Likewise.
49252 * malloc/malloc.c: Likewise.
49253 * resolv/res-state.c: Likewise.
49254 * resolv/res_libc.c: Likewise.
49255 * sysdeps/i386/dl-machine.h: Likewise.
49256 * sysdeps/ia64/dl-machine.h: Likewise.
49257 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49258 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49259 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49260 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49261 * sysdeps/sh/dl-machine.h: Likewise.
49262 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49263 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49264 * sysdeps/unix/i386/sysdep.S: Likewise.
49265 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49266 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49271 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49275 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49276 * sysdeps/x86_64/dl-machine.h: Likewise.
49277 * tls.make.c: Likewise.
49278
49279 * configure.in: Remove --with-__thread option. Make tests for
49280 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49281 tls_model attribute fail if no support is available. Remove
49282 USE_IN_LIBIO.
49283 * Makeconfig: Adjust for dropped configure option. All features are
49284 now mandatory.
49285 * Makerules: Likewise.
49286 * Versions.def: Likewise.
49287 * argp/argp-fmtstream.c: Likewise.
49288 * argp/argp-fmtstream.h: Likewise.
49289 * argp/argp-help.c: Likewise.
49290 * assert/assert.c: Likewise.
49291 * config.h.in: Likewise.
49292 * config.make.in: Likewise.
49293 * configure: Likewise.
49294 * configure.in: Likewise.
49295 * csu/Versions: Likewise.
49296 * csu/init.c: Likewise.
49297 * elf/tst-audit2.c: Likewise.
49298 * elf/tst-tls10.c: Likewise.
49299 * elf/tst-tls10.h: Likewise.
49300 * elf/tst-tls11.c: Likewise.
49301 * elf/tst-tls12.c: Likewise.
49302 * elf/tst-tls14.c: Likewise.
49303 * elf/tst-tlsmod11.c: Likewise.
49304 * elf/tst-tlsmod12.c: Likewise.
49305 * elf/tst-tlsmod13.c: Likewise.
49306 * elf/tst-tlsmod13a.c: Likewise.
49307 * elf/tst-tlsmod14a.c: Likewise.
49308 * elf/tst-tlsmod15b.c: Likewise.
49309 * elf/tst-tlsmod16a.c: Likewise.
49310 * elf/tst-tlsmod16b.c: Likewise.
49311 * elf/tst-tlsmod7.c: Likewise.
49312 * elf/tst-tlsmod8.c: Likewise.
49313 * elf/tst-tlsmod9.c: Likewise.
49314 * gmon/gmon.c: Likewise.
49315 * grp/fgetgrent_r.c: Likewise.
49316 * grp/putgrent.c: Likewise.
49317 * hurd/fopenport.c: Likewise.
49318 * include/libc-symbols.h: Likewise.
49319 * include/tls.h: Likewise.
49320 * intl/gettextP.h: Likewise.
49321 * intl/loadinfo.h: Likewise.
49322 * locale/global-locale.c: Likewise.
49323 * locale/localeinfo.h: Likewise.
49324 * mach/devstream.c: Likewise.
49325 * malloc/arena.c: Likewise.
49326 * malloc/set-freeres.c: Likewise.
49327 * misc/err.c: Likewise.
49328 * misc/getttyent.c: Likewise.
49329 * misc/mntent_r.c: Likewise.
49330 * posix/getopt.c: Likewise.
49331 * posix/wordexp.c: Likewise.
49332 * pwd/fgetpwent_r.c: Likewise.
49333 * resolv/Versions: Likewise.
49334 * resolv/res_hconf.c: Likewise.
49335 * shadow/fgetspent_r.c: Likewise.
49336 * shadow/putspent.c: Likewise.
49337 * stdio-common/printf_fphex.c: Likewise.
49338 * stdio-common/tmpfile.c: Likewise.
49339 * stdlib/abort.c: Likewise.
49340 * stdlib/fmtmsg.c: Likewise.
49341 * sunrpc/auth_unix.c: Likewise.
49342 * sunrpc/clnt_perr.c: Likewise.
49343 * sunrpc/clnt_tcp.c: Likewise.
49344 * sunrpc/clnt_udp.c: Likewise.
49345 * sunrpc/clnt_unix.c: Likewise.
49346 * sunrpc/openchild.c: Likewise.
49347 * sunrpc/svc_simple.c: Likewise.
49348 * sunrpc/svc_tcp.c: Likewise.
49349 * sunrpc/svc_udp.c: Likewise.
49350 * sunrpc/svc_unix.c: Likewise.
49351 * sunrpc/xdr.c: Likewise.
49352 * sunrpc/xdr_array.c: Likewise.
49353 * sunrpc/xdr_rec.c: Likewise.
49354 * sunrpc/xdr_ref.c: Likewise.
49355 * sunrpc/xdr_stdio.c: Likewise.
49356
49357 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49358
49359 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49360
49361 2011-07-03 Andreas Jaeger <aj@suse.de>
49362
49363 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49364 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49365 regenerate with gen-libm-tests.pl.
49366
49367 2010-05-12 Petr Baudis <pasky@suse.cz>
49368
49369 [BZ #11589]
49370 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49371 around j0() zero points by switching to j1().
49372 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49373 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49375 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49376
49377 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49378
49379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49380 instead of 0.
49381 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49382 instead of 0.
49383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49384 Patch in part by Pavel Roskin <proski@gnu.org>.
49385
49386 [BZ #13138]
49387 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49388 realloc.
49389 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49390 Free memory block if necessary.
49391
49392 [BZ #12847]
49393 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49394 be NULL. Don't lock in this case.
49395
49396 2011-09-09 Roland McGrath <roland@hack.frob.com>
49397
49398 * elf/elf.h (ELFOSABI_GNU): New macro.
49399 (ELFOSABI_LINUX): Define to that.
49400
49401 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49402
49403 * string/strncat.c (strncat): Undef the symbol in case it has been
49404 defined in bits/string.h.
49405
49406 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49407
49408 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49409
49410 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49411 link map.
49412
49413 2011-08-17 Andreas Jaeger <aj@suse.de>
49414
49415 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49416
49417 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49418 Ian Lance Taylor <iant@google.com>
49419
49420 * math/libm-test.inc (lround_test): New testcase.
49421 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49422
49423 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49424
49425 * Makefile: Remove support for automatic cvs check-ins.
49426 * Makerules: Likewise.
49427 * config.make.in: Likewise.
49428 * configure.in: Likewise.
49429 * intl/Makefile: Likewise.
49430 * locale/Makefile: Likewise.
49431 * po/Makefile: Likewise.
49432 * posix/Makefile: Likewise.
49433 * sysdeps/gnu/Makefile: Likewise.
49434 * sysdeps/mach/hurd/Makefile: Likewise.
49435 * sysdeps/sparc/sparc32/Makefile: Likewise.
49436
49437 [BZ #13118]
49438 * posix/Makefile (bug-regex32-ENV): Define.
49439 Patch by John Stanley <jpsinthemix@verizon.net>.
49440
49441 * misc/Makefile (headers): Add bits/select2.h.
49442 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49443 * misc/bits/select2.h: New file.
49444 * include/bits/select2.h: New file.
49445 * debug/Makefile (routines): Add fdelt_chk.
49446 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49447 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49448 FD_ISSET.
49449 * debug/fdelt_chk.c: New file.
49450
49451 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49452 * wcsmbs/test-wmemcmp.c: Likewise.
49453 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49454 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49455
49456 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49457
49458 * string/Makefile (strop-tests): Add memcmp.
49459 * string/test-wmemcmp.c: New file.
49460 * string/test-memcmp.c: Add wmemcmp support.
49461
49462 2011-09-08 Roland McGrath <roland@hack.frob.com>
49463
49464 [BZ #13153]
49465 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49466 2011-07-19 change.
49467
49468 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49469 garbage value in a __mach_port_mod_refs call in the cases of the
49470 task-self and thread-self ports.
49471
49472 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49473
49474 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49475
49476 2011-09-08 Andreas Schwab <schwab@redhat.com>
49477
49478 * elf/dl-load.c (lose): Check for non-null L.
49479
49480 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49481
49482 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49483
49484 * elf/dl-libc.c (dlerror_run): Pass back error code from
49485 dl_catch_error.
49486
49487 [BZ #13123]
49488 * elf/dl-load.c (lose): Free l_origin if it is valid.
49489
49490 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49491 names.
49492 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49493 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49495 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49496 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49497 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49498
49499 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49500
49501 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49502 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49503 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49504 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49505 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49506 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49507 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49508 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49509 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49510 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49511
49512 2011-08-15 Alan Modra <amodra@gmail.com>
49513
49514 [BZ #13092]
49515 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49516 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49517 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49518 ppc_mcount to static-only-routines.
49519 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49520 __mcount_internal.
49521 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49522 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49523
49524 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49525
49526 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49527 for finite and infinity parameters.
49528
49529 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49530
49531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49532 and add nop instructions for throughput optimization.
49533 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49534
49535 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49536
49537 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49538 aligned copy for power7 with vector-scalar instructions.
49539 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49540
49541 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49542
49543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49544 AVX check.
49545
49546 2011-09-07 Andreas Schwab <schwab@redhat.com>
49547
49548 [BZ #13144]
49549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49550 last change.
49551
49552 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49553
49554 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49555 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49556 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49557 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49558 clock_gettime.
49559
49560 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49561
49562 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49563 Forgot to demangle the pointer.
49564
49565 * sysdeps/i386/sysdep.h: Define atom_text_section.
49566 * sysdeps/x86_64/sysdep.h: Likewise.
49567 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49568 section with atom_text_section.
49569 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49570 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49571 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49573 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49574
49575 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49576 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49577 already be defined. Change to take two parameters and don't assign
49578 result to variable. Adjust all users.
49579 Define INTERNAL_GETTIME if not already defined.
49580 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49581 call.
49582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49583 HAVE_CLOCK_GETTIME_VSYSCALL.
49584 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49585
49586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49587 gettimeofday vsyscall, just use time.
49588
49589 2011-09-06 Andreas Schwab <schwab@redhat.com>
49590
49591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49592 <errno.h>.
49593
49594 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49595
49596 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49597 syscall on x86-64.
49598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49599 syscall.
49600 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49601 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49602 syscall if possible.
49603
49604 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49605
49606 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49607 e_ident. Don't pass to find_mapsXX.
49608 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49609
49610 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49611
49612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49613 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49614 * sysdeps/x86_64/multiarch/strchr.S: Update.
49615 Check bit_slow_BSF bit.
49616 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49617 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49618 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49619
49620 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49621
49622 [BZ #13134]
49623 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49624 before glibc 2.15.
49625 (tryshell): Define.
49626 (__spawni): Change last parameter to be flag. Test
49627 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49628 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49629 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49630 * posix/spawni.c: Likewise.
49631 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49632 * posix/spawnp.c: Likewise. Change normal version to use
49633 SPAWN_XFLAGS_USE_PATH.
49634 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49635 SPAWN_XFLAGS_TRY_SHELL.
49636
49637 [BZ #13150]
49638 * posix/glob.h: Remove gcc 1.x support.
49639
49640 [BZ #13068]
49641 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49642
49643 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49644
49645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49646 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49647 strrchr-sse2-bsf
49648 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49649 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49650 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49651 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49652 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49653 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49654
49655 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49656
49657 * sysdeps/x86_64/wcscmp.S: New file.
49658
49659 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49660 wcscmp-c wcscmp-sse2
49661 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49662 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49663 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49664 * wcsmbs/wcscmp.c: Allow renaming.
49665
49666 2011-09-05 David S. Miller <davem@davemloft.net>
49667
49668 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49669 stack slot, rather than the struct return pointer slot.
49670 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49671 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49673 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49674
49675 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49676
49677 * po/ja.po: Update from translation team.
49678
49679 [BZ #13144]
49680 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49681 kernel in 64-bit binaries.
49682
49683 2011-09-01 David S. Miller <davem@davemloft.net>
49684
49685 * elf/elf.h (HWCAP_SPARC_*): Move to..
49686 * sysdeps/sparc/sysdep.h: this new file and add new values.
49687 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49688 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49689 _DL_HWCAP_COUNT to 24.
49690 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49691 entries.
49692 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49693 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49694 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49696 instead of magic constants.
49697 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49698
49699 2011-08-31 David S. Miller <davem@davemloft.net>
49700
49701 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49703 Reimplement to do errno handling inline.
49704 (SYSCALL_ERROR_HANDLER): New macro.
49705 (__SYSCALL_STRING): Do not do errno handling in asm.
49706 (__CLONE_SYSCALL_STRING): Delete.
49707 (__INTERNAL_SYSCALL_STRING): Delete.
49708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49709 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49710 (PSEUDO): Reimplement to do errno handling inline.
49711 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49712 (SYSCALL_ERROR_HANDLER): New macro.
49713 (__SYSCALL_STRING): Do not do errno handling in asm.
49714 (__CLONE_SYSCALL_STRING): Delete.
49715 (__INTERNAL_SYSCALL_STRING): Delete.
49716 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49717 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49718 i386.
49719 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49720 (inline_syscall*): Add 'err' argument.
49721 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49722 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49723 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49724 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49725
49726 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49727 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49728
49729 2011-08-30 Andreas Schwab <schwab@redhat.com>
49730
49731 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49732
49733 2011-08-29 Jiri Olsa <jolsa@redhat.com>
49734
49735 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49736 directive.
49737
49738 2011-08-24 David S. Miller <davem@davemloft.net>
49739
49740 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49741
49742 2011-08-24 Andreas Schwab <schwab@redhat.com>
49743
49744 * elf/Makefile: Add rules to build and run unload8 test.
49745 * elf/unload8.c: New file.
49746 * elf/unload8mod1.c: New file.
49747 * elf/unload8mod1x.c: New file.
49748 * elf/unload8mod2.c: New file.
49749 * elf/unload8mod3.c: New file.
49750
49751 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49752 it wasn't used.
49753
49754 2011-08-23 David S. Miller <davem@davemloft.net>
49755
49756 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49757 subtract stack bias.
49758 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49759 %sp not %fp in calculations.
49760 (_JMPBUF_UNWINDS_ADJ): Likewise.
49761
49762 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49763 (aio_suspend): Call it to force an exception region around the
49764 AIO_MISC_WAIT() invocation.
49765
49766 2011-08-23 Andreas Schwab <schwab@redhat.com>
49767
49768 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49769 backslash.
49770
49771 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49772
49773 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49774 protection macro.
49775 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49776 and <dl-machine.h>.
49777 (Elf64_FuncDesc): Remove.
49778
49779 2011-08-22 David S. Miller <davem@davemloft.net>
49780
49781 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49782 sigaltstack check, add missing cfi directives.
49783 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49784 missing cfi directives, and sigaltstack handling.
49785
49786 2011-08-16 Andreas Schwab <schwab@redhat.com>
49787
49788 [BZ #11724]
49789 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49790 object is seen twice.
49791 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49792
49793 * elf/Makefile (distribute): Add tst-initorder2.c.
49794 (tests): Add tst-initorder2.
49795 (modules-names): Add tst-initorder2a tst-initorder2b
49796 tst-initorder2c tst-initorder2d. Add rules to build them.
49797 ($(objpfx)tst-initorder2.out): New rule.
49798 * elf/tst-initorder2.c: New file.
49799 * elf/tst-initorder2.exp: New file.
49800
49801 2011-08-22 Andreas Schwab <schwab@redhat.com>
49802
49803 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49804
49805 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49806 dependencies back to end of function.
49807
49808 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49809 $(elfobjdir)/ld.so.
49810
49811 2011-08-21 Ulrich Drepper <drepper@gmail.com>
49812
49813 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49814 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49816 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49817 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49818 of __vdso_gettimeofday.
49819 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49820 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49821 attribute_hidden.
49822 (_libc_vdso_platform_setup): Remove initialization of
49823 __vdso_gettimeofday and __vdso_time.
49824
49825 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49826
49827 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49828 and fgetc_unlocked.
49829 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49830 getc_unlocked.
49831
49832 * elf/dl-open.c (add_to_global): Report additions to the global scope
49833 for LD_DEBUG=scopes.
49834 (dl_open_worker): Also print scope of newly loaded dependencies.
49835 (_dl_show_scope): Indicate if there is no scope.
49836
49837 [BZ #13114]
49838 * stdio-common/Makefile (tests): Add bug24.
49839 * stdio-common/bug24.c: New file.
49840
49841 2011-08-19 Andreas Jaeger <aj@suse.de>
49842
49843 [BZ #13114]
49844 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49845 non-existant file when using close-on-exec mode.
49846
49847 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49848
49849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49850 the very first instruction.
49851
49852 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49853 the CFI state in the end.
49854 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49855 inclusion of dl-trampoline.h.
49856 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49857
49858 2011-08-19 Andreas Schwab <schwab@redhat.com>
49859
49860 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49861 expectations for long double.
49862
49863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49864 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49865
49866 2011-08-14 David S. Miller <davem@davemloft.net>
49867
49868 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49869 artificual limit depends upon the system page size.
49870
49871 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49872
49873 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49874 * resolv/Makefile: Define CFLAGS-libresolv.
49875
49876 2011-08-17 Andreas Schwab <schwab@redhat.com>
49877
49878 * nss/makedb.c (compute_tables): Make variables used in nested
49879 function static.
49880
49881 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49882
49883 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49884 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49885 if buffer was too small.
49886
49887 * elf/pldd.c (main): Attach to all threads in the process.
49888 Rewrite /proc handling to use *at functions.
49889
49890 2011-08-16 Ulrich Drepper <drepper@gmail.com>
49891
49892 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49893 specifies first scope to show.
49894 (dl_open_worker): Update callers. Move printing scope of new
49895 object to before the relocation.
49896 * elf/rtld.c (dl_main): Update _dl_show_scope call.
49897 * sysdeps/generic/ldsodefs.h: Update declaration.
49898
49899 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49900 string for the scope number.
49901
49902 2011-08-14 Ulrich Drepper <drepper@gmail.com>
49903
49904 * nscd/servicescache.c (cache_addserv): Make sure written is always
49905 initialized.
49906
49907 2011-08-14 Roland McGrath <roland@hack.frob.com>
49908
49909 * sysdeps/i386/i486/bits/atomic.h
49910 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49911 statement expression, so as to suppress "set but not used" warning.
49912 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49913
49914 * string/strncat.c (STRNCAT): Use prototype definition.
49915
49916 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49917 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49918 -Iprograms here.
49919 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49920 (localedef-modules): Add localedef.
49921 (locale-modules): Add locale.
49922
49923 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49924 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49925 to avoid a warning.
49926
49927 2011-08-14 David S. Miller <davem@davemloft.net>
49928
49929 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49930 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49931
49932 2011-08-13 Ulrich Drepper <drepper@gmail.com>
49933
49934 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49935 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49936 * elf/rtld.c (dl_main): Set l_name of vDSO.
49937 Call _dl_show_scope when DL_DEBUG_SCOPES.
49938 (process_dl_debug): Recognize scopes flag and also set it for all.
49939 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49940 Declare _dl_show_scope.
49941
49942 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49943 (do_dlopen): Pass caller_dlopen to dl_open.
49944 (__libc_dlopen_mode): Initialize caller_dlopen.
49945
49946 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49947 of libc. Make tolower call locale-independent. Optimize a bit by
49948 using isdigit instead of isalnum.
49949 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49950
49951 2011-08-12 Ulrich Drepper <drepper@gmail.com>
49952
49953 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49954 was a dependency or dynamically loaded.
49955
49956 2011-08-11 Ulrich Drepper <drepper@gmail.com>
49957
49958 * intl/l10nflist.c: Allow architecture-specific pop function.
49959 * sysdeps/x86_64/l10nflist.c: New file.
49960
49961 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49962 classification.
49963
49964 2011-08-10 Andreas Schwab <schwab@redhat.com>
49965
49966 * include/dirent.h: Add libc_hidden_proto for scandirat and
49967 scandirat64. Don't declare __scandirat64.
49968 * dirent/scandirat.c: Add libc_hidden_def.
49969 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49970 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49971
49972 2011-08-10 David S. Miller <davem@davemloft.net>
49973
49974 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49975 enum.
49976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49978 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49979
49980 2011-08-09 Ulrich Drepper <drepper@gmail.com>
49981
49982 * Versions.def [libc]: Add GLIBC_2.15.
49983 * dirent/Makefile (routines): Add scandirat and scandirat64.
49984 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49985 GLIBC_2.15.
49986 * dirent/dirent.h: Declare scandirat and scandirat64.
49987 * dirent/scandirat.c: New file.
49988 * dirent/scandirat64.c: New file.
49989 * sysdeps/wordsize-64/scandirat.c: New file.
49990 * sysdeps/wordsize-64/scandirat64.c: New file.
49991 * dirent/opendir.c: Define opendirat.
49992 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49993 using scandirat.
49994 * dirent/scandir64.c: Adjust for scandir.c change.
49995 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49996 __scandirat64, and __scandir_cancel_handler.
49997 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49998 additional parameter and use openat instead of open (outside of ld.so).
49999 Add new __opendir as wrapper around __opendirat.
50000 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50001 here without requiring old scandirat implementation.
50002
50003 2011-08-08 Ulrich Drepper <drepper@gmail.com>
50004
50005 * dirent/scandir.c (cancel_handler): Renamed to
50006 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50007 defined. Adjust users.
50008 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50009 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50010
50011 2011-08-04 Ulrich Drepper <drepper@gmail.com>
50012
50013 * string/test-string.h (IMPL): Use __STRING to expand name and then
50014 stringify it.
50015
50016 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50017 of cleanups.
50018
50019 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50020
50021 * string/Makefile: Update.
50022 (strop-tests): Append strncat.
50023 * string/test-wcscmp.c: New file.
50024 New comprehensive test for wcscmp.
50025 * string/test-strcmp.c: Update.
50026 (WIDE): New define.
50027
50028 2011-07-22 Andreas Schwab <schwab@redhat.com>
50029
50030 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50031 line.
50032
50033 2011-07-26 Andreas Schwab <schwab@redhat.com>
50034
50035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50036 encoding to ACE if AI_IDN.
50037
50038 2011-08-01 Jakub Jelinek <jakub@redhat.com>
50039
50040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50041 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50042
50043 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50044
50045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50046 Fix overflow bug in strncat.
50047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50048
50049 * string/test-strncat.c: Update.
50050 Add new tests for checking overflow bugs.
50051
50052 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50053
50054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50055 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50056 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50057 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50058 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50059 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50060 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50061 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50062 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50063
50064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50065 (USE_AS_STRCAT): Define.
50066 Add strcat and strncat support.
50067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50068
50069 2011-07-25 Andreas Schwab <schwab@redhat.com>
50070
50071 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50072 __n bigger than INT_MAX+1.
50073 (__strncmp_g): Likewise.
50074
50075 2011-07-23 Ulrich Drepper <drepper@gmail.com>
50076
50077 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50078 * libio/stido.h: Likewise.
50079
50080 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50081 (AF_NFC): Define.
50082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50083 (AF_NFC): Define.
50084
50085 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50087 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50088 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50090
50091 [BZ #13021]
50092 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50093 installed.
50094
50095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50096 typo.
50097 (_dl_x86_64_save_sse): Likewise.
50098
50099 2011-07-22 Ulrich Drepper <drepper@gmail.com>
50100
50101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50102 OSXSAVE.
50103 (_dl_x86_64_save_sse): Likewise.
50104
50105 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50106
50107 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50108
50109 2011-07-21 Andreas Schwab <schwab@redhat.com>
50110
50111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50112 change.
50113 (_dl_x86_64_save_sse): Use correct AVX check.
50114
50115 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50116
50117 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50118 bug in strncpy/strncat.
50119 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50120
50121 2011-07-21 Ulrich Drepper <drepper@gmail.com>
50122
50123 * string/tester.c (test_strcat): Add tests for different alignments
50124 of source and destination.
50125 (test_strncat): Likewise.
50126
50127 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50128
50129 [BZ #12852]
50130 * posix/glob.c (glob): Check passed in values before using them in
50131 expressions to avoid some overflows.
50132 (glob_in_dir): Likewise.
50133
50134 [BZ #13007]
50135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50136 check for AVX enablement so that we don't crash with old kernels and
50137 new hardware.
50138 * elf/tst-audit4.c: Add same checks here.
50139 * elf/tst-audit6.c: Likewise.
50140
50141 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50142
50143 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50144
50145 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50146
50147 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50148
50149 * po/cs.po: Update from translation team.
50150 * po/bg.po: Likewise.
50151
50152 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50153
50154 * misc/sys/cdefs.h: Add support for const attribute.
50155 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50156 to gnu_dev_{major,minor,makedev} functions.
50157
50158 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50159
50160 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50161
50162 2011-07-20 Andreas Schwab <schwab@redhat.com>
50163
50164 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50165 strlen results.
50166
50167 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50168
50169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50170 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50171 register in order to avoid conflicts with the soft frame pointer
50172 being held in r11 when necessary.
50173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50174 (INTERNAL_VSYSCALL_NCS): Likewise.
50175
50176 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50177
50178 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50179 * elf/dl-fini.c (_dl_fini): Adjust caller.
50180 * elf/dl-close.c (_dl_close_worker): Likewise.
50181 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50182
50183 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50184
50185 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50186 "aux_cache->nlibs < 0".
50187
50188 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50189 in the reload-count case.
50190
50191 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50192
50193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50194 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50195 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50196 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50197 * sysdeps/x86_64/multiarch/strcat.S: New file.
50198 * sysdeps/x86_64/multiarch/strncat.S: New file.
50199 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50200 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50201 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50202 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50203 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50204 (USE_AS_STRCAT): Define.
50205 Add strcat and strncat support.
50206 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50208 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50209 * string/strncat.c: Update.
50210 (USE_AS_STRNCAT): Define.
50211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50212 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50213 and i7.
50214 * sysdeps/x86_64/multiarch/init-arch.h
50215 (bit_Prefer_PMINUB_for_stringop): New.
50216 (index_Prefer_PMINUB_for_stringop): Likewise.
50217 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50218 bit_Prefer_PMINUB_for_stringop.
50219
50220 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50221
50222 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50223 buffer64.
50224 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50225 of casting of buffer.
50226 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50227 buffer32 and buffer64.
50228 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50229 writes instead of casting of buffer.
50230 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50231 buffer32.
50232 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50233 casting of buffer.
50234
50235 2011-07-19 Andreas Schwab <schwab@redhat.com>
50236
50237 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50238
50239 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50240
50241 * nscd/nscd.c (termination_handler): Don't do anything for a database
50242 if it has not yet been initialized.
50243
50244 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50245
50246 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50247
50248 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50249
50250 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50251
50252 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50253
50254 * po/nl.po: Update from translation team.
50255 * po/sv.po: Likewise.
50256
50257 2011-07-16 Roland McGrath <roland@hack.frob.com>
50258
50259 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50260 now disallowed by GCC.
50261
50262 * configure.in (use-default-link): Default to yes if a test -shared
50263 link meets our qualifications.
50264 * configure: Regenerated.
50265
50266 * config.make.in (output-format): New variable.
50267 * configure.in: Check for ld --print-output-format support.
50268 * configure: Regenerated.
50269 * Makerules ($(common-objpfx)format.lds)
50270 [$(output-format) != unknown]: Just use $(output-format),
50271 instead of the linker-script munging.
50272
50273 2011-07-14 Roland McGrath <roland@hack.frob.com>
50274
50275 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50276 of $(common-objpfx)shlib.lds.
50277 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50278
50279 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50280 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50281
50282 * configure.in (-z relro check): Adjust test code to add a large
50283 writable data section after it.
50284 * configure: Regenerated.
50285
50286 2011-07-11 Roland McGrath <roland@hack.frob.com>
50287
50288 * configure.in (-z relro check): Fix test code to make the variable
50289 truly const.
50290 * configure: Regenerated.
50291
50292 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50293
50294 * nscd/nscd.h (struct traced_file): Define.
50295 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50296 elements. Add traced_files.
50297 (inotify_fd): Declare.
50298 (register_traced_file): Declare.
50299 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50300 (inotify_fd): Export.
50301 (resolv_conf_descr): Remove.
50302 (nscd_init): Move inotify descriptor creation to main.
50303 Don't register files for notification here.
50304 (register_traced_file): New function.
50305 (invalidate_cache): Don't use reset_res to determine whether to call
50306 res_init, go through the list of registered files.
50307 (main_loop_poll): The inotify descriptors are now stored in the
50308 structures for the traced files.
50309 (main_loop_epoll): Likewise
50310 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50311 to __nss_disable_nscd.
50312 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50313 for a database anymore. Check the records for all the registered
50314 files instead.
50315 * nss/Makefile (libnss_files-routines): Add files-init.
50316 (libnss_db-routines): Add db-init.
50317 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50318 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50319 * nss/nss_db/db-init.c: New file.
50320 * nss/nss_files/files-init.c: New file.
50321 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50322 __nss_lookup_function.
50323 (__nss_lookup_function): Call nss_load_library.
50324 (nss_load_all_libraries): New function.
50325 (__nss_disable_nscd): Take parameter with callback function for files
50326 to register. Set is_nscd. Load all the DSOs for the NSS modules
50327 used for the cached services.
50328 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50329 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50330 options for features to all the files in nscd.
50331
50332 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50333
50334 2011-07-10 Roland McGrath <roland@hack.frob.com>
50335
50336 * csu/elf-init.c (__libc_csu_init): Comment typo.
50337
50338 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50339
50340 * po/pl.po: Update from translation team.
50341 * po/ja.po: Likewise.
50342 * po/ru.po: Likewise.
50343 * po/ko.po: Likewise.
50344 * po/fr.po: Likewise.
50345
50346 2011-07-09 Roland McGrath <roland@hack.frob.com>
50347
50348 * configure.in (.ctors/.dtors header and trailer check):
50349 Use an empirical test on a built program.
50350 * configure: Regenerated.
50351
50352 * configure.in (-z relro check): Use an empirical test on a built DSO.
50353 Detect, but do not require, on ia64.
50354 * configure: Regenerated.
50355
50356 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50357 Update tests that use readelf to use $READELF instead.
50358 * configure: Regenerated.
50359
50360 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50361
50362 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50363 if the result is not used.
50364
50365 2011-07-05 Andreas Jaeger <aj@suse.de>
50366
50367 [BZ#9696]
50368 * stdlib/tst-strtod.c: Add testcase.
50369
50370 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50371
50372 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50373 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50374 The latter has a higher limit. Take additional parameter to pass to
50375 the new function.
50376 (__pathconf): Pass file to __statfs_link_max.
50377 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50378 __statfs_link_max.
50379 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50380 __statfs_link_max.
50381
50382 [BZ #12868]
50383 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50385 Handle Lustre.
50386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50387 (__statfs_filesize_max): Likewise.
50388 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50389
50390 2011-07-05 Andreas Jaeger <aj@suse.de>
50391
50392 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50393
50394 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50395
50396 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50397 `status' variable.
50398 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50399 Likewise.
50400
50401 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50402
50403 * Makefile (strop-tests): Add strncat.
50404 * string/test-strncat.c: New file.
50405
50406 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50407
50408 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50409
50410 2011-06-21 Andreas Jaeger <aj@suse.de>
50411
50412 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50413 Copy rule from iconvdata/Makefile.
50414
50415 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50416
50417 [BZ #12922]
50418 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50419 but no long options are defined, just return 'W'.
50420
50421 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50422
50423 [BZ #9696]
50424 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50425
50426 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50427
50428 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50429 netgroups to read.
50430 (innetgr): Likewise.
50431
50432 2011-07-05 Roland McGrath <roland@hack.frob.com>
50433
50434 * config.make.in (install_root): Default to $(DESTDIR).
50435
50436 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50437
50438 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50439
50440 2011-07-02 Roland McGrath <roland@hack.frob.com>
50441
50442 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50443
50444 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50445 containing directory rather than embedding absolute directory names.
50446
50447 * scripts/check-local-headers.sh: Rewritten using awk.
50448 Match by word, not by line. Print error messages for matches.
50449 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50450
50451 * Makerules [shlib-lds-flags empty]:
50452 ($(common-objpfx)libc_pic.opts): New target.
50453 ($(common-objpfx)libc_pic.os.clean): New target.
50454 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50455
50456 * config.make.in (OBJCOPY): New variable.
50457 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50458 * configure: Regenerated.
50459
50460 * config.make.in (use-default-link): New variable.
50461 * configure.in (use_default_link): Grok --with-default-link to set it.
50462 * configure: Regenerated.
50463 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50464 (shlib-lds, shlib-lds-flags): Define to empty.
50465
50466 * Makerules (shlib-lds): New variable.
50467 (shlib-lds-flags): New variable.
50468 (build-shlib, build-moduile, build-module-asneeded): Use it.
50469 ($(common-objpfx)libc.so): Use $(shlib-lds).
50470 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50471 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50472
50473 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50474 DT_FLAGS/DT_FLAGS_1 with zero flags.
50475
50476 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50477 linker script munging.
50478
50479 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50480
50481 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50482 as 128-bit value.
50483 * crypt/sha512.c (sha512_process_block): Perform total addition using
50484 128-bit if possible.
50485 (__sha512_finish_ctx): Likewise.
50486 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50487 as 64-bit value.
50488 * crypt/sha256.c (SWAP64): Define.
50489 (sha256_process_block): Perform total addition using 64-bit if
50490 possible.
50491 (__sha256_finish_ctx): Likewise.
50492
50493 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50494
50495 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50496 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50497 * nscd/hstcache.c (cache_addhst): Likewise.
50498 * nscd/grpcache.c (cache_addgr): Likewise.
50499 * nscd/aicache.c (addhstaiX): Likewise
50500 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50501
50502 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50503
50504 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50505 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50506 * nscd/hstcache.c (cache_addhst): Likewise.
50507 * nscd/grpcache.c (cache_addgr): Likewise.
50508 * nscd/aicache.c (addhstaiX): Likewise
50509
50510 2011-07-01 Andreas Schwab <schwab@redhat.com>
50511
50512 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50513 domain only when needed.
50514
50515 2011-06-30 Andreas Schwab <schwab@redhat.com>
50516
50517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50518 is always restored.
50519
50520 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50521
50522 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50523 are re-adding the entry.
50524 * nscd/servicescache.c (cache_addserv): Likewise.
50525
50526 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50527
50528 * sysdeps/generic/dl-irel.h: fix protection against multiple
50529 inclusions.
50530 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50531
50532 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50533
50534 [BZ #12935]
50535 * malloc/memusage.sh: Fix quoting in message.
50536 * debug/xtrace.sh: Likewise.
50537
50538 * configure.in: Remove support for --experimental-malloc option, make
50539 it the default.
50540 * config.make.in: Likewise.
50541 * malloc/Makefile: Likewise.
50542
50543 2011-06-27 Andreas Schwab <schwab@redhat.com>
50544
50545 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50546 two-byte characters.
50547
50548 2011-06-27 Roland McGrath <roland@hack.frob.com>
50549
50550 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50551 AC_CACHE_CHECK invocation.
50552 * configure: Regenerated.
50553
50554 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50555
50556 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50557
50558 [BZ #12350]
50559 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50560 bit from old_res_options.
50561
50562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50563
50564 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50565 value type for setfct.
50566
50567 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50568
50569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50570 __gettimeofday instead of gettimeofday.
50571
50572 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50573
50574 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50575
50576 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50577
50578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50579
50580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50581 info.
50582
50583 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50584
50585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50586 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50587 strcpy-sse2-unaligned strncpy-sse2-unaligned
50588 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50589 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50590 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50591 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50592 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50593 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50594 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50595 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50596 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50597 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50598 (STRCPY): Support SSE2 and SSSE3 versions.
50599
50600 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50601
50602 [BZ #12874]
50603 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50604 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50605 kernels which artificially limit size of requests.
50606
50607 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50608
50609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50610 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50611 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50612 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50613 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50614 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50615 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50616 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50617 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50618 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50619 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50620 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50621 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50622 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50623 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50625 Enable unaligned load optimization for Intel Core i3, i5 and i7
50626 processors.
50627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50628 Define.
50629 (index_Fast_Unaligned_Load): Define.
50630 (HAS_FAST_UNALIGNED_LOAD): Define.
50631
50632 2011-06-23 Marek Polacek <mpolacek@redhat.com>
50633
50634 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50635
50636 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50637
50638 [BZ #12907]
50639 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50640 until it is clear that the information is realy needed.
50641 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50642
50643 2011-06-22 Andreas Schwab <schwab@redhat.com>
50644
50645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50646
50647 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50648
50649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50650 /sys/devices/system/cpu/online if it is usable.
50651
50652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50653 reading the information from the /proc filesystem to once a second.
50654
50655 2011-06-21 Andreas Jaeger <aj@suse.de>
50656
50657 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50658 NULL after inclusion of kernel headers.
50659
50660 2011-06-21 Ulrich Drepper <drepper@gmail.com>
50661
50662 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50663 calls to internal_setent.
50664
50665 [BZ #12885]
50666 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50667 addresses using gethostbyname4_r ignore IPv4 addresses.
50668
50669 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50670 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50671
50672 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50673
50674 2011-06-20 David S. Miller <davem@davemloft.net>
50675
50676 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50677 inclusions.
50678 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50679
50680 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50681 (elf_irel): Use it.
50682 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50683 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50684 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50685 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50686 * sysdeps/x86_64/dl-irel.h: Likewise.
50687
50688 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50689 * elf/dl-sym.c: Likewise.
50690
50691 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50692
50693 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50694 need to dereference resplen2.
50695
50696 2011-06-14 Andreas Schwab <schwab@redhat.com>
50697
50698 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50699
50700 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50701
50702 * Makeconfig: Define vardbdir and inst_vardbdir.
50703 * nss/Makefile: Add rules to install db-Makefile.
50704
50705 * nss/nss_db/db-XXX.c: Cleanup.
50706
50707 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50708 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50709 GLIBC_PRIVATE.
50710 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50711 * nss/makedb.c: Implement -g option to specify that value strings
50712 are generated and should not be added to table iterated over for
50713 get*ent calls.
50714 * nss/nss_db/db-initgroups.c: New file.
50715
50716 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50717 interface.
50718
50719 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50720 (internal_getgrouplist): Adjust to name change.
50721 Update use_initgroups_entry if this is not the first call.
50722 * nss/databases.def: Add initgroups entry.
50723
50724 * nss/makedb.c (compute_tables): Check result of multiple hash table
50725 sizes to minimize maximum chain length.
50726
50727 2011-06-14 Ulrich Drepper <drepper@gmail.com>
50728
50729 * Versions.def: Add entry for libnss_db.
50730 * shlib-versions: Likewise.
50731 * nss/Makefile: Add rules to build libnss_db.
50732 * nss/Versions: Add libnss_db information. Organize libnss_files
50733 entries better.
50734 * nss/db-Makefile: Add gshadow support. Change rules for the new
50735 makedb progra. Some minor improvements to generate smaller files.
50736 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50737 here from...
50738 * nss/makedb.c: ...here.
50739 Improve database format to be smaller and require less memory at
50740 runtime.
50741 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50742 db anymore.
50743 * nss/nss_db/db-netgrp.c: Likewise.
50744 * nss/nss_db/db-open.c: Likewise.
50745 * nss/nss_files/flies-XXX.x: Adjust comments.
50746 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50747 * nss/nss_files/files-grp.c: Likewise.
50748 * nss/nss_files/files-hosts.c: Likewise.
50749 * nss/nss_files/files-network.c: Likewise.
50750 * nss/nss_files/files-proto.c: Likewise.
50751 * nss/nss_files/files-pwd.c: Likewise.
50752 * nss/nss_files/files-rpc.c: Likewise.
50753 * nss/nss_files/files-service.c: Likewise.
50754 * nss/nss_files/files-sgrp.c: Likewise.
50755 * nss/nss_files/files-spwd.c: Likewise.
50756 * nss/nss_db/db-alias.c: Removed.
50757 * nss/nss_db/dummy-db.h: Removed.
50758
50759 2011-06-02 Ulrich Drepper <drepper@gmail.com>
50760
50761 * nss/makedb.c: Rewritten to not use database library.
50762 * nss/Makefile: Update to build new makedb program.
50763
50764 2011-06-14 Andreas Jaeger <aj@suse.de>
50765
50766 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50767 memset declaration.
50768
50769 2011-06-10 Andreas Schwab <schwab@redhat.com>
50770
50771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50772 tmpbuf.
50773
50774 2011-06-10 Roland McGrath <roland@hack.frob.com>
50775
50776 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50777 * elf/Makefile ($(objpfx)ld.so): Likewise.
50778
50779 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50780 Don't list ld.so twice in dependencies.
50781
50782 * posix/bug-regex31.c: Include <stdlib.h>.
50783
50784 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50785
50786 * nis/nss_compat/compat-spwd.c
50787 (getspent_next_nss_netgr): Remove unused variable.
50788 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50789
50790 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50791 nonmembers" output to use the right array.
50792
50793 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50794
50795 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50796
50797 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50798 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50799 * catgets/gencat.c (read_input_file): Likewise.
50800 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50801
50802 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50803 variable definition inside #if's controlling its use.
50804
50805 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50806
50807 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50808
50809 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50810
50811 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50812 unreachable code.
50813
50814 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50815
50816 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50817 * configure: Regenerated.
50818
50819 * Makerules: Revert last change.
50820 * elf/Makefile: Likewise.
50821
50822 2011-06-09 Roland McGrath <roland@hack.frob.com>
50823
50824 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50825 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50826 (reloc-link): Likewise.
50827
50828 2011-06-09 Ulrich Drepper <drepper@gmail.com>
50829
50830 * elf/Makefile: Add rules to build pldd.
50831 * elf/pldd.c: New file.
50832 * elf/pldd-xx.c: New file.
50833
50834 2011-06-07 Ulrich Drepper <drepper@gmail.com>
50835
50836 * version.h: Update for 2.15 development version.
50837
50838 2011-06-07 David S. Miller <davem@davemloft.net>
50839
50840 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50841 ifuncs.
50842 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50843 elf_machine_lazy_rel): Likewise.
50844 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50846 elf_machine_lazy_rel): Likewise.
50847 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50848 dl_hwcap via passed in argument.
50849 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50850 Likewise.
50851
50852 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50853
50854 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50855
50856 2011-06-06 Roland McGrath <roland@hack.frob.com>
50857
50858 [BZ #12849]
50859 * manual/fdl-1.1.texi: New file, verbatim from:
50860 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50861 * manual/lgpl-2.1.texi: New file, verbatim from:
50862 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50863 * manual/Makefile (licenses): New variable, list those new file names.
50864 (texis): Use it.
50865 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50866
50867 * manual/fdl.texi: File removed.
50868 * manual/lesser.texi: File removed.
50869 * manual/libc.texinfo (Copying, Documentation License):
50870 Use new @include file names, put @appendix directive before @include.
50871
50872 2011-06-04 Jakub Jelinek <jakub@redhat.com>
50873
50874 [BZ #12841]
50875 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50876 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50877 (mq_open): Add __NTH.
50878
50879 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50880
50881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50882 Assume Intel Core i3/i5/i7 processor if AVX is available.
50883
50884 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50885
50886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50887 typo.
50888
50889 2011-05-31 Andreas Schwab <schwab@redhat.com>
50890
50891 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50892 memory. Use alloca_account. Fix memory leak when retrying.
50893
50894 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50895
50896 * version.h (RELEASE): Bump for 2.14 release.
50897 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50898
50899 * config.make.in (RANLIB): Remove entry.
50900
50901 2011-05-30 Ulrich Drepper <drepper@gmail.com>
50902
50903 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50904 (libc.pot): Work around missing support for .ksh extension in xgettext.
50905
50906 [BZ #12684]
50907 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50908 if both request failed.
50909 (send_dg): In case of server errors clear resplen or *resplen2.
50910
50911 [BZ #12454]
50912 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50913 when there are multiple maps.
50914 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50915 (_dl_fini): Remove test here.
50916
50917 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50918
50919 2011-05-29 Ulrich Drepper <drepper@gmail.com>
50920
50921 [BZ #12350]
50922 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50923 bit from old_res_options.
50924 (gaih_inet): Likewise.
50925
50926 [BZ #11099]
50927 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50928 as signed.
50929
50930 * resolv/res_init.c (res_setoptions): Make the code more compact.
50931
50932 [BZ #11558]
50933 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50934 set RES_USEVC.
50935
50936 [BZ #11634]
50937 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50938
50939 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50940
50941 [BZ #11781]
50942 * malloc/malloc.h: Declare malloc hook variables as volatile.
50943
50944 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50945 in last patch.
50946
50947 [BZ #11799]
50948 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50949 raise in the comment.
50950 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50951 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50952 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50953
50954 2011-05-28 Ulrich Drepper <drepper@gmail.com>
50955
50956 [BZ #12811]
50957 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50958 grow the buffers more if it already has to be sufficient.
50959 (build_wcs_upper_buffer): Likewise.
50960 * posix/regexec.c (check_matching): Likewise.
50961 (clean_state_log_if_needed): Likewise.
50962 (extend_buffers): Don't enlarge buffers beyond size of the input
50963 buffer.
50964 Patches mostly by Emil Wojak <emil@wojak.eu>.
50965 * posix/bug-regex32.c: New file.
50966 * posix/Makefile (tests): Add bug-regex32.
50967
50968 * locale/findlocale.c (_nl_find_locale): Return right away if
50969 _nl_explode_name failed.
50970 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50971
50972 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50973
50974 * debug/xtrace.sh: Unify messages.
50975 * malloc/memusage.sh: Likewise.
50976
50977 [BZ #12813]
50978 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50979 time symbol from vDSO. Substitute with vsyscall if not available.
50980 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50981 __vdso_time.
50982
50983 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50984 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50985 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50986 Add sendmmsg and internal_sendmmsg.
50987 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50988 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50989 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50990
50991 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50992 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50994
50995 2011-05-27 Ulrich Drepper <drepper@gmail.com>
50996
50997 [BZ #12813]
50998 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50999 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51000 available.
51001 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51002 __vdso_getcpu.
51003
51004 [BZ #12814]
51005 * iconvdata/Makefile (tests): Add bug-iconv9.
51006 * iconvdata/bug-iconv9.c: New file.
51007
51008 2011-05-27 Andreas Schwab <schwab@redhat.com>
51009
51010 [BZ #12814]
51011 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51012
51013 2011-05-25 Jakub Jelinek <jakub@redhat.com>
51014
51015 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51016 (struct user_regs_struct): Change intcs field back to cs.
51017
51018 2011-05-25 Ulrich Drepper <drepper@gmail.com>
51019
51020 * po/ja.po: Update from translation team.
51021
51022 2011-05-23 Ulrich Drepper <drepper@gmail.com>
51023
51024 [BZ #12795]
51025 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51026 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51027
51028 2011-05-20 Andreas Schwab <schwab@redhat.com>
51029
51030 * stdlib/longlong.h: Update from GCC.
51031
51032 2011-05-23 Andreas Schwab <schwab@redhat.com>
51033
51034 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51035 parameter name.
51036 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51037 Add parameter name.
51038 (__sysconf): Pass it down.
51039
51040 2011-05-22 Ulrich Drepper <drepper@gmail.com>
51041
51042 [BZ #12671]
51043 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51044 some situations.
51045 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51046 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51047 add in in __libc_use_alloca calls. Adjust callers.
51048 (glob): Use malloc in some situations.
51049
51050 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51051 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51052 pltexit.
51053
51054 2011-05-21 Ulrich Drepper <drepper@gmail.com>
51055
51056 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51057 and CLOCK_BOOTTIME_ALARM.
51058
51059 [BZ #12782]
51060 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51061 is returned.
51062
51063 * string/_strerror.c (__strerror_r): Print negative errors as signed
51064 numbers.
51065
51066 [BZ #12777]
51067 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51068 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51069 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51070
51071 * configure.in: Fix typo in redirection and correct removal of test
51072 files in two cases.
51073
51074 [BZ #12788]
51075 * locale/setlocale.c (new_composite_name): Fix test to check for
51076 identical name of all categories.
51077
51078 [BZ #12792]
51079 * libio/filedoalloc.c (local_isatty): New function.
51080 (_IO_file_doallocate): Use local_isatty.
51081 * stdio-common/perror.c (perror): In case a new stream is used
51082 forward the stream error.
51083 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51084 error flag.
51085
51086 2011-05-20 Ulrich Drepper <drepper@gmail.com>
51087
51088 [BZ #11869]
51089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51090 alloca.
51091 * include/alloca.h (extend_alloca_account): Define.
51092
51093 [BZ #11857]
51094 * posix/regex.h: Fix comments with documentation of user-accessible
51095 fields after compilation and describe correct free'ing of pattern
51096 after re_compile_pattern.
51097 Patch by Reuben Thomas <rrt@sc3d.org>.
51098
51099 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51100
51101 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51102 and -mno-altivec to prevent the compiler from using Altivec and/or
51103 VSX instructions when the corresponding registers are not available.
51104
51105 2011-05-19 Andreas Schwab <schwab@redhat.com>
51106
51107 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51108
51109 2011-05-19 Ulrich Drepper <drepper@gmail.com>
51110
51111 * libio/freopen.c (freopen): Use __dup2, not dup2.
51112 * libio/freopen64.c (freopen64): Likewise.
51113
51114 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51115
51116 [BZ #12775]
51117 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51118 * math/Makefile (tests): Add test-powl.
51119 (CFLAGS-test-powl.c): Define.
51120 * math/test-powl.c: New file.
51121
51122 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51123
51124 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51125
51126 2011-05-17 Ulrich Drepper <drepper@gmail.com>
51127
51128 [BZ #11837]
51129 * iconvdata/gb18030.c: Update to GB18020-2005.
51130
51131 2011-05-16 Ulrich Drepper <drepper@gmail.com>
51132
51133 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51134 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51135 Patch by Aharon Robbins <arnold@skeeve.com>.
51136
51137 [BZ #11892]
51138 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51139 on the stack.
51140
51141 [BZ #11895]
51142 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51143 through underflows.
51144
51145 [BZ #12766]
51146 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51147 point to strings before performing equality test for error_one_per_line
51148 mode.
51149
51150 [BZ #11697]
51151 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51152
51153 [BZ #11820]
51154 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51155 (struct user_fpregs_struct): Avoid __uint*_t types.
51156
51157 [BZ #6420]
51158 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51159 symbol info. Use it instead of calling _dl_addr locally.
51160 (lock_and_info): New function.
51161 (tr_freehook): Call lock_and_info and pass symbol info as additional
51162 parameter to tr_where.
51163 (tr_mallochook): Likewise.
51164 (tr_reallochook): Likewise.
51165 (tr_memalignhook): Likewise.
51166
51167 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51168 used and couldn't be at all thread-safe.
51169
51170 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51171
51172 * libio/freopen.c (freopen): Don't close old file descriptor
51173 before the new one is opened. Instead dup the new file descriptor
51174 to the old one after the new stream is created.
51175 * libio/freopen64.c (freopen64): Likewise.
51176 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51177 * libio/fileops.c (_IO_new_file_close_it): Handle new
51178 _IO_FLAGS2_NOCLOSE flag.
51179 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51180 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51181 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51182 _IO_FLAGS2_NOCLOSE flag.
51183 * include/unistd.h: Add hidden_proto for dup3.
51184 Define __have_dup3.
51185 * io/dup3.c: Define hidden symbol.
51186 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51187
51188 [BZ #7101]
51189 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51190 when an incomplete long option is used.
51191 * posix/tst-getopt_long1.c: New file.
51192 * posix/Makefile (tests): Add tst-getopt_long1.
51193
51194 [BZ #10138]
51195 * scripts/config.guess: Update from autoconf-2.68.
51196 * scripts/config.sub: Likewise.
51197
51198 [BZ #10157]
51199 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51200 tests into ...
51201 (has_cpuclock): ...this. New function.
51202 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51203 macro here based on has_cpuclock code.
51204
51205 [BZ #10149]
51206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51207 First byte (not low byte) is now always NUL.
51208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51209
51210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51211 Use non-cancelable interfaces.
51212
51213 [BZ #9809]
51214 * locale/iso-639.def: Add entry for Sorani.
51215
51216 [BZ #11901]
51217 * include/stdlib.h: Move include protection to the right place.
51218 Define abort_msg_s. Declare __abort_msg with it.
51219 * stdlib/abort.c (__abort_msg): Adjust type.
51220 * assert/assert.c (__assert_fail_base): New function. Majority
51221 of code from __assert_fail. Allocate memory for __abort_msg with
51222 mmap.
51223 (__assert_fail): Now call __assert_fail_base.
51224 * assert/assert-perr.c: Remove bulk of implementation. Use
51225 __assert_fail_base.
51226 * include/assert.hL Declare __assert_fail_base.
51227 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51228 mmap.
51229 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51230
51231 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51232
51233 [BZ #11952]
51234 [BZ #12453]
51235 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51236 until all modules are registered in the DTV.
51237 * elf/Makefile: Add rules to build and run tst-tls19.
51238 * elf/tst-tls19.c: New file.
51239 * elf/tst-tls19mod1.c: New file.
51240 * elf/tst-tls19mod2.c: New file.
51241 * elf/tst-tls19mod3.c: New file.
51242 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51243
51244 [BZ #12083]
51245 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51246 correctly.
51247
51248 [BZ #12601]
51249 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51250 two-byte sequence errors.
51251 * iconvdata/Makefile (tests): Add bug-iconv8.
51252 * iconvdata/bug-iconv8.c: New file.
51253
51254 [BZ #12626]
51255 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51256 buf2 definition.
51257
51258 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51259
51260 [BZ #12432]
51261 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51262 (dummy_getcfa): New function.
51263 (init): Get _Unwind_GetCFA address, use dummy if not found.
51264 (backtrace_helper): In recursion check, also check whether CFA changes.
51265 (__backtrace): Completely initialize arg.
51266
51267 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51268 storing incomplete byte sequence in state object. Avoid testing for
51269 guaranteed too small input if we know there is enough data available.
51270
51271 2011-05-11 Andreas Schwab <schwab@redhat.com>
51272
51273 * Makeconfig (+link-pie): Indent.
51274 * Rules (binaries-pie): Define if $(have-fpie) and
51275 $(build-shared).
51276 (binaries-shared): Also filter out $(binaries-pie).
51277 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51278 * nscd/Makefile (others-pie): Add nscd.
51279 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51280 ($(objpfx)nscd): Remove command override.
51281 * login/Makefile (others-pie): Add pt_chown.
51282 ($(objpfx)pt_chown): Remove command override.
51283 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51284 remove command overrides.
51285
51286 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51287
51288 * libio/tst_putwc.c: Fix error messages.
51289
51290 [BZ #12724]
51291 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51292 currently writing and seek to current position when not.
51293 * libio/Makefile (tests): Add bug-fclose1.
51294 * libio/bug-fclose1.c: New file.
51295
51296 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51297
51298 [BZ #12511]
51299 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51300 don't set DF_1_NODELETE here.
51301 (do_lookup_x): When entering new entry test for copy relocation
51302 and if necessary set DF_1_NODELETE flag.
51303 * elf/tst-unique4.cc: New file.
51304 * elf/tst-unique4.h: New file.
51305 * elf/tst-unique4lib.cc: New file.
51306 * elf/Makefile: Add rules to build and run tst-unique4.
51307 Patch by Piotr Bury <pbury@goahead.com>.
51308
51309 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51310
51311 [BZ #12052]
51312 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51313
51314 [BZ #12625]
51315 * misc/mntent_r.c (addmntent): Flush the stream after the output
51316
51317 [BZ #12393]
51318 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51319 (is_trusted_path_normalize): Skip initial colon. Append slash
51320 to empty buffer. Duplicate is_trusted_path code but allow
51321 constructed patch to be prefix.
51322 (is_dst): Allow $ORIGIN followed by /.
51323 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51324 Correct testing of result of is_trusted_path_normalize
51325 (decompose_rpath): Fix warning.
51326
51327 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51328
51329 [BZ #11257]
51330 * grp/initgroups.c (internal_getgrouplist): When we found the service
51331 list through the initgroups entry in nsswitch.conf do not always
51332 continue on a successful lookup. Don't always use the
51333 __nss_group_database value if it is set.
51334 * nss/nsswitch.conf (initgroups): Change action for successful db
51335 lookup to continue for compatibility.
51336
51337 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51338
51339 [BZ #11532]
51340 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51341 and CP774 modules.
51342 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51343 and CP774 modules.
51344 * iconvdata/tst-tables.sh: Likewise.
51345 * iconvdata/cp770.c: New file.
51346 * iconvdata/cp771.c: New file.
51347 * iconvdata/cp772.c: New file.
51348 * iconvdata/cp773.c: New file.
51349 * iconvdata/cp774.c: New file.
51350 * iconvdata/testdata/CP770: New file.
51351 * iconvdata/testdata/CP770..UTF8: New file.
51352 * iconvdata/testdata/CP771: New file.
51353 * iconvdata/testdata/CP771..UTF8: New file.
51354 * iconvdata/testdata/CP772: New file.
51355 * iconvdata/testdata/CP772..UTF8: New file.
51356 * iconvdata/testdata/CP773: New file.
51357 * iconvdata/testdata/CP773..UTF8: New file.
51358 * iconvdata/testdata/CP774: New file.
51359 * iconvdata/testdata/CP774..UTF8: New file.
51360
51361 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51362 END CHARMAP line.
51363 * iconvdata/gen-8bit-gap.sh: Likewise.
51364 * iconvdata/gen-8bit.sh: Likewise.
51365
51366 * locale/iso-639.def: Add ary entry.
51367
51368 [BZ #11258]
51369 * locale/C-translit.h.in: Add U20A1 transliteration.
51370
51371 [BZ #12178]
51372 * locale/iso-639.def: Add wae entry.
51373 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51374
51375 [BZ #12545]
51376 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51377 for n.
51378
51379 [BZ #12711]
51380 * locale/C-translit.h.in: Add entry for U20B9.
51381 Patch by pravin.d.s@gmail.com.
51382
51383 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51384
51385 [BZ #12713]
51386 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51387 ENAMETOOLONG use generic getcwd.
51388 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51389 in rtld. Use *stat64.
51390 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51391 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51392 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51393 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51394 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51395 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51396 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51397 __fstatat64 macros.
51398 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51399 * dirent/rewinddir.c: Add libc_hidden_def.
51400 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51401 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51402
51403 * include/dirent.h (__alloc_dir): Add flags parameter.
51404 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51405 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51406 __alloc_dir.
51407 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51408 from fdopendir if O_CLOEXEC is already set.
51409
51410 2011-03-15 Alan Modra <amodra@gmail.com>
51411
51412 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51413 l_tls_firstbyte_offset non-zero. Save padding offset in
51414 l_tls_firstbyte_offset for later use.
51415 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51416 freeing static tls block.
51417
51418 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51419
51420 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51421 where #ifdef was intended. The intent is to prevent ARG_MAX from
51422 being defined by the kernel headers.
51423
51424 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51425
51426 [BZ #12734]
51427 * resolv/resolv.h: Define RES_NOTLDQUERY.
51428 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51429 no-tld-query and set RES_NOTLDQUERY.
51430 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51431 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51432 modern BIND to search name as TLD unless forbidden.
51433
51434 2011-05-07 Petr Baudis <pasky@suse.cz>
51435 Ulrich Drepper <drepper@gmail.com>
51436
51437 [BZ #12393]
51438 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51439 (is_trusted_path): ...to here.
51440 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51441 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51442 using is_trusted_path_normalize() in setuid scripts.
51443
51444 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51445
51446 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51447 __BEGIN/__END_DECLS.
51448
51449 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51450
51451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51452 NSS_STATUS_NOTFOUND if no record was found.
51453
51454 2011-05-05 Andreas Schwab <schwab@redhat.com>
51455
51456 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51457 (headers-not-in-tirpc): Remove rpc/netdb.h
51458 * resolv/netdb.h: Revert last change.
51459
51460 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51461
51462 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51463 circular dependency between libgcc.a and libc.a.
51464
51465 2011-05-05 Andreas Schwab <schwab@redhat.com>
51466
51467 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51468 * nis/Makefile: Don't install rpcsvc/*.
51469 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51470 instead of <rpc/types.h>.
51471 (MAXHOSTNAMELEN): Define.
51472
51473 2011-05-03 Andreas Schwab <schwab@redhat.com>
51474
51475 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51476
51477 2011-04-28 Maciej Babinski <mbabinski@google.com>
51478
51479 [BZ #12714]
51480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51481 gethostbyname4_r when IPv6 results are possible.
51482
51483 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51484
51485 [BZ #12723]
51486 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51487 _PC_PIPE_BUF handling.
51488
51489 2011-04-30 Bruno Haible <bruno@clisp.org>
51490
51491 [BZ #12717]
51492 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51493 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51494 to 'int'.
51495 * inet/getnameinfo.c (getnameinfo): Likewise.
51496
51497 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51498
51499 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51500 to groups setting in database lookup.
51501 * nss/nsswitch.conf: Add initgroups entry.
51502
51503 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51504
51505 [BZ #12685]
51506 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51507 mode string.
51508 Patch by Eric Blake <eblake@redhat.com>.
51509
51510 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51511
51512 * sunrpc/Makefile (need-export-routines): Add svc_run.
51513 (routines): Remove svc_run.
51514 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51515 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51516 * sunrpc/svc_run.c (svc_run): Likewise.
51517 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51518
51519 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51520
51521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51522 problem in reallocation in last patch.
51523
51524 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51525
51526 * sunrpc/Makefile: Move inclusion of Rules.
51527
51528 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51529
51530 * nss/nss_files/files-initgroups.c: New file.
51531 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51532 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51533 _nss_files_initgroups_dyn.
51534
51535 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51536
51537 * elf/elf.h (R_ARM_IRELATIVE): Define.
51538
51539 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51540
51541 * po/ru.po: Update from translation team.
51542
51543 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51544
51545 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51546 dependencies.
51547
51548 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51549
51550 [BZ #12653]
51551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51552 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51555 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51556
51557 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51558
51559 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51560 differing bytes.
51561 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51562 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51564
51565 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51566
51567 [BZ #12420]
51568 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51569 storing it.
51570 * stdlib/bug-getcontext.c: New file.
51571 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51572
51573 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51574
51575 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51576 instructions into .machine "z9-109".
51577 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51578 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51579
51580 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51581
51582 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51583 between environment variables and auxiliary vector.
51584
51585 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51586
51587 * Makefile: Add rules to build linkobj/libc.so.
51588 * include/libc-symbols.h: Define libc_hidden_nolink.
51589 * include/rpc/auth.h: Mark functions which are to be hidden.
51590 * include/rpc/auth_des.h: Likewise.
51591 * include/rpc/auth_unix.h: Likewise.
51592 * include/rpc/clnt.h: Likewise.
51593 * include/rpc/des_crypt.h: Likewise.
51594 * include/rpc/key_prot.h: Likewise.
51595 * include/rpc/pmap_clnt.h: Likewise.
51596 * include/rpc/pmap_prot.h: Likewise.
51597 * include/rpc/pmap_rmt.h: Likewise.
51598 * include/rpc/rpc_msg.h: Likewise.
51599 * include/rpc/svc.h: Likewise.
51600 * include/rpc/svc_auth.h: Likewise.
51601 * include/rpc/xdr.h: Likewise.
51602 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51603 * nss/Makefile: Likewise.
51604 * sunrpc/Makefile: Don't install headers. Build library with normal
51605 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51606 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51607 for the compat linking library. Remove use of INTDEF/INTUSE.
51608 * sunrpc/auth_none.c: Likewise.
51609 * sunrpc/auth_unix.c: Likewise.
51610 * sunrpc/authdes_prot.c: Likewise.
51611 * sunrpc/authuxprot.c: Likewise.
51612 * sunrpc/clnt_gen.c: Likewise.
51613 * sunrpc/clnt_perr.c: Likewise.
51614 * sunrpc/clnt_raw.c: Likewise.
51615 * sunrpc/clnt_simp.c: Likewise.
51616 * sunrpc/clnt_tcp.c: Likewise.
51617 * sunrpc/clnt_udp.c: Likewise.
51618 * sunrpc/clnt_unix.c: Likewise.
51619 * sunrpc/des_crypt.c: Likewise.
51620 * sunrpc/des_soft.c: Likewise.
51621 * sunrpc/get_myaddr.c: Likewise.
51622 * sunrpc/key_call.c: Likewise.
51623 * sunrpc/key_prot.c: Likewise.
51624 * sunrpc/netname.c: Likewise.
51625 * sunrpc/pm_getmaps.c: Likewise.
51626 * sunrpc/pm_getport.c: Likewise.
51627 * sunrpc/pmap_clnt.c: Likewise.
51628 * sunrpc/pmap_prot.c: Likewise.
51629 * sunrpc/pmap_prot2.c: Likewise.
51630 * sunrpc/pmap_rmt.c: Likewise.
51631 * sunrpc/publickey.c: Likewise.
51632 * sunrpc/rpc_cmsg.c: Likewise.
51633 * sunrpc/rpc_common.c: Likewise.
51634 * sunrpc/rpc_dtable.c: Likewise.
51635 * sunrpc/rpc_prot.c: Likewise.
51636 * sunrpc/rpc_thread.c: Likewise.
51637 * sunrpc/rtime.c: Likewise.
51638 * sunrpc/svc.c: Likewise.
51639 * sunrpc/svc_auth.c: Likewise.
51640 * sunrpc/svc_authux.c: Likewise.
51641 * sunrpc/svc_raw.c: Likewise.
51642 * sunrpc/svc_run.c: Likewise.
51643 * sunrpc/svc_simple.c: Likewise.
51644 * sunrpc/svc_tcp.c: Likewise.
51645 * sunrpc/svc_udp.c: Likewise.
51646 * sunrpc/svc_unix.c: Likewise.
51647 * sunrpc/svcauth_des.c: Likewise.
51648 * sunrpc/xcrypt.c: Likewise.
51649 * sunrpc/xdr.c: Likewise.
51650 * sunrpc/xdr_array.c: Likewise.
51651 * sunrpc/xdr_float.c: Likewise.
51652 * sunrpc/xdr_intXX_t.c: Likewise.
51653 * sunrpc/xdr_mem.c: Likewise.
51654 * sunrpc/xdr_rec.c: Likewise.
51655 * sunrpc/xdr_ref.c: Likewise.
51656 * sunrpc/xdr_sizeof.c: Likewise.
51657 * sunrpc/xdr_stdio.c: Likewise.
51658
51659 2011-04-10 Ulrich Drepper <drepper@gmail.com>
51660
51661 [BZ #12650]
51662 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51663 * sysdeps/ia64/dl-tls.h: Likewise.
51664 * sysdeps/powerpc/dl-tls.h: Likewise.
51665 * sysdeps/s390/dl-tls.h: Likewise.
51666 * sysdeps/sh/dl-tls.h: Likewise.
51667 * sysdeps/sparc/dl-tls.h: Likewise.
51668 * sysdeps/x86_64/dl-tls.h: Likewise.
51669 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51670
51671 2011-03-14 Andreas Schwab <schwab@redhat.com>
51672
51673 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51674 rpath element also skip the following colon.
51675 (expand_dynamic_string_token): Add is_path parameter and pass
51676 down to DL_DST_REQUIRED and _dl_dst_substitute.
51677 (decompose_rpath): Call expand_dynamic_string_token with
51678 non-zero is_path. Ignore empty rpaths.
51679 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51680 with zero is_path.
51681
51682 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51683
51684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51685 Make cancelable.
51686
51687 2011-04-09 Ulrich Drepper <drepper@gmail.com>
51688
51689 [BZ #12655]
51690 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51691 Patch by Filipe David Manana <fdmanana@apache.org>.
51692
51693 2011-04-07 Andreas Schwab <schwab@redhat.com>
51694
51695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51696 Maintain aligned stack.
51697 (CHECK_RSP): Remove unused macro.
51698
51699 2011-04-03 Ulrich Drepper <drepper@gmail.com>
51700
51701 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51703
51704 2011-04-02 Ulrich Drepper <drepper@gmail.com>
51705
51706 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51707
51708 * include/features.h: Mention __USE_XOPEN2K8 in comment.
51709
51710 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51711
51712 [BZ #12518]
51713 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51714 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51715 * sysdeps/x86_64/memmove.c: New file.
51716 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51717 (memcpy): Renamed to ...
51718 (__new_memcpy): This.
51719 (memcpy): Provide GLIBC_2_14 memcpy.
51720 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51721 (memcpy): Provide GLIBC_2_2_5 memcpy.
51722
51723 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51724
51725 [BZ #12631]
51726 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51727
51728 2011-03-30 Andreas Schwab <schwab@redhat.com>
51729
51730 * misc/syncfs.c: New file.
51731 * misc/Makefile (routines): Add syncfs.
51732 * posix/unistd.h: Declare syncfs.
51733 * sysdeps/unix/syscalls.list: Add syncfs.
51734
51735 2011-04-01 Andreas Schwab <schwab@redhat.com>
51736
51737 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51738 open_by_handle_at.
51739 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51740 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51744 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51745 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51746
51747 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51748
51749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51750 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51751 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51755 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51756
51757 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51758 sync_file_range.c with -fexceptions.
51759 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51760 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51761 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51762 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51763 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51764 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51765 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51766 sync_file_range as cancellation point
51767 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51768 now a wrapper around __call_sync_file_range with cancellation handling.
51769 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51770 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51771 function name to __call_sync_file_range.
51772 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51773 Add call_sync_file_range.
51774
51775 2011-04-01 Andreas Schwab <schwab@redhat.com>
51776
51777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51778 bits/timex.h.
51779
51780 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51781
51782 * iconv/iconv.h: Fix typo in comment.
51783 * io/fcntl.h: Likewise.
51784 * libio/stdio.h: Likewise.
51785 * posix/spawn.h: Likewise.
51786 * posix/unistd.h: Likewise.
51787 * stdlib/stdlib.h: Likewise.
51788 * time/time.h: Likewise.
51789 * wcsmbs/wchar.h: Likewise.
51790
51791 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51792 open_by_handle): Add.
51793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51794 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51795 Augment a few comments.
51796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51801 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51802 open_by_handle.
51803
51804 * io/fcntl.h (AT_EMPTY_PATH): Define.
51805
51806 2011-03-30 Ulrich Drepper <drepper@gmail.com>
51807
51808 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51809 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51810 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51811 to...
51812 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
51813 * Versions.def: Add GLIBC_2.14.
51814 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51815 Export.
51816
51817 2011-03-22 Ulrich Drepper <drepper@gmail.com>
51818
51819 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51820 round counter.
51821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51822
51823 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51824
51825 [BZ #12597]
51826 * string/test-strncmp.c (do_page_test): New function.
51827 (check2): Likewise.
51828 (test_main): Call check2.
51829 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51830
51831 2011-03-20 Ulrich Drepper <drepper@gmail.com>
51832
51833 [BZ #12587]
51834 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51835 Handle cache information in CPU leaf 4.
51836 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51837
51838 2011-03-18 Ulrich Drepper <drepper@gmail.com>
51839
51840 [BZ #12583]
51841 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51842 character representation.
51843 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51844
51845 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51846
51847 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51848 END(__isnan) to END(__isnanf) to match function entry point/label
51849 EALIGN(__isnanf,...).
51850
51851 2011-03-10 Jakub Jelinek <jakub@redhat.com>
51852
51853 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51854
51855 2011-03-10 Ulrich Drepper <drepper@gmail.com>
51856
51857 [BZ #12510]
51858 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51859 copy from the symbol referenced in the relocation to initialize the
51860 used variable.
51861 Patch by Piotr Bury <pbury@goahead.com>.
51862 * elf/Makefile: Add rules to build and tst-unique3.
51863 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51864 * elf/tst-unique3.cc: New file.
51865 * elf/tst-unique3.h: New file.
51866 * elf/tst-unique3lib.cc: New file.
51867 * elf/tst-unique3lib2.cc: New file.
51868
51869 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51870
51871 2011-03-10 Mike Frysinger <vapier@gentoo.org>
51872
51873 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51874 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51875 to _start.
51876
51877 2011-03-06 Ulrich Drepper <drepper@gmail.com>
51878
51879 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51880 to-be-loaded object along a path to loader is ld.so.
51881
51882 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51883 Ulrich Drepper <drepper@gmail.com>
51884
51885 * sysdeps/x86_64/memset.S: After aligning destination, code
51886 branches to different locations depending on the value of
51887 misalignment, when multiarch is enabled. Fix this.
51888
51889 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51890
51891 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51892 Set _x86_64_preferred_memory_instruction for AMD processsors.
51893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51894 Set bit_Prefer_SSE_for_memop for AMD processors.
51895
51896 2011-03-04 Ulrich Drepper <drepper@gmail.com>
51897
51898 * libio/fmemopen.c (fmemopen): Optimize a bit.
51899
51900 2011-03-03 Andreas Schwab <schwab@redhat.com>
51901
51902 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51903
51904 2011-03-03 Roland McGrath <roland@redhat.com>
51905
51906 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51907
51908 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51909
51910 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51911 __bzero_ultra1 instead of __memset_ultra1.
51912
51913 2011-02-23 Andreas Schwab <schwab@redhat.com>
51914 Ulrich Drepper <drepper@gmail.com>
51915
51916 [BZ #12509]
51917 * include/link.h (struct link_map): Add l_orig_initfini.
51918 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51919 returning unsuccessfully.
51920 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51921 close of a file loaded at startup, restore the original l_initfini
51922 list.
51923 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51924 list, store the pointer.
51925 * elf/Makefile ($(objpfx)noload-mem): New rule.
51926 (noload-ENV): Define.
51927 (tests): Add $(objpfx)noload-mem.
51928 * elf/noload.c: Include <memcheck.h>.
51929 (main): Call mtrace. Close all opened handles.
51930
51931 2011-02-17 Andreas Schwab <schwab@redhat.com>
51932
51933 [BZ #12454]
51934 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51935 dependencies are missing.
51936
51937 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51938
51939 Fix __if_freereq crash: Unlike the generic version which uses free,
51940 Hurd needs munmap.
51941 * sysdeps/mach/hurd/ifreq.h: New file.
51942
51943 2011-01-27 Petr Baudis <pasky@suse.cz>
51944 Ulrich Drepper <drepper@gmail.com>
51945
51946 [BZ 12445]#
51947 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51948 to extend_alloca().
51949 * stdio-common/bug23.c: New file.
51950 * stdio-common/Makefile (tests): Add bug23.
51951
51952 2010-09-28 Andreas Schwab <schwab@redhat.com>
51953 Ulrich Drepper <drepper@gmail.com>
51954
51955 [BZ #12489]
51956 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51957 before performing relro protection. At old place add assertion
51958 to make sure nothing changed.
51959
51960 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51961 Glauber de Oliveira Costa <glommer@gmail.com>
51962
51963 * elf/elf.h: Add new ARM TLS relocs.
51964
51965 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51966
51967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51968 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51969 cast from r3.
51970 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51971 'tests' variable.
51972 * sysdeps/wordsize-64/tst-writev.c: New file.
51973
51974 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51975
51976 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51977 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51978 insns in _dl_start to prevent a TOC reference before relocs are
51979 resolved.
51980
51981 2011-02-15 Ulrich Drepper <drepper@gmail.com>
51982
51983 [BZ #12469]
51984 * Makeconfig: Remove RANLIB definition.
51985 * Makerules: Don't use RANLIB.
51986 * aclocal.m4: Remove ranlib test.
51987 * configure.in: No need to check for ranlib.
51988 * elf/rtld-Rules: Don't use RANLIB.
51989
51990 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51991
51992 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51993 protection macro.
51994 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51995 inclusion protection macro.
51996
51997 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51998 SIGRTMIN and SIGRTMAX and print information in that case only when
51999 SIGRTMIN is defined.
52000
52001 2011-02-11 Jakub Jelinek <jakub@redhat.com>
52002
52003 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52004 arginfo fn returning -1.
52005
52006 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52007 and thousands string is zero terminated.
52008
52009 2011-02-03 Andreas Schwab <schwab@redhat.com>
52010
52011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52012 sysdeps/unix/sysv/linux/bits/socket.h.
52013
52014 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52015
52016 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52017 (__CPU_COUNT): Remove old macros.
52018 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52019 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52020 (__CPU_ALLOC, __CPU_FREE): Add macros.
52021 (__sched_cpualloc, __sched_cpufree): Add declarations.
52022
52023 2011-02-05 Ulrich Drepper <drepper@gmail.com>
52024
52025 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52026 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52027 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52028 (readdhstai): Return value of addhstaiX call.
52029 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52030 (addgrbyX): Return value returned by cache_addgr.
52031 (readdgrbyname): Return value returned by addgrbyX.
52032 (readdgrbygid): Likewise.
52033 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52034 (addpwbyX): Return value returned by cache_addpw.
52035 (readdpwbyname): Return value returned by addhstbyX.
52036 (readdpwbyuid): Likewise.
52037 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52038 (addservbyX): Return value returned by cache_addserv.
52039 (readdservbyname): Return value returned by addservbyX:
52040 (readdservbyport): Likewise.
52041 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52042 (addhstbyX): Return value returned by cache_addhst.
52043 (readdhstbyname): Return value returned by addhstbyX.
52044 (readdhstbyaddr): Likewise.
52045 (readdhstbynamev6): Likewise.
52046 (readdhstbyaddrv6): Likewise.
52047 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52048 (readdinitgroups): Return value returned by addinitgroupsX.
52049 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52050 (prune_cache): Keep track of timeout value of re-added entries.
52051 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52052 * nscd/nscd.h: Adjust prototypes of readd* functions.
52053
52054 2011-02-04 Roland McGrath <roland@redhat.com>
52055
52056 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52057 (nis_stats): Likewise.
52058 * nis/nis_modify.c (nis_modify): Likewise.
52059 * nis/nis_remove.c (nis_remove): Likewise.
52060 * nis/nis_add.c (nis_add): Likewise.
52061
52062 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52063
52064 * posix/fnmatch_loop.c: Add some consts.
52065
52066 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52067
52068 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52069
52070 [BZ #12460]
52071 * config.make.in (config-cflags-novzeroupper): Define.
52072 * configure.in: Substitute libc_cv_cc_novzeroupper.
52073 * elf/Makefile (AVX-CFLAGS): Define.
52074 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52075 (CFLAGS-tst-auditmod4a.c): Likewise.
52076 (CFLAGS-tst-auditmod4b.c): Likewise.
52077 (CFLAGS-tst-auditmod6b.c): Likewise.
52078 (CFLAGS-tst-auditmod6c.c): Likewise.
52079 (CFLAGS-tst-auditmod7b.c): Likewise.
52080 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52081
52082 2011-02-02 Ulrich Drepper <drepper@gmail.com>
52083
52084 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52085 function to the callback.
52086 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52087
52088 2011-02-02 Andreas Schwab <schwab@redhat.com>
52089
52090 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52091 of errno.
52092
52093 2011-01-19 Ulrich Drepper <drepper@gmail.com>
52094
52095 [BZ #11724]
52096 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52097 of constructors.
52098 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52099 of destructors.
52100 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52101
52102 [BZ #11724]
52103 * elf/Makefile: Add rules to build and run new test.
52104 * elf/tst-initorder.c: New file.
52105 * elf/tst-initorder.exp: New file.
52106 * elf/tst-initordera1.c: New file.
52107 * elf/tst-initordera2.c: New file.
52108 * elf/tst-initordera3.c: New file.
52109 * elf/tst-initordera4.c: New file.
52110 * elf/tst-initorderb1.c: New file.
52111 * elf/tst-initorderb2.c: New file.
52112 * elf/tst-order-a1.c: New file.
52113 * elf/tst-order-a2.c: New file.
52114 * elf/tst-order-a3.c: New file.
52115 * elf/tst-order-a4.c: New file.
52116 * elf/tst-order-b1.c: New file.
52117 * elf/tst-order-b2.c: New file.
52118 * elf/tst-order-main.c: New file.
52119 New test case by George Gensure <werkt0@gmail.com>.
52120
52121 2010-10-01 Andreas Schwab <schwab@redhat.com>
52122
52123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52124 decoding ACE if AI_CANONIDN.
52125
52126 2011-01-18 Ulrich Drepper <drepper@gmail.com>
52127
52128 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52129
52130 2011-01-17 Ulrich Drepper <drepper@gmail.com>
52131
52132 * version.h (RELEASE): Bump for 2.13 release.
52133 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52134
52135 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52136
52137 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52138 MADV_NOHUGEPAGE.
52139 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52140 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52141 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52142 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52143 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52144 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52145
52146 * posix/getconf.c: Update copyright year.
52147 * catgets/gencat.c: Likewise.
52148 * csu/version.c: Likewise.
52149 * debug/catchsegv.sh: Likewise.
52150 * debug/xtrace.sh: Likewise.
52151 * elf/ldconfig.c: Likewise.
52152 * elf/ldd.bash.in: Likewise.
52153 * elf/sprof.c (print_version): Likewise.
52154 * iconv/iconv_prog.c: Likewise.
52155 * iconv/iconvconfig.c: Likewise.
52156 * locale/programs/locale.c: Likewise.
52157 * locale/programs/localedef.c: Likewise.
52158 * malloc/memusage.sh: Likewise.
52159 * malloc/mtrace.pl: Likewise.
52160 * nscd/nscd.c (print_version): Likewise.
52161 * nss/getent.c: Likewise.
52162
52163 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52164 PF_CAIF, and PF_ALG.
52165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52166
52167 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52168
52169 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52170 (modules-names): Use them.
52171 (ifunc-test-modules, ifunc-pie-tests): Define.
52172 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52173 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52174 (test-extras): Likewise.
52175 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52176 $(compile-command.c).
52177 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52178 (all-built-dso): Define.
52179 (check-textrel.out, check-execstack.out): Depend on it.
52180
52181 * configure.in: Don't override --enable-multi-arch.
52182
52183 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52184
52185 [BZ #6812]
52186 * nscd/hstcache.c (tryagain): Define.
52187 (cache_addhst): Return tryagain not notfound for temporary errors.
52188 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52189 failed.
52190
52191 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52192
52193 [BZ #10563]
52194 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52195 to make the syscall.
52196 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52197
52198 [BZ #12378]
52199 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52200 and fall back to matching as normal character if the string ends before
52201 the matching ']' is found. This is what POSIX requires.
52202 * posix/testfnm.c: Adjust test result.
52203 * posix/globtest.sh: Adjust test result. Add new test.
52204 * posix/tst-fnmatch.input: Likewise.
52205 * posix/tst-fnmatch2.c: Add new test.
52206
52207 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52208
52209 * elf/Makefile (check-execstack): Revert last change. Depend on
52210 check-execstack.h.
52211 (check-execstack.h): New target.
52212 (generated): Add check-execstack.h.
52213 * elf/check-execstack.c: Include "check-execstack.h".
52214 (main): Revert last change.
52215 (handle_file): Return zero if GNU_STACK is absent and
52216 DEFAULT_STACK_PERMS doesn't include PF_X.
52217
52218 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52219
52220 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52221 in child fails because the descriptor is already closed.
52222 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52223 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52224 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52225
52226 [BZ #12397]
52227 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52228 syscall.
52229
52230 [BZ #10484]
52231 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52232 temporary buffer used to handle multi lookups locally.
52233 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52234
52235 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52236
52237 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52238 loader is ld.so.
52239
52240 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52241
52242 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52243 alignment for SSE2.
52244
52245 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52246
52247 [BZ #12394]
52248 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52249 characters. When rounding increased number of integer digits recompute
52250 number of groups.
52251 * stdio-common/tst-grouping.c: New file.
52252 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52253
52254 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52255
52256 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52257 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52258
52259 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52260 void.
52261 * bits/select.h: Likewise.
52262
52263 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52264
52265 * po/ja.po: Update from translation team.
52266
52267 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52268
52269 [BZ #11155]
52270 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52271 implementation just like for lxstat, fxstatat, et al.
52272
52273 2010-12-27 Jim Meyering <meyering@redhat.com>
52274
52275 [BZ #12348]
52276 * posix/regexec.c (build_trtable): Return failure indication upon
52277 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52278
52279 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52280
52281 [BZ #12201]
52282 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52283 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52284 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52285 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52286
52287 [BZ #12207]
52288 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52289
52290 [BZ #12204]
52291 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52292 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52293
52294 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52295
52296 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52297 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52298 script has SORT_BY_INIT_PRIORITY.
52299 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52300 NO_CTORS_DTORS_SECTIONS is defined.
52301 * elf/soinit.c: Likewise.
52302 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52303 NO_CTORS_DTORS_SECTIONS is defined.
52304 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52305 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52306 * sysdeps/sh/init-first.c: Likewise.
52307 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52308
52309 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52310
52311 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52312 always use the slow path.
52313
52314 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52315
52316 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52317 similar rule which adds the sysdep directories to the header search in
52318 order to pick up the correct platform stackinfo.h.
52319 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52320 perform test if it is, otherwise return successfully without testing.
52321 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52322 DEFAULT_STACK_PERMS define in stackinfo.h.
52323 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52324 defined in stackinfo.h.
52325 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52326 DEFAULT_STACK_PERMS defined in stackinfo.h.
52327 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52328 * sysdeps/ia64/stackinfo.h: Likewise.
52329 * sysdeps/s390/stackinfo.h: Likewise.
52330 * sysdeps/sh/stackinfo.h: Likewise.
52331 * sysdeps/sparc/stackinfo.h: Likewise.
52332 * sysdeps/x86_64/stackinfo.h: Likewise.
52333 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52334 PF_X for powerpc64. Retain PF_X for powerpc32.
52335
52336 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52337
52338 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52339 accurately.
52340 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52341 GETDENTS_64BIT_ALIGNED.
52342
52343 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52344
52345 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52346
52347 2010-12-10 Andreas Schwab <schwab@redhat.com>
52348
52349 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52350 _GNU_SOURCE.
52351
52352 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52353 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52354 Remove __restrict.
52355 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52356 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52357
52358 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52359
52360 [BZ #11655]
52361 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52362 are initialized.
52363
52364 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52365
52366 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52367
52368 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52369
52370 * po/it.po: Update from translation team.
52371
52372 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52373
52374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52375 unused codes.
52376
52377 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52378
52379 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52380
52381 2010-11-24 Andreas Schwab <schwab@redhat.com>
52382
52383 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52384 specially.
52385 (gaih_getanswer_slice): Likewise.
52386
52387 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52388
52389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52390
52391 2010-05-31 Petr Baudis <pasky@suse.cz>
52392
52393 [BZ #11149]
52394 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52395 silently even in the chroot mode.
52396
52397 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52398
52399 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52400 last patch a bit. Pretty printing
52401
52402 2010-05-31 Petr Baudis <pasky@suse.cz>
52403
52404 [BZ #10085]
52405 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52406 initialization of skip_initgroups_dyn.
52407
52408 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52409
52410 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52411 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52412
52413 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52414
52415 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52416
52417 2010-11-11 Andreas Schwab <schwab@redhat.com>
52418
52419 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52420 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52421 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52422 ($(objpfx)tst-fnmatch-mem): New rule.
52423 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52424 * posix/tst-fnmatch.c (main): Call mtrace.
52425
52426 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52427
52428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52429 Support Intel processor model 6 and model 0x2c.
52430
52431 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52432
52433 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52434 signed comparison.
52435
52436 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52437
52438 [BZ #12205]
52439 * string/test-strncasecmp.c (check_result): New function.
52440 (do_one_test): Use it.
52441 (check1): New function.
52442 (test_main): Use it.
52443 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52444 Support strcasecmp and strncasecmp.
52445
52446 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52447
52448 [BZ #12194]
52449 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52451
52452 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52453
52454 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52455 IFUNC support.
52456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52457 memset-x86-64.
52458 * sysdeps/x86_64/multiarch/bzero.S: New file.
52459 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52460 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52461 * sysdeps/x86_64/multiarch/memset.S: New file.
52462 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52464 Set bit_Prefer_SSE_for_memop for Intel processors.
52465 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52466 Define.
52467 (index_Prefer_SSE_for_memop): Define.
52468 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52469
52470 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52471
52472 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52473 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52474
52475 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52476
52477 [BZ #12191]
52478 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52479 (__x86_64_raw_data_cache_size_half): Likewise.
52480 (__x86_64_raw_shared_cache_size): Likewise.
52481 (__x86_64_raw_shared_cache_size_half): Likewise.
52482
52483 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52484 (__x86_64_raw_data_cache_size_half): Likewise.
52485 (__x86_64_raw_shared_cache_size): Likewise.
52486 (__x86_64_raw_shared_cache_size_half): Likewise.
52487 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52488 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52489 and __x86_64_raw_shared_cache_size_half. Round
52490 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52491 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52492 to multiple of 256 bytes.
52493
52494 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52495
52496 [BZ #12167]
52497 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52498 of inacessible symlinks. Verify result of symlink before returning it.
52499 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52500 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52501
52502 2010-10-28 Erich Ritz <erichritz@gmail.com>
52503
52504 * math/math.h (isinf): Fix typo in comment.
52505
52506 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52507
52508 * po/da.po: Update from translation team.
52509
52510 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52511
52512 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52513 is added to the list.
52514
52515 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52516 Ulrich Drepper <drepper@gmail.com>
52517
52518 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52519 the global list here. Move code to...
52520 (_dl_add_to_namespace_list): ...here. New function.
52521 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52522 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52523 * elf/dl-load.c (lose): Don't remove the element from the list.
52524 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52525 (_dl_map_object): Likewise.
52526
52527 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52528
52529 [BZ #12159]
52530 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52531 into all bytes of SSE register.
52532 Patch by Richard Li <richardpku@gmail.com>.
52533
52534 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52535
52536 [BZ #12140]
52537 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52538 perturbing.
52539
52540 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52541
52542 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52543 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52544 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52545 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52547 submachine.
52548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52549
52550 2010-10-22 Andreas Schwab <schwab@redhat.com>
52551
52552 * include/dlfcn.h (__RTLD_SECURE): Define.
52553 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52554 mode & __RTLD_SECURE instead.
52555 (open_path): Rename preloaded parameter to secure.
52556 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52557 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52558 * elf/dl-deps.c (openaux): Likewise.
52559 * elf/rtld.c (struct map_args): Remove is_preloaded.
52560 (map_doit): Don't use it.
52561 (dl_main): Likewise.
52562 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52563 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52564
52565 2010-09-09 Andreas Schwab <schwab@redhat.com>
52566
52567 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52568 (sysd-rules-targets): Remove duplicates.
52569 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52570 rtld-%.$o dependency.
52571
52572 2010-10-18 Andreas Schwab <schwab@redhat.com>
52573
52574 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52575 _dl_map_object do it.
52576
52577 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52578
52579 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52580 fast fma builtins, define the macros in the C99 standard.
52581 (FP_FAST_FMAF): Likewise.
52582 (FP_FAST_FMAL): Likewise.
52583 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52584
52585 * bits/mathdef.h: Update copyright year.
52586 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52587
52588 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52589
52590 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52591 builtins, define the macros in the C99 standard.
52592 (FP_FAST_FMAF): Likewise.
52593 (FP_FAST_FMAL): Likewise.
52594 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52595 multiply/add.
52596 (FP_FAST_FMAF): Likewise.
52597
52598 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52599
52600 [BZ #3268]
52601 * math/libm-test.inc (fma_test): Some new testcases.
52602 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52603 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52604 y and infinite z. Do multiplication by C already in long double.
52605 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52607 y and infinite z. Do bitwise or of inexact bit into u.d.
52608 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52609 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52610 * sysdeps/i386/fpu/s_fma.S: Removed.
52611 * sysdeps/i386/fpu/s_fmal.S: Removed.
52612
52613 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52614
52615 [BZ #3268]
52616 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52618 computation is not scheduled after fetestexcept. Fix value
52619 of minimum denormal long double.
52620
52621 2010-10-14 Jakub Jelinek <jakub@redhat.com>
52622
52623 [BZ #3268]
52624 * math/libm-test.inc (fma_test): Add some more tests.
52625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52626 correctly.
52627
52628 2010-10-15 Andreas Schwab <schwab@redhat.com>
52629
52630 * scripts/data/localplt-s390-linux-gnu.data: New file.
52631 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52632
52633 2010-10-13 Jakub Jelinek <jakub@redhat.com>
52634
52635 [BZ #3268]
52636 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52637 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52638 instead of dbl-64.
52639 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52640 inlines.
52641 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52643 if one of x and y is very large and the other is subnormal.
52644 * sysdeps/s390/fpu/s_fmaf.c: New file.
52645 * sysdeps/s390/fpu/s_fma.c: New file.
52646 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52647 * sysdeps/powerpc/fpu/s_fma.S: New file.
52648 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52649 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52650 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52651
52652 2010-10-12 Jakub Jelinek <jakub@redhat.com>
52653
52654 [BZ #3268]
52655 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52656 fma tests.
52657 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52658 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52659 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52660 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52661 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52662 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52663 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52664
52665 2010-10-12 Ulrich Drepper <drepper@redhat.com>
52666
52667 [BZ #12078]
52668 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52669 * posix/bug-regex31.input: Add test case.
52670
52671 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52672
52673 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52674 * posix/bug-regex31.input: New file.
52675
52676 [BZ #12078]
52677 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52678 (parse_sub_exp): Fix last change, use postorder.
52679
52680 * posix/bug-regex31.c: New file.
52681 * posix/Makefile: Add rules to build and run bug-regex31.
52682
52683 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52684
52685 [BZ #12078]
52686 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52687
52688 [BZ #12108]
52689 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52690 to have entries in sys_siglist.
52691
52692 [BZ #12093]
52693 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52694 be NULL.
52695
52696 2010-10-07 Jakub Jelinek <jakub@redhat.com>
52697
52698 [BZ #3268]
52699 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52700 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52701 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52702 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52703 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52704 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52705 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52706 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52707 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52708 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52709 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52710 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52711 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52712 * math/ftestexcept.c (fetestexcept): Likewise.
52713 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52714 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52715 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52716 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52717 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52718 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52719 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52720
52721 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52722
52723 [BZ #12107]
52724 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52725 newline.
52726
52727 2010-10-06 Ulrich Drepper <drepper@gmail.com>
52728
52729 * string/bug-strstr1.c: New file.
52730 * string/Makefile: Add rules to build and run bug-strstr1.
52731
52732 2010-10-05 Eric Blake <eblake@redhat.com>
52733
52734 [BZ #12092]
52735 * string/str-two-way.h (two_way_long_needle): Always clear memory
52736 when skipping input due to the shift table.
52737
52738 2010-10-03 Ulrich Drepper <drepper@gmail.com>
52739
52740 [BZ #12005]
52741 * malloc/mcheck.c: Handle large requests.
52742
52743 [BZ #12077]
52744 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52745 for strncmp and strncasecmp.
52746 * string/stratcliff.c: Add tests for strcmp and strncmp.
52747 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52748
52749 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52750
52751 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52752 __set_fpscr.
52753
52754 2010-09-30 Andreas Jaeger <aj@suse.de>
52755
52756 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52757 (CGROUP_SUPER_MAGIC): Define.
52758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52759 Handle btrfs and cgroup file systems.
52760 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52761 Likewise.
52762
52763 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
52764
52765 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52766 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52767
52768 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52769
52770 [BZ #12067]
52771 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52772 trying to locate the ELF header.
52773
52774 2010-09-27 Andreas Schwab <schwab@redhat.com>
52775
52776 [BZ #11611]
52777 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52778 Mask out sign-bit copies when constructing f_fsid.
52779
52780 2010-09-24 Petr Baudis <pasky@suse.cz>
52781
52782 * debug/stack_chk_fail_local.c: Add missing licence exception.
52783 * debug/warning-nop.c: Likewise.
52784
52785 2010-09-15 Joseph Myers <joseph@codesourcery.com>
52786
52787 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52788 implementing getdents64 using getdents syscall, set d_type if
52789 __ASSUME_GETDENTS32_D_TYPE.
52790
52791 2010-09-16 Andreas Schwab <schwab@redhat.com>
52792
52793 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52794 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52795
52796 2010-09-21 Ulrich Drepper <drepper@redhat.com>
52797
52798 [BZ #12037]
52799 * posix/unistd.h: Undo change of feature selection for ftruncate from
52800 2010-01-11.
52801
52802 2010-09-20 Ulrich Drepper <drepper@redhat.com>
52803
52804 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52805 detection.
52806
52807 2010-09-20 Andreas Schwab <schwab@redhat.com>
52808
52809 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52810 fanotify_mark.
52811 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52812
52813 2010-09-14 Andreas Schwab <schwab@redhat.com>
52814
52815 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52816 variables after CHECK_SP call.
52817 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52818
52819 2010-09-13 Andreas Schwab <schwab@redhat.com>
52820 Ulrich Drepper <drepper@redhat.com>
52821
52822 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52823 re-relocationg ld.so.
52824 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52825 _dl_init_paths call.
52826 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52827 here anymore.
52828
52829 2010-09-14 Ulrich Drepper <drepper@redhat.com>
52830
52831 * resolv/res_init.c (__res_vinit): Count the default server we added.
52832
52833 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52834 Ulrich Drepper <drepper@redhat.com>
52835
52836 [BZ #11968]
52837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52838 (____longjmp_chk): Use %ebx for saving value across system call.
52839 Add unwind info.
52840
52841 2010-09-06 Andreas Schwab <schwab@redhat.com>
52842
52843 * manual/Makefile: Don't mix pattern rules with normal rules.
52844
52845 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52846
52847 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52848 operation.
52849 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52850 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52851 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52852 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52854 Likewise.
52855
52856 2010-09-04 Ulrich Drepper <drepper@redhat.com>
52857
52858 [BZ #11979]
52859 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52860 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52861
52862 2010-09-02 Ulrich Drepper <drepper@redhat.com>
52863
52864 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52865 * sysdeps/x86_64/addmul_1.S: Likewise.
52866 * sysdeps/x86_64/lshift.S: Likewise.
52867 * sysdeps/x86_64/mul_1.S: Likewise.
52868 * sysdeps/x86_64/rshift.S: Likewise.
52869 * sysdeps/x86_64/sub_n.S: Likewise.
52870 * sysdeps/x86_64/submul_1.S: Likewise.
52871
52872 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52873
52874 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52875 Define __sched_param instead of SCHED_* and sched_param when
52876 <bits/sched.h> is included with __need_schedparam defined.
52877 * bits/sched.h [__need_schedparam]
52878 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52879 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52880 (__defined_schedparam): Define to 1.
52881 (__sched_param): New structure, identical to sched_param.
52882 (__need_schedparam): Undefine.
52883
52884 2010-08-31 Mike Frysinger <vapier@gentoo.org>
52885
52886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52887 (epoll_create1): Declare.
52888
52889 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52890
52891 2010-08-31 Andreas Schwab <schwab@redhat.com>
52892
52893 [BZ #7066]
52894 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52895 shifting retval into place.
52896
52897 2010-09-01 Ulrich Drepper <drepper@redhat.com>
52898
52899 * nis/rpcsvc/nis.h: Update copyright notice.
52900 * nis/rpcsvc/nis.x: Likewise.
52901 * nis/rpcsvc/nis_callback.h: Likewise.
52902 * nis/rpcsvc/nis_callback.x: Likewise.
52903 * nis/rpcsvc/nis_object.x: Likewise.
52904 * nis/rpcsvc/nis_tags.h: Likewise.
52905 * nis/rpcsvc/yp.h: Likewise.
52906 * nis/rpcsvc/yp.x: Likewise.
52907 * nis/rpcsvc/ypupd.h: Likewise.
52908 * nis/yp_xdr.c: Likewise.
52909 * nis/ypupdate_xdr.c: Likewise.
52910
52911 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52912 mainly the body of pmap_getport. Add parameters to specify timeouts.
52913 (pmap_getport): Use __libc_rpc_getport.
52914 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52915 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52916 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52917
52918 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52919
52920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52921 fanotify_mark.
52922
52923 2010-08-27 Roland McGrath <roland@redhat.com>
52924
52925 * sysdeps/i386/i686/multiarch/Makefile
52926 (CFLAGS-varshift.c): New variable.
52927
52928 2010-08-27 Ulrich Drepper <drepper@redhat.com>
52929
52930 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52931 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52932
52933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52934
52935 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52936
52937 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52938
52939 * sysdeps/x86_64/strlen.S: Unroll the loop.
52940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52941 strlen-sse2 strlen-sse2-bsf.
52942 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52943 __strlen_no_bsf if bit_Slow_BSF is set.
52944 (__strlen_sse42): Removed.
52945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52946 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52947
52948 2010-08-25 Roland McGrath <roland@redhat.com>
52949
52950 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52951 * sysdeps/x86_64/multiarch/varshift.c: New file.
52952 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52953 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52954 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52955 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52956
52957 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52958
52959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52960 strlen-sse2 strlen-sse2-bsf.
52961 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52962 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52963 (__strlen_sse2): Removed.
52964 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52965 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52967 bit_Slow_BSF for Atom.
52968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52969 (index_Slow_BSF): Define.
52970 (HAS_SLOW_BSF): Define.
52971
52972 2010-08-25 Ulrich Drepper <drepper@redhat.com>
52973
52974 [BZ #10851]
52975 * resolv/res_init.c (__res_vinit): When no server address at all
52976 is given default to loopback.
52977
52978 2010-08-24 Roland McGrath <roland@redhat.com>
52979
52980 * configure.in: Remove config-name.h generation.
52981 * configure: Regenerated.
52982 * config-name.in: File removed.
52983 * scripts/config-uname.sh: New file.
52984 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52985 ($(objdir)config-name.h): New target.
52986
52987 * sunrpc/rpc_parse.h: Avoid nested comment.
52988
52989 2010-08-24 Richard Henderson <rth@redhat.com>
52990 Ulrich Drepper <drepper@redhat.com>
52991 H.J. Lu <hongjiu.lu@intel.com>
52992
52993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52995 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52996 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52997 _mm_alignr_epi8 with _mm_loadu_si128.
52998 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52999 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53000 (__m128i_shift_right): Removed.
53001 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53002 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53003 * sysdeps/x86_64/multiarch/varshift.h: New file.
53004 * sysdeps/x86_64/multiarch/varshift.S: New file.
53005
53006 2010-08-21 Mike Frysinger <vapier@gentoo.org>
53007
53008 * configure.in: Move assembler checks to before sysdep dir checking.
53009
53010 2010-08-20 Petr Baudis <pasky@suse.cz>
53011
53012 * LICENSES: Sync the sunrpc license.
53013
53014 2010-08-19 Ulrich Drepper <drepper@redhat.com>
53015
53016 * sunrpc/auth_des.c: Update copyright notice once again.
53017 * sunrpc/auth_none.c: Likewise.
53018 * sunrpc/auth_unix.c: Likewise.
53019 * sunrpc/authdes_prot.c: Likewise.
53020 * sunrpc/authuxprot.c: Likewise.
53021 * sunrpc/bindrsvprt.c: Likewise.
53022 * sunrpc/clnt_gen.c: Likewise.
53023 * sunrpc/clnt_perr.c: Likewise.
53024 * sunrpc/clnt_raw.c: Likewise.
53025 * sunrpc/clnt_simp.c: Likewise.
53026 * sunrpc/clnt_tcp.c: Likewise.
53027 * sunrpc/clnt_udp.c: Likewise.
53028 * sunrpc/clnt_unix.c: Likewise.
53029 * sunrpc/des_crypt.c: Likewise.
53030 * sunrpc/des_soft.c: Likewise.
53031 * sunrpc/get_myaddr.c: Likewise.
53032 * sunrpc/getrpcport.c: Likewise.
53033 * sunrpc/key_call.c: Likewise.
53034 * sunrpc/key_prot.c: Likewise.
53035 * sunrpc/openchild.c: Likewise.
53036 * sunrpc/pm_getmaps.c: Likewise.
53037 * sunrpc/pm_getport.c: Likewise.
53038 * sunrpc/pmap_clnt.c: Likewise.
53039 * sunrpc/pmap_prot.c: Likewise.
53040 * sunrpc/pmap_prot2.c: Likewise.
53041 * sunrpc/pmap_rmt.c: Likewise.
53042 * sunrpc/rpc/auth.h: Likewise.
53043 * sunrpc/rpc/auth_unix.h: Likewise.
53044 * sunrpc/rpc/clnt.h: Likewise.
53045 * sunrpc/rpc/des_crypt.h: Likewise.
53046 * sunrpc/rpc/key_prot.h: Likewise.
53047 * sunrpc/rpc/netdb.h: Likewise.
53048 * sunrpc/rpc/pmap_clnt.h: Likewise.
53049 * sunrpc/rpc/pmap_prot.h: Likewise.
53050 * sunrpc/rpc/pmap_rmt.h: Likewise.
53051 * sunrpc/rpc/rpc.h: Likewise.
53052 * sunrpc/rpc/rpc_des.h: Likewise.
53053 * sunrpc/rpc/rpc_msg.h: Likewise.
53054 * sunrpc/rpc/svc.h: Likewise.
53055 * sunrpc/rpc/svc_auth.h: Likewise.
53056 * sunrpc/rpc/types.h: Likewise.
53057 * sunrpc/rpc/xdr.h: Likewise.
53058 * sunrpc/rpc_clntout.c: Likewise.
53059 * sunrpc/rpc_cmsg.c: Likewise.
53060 * sunrpc/rpc_common.c: Likewise.
53061 * sunrpc/rpc_cout.c: Likewise.
53062 * sunrpc/rpc_dtable.c: Likewise.
53063 * sunrpc/rpc_hout.c: Likewise.
53064 * sunrpc/rpc_main.c: Likewise.
53065 * sunrpc/rpc_parse.c: Likewise.
53066 * sunrpc/rpc_parse.h: Likewise.
53067 * sunrpc/rpc_prot.c: Likewise.
53068 * sunrpc/rpc_sample.c: Likewise.
53069 * sunrpc/rpc_scan.c: Likewise.
53070 * sunrpc/rpc_scan.h: Likewise.
53071 * sunrpc/rpc_svcout.c: Likewise.
53072 * sunrpc/rpc_tblout.c: Likewise.
53073 * sunrpc/rpc_util.c: Likewise.
53074 * sunrpc/rpc_util.h: Likewise.
53075 * sunrpc/rpcinfo.c: Likewise.
53076 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53077 * sunrpc/rpcsvc/key_prot.x: Likewise.
53078 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53079 * sunrpc/rpcsvc/mount.x: Likewise.
53080 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53081 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53082 * sunrpc/rpcsvc/rex.x: Likewise.
53083 * sunrpc/rpcsvc/rstat.x: Likewise.
53084 * sunrpc/rpcsvc/rusers.x: Likewise.
53085 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53086 * sunrpc/rpcsvc/spray.x: Likewise.
53087 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53088 * sunrpc/rtime.c: Likewise.
53089 * sunrpc/svc.c: Likewise.
53090 * sunrpc/svc_auth.c: Likewise.
53091 * sunrpc/svc_authux.c: Likewise.
53092 * sunrpc/svc_raw.c: Likewise.
53093 * sunrpc/svc_run.c: Likewise.
53094 * sunrpc/svc_simple.c: Likewise.
53095 * sunrpc/svc_tcp.c: Likewise.
53096 * sunrpc/svc_udp.c: Likewise.
53097 * sunrpc/svc_unix.c: Likewise.
53098 * sunrpc/svcauth_des.c: Likewise.
53099 * sunrpc/xcrypt.c: Likewise.
53100 * sunrpc/xdr.c: Likewise.
53101 * sunrpc/xdr_array.c: Likewise.
53102 * sunrpc/xdr_float.c: Likewise.
53103 * sunrpc/xdr_mem.c: Likewise.
53104 * sunrpc/xdr_rec.c: Likewise.
53105 * sunrpc/xdr_ref.c: Likewise.
53106 * sunrpc/xdr_sizeof.c: Likewise.
53107 * sunrpc/xdr_stdio.c: Likewise.
53108
53109 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53110 handling.
53111
53112 2010-08-19 Andreas Schwab <schwab@redhat.com>
53113
53114 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53115
53116 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
53117
53118 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53119 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53120 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53121 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53122 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53123 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53124 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53125 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53126 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53127 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53128 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53129 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53130 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53131 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53132
53133 2010-07-26 Anton Blanchard <anton@samba.org>
53134
53135 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53136 * malloc/arena.c (heap_trim): Likewise.
53137
53138 2010-08-16 Ulrich Drepper <drepper@redhat.com>
53139
53140 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53141 here. Not...
53142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53143 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53144
53145 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53146
53147 * sysdeps/i386/elf/Makefile: New file.
53148
53149 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53150
53151 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53152 from fanotify_init.
53153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53155
53156 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53157
53158 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53159 of strncasecmp_l.
53160 * sysdeps/multiarch/strcmp.S: Likewise.
53161
53162 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53163
53164 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53165 strncase_l-nonascii.
53166 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53167 Add strncase_l-ssse3.
53168 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53169 * sysdeps/x86_64/strcmp.S: Likewise.
53170 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53171 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53172 * sysdeps/x86_64/strncase.S: New file.
53173 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53174 * sysdeps/x86_64/strncase_l.S: New file.
53175 * string/Makefile (strop-tests): Add strncasecmp.
53176 * string/test-strncasecmp.c: New file.
53177
53178 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53179 warning.
53180
53181 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53182 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53183
53184 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53185
53186 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53187
53188 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53189
53190 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53191 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53193
53194 2010-05-01 Alan Modra <amodra@gmail.com>
53195
53196 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53197 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53198 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53199 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53200 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53201 tidying. Don't tail-call __sigjmp_save for static lib.
53202 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53203 save location.
53204 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53205 (CALL_MCOUNT): Add eh info, and nop after bl.
53206 (TAIL_CALL_SYSCALL_ERROR): New macro.
53207 (PSEUDO_RET): Use it.
53208 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53209 Correct save location of integer regs and cr.
53210 (_dl_profile_resolve): Correct cr save location. Delete nops
53211 after bl when SHARED. Reduce cfi size a little by better
53212 placement of cfi directives.
53213 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53214 make a stack frame. Instead use parm save area as a temp.
53215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53216 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53218 Don't make a stack frame for parent, use parm save area.
53219 Increase child stack frame to 112 bytes. Don't save unused reg,
53220 and adjust reg usage. Set up cfi on error recovery and
53221 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53223 (__makecontext): Add dummy nop after jump to exit.
53224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53225 Use correct parm save area and cr save, reduce stack frame.
53226 Correct cfi for possible PSEUDO_RET frame setup.
53227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53228 Branch to local label emitted by PSEUDO_RET rather than
53229 __syscall_error.
53230
53231 2010-08-12 Andreas Schwab <schwab@redhat.com>
53232
53233 [BZ #11904]
53234 * locale/programs/locale.c (print_assignment): New function.
53235 (show_locale_vars): Use it.
53236
53237 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53238
53239 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53240 field.
53241 (struct statfs64): Likewise.
53242 (_STATFS_F_FLAGS): Define.
53243 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53244 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53245 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53246 (ST_VALID): Define locally.
53247 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53248 __statvfs_getflags, use the provided value.
53249 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53250 __ASSUME_STATFS_F_FLAGS.
53251
53252 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53253
53254 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53255 Add sys/fanotify.h.
53256 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53257 fanotify_mask for GLIBC_2.13.
53258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53259 fanotify_init and fanotify_mark.
53260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53261 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53262
53263 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53264 Add prlimit.
53265 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53266 prlimit64 for GLIBC_2.13.
53267 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53268 prlimit64.
53269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53270 syscall.
53271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53272 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53273 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53274 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53276 add prlimit alias.
53277 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53278
53279 [BZ #11903]
53280 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53281 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53282
53283 * nss/Makefile: Add rules to build and run tst-nss-test1.
53284 * shlib-versions: Add entry for libnss_test1.
53285 * nss/nss_test1.c: New file.
53286 * nss/tst-nss-test1.c: New file.
53287
53288 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53289 (__nss_configure_lookup): Set appropriate entry in
53290 __nss_configure_lookup to true.
53291 * nss/nsswitch.h: Define enum with indeces of databases in
53292 databases and __nss_database_custom arrays. Declare
53293 __nss_database_custom.
53294 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53295 to avoid using nscd when custom rules are installed.
53296 * nss/getXXbyYY_r.c: Likewise.
53297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53298
53299 * nss/nss_files/files-parse.c: Whitespace fixes.
53300
53301 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53302
53303 [BZ #11883]
53304 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53305 * posix/fnmatch_loop.c: Likewise.
53306
53307 2010-07-17 Andi Kleen <ak@linux.intel.com>
53308
53309 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53310 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53311 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53312 * Versions.def [GLIBC_2.13]: Add.
53313
53314 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53315
53316 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53317 Also fail if tpwd after pwuid call is NULL.
53318
53319 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53320
53321 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53322 when converting to ms.
53323
53324 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53325
53326 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53327 EOPNOTSUPP errors with ENOTTY.
53328 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53329 EOPNOTSUPP errors with ENOTTY.
53330
53331 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53332
53333 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53334 Add strcasecmp_l-ssse3.
53335 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53336 strcasecmp.
53337 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53338 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53339 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53340
53341 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53342
53343 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53344
53345 * string/Makefile (strop-tests): Add strcasecmp.
53346 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53347 strcasecmp_l-nonascii.
53348 (gen-as-const-headers): Add locale-defines.sym.
53349 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53350 * sysdeps/x86_64/strcasecmp.S: New file.
53351 * sysdeps/x86_64/strcasecmp_l.S: New file.
53352 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53353 * sysdeps/x86_64/locale-defines.sym: New file.
53354 * string/test-strcasecmp.c: New file.
53355
53356 * string/test-strcasestr.c: Test both ends of the range of characters.
53357 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53358
53359 2010-07-29 Roland McGrath <roland@redhat.com>
53360
53361 [BZ #11856]
53362 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53363
53364 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53365
53366 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53367 for ld.so.
53368
53369 2010-07-27 Andreas Schwab <schwab@redhat.com>
53370
53371 * manual/memory.texi (Malloc Tunable Parameters): Document
53372 M_PERTURB.
53373
53374 2010-07-26 Roland McGrath <roland@redhat.com>
53375
53376 [BZ #11840]
53377 * configure.in (-fgnu89-inline check): Set and substitute
53378 gnu89_inline, not libc_cv_gnu89_inline.
53379 * configure: Regenerated.
53380 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53381
53382 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53383
53384 * string/test-strnlen.c: New file.
53385 * string/Makefile (strop-tests): Add strnlen.
53386 * string/tester.c (test_strnlen): Add a few more test cases.
53387 * string/tst-strlen.c: Better error reporting.
53388
53389 * sysdeps/x86_64/strnlen.S: New file.
53390
53391 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53392
53393 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53394 lower-latency instructions.
53395
53396 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53397
53398 * string/test-strcasestr.c: New file.
53399 * string/test-strstr.c: New file.
53400 * string/Makefile (strop-tests): Add strstr and strcasestr.
53401 * string/str-two-way.h: Don't undefine MAX.
53402 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53403
53404 2010-07-21 Andreas Schwab <schwab@redhat.com>
53405
53406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53407 strcasestr-nonascii.
53408 (CFLAGS-strcasestr-nonascii.c): Define.
53409 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53410 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53411 Remove unused attribute.
53412
53413 2010-07-20 Roland McGrath <roland@redhat.com>
53414
53415 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53416 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53417 ld.so.cache was broken. With it, there is no way to disable dsocaps
53418 like LD_HWCAP_MASK can disable hwcaps.
53419
53420 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53421
53422 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53423
53424 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53425
53426 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53427 call in strcasestr.
53428 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53429 __strcasestr_sse42_nonascii.
53430 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53431 strcasestr-nonascii.c.
53432 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53433
53434 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53435
53436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53437 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53439 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53440
53441 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53442
53443 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53444 fcntl.
53445
53446 2010-07-06 Andreas Schwab <schwab@redhat.com>
53447
53448 [BZ #11577]
53449 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53450 dl_signal_cerror.
53451
53452 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53453
53454 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53455 _PC_PIPE_BUF using F_GETPIPE_SZ.
53456
53457 2010-07-05 Roland McGrath <roland@redhat.com>
53458
53459 * manual/arith.texi (Rounding Functions): Fix rint description
53460 implicit in round description.
53461
53462 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53463
53464 * elf/Makefile: Fix linking for a few tests to make recent linker
53465 happy.
53466
53467 2010-06-30 Andreas Schwab <schwab@redhat.com>
53468
53469 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53470 $(common-objpfx)libc_nonshared.a.
53471
53472 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53473
53474 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53475 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53476 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53477 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53478 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53479 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53480 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53481 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53496 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53497 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53498 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53499 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53500 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53501 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53502 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53503 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53504 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53505 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53506 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53507 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53522
53523 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53524
53525 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53526 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53527 * string/memmove.c (memmove): Renamed to ...
53528 (MEMMOVE): ...this. Default to memmove.
53529 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53530 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53531 (END_CHK): Define.
53532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53533 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53534 mempcpy-ssse3-back memmove-ssse3-back.
53535 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53536 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53538 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53539 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53540 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53541 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53542 * sysdeps/x86_64/multiarch/memmove.c: New file.
53543 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53544 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53545 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53546 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53547 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53548 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53549 Define.
53550 (index_Fast_Copy_Backward): Define.
53551 (HAS_ARCH_FEATURE): Define.
53552 (HAS_FAST_REP_STRING): Define.
53553 (HAS_FAST_COPY_BACKWARD): Define.
53554
53555 2010-06-21 Andreas Schwab <schwab@redhat.com>
53556
53557 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53558 Restore proper fallback handling.
53559
53560 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53561
53562 [BZ #11701]
53563 * posix/group_member.c (__group_member): Correct checking loop.
53564
53565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53566 OOM in getpwuid_r correctly. Return error number when the caller
53567 should return, otherwise -1.
53568 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53569 call returning > 0 value.
53570 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53571
53572 2010-06-07 Andreas Schwab <schwab@redhat.com>
53573
53574 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53575 libc_nonshared.a from targets in modules-names.
53576
53577 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53578
53579 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53580 requires it.
53581
53582 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53583
53584 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53585 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53588
53589 2010-06-02 Andreas Schwab <schwab@redhat.com>
53590
53591 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53592
53593 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53594
53595 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53596 and F_GETPIPE_SZ.
53597 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53598 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53602 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53603
53604 2010-06-14 Roland McGrath <roland@redhat.com>
53605
53606 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53607
53608 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53609
53610 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53611 __REDIRECT followed by __THROW.
53612 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53613 * posix/getopt.h (getopt): Likewise.
53614
53615 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53616
53617 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53618 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53619 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53620 in AT_FLAGS.
53621 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53622 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53623
53624 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
53625
53626 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53627
53628 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53629
53630 [BZ #11640]
53631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53632 Properly check family and model.
53633
53634 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53635
53636 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53637
53638 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
53639
53640 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53641
53642 2010-05-21 Ulrich Drepper <drepper@redhat.com>
53643
53644 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53645 symbol reference.
53646
53647 2010-05-19 Andreas Schwab <schwab@redhat.com>
53648
53649 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53650 symbol reference.
53651
53652 2010-05-21 Andreas Schwab <schwab@redhat.com>
53653
53654 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53655 and internal_recvmmsg.
53656 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53657 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53658 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53659 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53660
53661 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53662 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53663 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53664
53665 2010-05-20 Andreas Schwab <schwab@redhat.com>
53666
53667 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53668
53669 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
53670
53671 POWER7 optimizations.
53672 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53673 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53674
53675 2010-05-19 Ulrich Drepper <drepper@redhat.com>
53676
53677 * version.h: Update for 2.13 development version.
53678
53679 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
53680
53681 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53682 exceptions. Return 0.
53683
53684 2010-05-07 Roland McGrath <roland@redhat.com>
53685
53686 * elf/ldconfig.c (main): Add a const.
53687
53688 2010-05-06 Ulrich Drepper <drepper@redhat.com>
53689
53690 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53691 (args_options): Add no-idn option.
53692 (ahosts_keys_int): Add idn_flags to ai_flags.
53693 (parse_option): Handle 'i' option to clear idn_flags.
53694
53695 * malloc/malloc.c (_int_free): Possible race in the most recently
53696 added check. Only act on the data if no current modification
53697 happened.
53698
53699 See ChangeLog.17 for earlier changes.