1 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5 (linknamespace-symlist-stdlibs-tests): Likewise.
6 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7 instead of $(objpfx)symlist-stdlibs.
8 (linknamespace-libs-isoc): New variable.
9 (linknamespace-libs): Use $(linknamespace-libs-isoc).
10 (linknamespace-libs-ISO): New variable.
11 (linknamespace-libs-ISO99): Likewise.
12 (linknamespace-libs-ISO11): Likewise.
13 (linknamespace-libs-XPG3): Likewise.
14 (linknamespace-libs-XPG4): Likewise.
15 (linknamespace-libs-POSIX): Likewise.
16 (linknamespace-libs-UNIX98): Likewise.
17 (linknamespace-libs-XOPEN2K): Likewise.
18 (linknamespace-libs-POSIX2008): Likewise.
19 (linknamespace-libs-XOPEN2K8): Likewise.
20 ($(objpfx)symlist-stdlibs): Replace by
21 $(linknamespace-symlist-stdlibs-tests). Use
22 $(linknamespace-libs-$*) as set of libraries.
23 ($(linknamespace-header-tests)): Update dependencies. Use
24 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26 * conform/linknamespace.pl: Remove comment about considering
27 definitions of symbols from irrelevant libraries.
29 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32 * elf/dl-tls.c: Include <atomic.h>.
33 (oom): Remove #ifdef SHARED/#endif.
34 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
36 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
38 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
39 * nptl/Makefile (tests): Add tst-stack4.
40 (modules-names): Add tst-stack4mod.
41 ($(objpfx)tst-stack4): New.
42 (tst-stack4mod.sos): Likewise.
43 ($(objpfx)tst-stack4.out): Likewise.
44 ($(tst-stack4mod.sos)): Likewise.
46 * nptl/tst-stack4.c: New file.
47 * nptl/tst-stack4mod.c: Likewise.
49 2014-11-27 J. Brown <jb999@gmx.de>
51 * sysdeps/x86/bits/string.h: Add recent CPUs.
53 2014-11-27 Joseph Myers <joseph@codesourcery.com>
55 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
58 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
61 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
64 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
66 * nscd/connections.c: Include libc-internal.h because of macro
69 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
71 * string/bits/string3.h (__warn_memset_zero_len): Don't
72 declare for gcc newer than 5.0.
73 (memset): Don't test for zero-length __LEN for gcc newer than
76 2014-11-27 Joseph Myers <joseph@codesourcery.com>
78 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
79 size_t for %zu format.
81 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
84 2014-11-26 Joseph Myers <joseph@codesourcery.com>
86 * include/libc-internal.h (ignore_value): New macro.
87 * nscd/connections.c (restart): Wrap calls to setuid and setgid
90 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
93 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
94 pthread_cleanup_push to void *.
96 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
101 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
104 * libio/bug-rewind.c (do_test): Check fwscanf return values.
105 * libio/bug-rewind2.c (do_test): Likewise.
107 * debug/test-stpcpy_chk-ifunc.c: Remove file.
108 * debug/test-strcpy_chk-ifunc.c: Likewise.
109 * wcsmbs/test-wcschr-ifunc.c: Likewise.
110 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
111 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
112 * wcsmbs/test-wcslen-ifunc.c: Likewise.
113 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
114 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
115 * Rules [$(multi-arch) = no] (tests): Do not filter out
117 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
118 * debug/Makefile (tests-ifunc): Remove variable.
119 (tests): Do not add $(tests-ifunc).
120 * wcsmbs/Makefile (tests-ifunc): Remove variable.
121 (tests): Do not add $(tests-ifunc).
122 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
123 [TEST_IFUNC]: Remove conditionals.
124 * string/test-string.h (TEST_IFUNC): Remove macro.
125 [TEST_IFUNC]: Remove conditionals.
127 * string/test-strchr.c [!WIDE] (L): New macro.
128 [WIDE] (L): Likewise.
129 (check1): Use CHAR instead of char. Use L on string and character
132 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
134 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
136 * sysdeps/powerpc/bits/atomic.h
137 (__arch_atomic_exchange_and_add_32_acq): Add definition.
138 (__arch_atomic_exchange_and_add_32_rel): Likewise.
139 (atomic_exchange_and_add_acq): Likewise.
140 (atomic_exchange_and_add_rel): Likewise.
141 * sysdeps/powerpc/powerpc32/bits/atomic.h
142 (__arch_atomic_exchange_and_add_64_acq): Add definition.
143 (__arch_atomic_exchange_and_add_64_rel): Likewise.
144 * sysdeps/powerpc/powerpc64/bits/atomic.h
145 (__arch_atomic_exchange_and_add_64_acq): Add definition.
146 (__arch_atomic_exchange_and_add_64_rel): Likewise.
148 2014-11-26 Torvald Riegel <triegel@redhat.com>
150 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
151 Change synchronization of __sched_fifo_min_prio and
152 __sched_fifo_max_prio.
153 * nptl/pthread_mutexattr_getprioceiling.c
154 (pthread_mutexattr_getprioceiling): Likewise.
155 * nptl/pthread_mutexattr_setprioceiling.c
156 (pthread_mutexattr_setprioceiling): Likewise.
157 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
158 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
161 2014-11-26 Joseph Myers <joseph@codesourcery.com>
163 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
166 2014-11-25 Joseph Myers <joseph@codesourcery.com>
168 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
169 third argument const.
171 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
173 fnmatch: work around GCC compiler warning bug with uninit var
174 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
175 This works around a bug with x86-64 GCC 4.9.2 and earlier
176 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
177 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
178 used uninitialized in this function [-Wmaybe-uninitialized]".
180 2014-11-25 Joseph Myers <joseph@codesourcery.com>
182 * posix/bug-regex31.c (main): Return RES not 0.
184 2014-11-25 Anton Blanchard <anton@samba.org>
186 * sysdeps/powerpc/bits/atomic.h
187 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
189 2014-11-24 Sterling Augustine <saugustine@google.com>
191 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
193 2014-11-24 Ryan Cumming <etaoins@gmail.com>
196 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
198 2014-11-24 Joseph Myers <joseph@codesourcery.com>
201 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
202 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
204 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
205 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
207 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
209 * string/strncpy.c (strncpy): Improve performance by using memset.
211 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
213 * string/strcpy.c (strcpy):
214 Improve performance by using strlen and memcpy.
216 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
218 * string/strcoll_l.c (get_next_seq): __always_inline.
219 * string/strcoll_l.c (do_compare): __always_inline.
221 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
223 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
225 * include/mqueue.h: Likewise.
226 * include/stdlib.h: Likewise.
228 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
229 (get_null_defines): Adjust.
230 * sunrpc/Makefile: Adjust comment.
231 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
232 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
233 (CFLAGS-interp.c): Likewise.
234 (CFLAGS-ldconfig.c): Likewise.
235 (CPPFLAGS-.os): Likewise.
236 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
237 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
238 * extra-modules.mk (extra-modules.mk): Likewise.
239 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
240 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
241 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
242 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
243 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
244 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
245 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
246 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
247 * iconvdata/Makefile (CPPFLAGS): Likewise.
248 (cpp-srcs-left): Add libof for all iconvdata routines.
249 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
250 * include/assert.h: Likewise.
251 * include/ctype.h: Likewise.
252 * include/errno.h: Likewise.
253 * include/libc-symbols.h: Likewise.
254 * include/math.h: Likewise.
255 * include/netdb.h: Likewise.
256 * include/resolv.h: Likewise.
257 * include/stdio.h: Likewise.
258 * include/stdlib.h: Likewise.
259 * include/string.h: Likewise.
260 * include/sys/stat.h: Likewise.
261 * include/wctype.h: Likewise.
262 * intl/l10nflist.c: Likewise.
263 * libidn/idn-stub.c: Likewise.
264 * libio/libioP.h: Likewise.
265 * nptl/libc_multiple_threads.c: Likewise.
266 * nptl/pthreadP.h: Likewise.
267 * posix/regex_internal.h: Likewise.
268 * resolv/res_hconf.c: Likewise.
269 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
270 * sysdeps/arm/memmove.S: Likewise.
271 * sysdeps/arm/sysdep.h: Likewise.
272 * sysdeps/generic/_itoa.h: Likewise.
273 * sysdeps/generic/symbol-hacks.h: Likewise.
274 * sysdeps/gnu/errlist.awk: Likewise.
275 * sysdeps/gnu/errlist.c: Likewise.
276 * sysdeps/i386/i586/memcpy.S: Likewise.
277 * sysdeps/i386/i586/memset.S: Likewise.
278 * sysdeps/i386/i686/memcpy.S: Likewise.
279 * sysdeps/i386/i686/memmove.S: Likewise.
280 * sysdeps/i386/i686/mempcpy.S: Likewise.
281 * sysdeps/i386/i686/memset.S: Likewise.
282 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
283 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
284 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
285 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
286 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
287 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
288 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
289 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
290 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
291 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
292 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
293 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
294 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
295 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
296 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
297 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
298 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
299 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
300 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
301 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
302 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
303 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
304 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
305 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
306 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
307 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
308 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
309 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
311 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
312 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
313 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
315 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
316 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
317 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
318 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
319 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
320 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
321 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
322 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
323 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
324 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
325 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
326 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
327 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
328 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
329 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
330 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
331 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
332 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
333 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
334 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
335 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
336 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
337 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
338 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
339 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
340 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
341 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
342 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
343 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
344 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
345 * sysdeps/nptl/bits/libc-lock.h: Likewise.
346 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
347 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
348 * sysdeps/posix/closedir.c: Likewise.
349 * sysdeps/posix/opendir.c: Likewise.
350 * sysdeps/posix/readdir.c: Likewise.
351 * sysdeps/posix/rewinddir.c: Likewise.
352 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
353 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
354 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
355 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
356 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
357 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
358 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
363 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
364 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
365 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
366 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
367 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
368 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
369 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
370 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
371 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
372 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
373 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
374 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
375 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
377 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
379 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
380 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
387 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
388 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
389 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
390 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
391 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
392 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
393 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
394 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
395 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
396 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
397 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
398 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
399 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
400 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
401 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
402 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
403 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
404 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
405 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
406 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
407 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
408 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
409 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
410 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
411 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
412 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
413 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
414 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
415 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
416 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
417 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
418 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
419 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
420 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
421 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
422 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
423 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
424 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
425 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
426 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
427 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
428 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
429 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
430 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
431 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
432 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
433 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
434 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
435 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
436 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
438 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
439 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
440 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
441 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
442 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
443 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
444 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
445 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
448 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
450 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
451 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
452 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
453 * sysdeps/unix/alpha/sysdep.S: Likewise.
454 * sysdeps/unix/alpha/sysdep.h: Likewise.
455 * sysdeps/unix/make-syscalls.sh: Likewise.
456 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
458 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
459 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
460 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
461 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
462 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
463 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
464 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
465 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
466 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
467 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
468 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
469 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
470 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
471 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
472 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
473 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
474 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
475 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
476 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
477 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
478 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
479 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
480 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
481 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
482 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
485 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
486 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
490 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
491 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
492 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
494 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
495 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
496 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
497 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
498 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
499 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
500 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
503 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
504 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
506 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
507 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
508 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
509 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
510 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
511 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
512 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
514 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
515 * sysdeps/x86_64/memcpy.S: Likewise.
516 * sysdeps/x86_64/memmove.c: Likewise.
517 * sysdeps/x86_64/memset.S: Likewise.
518 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
520 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
521 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
522 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
524 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
525 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
526 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
527 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
528 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
529 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
530 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
531 * sysdeps/x86_64/multiarch/memset.S: Likewise.
532 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
533 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
534 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
535 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
536 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
537 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
538 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
539 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
540 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
541 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
542 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
543 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
544 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
545 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
546 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
547 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
548 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
549 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
550 * sysdeps/x86_64/strcmp.S: Likewise.
552 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
554 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
555 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
556 * elf/rtld-Rules: Likewise.
557 * elf/setup-vdso.h: Likewise.
558 * include/assert.h: Likewise.
559 * include/bits/stdlib-float.h: Likewise.
560 * include/errno.h: Likewise.
561 * include/sys/stat.h: Likewise.
562 * include/unistd.h: Likewise.
563 * sysdeps/aarch64/setjmp.S: Likewise.
564 * sysdeps/alpha/setjmp.S: Likewise.
565 * sysdeps/arm/__longjmp.S: Likewise.
566 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
567 * sysdeps/arm/setjmp.S: Likewise.
568 * sysdeps/arm/sysdep.h: Likewise.
569 * sysdeps/generic/_itoa.h: Likewise.
570 * sysdeps/generic/dl-sysdep.h: Likewise.
571 * sysdeps/generic/ldsodefs.h: Likewise.
572 * sysdeps/i386/dl-tls.h: Likewise.
573 * sysdeps/i386/setjmp.S: Likewise.
574 * sysdeps/m68k/setjmp.c: Likewise.
575 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
576 * sysdeps/mach/hurd/opendir.c: Likewise.
577 * sysdeps/posix/getcwd.c: Likewise.
578 * sysdeps/posix/opendir.c: Likewise.
579 * sysdeps/posix/profil.c: Likewise.
580 * sysdeps/powerpc/dl-procinfo.h: Likewise.
581 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
582 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
583 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
584 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
585 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
586 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
587 * sysdeps/s390/dl-tls.h: Likewise.
588 * sysdeps/s390/s390-32/setjmp.S: Likewise.
589 * sysdeps/s390/s390-64/setjmp.S: Likewise.
590 * sysdeps/sh/sh3/setjmp.S: Likewise.
591 * sysdeps/sh/sh4/setjmp.S: Likewise.
592 * sysdeps/unix/alpha/sysdep.h: Likewise.
593 * sysdeps/unix/arm/sysdep.S: Likewise.
594 * sysdeps/unix/i386/sysdep.S: Likewise.
595 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
596 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
597 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
598 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
599 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
600 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
601 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
602 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
603 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
604 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
605 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
606 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
607 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
610 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
611 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
613 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
614 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
615 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
618 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
619 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
620 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
622 * sysdeps/unix/x86_64/sysdep.S: Likewise.
623 * sysdeps/x86_64/setjmp.S: Likewise.
625 * include/math.h: Use IS_IN instead of IS_IN_libm.
626 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
627 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
628 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
629 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
630 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
631 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
632 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
633 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
634 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
635 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
636 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
637 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
638 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
639 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
640 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
641 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
642 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
643 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
644 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
645 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
646 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
647 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
648 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
649 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
650 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
651 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
652 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
653 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
654 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
655 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
656 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
657 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
658 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
669 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
670 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
671 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
672 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
673 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
674 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
680 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
681 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
682 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
683 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
684 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
685 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
686 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
687 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
688 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
689 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
690 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
691 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
692 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
693 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
695 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
697 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
698 * nptl/pthreadP.h: Likewise.
699 * nptl_db/structs.def: Likewise.
700 * sysdeps/arm/sysdep.h: Likewise.
701 * sysdeps/nptl/bits/libc-lock.h: Likewise.
702 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
703 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
704 * sysdeps/unix/alpha/sysdep.h: Likewise.
705 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
706 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
707 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
708 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
709 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
710 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
711 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
712 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
713 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
714 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
715 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
716 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
717 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
718 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
723 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
726 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
727 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
728 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
729 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
730 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
732 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
733 * nptl/pthreadP.h: Likewise.
734 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
735 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
736 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
737 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
738 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
739 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
740 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
741 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
742 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
743 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
744 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
745 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
750 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
752 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
755 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
756 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
757 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
759 * dlfcn/dladdr.c: Use IS_IN.
760 * dlfcn/dladdr1.c: Likewise.
761 * dlfcn/dlclose.c: Likewise.
762 * dlfcn/dlerror.c: Likewise.
763 * dlfcn/dlinfo.c: Likewise.
764 * dlfcn/dlmopen.c: Likewise.
765 * dlfcn/dlopen.c: Likewise.
766 * dlfcn/dlsym.c: Likewise.
767 * dlfcn/dlvsym.c: Likewise.
769 * include/ifaddrs.h: Use IS_IN.
770 * inet/check_pf.c: Likewise.
771 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
772 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
774 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
776 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
777 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
779 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
780 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
783 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
785 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
786 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
787 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
788 * include/libc-symbols.h (IS_IN_LIB): New macro.
789 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
790 * include/netdb.h: Likewise.
791 * include/stap-probe.h: Remove all uses of IN_LIB.
793 * Makeconfig (module-cppflags-real): Define MODULE_NAME
794 instead of IN_MODULE.
795 * include/libc-symbols.h (IN_MODULE): Define using
797 (PASTE_NAME, PASTE_NAME1): New macros.
798 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
800 (STAP_PROBE_ASM): Likewise.
802 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
804 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
805 __mach_init in dlopened libc.
807 2014-11-22 Mike Frysinger <vapier@gentoo.org>
809 * sysdeps/arm/preconfigure.ac: Delete EABI check.
810 * sysdeps/arm/preconfigure: Regenerate.
812 2014-11-21 Roland McGrath <roland@hack.frob.com>
814 * nptl/pthread_create.c (__pthread_create_2_1): Set
815 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
816 when copying values from IATTR into PD.
818 2014-11-21 Will Newton <will.newton@linaro.org>
819 Andrew Pinski <andrew.pinski@caviumnetworks.com>
821 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
822 Refactor inline-asm. Also add comment.
824 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
825 ElfW macro instead of hardcoded Elf64 types.
826 (la_aarch64_gnu_pltenter): Likewise.
827 * sysdeps/aarch64/dl-machine.h
828 (elf_machine_runtime_setup): Use ElfW(Addr).
830 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
831 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
832 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
833 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
834 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
835 (R_AARCH64_TLS_DTPMOD64): Rename to ..
836 (R_AARCH64_TLS_DTPMOD): This.
837 (R_AARCH64_TLS_DTPREL64): Rename to ...
838 (R_AARCH64_TLS_DTPREL): This.
839 (R_AARCH64_TLS_TPREL64): Rename to ...
840 (R_AARCH64_TLS_TPREL): This.
841 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
842 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
843 R_AARCH64_TLS_TPREL64.
844 (elf_machine_rela): Likewise.
846 2014-11-21 Torvald Riegel <triegel@redhat.com>
848 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
849 by setting it to 0. 64b atomics are not supported currently.
851 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
854 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
857 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
861 * resolv/res_query.c (__libc_res_nquerydomain): Retain
863 * posix/tst-getaddrinfo5.c: New.
864 * posix/Makefile (tests): Add it.
866 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
870 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
871 after parsing line but before break_if_match.
872 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
873 if there is a protocol mismatch.
875 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
877 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
878 because the potential race is on the user-supplied stream.
880 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
882 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
883 string literal if not passed a buffer.
884 * manual/job.texi (ctermid): Update reasoning, note deviation
885 from posix, suggest mtasurace when not passed a buffer, for
886 future non-preliminary safety notes.
888 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
890 * manual/users.texi (cuserid): Fix MT-Safety note for the case
891 of not passing it a buffer.
892 Reported by Peng Haitao.
894 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
896 * manual/Makefile ($(objpfx)stamp-summary): Require
897 check-safety.sh to pass.
898 * manual/check-safety.sh: Wish for verification that every
899 @deftypefn and @deftypefun is followed by a @safety remark.
901 2014-11-20 Roland McGrath <roland@hack.frob.com>
903 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
905 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
906 PTHREAD_CANCEL_ASYNCHRONOUS.
907 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
910 * nptl/default-sched.h: New file.
911 * sysdeps/unix/sysv/linux/default-sched.h: New file.
912 * nptl/pthread_create.c: Include it.
913 (__pthread_create_2_1): Use collect_default_sched instead of making
914 Linux syscalls here directly.
916 2014-11-20 Torvald Riegel <triegel@redhat.com>
918 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
919 __pthread_once): Use C11 atomics.
921 2014-11-20 Torvald Riegel <triegel@redhat.com>
923 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
925 2014-11-20 Torvald Riegel <triegel@redhat.com>
927 * include/atomic.h (__atomic_link_error, __atomic_check_size,
928 atomic_thread_fence_acquire, atomic_thread_fence_release,
929 atomic_thread_fence_seq_cst, atomic_load_relaxed,
930 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
931 atomic_compare_exchange_weak_relaxed,
932 atomic_compare_exchange_weak_acquire,
933 atomic_compare_exchange_weak_release,
934 atomic_exchange_acquire, atomic_exchange_release,
935 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
936 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
937 atomic_fetch_and_acquire,
938 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
940 2014-11-20 Torvald Riegel <triegel@redhat.com>
942 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
943 USE_ATOMIC_COMPILER_BUILTINS): Define.
944 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
945 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
946 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
947 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
948 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
949 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
950 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
951 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
952 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
953 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
954 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
955 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
956 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
957 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
958 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
959 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
960 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
961 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
962 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
963 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
964 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
965 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
966 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
967 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
968 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
969 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
970 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
971 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
972 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
973 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
974 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
975 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
976 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
977 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
978 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
979 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
980 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
981 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
982 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
983 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
985 2014-11-19 Roland McGrath <roland@hack.frob.com>
987 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
988 the sched_priority value here. It was already checked when the user
989 called pthread_attr_setschedparam.
991 * nptl/tst-bad-schedattr.c: New file.
992 * nptl/Makefile (tests): Add it.
994 2014-11-19 Carlos O'Donell <carlos@redhat.com>
995 Florian Weimer <fweimer@redhat.com>
996 Joseph Myers <joseph@codesourcery.com>
997 Adam Conrad <adconrad@0c3.net>
998 Andreas Schwab <schwab@suse.de>
999 Brooks <bmoses@google.com>
1002 * wordexp-test.c (__dso_handle): Add prototype.
1003 (__register_atfork): Likewise.
1004 (__app_register_atfork): New function.
1005 (registered_forks): New global.
1006 (register_fork): New function.
1007 (test_case): Add 3 new tests for WRDE_CMDSUB.
1008 (main): Call __app_register_atfork.
1009 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1010 fork count is non-zero fail the test.
1011 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1013 (parse_dollars): Remove check for WRDE_NOCMD.
1014 (parse_dquote): Likewise.
1016 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1018 * Makeconfig (built-modules): List non-library modules to be
1020 (module-cppflags): Include libc-modules.h for
1021 everything except shlib-versions.v.i.
1023 (before-compile): Add libc-modules.h.
1024 ($(common-objpfx)libc-modules.h,
1025 $(common-objpfx)libc-modules.stmp): New targets.
1026 (common-generated): Add libc-modules.h and libc-modules.stmp.
1027 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1028 * include/libc-symbols.h: Don't include libc-modules.h.
1029 * include/libc-modules.h: Remove file.
1030 * scripts/gen-libc-modules.awk: New script to generate
1032 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1033 Depend on libc-modules.stmp.
1035 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1037 * Makeconfig (in-module): Get value of libof set for the
1039 (CPPFLAGS): Use $(in-module).
1040 * Makerules: Don't suffix routine names for nonlib.
1041 * include/libc-modules.h: New file.
1042 * include/libc-symbols.h: Include libc-modules.h
1043 (IS_IN): New macro to replace IS_IN_* macros.
1044 * elf/Makefile: Set libof-* for each routine.
1045 * elf/rtld-Rules: Likewise.
1046 * extra-modules.mk: Likewise.
1047 * iconv/Makefile: Likewise.
1048 * iconvdata/Makefile: Likewise.
1049 * locale/Makefile: Likewise.
1050 * malloc/Makefile: Likewise.
1051 * nss/Makefile: Likewise.
1052 * sysdeps/gnu/Makefile: Likewise.
1053 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1054 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1055 * sysdeps/s390/s390-64/Makefile: Likewise.
1056 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1057 CPPFLAGS for nscd instead of nonlib.
1059 2014-11-18 Roland McGrath <roland@hack.frob.com>
1061 * nptl/createthread.c: New file.
1063 * nptl/createthread.c: Moved ...
1064 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1066 * nptl/createthread.c: Add proper top-line comment.
1067 (do_clone): Folded into ...
1068 (create_thread): ... here. Take new arguments STOPPED_START and
1069 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1070 increment __nptl_threads, do event-reporting logic, do
1071 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1072 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1073 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1074 just send SIGCANCEL.
1075 * nptl/pthread_create.c: Forward-declare create_thread before
1076 including createthread.c.
1077 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1078 declaration, and new macro START_THREAD_SELF to replace argument.
1079 Remove return statement.
1080 (report_thread_creation): New function.
1081 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1082 synchronization logic, and __nptl_nthreads increment here, around
1083 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1084 PD->parent_cancelhandling here, before create_thread. When
1085 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1086 __deallocate_stack, and ENOMEM translation here.
1088 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1091 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1092 (mptwo): Rename to __mptwo.
1093 (__inv): Use __mptwo instead of mptwo.
1094 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1095 (mptwo): Rename to __mptwo.
1096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1097 of mpone and __mptwo instead of mptwo.
1098 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1100 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1101 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1102 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1103 of mpone and __mptwo instead of mptwo.
1104 (__mpranred): Use __mpone instead of mpone.
1105 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1107 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1108 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1109 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1110 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1111 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1112 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1113 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1114 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1115 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1116 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1117 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1118 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1119 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1120 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1121 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1122 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1123 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1124 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1125 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1127 2014-11-18 Tom de Vries <tom@codesoucery.com>
1129 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1130 replace BSD Handler xref with BSD Signal Handling.
1132 2014-11-17 Richard Henderson <rth@redhat.com>
1134 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1135 (_FP_PACK_RAW_2): Remove.
1136 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1137 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1138 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1139 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1140 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1141 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1142 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1143 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1144 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1145 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1146 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1147 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1148 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1149 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1150 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1151 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1153 2014-11-14 Roland McGrath <roland@hack.frob.com>
1155 * signal/signal.h [__USE_MISC]
1156 (struct sigvec): Remove type.
1157 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1158 (sigvec): Remove declaration.
1159 * sysdeps/posix/sigvec.c: Moved ...
1160 * signal/sigvec.c: ... here, replacing old file.
1161 (struct sigvec): New type, copied from old signal.h definition.
1162 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1163 (__sigvec): Convert definition to prototype.
1164 (sigvec): Replace weak_alias with compat_symbol.
1165 * signal/Versions (libc: GLIBC_2.21): New version set.
1166 * include/signal.h: Remove __sigvec declaration.
1167 * sysdeps/unix/bsd/sigvec.c: Remove file.
1168 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1169 * manual/signal.texi (BSD Handler): Remove subsection.
1170 Move siginterrupt up to ...
1171 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1172 (Blocking in BSD): Fold subsection into its parent.
1173 * NEWS: Mention sigvec removal.
1175 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1177 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1178 (DLA_FMS): Make definition conditional only on [__FMA4__].
1179 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1182 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1183 Make definition conditional only on [PROF].
1184 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1186 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1187 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1189 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1191 * include/signal.h (__sigpause): Move declaration above call to
1193 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1195 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1196 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1198 2014-11-14 David S. Miller <davem@davemloft.net>
1200 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1201 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1203 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1205 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1206 * configure: Regenerated.
1207 * manual/install.texi (Tools for Compilation): Document a
1208 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1209 compiler verified to work.
1210 * INSTALL: Regenerated.
1212 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1213 redeclare with asm name.
1214 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1215 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1216 including <string.h>.
1217 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1218 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1219 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1220 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1221 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1222 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1223 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1225 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1227 * stdlib/strtol.c (__strtol): Use prototype definition.
1230 * stdlib/strtol.c (SYM__): New macro.
1232 (__strtol): Likewise.
1233 (strtol): Rename to __strtol and define as weak alias of
1234 __strtol. Use libc_hidden_weak.
1236 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1238 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1239 Use numbered labels in inline assembly.
1241 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1243 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1244 Add setjmp LIBC_PROBE.
1245 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1247 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1248 Add longjmp, longjmp_target LIBC_PROBE.
1249 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1252 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1254 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1255 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1256 to get rid of unused variable warning.
1258 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1260 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1261 Check for unwind_backtrace == NULL only in SHARED case.
1262 (__backchain_backtrace): Compile only in SHARED case.
1263 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1265 (__backchain_backtrace): Declare as static.
1267 2014-11-12 Roland McGrath <roland@hack.frob.com>
1269 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1270 (__libc_multiple_threads_ptr): Variable moved ...
1271 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1273 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1275 * conform/GlibcConform.pm: New file.
1276 * conform/conformtest.pl: Use GlibcConform module.
1277 * conform/linknamespace.pl: New file.
1278 * conform/list-header-symbols.pl: Likewise.
1279 * conform/Makefile (linknamespace-symlists-base): New variable.
1280 (linknamespace-symlists-tests): Likewise.
1281 (linknamespace-header-base): Likewise.
1282 (linknamespace-header-tests): Likewise.
1283 (tests-special): Add new tests.
1284 ($(linknamespace-symlists-tests)): New rule.
1285 (linknamespace-libs): New variable.
1286 ($(objpfx)symlist-stdlibs): New rule.
1287 ($(linknamespace-header-tests)): Likewise.
1288 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1289 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1290 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1291 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1292 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1293 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1294 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1295 (test-xfail-ISO/math.h/linknamespace): Likewise.
1296 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1297 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1298 (test-xfail-ISO/time.h/linknamespace): Likewise.
1299 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1300 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1301 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1302 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1303 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1304 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1305 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1306 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1307 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1308 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1309 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1310 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1311 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1312 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1313 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1314 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1315 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1316 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1317 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1318 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1319 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1320 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1321 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1322 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1323 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1324 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1325 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1326 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1327 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1328 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1329 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1330 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1331 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1332 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1333 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1334 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1335 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1336 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1337 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1338 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1339 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1340 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1341 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1342 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1343 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1344 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1345 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1346 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1347 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1348 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1349 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1350 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1351 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1352 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1353 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1354 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1355 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1356 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1357 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1358 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1359 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1360 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1361 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1362 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1363 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1364 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1365 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1366 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1367 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1368 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1369 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1370 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1371 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1372 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1373 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1374 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1375 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1376 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1377 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1378 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1379 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1380 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1381 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1382 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1383 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1384 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1385 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1386 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1387 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1388 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1389 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1390 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1391 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1392 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1393 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1394 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1395 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1396 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1397 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1398 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1399 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1400 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1401 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1402 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1403 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1404 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1405 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1406 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1407 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1408 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1409 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1410 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1411 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1412 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1413 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1414 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1415 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1416 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1417 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1418 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1419 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1420 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1421 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1422 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1423 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1424 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1425 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1426 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1427 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1428 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1429 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1430 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1431 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1432 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1433 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1434 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1435 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1436 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1437 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1438 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1439 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1440 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1441 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1442 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1443 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1444 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1445 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1446 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1447 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1448 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1451 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1455 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1456 (memmem): Rename to __memmem and define as weak alias of
1457 __memmem. Use libc_hidden_weak.
1458 (__memmem): Use libc_hidden_def.
1459 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1460 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1464 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1465 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1466 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1467 and define as weak alias of __fgets_unlocked. Use
1469 (__fgets_unlocked): Use libc_hidden_def.
1470 * include/stdio.h (__fgets_unlocked): Declare. Use
1472 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1473 __fgets_unlocked instead of fgets_unlocked.
1474 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1475 (GET_NPROCS_CONF_PARSER): Likewise.
1476 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1477 (GET_NPROCS_CONF_PARSER): Likewise.
1480 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1481 weak alias of __wmemset. Use libc_hidden_weak.
1482 (__wmemset): Use libc_hidden_def.
1483 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1484 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1488 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1489 with asm name __mempcpy.
1490 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1493 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1494 and define as weak alias of __rawmemchr.
1495 (__rawmemchr): Do not define as strong alias of rawmemchr.
1498 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1500 (qsort): Call __qsort_r instead of qsort_r.
1501 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1502 (__qsort_r): Declare. Call libc_hidden_proto.
1503 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1505 * nscd/gai.c (__qsort_r): Define to qsort_r.
1506 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1507 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1508 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1511 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1512 define as weak alias of __malloc_info.
1515 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1516 as weak alias of __rewinddir. Don't use libc_hidden_def.
1517 (__rewinddir): Use libc_hidden_def.
1518 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1519 as weak alias of __rewinddir. Don't use libc_hidden_def.
1520 (__rewinddir): Use libc_hidden_def.
1521 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1522 weak alias of __rewinddir. Don't use libc_hidden_def.
1523 (__rewinddir): Use libc_hidden_def.
1524 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1525 (__rewinddir): Use libc_hidden_proto.
1526 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1528 (__getcwd): Use __rewinddir instead of rewinddir.
1531 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1532 alias of __fileno. Use libc_hidden_weak.
1533 (__fileno): Use libc_hidden_def.
1534 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1535 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1537 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1539 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1540 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1542 (fread_unlocked): Don't use libc_hidden_ver.
1543 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1544 and define as weak alias of __fread_unlocked. Don't use
1546 (__fread_unlocked): Use libc_hidden_def.
1547 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1548 (ftello): Don't use libc_hidden_proto.
1549 (__ftello): Declare. Use libc_hidden_proto.
1550 (fread_unlocked): Don't use libc_hidden_proto.
1551 (__fread_unlocked): Declare. Use libc_hidden_proto.
1552 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1553 and __ftello instead of fileno, fread_unlocked and ftello.
1555 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1557 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1559 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1561 (_dl_start_user): Likewise.
1562 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1564 2014-11-12 Carlos O'Donell <carlos@redhat.com>
1565 Siddhesh Poyarekar <siddhesh@redhat.com>
1567 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1568 Move argv and envp down instead of moving argc up.
1569 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1571 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
1574 * test-skeleton.c (main): Return successful if one of
1575 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1576 * string/tst-strcoll-overflow.c: Define expected status.
1578 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1581 * locale/iso-639.def: Define Bhili and Tulu language codes.
1583 2014-11-11 Alan Hayward <alan.hayward@arm.com>
1585 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1587 2014-11-10 Renlin Li <Renlin.Li@arm.com>
1590 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1592 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1594 * configure.ac: Updated check of minimal required version to
1596 * manual/install.texi (Tools for Compilation): Updated version
1598 * configure: Regenerated.
1599 * INSTALL: Likewise.
1601 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1603 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1606 2014-11-07 Joseph Myers <joseph@codesourcery.com>
1608 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1609 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1610 (__waitpid): Don't define as alias. Use libc_hidden_def not
1612 (waitpid): Define as alias of __waitpid.
1613 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1615 (__waitpid): Don't define as alias. Use libc_hidden_def not
1617 (waitpid): Define as alias of __waitpid.
1618 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1619 __libc_waitpid alias.
1620 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1621 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1623 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1624 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1625 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1627 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1629 (__waitpid): Don't define as alias. Use libc_hidden_def not
1631 (waitpid): Define as alias of __waitpid.
1633 2014-11-06 Carlos O'Donell <carlos@redhat.com>
1635 * manual/llio.texi: Add comment that write safety has been
1638 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1639 (localplt-build-dso): Add elf/ld.so.
1640 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1641 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1644 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1649 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1650 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1651 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1652 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1653 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1654 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1655 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1656 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1657 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1658 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1659 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1661 2014-11-05 Joseph Myers <joseph@codesourcery.com>
1664 * include/libc-symbols.h (INTUSE): Remove macro.
1666 (INTVARDEF): Likewise.
1667 (_INTVARDEF): Likewise.
1668 (INTDEF2): Likewise.
1669 (INTVARDEF2): Likewise.
1670 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1671 rtld_hidden_def instead of INTVARDEF.
1672 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1673 (_dl_starting_up_internal): Remove declaration.
1674 (_dl_starting_up): Use rtld_hidden_proto.
1675 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1677 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1678 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1680 * elf/dl-writev.h (_dl_writev): Likewise.
1681 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1682 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1683 _dl_starting_up_internal.
1685 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1690 2014-11-05 Will Newton <will.newton@linaro.org>
1692 * benchtests/Makefile: (bench-malloc): Add malloc thread
1693 scalability benchmark.
1694 * benchtests/bench-malloc-threads.c: New file.
1696 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
1698 * sysdeps/aarch64/strchrnul.S: New file.
1700 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1704 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1706 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1708 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1710 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1712 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1715 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
1717 * catgets/test-gencat.c: Use test-skeleton.c.
1718 * catgets/tst-catgets.c: Likewise.
1719 * csu/tst-empty.c: Likewise.
1720 * elf/tst-audit2.c: Likewise.
1721 * elf/tst-global1.c: Likewise.
1722 * elf/tst-pathopt.c: Likewise.
1723 * elf/tst-piemod1.c: Likewise.
1724 * elf/tst-tls10.c: Likewise.
1725 * elf/tst-tls11.c: Likewise.
1726 * elf/tst-tls12.c: Likewise.
1727 * gnulib/tst-gcc.c: Likewise.
1728 * iconvdata/tst-e2big.c: Likewise.
1729 * iconvdata/tst-loading.c: Likewise.
1730 * iconv/tst-iconv1.c: Likewise.
1731 * iconv/tst-iconv2.c: Likewise.
1732 * inet/test-inet6_opt.c: Likewise.
1733 * inet/tst-gethnm.c: Likewise.
1734 * inet/tst-network.c: Likewise.
1735 * inet/tst-ntoa.c: Likewise.
1736 * intl/tst-codeset.c: Likewise.
1737 * intl/tst-gettext2.c: Likewise.
1738 * intl/tst-gettext3.c: Likewise.
1739 * intl/tst-ngettext.c: Likewise.
1740 * intl/tst-translit.c: Likewise.
1741 * io/test-stat.c: Likewise.
1742 * libio/test-fmemopen.c: Likewise.
1743 * libio/tst-freopen.c: Likewise.
1744 * libio/tst-sscanf.c: Likewise.
1745 * libio/tst-ungetwc1.c: Likewise.
1746 * libio/tst-ungetwc2.c: Likewise.
1747 * libio/tst-widetext.c: Likewise.
1748 * localedata/tst-ctype.c: Likewise.
1749 * localedata/tst-digits.c: Likewise.
1750 * localedata/tst-leaks.c: Likewise.
1751 * localedata/tst-mbswcs1.c: Likewise.
1752 * localedata/tst-mbswcs2.c: Likewise.
1753 * localedata/tst-mbswcs3.c: Likewise.
1754 * localedata/tst-mbswcs4.c: Likewise.
1755 * localedata/tst-mbswcs5.c: Likewise.
1756 * localedata/tst-setlocale.c: Likewise.
1757 * localedata/tst-trans.c: Likewise.
1758 * localedata/tst-wctype.c: Likewise.
1759 * localedata/tst-xlocale1.c: Likewise.
1760 * login/tst-grantpt.c: Likewise.
1761 * malloc/tst-calloc.c: Likewise.
1762 * malloc/tst-malloc.c: Likewise.
1763 * malloc/tst-mallocstate.c: Likewise.
1764 * malloc/tst-mcheck.c: Likewise.
1765 * malloc/tst-mtrace.c: Likewise.
1766 * malloc/tst-obstack.c: Likewise.
1767 * math/atest-exp2.c: Likewise.
1768 * math/atest-exp.c: Likewise.
1769 * math/atest-sincos.c: Likewise.
1770 * math/test-matherr.c: Likewise.
1771 * math/test-misc.c: Likewise.
1772 * math/test-powl.c: Likewise.
1773 * math/tst-definitions.c: Likewise.
1774 * misc/tst-dirname.c: Likewise.
1775 * misc/tst-efgcvt.c: Likewise.
1776 * misc/tst-fdset.c: Likewise.
1777 * misc/tst-hsearch.c: Likewise.
1778 * misc/tst-mntent2.c: Likewise.
1779 * nptl/tst-sem7.c: Likewise.
1780 * nptl/tst-sem8.c: Likewise.
1781 * nptl/tst-sem9.c: Likewise.
1782 * nss/test-netdb.c: Likewise.
1783 * posix/tst-fnmatch.c: Likewise.
1784 * posix/tst-getlogin.c: Likewise.
1785 * posix/tst-gnuglob.c: Likewise.
1786 * posix/tst-mmap.c: Likewise.
1787 * pwd/tst-getpw.c: Likewise.
1788 * resolv/tst-inet_ntop.c: Likewise.
1789 * rt/tst-timer.c: Likewise.
1790 * stdio-common/test-fseek.c: Likewise.
1791 * stdio-common/test-popen.c: Likewise.
1792 * stdio-common/test-vfprintf.c: Likewise.
1793 * stdio-common/tst-cookie.c: Likewise.
1794 * stdio-common/tst-fileno.c: Likewise.
1795 * stdio-common/tst-gets.c: Likewise.
1796 * stdio-common/tst-obprintf.c: Likewise.
1797 * stdio-common/tst-perror.c: Likewise.
1798 * stdio-common/tst-sprintf2.c: Likewise.
1799 * stdio-common/tst-sprintf3.c: Likewise.
1800 * stdio-common/tst-sprintf.c: Likewise.
1801 * stdio-common/tst-swprintf.c: Likewise.
1802 * stdio-common/tst-tmpnam.c: Likewise.
1803 * stdio-common/tst-unbputc.c: Likewise.
1804 * stdio-common/tst-wc-printf.c: Likewise.
1805 * stdlib/tst-environ.c: Likewise.
1806 * stdlib/tst-fmtmsg.c: Likewise.
1807 * stdlib/tst-limits.c: Likewise.
1808 * stdlib/tst-rand48-2.c: Likewise.
1809 * stdlib/tst-rand48.c: Likewise.
1810 * stdlib/tst-random2.c: Likewise.
1811 * stdlib/tst-random.c: Likewise.
1812 * stdlib/tst-strtol.c: Likewise.
1813 * stdlib/tst-strtoll.c: Likewise.
1814 * stdlib/tst-tls-atexit.c: Likewise.
1815 * stdlib/tst-xpg-basename.c: Likewise.
1816 * string/test-ffs.c: Likewise.
1817 * string/tst-bswap.c: Likewise.
1818 * string/tst-inlcall.c: Likewise.
1819 * string/tst-strtok.c: Likewise.
1820 * string/tst-strxfrm.c: Likewise.
1821 * sysdeps/x86_64/tst-audit10.c: Likewise.
1822 * sysdeps/x86_64/tst-audit3.c: Likewise.
1823 * sysdeps/x86_64/tst-audit4.c: Likewise.
1824 * sysdeps/x86_64/tst-audit5.c: Likewise.
1825 * time/tst-ftime_l.c: Likewise.
1826 * time/tst-getdate.c: Likewise.
1827 * time/tst-mktime3.c: Likewise.
1828 * time/tst-mktime.c: Likewise.
1829 * time/tst-posixtz.c: Likewise.
1830 * time/tst-strptime2.c: Likewise.
1831 * time/tst-strptime3.c: Likewise.
1832 * wcsmbs/tst-btowc.c: Likewise.
1833 * wcsmbs/tst-mbrtowc.c: Likewise.
1834 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1835 * wcsmbs/tst-wchar-h.c: Likewise.
1836 * wcsmbs/tst-wcpncpy.c: Likewise.
1837 * wcsmbs/tst-wcrtomb.c: Likewise.
1838 * wcsmbs/tst-wcsnlen.c: Likewise.
1839 * wcsmbs/tst-wcstof.c: Likewise.
1841 2014-11-04 Joseph Myers <joseph@codesourcery.com>
1844 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1846 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1848 (_dl_mcount): Use rtld_hidden_proto.
1849 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1851 * elf/rtld.c (_rtld_global_ro): Likewise.
1854 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1855 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1856 of _dl_init_internal.
1857 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1858 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1859 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1860 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1861 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1862 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1863 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1864 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1865 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1866 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1867 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1868 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1869 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1870 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1871 * sysdeps/tile/dl-start.S (_start): Likewise.
1872 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1873 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1876 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1877 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1878 (rtld_progname): Make macro definition unconditional.
1879 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1881 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1882 (dl_main): Likewise.
1883 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1884 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1885 instead of _dl_argv_internal.
1886 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1887 __GI__dl_argv instead of INTUSE(_dl_argv).
1888 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1889 __GI__dl_argv instead of _dl_argv_internal.
1891 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1892 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1894 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1895 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1897 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1898 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1900 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1901 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1903 2014-11-04 Andreas Schwab <schwab@suse.de>
1905 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1907 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1909 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1910 mtvsrd instruction in binary form.
1912 2014-11-03 Andreas Schwab <schwab@suse.de>
1915 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1916 for less than MB_LEN_MAX use a local buffer of that size.
1917 * libio/tst-fputws.c: New file.
1918 * libio/Makefile (tests): Add tst-fputws.
1920 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1922 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1923 the size of the fpu_fr.fpu_dregs[] array.
1925 2014-11-01 Joseph Myers <joseph@codesourcery.com>
1927 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1928 (__nanosleep): Do not define as alias.
1929 (nanosleep): Define as alias of __nanosleep.
1930 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1931 __libc_nanosleep name.
1933 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1935 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1936 install.texi in comment.
1938 2014-10-31 Torvald Riegel <triegel@redhat.com>
1940 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1941 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1942 ... add here and use lwsync or sync ...
1943 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1944 ... and add here using lwsync.
1946 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1948 * elf/dl-machine-reject-phdr.h: New file.
1949 * elf/dl-load.c: #include that.
1950 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1951 if that returned true.
1953 2014-10-31 Roland McGrath <roland@hack.frob.com>
1956 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1957 gen-as-const-headers chunk. Add a big scare comment after the last
1958 safe place to touch before-compile.
1960 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1962 * manual/install.texi (Tools for Compilation): Update autoconf
1963 version requirements.
1964 * INSTALL: Regenerated.
1966 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1967 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1968 (__libc_pselect): Likewise.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1976 2014-10-31 Torvald Riegel <triegel@redhat.com>
1978 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1979 correct barrier instruction.
1980 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1982 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1985 2014-10-30 Roland McGrath <roland@hack.frob.com>
1987 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1988 after defining inlines. Instead, just use parens to defeat macro
1989 expansion of __isctype in its declaration.
1991 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1993 * include/sys/uio.h (__libc_readv): Remove declaration.
1994 (__libc_writev): Likewise.
1995 * misc/readv.c (__libc_readv): Rename to __readv.
1996 (__readv): Do not define as alias.
1997 (readv): Define as alias of __readv.
1998 * misc/writev.c (__libc_writev): Rename to __writev.
1999 (__writev): Do not define as alias.
2000 (writev): Define as alias of __writev.
2001 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2002 (__readv): Do not define as alias.
2003 (readv): Define unconditionally as alias of __readv.
2004 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2005 (__writev): Do not define as alias.
2006 (writev): Define unconditionally as alias of __writev.
2007 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2009 (writev): Do not define __libc_writev name.
2011 2014-10-30 Roland McGrath <roland@hack.frob.com>
2013 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2014 (convert_charseq): New function, broken out of ...
2015 (use_from_charmap): ... here. Call it.
2016 (use_to_charmap): Use convert_charseq and free instead of duplicating
2017 its code with a variable-length stack struct.
2019 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2021 * include/fcntl.h (__libc_creat): Remove declaration.
2022 * io/creat.c (__libc_creat): Rename to creat.
2023 (creat): Do not define as alias.
2024 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2025 of creat instead of __libc_creat.
2026 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2028 (creat): Do not define as alias.
2029 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2031 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2033 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2036 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2038 * manual/llio.texi: Add comments discussing why write() may be
2039 considered MT-unsafe on Linux.
2041 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2043 * dl-load.c (local_strdup): Remove.
2044 (expand_dynamic_string_token): Use __strdup.
2045 (decompose_rpath): Likewise.
2046 (_dl_map_object): Likewise.
2048 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2051 * sysdeps/generic/unwind-dw2-fde.c
2052 (__register_frame_info_bases_internal): Do not declare.
2053 (__register_frame_info_table_bases_internal): Likewise.
2054 (__deregister_frame_info_bases_internal): Likewise.
2055 (__register_frame_info_bases): Declare and use hidden_proto before
2056 definition. Use hidden_def instead of INTDEF.
2057 (__register_frame_info_table_bases): Likewise.
2058 (__deregister_frame_info_bases): Likewise.
2059 (__register_frame_info): Do not use INTUSE.
2060 (__register_frame): Likewise.
2061 (__register_frame_info_table): Likewise.
2062 (__register_frame_table): Likewise.
2063 (__deregister_frame_info): Likewise.
2064 (__deregister_frame): Likewise.
2066 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2069 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2071 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2073 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2076 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2079 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2080 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2081 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2082 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2083 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2084 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2085 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2086 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2087 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2088 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2090 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2091 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2093 (setfsuid): Likewise.
2094 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2095 (setfsuid): Likewise.
2096 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2097 (setfsuid): Likewise.
2098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2100 (setfsuid): Likewise.
2101 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2102 (setfsuid): Likewise.
2103 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2105 (setfsuid): Likewise.
2107 2014-10-27 Andreas Schwab <schwab@suse.de>
2110 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2111 check for Slow_SSE4_2 feature bit.
2112 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2113 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2114 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2115 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2117 2014-10-24 Roland McGrath <roland@hack.frob.com>
2119 * configure.ac: Validate compiler version with a empirical test of
2120 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2122 * configure: Regenerated.
2124 * inet/htons.c (htons): Prototypify.
2125 * inet/htonl.c (htonl): Likewise.
2127 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2129 * string/strncat.c (strncat): Improve performance by using strlen.
2131 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2133 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2135 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2137 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2138 Call libc_fetestexcept_aarch64.
2140 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2142 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2143 Call libc_feholdexcept_aarch64.
2145 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2147 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2148 Call get_rounding_mode.
2150 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2152 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2155 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2157 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2160 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2163 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2164 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2165 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2166 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2167 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2168 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2169 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2170 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2171 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2172 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2173 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2174 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2175 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2176 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2177 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2178 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2179 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2180 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2181 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2182 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2183 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2184 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2185 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2186 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2187 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2188 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2189 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2190 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2191 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2192 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2193 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2194 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2195 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2196 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2197 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2198 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2199 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2201 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2202 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2203 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2205 (geteuid): Likewise.
2208 (getresgid): Likewise.
2209 (getresuid): Likewise.
2210 (getgroups): Likewise.
2211 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2212 (geteuid): Likewise.
2215 (getresgid): Likewise.
2216 (getresuid): Likewise.
2217 (getgroups): Likewise.
2218 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2219 (geteuid): Likewise.
2222 (getresgid): Likewise.
2223 (getresuid): Likewise.
2224 (getgroups): Likewise.
2225 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2227 (geteuid): Likewise.
2230 (getresgid): Likewise.
2231 (getresuid): Likewise.
2232 (getgroups): Likewise.
2233 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2234 (geteuid): Likewise.
2237 (getresgid): Likewise.
2238 (getresuid): Likewise.
2239 (getgroups): Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2242 (geteuid): Likewise.
2245 (getgroups): Likewise.
2248 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2249 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2250 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2251 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2252 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2253 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2254 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2255 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2256 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2257 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2258 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2259 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2260 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2262 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2265 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2269 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2272 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2277 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2279 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2282 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2284 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2287 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2289 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2290 Remove unused include.
2292 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2294 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2295 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2296 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2297 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2299 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2300 Helge Deller <deller@gmx.de>
2303 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2304 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2305 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2307 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2310 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2311 Remove macro definition.
2312 (__ashrdi3_v_glibc20): Likewise.
2313 (__lshrdi3_v_glibc20): Likewise.
2314 (__cmpdi2_v_glibc20): Likewise.
2315 (__ucmpdi2_v_glibc20): Likewise.
2316 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2317 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2318 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2319 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2320 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2321 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2323 2014-10-22 Roland McGrath <roland@hack.frob.com>
2325 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2326 old GNU extension [0] syntax.
2327 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2328 alloca rather than an array member with variable length.
2329 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2330 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2331 (parse_opt): ... here. Likewise use alloca there.
2332 Validate the -i argument before checking for rootness.
2333 (send_shutdown): New function, broken out of ...
2334 (parse_opt): ... here.
2336 2014-10-22 Roland McGrath <roland@hack.frob.com>
2338 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2339 macro to get at the _rt_local_ro field.
2340 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2341 ([PIC] case) or _dl_hwcap ([!PIC] case).
2342 * sysdeps/arm/setjmp.S: Likewise.
2344 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2345 * sysdeps/arm/configure.ac: New check to define it.
2346 * sysdeps/arm/configure: Regenerated.
2347 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2348 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2349 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2350 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2351 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2352 Use move/movt pair instead of a load.
2353 (LDST_GLOBAL): Macro removed.
2354 (LDR_GLOBAL): New macro replaces it.
2355 (LDR_HIDDEN): New macro.
2356 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2357 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2359 * setjmp/tst-setjmp-static.c: New file.
2360 * setjmp/Makefile (tests): Add it.
2361 (tests-static): New variable.
2363 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2366 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2368 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2371 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2373 2014-10-21 Roland McGrath <roland@hack.frob.com>
2375 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2377 2014-10-20 Roland McGrath <roland@hack.frob.com>
2379 * io/fts.c (dirent_not_directory): New function.
2380 (fts_build): Call it.
2382 2014-10-20 Roland McGrath <roland@hack.frob.com>
2384 * nptl/version.c (__nptl_main): Use normal __write rather than
2386 (banner): Update copyright years.
2388 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2390 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2391 * nptl/pthread_cond_timedwait.c: Likewise.
2392 * nptl/pthread_mutex_timedlock.c: Likewise.
2393 * nptl/sem_timedwait.c: Likewise.
2395 * sysdeps/nptl/bits/libc-lock.h
2396 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2397 (__libc_lock_init_recursive): Return void, not 0.
2398 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2399 (__libc_rwlock_init): Likewise.
2400 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2402 2014-10-20 Torvald Riegel <triegel@redhat.com>
2405 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2406 (__pthread_once_slow): ... here.
2407 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2408 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2410 2014-10-20 Torvald Riegel <triegel@redhat.com>
2413 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2414 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2415 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2416 * nptl/pthread_once.c (__pthread_once): Likewise.
2419 2014-10-20 Joseph Myers <joseph@codesourcery.com>
2422 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2424 (writev): Use __libc_writev as strong name.
2425 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2426 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2428 2014-10-17 Roland McGrath <roland@hack.frob.com>
2430 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2432 * sysdeps/i386/nptl/tls.h
2433 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2434 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2436 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2437 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2438 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2439 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2440 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2441 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2443 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2444 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2446 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2448 (__pthread_mutex_init): ... here. Call it.
2449 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2450 Conditionalize PI cases on [__NR_futex].
2451 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2452 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2453 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2455 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2456 conditional on [SIGSETXID].
2457 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2458 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2459 is defined. Likewise for SIGSETXID.
2460 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2461 Conditionalize definitions on [SIGSETXID].
2462 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2463 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2464 unblocking on [SIGCANCEL].
2466 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2467 [__NR_set_robust_list].
2469 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2471 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2472 (do_compare): Likewise.
2474 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
2477 * string/strcoll_l.c: Don't include stdio.h.
2478 (coll_seq): Remove members idxarr and rulearr.
2479 (get_next_seq_cached): Remove function.
2480 (get_next_seq): Likewise.
2481 (get_next_seq_nocache): Rename to get_next_seq.
2482 (do_compare): Remove function.
2483 (do_compare_nocache): Rename to do_compare.
2484 (STRCOLL): Remove weight and rules cache.
2486 2014-10-16 Roland McGrath <roland@hack.frob.com>
2488 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2489 * sysdeps/arm/sfp-machine.h: ... to here.
2490 * sysdeps/arm/Implies: Remove arm/soft-fp.
2492 2014-10-14 Joseph Myers <joseph@codesourcery.com>
2494 * conform/data/sys/utsname.h-data (*_t): Allow.
2495 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2496 [POSIX] (WEXITED): Do not expect constant.
2497 [POSIX] (WSTOPPED): Likewise.
2498 [POSIX] (WNOHANG): Likewise.
2499 [POSIX] (WNOWAIT): Likewise.
2500 [POSIX] (siginfo_t): Do not expect type or elements.
2501 [POSIX] (pid_t): Do not expect type.
2502 [POSIX] (signal.h): Do not allow header.
2503 [POSIX] (sys/resource.h): Likewise.
2504 [POSIX] (si_*): Do not allow pattern.
2505 [POSIX] (W*): Likewise.
2506 [POSIX] (P_*): Likewise.
2507 [POSIX] (BUS_*): Likewise.
2508 [POSIX] (CLD_*): Likewise.
2509 [POSIX] (FPE_*): Likewise.
2510 [POSIX] (ILL_*): Likewise.
2511 [POSIX] (POLL_*): Likewise.
2512 [POSIX] (SEGV_*): Likewise.
2513 [POSIX] (SI_*): Likewise.
2514 [POSIX] (TRAP_*): Likewise.
2515 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2518 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2521 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2522 infinite loop when __recvmsg returns 0.
2524 2014-10-10 Joseph Myers <joseph@codesourcery.com>
2526 * CANCEL-FCT-WAIVE: Remove file.
2527 * CANCEL-FILE-WAIVE: Likewise.
2530 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2531 instead of INTVARDEF.
2532 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2534 rtld_hidden_data_def instead of INTVARDEF.
2535 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2536 * elf/dl-deps.c (expand_dst): Likewise.
2537 * elf/dl-load.c (_dl_dst_count): Likewise.
2538 (_dl_dst_substitute): Likewise.
2539 (decompose_rpath): Likewise.
2540 (_dl_init_paths): Likewise.
2541 (open_path): Likewise.
2542 (_dl_map_object): Likewise.
2543 * elf/rtld.c (dl_main): Likewise.
2544 (process_dl_audit): Likewise.
2545 (process_envvars): Likewise.
2546 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2548 (__libc_enable_secure): Use rtld_hidden_proto.
2550 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2553 (add_path): New function broken out of _dl_rtld_di_serinfo.
2554 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2556 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2558 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2559 parentheses around macro arguments.
2560 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2561 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2562 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2563 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2564 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2565 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2566 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2567 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2568 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2569 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2570 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2571 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2572 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2573 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2574 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2575 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2576 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2577 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2578 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2579 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2580 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2581 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2582 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2583 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2584 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2585 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2586 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2587 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2588 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2589 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2590 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2591 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2592 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2593 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2594 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2595 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2597 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2598 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2599 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2600 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2601 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2602 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2603 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2604 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2605 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2606 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2607 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2608 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2609 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2610 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2611 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2612 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2613 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2614 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2615 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2616 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2617 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2618 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2619 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2620 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2621 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2622 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2623 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2624 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2625 (_FP_FRAC_SRS_1): Likewise.
2626 (_FP_FRAC_CLZ_1): Likewise.
2627 (_FP_MUL_MEAT_1_imm): Likewise.
2628 (_FP_MUL_MEAT_1_wide): Likewise.
2629 (_FP_MUL_MEAT_1_hard): Likewise.
2630 (_FP_SQRT_MEAT_1): Likewise.
2631 (_FP_FRAC_ASSEMBLE_1): Likewise.
2632 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2633 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2634 (__FP_CLZ_2): Likewise.
2635 (_FP_MUL_MEAT_2_wide): Likewise.
2636 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2637 (_FP_MUL_MEAT_2_gmp): Likewise.
2638 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2639 (_FP_SQRT_MEAT_2): Likewise.
2640 (_FP_FRAC_ASSEMBLE_2): Likewise.
2641 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2642 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2643 (_FP_FRAC_CLZ_4): Likewise.
2644 (_FP_MUL_MEAT_4_wide): Likewise.
2645 (_FP_MUL_MEAT_4_gmp): Likewise.
2646 (_FP_SQRT_MEAT_4): Likewise.
2647 (_FP_FRAC_ASSEMBLE_4): Likewise.
2648 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2649 * soft-fp/op-common.h (_FP_CMP): Likewise.
2650 (_FP_CMP_EQ): Likewise.
2651 (_FP_CMP_UNORD): Likewise.
2652 (_FP_TO_INT): Likewise.
2653 (_FP_FROM_INT): Likewise.
2654 [!__FP_CLZ] (__FP_CLZ): Likewise.
2655 (_FP_DIV_HELP_imm): Likewise.
2656 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2659 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2661 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2662 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2663 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2664 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2665 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2666 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2667 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2668 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2669 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2670 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2671 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2672 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2673 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2674 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2675 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2677 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2679 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2680 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2681 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2682 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2683 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2684 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2685 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2687 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2688 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2689 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2690 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2691 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2692 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2693 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2694 (FP_UNPACK_RAW_SP): Likewise.
2695 (FP_PACK_RAW_S): Likewise.
2696 (FP_PACK_RAW_SP): Likewise.
2697 (FP_UNPACK_S): Likewise.
2698 (FP_UNPACK_SP): Likewise.
2699 (FP_UNPACK_SEMIRAW_S): Likewise.
2700 (FP_UNPACK_SEMIRAW_SP): Likewise.
2701 (FP_PACK_S): Likewise.
2702 (FP_PACK_SP): Likewise.
2703 (FP_PACK_SEMIRAW_S): Likewise.
2704 (FP_PACK_SEMIRAW_SP): Likewise.
2705 (_FP_SQRT_MEAT_S): Likewise.
2706 (FP_CMP_S): Likewise.
2707 (FP_CMP_EQ_S): Likewise.
2708 (FP_CMP_UNORD_S): Likewise.
2709 (FP_TO_INT_S): Likewise.
2710 (FP_FROM_INT_S): Likewise.
2712 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2714 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2715 (FP_EX_INVALID_IMZ): Likewise.
2716 (FP_EX_INVALID_IMZ_FMA): Likewise.
2717 (FP_EX_INVALID_ISI): Likewise.
2718 (FP_EX_INVALID_ZDZ): Likewise.
2719 (FP_EX_INVALID_IDI): Likewise.
2720 (FP_EX_INVALID_SQRT): Likewise.
2721 (FP_EX_INVALID_CVI): Likewise.
2722 (FP_EX_INVALID_VC): Likewise.
2723 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2724 "invalid" exceptions.
2725 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2726 (_FP_ADD_INTERNAL): Likewise.
2727 (_FP_MUL): Likewise.
2728 (_FP_FMA): Likewise.
2729 (_FP_DIV): Likewise.
2730 (_FP_CMP_CHECK_NAN): Likewise.
2731 (_FP_SQRT): Likewise.
2732 (_FP_TO_INT): Likewise.
2733 (FP_EXTEND): Likewise.
2735 2014-10-09 Allan McRae <allan@archlinux.org>
2737 * po/fr.po: Update French translation from translation project.
2739 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2742 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2744 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2745 (__cxa_atexit): Use libc_hidden_proto.
2746 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2749 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2751 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2752 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2753 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2754 [!_ISOMAC] (__iswctype_internal): Likewise.
2755 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2756 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2758 (fcntl): Remove __fcntl_internal alias.
2759 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2760 __connect_internal alias.
2761 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2764 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2765 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2767 (_FP_CHECK_FLUSH_ZERO): New macro.
2768 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2769 (_FP_CMP): Likewise.
2770 (_FP_CMP_EQ): Likewise.
2771 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2773 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2774 (FP_TRUNC): Likewise.
2776 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2777 treated as invalid conversion, not as normal exponent.
2779 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2780 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2781 (_FP_CMP_EQ): Likewise.
2782 (_FP_CMP_UNORD): Likewise.
2783 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2784 (FP_CMP_EQ_D): Likewise.
2785 (FP_CMP_UNORD_D): Likewise.
2786 * soft-fp/extended.h (FP_CMP_E): Likewise.
2787 (FP_CMP_EQ_E): Likewise.
2788 (FP_CMP_UNORD_E): Likewise.
2789 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2790 (FP_CMP_EQ_Q): Likewise.
2791 (FP_CMP_UNORD_Q): Likewise.
2792 * soft-fp/single.h (FP_CMP_S): Likewise.
2793 (FP_CMP_EQ_S): Likewise.
2794 (FP_CMP_UNORD_S): Likewise.
2795 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2796 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2797 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2798 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2799 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2800 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2801 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2802 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2803 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2804 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2805 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2806 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2807 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2809 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2811 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2812 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2814 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2816 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2817 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2818 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2819 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2821 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2823 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2824 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2826 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2828 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2829 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2830 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2831 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2834 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2835 a subnormal result, set the underflow exception if trapping on
2836 underflow is enabled.
2837 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2838 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2839 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2841 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2842 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2843 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2844 * soft-fp/extendxftf2.c (__extendxftf2): Use
2845 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2847 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2848 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2849 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2850 FP_HANDLE_EXCEPTIONS.
2851 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2852 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2853 FP_HANDLE_EXCEPTIONS.
2854 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2855 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2856 FP_HANDLE_EXCEPTIONS.
2857 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2858 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2859 FP_HANDLE_EXCEPTIONS.
2861 2014-10-08 Joseph Myers <joseph@codesourcery.com>
2864 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2865 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2867 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2868 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2870 (__adjtimex): Define using libc_hidden_ver.
2871 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2873 (ntp_gettime): Call __adjtimex directly.
2874 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2876 (ntp_gettimex): Call __adjtimex directly.
2877 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2878 __adjtimex_internal alias.
2880 2014-10-08 Roland McGrath <roland@hack.frob.com>
2883 * nscd/nscd.c (more_help): Rewrite list of tables collection
2884 using xstrdup and asprintf.
2886 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2888 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2889 Roland McGrath <roland@hack.frob.com>
2891 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2892 (do_lookup_unique): ... local function 'enter' here; update callers.
2894 2014-10-06 Joseph Myers <joseph@codesourcery.com>
2896 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2897 compat_symbol calls on [SHARED].
2898 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2899 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2901 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2902 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2903 (oldsetrlimit): Remove.
2904 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2906 (lchown): New syscall entry.
2907 (oldsetrlimit): Remove.
2908 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2909 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2910 (oldsetrlimit): Remove.
2911 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2914 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2915 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2916 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2917 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2918 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2919 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2921 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2926 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2928 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2929 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2930 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2931 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2932 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2934 (__old_sem_post): Likewise.
2936 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
2938 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2939 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2940 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2941 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2942 Use INLINE_VSYSCALL macro.
2943 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2944 __vdso_clock_gettime.
2945 * sysdeps/unix/sysv/linux/tile/init-first.c
2946 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2947 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2948 __vdso_clock_gettime.
2950 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2951 to set up frame more cleanly.
2953 * sysdeps/tile/memcmp.c: New file.
2955 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2957 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2958 * sysdeps/tile/tilegx/strcasestr.c: New file.
2959 * sysdeps/tile/tilegx/strnlen.c: New file.
2960 * sysdeps/tile/tilegx/strstr.c: New file.
2962 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2964 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
2966 * nptl/tst-setuid3.c: Write errors to stdout.
2968 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2971 (preload): New functions broken out of _dl_map_object_deps.
2972 (_dl_map_object_deps): Remove a nested function. Update call sites.
2974 2014-10-01 Joseph Myers <joseph@codesourcery.com>
2977 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2978 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2980 2014-10-01 Steve Ellcey <sellcey@mips.com>
2982 * sysdeps/mips/strcmp.S: New.
2984 2014-09-30 Joseph Myers <joseph@codesourcery.com>
2987 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2989 (mkdirat): Likewise.
2990 (readlinkat): Likewise.
2991 (renameat): Likewise.
2992 (symlinkat): Likewise.
2993 (unlinkat): Likewise.
2994 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2995 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2996 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2997 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2998 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2999 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3000 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3002 2014-09-30 Will Newton <will.newton@linaro.org>
3004 * math/math.h: Define long double math functions if
3005 _LIBC_TEST is defined.
3006 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3008 * localedata/Makefile: Move assignment to tests-special
3009 into an ifdef testing run-built-tests.
3010 * timezone/Makefile: Likewise.
3012 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3014 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3015 with $(BASH) not $(SHELL).
3017 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3018 Matthew LeGendre <legendre1@llnl.gov>
3021 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3024 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3026 * stdio-common/printf_fp.c
3027 (hack_digit): New function, broken out of ...
3028 (__printf_fp): ... local function here. Update call sites.
3029 hack_digit now takes an additional parameter that is a pointer
3030 to a struct of the referenced locals. Those locals moved inside
3031 the struct and references updated.
3033 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3035 * aclocal.m4: Require autoconf 2.69.
3036 * configure: Regenerated.
3037 * sysdeps/aarch64/configure: Likewise.
3038 * sysdeps/alpha/configure: Likewise.
3039 * sysdeps/arm/armv7/configure: Likewise.
3040 * sysdeps/arm/configure: Likewise.
3041 * sysdeps/ia64/configure: Likewise.
3042 * sysdeps/mach/configure: Likewise.
3043 * sysdeps/mips/configure: Likewise.
3044 * sysdeps/s390/configure: Likewise.
3045 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3048 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3050 * sysdeps/ia64/configure.ac: Likewise.
3052 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3055 specify symbol version for ld.so. Do not include entry for
3057 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3058 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3059 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3062 * Makeconfig [$(build-shared) = yes]
3063 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3065 [$(build-shared) = yes && $(soversions.mk-done) = t]
3066 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3067 [$(build-shared) = yes && $(soversions.mk-done) = t]
3068 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3070 [$(build-shared) = yes && $(soversions.mk-done) = t]
3071 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3073 [$(build-shared) = yes && $(soversions.mk-done) = t]
3074 (common-generated): Don't append gnu/lib-names.h and
3075 gnu/lib-names.stmp here.
3076 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3077 (lib-names-h-abi): New variable.
3078 [$(build-shared) = yes && $(soversions.mk-done) = t]
3079 (lib-names-stmp-abi): Likewise.
3080 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3081 abi-variants] (before-compile): Append
3082 $(common-objpfx)$(lib-names-h-abi).
3083 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3084 abi-variants] (common-generated): Append gnu/lib-names.h.
3085 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3086 abi-variants] (install-others-nosubdir): Depend on
3087 $(inst_includedir)/$(lib-names-h-abi).
3088 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3089 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3090 [$(build-shared) = yes && $(soversions.mk-done) = t]
3091 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3092 [$(build-shared) = yes && $(soversions.mk-done) = t]
3093 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3094 [$(build-shared) = yes && $(soversions.mk-done) = t]
3095 (common-generated): Append $(lib-names-h-abi) and
3096 $(lib-names-stmp-abi).
3097 * scripts/lib-names.awk: Do not handle multi being set.
3098 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3100 (abi-lp64_be-ld-soname): Likewise.
3101 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3103 (abi-hard-ld-soname): Likewise.
3104 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3105 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3107 (abi-o32_hard-ld-soname): Likewise.
3108 (abi-o32_soft_2008-ld-soname): Likewise.
3109 (abi-o32_hard_2008-ld-soname): Likewise.
3110 (abi-n32_soft-ld-soname): Likewise.
3111 (abi-n32_hard-ld-soname): Likewise.
3112 (abi-n32_soft_2008-ld-soname): Likewise.
3113 (abi-n32_hard_2008-ld-soname): Likewise.
3114 (abi-n64_soft-ld-soname): Likewise.
3115 (abi-n64_hard-ld-soname): Likewise.
3116 (abi-n64_soft_2008-ld-soname): Likewise.
3117 (abi-n64_hard_2008-ld-soname): Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3120 (abi-64-v2-ld-soname): Likewise.
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3123 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3125 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3127 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3129 (abi-64-ld-soname): Likewise.
3130 (abi-x32-ld-soname): Likewise.
3131 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3133 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3135 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3138 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3139 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3140 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3141 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3142 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3143 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3144 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3145 syscall entry for GLIBC_2.2 symbol version.
3146 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3149 (setrlimit): Likewise.
3150 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3153 2014-09-23 Will Newton <will.newton@linaro.org>
3155 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3156 _LINUX_ARM_SYSDEP_H include guard too.
3157 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3160 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3162 * sysdeps/unix/sysv/linux/eventfd.c:
3163 Make first argument unsigned.
3164 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3165 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3167 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3169 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3170 * socket/sys/socket.h: Likewise
3171 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3173 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3175 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3177 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3179 * time/tst-ftime.c: New test.
3180 * time/Makefile (tests): Add tst-ftime.
3182 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3184 * soft-fp/extended.h: Fix comment formatting.
3185 * soft-fp/op-1.h: Likewise.
3186 * soft-fp/op-2.h: Likewise.
3187 * soft-fp/op-4.h: Likewise.
3188 * soft-fp/op-8.h: Likewise.
3189 * soft-fp/op-common.h: Likewise.
3190 * soft-fp/soft-fp.h: Likewise.
3192 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3194 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3197 * Makeconfig (soversions-default-setname): Remove variable.
3198 ($(common-objpfx)soversions.i): Don't pass default_setname to
3200 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3201 oldest_abi to abi-versions.awk.
3202 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3203 * config.make.in (oldest-abi): Remove variable.
3204 * configure.ac (--enable-oldest-abi): Remove configure option.
3205 * configure: Regenerated.
3206 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3208 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3209 * scripts/soversions.awk: Do not handle default_setname variable.
3210 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3212 * sysdeps/mach/hurd/configure: Regenerated.
3213 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3215 * sysdeps/unix/sysv/linux/configure: Regenerated.
3217 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3219 * elf/Makefile (CFLAGS-interp.c): Remove.
3220 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3222 * elf/interp.c: Include generated runtime-linker.h
3224 * Makerules (lib%.so): Don't include $(+interp) in
3226 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3227 * dlfcn/eval.c: Remove file.
3229 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3233 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3237 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3239 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3240 Jakub Jelinek <jakub@redhat.com>
3243 * libio/stdio.h: Check definition of __fortify_function
3244 instead of __extern_always_inline to include bits/stdio2.h.
3245 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3246 check if __extern_always_inline is defined.
3247 [__USE_MISC || __USE_XOPEN]: Likewise.
3248 [__USE_ISOC99] Likewise.
3249 * misc/sys/cdefs.h (__fortify_function): Define only if
3250 __extern_always_inline is defined.
3251 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3252 __extern_always_inline and __extern_inline only for g++-4.3
3253 and newer or a compatible gcc.
3255 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3258 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3259 last change to handle zero prefix length.
3261 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3263 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3266 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3269 2014-09-13 Allan McRae <allan@archlinux.org>
3271 * po/ru.po: Update Russian translation from translation project.
3273 2014-09-12 Roland McGrath <roland@hack.frob.com>
3275 * locale/programs/locale.c (show_locale_vars): Inline local function
3276 into its sole call site. Clean up some style nits.
3277 (print_item): New function, broken out of ...
3278 (show_info): ... local function here. Clean up style nits.
3280 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3282 (set_class_defaults): ... local function set_default here.
3283 Define set_default as a macro locally to pass constant parameters.
3284 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3285 rather than a shared local.
3287 * stdlib/rpmatch.c (try): New function, broken out of ...
3288 (rpmatch): ... local function here. Also, prototypify definition.
3290 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3292 * scripts/soversions.awk: Do not handle configuration names.
3293 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3294 vendor and os variables to soversions.awk.
3295 * configure.ac: Do not modify gnu-* host_os.
3296 * configure: Regenerated
3297 * shlib-versions: Remove first column with configuration names.
3298 * nptl/shlib-versions: Likewise.
3299 * nptl_db/shlib-versions: Likewise.
3300 * sysdeps/hppa/shlib-versions: Likewise.
3301 * sysdeps/m68k/shlib-versions: Likewise.
3302 * sysdeps/mach/hurd/shlib-versions: Likewise.
3303 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3304 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3305 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3306 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3307 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3308 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3309 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3310 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3313 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3314 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3315 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3316 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3317 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3318 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3319 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3320 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3323 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3326 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3328 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3330 * shlib-versions: Remove OS-specific entries. Moved to files in
3332 * sysdeps/mach/hurd/shlib-versions: New file.
3333 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3335 * nptl/shlib-versions: Remove architecture-specific entries.
3336 Moved to files in sysdeps.
3337 * shlib-versions: Likewise.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3340 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3341 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3342 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3345 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3346 (UDP_NO_CHECK6_RX): Likewise.
3348 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3350 * sysdeps/posix/sysconf.c (__sysconf): Spell
3351 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3353 2014-08-12 Florian Weimer <fweimer@redhat.com>
3355 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3357 * iconv/Versions (__gconv_transliterate): Export for use from
3359 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3360 (struct __gconv_trans_data, __gconv_trans_fct,
3361 __gconv_trans_context_fct, __gconv_trans_query_fct,
3362 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3364 (struct __gconv_step_data): Remove __trans member.
3365 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3366 longer hidden. Remove unused trans_data argument.
3367 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3368 (__gconv_translit_find): Remove declaration.
3369 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3371 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3372 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3373 trans_data argument. Add hidden definition.
3374 (__gconv_translit_find): Remove.
3375 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3376 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3377 * iconv/skeleton.c: Remove transliteration initialization.
3378 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3379 __gconv_step_data initialization.
3380 * libio/iofwide.c (__libio_translit_): Remove.
3381 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3382 * wcsmbs/btowc.c (__btowc): Likewise.
3383 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3384 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3385 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3386 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3387 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3388 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3389 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3390 * wcsmbs/wctob.c (wctob): Likewise.
3392 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3395 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3396 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3398 * sysdeps/x86/Makefile: Adjust.
3400 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3401 Roland McGrath <roland@hack.frob.com>
3403 * locale/weight.h: Add include guard.
3404 (findidx): Make static rather than auto; take new parameters
3405 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3406 * locale/weightwc.h: Likewise.
3407 * posix/fnmatch_loop.c
3408 (FCT): Change type of EXTRA from int32_t to wint_t.
3409 Don't include either header inside the function.
3410 Call FINDIDX rather than findidx, and pass new arguments.
3411 #undef FINDIDX at the end of the file.
3412 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3413 FINDIDX before including fnmatch_loop.c for the non-wide version.
3414 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3415 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3416 for the wide version.
3417 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3418 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3419 Pass new arguments to findidx.
3420 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3421 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3422 Don't #include it inside the function. Pass new arguments to findidx.
3423 * posix/regex_internal.h
3424 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3425 (re_string_elem_size_at): Don't #include it inside the function.
3426 Pass new arguments to findidx.
3427 * string/strcoll_l.c: #include WEIGHT_H at top level.
3428 (get_next_seq): Don't #include it inside the function.
3429 Pass new arguments to findidx.
3430 (get_next_seq_nocache): Likewise.
3431 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3432 (STRXFRM): Don't #include it inside the function.
3433 Pass new arguments to findidx.
3435 2014-09-11 Florian Weimer <fweimer@redhat.com>
3438 * malloc/malloc.c (unlink): Turn asserts into a call to
3441 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
3444 * libio/wfileops (do_ftell_wide): Free OUT.
3446 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3448 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3450 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3453 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3454 group if the current group is empty.
3456 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3458 * benchtests/bench-memset.c (test_main): Add more test from size
3459 from 32 to 512 bytes.
3460 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3461 Add POWER8 memset object.
3462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3463 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3464 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3466 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3468 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3469 multiarch POWER8 memset optimization.
3470 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3471 POWER8 memset optimization.
3473 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3474 Remove bzero multiarch objects.
3475 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3476 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3477 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3478 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3480 [__bzero]: Redefine to specific name.
3481 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3482 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3483 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3485 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3486 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3488 2014-09-10 Florian Weimer <fweimer@redhat.com>
3490 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3491 warnings into errors.
3493 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3494 __cxa_thread_atexit_impl prototype.
3496 2014-09-09 Steve Ellcey <sellcey@mips.com>
3498 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3499 Fix capitalization of error message.
3501 2014-09-09 Steve Ellcey <sellcey@mips.com>
3503 * sysdeps/mips/preconfigure: Modify ABI tests.
3505 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3507 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3509 2014-09-07 Roland McGrath <roland@hack.frob.com>
3510 Carlos O'Donell <carlos@systemhalted.org>
3512 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3513 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3514 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3515 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3516 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3517 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3518 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3519 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3520 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3521 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3522 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3523 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3524 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3525 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3526 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3527 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3528 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3529 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3530 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3531 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3532 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3533 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3534 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3535 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3536 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3537 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3538 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3539 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3540 Deconditionalize the code that was previously under [RESET_PID].
3541 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3542 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3543 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3544 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3547 2014-09-08 Allan McRae <allan@archlinux.org>
3549 * version.h (RELEASE): Set to "development".
3550 (VERSION): Set to "2.20.90"
3552 2014-09-07 Allan McRae <allan@archlinux.org
3554 * version.h (RELEASE): Set to "stable".
3555 (VERSION): Set to "2.20"
3556 * include/features.h (__GLIBC_MINOR__): Set to 20.
3558 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3561 * po/ko.po: Update Korean translation from translation project.
3563 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3566 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3567 macro for handling signed relocations.
3569 2014-09-03 Florian Weimer <fweimer@redhat.com>
3572 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3573 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3575 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3576 * iconvdata/ibm935.c (BODY): Likewise.
3577 * iconvdata/ibm937.c (BODY): Likewise.
3578 * iconvdata/ibm939.c (BODY): Likewise.
3579 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3581 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3583 * iconvdata/run-iconv-test.sh: New test loop for checking for
3586 2014-09-02 Khem Raj <raj.khem@gmail.com>
3588 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3591 2014-09-01 Allan McRae <allan@archlinux.org>
3593 * po/eo.po: Update Esperanto translation from translation project.
3595 * po/ca.po: Update Catalan translation from translation project.
3597 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3599 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3602 2014-08-27 Mark Wielaard <mjw@redhat.com>
3605 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3606 to call set_thread_area instead of hand written asm.
3607 (__NR_set_thread_area): Removed define.
3608 (TLS_FLAG_WRITABLE): Likewise.
3609 (__ASSUME_SET_THREAD_AREA): Remove check.
3610 (TLS_EBX_ARG): Remove define.
3611 (TLS_LOAD_EBX): Likewise.
3613 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3615 Simplify atomicity of socket creation in bind.
3617 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3618 looking up the name after linking the file.
3620 2014-08-27 Allan McRae <allan@archlinux.org>
3622 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3624 2014-08-26 Florian Weimer <fweimer@redhat.com>
3627 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3628 trans_compare, open_translit, __gconv_translit_find):
3629 Remove module loading code.
3631 2014-08-26 Allan McRae <allan@archlinux.org>
3633 * po/vi.po: Update Vietnamese translation from translation project.
3635 * po/uk.po: Update Ukrainian translation from translation project.
3637 * po/fr.po: Update French translation from translation project.
3639 * po/ru.po: Update Russian translation from translation project.
3641 * po/pl.po: Update Polish translation from translation project.
3643 * po/cs.po: Update Czech translation from translation project.
3645 * po/de.po: Update German translation from translation project.
3647 * po/bg.po: Update Bulgarian translation from translation project.
3649 * po/sv.po: Update Sweedish translation from translation project.
3651 * po/nl.po: Update Dutch translation from translation project.
3653 * po/es.po: Update Spanish translation from translation project.
3655 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3657 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3659 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3660 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3661 (CPPFLAGS-iconvconfig): Likewise.
3662 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3664 * include/libc-symbols.h: Remove unnecessary check for
3666 * nptl/pthreadP.h: Likewise.
3667 * sysdeps/aarch64/setjmp.S: Likewise.
3668 * sysdeps/alpha/setjmp.S: Likewise.
3669 * sysdeps/arm/sysdep.h: Likewise.
3670 * sysdeps/i386/setjmp.S: Likewise.
3671 * sysdeps/m68k/setjmp.c: Likewise.
3672 * sysdeps/posix/getcwd.c: Likewise.
3673 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3674 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3675 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3676 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3677 * sysdeps/sh/sh3/setjmp.S: Likewise.
3678 * sysdeps/sh/sh4/setjmp.S: Likewise.
3679 * sysdeps/unix/alpha/sysdep.h: Likewise.
3680 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3681 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3682 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3683 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3688 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3689 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3691 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3693 * sysdeps/x86_64/setjmp.S: Likewise.
3695 2014-08-13 Joseph Myers <joseph@codesourcery.com>
3698 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3700 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3701 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3703 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3705 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3708 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3709 and __x86_64__ when disabling x87 inline functions.
3711 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3714 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3715 asm statement with __cpuid_count.
3717 2014-08-12 Mike Frysinger <vapier@gentoo.org>
3719 * configure.ac: Change __ehdr_start code to dereference the struct.
3720 Run readelf on the output to look for relocations.
3721 * configure: Regenerated.
3723 2014-08-12 Joseph Myers <joseph@codesourcery.com>
3726 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3728 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3730 2014-08-12 Roland McGrath <roland@hack.frob.com>
3732 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3734 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3737 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3738 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3740 2014-08-12 Sean Anderson <seanga2@gmail.com>
3742 * malloc/malloc.c: Fix typo in comment.
3744 2014-08-09 Allan McRae <allan@archlinux.org>
3746 * Regenerate libc.po.
3748 2014-08-08 Mike Frysinger <vapier@gentoo.org>
3750 * intl/tst-gettext2.sh: Check every lang file for creation.
3752 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3754 * sysdeps/aarch64/fpu/math_private.h
3755 (libc_feholdsetround_noex_aarch64_ctx): New function.
3757 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3759 * sysdeps/arm/armv6/strcpy.S (strcpy):
3760 Fix performance issue in misaligned cases.
3762 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3764 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3765 Move definition from termios.h.
3766 (struct termio): Likewise.
3767 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3768 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3769 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3770 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3772 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3773 Move definition to ioctl-types.h
3774 (struct termio): Likewise.
3775 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3776 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3777 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3778 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3781 2014-08-05 Richard Henderson <rth@redhat.com>
3783 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3785 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3787 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3788 Use __feraiseexcept.
3789 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3790 Protect libm symbols with IS_IN_libm.
3792 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3794 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3796 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3798 2014-08-04 Will Newton <will.newton@linaro.org>
3800 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3803 2014-08-04 Mike Frysinger <vapier@gentoo.org>
3805 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3806 variants for each function.
3808 2014-08-04 Roland McGrath <roland@hack.frob.com>
3810 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3812 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3813 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3815 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3816 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3817 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3818 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3819 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3820 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3821 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3822 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3823 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3824 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3825 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3826 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3827 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3829 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3830 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3831 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3832 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3833 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3834 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3835 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3836 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3837 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3838 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3839 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3840 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3841 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3842 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3843 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3844 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3845 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3846 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3847 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3848 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3849 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3850 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3851 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3852 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3853 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3854 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3855 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3856 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3857 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3858 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3859 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3860 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3861 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3862 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3863 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3864 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3865 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3866 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3867 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3869 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3870 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3872 2014-08-04 Roland McGrath <roland@hack.frob.com>
3874 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3875 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3876 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3877 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3878 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3879 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3881 2014-08-04 Roland McGrath <roland@hack.frob.com>
3883 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3884 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3885 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3886 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3888 2014-08-04 Roland McGrath <roland@hack.frob.com>
3890 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3891 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3892 (__libc_vfork): Define function under this name.
3893 (__vfork): Define as an alias.
3894 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3895 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3897 2014-08-04 Roland McGrath <roland@hack.frob.com>
3899 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3900 that was previously under [RESET_PID].
3901 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3903 2014-08-04 Andreas Schwab <schwab@suse.de>
3905 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3907 2014-08-03 Mike Frysinger <vapier@gentoo.org>
3909 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3912 2014-08-01 Roland McGrath <roland@hack.frob.com>
3914 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3916 2014-08-01 Richard Henderon <rth@redhat.com>
3918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3919 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3920 typo in exact zero test.
3921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3922 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3925 2014-08-01 Roland McGrath <roland@hack.frob.com>
3927 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3928 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3929 * sysdeps/arm/sysdep.h: ... here.
3930 [!__ASSEMBLER__]: Include <stdint.h>.
3932 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3934 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3935 (HAVE_WCTYPE_H): Likewise.
3936 (HAVE_ISWCTYPE): Likewise.
3937 (ENABLE_NLS): Likewise.
3938 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3939 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3941 * posix/regex_internal.c: Check if DEBUG is defined and is
3944 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3945 (HAVE_MBSRTOWCS): Likewise.
3946 * posix/fnmatch.c: Include string.h unconditionally.
3948 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3950 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3953 2014-07-31 Roland McGrath <roland@hack.frob.com>
3955 * sysdeps/generic/safe-fatal.h: New file.
3956 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3957 * nptl/forward.c: Include it.
3958 (__pthread_unwind): Use __safe_fatal as default action, rather
3959 than a bogus use of INTERNAL_SYSCALL that could never work.
3961 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3962 * configure.ac (libc_cv_builtin_trap): New test.
3963 * configure: Regenerated.
3964 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3965 (ABORT_INSTRUCTION): Define using __builtin_trap.
3967 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3968 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3969 * sysdeps/nptl/nptl-signals.h: New file.
3970 * nptl/pthreadP.h: Include <nptl-signals.h>.
3972 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3974 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3975 (ONE_DIRECTION): Define.
3976 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3977 (ONE_DIRECTION): Define.
3978 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3979 (ONE_DIRECTION): Define.
3981 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3983 * sysdeps/s390/Makefile: Delete file.
3984 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3985 * sysdeps/s390/__longjmp.c: Delete file.
3986 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3987 Remove fields __flags and __reserved.
3988 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3990 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3991 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3992 * sysdeps/s390/rtld-setjmp.S: Likewise.
3993 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3994 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3995 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3996 * sysdeps/s390/s390-32/setjmp.S: ... here.
3998 (__sigsetjmp): Remove setting __flags field.
3999 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4000 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4001 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4002 * sysdeps/s390/s390-64/setjmp.S: ... here.
4004 (__sigsetjmp): Remove setting __flags field.
4005 * sysdeps/s390/setjmp.S: Delete file.
4006 * sysdeps/s390/sigjmp.c: Likewise.
4007 * sysdeps/s390/v1-longjmp.c: Likewise.
4008 * sysdeps/s390/v1-setjmp.h: Likewise.
4009 * sysdeps/s390/v1-sigjmp.c: Likewise.
4010 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4011 Remove v1-longjmp_chk.
4012 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4013 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4014 Include debug/longjmp_chk.c and add versioning.
4015 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4016 Include nptl/pt-longjmp.c and add versioning.
4017 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4018 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4019 Include __longjmp.c.
4020 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4022 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4023 (__getcontext): Remove setting __flags field.
4025 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4026 Don't restore upper high grps.
4027 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4029 (__swapcontext): Remove setting uc_flags field.
4030 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4032 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4033 Include __longjmp.c.
4034 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4036 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4037 (__getcontext): Remove setting __flags field.
4039 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4040 (__swapcontext): Remove setting uc_flags field.
4041 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4042 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4043 Remove fields uc_high_gprs and __reserved.
4044 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4045 New file with reverted content.
4046 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4047 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4049 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4052 2014-07-31 Andreas Schwab <schwab@suse.de>
4054 * config.h.in (HAVE_IFUNC): Define to 0.
4055 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4058 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4061 memmove-avx-unaligned, memcpy-avx-unaligned and
4062 mempcpy-avx-unaligned.
4063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4064 Add tests for AVX memcpy functions.
4065 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4066 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4068 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4069 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4071 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4072 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4074 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4075 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4076 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4078 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4084 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4087 * manual/llio.texi: Add section about open file description locks.
4088 * manual/examples/ofdlocks.c: Example of open file description
4090 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4091 F_OFD_SETLK, and F_OFD_SETLKW.
4093 2014-07-23 Allan McRae <allan@archlinux.org>
4095 * po/es.po: Update Spanish translation from translation project.
4097 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4099 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4101 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4104 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4105 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4106 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4108 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4111 * math/fesetenv.c (__fesetenv)
4112 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4113 * math/feupdateenv.c (__feupdateenv)
4114 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4117 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4118 (__ASSUME_SOCKETCALL): Do not define.
4120 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4121 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4122 (__ASSUME_SOCKETCALL): Do not define.
4123 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4124 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4125 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4126 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4127 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4128 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4129 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4130 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4132 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4133 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4134 (__ASSUME_SOCKETCALL): Do not define.
4135 (__ASSUME_IPC64): Define unconditionally.
4136 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4137 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4138 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4139 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4140 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4141 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4142 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4145 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4146 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4147 (__ASSUME_SOCKETCALL): Do not define.
4148 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4149 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4150 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4151 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4152 (__ASSUME_REQUEUE_PI): Define unconditionally.
4153 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4154 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4155 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4156 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4157 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4158 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4160 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4161 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4162 (__ASSUME_SOCKETCALL): Do not define.
4163 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4164 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4165 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4166 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4167 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4168 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4170 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4171 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4172 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4173 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4174 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4175 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4176 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4177 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4178 (__ASSUME_GETCPU_SYSCALL): Likewise.
4180 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4181 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4182 cases for individual architectures.
4183 * sysdeps/gnu/configure: Regenerated.
4184 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4185 LIBC_SLIBDIR_RTLDDIR.
4186 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4187 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4188 LIBC_SLIBDIR_RTLDDIR.
4189 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4191 LIBC_SLIBDIR_RTLDDIR.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4194 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4197 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4198 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4200 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4201 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4202 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4203 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4205 * sysdeps/aarch64/shlib-versions: Move to ...
4206 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4207 * sysdeps/alpha/shlib-versions: Move to ...
4208 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4209 * sysdeps/arm/shlib-versions: Move to ...
4210 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4211 * sysdeps/hppa/shlib-versions: Move all contents except for
4212 libgcc_s entry to ...
4213 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4215 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4216 * sysdeps/ia64/shlib-versions: Move to ...
4217 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4219 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4220 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4221 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4222 * sysdeps/microblaze/shlib-versions: Move to ...
4223 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4224 * sysdeps/mips/shlib-versions: Move to ...
4225 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4227 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4228 * sysdeps/tile/shlib-versions: Move to ...
4229 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4230 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4232 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4233 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4235 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4237 2014-07-17 Will Newton <will.newton@linaro.org>
4239 * sysdeps/arm/bits/atomic.h
4240 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4241 (__arch_compare_and_exchange_bool_16_int): Likewise.
4242 (__arch_compare_and_exchange_bool_64_int): Likewise.
4244 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4245 into an #else block.
4247 2014-07-16 Roland McGrath <roland@hack.frob.com>
4249 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4250 just Linux configurations. Test empirically that the compiler sets
4251 __ARM_EABI__, rather than using the tuple to decide.
4252 * sysdeps/arm/preconfigure: Regenerated.
4253 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4254 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4255 contents appended ...
4256 * sysdeps/arm/configure.ac: ... here.
4257 * sysdeps/arm/configure: Regenerated.
4259 2014-07-15 Roland McGrath <roland@hack.frob.com>
4261 * nptl/pthread_kill.c: New file.
4262 * nptl/pthread_sigmask.c: New file.
4263 * nptl/pthread_sigqueue.c: New file.
4265 * sysdeps/nptl/lowlevellock.h: New file.
4266 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4267 * sysdeps/nptl/lowlevellock-futex.h: New file.
4269 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4270 Remove dead declarations.
4272 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4274 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4275 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4277 * sysdeps/x86_64/configure.ac: Likewise.
4278 * sysdeps/i386/configure: Regenerated.
4279 * sysdeps/x86_64/configure: Likewise.
4280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4281 memset-avx2 only if config-cflags-avx2 is yes.
4282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4283 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4285 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4286 only if HAVE_AVX2_SUPPORT is defined.
4287 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4289 2014-07-14 Alan Modra <amodra@gmail.com>
4292 * elf/elf.h (DT_PPC64_NUM): Correct value.
4293 * NEWS: Add to fixed bug list.
4295 2014-07-13 Jim Meyering <meyering@fb.com>
4298 regex: don't deref NULL upon heap allocation failure
4299 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4300 failure in one more place.
4301 To trigger the segfault, configure grep -with-included-regex,
4302 build it, and run these commands:
4303 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4305 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4307 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4309 2014-07-11 Richard Henderson <rth@redhat.com>
4311 * sysdeps/aarch64/libm-test-ulps: Update.
4313 2014-07-10 Florian Weimer <fweimer@redhat.com>
4316 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4317 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4318 (__nptl_setxid): Initialize error member. Call
4319 __nptl_setxid_error.
4320 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4321 * nptl/descr.h (struct xid_command): Add error member.
4322 * nptl/tst-setuid3.c: New file.
4323 * nptl/Makefile (tests): Add it.
4325 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4327 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4329 (__lll_trylock): Use __lll_base_trylock.
4330 (__lll_cond_trylock): Likewise.
4332 2014-07-10 Roland McGrath <roland@hack.frob.com>
4334 * nptl/pthread_create.c (start_thread): Use atomic_or and
4335 lll_futex_wake directly rather than lll_robust_dead.
4336 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4337 (lll_robust_dead): Macro removed.
4338 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4339 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4340 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4341 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4342 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4343 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4344 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4345 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4346 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4347 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4348 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4349 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4350 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4351 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4352 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4354 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4355 Use atomic_compare_and_exchange_val_acq directly rather than
4357 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4358 (__lll_robust_trylock, lll_robust_trylock): Removed.
4359 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4360 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4361 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4362 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4363 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4364 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4365 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4366 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4367 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4368 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4369 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4370 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4371 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4372 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4374 2014-07-02 Florian Weimer <fweimer@redhat.com>
4376 * manual/locale.texi (Locale Names): New section documenting
4377 locale name syntax. Adjust menu and node chaining accordingly.
4378 (Choosing Locale): Reference Locale Names, Locale Categories.
4379 Mention setting LC_ALL=C. Reflect that name syntax is now
4381 (Locale Categories): New section title. Reference Locale Names.
4382 LC_ALL is an environment variable, but not a category.
4383 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4384 description, now in Locale Name. Reference that section. Locale
4385 name syntax is now documented.
4387 2014-07-02 Florian Weimer <fweimer@redhat.com>
4390 * locale/findlocale.c (name_present, valid_locale_name): New
4392 (_nl_find_locale): Use the loc_name variable to store name
4393 candidates. Call name_present and valid_locale_name to check and
4394 validate locale names. Return an error if the locale is invalid.
4396 2014-07-02 Florian Weimer <fweimer@redhat.com>
4398 * locale/setlocale.c (setlocale): Use strdup for allocating
4399 composite name copy.
4401 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4403 Sync up with gnulib.
4404 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4405 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4406 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4407 and _GL_ARG_NONNULL.
4408 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4409 [!_LIBC]: Include code for Windows and Cygwin.
4410 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4411 Include prototype for int strerror_r.
4412 [!_LIBC] (is_open): New function.
4413 (flush_stdout): New function.
4414 (print_errno_message): Use it.
4416 (error_at_line): Likewise.
4417 (error_tail) Add function attribute macros. Use
4420 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4422 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4424 * io/ftw.c: Include sys/param.h unconditionally.
4426 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4429 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4431 (freecache): New function to free CACHE on exit.
4433 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4436 2014-07-09 David S. Miller <davem@davemloft.net>
4438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4440 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4441 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4442 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4443 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4444 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4445 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4446 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4447 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4448 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4449 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4450 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4451 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4452 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4454 2014-07-09 Andreas Schwab <schwab@suse.de>
4456 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4458 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4459 (do_test): Likewise.
4461 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4463 2014-07-09 Will Newton <will.newton@linaro.org>
4465 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4466 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4467 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4468 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4469 * sysdeps/hppa/start.S (_start): Likewise.
4471 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4473 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4475 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4478 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4480 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4481 after checking that it is non-NULL.
4483 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4485 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4487 * sysdeps/powerpc/memmove.c: Remove file.
4488 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4489 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4490 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4491 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4492 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4493 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4494 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4495 string memmove instead of removed powerpc one.
4497 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4498 [weak_alias]: Fix compiler warning due trailing data.
4499 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4500 [weak_alias]: Likewise.
4501 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4502 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4505 (__libc_ifunc_impl_list): Add memmove functions.
4507 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4509 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4511 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4513 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4515 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4517 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4519 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4521 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4523 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4525 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4527 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4529 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4531 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4533 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4535 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4537 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4539 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4541 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4544 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4546 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4547 to avoid alignment traps in non-cacheable memory.
4548 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4552 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4553 file: multiarch power7 memmove.
4554 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4555 multiarch default memmove.
4556 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4557 multiarch memove for powerpc32/power4.
4559 * string/bcopy.c: Use full path to include memmove.c.
4560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4562 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4563 bcopy for powerpc64.
4564 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4565 bcopy for powerpc64.
4566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4567 and memmove implementations.
4568 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4569 optimized multiarch memmove for POWER7/powerpc64.
4570 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4571 default multiarch memmove for powerpc64.
4572 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4573 multiarch for powerpc64.
4574 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4575 for POWER7/powerpc64.
4576 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4577 memmove for POWER7/powerpc64.
4579 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4582 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4583 __ELF_NATIVE_CLASS equal to 64.
4585 2014-07-07 Roland McGrath <roland@hack.frob.com>
4587 * sysdeps/nptl/lowlevellock.h: File removed.
4589 * NEWS: NPTL is no longer an add-on!
4590 * nptl/internaltypes.h: Moved ...
4591 * sysdeps/nptl/internaltypes.h: ... here.
4592 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4593 * sysdeps/nptl/fork.c: Likewise.
4594 * sysdeps/nptl/gai_misc.h: Likewise.
4595 * sysdeps/nptl/librt-cancellation.c: Likewise.
4596 * sysdeps/nptl/jmp-unwind.c: Likewise.
4597 * sysdeps/nptl/setxid.h: Likewise.
4598 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4599 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4600 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4601 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4602 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4603 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4604 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4605 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4606 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4607 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4608 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4609 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4610 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4611 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4612 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4613 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4614 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4615 * nptl/Makeconfig: Moved ...
4616 * sysdeps/nptl/Makeconfig: ... here.
4617 * nptl/configure: File removed.
4618 * nptl/ANNOUNCE: File removed.
4619 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4620 * sysdeps/unix/sysv/linux/configure: Regenerated.
4622 * nptl/Makefile (routines): Add libc_pthread_init,
4623 libc_multiple_threads, register-atfork and unregister-atfork.
4624 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4625 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4626 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4627 pthread-pi-defines.sym, structsem.sym.
4628 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4629 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4630 [$(subdir) = nptl] (tests): Add tst-setgetname.
4631 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4632 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4633 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4634 [!LIBC_SIGACTION]: Remove aliases.
4635 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4636 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4637 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4638 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4639 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4640 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4641 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4642 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4643 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4644 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4645 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4646 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4647 __libc_allocate_rtsig_private.
4648 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4649 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4650 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4651 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4652 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4653 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4654 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4655 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4656 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4657 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4658 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4659 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4660 * nptl/internaltypes.h: ... here.
4661 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4662 * sysdeps/nptl/jmp-unwind.c: ... here.
4663 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4664 * nptl/libc-lowlevellock.c: ... here.
4665 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4666 * nptl/libc_multiple_threads.c: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4668 * nptl/libc_pthread_init.c: ... here.
4669 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4670 * nptl/lowlevelbarrier.sym: ... here.
4671 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4672 * nptl/lowlevelcond.sym: ... here.
4673 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4674 * nptl/lowlevellock.c: ... here.
4675 * nptl/lowlevellock.h: Moved ...
4676 * sysdeps/nptl/lowlevellock.h: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4678 * nptl/lowlevelrobustlock.c: ... here.
4679 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4680 * nptl/lowlevelrobustlock.sym: ... here.
4681 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4682 * nptl/lowlevelrwlock.sym: ... here.
4683 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4684 * nptl/pt-fork.c: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4686 * nptl/pthread-pi-defines.sym: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4688 * nptl/pthread_attr_getaffinity.c: ... here.
4689 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4690 * nptl/pthread_attr_setaffinity.c: ... here.
4691 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4692 * nptl/pthread_mutex_cond_lock.c: ... here.
4693 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4695 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4696 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4697 * nptl/pthread_once.c: ... here, replacing old file.
4698 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4699 * nptl/pthread_yield.c: ... here.
4700 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4701 * nptl/register-atfork.c: ... here.
4702 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4703 * nptl/sem_post.c: ... here.
4704 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4705 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4706 * nptl/sem_timedwait.c: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4708 * nptl/sem_trywait.c: ... here.
4709 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4710 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4711 * nptl/sem_wait.c: ... here.
4712 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4713 * nptl/structsem.sym: ... here.
4714 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4715 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4716 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4717 * nptl/unregister-atfork.c: ... here.
4718 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4719 * nptl/unwindbuf.sym: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4721 * sysdeps/nptl/fork.c: ... here.
4722 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4723 * sysdeps/nptl/fork.h: ... here.
4724 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4725 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4726 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4727 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4728 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4729 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4730 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4731 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4732 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4734 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4736 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4737 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4738 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4739 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4740 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4742 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4743 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4744 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4745 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4746 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4747 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4748 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4749 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4750 * sysdeps/unix/sysv/linux/raise.c: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4752 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4753 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4754 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4755 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4756 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4758 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4760 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4762 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4764 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4765 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4767 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4769 * sysdeps/generic/memcopy.h: Add comment for
4770 MEMCPY_OK_FOR_FWD_MEMMOVE.
4772 2014-07-04 Will Newton <will.newton@linaro.org>
4774 * string/memchr.c: Merge from gnulib.
4775 [_LIBC]: Remove conditionals.
4776 (__ptr_t): Remove define.
4777 (LONG_MAX_32_BITS): Likewise.
4778 (LONG_MAX): Likewise.
4779 (MEMCHR): Use ANSI prototype and optimize algorithm.
4781 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4783 2014-07-03 Roland McGrath <roland@hack.frob.com>
4785 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4786 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4788 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4789 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4790 in a bare environment with no <stdlib.h> installed.
4791 * sysdeps/nptl/configure: Regenerated.
4793 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4795 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4796 AC_EGREP_CPP for kernel header checks, so they only succeed if
4797 including <linux/version.h> actually works right.
4798 * sysdeps/unix/sysv/linux/configure: Regenerated.
4800 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4801 value so it's not diagnosed as unused.
4803 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4804 thing) with "ifeq ($(subdir),rt)".
4806 2014-07-03 Richard Henderson <rth@redhat.com>
4808 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4809 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4810 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4812 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4813 (math_force_eval): New.
4815 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4816 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4818 * sysdeps/alpha/fpu/s_round.c: Remove file.
4819 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4821 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4822 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4823 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4824 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4825 (_dl_start, print_statistics): Likewise.
4826 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4827 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4829 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4830 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4831 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4832 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4833 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4834 (HP_SMALL_TIMING_AVAIL): Define.
4835 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4836 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4837 (HP_SMALL_TIMING_AVAIL): Define.
4838 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4839 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4841 * sysdeps/aarch64/hp-timing.h: New file.
4843 * sysdeps/generic/hp-timing.h: Remove dead comment.
4844 * sysdeps/generic/hp-timing-common.h: New file.
4845 * sysdeps/alpha/hp-timing.h: Include it.
4846 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4847 * sysdeps/i386/i686/hp-timing.h: Likewise.
4848 * sysdeps/ia64/hp-timing.h: Likewise.
4849 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4850 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4851 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4852 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4853 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4854 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4857 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4858 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4859 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4860 * elf/rtld.c (_dl_start_final): Likewise.
4861 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4862 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4863 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4864 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4865 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4866 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4867 (HP_TIMING_DIFF_INIT): Remove.
4868 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4869 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4870 (HP_TIMING_DIFF_INIT): Remove.
4871 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4872 * sysdeps/i386/i686/hp-timing.c: Remove file.
4873 * sysdeps/x86_64/hp-timing.c: Remove file.
4874 * sysdeps/ia64/hp-timing.c: Remove file.
4875 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4876 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4877 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4878 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4880 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4881 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4882 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4883 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4884 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4885 (HP_TIMING_ACCUM): Remove.
4886 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4887 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4888 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4890 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4891 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4892 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4893 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4894 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4895 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4896 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4897 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4899 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4901 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4903 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4905 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4907 Sync up with gettext.
4908 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4909 [_MSC_VER]: Include malloc.h
4910 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4911 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4912 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4913 TEMP_FAILURE_RETRY. Cast return of alloca.
4914 [!_LIBC] Call gl_rwlock_init.
4915 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4917 2014-07-02 Roland McGrath <roland@hack.frob.com>
4919 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4920 before checking its value.
4922 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4924 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4926 * debug/memcpy_chk.c: Don't include pagecopy.h.
4927 * debug/mempcpy_chk.c: Likewise.
4928 * string/memcpy.c: Likewise.
4929 * string/memmove.c: Likewise.
4930 * sysdeps/powerpc/memmove.c: Likewise.
4931 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4932 definition of PAGE_COPY_FWD_MAYBE here...
4933 * sysdeps/generic/pagecopy.h: ... from here.
4934 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4936 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4937 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4939 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4943 (__libc_ifunc_impl_list): Likewise.
4944 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4945 multiarch strcat for PPC64.
4946 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4947 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4949 2014-07-02 Roland McGrath <roland@hack.frob.com>
4951 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4953 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4955 * intl/loadmsgcat.c: Remove declaration of
4956 get_sysdep_segment_value.
4957 (get_sysdep_segment_value): Use ISO C style.
4958 (_nl_load_domain): Use ISO C style. Get rid of redundant
4959 semicolon. Fix typo and formatting in comment.
4960 (_nl_unload_domain): Use ISO C style.
4962 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4964 2014-07-02 Will Newton <will.newton@linaro.org>
4966 * malloc/obstack.c: Merge from gnulib master.
4967 [HAVE_CONFIG_H]: Remove conditional code.
4968 [!_LIBC]: Include config.h.
4969 [!ELIDE_CODE]: Don't include inttypes.h, include
4970 stdint.h unconditionally.
4971 (print_and_abort): Mark as _Noreturn.
4972 (_obstack_allocated_p): Mark as __attribute_pure__.
4973 (obstack_free): Rename to __obstack_free.
4974 [!__attribute__]: Remove conditional code.
4975 * malloc/obstack.h: Merge from gnulib master.
4976 [__cplusplus]: Move conditional down.
4977 [!__attribute_pure__]: Define __attribute_pure__ here
4978 if it is not already defined.
4979 (_obstack_memory_used): Mark as __attribute_pure__.
4980 [!__obstack_free]: Define as obstack_free.
4981 [__GNUC__]: Remove check for ancient NeXT gcc.
4983 2014-07-02 Will Newton <will.newton@linaro.org>
4984 Paul Eggert <eggert@cs.ucla.edu>
4986 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4988 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4990 * resolv/gethnamaddr.c: Add comment warning that the file is
4993 2014-07-01 Carlos O'Donell <carlos@redhat.com>
4995 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4998 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4999 entry for aio_cancel and aio_cancel64.
5000 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5001 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5002 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5003 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5004 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5005 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5006 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5007 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5008 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5009 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5010 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5011 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5012 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5014 2014-07-01 Roland McGrath <roland@hack.frob.com>
5016 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5017 * nptl/pthread_mutex_lock.c: Likewise.
5018 * nptl/pthread_mutex_timedlock.c: Likewise.
5019 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5021 2014-07-01 Richard henderson <rth@redhat.com>
5023 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5024 (__isnan, __isnanl): Remove.
5025 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5027 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5029 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5031 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5033 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 * resolv/nss_dns/dns-host.c (getanswer_r)
5036 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5038 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5041 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5043 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5044 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5046 2014-07-01 Roland McGrath <roland@hack.frob.com>
5048 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5049 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5051 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5052 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5054 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5055 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5057 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5058 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5060 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5061 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5062 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5063 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5065 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5066 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5067 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5068 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5069 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5071 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5073 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5074 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5075 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5076 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5078 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5080 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5081 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5082 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5083 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5084 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5085 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5086 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5088 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5089 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5092 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5094 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5095 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5096 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5097 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5098 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5099 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5100 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5101 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5103 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5105 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5106 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5107 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5110 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5114 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5116 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5117 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5119 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5121 * sysdeps/arm/libm-test-ulps: Regenerated.
5123 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5124 Roland McGrath <roland@hack.frob.com>
5126 * test-skeleton.c (signal_handler): Kill the whole process group
5127 before killing the child individually.
5128 (main): Report any failure on `setpgid'.
5130 2014-06-30 Roland McGrath <roland@hack.frob.com>
5132 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5133 from _TLS_H to _ARM_NPTL_TLS_H.
5134 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5135 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5137 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5140 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5141 (__expm1l): Return argument unchanged when small but not
5144 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5146 (_FP_UNPACK_RAW_1_P): Likewise.
5147 (_FP_PACK_RAW_1): Likewise.
5148 (_FP_PACK_RAW_1_P): Likewise.
5149 (_FP_MUL_MEAT_1_wide): Likewise.
5150 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5151 (_FP_MUL_MEAT_1_hard): Likewise.
5152 (_FP_DIV_MEAT_1_imm): Likewise.
5153 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5154 (_FP_DIV_MEAT_1_udiv): Likewise.
5155 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5156 (_FP_UNPACK_RAW_2): Likewise.
5157 (_FP_UNPACK_RAW_2_P): Likewise.
5158 (_FP_PACK_RAW_2): Likewise.
5159 (_FP_PACK_RAW_2_P): Likewise.
5160 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5161 (_FP_MUL_MEAT_2_wide): Likewise.
5162 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5163 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5164 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5165 (_FP_MUL_MEAT_2_gmp): Likewise.
5166 (_FP_DIV_MEAT_2_udiv): Likewise.
5167 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5168 (_FP_FRAC_SRL_4): Likewise.
5169 (_FP_FRAC_SRST_4): Likewise.
5170 (_FP_FRAC_SRS_4): Likewise.
5171 (_FP_UNPACK_RAW_4): Likewise.
5172 (_FP_UNPACK_RAW_4_P): Likewise.
5173 (_FP_PACK_RAW_4): Likewise.
5174 (_FP_PACK_RAW_4_P): Likewise.
5175 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5176 (_FP_MUL_MEAT_4_wide): Likewise.
5177 (_FP_MUL_MEAT_4_gmp): Likewise.
5178 (umul_ppppmnnn): Likewise.
5179 (_FP_DIV_MEAT_4_udiv): Likewise.
5180 (__FP_FRAC_ADD_4): Likewise.
5181 (__FP_FRAC_SUB_3): Likewise.
5182 (__FP_FRAC_SUB_4): Likewise.
5183 (__FP_FRAC_DEC_3): Likewise.
5184 (__FP_FRAC_DEC_4): Likewise.
5185 (__FP_FRAC_ADDI_4): Likewise.
5186 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5187 (_FP_FRAC_SRL_8): Likewise.
5188 (_FP_FRAC_SRS_8): Likewise.
5190 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5192 (FP_UNPACK_RAW_EP): Likewise.
5193 (FP_PACK_RAW_E): Likewise.
5194 (FP_PACK_RAW_EP): Likewise.
5195 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5196 (_FP_ISSIGNAN): Likewise.
5197 (_FP_ADD_INTERNAL): Likewise.
5198 (_FP_FMA): Likewise.
5199 (_FP_CMP): Likewise.
5200 (_FP_SQRT): Likewise.
5201 (_FP_TO_INT): Likewise.
5202 (_FP_FROM_INT): Likewise.
5203 (FP_EXTEND): Likewise.
5204 (_FP_DIV_MEAT_N_loop): Likewise.
5206 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5208 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5211 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5215 result with correct sign in case of exponents that produce
5216 overflow except for X very close to 1.
5218 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5220 mktime: merge #if/#ifdef usage from glibc
5221 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5222 as that works with both Glibc's and Gnulib's style.
5223 See thread starting at Siddhesh Poyarekar's bug report at:
5224 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5226 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5228 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5229 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5230 * sysdeps/tile/tilegx/memmove.c: Remove file.
5232 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5234 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5235 abi-name definition.
5236 * scripts/soversions.awk: Do not handle or generate ABI lines.
5237 * shlib-versions: Remove ABI entries.
5238 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5239 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5241 2014-06-27 Roland McGrath <roland@hack.frob.com>
5243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5244 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5245 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5246 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5247 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5248 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5251 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5253 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5254 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5256 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5267 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5269 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5271 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5274 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5277 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5279 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5282 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5286 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5288 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5289 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5291 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5296 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5297 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5299 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5300 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5304 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5306 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5307 Identical file removed.
5308 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5310 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5312 Identical file removed.
5313 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5314 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5317 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5319 Identical file removed.
5320 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5321 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5322 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5323 Identical file removed.
5324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5325 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5327 Identical file removed.
5328 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5329 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5330 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5331 Identical file removed.
5332 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5334 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5335 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5336 Identical file removed.
5337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5339 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5340 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5341 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5342 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5343 Identical file removed.
5344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5346 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5348 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5349 Identical file removed.
5350 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5352 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5353 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5354 Identical file removed.
5355 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5357 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5358 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5359 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5360 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5361 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5362 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5364 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5365 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5366 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5368 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5369 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5370 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5371 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5372 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5374 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5377 * nscd/nscd.c (monitor_child): Return exit status of child
5378 instead of return value from wait syscall.
5380 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5382 * configure.ac (libc_commonpagesize): Remove variable.
5383 (libc_relro_required): Likewise.
5384 (libc_cv_z_relro): Remove configure test.
5385 * configure: Regenerated.
5386 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5388 (libc_relro_required): Likewise.
5389 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5390 (libc_relro_required): Likewise.
5391 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5392 (libc_relro_required): Likewise.
5393 * sysdeps/arm/preconfigure: Regenerated.
5394 * sysdeps/ia64/preconfigure: Remove file.
5395 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5397 (libc_relro_required): Likewise.
5401 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5402 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5403 recompute overflowing results in original rounding mode.
5404 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5405 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5406 recompute overflowing results in original rounding mode.
5407 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5408 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5409 recompute overflowing results in original rounding mode.
5410 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5411 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5412 recompute overflowing results in original rounding mode.
5413 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5414 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5415 recompute overflowing results in original rounding mode.
5416 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5417 (libc_feholdsetround_ctx): New macro.
5418 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5419 * sysdeps/i386/fpu/libm-test-ulps: Update.
5420 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5422 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5424 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5425 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5426 corresponding .cpsetup call.
5428 2014-06-26 Roland McGrath <roland@hack.frob.com>
5430 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5431 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5432 * sysdeps/arm/Makefile [$(subdir) = csu]
5433 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5434 (static-only-routines): Add aeabi_read_tp here.
5435 (shared-only-routines): Add libc-aeabi_read_tp here.
5436 (CFLAGS-libc-start.c): Add -fexceptions here.
5437 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5438 (sysdep_routines, static-only-routines, shared-only-routines):
5439 Don't add to these here.
5440 (CFLAGS-libc-start.c): Likewise.
5442 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5443 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5444 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5445 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5446 * sysdeps/arm/Makefile [$(subdir) = rt]
5447 (librt-sysdep_routines, librt-shared-only-routines):
5448 Append rt-aeabi_unwind_cpp_pr1 here.
5449 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5450 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5451 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5452 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5453 Append nptl-aeabi_unwind_cpp_pr1 here.
5454 (tests): Filter out tst-cleanupx4 here.
5455 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5456 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5457 Don't do those here.
5459 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5461 * scripts/list-sources.sh: Do not handle ports specially.
5463 2014-06-26 Roland McGrath <roland@hack.frob.com>
5465 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5466 * sysdeps/arm/feupdateenv.c: Likewise.
5468 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5470 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5472 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5473 trailing whitespace removed.
5474 * scripts/config.guess: Update to version 2014-03-23.
5475 * scripts/config.sub: Update to version 2014-05-01
5476 * scripts/install-sh: Update to version 2013-12-25.23.
5477 * scripts/move-if-change: Update from gnulib.
5479 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5481 * debug/memmove_chk.c: Remove pagecopy.h include.
5483 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5485 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5486 identical to gnulib mktime.
5488 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5490 * configure.ac: Do not test for machine being rs6000. Do not test
5492 * configure: Regenerated.
5494 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5496 * configure: Regenerated.
5497 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5498 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5499 Remove configure test.
5500 * sysdeps/arm/configure: Regenerated.
5501 * sysdeps/nptl/configure.ac: Do not check
5502 libc_cv_asm_cfi_directives.
5503 * sysdeps/nptl/configure: Regenerated.
5504 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5505 * sysdeps/x86_64/nptl/configure: Remove generated file.
5506 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5508 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5510 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5512 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5513 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5514 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5517 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5518 instead of whether it is defined.
5519 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5520 * sysdeps/hppa/dl-machine.h: Likewise.
5521 * sysdeps/ia64/dl-machine.h: Likewise.
5522 * sysdeps/m68k/dl-machine.h: Likewise.
5523 * sysdeps/microblaze/dl-machine.h: Likewise.
5524 * sysdeps/mips/dl-machine.: Likewise.
5525 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5526 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5527 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5528 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5529 * sysdeps/sh/dl-machine.h: Likewise.
5530 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5531 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5532 * sysdeps/tile/dl-machine.h: Likewise.
5533 * sysdeps/x86_64/dl-machine.h: Likewise.
5535 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5537 (verify_persistent_db): Likewise.
5539 2014-06-26 Roland McGrath <roland@hack.frob.com>
5541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5542 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5544 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5547 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5550 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5552 Identical file removed.
5553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5554 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5556 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5558 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5560 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5562 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5565 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5567 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5569 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5572 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5574 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5576 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5578 Identical file removed.
5579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5580 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5582 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5585 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5588 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5590 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5592 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5594 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5596 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5599 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5602 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5604 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5607 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5609 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5611 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5613 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5614 * sysdeps/unix/sysv/linux/s390/Versions
5615 (libpthread: GLIBC_2.19): New version set.
5616 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5617 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5618 (librt: GLIBC_2.3.3): New version set.
5619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5620 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5621 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5622 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5623 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5624 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5625 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5626 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5627 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5628 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5629 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5630 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5631 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5632 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5633 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5634 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5635 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5636 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5637 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5638 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5639 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5640 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5641 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5642 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5643 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5645 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5646 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5647 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5648 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5649 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5651 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5653 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5654 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5655 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5656 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5657 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5658 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5659 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5660 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5661 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5662 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5663 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5665 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5666 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5667 (__libc_vfork): Define the function under this name.
5668 [!NOT_IN_libc] (__vfork): Make this an alias.
5669 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5671 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5672 (__libc_vfork): Define the function under this name.
5673 [!NOT_IN_libc] (__vfork): Make this an alias.
5674 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5675 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5676 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5678 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5679 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5681 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5682 code that was previously under [RESET_PID].
5683 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5684 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5685 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5687 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5688 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5689 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5690 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5691 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5692 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5693 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5694 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5695 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5699 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5700 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5701 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5702 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5703 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5705 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5707 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5708 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5713 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5714 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5715 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5721 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5723 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5724 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5725 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5726 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5727 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5729 2014-06-25 Roland McGrath <roland@hack.frob.com>
5731 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5732 that was previously under [RESET_PID].
5733 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5735 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5737 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5738 not undefine and redefine.
5739 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5740 [O_CLOEXEC]: Make code unconditional.
5741 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5742 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5743 <kernel-features.h>.
5744 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5745 conditional variable definition.
5746 (shm_open) [O_CLOEXEC]: Make code unconditional.
5747 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5750 * configure.ac (USE_REGPARMS): Don't define here.
5751 * configure: Regenerated.
5752 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5753 * sysdeps/i386/configure: Regenerated.
5755 * nptl/createthread.c: Don't include kernel-features.h.
5756 * nptl/pthread_cancel.c: Likewise.
5757 * nptl/pthread_condattr_setclock.c: Likewise.
5758 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5759 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5760 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5761 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5762 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5763 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5764 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5765 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5766 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5767 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5768 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5769 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5770 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5771 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5772 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5773 * nscd/gai.c: Likewise.
5774 * nss/nss_db/db-open.c: Likewise.
5775 * sysdeps/generic/ldsodefs.h: Likewise.
5776 * sysdeps/sh/nptl/tls.h: Likewise.
5777 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5778 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5779 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5780 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5781 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5782 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5783 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5784 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5785 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5786 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5787 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5788 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5789 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5790 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5791 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5792 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5793 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5794 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5795 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5796 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5797 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5798 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5799 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5800 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5801 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5802 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5803 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5804 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5805 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5806 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5807 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5808 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5809 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5810 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5811 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5812 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5813 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5814 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5815 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5816 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5817 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5818 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5819 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5820 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5821 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5822 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5823 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5824 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5825 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5826 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5827 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5828 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5829 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5830 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5831 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5832 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5833 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5857 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5858 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5859 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5860 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5861 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5862 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5863 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5864 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5865 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5866 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5867 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5868 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5869 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5870 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5871 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5872 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5873 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5874 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5875 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5876 * sysdeps/unix/sysv/linux/system.c: Likewise.
5877 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5878 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5879 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5880 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5881 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5882 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5883 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5885 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5886 * configure: Regenerated.
5887 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5889 * configure.ac (base_machine): Do not set specially for particular
5891 * configure: Regenerated.
5892 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5893 settings from configure.ac.
5894 * sysdeps/i386/preconfigure: New file.
5895 * sysdeps/s390/preconfigure: Likewise.
5896 * sysdeps/sh/preconfigure: Likewise.
5897 * sysdeps/sparc/preconfigure: Likewise.
5899 2014-06-25 Roland McGrath <roland@hack.frob.com>
5901 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5902 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5903 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5904 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5905 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5906 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5907 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5908 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5909 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5910 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5911 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5912 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5913 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5914 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5915 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5916 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5917 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5918 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5919 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5921 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5922 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5923 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5924 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5925 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5926 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5927 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5928 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5929 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5930 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5931 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5932 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5933 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5934 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5935 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5936 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5937 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5938 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5939 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5940 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5941 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5942 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5943 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5944 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5945 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5946 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5947 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5948 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5949 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5950 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5951 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5952 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5953 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5954 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5955 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5956 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5957 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5958 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5961 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5963 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5966 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5969 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5971 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5974 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5976 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5978 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5980 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5983 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5986 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5988 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5991 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5995 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5997 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6002 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6005 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6007 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6010 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6012 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6014 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6016 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6019 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6022 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6024 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6027 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6029 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6031 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6033 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6035 * timezone/checktab.awk: Update from tzcode 2014e.
6036 * timezone/private.h: Likewise.
6037 * timezone/tzfile.h: Likewise.
6038 * timezone/zdump.c: Likewise.
6039 * timezone/zic.c: Likewise.
6041 * sysdeps/unix/sysv/linux/kernel-features.h
6042 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6044 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6045 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6046 Remove conditional code.
6048 2014-06-25 Will Newton <will.newton@linaro.org>
6050 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6051 (_dl_arm_cap_flags): Add HWCAP2 values.
6052 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6053 (_DL_HWCAP_COUNT): Increase to 37.
6054 (_DL_HWCAP_LAST): New define.
6055 (_DL_HWCAP2_LAST): New define.
6056 (_dl_procinfo): Add support for printing
6058 (_dl_string_hwcap): Use _dl_hwcap_string.
6060 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6064 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6066 * README: Do not mention ports directory.
6068 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6070 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6071 <kernel-features.h>.
6072 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6073 conditional variable definition.
6074 (__futimes): Update comment.
6075 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6076 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6079 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6080 arguments close to 0.
6081 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6083 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6085 * math/auto-libm-test-in: Add more tests of exp10.
6086 * math/auto-libm-test-out: Regenerated.
6087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6089 * sysdeps/unix/sysv/linux/kernel-features.h
6090 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6091 * sysdeps/unix/sysv/linux/readv.c: Do not include
6092 <kernel-features.h>.
6093 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6094 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6095 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6097 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6099 * sysdeps/unix/sysv/linux/writev.c: Do not include
6100 <kernel-features.h>.
6101 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6102 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6103 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6105 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6108 2014-06-25 Will Newton <will.newton@linaro.org>
6110 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6111 comment changes throughout the file. Remove checks
6112 for HAVE_*_H definitions that are not required.
6113 (__gen_tempname): Call abort if an unknown kind value is
6116 2014-06-25 Andreas Schwab <schwab@suse.de>
6119 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6120 scalbln, scalblnf, scalblnl in libc.
6122 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6125 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6126 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6127 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6129 2014-06-24 Roland McGrath <roland@hack.frob.com>
6131 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6132 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6133 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6134 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6136 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6137 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6139 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6140 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6141 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6142 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6143 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6144 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6145 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6146 * sysdeps/x86/bits/semaphore.h: ... here.
6147 * sysdeps/x86/nptl/elide.h: Moved ...
6148 * sysdeps/x86/elide.h: ... here.
6149 * sysdeps/x86_64/nptl/Implies: File removed.
6150 * sysdeps/i386/nptl/Implies: File removed.
6152 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6155 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6156 return the argument for normal arguments with exponent below -64.
6157 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6159 * math/auto-libm-test-in: Add another test of expm1.
6160 * math/auto-libm-test-out: Regenerated.
6163 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6164 calling __erfcl for arguments at least 16.
6165 * math/auto-libm-test-in: Add more tests of erf.
6166 * math/auto-libm-test-out: Regenerated.
6168 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6169 individual architectures.
6170 * sysdeps/unix/sysv/linux/configure: Regenerated.
6171 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6172 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6173 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6174 (ldd_rewrite_script): Define variable.
6175 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6180 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6181 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6182 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6183 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6184 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6185 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6186 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6187 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6189 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6192 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6193 Rename member __data.d to __data.__elision_data.
6195 2014-06-24 Wilco <wdijkstr@arm.com>
6197 * NEWS: Add 16918 to fixed bug list.
6199 2014-06-24 Wilco <wdijkstr@arm.com>
6201 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6203 2014-06-24 Wilco <wdijkstr@arm.com>
6205 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6206 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6207 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6208 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6209 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6210 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6211 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6214 2014-06-24 Wilco <wdijkstr@arm.com>
6216 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6218 2014-06-24 Wilco <wdijkstr@arm.com>
6220 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6221 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6222 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6223 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6225 2014-06-24 Wilco <wdijkstr@arm.com>
6228 * sysdeps/arm/feupdateenv.c (feupdateenv):
6229 Rewrite to reduce FPSCR accesses and fix return value.
6231 2014-06-24 Wilco <wdijkstr@arm.com>
6233 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6234 Optimize to avoid unnecessary FPSCR writes.
6235 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6236 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6237 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6238 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6240 2014-06-24 Wilco <wdijkstr@arm.com>
6242 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6243 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6244 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6245 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6246 Call libc_fetestexcept_vfp.
6247 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6248 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6249 __SOFTFP__ ifdef so that they can be built for softfp.
6251 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6253 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6254 argument type signed char.
6256 * Makerules (check-abi): Dump diff of symlist if the test
6259 2014-06-23 Roland McGrath <roland@hack.frob.com>
6261 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6264 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6265 Remove unused variable ST.
6267 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6272 small arguments before calling __expm1.
6273 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6274 small arguments before calling __expm1f.
6275 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6276 small arguments before calling __expm1l.
6277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6279 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6280 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6281 spurious underflow for some cosh tests.
6282 * math/auto-libm-test-out: Regenerated.
6283 * sysdeps/i386/fpu/libm-test-ulps: Update.
6286 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6287 (__ieee754_y1): Set errno if return value overflows.
6288 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6289 (__ieee754_y1f): Set errno if return value overflows.
6290 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6291 (__ieee754_y1l): Set errno if return value overflows.
6292 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6293 (__ieee754_y1l): Set errno if return value overflows.
6294 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6295 * math/auto-libm-test-out: Regenerated.
6297 * math/gen-auto-libm-tests.c: Document use of
6298 ignore-zero-inf-sign.
6299 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6300 (input_flags): Add ignore-zero-inf-sign.
6301 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6302 * math/gen-libm-test.pl (generate_testfile): Handle
6303 ignore-zero-inf-sign.
6304 * math/auto-libm-test-in: Mark some cpow tests with
6305 ignore-zero-inf-sign and some with xfail-rounding.
6306 * math/auto-libm-test-out: Regenerated.
6307 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6308 * sysdeps/i386/fpu/libm-test-ulps: Update.
6309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6312 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6313 overflowing or underflowing operations take place with sign of
6315 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6316 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6317 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6318 (__ieee754_pow): Recompute overflowing and underflowing results in
6319 original rounding mode.
6320 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6321 (__powl_helper): Allow negative argument X and scale negated value
6322 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6323 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6324 overflowing or underflowing operations take place with sign of
6326 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6328 * math/auto-libm-test-in: Add more tests of pow.
6329 * math/auto-libm-test-out: Regenerated.
6330 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6331 (pow_tonearest_test_data): Remove.
6332 (pow_test_tonearest): Likewise.
6333 (pow_towardzero_test_data): Likewise.
6334 (pow_test_towardzero): Likewise.
6335 (pow_downward_test_data): Likewise.
6336 (pow_test_downward): Likewise.
6337 (pow_upward_test_data): Likewise.
6338 (pow_test_upward): Likewise.
6339 (main): Don't call removed functions.
6340 * sysdeps/i386/fpu/libm-test-ulps: Update.
6341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6343 2014-06-23 Roland McGrath <roland@hack.frob.com>
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6519 2014-06-23 Will Newton <will.newton@linaro.org>
6520 Wilco <wdijkstr@arm.com>
6522 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6523 implementation. Include get-rounding-mode.h.
6524 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6525 [!libc_feholdsetround_noex_ctx]: Define
6526 libc_feholdsetround_noex_ctx.
6527 [!libc_feholdsetround_noexf_ctx]: Define
6528 libc_feholdsetround_noexf_ctx.
6529 [!libc_feholdsetround_noexl_ctx]: Define
6530 libc_feholdsetround_noexl_ctx.
6531 (libc_feholdsetround_ctx): New function.
6532 (libc_feresetround_ctx): New function.
6533 (libc_feholdsetround_noex_ctx): New function.
6534 (libc_feresetround_noex_ctx): New function.
6536 2014-06-23 Roland McGrath <roland@hack.frob.com>
6538 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6539 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6540 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6541 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6542 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6543 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6545 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6546 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6547 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6548 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6549 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6550 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6551 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6552 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6553 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6554 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6555 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6557 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6560 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6561 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6562 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6563 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6565 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6566 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6567 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6568 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6569 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6570 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6571 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6572 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6574 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6577 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6579 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6582 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6583 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6584 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6586 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6587 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6588 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6589 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6590 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6591 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6593 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6595 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6596 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6597 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6598 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6599 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6600 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6602 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6603 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6604 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6605 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6606 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6609 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6610 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6611 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6612 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6613 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6614 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6616 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6618 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6619 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6620 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6622 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6623 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6624 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6625 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6626 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6627 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6628 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6629 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6631 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6632 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6633 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6634 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6637 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6638 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6639 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6640 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6641 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6642 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6643 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6644 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6645 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6646 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6647 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6648 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6649 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6651 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6654 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6655 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6656 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6657 (IPV6_PMTUDISC_INTERFACE): Likewise.
6658 (IPV6_PMTUDISC_OMIT): Likewise.
6660 2014-06-23 Andreas Schwab <schwab@suse.de>
6662 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6663 Remove unused errout label.
6665 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6667 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6668 macro: hardware supports Vector Crypto instructions.
6670 2014-06-23 Will Newton <will.newton@linaro.org>
6672 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6673 rather than __builtin_expect.
6675 * elf/dl-lookup.c (undefined_msg): Remove variable.
6676 (_dl_lookup_symbol_x): Replace undefined_msg with string
6679 * elf/dl-lookup.c (do_lookup_unique): New function.
6680 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6681 to a separate function.
6683 2014-06-23 Andreas Schwab <schwab@suse.de>
6686 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6687 before reading the next line.
6689 2014-06-23 Will Newton <will.newton@linaro.org>
6691 * test-skeleton.c (signal_handler): Use printf and %m
6692 rather than perror. Use printf rather than fprintf to
6693 stderr. Use puts rather than fputs to stderr.
6696 2014-06-22 Ludovic Courtès <ludo@gnu.org>
6698 * nscd/nscd.c (thread_info_t): Remove typedef.
6699 (thread_info): Remove variable.
6701 2014-06-21 Allan McRae <allan@archlinux.org>
6703 * NEWS: Mention CVE-2014-4043.
6705 2014-06-20 Roland McGrath <roland@hack.frob.com>
6707 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6708 * nptl/smp.h: ... here.
6710 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6712 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6713 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6714 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6715 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6717 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6718 * nptl/stack-aliasing.h: New file.
6719 * sysdeps/i386/i686/stack-aliasing.h: New file.
6720 * sysdeps/i386/i686/nptl/Makefile: File removed.
6721 * sysdeps/x86_64/stack-aliasing.h: New file.
6722 * sysdeps/x86_64/nptl/Makefile
6723 (CFLAGS-pthread_create.c): Variable removed.
6725 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6726 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6728 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6729 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6732 2014-06-21 Joseph Myers <joseph@codesourcery.com>
6734 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6735 (__ASSUME_SIGFRAME_V2): Remove macro.
6736 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6737 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6738 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6739 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6740 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6741 Declare as function. Remove conditional macro definitions.
6742 (__default_rt_sa_restorer): Likewise.
6743 (__default_sa_restorer_v1): Remove declaration.
6744 (__default_sa_restorer_v2): Likewise.
6745 (__default_rt_sa_restorer_v1): Likewise.
6746 (__default_rt_sa_restorer_v2): Likewise.
6747 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6748 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6749 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6751 2014-06-20 Roland McGrath <roland@hack.frob.com>
6753 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6754 (libpthread-routines): Add sysdep.
6755 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6756 * sysdeps/unix/sysv/linux/sparc/Versions
6757 (libpthread: GLIBC_2.3.3): New version set.
6758 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6759 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6760 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6761 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6762 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6763 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6765 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6766 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6767 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6768 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6769 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6770 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6771 * sysdeps/sparc/nptl/sem_init.c: ... here.
6772 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6773 * sysdeps/sparc/nptl/sem_post.c: ... here.
6774 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6775 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6776 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6777 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6778 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6779 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6780 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6781 (libpthread-routines): Add cpu_relax.
6782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6784 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6785 (librt: GLIBC_2.3.3): New version set.
6786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6787 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6788 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6789 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6791 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6792 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6795 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6797 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6799 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6801 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6803 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6806 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6810 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6814 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6818 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6822 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6826 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6829 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6835 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6837 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6840 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6842 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6844 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6846 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6848 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6849 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6850 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6851 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6852 * nscd/nscd.c: Likewise.
6853 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6854 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6855 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6856 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6858 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6859 <kernel-features.h>.
6860 (init_mq_netlink): Remove conditional have_sock_cloexec
6861 definitions. Remove code conditional on have_sock_cloexec < 0.
6862 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6863 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6864 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6865 <kernel-features.h>.
6866 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6867 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6869 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6872 Add tests for memset_chk and memset.
6874 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6877 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6880 * elf/tst-dl-iter-static.c: New file.
6881 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6883 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6886 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6888 * sysdeps/unix/sysv/linux/kernel-features.h
6889 (__ASSUME_F_GETOWN_EX): Remove macro.
6890 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6891 <kernel-features.h>.
6892 (miss_F_GETOWN_EX): Remove variable or macro.
6893 (do_fcntl): Do not check miss_F_GETOWN_EX.
6894 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6896 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6899 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6900 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6902 * sysdeps/unix/sysv/linux/kernel-features.h
6903 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6904 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6905 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6906 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6908 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6911 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6912 Fix calculation of the symbol's value.
6913 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6914 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6915 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6916 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6917 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6918 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6919 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6920 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6921 (modules-names): Add `tst-armtlsdescmod',
6922 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6923 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6924 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6925 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6926 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6927 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6928 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6929 ($(objpfx)tst-armtlsdescloc): New dependency.
6930 ($(objpfx)tst-armtlsdescextnow): Likewise.
6931 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6932 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6934 * sysdeps/arm/configure: Regenerate.
6936 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6938 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6939 (__atfct_seterrno_2): Likewise.
6940 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6941 <kernel-features.h>.
6942 (__ASSUME_ATFCTS): Do not undefine and redefine.
6943 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6944 (__have_atfcts): Remove conditional definition.
6945 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6946 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6947 unreachable if [__ASSUME_ATFCTS].
6948 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6949 not undefine and redefine.
6950 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6951 <kernel-features.h>.
6952 (faccessat) [__NR_faccessat]: Make code unconditional.
6953 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6954 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6955 <kernel-features.h>.
6956 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6957 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6958 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6959 <kernel-features.h>.
6960 (fchownat) [__NR_fchownat]: Make code unconditional.
6961 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6962 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6963 <kernel-features.h>.
6964 (futimesat) [__NR_futimesat]: Make code unconditional.
6965 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6966 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6967 <kernel-features.h>.
6968 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6969 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6970 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6971 <kernel-features.h>.
6972 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6973 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6974 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6975 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6976 <kernel-features.h>.
6977 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6978 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6979 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6980 <kernel-features.h>.
6981 (linkat) [__NR_linkat]: Make code unconditional.
6982 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6983 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6984 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6985 <kernel-features.h>.
6986 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6987 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6988 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6989 <kernel-features.h>.
6990 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6991 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6992 * sysdeps/unix/sysv/linux/openat.c: Do not include
6993 <kernel-features.h>.
6994 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6995 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6996 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6997 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6998 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6999 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7000 <kernel-features.h>.
7001 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7002 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7003 result of INLINE_SYSCALL directly, not via int variable.
7004 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7005 <kernel-features.h>.
7006 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7007 (renameat) [__NR_renameat]: Make code unconditional.
7008 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7009 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7010 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7011 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7012 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7013 (__ASSUME_ATFCTS): Do not undefine and redefine.
7014 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7015 <kernel-features.h>.
7016 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7017 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7018 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7019 <kernel-features.h>.
7020 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7021 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7022 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7023 (__ASSUME_ATFCTS): Do not undefine and redefine.
7024 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7025 <kernel-features.h>.
7026 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7027 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7028 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7029 <kernel-features.h>.
7030 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7031 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7033 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7035 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7037 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7040 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7041 constructed tree before returning error.
7042 * posix/bug-regexp36.c: Expand test case.
7044 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7047 * math/libm-test.inc (scalbln_test_date):
7048 Add errno expectations.
7049 * math/w_scalblnf.c: New File.
7050 Add wrapper which checks for setting errno to ERANGE.
7051 Add weak_alias for corresponding scalbln function.
7052 * math/w_scalbln.c: Likewise.
7053 * math/w_scalblnl.c: Likewise.
7054 * math/Makefile (libm-calls): Add w_scalbln.
7055 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7056 Remove weak_alias for corresponding scalbln function.
7057 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7059 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7061 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7062 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7063 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7064 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7065 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7066 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7067 Remove long_double_symbol for scalblnl function in libm, libc.
7068 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7069 Add wrapper which checks for setting errno to ERANGE.
7070 Add long_double_symbol for scalblnl function in libm, libc.
7071 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7072 Remove long_double_symbol for scalblnl in libm.
7073 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7074 Add wrapper which checks for setting errno to ERANGE.
7075 Add long_double_symbol for scalblnl function in libm.
7076 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7077 Do not use wrapper because of own implementation.
7079 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7081 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7082 3 bytes for __pad1 for x32.
7083 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7085 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7086 H.J. Lu <hongjiu.lu@intel.com>
7088 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7089 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7090 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7091 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7092 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7094 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7097 * posix/regcomp.c (parse_expression): Deallocate partially
7098 constructed tree before returning error.
7099 * posix/Makefile.c (tests): Add bug-regex36.
7100 (generated): Add bug-regex36.mtrace.
7101 (tests-special): Add $(objpfx)bug-regex36-mem.out
7102 (bug-regex36-ENV): New variable.
7103 ($(objpfx)bug-regex36-mem.out): New rule.
7104 * posix/bug-regex36.c: New file.
7106 2014-06-19 Will Newton <will.newton@linaro.org>
7108 * malloc/malloc.c (systrim): If extra is zero then return
7111 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7113 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7115 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7117 * sysdeps/aarch64/strchr.S: New file.
7119 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7122 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7123 from arguments -2 or below.
7124 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7125 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7127 2014-06-18 Andreas Schwab <schwab@suse.de>
7130 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7131 of a bracket expr not to run off the end of the string.
7132 * posix/Makefile (tests): Add tst-fnmatch3.
7133 * posix/tst-fnmatch3.c: New file.
7135 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7137 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7138 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7139 [$(cross-compiling) = no]: Likewise.
7140 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7141 [$(cross-compiling) = no]: Likewise.
7143 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7147 double, adjusted for any remainder from the high double.
7148 * math/libm-test.inc (nearbyint): Add tests.
7151 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153 * nptl/sysdeps/powerpc/Makefile: Moved ...
7154 * sysdeps/powerpc/nptl/Makefile: ... here.
7155 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7156 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7157 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7158 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7159 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7160 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7161 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7162 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7163 * nptl/sysdeps/powerpc/tls.h: Moved ...
7164 * sysdeps/powerpc/nptl/tls.h: ... here.
7166 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7169 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7170 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7171 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7172 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7173 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7174 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7175 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7176 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7177 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7179 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7181 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7183 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7185 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7188 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7191 2014-06-16 Florian Weimer <fweimer@redhat.com>
7194 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7195 non-executed part of the test.
7197 2014-06-16 Andreas Schwab <schwab@suse.de>
7199 * string/bits/string2.h (strdup, strndup): Update feature guard.
7201 2014-06-14 David S. Miller <davem@davemloft.net>
7203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7205 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7207 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7208 that was previously under [RESET_PID].
7209 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7211 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7212 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7213 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7214 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7215 (__libc_vfork): New strong alias.
7216 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7218 2014-06-14 Andi Kleen <ak@linux.intel.com>
7220 * sysdeps/generic/elide.h: New file.
7222 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7224 * Makefile (installed-headers): Adjust path of pthread.h header.
7226 2014-06-13 Roland McGrath <roland@hack.frob.com>
7228 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7229 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7230 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7231 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7233 * nptl/sysdeps/s390/Makefile: Moved ...
7234 * sysdeps/s390/nptl/Makefile: ... here.
7235 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7236 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7237 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7238 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7239 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7240 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7241 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7242 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7243 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7244 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7245 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7246 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7247 * nptl/sysdeps/s390/tls.h: Moved ...
7248 * sysdeps/s390/nptl/tls.h: ... here.
7250 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7251 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7253 2014-06-13 David S. Miller <davem@davemloft.net>
7255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7258 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7262 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7263 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7264 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7265 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7266 Remove RESET_PID cpp guards.
7267 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7268 Remove RESET_PID cpp guards.
7269 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7271 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7273 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7276 2014-06-13 Andi Kleen <ak@linux.intel.com>
7278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7279 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7280 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7281 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7282 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7283 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7284 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7285 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7286 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7287 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7288 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7289 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7290 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7291 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7292 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7293 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7294 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7295 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7296 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7297 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7299 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7300 (pthread_rwlock_rdlock): Add elision.
7301 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7302 (pthread_rwlock_wrlock): Add elision.
7303 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7304 (pthread_rwlock_trywrlock): Add elision.
7305 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7306 (pthread_rwlock_tryrdlock): Add elision.
7307 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7308 (pthread_rwlock_tryrdlock): Add elision unlock.
7309 * nptl/sysdeps/pthread/pthread.h:
7310 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7311 (PTHREAD_RWLOCK_INITIALIZER,
7312 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7313 Handle new elision field.
7314 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7315 * sysdeps/arm/nptl/bits/pthreadtypes.h
7316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7317 * sysdeps/sh/nptl/bits/pthreadtypes.h
7318 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7319 * sysdeps/tile/nptl/bits/pthreadtypes.h
7320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7321 * sysdeps/a/nptl/bits/pthreadtypes.h
7322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7323 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7324 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7325 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7326 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7327 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7329 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7331 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7333 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7335 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7337 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7339 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7340 (elision_init): Set try_xbegin to zero when no RTM.
7341 * sysdeps/x86/nptl/bits/pthreadtypes.h
7342 (pthread_rwlock_t): Change __pad1 to __rwelision.
7343 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7345 2014-06-13 Andi Kleen <ak@linux.intel.com>
7347 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7348 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7349 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7350 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7352 2014-06-13 Meador Inge <meadori@codesourcery.com>
7355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7356 that the cached result has been set before returning it.
7358 2014-06-12 Roland McGrath <roland@hack.frob.com>
7360 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7361 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7362 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7363 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7364 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7365 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7367 * nptl/sysdeps/sparc/Makefile: Moved ...
7368 * sysdeps/sparc/nptl/Makefile: ... here.
7369 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7370 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7371 * nptl/sysdeps/sparc/tls.h: Moved ...
7372 * sysdeps/sparc/nptl/tls.h: ... here.
7373 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7374 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7375 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7376 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7377 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7378 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7379 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7380 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7381 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7382 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7383 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7384 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7385 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7386 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7387 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7388 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7389 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7390 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7392 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7393 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7395 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7396 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7398 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7399 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7402 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7404 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7405 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7407 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7408 (struct list_links): Type removed.
7409 (struct thread_node, struct timer_node): Replace struct list_links
7410 with struct list_head.
7411 (list_unlink_ip): Likewise.
7412 * sysdeps/pthread/timer_routines.c
7413 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7414 (list_append, list_insbefore): Likewise.
7415 (list_init): Function removed.
7416 (thread_init, init_module): Use INIT_LIST_HEAD instead.
7417 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7418 * sysdeps/pthread/Makefile: ... here, new file.
7420 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7421 * sysdeps/nptl/Implies: ... here.
7422 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7423 * nptl/sysdeps/pthread/list.h: Moved ...
7424 * include/list.h: ... here.
7425 * nptl/sysdeps/pthread/createthread.c: Moved ...
7426 * nptl/createthread.c: ... here.
7427 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7428 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7429 * nptl/pt-longjmp.c: ... here.
7430 * nptl/sysdeps/pthread/Makefile: Moved ...
7431 * sysdeps/nptl/Makefile: ... here.
7432 * nptl/sysdeps/pthread/Subdirs: Moved ...
7433 * sysdeps/nptl/Subdirs: ... here.
7434 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7435 * sysdeps/nptl/aio_misc.h: ... here.
7436 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7437 * sysdeps/nptl/bits/libc-lock.h: ... here.
7438 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7439 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7440 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7441 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7442 * nptl/sysdeps/pthread/configure: Moved ...
7443 * sysdeps/nptl/configure: ... here.
7444 * nptl/sysdeps/pthread/configure.ac: Moved ...
7445 * sysdeps/nptl/configure.ac: ... here.
7446 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7447 * sysdeps/nptl/gai_misc.h: ... here.
7448 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7449 * sysdeps/nptl/librt-cancellation.c: ... here.
7450 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7451 * sysdeps/nptl/malloc-machine.h: ... here.
7452 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7453 * sysdeps/nptl/pthread-functions.h: ... here.
7454 * nptl/sysdeps/pthread/pthread.h: Moved ...
7455 * sysdeps/nptl/pthread.h: ... here.
7456 * nptl/sysdeps/pthread/setxid.h: Moved ...
7457 * sysdeps/nptl/setxid.h: ... here.
7458 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7459 * sysdeps/nptl/sigfillset.c: ... here.
7460 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7461 * sysdeps/nptl/tcb-offsets.h: ... here.
7462 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7463 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7464 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7465 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7466 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7467 * sysdeps/pthread/allocalim.h: ... here.
7468 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7469 * sysdeps/pthread/bits/sigthread.h: ... here.
7470 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7471 * sysdeps/pthread/flockfile.c: ... here.
7472 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7473 * sysdeps/pthread/ftrylockfile.c: ... here.
7474 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7475 * sysdeps/pthread/funlockfile.c: ... here.
7476 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7477 * sysdeps/pthread/posix-timer.h: ... here.
7478 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7479 * sysdeps/pthread/timer_create.c: ... here.
7480 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7481 * sysdeps/pthread/timer_delete.c: ... here.
7482 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7483 * sysdeps/pthread/timer_getoverr.c: ... here.
7484 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7485 * sysdeps/pthread/timer_gettime.c: ... here.
7486 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7487 * sysdeps/pthread/timer_routines.c: ... here.
7488 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7489 * sysdeps/pthread/timer_settime.c: ... here.
7490 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7491 * sysdeps/pthread/tst-timer.c: ... here.
7492 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7493 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7495 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7496 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7498 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7499 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7500 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7501 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7502 Update #include target.
7503 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7504 * sysdeps/i386/i686/nptl/Makefile: ... here.
7505 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7506 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7507 Update #include target.
7508 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7509 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7510 * nptl/sysdeps/i386/Makefile: Moved ...
7511 * sysdeps/i386/nptl/Makefile: ... here.
7512 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7513 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7514 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7515 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7516 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7517 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7518 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7519 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7520 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7521 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7522 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7523 * nptl/sysdeps/i386/tls.h: Moved ...
7524 * sysdeps/i386/nptl/tls.h: ... here.
7526 * sysdeps/sh/Makefile [$(subdir) = csu]
7527 (gen-as-const-headers): Add tcb-offsets.sym.
7528 * nptl/sysdeps/sh/Makefile: File removed.
7529 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7530 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7531 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7532 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7533 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7534 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7535 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7536 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7537 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7538 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7539 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7540 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7541 * nptl/sysdeps/sh/tls.h: Moved ...
7542 * sysdeps/sh/nptl/tls.h: ... here.
7543 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7544 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7545 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7546 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7547 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7548 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7549 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7550 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7551 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7552 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7553 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7554 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7555 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7556 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7557 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7558 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7559 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7560 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7561 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7562 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7563 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7564 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7565 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7566 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7567 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7569 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7570 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7572 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7573 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7574 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7576 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7577 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7578 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7579 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7580 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7581 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7582 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7583 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7584 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7585 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7586 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7587 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7588 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7590 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7592 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7594 * posix/spawn_faction_addopen.c: Include string.h.
7596 2014-06-11 Roland McGrath <roland@hack.frob.com>
7598 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7599 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7600 * nptl/sysdeps/x86_64/Makefile: Moved ...
7601 * sysdeps/x86_64/nptl/Makefile: ... here.
7602 * nptl/sysdeps/x86_64/configure: Moved ...
7603 * sysdeps/x86_64/nptl/configure: ... here.
7604 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7605 * sysdeps/x86_64/nptl/configure.ac: ... here.
7606 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7607 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7608 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7609 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7610 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7611 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7612 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7613 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7614 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7615 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7616 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7617 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7618 * nptl/sysdeps/x86_64/tls.h: Moved ...
7619 * sysdeps/x86_64/nptl/tls.h: ... here.
7620 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7621 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7622 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7623 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7625 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7627 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7631 2014-06-11 Joseph Myers <joseph@codesourcery.com>
7633 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7635 [POSIX] (off_t): Likewise.
7636 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7637 [POSIX] (S_ISBLK): Require macro.
7638 [POSIX] (S_ISCHR): Likewise.
7639 [POSIX] (S_ISDIR): Likewise.
7640 [POSIX] (S_ISFIFO): Likewise.
7641 [POSIX] (S_ISREG): Likewise.
7642 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7644 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7646 [POSIX] (time_t): Likewise.
7647 [POSIX] (timer_t): Likewise.
7649 2014-06-11 Florian Weimer <fweimer@redhat.com>
7652 * posix/spawn_int.h (struct __spawn_action): Make the path string
7653 non-const to support deallocation.
7654 * posix/spawn_faction_addopen.c
7655 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7656 * posix/spawn_faction_destroy.c
7657 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7658 path in all spawn_do_open actions.
7659 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7660 posix_spawn_file_actions_addopen.
7662 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7664 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7665 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7666 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7667 conditional code always true.
7668 (__libc_vfork): New alias.
7670 2014-06-11 Roland McGrath <roland@hack.frob.com>
7672 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7673 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7675 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7677 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7678 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7680 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7681 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7683 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7684 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7686 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7688 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7689 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7690 multiarch strcmp for PPC64.
7691 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7692 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7694 multiarch optimizations.
7695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7696 (__libc_ifunc_impl_list): Likewise.
7698 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7700 * benchtests/scripts/validate_benchout.py: New script.
7701 * benchtests/Makefile (bench-func): Call it.
7702 * benchtests/scripts/benchout.schema.json: New file.
7704 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7706 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7707 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7708 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7709 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7710 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7711 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7712 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7713 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7714 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7715 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7716 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7717 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7718 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7719 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7720 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7721 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7825 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7826 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7827 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7828 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7829 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7831 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7833 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7834 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7836 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7838 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7839 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7840 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7842 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7844 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7847 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7848 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7850 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7852 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7855 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7857 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7858 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7859 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7860 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7861 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7863 2014-06-10 Wilco <wdijkstr@arm.com>
7865 * math/test-fenv-return.c: New file.
7866 * math/Makefile: Add new test test-fenv-return.
7868 2014-06-10 Joseph Myers <joseph@codesourcery.com>
7871 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7873 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7874 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7875 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7876 0.0L for an argument of 1.0L.
7877 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7879 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7880 value when x - 1 is zero.
7881 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7882 * sysdeps/i386/fpu/libm-test-ulps: Update.
7883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7885 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7888 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7890 2014-06-09 Roland McGrath <roland@hack.frob.com>
7892 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7893 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7895 2014-06-09 Roland McGrath <roland@hack.frob.com>
7897 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7898 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7900 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7901 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7903 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7904 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7906 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7907 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7909 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7910 if not already defined.
7911 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7912 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7913 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7914 (TLS_INIT_TP): Use it.
7915 (TLS_DEFINE_INIT_TP): New macro.
7916 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7918 2014-06-09 Joseph Myers <joseph@codesourcery.com>
7920 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7922 [POSIX] (IXANY): Likewise.
7923 [POSIX] (OLCUC): Likewise.
7924 [POSIX || POSIX2008] (CBAUD): Do not allow.
7925 [POSIX || POSIX2008] (DEFECHO): Likewise.
7926 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7927 [POSIX || POSIX2008] (ECHOKE): Likewise.
7928 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7929 [POSIX || POSIX2008] (EXTA): Likewise.
7930 [POSIX || POSIX2008] (EXTB): Likewise.
7931 [POSIX || POSIX2008] (FLUSHO): Likewise.
7932 [POSIX || POSIX2008] (LOBLK): Likewise.
7933 [POSIX || POSIX2008] (PENDIN): Likewise.
7934 [POSIX || POSIX2008] (SWTCH): Likewise.
7935 [POSIX || POSIX2008] (VDISCARD): Likewise.
7936 [POSIX || POSIX2008] (VDSUSP): Likewise.
7937 [POSIX || POSIX2008] (VLNEXT): Likewise.
7938 [POSIX || POSIX2008] (VREPRINT): Likewise.
7939 [POSIX || POSIX2008] (VSTATUS): Likewise.
7940 [POSIX || POSIX2008] (VWERASE): Likewise.
7941 (B*): Change to B[0123456789]*.
7942 * conform/data/time.h-data [POSIX || UNIX98]
7943 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7944 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7945 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7946 [POSIX] (tm_*): Do not allow.
7948 2014-06-07 Joseph Myers <joseph@codesourcery.com>
7950 * Makefile (install): Don't set LANGUAGE.
7951 * Makefile.in (install): Likewise.
7952 * assert/Makefile (test-assert-ENV): Remove variable.
7953 (test-assert-perr-ENV): Likewise.
7954 * elf/Makefile (neededtest4-ENV): Likewise.
7955 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7956 [$(cross-compiling) = no]: Don't set LANGUAGE.
7957 * io/ftwtest-sh (LANG): Remove variable.
7958 * libio/Makefile (tst-widetext-ENV): Likewise.
7959 * manual/install.texi (Running make install): Don't refer to
7960 environment settings for make install.
7961 * INSTALL: Regenerated.
7962 * nptl/tst-tls6.sh: Don't set LANG.
7963 * posix/globtest.sh (LANG): Remove variable.
7964 * string/Makefile (tester-ENV): Likewise.
7965 (inl-tester-ENV): Likewise.
7966 (noinl-tester-ENV): Likewise.
7967 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7968 [$(cross-compiling) = no]: Don't set LANGUAGE.
7969 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7970 without explicit environment settings.
7972 2014-06-06 Roland McGrath <roland@hack.frob.com>
7974 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7975 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7976 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7977 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7979 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7981 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7982 other files in the crypt directory.
7983 * crypt/crypt.c: Remove duplicate includes.
7984 * crypt/crypt-entry.c: Likewise.
7985 * crypt/crypt_util.c: Likewise.
7987 2014-06-06 Joseph Myers <joseph@codesourcery.com>
7989 * Makeconfig (run-program-env): New variable.
7990 (run-program-prefix-before-env): Likewise.
7991 (run-program-prefix-after-env): Likewise.
7992 (run-program-prefix): Define in terms of new variables.
7993 (built-program-cmd-before-env): New variable.
7994 (built-program-cmd-after-env): Likewise.
7995 (built-program-cmd): Define in terms of new variables.
7996 (test-program-prefix-before-env): New variable.
7997 (test-program-prefix-after-env): Likewise.
7998 (test-program-prefix): Define in terms of new variables.
7999 (test-program-cmd-before-env): New variable.
8000 (test-program-cmd-after-env): Likewise.
8001 (test-program-cmd): Define in terms of new variables.
8002 * Rules (make-test-out): Use $(run-program-env).
8003 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8004 (help): Do not mention environment variables. Mention
8005 --timeoutfactor option.
8006 (timeoutfactor): New variable.
8007 (blacklist_exports): Remove function.
8008 (exports): Remove variable.
8009 (command): Do not include ${exports}.
8010 * manual/install.texi (Configuring and compiling): Do not mention
8011 test wrappers preserving environment variables. Mention that last
8012 assignment to a variable must take precedence.
8013 * INSTALL: Regenerated.
8014 * benchtests/Makefile (run-bench): Use $(run-program-env).
8015 * catgets/Makefile ($(objpfx)test1.cat): Use
8016 $(built-program-cmd-before-env), $(run-program-env) and
8017 $(built-program-cmd-after-env).
8018 ($(objpfx)test2.cat): Do not specify environment variables
8020 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8021 $(run-program-env) and $(built-program-cmd-after-env).
8022 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8023 $(run-program-env) and $(test-program-cmd-after-env).
8024 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8026 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8027 run_program_env and test_program_cmd_after_env arguments.
8028 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8029 * elf/tst-pathopt.sh: Use run_program_env argument.
8030 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8031 $(test-wrapper-env) and $(run-program-env).
8032 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8033 run_program_env arguments.
8034 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8035 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8036 $(test-program-prefix-before-env), $(run-program-env) and
8037 $(test-program-prefix-after-env).
8038 ($(objpfx)tst-gettext2.out): Likewise.
8039 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8040 run_program_env and test_program_prefix_after_env arguments.
8041 * intl/tst-gettext2.sh: Likewise.
8042 * intl/tst-gettext4.sh: Do not set environment variables
8044 * intl/tst-gettext6.sh: Likewise.
8045 * intl/tst-translit.sh: Likewise.
8046 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8047 $(test-program-prefix-before-env), $(run-program-env) and
8048 $(test-program-prefix-after-env).
8049 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8050 run_program_env and test_program_prefix_after_env arguments.
8051 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8052 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8053 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8054 explicitly with each use of ${test_wrapper_env}.
8055 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8056 $(test-program-prefix-before-env), $(run-program-env) and
8057 $(test-program-prefix-after-env).
8058 * posix/tst-getconf.sh: Do not set environment variables
8060 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8061 run_program_env and test_program_prefix_after_env arguments.
8062 * stdio-common/tst-printf.sh: Do not set environment variables
8064 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8065 $(test-program-prefix-before-env), $(run-program-env) and
8066 $(test-program-prefix-after-env).
8067 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8068 run_program_env and test_program_prefix_after_env arguments.
8069 Split $test calls into $test_pre and $test.
8070 * timezone/Makefile (build-testdata): Use
8071 $(built-program-cmd-before-env), $(run-program-env) and
8072 $(built-program-cmd-after-env).
8074 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8076 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8077 strlen for non SHARED builds.
8079 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8081 * nptl/allocatestack.c (check_list): Inlined function...
8082 (__reclaim_stacks): ... here.
8084 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8087 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8090 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8092 * Rules (make-test-out): Include
8093 LOCPATH=$(common-objpfx)localedata in default environment.
8094 * debug/Makefile (tst-chk1-ENV): Remove variable.
8095 (tst-chk2-ENV): Likewise.
8096 (tst-chk3-ENV): Likewise.
8097 (tst-chk4-ENV): Likewise.
8098 (tst-chk5-ENV): Likewise.
8099 (tst-chk6-ENV): Likewise.
8100 (tst-lfschk1-ENV): Likewise.
8101 (tst-lfschk2-ENV): Likewise.
8102 (tst-lfschk3-ENV): Likewise.
8103 (tst-lfschk4-ENV): Likewise.
8104 (tst-lfschk5-ENV): Likewise.
8105 (tst-lfschk6-ENV): Likewise.
8106 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8107 (tst-iconv7-ENV): Likewise.
8108 * intl/Makefile (LOCPATH-ENV): Likewise.
8109 (tst-codeset-ENV): Likewise.
8110 (tst-gettext3-ENV): Likewise.
8111 (tst-gettext5-ENV): Likewise.
8112 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8113 (tst-fopenloc-ENV): Likewise.
8114 (tst-fgetws-ENV): Remove variable.
8115 (tst-ungetwc1-ENV): Likewise.
8116 (tst-ungetwc2-ENV): Likewise.
8117 (bug-ungetwc2-ENV): Likewise.
8118 (tst-swscanf-ENV): Likewise.
8119 (bug-ftell-ENV): Likewise.
8120 (tst-fgetwc-ENV): Likewise.
8121 (tst-fseek-ENV): Likewise.
8122 (tst-ftell-partial-wide-ENV): Likewise.
8123 (tst-ftell-active-handler-ENV): Likewise.
8124 (tst-ftell-append-ENV): Likewise.
8125 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8126 (tst-regexloc-ENV): Likewise.
8127 (bug-regex1-ENV): Likewise.
8128 (tst-regex-ENV): Likewise.
8129 (tst-regex2-ENV): Likewise.
8130 (bug-regex5-ENV): Likewise.
8131 (bug-regex6-ENV): Likewise.
8132 (bug-regex17-ENV): Likewise.
8133 (bug-regex18-ENV): Likewise.
8134 (bug-regex19-ENV): Likewise.
8135 (bug-regex20-ENV): Likewise.
8136 (bug-regex22-ENV): Likewise.
8137 (bug-regex23-ENV): Likewise.
8138 (bug-regex25-ENV): Likewise.
8139 (bug-regex26-ENV): Likewise.
8140 (bug-regex30-ENV): Likewise.
8141 (bug-regex32-ENV): Likewise.
8142 (bug-regex33-ENV): Likewise.
8143 (bug-regex34-ENV): Likewise.
8144 (bug-regex35-ENV): Likewise.
8145 (tst-rxspencer-ENV): Likewise.
8146 (tst-rxspencer-no-utf8-ENV): Likewise.
8147 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8148 (tst-sscanf-ENV): Likewise.
8149 (tst-swprintf-ENV): Likewise.
8150 (tst-swscanf-ENV): Likewise.
8151 (test-vfprintf-ENV): Likewise.
8152 (scanf13-ENV): Likewise.
8153 (bug14-ENV): Likewise.
8154 (tst-grouping-ENV): Likewise.
8155 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8156 (tst-strtod3-ENV): Likewise.
8157 (tst-strtod4-ENV): Likewise.
8158 (tst-strtod5-ENV): Likewise.
8159 (testmb2-ENV): Likewise./
8160 * string/Makefile (tst-strxfrm-ENV): Likewise.
8161 (tst-strxfrm2-ENV): Likewise.
8162 (bug-strcoll1-ENV): Likewise.
8163 (test-strcasecmp-ENV): Likewise.
8164 (test-strncasecmp-ENV): Likewise.
8165 * time/Makefile (tst-strptime-ENV): Likewise.
8166 (tst-ftime_l-ENV): Likewise.
8167 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8168 (tst-mbrtowc-ENV): Likewise.
8169 (tst-wcrtomb-ENV): Likewise.
8170 (tst-mbrtowc2-ENV): Likewise.
8171 (tst-c16c32-1-ENV): Likewise.
8172 (tst-mbsnrtowcs-ENV): Likewise.
8174 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8176 * manual/resource.texi (How to get information about the memory
8177 subsystem?): Fix typo.
8178 Reported by Peon de la Parra Ivan <peon@keba.com>
8180 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8183 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8184 (pthread_spin_lock): Branch out of spin loop to proper location.
8185 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8186 (pthread_spin_lock): Likewise.
8188 * nptl/tst-spin4.c: New test.
8189 * nptl/Makefile (tests): Add tst-spin4.
8191 2014-06-03 Andreas Schwab <schwab@suse.de>
8194 * resolv/res_send.c (send_dg): Reload file descriptor after
8197 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8199 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8201 2014-06-03 Richard Henderson <rth@redhat.com>
8203 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8204 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8205 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8206 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8207 in the SAVE_PID block.
8208 (__libc_vfork): New alias.
8209 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8211 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8212 child in registers, not on the stack. Remove RESET_PID conditionals.
8213 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8215 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8217 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8219 2014-06-03 Wilco <wdijkstr@arm.com>
8221 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8222 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8223 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8224 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8225 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8228 2014-06-03 Wilco <wdijkstr@arm.com>
8230 * sysdeps/aarch64/fpu/math_private.h
8231 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8232 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8233 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8234 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8237 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8239 * crypt/crypt-private.h: Include ufc-crypt.h.
8240 (__b64_from_24bit): Declare extern.
8241 * crypt/crypt_util.c(__b64_from_24bit): New function.
8242 (b64t): New static const variable.
8243 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8244 (b64t): Remove variable.
8245 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8246 * crypt/sha256-crypt.c: Include crypt-private.h.
8247 (b64t): Remove variable.
8248 (__sha256_crypt_r): Remove b64_from_24bit and replace
8249 with __b64_from_24bit.
8250 * crypt/sha512-crypt.c: Likewise.
8252 2014-06-02 Roland McGrath <roland@hack.frob.com>
8254 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8255 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8256 Label the code __libc_vfork rather than __vfork.
8257 [!NOT_IN_libc] (vfork): Define as weak alias.
8258 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8259 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8260 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8262 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8264 * malloc/malloc.c (malloc_info): Fix format specifier for
8267 2014-06-02 Wilco <wdijkstr@arm.com>
8269 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8272 2014-06-02 Wilco <wdijkstr@arm.com>
8275 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8276 Rewrite to reduce FPCR/FPSR accesses.
8278 2014-06-01 David S. Miller <davem@davemloft.net>
8280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8282 2014-05-31 David S. Miller <davem@davemloft.net>
8284 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8285 to occur in round to nearest mode when |x| >= 2.0
8287 2014-05-30 Richard Henderson <rth@twiddle.net>
8289 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8290 (PSEUDO_RET_NOERRNO): Remove.
8291 (ret): Don't redefine.
8292 (ret_NOERRNO): Define in terms of ret.
8293 (ret_ERRVAL): Likewise.
8295 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8296 use of PSEUDO_RET; perform the error check directly.
8298 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8300 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8303 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8305 * malloc/malloc (malloc_info): Fix formatting.
8307 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8308 Roland McGrath <roland@hack.frob.com>
8310 * malloc/malloc (malloc_info): Also print mmapped statistics.
8312 2014-05-30 Roland McGrath <roland@hack.frob.com>
8314 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8315 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8317 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8319 * malloc/malloc.c (malloc_info): Inline mi_arena.
8321 2014-05-29 Richard Henderson <rth@twiddle.net>
8323 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8324 Remove comma before expanding ASM_ARGS_##nr.
8325 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8326 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8328 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8329 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8330 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8331 (ASM_ARGS_1): Add leading comma.
8333 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8334 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8335 to __errno_location.
8336 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8337 Remove the expected plt for __errno_location.
8339 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8340 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8343 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8344 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8345 it and break it down.
8346 (DOCARGS_0, DOCARGS_1): Do nothing.
8347 (DOCARGS_2): Update to store into the new stack frame.
8348 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8349 (UNDOCARGS_1): Update to restore from the new stack frame.
8350 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8351 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8353 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8354 (SINGLE_THREAD_P): New parameter for result regno.
8355 (PSEUDO): Update to match; use cbz instead of beq.
8357 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8358 Use ENTRY to define the _nocancel entry point. Share the syscall
8359 and syscall error check paths with the cancel path.
8362 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8363 whitespace; tabs before and after asm mnemonics.
8365 2014-05-29 Eric Wong <normalperson@yhbt.net>
8368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8369 Call fstat64 or stat64 internally, depending on arguments passed.
8370 Replace stat buffer argument with file descriptor argument.
8371 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8372 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8373 Pass fd to __internal_statvfs instead of calling fstat64.
8374 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8375 Pass fd to __internal_statvfs64 instead of calling fstat64.
8376 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8377 Pass -1 to __internal_statvfs instead of calling stat64.
8378 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8379 Pass -1 to __internal_statvfs64 instead of calling stat64.
8381 2014-05-28 Roland McGrath <roland@hack.frob.com>
8383 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8384 that was previously under [RESET_PID].
8385 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8387 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8388 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8390 2014-05-27 Roland McGrath <roland@hack.frob.com>
8392 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8394 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8395 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8397 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
8399 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8401 2014-05-27 Andreas Schwab <schwab@suse.de>
8403 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8405 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8406 * elf/rtld.c (init_tls, dl_main): Likewise.
8407 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8408 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8409 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8410 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8411 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8412 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8413 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8414 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8415 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8416 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8417 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8418 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8419 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8420 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8421 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8422 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8423 * sysdeps/generic/tls.h: Update description.
8425 2014-05-27 Will Newton <will.newton@linaro.org>
8428 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8429 and restore r2 rather than just restoring.
8431 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8434 * libio/tst-ftell-append.c: New test case.
8435 * libio/Makefile (tests): Add test case.
8436 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8438 * libio/wfileops.c (do_ftell_wide): Likewise.
8440 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8444 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8448 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8449 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8451 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8453 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8460 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8461 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8463 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8466 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8467 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8469 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8471 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8473 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8474 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8475 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8477 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8478 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8479 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8480 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8503 conditional [RESET_PID].
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8512 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8513 (__libc_vfork): New strong alias.
8514 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8516 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8521 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8522 (__libc_vfork): New strong alias.
8523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8528 2014-05-26 Carlos O'Donell <carlos@redhat.com>
8530 * malloc/malloc.c (mi_arena): New function.
8531 (malloc_info): Remove nested function mi_arena. Call non-nosted
8534 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8536 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8538 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8539 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8540 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8541 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8542 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8543 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8544 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8546 2014-05-26 Andreas Schwab <schwab@suse.de>
8549 * locale/programs/repertoire.c (repertoire_read): Add slash
8550 between I18NPATH element and file name.
8551 * locale/programs/locfile.c (locfile_read): Likewise.
8553 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8555 * nptl/pthread_mutexattr_settype.c
8556 (__pthread_mutexattr_settype):
8557 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8559 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8561 * nptl/tst-mutex5 (do_test):
8562 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8564 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8566 * benchtests/README: Document 'init' directive.
8567 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8569 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8570 (parse_file): Recognize 'init' directive.
8572 2014-05-26 Kyle McMartin <kyle@redhat.com>
8575 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8576 alignment of struct pthread.
8578 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8581 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8582 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8583 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8584 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8586 2014-05-25 Richard Henderson <rth@twiddle.net>
8588 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8589 (SINGLE_THREAD_P_PIC): Remove.
8590 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8591 (SINGLE_THREAD_P_PIC): Remove.
8593 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8594 branch to syscall error ...
8596 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8597 from __local_syscall_error to .Lsyscall_error.
8598 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8599 (SYSCALL_ERROR): Update label name.
8601 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8602 Do not use DOARGS/UNDOARGS.
8603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8604 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8605 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8606 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8607 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8609 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8612 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8613 define if !NOT_IN_libc.
8614 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8615 define with non-default symbol versions.
8617 2014-05-23 Richard Henderson <rth@twiddle.net>
8619 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8620 (vfork, __vfork): Define via compat_symbol.
8622 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8623 [!HAVE_IFUNC] (vfork_compat): Remove.
8624 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8626 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8629 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8630 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8633 2014-05-23 Richard Henderson <rth@twiddle.net>
8635 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8636 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8637 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8638 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8640 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8641 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8642 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8643 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8644 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8645 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8646 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8647 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8648 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8649 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8650 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8651 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8652 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8653 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8654 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8655 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8656 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8657 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8658 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8659 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8660 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8661 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8662 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8663 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8664 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8665 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8666 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8667 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8668 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8669 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8670 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8671 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8672 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8673 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8674 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8675 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8676 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8677 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8678 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8679 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8680 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8681 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8682 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8683 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8684 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8685 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8686 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8687 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8688 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8689 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8690 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8691 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8692 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8693 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8694 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8695 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8697 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8698 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8699 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8700 before exiting on error.
8701 (__libc_vfork): New strong alias.
8702 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8703 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8705 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8706 that was previously under [RESET_PID].
8707 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8709 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8711 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8714 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8715 value when x - 1 is zero.
8716 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8717 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8718 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8719 0.0L for an argument of 1.0L.
8720 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8722 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8723 value when x - 1 is zero.
8724 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8725 * sysdeps/i386/fpu/libm-test-ulps: Update.
8726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8728 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8730 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8731 alphasort and versionsort.
8733 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8735 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8737 [copysignf]: Likewise.
8739 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8741 * crypt/md5-crypt.c: Fix formatting.
8743 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8745 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8746 (b64_from_24bit): New function.
8748 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8750 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8751 libc_hidden_builtin_def to ifunc.
8752 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8753 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8755 2014-05-21 Roland McGrath <roland@hack.frob.com>
8757 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8758 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8760 2014-05-21 Joseph Myers <joseph@codesourcery.com>
8762 * nscd/Depend (linuxthreads): Remove.
8764 * resolv/Depend (linuxthreads): Remove.
8765 * rt/Depend (linuxthreads): Remove.
8767 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8768 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8769 $(common-objpfx)elf/.
8770 (link-libc-before-gnulib): Likewise.
8771 (elfobjdir): Remove variable.
8772 * Makefile (install): Use $(elf-objpfx) instead of
8773 $(common-objpfx)elf/.
8774 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8776 (link-libc-deps): Likewise.
8777 ($(common-objpfx)libc.so): Likewise.
8778 ($(common-objpfx)linkobj/libc.so): Likewise.
8779 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8780 instead of $(common-objpfx)elf/.
8781 (symbolic-link-list): Likewise.
8782 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8783 [$(cross-compiling) = no]: Likewise.
8784 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8786 (static-gnulib-arch): Likewise.
8787 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8788 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8789 $(common-objpfx)elf/.
8791 2014-05-21 Richard Henderson <rth@redhat.com>
8793 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8794 (SINGLE_THREAD_P): Use the correct width load. Fold
8795 into the ldr offset.
8797 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8798 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8800 2014-05-20 Joseph Myers <joseph@codesourcery.com>
8802 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8803 (libgcc_s_resume): Use __attribute_used__.
8804 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8807 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8809 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8810 optimization when used with float constants.
8812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8814 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8817 * locale/nl_langinfo_l.c: Make direct reference to every
8818 _nl_current_CATEGORY symbol.
8819 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8820 (tests-static): Add tst-langinfo-static.
8821 (tests-special): Add tst-langinfo-static.out.
8822 ($(objpfx)tst-langinfo.out): Redirect output.
8823 ($(objpfx)tst-langinfo-static.out): New.
8824 * localedata/tst-langinfo.sh: Send output to stdout.
8825 * localedata/tst-langinfo-static.c: New file.
8828 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8829 when the shift amount is modulo the limb size.
8831 2014-05-20 Richard Henderson <rth@redhat.com>
8834 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8835 Change type of sa_flags from unsigned int to int.
8838 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8840 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8842 2014-05-20 Will Newton <will.newton@linaro.org>
8844 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8845 Test the return value of the system call in the nocancel case.
8847 2014-05-20 Will Newton <will.newton@linaro.org>
8848 Yvan Roux <yvan.roux@linaro.org>
8850 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8851 #include of asm/ptrace.h.
8852 (PTRACE_GET_THREAD_AREA): Remove #undef.
8853 (PTRACE_GETHBPREGS): Likewise.
8854 (PTRACE_SETHBPREGS): Likewise.
8855 (struct user_regs_struct): New structure.
8856 (struct user_fpsimd_struct): New structure.
8857 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8858 #include of asm/ptrace.h and second #include of sys/user.h.
8859 (PTRACE_GET_THREAD_AREA): Remove #undef.
8860 (PTRACE_GETHBPREGS): Likewise.
8861 (PTRACE_SETHBPREGS): Likewise.
8862 (ELF_NGREG): Use new struct user_regs_struct.
8863 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8865 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8867 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8868 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8870 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8873 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8874 membar to avoid block loads/stores to overlap previous stores.
8876 2014-05-17 Richard Henderson <rth@redhat.com>
8878 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8879 Create the __##syscall_name##_nocancel entry point.
8880 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8881 Remove; let the sysdep-cancel.h code create it.
8883 2014-05-17 David S. Miller <davem@davemloft.net>
8885 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8886 Protect with __USE_GNU.
8887 (TIOCSET_TEMPT): Likewise.
8888 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8889 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8890 these are already provided in bits/ioctl-types.h
8892 2014-05-16 Roland McGrath <roland@hack.frob.com>
8894 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8895 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8897 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8898 Use wait4 regardless of [__NR_waitpid].
8900 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8903 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8904 (_FP_NANSIGN_Q): Set the quiet bit.
8906 2014-05-16 Joseph Myers <joseph@codesourcery.com>
8908 * benchtests/Makefile
8909 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8910 not $(common-objpfx)math/libm.so.
8911 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8912 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8913 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8914 $(common-objpfx)dlfcn/libdl.so.
8915 ($(objpfx)tst-audit8): Depend on $(libm), not
8916 $(common-objpfx)math/libm.so.
8917 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8918 not $(common-objpfx)dlfcn/libdl.so.
8920 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8921 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8922 [$(build-shared) = yes].
8923 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8924 $(common-objpfx)nptl/libpthread.so.
8925 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8926 $(common-objpfx)math/libm.so$(libm.so-version) or
8927 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8928 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8929 $(common-objpfx)dlfcn/libdl.so.
8930 * setjmp/Makefile (link-libm): Remove variable.
8931 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8932 * stdio-common/Makefile (link-libm): Remove variable.
8933 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8934 * stdlib/Makefile (link-libm): Remove variable.
8935 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8936 ($(objpfx)tst-strtod-round): Likewise.
8937 ($(objpfx)tst-tininess): Likewise.
8938 ($(objpfx)tst-strtod-underflow): Likewise.
8939 ($(objpfx)tst-strtod6): Likewise.
8940 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8941 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8942 $(common-objpfx)dlfcn/libdl.so.
8944 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8946 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8947 BSD terminal modes definitions.
8949 2014-05-16 Roland McGrath <roland@hack.frob.com>
8951 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8952 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8954 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8955 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8956 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8957 Don't do #include_next.
8958 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8959 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8960 Don't do #include_next.
8961 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8962 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8963 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8964 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8966 2014-05-16 Allan McRae <allan@archlinux.org>
8968 * po/sv.po: Update Swedish translation from translation project.
8970 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8973 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8976 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8977 errno if the TIOCGPTN ioctl fails with an error different than
8979 * login/tst-ptsname.c: New file.
8980 * login/Makefile (tests): Add tst-ptsname.
8983 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8986 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8990 herrno to return EAI_AGAIN.
8992 2014-05-14 Roland McGrath <roland@hack.frob.com>
8994 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8995 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8996 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8997 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8998 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8999 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9000 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9001 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9002 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9003 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9004 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9005 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9006 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9007 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9008 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9009 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9010 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9011 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9012 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9013 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9014 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9015 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9016 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9017 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9018 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9019 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9020 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9021 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9022 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9023 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9025 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9027 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9030 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9032 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9034 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9036 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9038 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9040 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9042 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9044 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9046 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9048 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9050 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9052 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9054 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9056 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9059 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9061 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9063 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9065 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9067 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9069 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9071 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9073 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9075 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9077 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9080 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9082 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9084 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9085 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9086 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9087 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9088 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9089 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9090 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9091 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9092 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9093 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9094 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9095 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9096 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9097 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9098 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9099 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9100 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9101 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9102 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9103 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9104 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9105 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9106 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9107 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9108 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9109 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9110 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9111 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9112 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9113 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9114 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9116 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9117 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9119 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9120 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9121 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9122 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9123 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9124 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9126 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9127 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9129 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9130 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9132 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9133 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9135 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9136 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9137 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9138 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9140 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9141 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9142 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9143 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9144 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9145 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9146 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9147 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9149 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9150 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9152 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9154 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9155 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9156 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9157 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9158 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9160 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9162 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9164 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9165 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9166 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9167 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9168 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9169 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9171 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9172 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9174 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9175 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9177 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9178 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9180 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9181 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9182 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9183 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9185 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9186 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9187 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9188 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9189 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9190 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9191 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9192 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9194 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9195 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9197 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9199 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9200 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9201 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9202 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9203 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9205 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9207 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9209 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9210 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9211 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9212 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9213 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9214 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9215 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9216 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9217 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9218 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9220 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9221 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9223 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9224 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9226 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9227 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9229 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9230 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9231 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9232 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9233 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9234 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9236 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9237 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9238 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9239 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9240 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9241 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9242 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9243 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9245 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9246 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9248 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9250 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9251 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9252 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9253 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9254 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9256 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9258 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9260 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9261 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9262 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9263 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9264 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9265 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9266 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9267 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9268 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9269 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9270 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9272 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9273 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9275 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9276 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9278 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9279 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9280 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9281 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9282 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9284 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9285 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9286 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9287 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9288 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9290 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9292 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9293 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9294 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9295 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9297 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9298 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9299 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9300 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9302 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9303 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9304 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9306 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9307 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9308 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9309 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9311 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9314 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9316 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9318 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9320 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9322 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9323 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9324 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9326 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9328 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9329 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9330 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9333 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9334 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9335 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9336 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9338 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9339 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9340 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9341 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9342 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9343 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9344 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9345 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9346 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9347 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9349 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9350 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9352 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9353 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9354 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9355 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9356 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9357 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9358 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9359 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9360 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9361 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9362 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9363 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9364 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9365 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9368 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9370 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9372 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9384 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9387 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9388 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9389 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9391 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9392 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9393 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9394 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9395 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9396 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9397 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9398 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9399 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9400 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
9402 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9403 that was previously under [RESET_PID].
9404 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9405 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9406 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9408 * sysdeps/i386/nptl/Implies: New file.
9409 * sysdeps/x86_64/nptl/Implies: New file.
9410 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9411 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9412 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9413 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9415 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9416 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9417 (__libc_vfork): New strong alias.
9418 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9419 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9421 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9422 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9423 (__libc_vfork): New strong alias.
9424 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9425 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9427 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9428 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9429 (__libc_vfork): New strong alias.
9430 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9431 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9432 * nptl/pt-vfork.c: New file.
9433 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9434 (libpthread: GLIBC_2.20): New version set (empty).
9436 2014-05-14 Will Newton <will.newton@linaro.org>
9438 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9441 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9444 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9445 arguments with exponent 65 or above.
9446 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9447 arguments 0x1p113L or above.
9448 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9449 to arguments 0x1p107L or above.
9450 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9451 positive arguments with exponent 65 or above.
9452 * math/auto-libm-test-in: Add more tests of log1p.
9453 * math/auto-libm-test-out: Regenerated.
9456 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9457 non-finite arguments is +0.
9458 * math/s_cacosf.c (__cacosf): Likewise.
9459 * math/s_cacosl.c (__cacosl): Likewise.
9460 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9461 * sysdeps/i386/fpu/libm-test-ulps: Update.
9462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9465 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9467 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9468 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9469 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9470 for explicit high bit of mantissa when testing for argument equal
9472 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9473 * sysdeps/i386/fpu/libm-test-ulps: Update.
9474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9477 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9478 (__erf): Scale by 16 instead of 8 in potentially underflowing
9479 case. Ensure exception if result actually underflows.
9480 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9481 (__erff): Scale by 16 instead of 8 in potentially underflowing
9482 case. Ensure exception if result actually underflows.
9483 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9484 (efx8): Remove variable.
9485 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9486 case. Ensure exception if result actually underflows.
9487 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9488 (efx8): Remove variable.
9489 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9490 case. Ensure exception if result actually underflows.
9491 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9492 (efx8): Remove variable.
9493 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9494 case. Ensure exception if result actually underflows.
9495 * math/auto-libm-test-in: Add more tests of erf.
9496 * math/auto-libm-test-out: Regenerated.
9498 2014-05-14 Andreas Schwab <schwab@suse.de>
9500 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9501 Remove code conditionalized on USE___THREAD.
9503 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9504 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9507 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9510 Define unconditionally.
9511 (__ASSUME_O_CLOEXEC): Likewise.
9512 (__ASSUME_SOCK_CLOEXEC): Likewise.
9513 (__ASSUME_IN_NONBLOCK): Likewise.
9514 (__ASSUME_PIPE2): Likewise.
9515 (__ASSUME_EVENTFD2): Likewise.
9516 (__ASSUME_SIGNALFD4): Likewise.
9517 (__ASSUME_DUP3): Likewise.
9518 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9519 (__ASSUME_DUP3): Do not define.
9520 (__ASSUME_EVENTFD2): Likewise.
9521 (__ASSUME_IN_NONBLOCK): Likewise.
9522 (__ASSUME_O_CLOEXEC): Likewise.
9523 (__ASSUME_PIPE2): Likewise.
9524 (__ASSUME_SIGNALFD4): Likewise.
9525 (__ASSUME_SOCK_CLOEXEC): Likewise.
9526 (__ASSUME_UTIMES): Undefine.
9527 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9528 (__ASSUME_UTIMES): Do not define.
9529 (__ASSUME_O_CLOEXEC): Likewise.
9530 (__ASSUME_SOCK_CLOEXEC): Likewise.
9531 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9532 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9534 (__ASSUME_PIPE2): Likewise.
9535 (__ASSUME_EVENTFD2): Likewise.
9536 (__ASSUME_SIGNALFD4): Likewise.
9537 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9538 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9540 (__ASSUME_EVENTFD2): Likewise.
9541 (__ASSUME_SIGNALFD4): Likewise.
9542 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9543 (__ASSUME_32BITUIDS): Likewise.
9544 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9545 (__ASSUME_IPC64): Likewise.
9546 (__ASSUME_ST_INO_64_BIT): Likewise.
9547 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9548 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9549 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9550 (__ASSUME_UTIMES): Do not define.
9551 (__ASSUME_PSELECT): Likewise.
9552 (__ASSUME_PPOLL): Likewise.
9553 (__ASSUME_O_CLOEXEC): Likewise.
9554 (__ASSUME_SOCK_CLOEXEC): Likewise.
9555 (__ASSUME_IN_NONBLOCK): Likewise.
9556 (__ASSUME_PIPE2): Likewise.
9557 (__ASSUME_EVENTFD2): Likewise.
9558 (__ASSUME_SIGNALFD4): Likewise.
9559 (__ASSUME_DUP3): Likewise.
9560 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9561 (__ASSUME_UTIMES): Likewise.
9562 (__ASSUME_O_CLOEXEC): Likewise.
9563 (__ASSUME_SOCK_CLOEXEC): Likewise.
9564 (__ASSUME_IN_NONBLOCK): Likewise.
9565 (__ASSUME_PIPE2): Likewise.
9566 (__ASSUME_EVENTFD2): Likewise.
9567 (__ASSUME_SIGNALFD4): Likewise.
9568 (__ASSUME_DUP3): Likewise.
9569 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9570 (__ASSUME_UTIMES): Likewise.
9571 (__ASSUME_O_CLOEXEC): Likewise.
9572 (__ASSUME_SOCK_CLOEXEC): Likewise.
9573 (__ASSUME_IN_NONBLOCK): Likewise.
9574 (__ASSUME_PIPE2): Likewise.
9575 (__ASSUME_EVENTFD2): Likewise.
9576 (__ASSUME_SIGNALFD4): Likewise.
9577 (__ASSUME_DUP3): Likewise.
9578 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9580 (__ASSUME_UTIMES): Likewise.
9581 (__ASSUME_EVENTFD2): Likewise.
9582 (__ASSUME_SIGNALFD4): Likewise.
9583 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9584 (__ASSUME_O_CLOEXEC): Likewise.
9585 (__ASSUME_SOCK_CLOEXEC): Likewise.
9586 (__ASSUME_IN_NONBLOCK): Likewise.
9587 (__ASSUME_PIPE2): Likewise.
9588 (__ASSUME_EVENTFD2): Likewise.
9589 (__ASSUME_SIGNALFD4): Likewise.
9590 (__ASSUME_DUP3): Likewise.
9591 (__ASSUME_UTIMES): Undefine.
9593 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9594 feclearexcept. Remove symbol versioning code.
9595 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9596 symbol versioning code.
9597 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9598 symbol versioning code.
9599 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9600 feupdateenv. Remove symbol versioning code.
9601 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9602 fegetexceptflag. Remove symbol versioning code.
9603 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9604 fesetexceptflag. Remove symbol versioning code.
9605 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9606 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9607 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9608 (__posix_fadvise64_l32): Remove prototype.
9609 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9612 2014-05-13 Roland McGrath <roland@hack.frob.com>
9614 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9615 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9616 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9617 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9619 2014-05-13 Sami Kerola <kerolasa@iki.fi>
9621 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9622 current working directory
9624 2014-05-13 Roland McGrath <roland@hack.frob.com>
9626 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9627 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9628 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9629 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9630 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9631 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9632 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9633 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9634 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9635 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9647 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9649 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9650 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9651 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9653 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9654 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9655 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9656 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9657 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9659 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9660 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9661 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9662 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9663 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9664 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9665 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9666 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9667 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9669 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9670 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9672 * sysdeps/unix/sysv/linux/arm/Makefile
9673 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9674 Add rt-aeabi_unwind_cpp_pr1.
9675 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9676 Add nptl-aeabi_unwind_cpp_pr1.
9677 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9678 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9679 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9680 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9681 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9682 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9684 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9685 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9686 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9687 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9689 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9690 Deconditionalize the code that was previously under [RESET_PID].
9691 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9693 * sysdeps/generic/exit-thread.h: New file.
9694 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9695 * include/unistd.h (__exit_thread): Remove declaration.
9696 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9697 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9698 * csu/libc-start.c: Include <exit-thread.h>.
9699 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9700 * nptl/pthread_create.c: Include <exit-thread.h>.
9701 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9702 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9703 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9704 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9705 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9706 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9707 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9708 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9709 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9710 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9711 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9712 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9713 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9714 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9715 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9716 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9717 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9719 2014-05-13 Andreas Schwab <schwab@suse.de>
9721 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9723 2014-05-12 Joseph Myers <joseph@codesourcery.com>
9725 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9726 (__ASSUME_UTIMES): Do not condition on kernel version.
9727 (__ASSUME_PSELECT): Define unconditionally.
9728 (__ASSUME_PPOLL): Likewise.
9729 (__ASSUME_ATFCTS): Likewise.
9730 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9731 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9732 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9733 (__ASSUME_UTIMENSAT): Define unconditionally.
9734 (__ASSUME_PRIVATE_FUTEX): Likewise.
9735 (__ASSUME_FALLOCATE): Likewise.
9736 (__ASSUME_O_CLOEXEC): Likewise.
9737 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9738 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9739 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9740 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9741 (__ASSUME_IN_NONBLOCK): Likewise.
9742 (__ASSUME_PIPE2): Likewise.
9743 (__ASSUME_EVENTFD2): Likewise.
9744 (__ASSUME_SIGNALFD4): Likewise.
9745 (__ASSUME_DUP3): Likewise.
9746 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9747 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9748 (__ASSUME_AT_RANDOM): Likewise.
9749 (__ASSUME_PREADV): Likewise.
9750 (__ASSUME_PWRITEV): Likewise.
9751 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9752 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9753 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9754 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9755 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9757 (__ASSUME_O_CLOEXEC): Define unconditionally.
9758 (__ASSUME_PSELECT): Do not undefine conditionally.
9759 (__ASSUME_PPOLL): Likewise.
9760 (__ASSUME_ATFCTS): Likewise.
9761 (__ASSUME_SET_ROBUST_LIST): Likewise.
9762 (__ASSUME_UTIMENSAT): Likewise.
9763 (__ASSUME_FDATASYNC): Define unconditionally.
9764 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9765 (__ASSUME_SIGFRAME_V2): Likewise.
9766 )__ASSUME_EVENTFD2): Likewise.
9767 (__ASSUME_SIGNALFD4): Likewise.
9768 (__ASSUME_PSELECT): Do not undefine conditionally.
9769 (__ASSUME_PPOLL): Likewise.
9770 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9771 (__ASSUME_PSELECT): Define unconditionally.
9772 (__ASSUME_PPOLL): Likewise.
9773 (__ASSUME_O_CLOEXEC): Likewise.
9774 (__ASSUME_SOCK_CLOEXEC): Likewise.
9775 (__ASSUME_IN_NONBLOCK): Likewise.
9776 (__ASSUME_PIPE2): Likewise.
9777 (__ASSUME_EVENTFD2): Likewise.
9778 (__ASSUME_SIGNALFD4): Likewise.
9779 (__ASSUME_DUP3): Likewise.
9780 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9781 (__ASSUME_O_CLOEXEC): Likewise.
9782 (__ASSUME_SOCK_CLOEXEC): Likewise.
9783 (__ASSUME_IN_NONBLOCK): Likewise.
9784 (__ASSUME_PIPE2): Likewise.
9785 (__ASSUME_EVENTFD2): Likewise.
9786 (__ASSUME_SIGNALFD4): Likewise.
9787 (__ASSUME_DUP3): Likewise.
9788 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9789 (__ASSUME_EVENTFD2): Likewise.
9790 (__ASSUME_SIGNALFD4): Likewise.
9791 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9793 2014-05-12 Andreas Schwab <schwab@suse.de>
9796 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9797 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9798 than maximum RPC packet size.
9799 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9800 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9801 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9802 (_nss_nis_getservbyport_r): Likewise.
9804 2014-05-12 Will Newton <will.newton@linaro.org>
9806 * malloc/Makefile (tests): Add tst-mallopt.
9807 * malloc/tst-mallopt.c: New file.
9809 2014-05-09 Roland McGrath <roland@hack.frob.com>
9811 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9812 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9814 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9816 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9817 (tst-tlsmod6.so): Likewise.
9819 2014-05-09 Roland McGrath <roland@hack.frob.com>
9821 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9823 2014-05-09 Joseph Myers <joseph@codesourcery.com>
9826 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9827 and <dl-procinfo.h>.
9828 (__fegetenv): Save SSE state in envp->__eip if supported.
9829 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9830 envp->__eip if supported.
9831 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9832 and <dl-procinfo.h>.
9833 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9834 __data_offset and __data_selector in environment to 0. Set SSE
9836 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9838 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9840 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9842 2014-05-09 Will Newton <will.newton@linaro.org>
9844 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9845 and libc_relro_required for ARM.
9846 * sysdeps/arm/preconfigure: Regenerate.
9848 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9849 Stefan Liebler <stli@linux.vnet.ibm.com>
9851 * config.make.in (enable-lock-elision): New Makefile variable.
9852 * configure.ac: Likewise.
9853 * configure: Regenerate.
9854 * sysdeps/s390/configure.ac:
9855 Add check for gcc transactions support.
9856 * sysdeps/s390/configure: Regenerate.
9857 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9858 Build elision files if enabled.
9859 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9860 Add lock elision support for s390.
9861 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9862 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9863 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9864 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9865 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9866 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9867 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9869 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9871 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9873 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9875 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9876 (__lll_timedlock_elision, __lll_lock_elision)
9877 (__lll_unlock_elision, __lll_trylock_elision)
9878 (lll_timedlock_elision, lll_lock_elision)
9879 (lll_unlock_elision, lll_trylock_elision): Add.
9880 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9881 (pthread_mutex_t): Add lock elision support for s390.
9883 2014-05-14 Wilco <wdijkstr@arm.com>
9885 * sysdeps/arm/fclrexcpt.c: Cleanup.
9886 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9887 * sysdeps/arm/feenablxcpt.c: Cleanup.
9888 * sysdeps/arm/fegetenv.c: Cleanup.
9889 * sysdeps/arm/fegetexcept.c: Cleanup.
9890 * sysdeps/arm/fegetround.c: Cleanup.
9891 * sysdeps/arm/feholdexcpt.c: Cleanup.
9892 * sysdeps/arm/fesetenv.c: Cleanup.
9893 * sysdeps/arm/fesetround.c: Cleanup.
9894 * sysdeps/arm/feupdateenv.c: Cleanup.
9895 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9896 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9897 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9898 * sysdeps/arm/ftestexcept.c: Cleanup.
9899 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9900 * sysdeps/arm/setfpucw.c: Cleanup.
9902 2014-05-09 Will Newton <will.newton@linaro.org>
9904 * sysdeps/arm/armv7/strcmp.S: New file.
9905 * NEWS: Mention addition of ARMv7 optimized strcmp.
9907 2014-05-08 Roland McGrath <roland@hack.frob.com>
9909 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9910 look for %.ac rather than %.in.
9912 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9913 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9914 * sysdeps/mach/hurd/configure: Regenerated.
9915 * sysdeps/unix/sysv/linux/configure: Regenerated.
9917 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9919 2014-05-07 Steve Ellcey <sellcey@mips.com>
9922 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9926 2014-05-07 Andreas Schwab <schwab@suse.de>
9928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9929 when skipping over non-matching result from nscd.
9931 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
9934 * nptl/sockperf.c (client): Check socket return value.
9937 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9938 nscd security class.
9940 2014-05-06 Roland McGrath <roland@hack.frob.com>
9942 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9943 * sysdeps/arm/unwind.h: ... here.
9945 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9948 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9951 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9953 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9954 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9955 multiarch strncpy for PPC64.
9956 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9957 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9959 multiarch optimizations.
9960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9961 (__libc_ifunc_impl_list): Likewise.
9962 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9963 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9964 multiarch stpncpy for PPC64.
9965 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9966 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9968 2014-05-06 Andreas Schwab <schwab@suse.de>
9971 * gmon/mcount.c (_MCOUNT_DECL): Use
9972 atomic_compare_and_exchange_bool_acq instead of
9973 catomic_compare_and_exchange_bool_acq.
9975 2014-05-05 Roland McGrath <roland@hack.frob.com>
9977 * elf/Makefile (others, install-bin): Remove pldd.
9978 (pldd-modules): Variable removed.
9979 ($(objpfx)pldd): Target removed.
9980 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9981 (others, install-bin): Append pldd here.
9982 ($(objpfx)pldd): New target.
9984 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9985 to 0, so the first #if test emitted later doesn't see it undefined.
9986 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9987 * sysdeps/gnu/errlist.c: Regenerated.
9989 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9991 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9992 [libc_hidden_builtin_def]: Define to empty value.
9993 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9994 [libc_hidden_builtin_def]: Likewise.
9995 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9996 [libc_hidden_builtin_def]: Likewise.
9997 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9998 [libc_hidden_builtin_def]: Likewise.
9999 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10000 __redirect_memcpy and define ifunc as default hidden symbol.
10001 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10002 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10004 2014-05-04 Adam Conrad <adconrad@0c3.net>
10006 * locale/iso-4217.def: Reintroduce XDR currency.
10008 2014-05-04 Allan McRae <allan@archlinux.org>
10010 * po/eo.po: Update Esperanto translation from translation project.
10012 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10014 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10015 and FEATURE_INDEX_MAX to 1.
10016 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10018 2014-05-01 Steve Ellcey <sellcey@mips.com>
10020 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10021 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10022 * iconvdata/big5.c (ONE_DIRECTION): Define.
10023 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10024 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10025 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10026 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10027 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10028 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10029 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10030 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10031 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10032 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10033 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10034 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10035 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10036 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10037 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10038 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10039 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10040 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10041 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10042 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10043 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10044 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10045 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10046 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10047 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10048 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10049 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10050 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10051 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10052 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10053 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10054 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10055 * iconvdata/johab.c (ONE_DIRECTION): Define.
10056 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10057 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10058 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10059 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10060 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10061 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10062 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10063 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10064 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10065 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10067 2014-05-01 Roland McGrath <roland@hack.frob.com>
10069 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10070 (_IO_JUMPS_OFFSET): Define to 0.
10072 * nptl/sysdeps/pthread/bits/libc-lock.h
10073 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10074 (__libc_lock_define_initialized_recursive): Always define using
10075 initializer. Modern compilers treat uninitialized (implicit zero) and
10076 explicit zero initializers the same (i.e. put the datum in bss).
10078 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10080 * nscd/nscd-client.h: Include <string.h>.
10082 2014-05-01 David S. Miller <davem@davemloft.net>
10085 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10086 multiple zero bytes exist at the end of a string.
10087 Reported by Aurelien Jarno <aurelien@aurel32.net>
10089 * string/test-strcmp.c (check): Add explicit test for situations where
10090 there are multiple zero bytes after the first.
10092 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10095 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10096 when compiling wprintf.
10097 * stdio-common/tstdiomisc.c (t3): New function.
10100 2014-05-01 Steve Ellcey <sellcey@mips.com>
10102 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10103 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10104 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10105 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10107 2014-05-01 Steve Ellcey <sellcey@mips.com>
10109 * stdlib/longlong.h: Updated from GCC.
10111 2014-05-01 Will Newton <will.newton@linaro.org>
10112 Bernard Ogden <bernie.ogden@linaro.org>
10114 * NEWS: Update fixed bug list.
10117 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10119 2014-04-30 David S. Miller <davem@davemloft.net>
10121 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10122 (libc_feholdexcept_setround_sparc_ctx): New function.
10123 (libc_fesetenv_sparc_ctx): Likewise.
10124 (libc_feupdateenv_sparc_ctx): Likewise.
10125 (libc_feholdsetround_sparc_ctx): Likewise.
10126 (libc_feholdexcept_setround_ctx): Define.
10127 (libc_feholdexcept_setroundf_ctx): Likewise.
10128 (libc_feholdexcept_setroundl_ctx): Likewise.
10129 (libc_fesetenv_ctx): Likewise.
10130 (libc_fesetenvf_ctx): Likewise.
10131 (libc_fesetenvl_ctx): Likewise.
10132 (libc_feupdateenv_ctx): Likewise.
10133 (libc_feupdateenvf_ctx): Likewise.
10134 (libc_feupdateenvl_ctx): Likewise.
10135 (libc_feresetround_ctx): Likewise.
10136 (libc_feresetroundf_ctx): Likewise.
10137 (libc_feresetroundl_ctx): Likewise.
10138 (libc_feholdsetround_ctx): Likewise.
10139 (libc_feholdsetroundf_ctx): Likewise.
10140 (libc_feholdsetroundl_ctx): Likewise.
10142 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10143 with __USE_GNU instead of XOPEN cpp guards.
10145 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10148 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10149 with XOPEN cpp guards.
10151 2014-04-30 Julian Brown <julian@codesourcery.com>
10154 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10157 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10160 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10162 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10163 * sysdeps/unix/sysv/linux/configure: Regenerated.
10164 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10165 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10166 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10167 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10168 * README: Update reference to required Linux kernel version.
10169 * manual/install.texi (Linux): Update reference to required Linux
10170 kernel headers version.
10171 * INSTALL: Regenerated.
10173 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10175 [POSIX] (limits.h): Likewise.
10176 [POSIX] (math.h): Likewise.
10177 [POSIX] (sys/wait.h): Likewise.
10178 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10180 [POSIX] (stddef.h): Do not allow header inclusion.
10182 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10184 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10186 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10188 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10189 Return immediately after lll_futex_wake.
10191 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10194 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10196 (datahead_init_pos): Call datahead_init_common early.
10197 (datahead_init_neg): Likewise.
10199 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10200 datahead_init_neg): New functions.
10201 * nscd/aicache.c (addhstaiX): Use them.
10202 * nscd/grpcache.c (cache_addgr): Likewise.
10203 * nscd/hstcache.c (cache_addhst): Likewise.
10204 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10205 * nscd/netgroupcache.c (do_notfound): Likewise.
10206 (addgetnetgrentX): Likewise.
10207 (addinnetgrX): Likewise.
10208 * nscd/pwdcache.c (cache_addpw): Likewise.
10209 * nscd/servicescache.c (cache_addserv): Likewise.
10211 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10212 Atsushi Onoe <atsushi@onoe.org>
10217 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10218 one response is valid.
10219 * resolv/res_send.c (send_dg): Check for validity of other
10220 response if the current response is a referral.
10222 2014-04-29 Steve Ellcey <sellcey@mips.com>
10224 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10226 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10229 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10230 Always divide by positive zero when computing -Inf result.
10231 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10232 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10234 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10236 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10237 FPSCR if value do not change.
10238 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10239 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10240 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10241 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10242 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10243 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10246 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10248 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10249 * sysdeps/unix/sysv/linux/hppa: Move directory from
10250 ports/systeps/unix/sysv/linux/hppa.
10251 * README: Update listing for hppa-*-linux-gnu.
10253 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10256 * manual/stdio.texi (Hook functions): Fix types of stream hook
10259 * socket/sys/socket.h: Fix typo in comment.
10261 2014-04-28 Wilco <wdijkstr@arm.com>
10263 * sysdeps/arm/fenv_private.h: New file.
10264 * sysdeps/arm/math_private.h: New file.
10265 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10267 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10269 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10271 (La_x86_64_retval): Likewise.
10273 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10275 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10276 fpsr if value didn't change.
10277 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10278 to fpcr if value didn't change.
10279 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10280 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10281 fpsr or fpcr if value didn't change.
10282 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10283 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10284 fpcr if value didn't change.
10285 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10286 to fpsr if value didn't change.
10288 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10290 * nptl/tst-sem3.c: Use test-skeleton.c
10291 (main): Rename to do_test. Use return instead of
10293 * nptl/tst-sem4.c: Use test-skeleton.c
10294 (main): Rename to do_test.
10296 2014-04-22 David S. Miller <davem@davemloft.net>
10298 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10299 (struct sigaction): New struct member __glibc_reserved0, change
10300 type of sa_flags to int.
10302 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10304 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10305 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10307 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10309 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10310 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10312 2014-04-22 Will Newton <will.newton@linaro.org>
10313 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10315 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10316 (__longjmp): Add longjmp and longjmp_target SystemTap
10318 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10319 (__sigsetjmp): Add setjmp SystemTap probe.
10321 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10323 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10324 match manual order.
10326 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10328 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10330 * sysdeps/powerpc/fpu/fenv_private.h
10331 (libc_feholdexcept_setroundl_ctx): Define to
10332 libc_feholdexcept_setround_ppc_ctx.
10333 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10334 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10335 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10336 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10338 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10340 * sysdeps/aarch64/math-tests.h: New file.
10342 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10344 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10347 Check and set bit_AVX2_Usable.
10348 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10350 (bit_AVX2): Likewise.
10351 (index_AVX2_Usable): Likewise.
10352 (CPUID_AVX2): Likewise.
10353 (HAS_AVX2): Likewise.
10355 2014-04-17 Will Newton <will.newton@linaro.org>
10357 * manual/setjmp.texi (System V contexts): Add note that
10358 calling setcontext on a context created by a call to a
10359 signal handler is undefined. Update text to note that
10360 setcontext from a signal handler is possible but not
10364 * stdlib/tst-setcontext.c: Include signal.h.
10365 (main): Check that the signal stack before and
10366 after swapcontext is the same.
10368 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10369 Re-implement to restore registers in user code and avoid
10370 rt_sigreturn system call.
10372 2014-04-17 Wilco <wdijkstr@arm.com>
10374 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10375 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10376 * math/test-fenv.c: Skip exception trap tests on targets which only
10377 support non-stop mode.
10379 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10380 Wilco Dijkstra <wilco.dijkstra@arm.com>
10382 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10383 (libc_feholdsetround_aarch64_ctx)
10384 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10385 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10386 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10387 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10388 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10389 (libc_feresetround_noexl_ctx): Define.
10391 2014-04-16 Richard Henderson <rth@redhat.com>
10393 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10395 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10398 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10399 const from the non-libc, non-ldso copy.
10401 * sysdeps/alpha/libm-test-ulps: Regenerate.
10403 2014-04-16 Ian Bolton <ian.bolton@arm.com>
10404 Wilco Dijkstra <wilco.dijkstra@arm.com>
10406 * sysdeps/aarch64/fpu/math_private.h: New file.
10408 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10410 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10412 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10415 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10416 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10418 Intel MPX bound registers before _dl_profile_fixup.
10419 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10420 registers after _dl_profile_fixup. Save and restore bound
10421 registers bnd0/bnd1 when calling _dl_call_pltexit.
10422 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10423 (LR_BND_OFFSET): Likewise.
10424 (LRV_BND0_OFFSET): Likewise.
10425 (LRV_BND1_OFFSET): Likewise.
10427 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10429 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10431 * sysdeps/mach/hurd/i386/tls.h: ... here.
10432 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10433 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10436 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10438 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10440 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10442 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10444 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10447 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10448 * sysdeps/s390/configure: Regenerate.
10451 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10452 Set round-to-nearest internally to reduce error accumulation.
10454 2014-04-16 Alan Modra <amodra@gmail.com>
10458 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10459 * math/libm-test.inc (frexp_test_data): Add tests.
10460 * NEWS: Update fixed bug list.
10462 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10464 * benchtests/Makefile: Depend on libraries in build directory.
10465 (bench-math): Separate out math tests.
10466 (bench-pthread): Separate out pthread tests.
10467 (bench): Include math and pthread tests.
10469 2014-04-14 Carlos O'Donell <carlos@redhat.com>
10472 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10473 _dl_debug_initialize.
10475 * configure.ac: Remove SELinux header check.
10476 * configure: Regenerate.
10477 * nscd/selinux.c (perms): Array of const char* to permission names.
10478 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10479 default policy. Call string_to_security_class and string_to_av_perm to
10480 translate strings. Enforce default policy and call avs_has_perm with
10481 results of translated strings.
10483 2014-04-13 David S. Miller <davem@davemloft.net>
10485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10487 2014-04-12 Allan McRae <allan@archlinux.org>
10490 * manual/string.texi (Collation Functions): Fix qsort argument
10492 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10494 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10496 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10497 Make the test a no-op if there are no exceptions defined.
10499 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10501 * elf/Makefile (tests): make tst-dlopen-aout conditional on
10502 enable-hardcoded-path-in-tests
10504 2014-04-11 Will Newton <will.newton@linaro.org>
10506 * benchtests/Makefile (extra-objs): Add json-lib.o.
10507 (bench-func): Tidy up JSON output.
10508 * benchtests/bench-skeleton.c: Include json-lib.h.
10509 (main): Use JSON library functions to do output of
10511 * benchtests/bench-timing-type.c (main): Output the
10512 timing type simply, leaving formatting to the user.
10513 * benchtests/json-lib.c: New file.
10514 * benchtests/json-lib.h: Likewise.
10516 2014-04-11 Torvald Riegel <triegel@redhat.com>
10519 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10520 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10521 memory barriers. Add comments.
10522 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10523 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10524 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10525 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10526 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10527 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10529 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10531 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10532 * sysdeps/s390/s390-64/configure.ac: ... this ...
10533 * sysdeps/s390/configure.ac: ... to here.
10534 * sysdeps/s390/s390-32/configure: Delete file.
10535 * sysdeps/s390/s390-64/configure: Delete file.
10536 * sysdeps/s390/configure: Regenerate.
10538 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10540 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10542 2014-04-11 Will Newton <will.newton@linaro.org>
10544 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10545 to zero if it is not defined elsewhere. (mtrim): Test
10546 the value of MALLOC_DEBUG with #if rather than #ifdef.
10548 2014-04-10 Torvald Riegel <triegel@redhat.com>
10550 * benchtests/pthread_once-inputs: New file.
10551 * benchtests/pthread_once-source.c: New file.
10552 * benchtests/README: Update documentation.
10554 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10555 H.J. Lu <hongjiu.lu@intel.com>
10558 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10559 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10560 * sysdeps/x86_64/configure: Regenerated.
10561 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10563 (REGISTER_SAVE_RAX): Likewise.
10564 (REGISTER_SAVE_RCX): Likewise.
10565 (REGISTER_SAVE_RDX): Likewise.
10566 (REGISTER_SAVE_RSI): Likewise.
10567 (REGISTER_SAVE_RDI): Likewise.
10568 (REGISTER_SAVE_R8): Likewise.
10569 (REGISTER_SAVE_R9): Likewise.
10570 (REGISTER_SAVE_BND0): Likewise.
10571 (REGISTER_SAVE_BND1): Likewise.
10572 (REGISTER_SAVE_BND2): Likewise.
10573 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10574 bound registers when calling _dl_fixup.
10576 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10578 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10579 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10581 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10582 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10583 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10584 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10585 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10586 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10587 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10589 2014-04-09 Peter Brett <peter@peter-b.co.uk>
10592 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10593 pathconf(_PC_NAME_MAX).
10595 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10597 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10598 Remove macro usage.
10599 (__PTHREAD_SPINS): Move definition to ...
10600 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10601 (__PTHREAD_SPINS): ... here.
10602 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10603 (__PTHREAD_SPIN): Likewise.
10604 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10605 (__PTHREAD_SPIN): Likewise.
10606 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10607 (__PTHREAD_SPIN): Likewise.
10608 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10609 (__PTHREAD_SPIN): Likewise.
10610 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10611 (__PTHREAD_SPIN): Likewise.
10612 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10613 (__PTHREAD_SPIN): Likewise.
10614 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10615 (__PTHREAD_SPIN): Likewise.
10616 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10617 (__PTHREAD_SPIN): Likewise.
10618 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10619 (__PTHREAD_SPIN): Likewise.
10620 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10621 (__PTHREAD_SPIN): Likewise.
10622 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10623 (__PTHREAD_SPIN): Likewise.
10624 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10625 (__PTHREAD_SPIN): Likewise.
10627 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10628 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10629 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10630 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10632 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10633 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10634 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10635 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10636 correct imply path.
10637 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10638 strlen symbol for non multi-arch builds.
10639 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10640 missing hidden_def and weak_alias.
10642 2014-04-08 Carlos O'Donell <carlos@redhat.com>
10644 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10646 2014-04-07 Will Newton <will.newton@linaro.org>
10648 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10649 and contents. [!_LIBC] Remove #ifndef and contents.
10650 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10651 * string/memccpy.c (__memccpy): Use ANSI prototype.
10652 * string/memfrob.c (memfrob): Likewise.
10653 * string/strcoll.c (STRCOLL): Likewise.
10654 * string/strlen.c (strlen): Likewise.
10655 * string/strtok.c (STRTOK): Likewise.
10656 * string/strcat.c: Remove unused #include of memcopy.h.
10657 (strcat): Use ANSI prototype.
10658 * string/strchr.c: Remove unused #include of memcopy.h.
10659 (strchr): Use ANSI prototype.
10660 * string/strcmp.c: Remove unused #include of memcopy.h.
10661 (strcmp): Use ANSI prototype.
10662 * string/strcpy.c: Remove unused #include of memcopy.h.
10663 (strcpy): Use ANSI prototype.
10665 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10667 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10668 * config.make.in (config-extra-cppflags): Set it from
10669 libc_extra_cppflags.
10670 * configure.ac (libc_extra_cflags): Make it accumulate over
10671 configure fragments.
10672 (libc_extra_cppflags): New flag.
10673 * configure. Regenerate.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10675 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10676 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10681 result for FE_DOWNWARD rounding mode.
10682 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10686 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10688 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10689 in function argument name.
10691 2014-04-03 David Svoboda <svoboda@cert.org>
10694 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10697 2014-04-03 Roland McGrath <roland@hack.frob.com>
10699 * elf/dl-unmap-segments.h: New file.
10700 * sysdeps/generic/ldsodefs.h
10701 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10702 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10703 * elf/dl-fptr.c: Likewise.
10704 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10705 * sysdeps/aarch64/tlsdesc.c: Likewise.
10706 * sysdeps/arm/tlsdesc.c: Likewise.
10707 * sysdeps/i386/tlsdesc.c: Likewise.
10708 * sysdeps/tile/dl-runtime.c: Likewise.
10709 * sysdeps/x86_64/tlsdesc.c: Likewise.
10710 * elf/dl-load.h: New file.
10711 * elf/dl-load.c: Include it.
10712 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10713 Macros moved to dl-load.h.
10714 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10715 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10716 Use _dl_unmap_segments in place of __munmap.
10717 Break out segment-mapping loop into ...
10718 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10720 2014-04-03 Will Newton <will.newton@linaro.org>
10722 * elf/dl-lookup.c (do_lookup_x): Remove comment
10723 referring to nested function and move variable
10724 declarations down to before first use.
10726 2014-04-02 Joseph Myers <joseph@codesourcery.com>
10730 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10732 * math/s_catanf.c (__catanf): Likewise.
10733 * math/s_catanh.c (__catanh): Likewise.
10734 * math/s_catanhf.c (__catanhf): Likewise.
10735 * math/s_catanhl.c (__catanhl): Likewise.
10736 * math/s_catanl.c (__catanl): Likewise.
10737 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10738 by positive zero when computing -Inf result.
10739 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10740 (catanh_test): Likewise.
10741 * sysdeps/i386/fpu/libm-test-ulps: Update.
10742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10745 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10746 instead of using underflowing value in computing result.
10747 * math/s_clog10.c (__clog10): Likewise.
10748 * math/s_clog10f.c (__clog10f): Likewise.
10749 * math/s_clog10l.c (__clog10l): Likewise.
10750 * math/s_clogf.c (__clogf): Likewise.
10751 * math/s_clogl.c (__clogl): Likewise.
10752 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10753 (clog10_test): Likewise.
10754 * sysdeps/i386/fpu/libm-test-ulps: Update.
10755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10757 2014-04-02 Alan Modra <amodra@gmail.com>
10760 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10761 output when value is near a power of two. Use int64_t for lx and
10762 remove casts. Use decimal rather than hex exponent constants.
10763 Don't use long double multiplication when double will suffice.
10764 * math/libm-test.inc (nextafter_test_data): Add tests.
10765 * NEWS: Add 16739 and 16786 to bug list.
10767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10769 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10771 2014-04-01 Will Newton <will.newton@linaro.org>
10773 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10774 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10776 2014-04-01 Florian Weimer <fweimer@redhat.com>
10779 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10780 * nptl/tst-setuid2.c: New file.
10781 * nptl/Makefile (xtests): Add tst-setuid2.
10783 2014-04-01 Alan Modra <amodra@gmail.com>
10786 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10788 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10792 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10793 set errno as appropriate.
10794 * math/w_scalbf.c (__scalbf): Likewise.
10795 * math/w_scalbl.c (__scalbl): Likewise.
10796 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10797 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10798 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10799 Add more NaN tests.
10802 * math/w_atan2.c: Include <errno.h>.
10803 (__atan2): Set errno for result underflowing to zero.
10804 * math/w_atan2f.c: Include <errno.h>.
10805 (__atan2f): Set errno for result underflowing to zero.
10806 * math/w_atan2l.c: Include <errno.h>.
10807 (__atan2l): Set errno for result underflowing to zero.
10808 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10810 * math/auto-libm-test-out: Regenerated.
10812 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10814 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10815 Encode instruction correctly in little endian.
10816 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10818 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10820 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10822 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10825 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10828 * sysdeps/unix/sysv/linux/kernel-features.h
10829 [__sparc__ && !__arch64__ && !__sparc_v9__]
10830 (__ASSUME_SET_ROBUST_LIST): Do not define.
10831 [__sparc__ && !__arch64__ && !__sparc_v9__]
10832 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10833 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10835 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10836 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10837 (__ASSUME_REQUEUE_PI): Likewise.
10838 (__ASSUME_SET_ROBUST_LIST): Likewise.
10839 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10840 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10842 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10843 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10845 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10847 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10849 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10850 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10852 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10853 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10858 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10859 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10861 2014-03-31 Will Newton <will.newton@linaro.org>
10863 * benchtests/Makefile (bench): Add ffs and ffsll to list
10865 * benchtests/ffs-inputs: New file.
10866 * benchtests/ffsll-inputs: Likewise.
10868 2014-03-29 Joseph Myers <joseph@codesourcery.com>
10871 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10872 too large before casting to int.
10873 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10874 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10875 * math/libm-test.inc (scalb_test_data): Add more tests.
10877 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10879 * benchtests/Makefile (DETAILED_OPT): New make option.
10880 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10882 * benchtests/bench-skeleton.c: Include stdbool.h.
10883 (main): Store and print timings per input.
10884 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10885 member to each argument value.
10886 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10887 (_print_arg_data): Initialize per-input timing to 0.
10889 * benchtests/Makefile (timing-type): New binary.
10890 (bench-clean): Also remove bench-timing-type.
10891 (bench): New target for timing-type.
10892 (bench-func): Print output in JSON format.
10893 * benchtests/bench-skeleton.c (main): Print output in JSON
10895 * benchtests/bench-timing-type.c: New file.
10896 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10897 (TIMING_PRINT_STATS): Remove.
10898 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10901 * benchtests/bench-modf.c: Remove.
10902 * benchtests/modf-inputs: New inputs file.
10904 2014-03-28 Joseph Myers <joseph@codesourcery.com>
10907 * math/s_clog10.c (M_PI_LOG10E): New macro.
10908 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10909 imaginary parts are 0.
10910 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10911 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10912 imaginary parts are 0.
10913 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10914 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10915 imaginary parts are 0.
10916 * math/libm-test.inc (clog10_test_data): Update expected results
10917 for when real and imaginary parts are 0.
10919 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10921 * elf/dl-load.c: Finish conversion of __builtin_expect into
10922 __glibc_{un}likely.
10924 2014-03-27 Joseph Myers <joseph@codesourcery.com>
10927 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10928 1+x for argument with exponent below -67.
10929 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10931 * math/auto-libm-test-in: Add more tests of exp.
10932 * math/auto-libm-test-out: Regenerated.
10934 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10937 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10938 (nscd_getnetgrent): Use it.
10941 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10944 2014-03-27 Andi Kleen <ak@linux.intel.com>
10946 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10947 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10948 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10949 (lll_robust_unlock): Remove out of line section. Use cfi
10951 (LLL_STUB_UNWIND_INFO*): Remove.
10952 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10953 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10954 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10955 (lll_robust_unlock): Remove out of line section. Use cfi
10957 (LLL_STUB_UNWIND_INFO*): Remove.
10959 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10962 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10965 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10967 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10969 2014-03-26 Joseph Myers <joseph@codesourcery.com>
10972 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10974 * math/test-fenv-preserve.c: New file.
10975 * math/Makefile (tests): Add test-fenv-preserve.
10977 2014-03-26 Will Newton <will.newton@linaro.org>
10979 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10981 2014-03-25 Roland McGrath <roland@hack.frob.com>
10983 * scripts/versionlist.awk: Partition the version sets and emit all
10984 GLIBC_* (sorted) before all others (sorted).
10986 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10988 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10989 GLIBC_2.2.5 version.
10991 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10993 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10996 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11001 2014-03-25 Andreas Schwab <schwab@suse.de>
11003 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11004 label to be used after in6ailist is initialized.
11006 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11008 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11009 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11011 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11015 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11017 (fp_formats): Update initializers.
11018 (init_fp_formats): Initialize new field.
11019 (output_for_one_input_case): Allow underflow for results up to
11021 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11022 * math/auto-libm-test-in: Don't mark some underflows from asin and
11024 * math/auto-libm-test-out: Regenerated.
11025 * sysdeps/i386/fpu/libm-test-ulps: Update.
11026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028 2014-03-25 Andreas Schwab <schwab@suse.de>
11030 * libio/Makefile (tst-ftell-partial-wide-ENV)
11031 (tst-ftell-active-handler-ENV): Define.
11033 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11035 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11037 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11039 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11041 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11043 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11044 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11045 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11047 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11050 * elf/dl-load.c (open_verify): Add mode parameter.
11051 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11052 (open_path): Change from boolean 'secure' to complete flag 'mode'
11053 (_dl_map_object): Adjust.
11054 * elf/Makefile (tests): Add tst-dlopen-aout.
11055 * elf/tst-dlopen-aout.c: New test.
11057 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11060 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11061 (struct stat): Rename member pad0 to __glibc_reserved0.
11064 * sysdeps/s390/s390-32/bits/wordsize.h
11065 (__WORDSIZE32_SIZE_ULONG): New define.
11066 * sysdeps/s390/s390-64/bits/wordsize.h
11067 (__WORDSIZE32_SIZE_ULONG): Likewise.
11068 * sysdeps/generic/stdint.h (SIZE_MAX):
11069 Define as UL if __WORDSIZE32_SIZE_ULONG.
11072 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11073 (__glibc_reserved0): New variable.
11074 (sa_flags): Change type to int.
11076 * posix/Makefile (before-compile): Use += before-compile instead
11079 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11080 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11082 2014-03-20 Andreas Schwab <schwab@suse.de>
11085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11086 non-matching result from nscd.
11088 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11090 * scripts/bench.py: Moved to ...
11091 * benchtests/scripts/bench.py: ... here.
11092 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11094 2014-03-24 Andreas Schwab <schwab@suse.de>
11097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11098 alloca_account and account alloca use for struct in6ailist.
11100 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11103 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11104 rounding mode to recompute results that overflow to infinity or
11106 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11108 * math/auto-libm-test-out: Regenerated.
11109 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11110 (ccosh_test): Likewise.
11111 (csin_test_data): Use plus_oflow.
11112 (csin_test): Use ALL_RM_TEST.
11113 (csinh_test_data): Use plus_oflow.
11114 (csinh_test): Use ALL_RM_TEST.
11115 * sysdeps/i386/fpu/libm-test-ulps: Update.
11116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11118 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11120 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11121 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11122 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11125 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11126 when x - 1 is zero.
11127 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11128 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11129 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11130 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11132 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11133 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11135 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11136 * sysdeps/i386/fpu/libm-test-ulps: Update.
11137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11139 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11141 * scripts/bench.pl: Remove file.
11142 * scripts/bench.py: New benchmark script.
11143 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11144 * benchtests/README: Mention python dependency.
11145 * scripts/pylintrc: New file.
11146 * scripts/pylint: New file.
11148 * bits/mathdef.h: Use #ifdef instead of #if.
11149 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11150 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11151 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11152 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11153 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11154 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11156 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11157 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11159 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11161 and strpbrk-ppc64 objects.
11162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11163 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11164 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11165 multiarch strpbrk for POWER7.
11166 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11167 multiarch strpbrk for PPC64.
11168 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11170 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11171 strpbrk for POWER7.
11173 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11175 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11176 (atan_test): Likewise.
11177 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11178 (atanh_test): Use ALL_RM_TEST.
11179 (atan2_test_data): Likewise.
11180 (cabs_test): Likewise.
11181 (cacosh_test): Likewise.
11182 (carg_test): Likewise.
11183 (casin_test): Likewise.
11184 (casinh_test): Likewise.
11185 (cbrt_test): Likewise.
11186 (csqrt_test): Likewise.
11187 (erf_test): Likewise.
11188 (erfc_test): Likewise.
11189 (pow10_test): Likewise.
11190 (exp2_test): Likewise.
11191 (hypot_test): Likewise.
11192 (j0_test): Likewise.
11193 (j1_test): Likewise.
11194 (lgamma_test): Likewise.
11195 (gamma_test): Likewise.
11196 (sincos_test): Likewise.
11197 (tanh_test): Likewise.
11198 (y0_test): Likewise.
11199 (y1_test): Likewise.
11200 * sysdeps/i386/fpu/libm-test-ulps: Update.
11201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11203 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11205 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11207 and strcspn-ppc64 objects.
11208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11209 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11210 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11211 multiarch strcspn for POWER7.
11212 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11213 multiarch strcspn for PPC64.
11214 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11216 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11217 strcspn for POWER7.
11219 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11221 * math/gen-libm-test.pl (generate_testfile): Expect only function
11222 name as argument to AUTO_TESTS_* and pass results for all rounding
11223 modes to parse_args.
11224 (parse_auto_input): Separate inputs of automatic tests from
11225 outputs before storing in %auto_tests.
11226 * math/libm-test.inc (acos_test_data): Update call to
11228 (acos_test): Use ALL_RM_TEST.
11229 (acos_tonearest_test_data): Remove.
11230 (acos_test_tonearest): Likewise.
11231 (acos_towardzero_test_data): Likewise.
11232 (acos_test_towardzero): Likewise.
11233 (acos_downward_test_data): Likewise.
11234 (acos_test_downward): Likewise.
11235 (acos_upward_test_data): Likewise.
11236 (acos_test_upward): Likewise.
11237 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11238 (asin_test_data): Likewise.
11239 (asin_test): Use ALL_RM_TEST.
11240 (asin_tonearest_test_data): Remove.
11241 (asin_test_tonearest): Likewise.
11242 (asin_towardzero_test_data): Likewise.
11243 (asin_test_towardzero): Likewise.
11244 (asin_downward_test_data): Likewise.
11245 (asin_test_downward): Likewise.
11246 (asin_upward_test_data): Likewise.
11247 (asin_test_upward): Likewise.
11248 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11249 (atan_test_data): Likewise.
11250 (atanh_test_data): Likewise.
11251 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11252 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11253 (carg_test_data): Likewise.
11254 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11255 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11256 (ccosh_test_data): Likewise.
11257 (cexp_test_data): Likewise.
11258 (clog_test_data): Likewise.
11259 (clog10_test_data): Likewise.
11260 (cos_test_data): Update call to AUTO_TESTS_f_f.
11261 (cos_test): Use ALL_RM_TEST.
11262 (cos_tonearest_test_data): Remove.
11263 (cos_test_tonearest): Likewise.
11264 (cos_towardzero_test_data): Likewise.
11265 (cos_test_towardzero): Likewise.
11266 (cos_downward_test_data): Likewise.
11267 (cos_test_downward): Likewise.
11268 (cos_upward_test_data): Likewise.
11269 (cos_test_upward): Likewise.
11270 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11271 (cosh_test): Use ALL_RM_TEST.
11272 (cosh_tonearest_test_data): Remove.
11273 (cosh_test_tonearest): Likewise.
11274 (cosh_towardzero_test_data): Likewise.
11275 (cosh_test_towardzero): Likewise.
11276 (cosh_downward_test_data): Likewise.
11277 (cosh_test_downward): Likewise.
11278 (cosh_upward_test_data): Likewise.
11279 (cosh_test_upward): Likewise.
11280 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11281 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11282 (ctan_test_data): Likewise.
11283 (ctan_test): Use ALL_RM_TEST.
11284 (ctan_tonearest_test_data): Remove.
11285 (ctan_test_tonearest): Likewise.
11286 (ctan_towardzero_test_data): Likewise.
11287 (ctan_test_towardzero): Likewise.
11288 (ctan_downward_test_data): Likewise.
11289 (ctan_test_downward): Likewise.
11290 (ctan_upward_test_data): Likewise.
11291 (ctan_test_upward): Likewise.
11292 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11293 (ctanh_test): Use ALL_RM_TEST.
11294 (ctanh_tonearest_test_data): Remove.
11295 (ctanh_test_tonearest): Likewise.
11296 (ctanh_towardzero_test_data): Likewise.
11297 (ctanh_test_towardzero): Likewise.
11298 (ctanh_downward_test_data): Likewise.
11299 (ctanh_test_downward): Likewise.
11300 (ctanh_upward_test_data): Likewise.
11301 (ctanh_test_upward): Likewise.
11302 (erf_test_data): Update call to AUTO_TESTS_f_f.
11303 (erfc_test_data): Likewise.
11304 (exp_test_data): Likewise.
11305 (exp_test): Use ALL_RM_TEST.
11306 (exp_tonearest_test_data): Remove.
11307 (exp_test_tonearest): Likewise.
11308 (exp_towardzero_test_data): Likewise.
11309 (exp_test_towardzero): Likewise.
11310 (exp_downward_test_data): Likewise.
11311 (exp_test_downward): Likewise.
11312 (exp_upward_test_data): Likewise.
11313 (exp_test_upward): Likewise.
11314 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11315 (exp10_test): Use ALL_RM_TEST.
11316 (exp10_tonearest_test_data): Remove.
11317 (exp10_test_tonearest): Likewise.
11318 (exp10_towardzero_test_data): Likewise.
11319 (exp10_test_towardzero): Likewise.
11320 (exp10_downward_test_data): Likewise.
11321 (exp10_test_downward): Likewise.
11322 (exp10_upward_test_data): Likewise.
11323 (exp10_test_upward): Likewise.
11324 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11325 (expm1_test_data): Likewise.
11326 (expm1_test): Use ALL_RM_TEST.
11327 (expm1_tonearest_test_data): Remove.
11328 (expm1_test_tonearest): Likewise.
11329 (expm1_towardzero_test_data): Likewise.
11330 (expm1_test_towardzero): Likewise.
11331 (expm1_downward_test_data): Likewise.
11332 (expm1_test_downward): Likewise.
11333 (expm1_upward_test_data): Likewise.
11334 (expm1_test_upward): Likewise.
11335 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11336 (fma_test): Use ALL_RM_TEST.
11337 (fma_towardzero_test_data): Remove.
11338 (fma_test_towardzero): Likewise.
11339 (fma_downward_test_data): Likewise.
11340 (fma_test_downward): Likewise.
11341 (fma_upward_test_data): Likewise.
11342 (fma_test_upward): Likewise.
11343 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11344 (j0_test_data): Update call to AUTO_TESTS_f_f.
11345 (j1_test_data): Likewise.
11346 (jn_test_data): Update call to AUTO_TESTS_if_f.
11347 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11348 (log_test_data): Update call to AUTO_TESTS_f_f.
11349 (log10_test_data): Likewise.
11350 (log1p_test_data): Likewise.
11351 (log2_test_data): Likewise.
11352 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11353 (pow_tonearest_test_data): Likewise.
11354 (sin_test_data): Update call to AUTO_TESTS_f_f.
11355 (sin_test): Use ALL_RM_TEST.
11356 (sin_tonearest_test_data): Remove.
11357 (sin_test_tonearest): Likewise.
11358 (sin_towardzero_test_data): Likewise.
11359 (sin_test_towardzero): Likewise.
11360 (sin_downward_test_data): Likewise.
11361 (sin_test_downward): Likewise.
11362 (sin_upward_test_data): Likewise.
11363 (sin_test_upward): Likewise.
11364 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11365 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11366 (sinh_test): Use ALL_RM_TEST.
11367 (sinh_tonearest_test_data): Remove.
11368 (sinh_test_tonearest): Likewise.
11369 (sinh_towardzero_test_data): Likewise.
11370 (sinh_test_towardzero): Likewise.
11371 (sinh_downward_test_data): Likewise.
11372 (sinh_test_downward): Likewise.
11373 (sinh_upward_test_data): Likewise.
11374 (sinh_test_upward): Likewise.
11375 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11376 (sqrt_test): Use ALL_RM_TEST.
11377 (sqrt_tonearest_test_data): Remove.
11378 (sqrt_test_tonearest): Likewise.
11379 (sqrt_towardzero_test_data): Likewise.
11380 (sqrt_test_towardzero): Likewise.
11381 (sqrt_downward_test_data): Likewise.
11382 (sqrt_test_downward): Likewise.
11383 (sqrt_upward_test_data): Likewise.
11384 (sqrt_test_upward): Likewise.
11385 (tan_test_data): Update call to AUTO_TESTS_f_f.
11386 (tan_test): Use ALL_RM_TEST.
11387 (tan_tonearest_test_data): Remove.
11388 (tan_test_tonearest): Likewise.
11389 (tan_towardzero_test_data): Likewise.
11390 (tan_test_towardzero): Likewise.
11391 (tan_downward_test_data): Likewise.
11392 (tan_test_downward): Likewise.
11393 (tan_upward_test_data): Likewise.
11394 (tan_test_upward): Likewise.
11395 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11396 (tgamma_test_data): Likewise.
11397 (y0_test_data): Likewise.
11398 (y1_test_data): Likewise.
11399 (yn_test_data): Update call to AUTO_TESTS_if_f.
11400 (main): Do not call removed functions.
11402 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11404 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11405 (ldexp_test_data): Remove.
11406 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11408 (scalb_test): Use ALL_RM_TEST.
11410 2014-03-19 Andreas Schwab <schwab@suse.de>
11412 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11414 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11417 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11418 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11419 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11421 (__ASSUME_PREADV): Undefine.
11422 (__ASSUME_PWRITEV): Likewise.
11424 2014-03-18 Roland McGrath <roland@hack.frob.com>
11426 * bits/mman-linux.h: Add comment about non-Linux use.
11427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11428 bits/mman-linux.h resting place.
11430 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11431 * bits/mman-linux.h: ... here.
11433 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11435 * conform/conformtest.pl: Add standard definition when calling C
11436 preprocessor on data files.
11437 (checknamespace): Remove unused variable.
11439 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11441 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11442 minus_oflow, plus_uflow and minus_uflow in expected results.
11443 * math/libm-test.inc (scalbn_test_data): Add more tests of
11444 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11446 (scalbn_test): Use ALL_RM_TEST.
11447 (scalbln_test_data): Add more tests of negative arguments. Use
11448 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11449 (scalbln_test): Use ALL_RM_TEST.
11451 2014-03-18 Roland McGrath <roland@hack.frob.com>
11453 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11455 2014-03-18 Will Newton <will.newton@linaro.org>
11457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11458 inaccurate comment.
11460 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11462 * Makerules [!subdir] (check-abi): Exit with error status if a
11465 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11467 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11468 for rint. Include results for all rounding modes.
11469 (nearbyint_test): Use ALL_RM_TEST.
11470 (rint_test_data): Include all tests used for nearbyint.
11472 2014-03-17 Will Newton <will.newton@linaro.org>
11474 * nptl/sysdeps/pthread/pthread.h: Revert previous
11477 * sysdeps/generic/ldsodefs.h: Revert previous
11480 * libio/genops.c: Revert previous change.
11481 * libio/libioP.h: Likewise.
11482 * stdio-common/vfprintf.c: Likewise.
11484 * sysdeps/generic/math_private.h: Revert previous
11487 * sysdeps/generic/math_private.h: Check whether
11488 HAVE_RM_CTX is defined with #ifdef rather
11491 * argp/argp-fmtstream.h: Check whether
11492 __STRICT_ANSI__ is defined with #ifdef rather
11494 * argp/argp.h: Likewise.
11496 * libio/genops.c: Check whether
11497 _IO_JUMPS_OFFSET is defined with #ifdef rather
11499 * libio/libioP.h: Likewise.
11500 * stdio-common/vfprintf.c: Likewise.
11502 * sysdeps/generic/ldsodefs.h: Check whether
11503 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11506 * nptl/sysdeps/pthread/pthread.h: Check
11507 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11510 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11512 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11514 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11518 * libio/fileops.c (_IO_file_open): Seek to end of file but
11519 don't cache the offset.
11520 (get_file_offset): Remove function.
11521 (do_ftell): Use cached offset when available.
11522 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11523 don't cache the offset.
11524 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11526 (do_one_test): Call it.
11527 (do_ftell_test): Fix up expected old offset for a+ mode.
11528 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11531 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11532 up test status with function return status.
11533 (do_write_test): Likewise.
11534 (do_append_test): Likewise.
11536 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11537 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11540 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11542 * math/gen-libm-test.pl (parse_args): Handle results specified for
11543 each rounding mode separately.
11544 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11545 tests and results from lrint_tonearest_test_data,
11546 lrint_towardzero_test_data, lrint_downward_test_data and
11547 lrint_upward_test_data.
11548 (lrint_test): Use ALL_RM_TEST.
11549 (lrint_tonearest_test_data): Remove.
11550 (lrint_test_tonearest): Likewise.
11551 (lrint_towardzero_test_data): Likewise.
11552 (lrint_test_towardzero): Likewise.
11553 (lrint_downward_test_data): Likewise.
11554 (lrint_test_downward): Likewise.
11555 (lrint_upward_test_data): Likewise.
11556 (lrint_test_upward): Likewise.
11557 (llrint_test_data): Merge in per-rounding-mode tests and results
11558 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11559 llrint_downward_test_data and llrint_upward_test_data.
11560 (llrint_test): Use ALL_RM_TEST.
11561 (llrint_tonearest_test_data): Remove.
11562 (llrint_test_tonearest): Likewise.
11563 (llrint_towardzero_test_data): Likewise.
11564 (llrint_test_towardzero): Likewise.
11565 (llrint_downward_test_data): Likewise.
11566 (llrint_test_downward): Likewise.
11567 (llrint_upward_test_data): Likewise.
11568 (llrint_test_upward): Likewise.
11569 (rint_test_data): Merge in per-rounding-mode tests and results
11570 from rint_tonearest_test_data, rint_towardzero_test_data,
11571 rint_downward_test_data and rint_upward_test_data. Add
11572 per-rounding-mode results for tests not in those arrays.
11573 (rint_test): Use ALL_RM_TEST.
11574 (rint_tonearest_test_data): Remove.
11575 (rint_test_tonearest): Likewise.
11576 (rint_towardzero_test_data): Likewise.
11577 (rint_test_towardzero): Likewise.
11578 (rint_downward_test_data): Likewise.
11579 (rint_test_downward): Likewise.
11580 (rint_upward_test_data): Likewise.
11581 (rint_test_upward): Likewise.
11582 (main): Don't call removed functions.
11584 2014-03-14 Roland McGrath <roland@hack.frob.com>
11586 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11587 "Compiled on ..." crapola. It is anti-useful.
11589 2014-03-14 Joseph Myers <joseph@codesourcery.com>
11591 * scripts/evaluate-test.sh: Handle fourth argument to determine
11592 whether test run should stop on failure.
11593 * Makeconfig (stop-on-test-failure): New variable.
11594 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11595 $(stop-on-test-failure).
11596 * Makefile (tests): Give a summary of results from testing and
11597 exit with failure status if they include an ERROR or FAIL.
11598 (xtests): Likewise.
11599 * manual/install.texi (Configuring and compiling): Mention
11600 stop-on-test-failure=y.
11601 * INSTALL: Regenerated.
11603 2014-03-14 Roland McGrath <roland@hack.frob.com>
11605 * scripts/versionlist.awk: New file.
11606 * Makerules [$(build-shared) = yes]
11607 (postclean-generated): Add Versions.def, not Versions.def.v and
11609 ($(common-objpfx)Versions.def.v.i): Target removed.
11610 ($(common-objpfx)Versions.def): New target.
11611 ($(common-objpfx)Versions.all): Depend on that rather that
11612 $(common-objpfx)Versions.def.v.
11613 * Versions.def: File removed.
11615 * Makeconfig (+gccwarn): Add -Wundef.
11616 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11617 a dl-sysdep.h breaking its contract.
11618 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11619 * include/stackinfo.h: New file.
11620 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11621 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11622 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11623 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11624 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11625 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11626 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11627 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11628 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11629 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11630 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11631 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11632 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11633 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11634 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11636 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11639 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11641 * math/libm-test.inc (round_test_data): Add more tests.
11644 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11646 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11649 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11651 * math/libm-test.inc (ceil_test_data): Add more tests.
11653 * math/libm-test.inc (trunc_test_data): Add more tests related to
11656 2014-03-14 Roland McGrath <roland@hack.frob.com>
11658 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11659 with #if rather than #ifdef.
11660 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11662 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11664 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11665 first. Disable AVX-512 GCC support if assembler doesn't support
11667 * sysdeps/x86_64/configure: Regenerated.
11669 2014-03-13 Carlos O'Donell <carlos@redhat.com>
11671 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11672 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11673 (__old_pthread_attr_setstack): Likewise.
11674 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11675 [!_STACK_GROWS_DOWN]: Likewise.
11677 2014-03-13 Mike Frysinger <vapier@gentoo.org>
11679 * config.make.in (have-bash2): Delete.
11680 * configure.ac (libc_cv_have_bash2): Delete.
11681 * configure: Regenerate.
11682 * elf/Makefile (common-ldd-rewrite): Rename to ...
11683 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11684 (sh-ldd-rewrite): Delete.
11685 (bash-ldd-rewrite): Delete.
11686 (have-bash2): Delete checks.
11687 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11690 * config.make.in (have-ksh): Delete.
11692 * configure.ac (libc_cv_have_ksh): Delete.
11693 * configure: Regenerate.
11695 * elf/Makefile: Delete $(have-ksh) check.
11696 ($(objpfx)sotruss): Change KSH to BASH.
11697 * elf/sotruss.ksh: Rename to ...
11698 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11699 function style to match POSIX. Drop ksh vim mode setting.
11701 * manual/time.texi (Specifying the Time Zone with TZ): Change
11702 Tuesday to Thursday.
11704 * debug/tst-longjmp_chk2.c: Update header comment.
11705 (stackoverflow_handler): Add comment. Call assert on pass value.
11707 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11710 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11711 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11712 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11713 (La_x86_64_vector): Add zmm.
11714 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11715 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11716 ($(objpfx)tst-audit10): New target.
11717 ($(objpfx)tst-audit10.out): Likewise.
11718 (tst-audit10-ENV): New.
11719 (AVX512-CFLAGS): Likewise.
11720 (CFLAGS-tst-audit10.c): Likewise.
11721 (CFLAGS-tst-auditmod10a.c): Likewise.
11722 (CFLAGS-tst-auditmod10b.c): Likewise.
11723 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11724 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11725 * sysdeps/x86_64/configure: Regenerated.
11726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11727 AVX-512 zmm register support.
11728 (_dl_x86_64_save_sse): Likewise.
11729 (_dl_x86_64_restore_sse): Likewise.
11730 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11731 size vector registers.
11732 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11733 (ZMM_SIZE): Likewise.
11734 * sysdeps/x86_64/tst-audit10.c: New file.
11735 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11736 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11738 2014-03-13 Roland McGrath <roland@hack.frob.com>
11740 * configure.ac (HAVE_EHDR_START): New check.
11741 * configure: Regenerated.
11742 * config.h.in (HAVE_EHDR_START): New #undef.
11743 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11744 assuming the lowest-addressed segment maps the start of the file.
11746 2014-03-13 Joseph Myers <joseph@codesourcery.com>
11748 * INSTALL: Regenerated.
11750 2014-03-13 Will Newton <will.newton@linaro.org>
11752 * manual/setjmp.texi (System V contexts): Improve
11753 clarity and grammar of documentation.
11755 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11758 * elf/Makefile (tests): Add tst-pie2.
11759 (tests-pie): Add tst-pie2.
11760 * elf/tst-pie2.c: New file.
11761 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11763 * elf/rtld.c (map_doit): Load executable as lt_executable.
11764 (dl_main): Likewise.
11766 2014-03-12 Joseph Myers <joseph@codesourcery.com>
11769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11770 (__ASSUME_PSELECT): Undefine.
11772 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11775 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11776 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11778 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11779 selector for static builds.
11781 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11784 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11787 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11789 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11790 IFUNC selector for static builds.
11792 2014-03-11 Joseph Myers <joseph@codesourcery.com>
11794 * sysdeps/mips/math_private.h [__mips_hard_float]
11795 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11796 libc_feresetround_mips_ctx.
11797 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11798 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11799 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11802 * math/s_nextafter.c (__nextafter): Do not return value from
11803 overflowing computation.
11804 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11805 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11806 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11808 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11810 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11811 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11813 2014-03-11 Roland McGrath <roland@hack.frob.com>
11815 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11816 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11817 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11818 the new mov targetting sp.
11820 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11823 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11824 Define it for static builds as well.
11825 (NO_BZERO_IMPL): Likewise.
11827 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11829 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11830 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11831 multiarch strspn for PPC64.
11832 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11833 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11835 (__libc_ifunc_impl_list): Likewise.
11836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11837 multiarch optimizations
11838 * string/strspn.c (strspn): Using macro to redefine symbol name.
11840 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11841 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11843 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11844 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11845 multiarch strncat for PPC64.
11846 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11847 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11849 (__libc_ifunc_impl_list): Likewise.
11850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11851 multiarch optimizations
11853 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11856 * nscd/nscd.service: Make service type forking.
11858 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11860 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11861 sign in non default rounding modes.
11862 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11864 2014-03-08 Joseph Myers <joseph@codesourcery.com>
11866 * math/libm-test.inc (ALL_RM_TEST): New macro.
11867 (ceil_test): Use ALL_RM_TEST.
11868 (cimag_test): Likewise.
11869 (conj_test): Likewise.
11870 (copysign_test): Likewise.
11871 (cproj_test): Likewise.
11872 (creal_test): Likewise.
11873 (fabs_test): Likewise.
11874 (floor_test): Likewise.
11875 (fmax_test): Likewise.
11876 (fmin_test): Likewise.
11877 (fmod_test): Likewise.
11878 (fpclassify_test): Likewise.
11879 (frexp_test): Likewise.
11880 (ilogb_test): Likewise.
11881 (isfinite_test): Likewise.
11882 (finite_test): Likewise.
11883 (isgreater_test): Likewise.
11884 (isgreaterequal_test): Likewise.
11885 (isinf_test): Likewise.
11886 (isless_test): Likewise.
11887 (islessequal_test): Likewise.
11888 (islessgreater_test): Likewise.
11889 (isnan_test): Likewise.
11890 (isnormal_test): Likewise.
11891 (issignaling_test): Likewise.
11892 (isunordered_test): Likewise.
11893 (logb_test): Likewise.
11894 (logb_downward_test_data): Remove.
11895 (logb_test_downward): Likewise.
11896 (lround_test): Use ALL_RM_TEST.
11897 (llround_test): Likewise.
11898 (modf_test): Likewise.
11899 (nexttoward_test): Likewise.
11900 (remainder_test): Likewise.
11901 (drem_test): Likewise.
11902 (remainder_tonearest_test_data): Likewise.
11903 (remainder_test_tonearest): Likewise.
11904 (drem_test_tonearest): Likewise.
11905 (remainder_towardzero_test_data): Likewise.
11906 (remainder_test_towardzero): Likewise.
11907 (drem_test_towardzero): Likewise.
11908 (remainder_downward_test_data): Likewise.
11909 (remainder_test_downward): Likewise.
11910 (drem_test_downward): Likewise.
11911 (remainder_upward_test_data): Likewise.
11912 (remainder_test_upward): Likewise.
11913 (drem_test_upward): Likewise.
11914 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11915 (round_test): Use ALL_RM_TEST.
11916 (signbit_test): Likewise.
11917 (trunc_test): Likewise.
11918 (significand_test): Likewise.
11919 (main): Don't call removed functions.
11921 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11924 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11925 || __USE_XOPEN2K8].
11926 (ILL_ILLOPN): Likewise.
11927 (ILL_ILLADR): Likewise.
11928 (ILL_ILLTRP): Likewise.
11929 (ILL_PRVOPC): Likewise.
11930 (ILL_PRVREG): Likewise.
11931 (ILL_COPROC): Likewise.
11932 (ILL_BADSTK): Likewise.
11933 (FPE_INTDIV): Likewise.
11934 (FPE_INTOVF): Likewise.
11935 (FPE_FLTDIV): Likewise.
11936 (FPE_FLTOVF): Likewise.
11937 (FPE_FLTUND): Likewise.
11938 (FPE_FLTRES): Likewise.
11939 (FPE_FLTINV): Likewise.
11940 (FPE_FLTSUB): Likewise.
11941 (SEGV_MAPERR): Likewise.
11942 (SEGV_ACCERR): Likewise.
11943 (BUS_ADRALN): Likewise.
11944 (BUS_ADRERR): Likewise.
11945 (BUS_OBJERR): Likewise.
11946 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11947 (TRAP_TRACE): Likewise.
11948 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11950 (CLD_KILLED): Likewise.
11951 (CLD_DUMPED): Likewise.
11952 (CLD_TRAPPED): Likewise.
11953 (CLD_STOPPED): Likewise.
11954 (CLD_CONTINUED): Likewise.
11955 (POLL_IN): Likewise.
11956 (POLL_OUT): Likewise.
11957 (POLL_MSG): Likewise.
11958 (POLL_ERR): Likewise.
11959 (POLL_PRI): Likewise.
11960 (POLL_HUP): Likewise.
11961 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11963 (ILL_ILLOPN): Likewise.
11964 (ILL_ILLADR): Likewise.
11965 (ILL_ILLTRP): Likewise.
11966 (ILL_PRVOPC): Likewise.
11967 (ILL_PRVREG): Likewise.
11968 (ILL_COPROC): Likewise.
11969 (ILL_BADSTK): Likewise.
11970 (FPE_INTDIV): Likewise.
11971 (FPE_INTOVF): Likewise.
11972 (FPE_FLTDIV): Likewise.
11973 (FPE_FLTOVF): Likewise.
11974 (FPE_FLTUND): Likewise.
11975 (FPE_FLTRES): Likewise.
11976 (FPE_FLTINV): Likewise.
11977 (FPE_FLTSUB): Likewise.
11978 (SEGV_MAPERR): Likewise.
11979 (SEGV_ACCERR): Likewise.
11980 (BUS_ADRALN): Likewise.
11981 (BUS_ADRERR): Likewise.
11982 (BUS_OBJERR): Likewise.
11983 (BUS_MCEERR_AR): Likewise.
11984 (BUS_MCEERR_AO): Likewise.
11985 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11986 (TRAP_TRACE): Likewise.
11987 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11989 (CLD_KILLED): Likewise.
11990 (CLD_DUMPED): Likewise.
11991 (CLD_TRAPPED): Likewise.
11992 (CLD_STOPPED): Likewise.
11993 (CLD_CONTINUED): Likewise.
11994 (POLL_IN): Likewise.
11995 (POLL_OUT): Likewise.
11996 (POLL_MSG): Likewise.
11997 (POLL_ERR): Likewise.
11998 (POLL_PRI): Likewise.
11999 (POLL_HUP): Likewise.
12000 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12001 (ILL_ILLOPN): Likewise.
12002 (ILL_ILLADR): Likewise.
12003 (ILL_ILLTRP): Likewise.
12004 (ILL_PRVOPC): Likewise.
12005 (ILL_PRVREG): Likewise.
12006 (ILL_COPROC): Likewise.
12007 (ILL_BADSTK): Likewise.
12008 (FPE_INTDIV): Likewise.
12009 (FPE_INTOVF): Likewise.
12010 (FPE_FLTDIV): Likewise.
12011 (FPE_FLTOVF): Likewise.
12012 (FPE_FLTUND): Likewise.
12013 (FPE_FLTRES): Likewise.
12014 (FPE_FLTINV): Likewise.
12015 (FPE_FLTSUB): Likewise.
12016 (SEGV_MAPERR): Likewise.
12017 (SEGV_ACCERR): Likewise.
12018 (BUS_ADRALN): Likewise.
12019 (BUS_ADRERR): Likewise.
12020 (BUS_OBJERR): Likewise.
12021 (BUS_MCEERR_AR): Likewise.
12022 (BUS_MCEERR_AO): Likewise.
12023 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12024 (TRAP_TRACE): Likewise.
12025 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12027 (CLD_KILLED): Likewise.
12028 (CLD_DUMPED): Likewise.
12029 (CLD_TRAPPED): Likewise.
12030 (CLD_STOPPED): Likewise.
12031 (CLD_CONTINUED): Likewise.
12032 (POLL_IN): Likewise.
12033 (POLL_OUT): Likewise.
12034 (POLL_MSG): Likewise.
12035 (POLL_ERR): Likewise.
12036 (POLL_PRI): Likewise.
12037 (POLL_HUP): Likewise.
12038 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12040 (ILL_ILLOPN): Likewise.
12041 (ILL_ILLADR): Likewise.
12042 (ILL_ILLTRP): Likewise.
12043 (ILL_PRVOPC): Likewise.
12044 (ILL_PRVREG): Likewise.
12045 (ILL_COPROC): Likewise.
12046 (ILL_BADSTK): Likewise.
12047 (ILL_BADIADDR): Likewise.
12048 (ILL_BREAK): Likewise.
12049 (FPE_INTDIV): Likewise.
12050 (FPE_INTOVF): Likewise.
12051 (FPE_FLTDIV): Likewise.
12052 (FPE_FLTOVF): Likewise.
12053 (FPE_FLTUND): Likewise.
12054 (FPE_FLTRES): Likewise.
12055 (FPE_FLTINV): Likewise.
12056 (FPE_FLTSUB): Likewise.
12057 (FPE_DECOVF): Likewise.
12058 (FPE_DECDIV): Likewise.
12059 (FPE_DECERR): Likewise.
12060 (FPE_INVASC): Likewise.
12061 (FPE_INVDEC): Likewise.
12062 (SEGV_MAPERR): Likewise.
12063 (SEGV_ACCERR): Likewise.
12064 (SEGV_PSTKOVF): Likewise.
12065 (BUS_ADRALN): Likewise.
12066 (BUS_ADRERR): Likewise.
12067 (BUS_OBJERR): Likewise.
12068 (BUS_MCEERR_AR): Likewise.
12069 (BUS_MCEERR_AO): Likewise.
12070 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12071 (TRAP_TRACE): Likewise.
12072 (TRAP_BRANCH): Likewise.
12073 (TRAP_HWBKPT): Likewise.
12074 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12076 (CLD_KILLED): Likewise.
12077 (CLD_DUMPED): Likewise.
12078 (CLD_TRAPPED): Likewise.
12079 (CLD_STOPPED): Likewise.
12080 (CLD_CONTINUED): Likewise.
12081 (POLL_IN): Likewise.
12082 (POLL_OUT): Likewise.
12083 (POLL_MSG): Likewise.
12084 (POLL_ERR): Likewise.
12085 (POLL_PRI): Likewise.
12086 (POLL_HUP): Likewise.
12087 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12088 (ILL_ILLOPN): Likewise.
12089 (ILL_ILLADR): Likewise.
12090 (ILL_ILLTRP): Likewise.
12091 (ILL_PRVOPC): Likewise.
12092 (ILL_PRVREG): Likewise.
12093 (ILL_COPROC): Likewise.
12094 (ILL_BADSTK): Likewise.
12095 (FPE_INTDIV): Likewise.
12096 (FPE_INTOVF): Likewise.
12097 (FPE_FLTDIV): Likewise.
12098 (FPE_FLTOVF): Likewise.
12099 (FPE_FLTUND): Likewise.
12100 (FPE_FLTRES): Likewise.
12101 (FPE_FLTINV): Likewise.
12102 (FPE_FLTSUB): Likewise.
12103 (SEGV_MAPERR): Likewise.
12104 (SEGV_ACCERR): Likewise.
12105 (BUS_ADRALN): Likewise.
12106 (BUS_ADRERR): Likewise.
12107 (BUS_OBJERR): Likewise.
12108 (BUS_MCEERR_AR): Likewise.
12109 (BUS_MCEERR_AO): Likewise.
12110 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12111 (TRAP_TRACE): Likewise.
12112 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12114 (CLD_KILLED): Likewise.
12115 (CLD_DUMPED): Likewise.
12116 (CLD_TRAPPED): Likewise.
12117 (CLD_STOPPED): Likewise.
12118 (CLD_CONTINUED): Likewise.
12119 (POLL_IN): Likewise.
12120 (POLL_OUT): Likewise.
12121 (POLL_MSG): Likewise.
12122 (POLL_ERR): Likewise.
12123 (POLL_PRI): Likewise.
12124 (POLL_HUP): Likewise.
12125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12126 (ILL_ILLOPN): Likewise.
12127 (ILL_ILLADR): Likewise.
12128 (ILL_ILLTRP): Likewise.
12129 (ILL_PRVOPC): Likewise.
12130 (ILL_PRVREG): Likewise.
12131 (ILL_COPROC): Likewise.
12132 (ILL_BADSTK): Likewise.
12133 (FPE_INTDIV): Likewise.
12134 (FPE_INTOVF): Likewise.
12135 (FPE_FLTDIV): Likewise.
12136 (FPE_FLTOVF): Likewise.
12137 (FPE_FLTUND): Likewise.
12138 (FPE_FLTRES): Likewise.
12139 (FPE_FLTINV): Likewise.
12140 (FPE_FLTSUB): Likewise.
12141 (SEGV_MAPERR): Likewise.
12142 (SEGV_ACCERR): Likewise.
12143 (BUS_ADRALN): Likewise.
12144 (BUS_ADRERR): Likewise.
12145 (BUS_OBJERR): Likewise.
12146 (BUS_MCEERR_AR): Likewise.
12147 (BUS_MCEERR_AO): Likewise.
12148 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12149 (TRAP_TRACE): Likewise.
12150 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12152 (CLD_KILLED): Likewise.
12153 (CLD_DUMPED): Likewise.
12154 (CLD_TRAPPED): Likewise.
12155 (CLD_STOPPED): Likewise.
12156 (CLD_CONTINUED): Likewise.
12157 (POLL_IN): Likewise.
12158 (POLL_OUT): Likewise.
12159 (POLL_MSG): Likewise.
12160 (POLL_ERR): Likewise.
12161 (POLL_PRI): Likewise.
12162 (POLL_HUP): Likewise.
12163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12164 (ILL_ILLOPN): Likewise.
12165 (ILL_ILLADR): Likewise.
12166 (ILL_ILLTRP): Likewise.
12167 (ILL_PRVOPC): Likewise.
12168 (ILL_PRVREG): Likewise.
12169 (ILL_COPROC): Likewise.
12170 (ILL_BADSTK): Likewise.
12171 (FPE_INTDIV): Likewise.
12172 (FPE_INTOVF): Likewise.
12173 (FPE_FLTDIV): Likewise.
12174 (FPE_FLTOVF): Likewise.
12175 (FPE_FLTUND): Likewise.
12176 (FPE_FLTRES): Likewise.
12177 (FPE_FLTINV): Likewise.
12178 (FPE_FLTSUB): Likewise.
12179 (SEGV_MAPERR): Likewise.
12180 (SEGV_ACCERR): Likewise.
12181 (BUS_ADRALN): Likewise.
12182 (BUS_ADRERR): Likewise.
12183 (BUS_OBJERR): Likewise.
12184 (BUS_MCEERR_AR): Likewise.
12185 (BUS_MCEERR_AO): Likewise.
12186 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12187 (TRAP_TRACE): Likewise.
12188 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12190 (CLD_KILLED): Likewise.
12191 (CLD_DUMPED): Likewise.
12192 (CLD_TRAPPED): Likewise.
12193 (CLD_STOPPED): Likewise.
12194 (CLD_CONTINUED): Likewise.
12195 (POLL_IN): Likewise.
12196 (POLL_OUT): Likewise.
12197 (POLL_MSG): Likewise.
12198 (POLL_ERR): Likewise.
12199 (POLL_PRI): Likewise.
12200 (POLL_HUP): Likewise.
12201 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12202 (ILL_ILLOPN): Likewise.
12203 (ILL_ILLADR): Likewise.
12204 (ILL_ILLTRP): Likewise.
12205 (ILL_PRVOPC): Likewise.
12206 (ILL_PRVREG): Likewise.
12207 (ILL_COPROC): Likewise.
12208 (ILL_BADSTK): Likewise.
12209 (ILL_DBLFLT): Likewise.
12210 (ILL_HARDWALL): Likewise.
12211 (FPE_INTDIV): Likewise.
12212 (FPE_INTOVF): Likewise.
12213 (FPE_FLTDIV): Likewise.
12214 (FPE_FLTOVF): Likewise.
12215 (FPE_FLTUND): Likewise.
12216 (FPE_FLTRES): Likewise.
12217 (FPE_FLTINV): Likewise.
12218 (FPE_FLTSUB): Likewise.
12219 (SEGV_MAPERR): Likewise.
12220 (SEGV_ACCERR): Likewise.
12221 (BUS_ADRALN): Likewise.
12222 (BUS_ADRERR): Likewise.
12223 (BUS_OBJERR): Likewise.
12224 (BUS_MCEERR_AR): Likewise.
12225 (BUS_MCEERR_AO): Likewise.
12226 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12227 (TRAP_TRACE): Likewise.
12228 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12230 (CLD_KILLED): Likewise.
12231 (CLD_DUMPED): Likewise.
12232 (CLD_TRAPPED): Likewise.
12233 (CLD_STOPPED): Likewise.
12234 (CLD_CONTINUED): Likewise.
12235 (POLL_IN): Likewise.
12236 (POLL_OUT): Likewise.
12237 (POLL_MSG): Likewise.
12238 (POLL_ERR): Likewise.
12239 (POLL_PRI): Likewise.
12240 (POLL_HUP): Likewise.
12241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12242 (ILL_ILLOPN): Likewise.
12243 (ILL_ILLADR): Likewise.
12244 (ILL_ILLTRP): Likewise.
12245 (ILL_PRVOPC): Likewise.
12246 (ILL_PRVREG): Likewise.
12247 (ILL_COPROC): Likewise.
12248 (ILL_BADSTK): Likewise.
12249 (FPE_INTDIV): Likewise.
12250 (FPE_INTOVF): Likewise.
12251 (FPE_FLTDIV): Likewise.
12252 (FPE_FLTOVF): Likewise.
12253 (FPE_FLTUND): Likewise.
12254 (FPE_FLTRES): Likewise.
12255 (FPE_FLTINV): Likewise.
12256 (FPE_FLTSUB): Likewise.
12257 (SEGV_MAPERR): Likewise.
12258 (SEGV_ACCERR): Likewise.
12259 (BUS_ADRALN): Likewise.
12260 (BUS_ADRERR): Likewise.
12261 (BUS_OBJERR): Likewise.
12262 (BUS_MCEERR_AR): Likewise.
12263 (BUS_MCEERR_AO): Likewise.
12264 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12265 (TRAP_TRACE): Likewise.
12266 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12268 (CLD_KILLED): Likewise.
12269 (CLD_DUMPED): Likewise.
12270 (CLD_TRAPPED): Likewise.
12271 (CLD_STOPPED): Likewise.
12272 (CLD_CONTINUED): Likewise.
12273 (POLL_IN): Likewise.
12274 (POLL_OUT): Likewise.
12275 (POLL_MSG): Likewise.
12276 (POLL_ERR): Likewise.
12277 (POLL_PRI): Likewise.
12278 (POLL_HUP): Likewise.
12279 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12280 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12283 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12284 before #include of <time.h>.
12285 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12286 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12287 (test-xfail-UNIX98/sched.h/conform): Likewise.
12289 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12291 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12292 error absence of trapping exception support.
12293 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12295 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12297 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12298 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12299 * timezone/Makefile (testdata): Move definition above include of
12301 (test-zones): New variable.
12302 (tests-special): Add zone files.
12303 (build-testdata): Use $(evaluate-test).
12305 * elf/Makefile (tests-special): Rename tests to end with .out.
12306 ($(objpfx)noload-mem): Likewise.
12307 ($(objpfx)tst-leaks1-mem): Likewise.
12308 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12309 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12310 $(objpfx)test-iconvconfig.out.
12311 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12312 set -e inside subshell and redirect output to file.
12313 * iconvdata/Makefile (generated): Rename tests to end with .out.
12315 (tests-special): Rename tests to end with .out.
12316 ($(objpfx)mtrace-tst-loading): Likewise.
12317 * intl/Makefile (generated): Likewise.
12318 (tests-special): Likewise.
12319 ($(objpfx)mtrace-tst-gettext): Likewise.
12320 * misc/Makefile (generated): Likewise.
12321 (tests-special): Likewise.
12322 ($(objpfx)tst-error1-mem): Likewise.
12323 * nptl/Makefile (tests-special): Likewise.
12324 ($(objpfx)tst-stack3-mem): Likewise.
12325 (generated): Likewise.
12326 * posix/Makefile (generated): Likewise.
12327 (tests-special): Likewise.
12328 (xtests-special): Likewise.
12329 ($(objpfx)tst-fnmatch-mem): Likewise.
12330 ($(objpfx)bug-regex2-mem): Likewise.
12331 ($(objpfx)bug-regex14-mem): Likewise.
12332 ($(objpfx)bug-regex21-mem): Likewise.
12333 ($(objpfx)bug-regex31-mem): Likewise.
12334 ($(objpfx)tst-vfork3-mem): Likewise.
12335 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12336 ($(objpfx)tst-pcre-mem): Likewise.
12337 ($(objpfx)tst-boost-mem): Likewise.
12338 ($(objpfx)bug-ga2-mem): Likewise.
12339 ($(objpfx)bug-glob2-mem): Likewise.
12340 * resolv/Makefile (generate): Likewise.
12341 (tests-special): Likewise.
12342 (xtests-special): Likewise.
12343 (generated): Likewise.
12344 ($(objpfx)mtrace-tst-leaks): Likewise.
12345 ($(objpfx)mtrace-tst-leaks2): Likewise.
12347 * scripts/merge-test-results.sh: New file.
12348 * Makefile (tests-special-notdir): New variable.
12349 (tests): Run merge-test-results.sh.
12350 (xtests): Likewise.
12351 * Rules (tests-special-notdir): New variable.
12352 (xtests-special-notdir): Likewise.
12353 (tests): Run merge-test-results.sh
12354 (xtests): Likewise.
12356 * Makeconfig (test-xfail-name): New variable.
12357 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12358 compute variable name for expected failures.
12359 * conform/Makefile (conformtest-headers-data): New variable.
12360 (conformtest-standards): Likewise.
12361 (conformtest-headers-ISO): Likewise.
12362 (conformtest-headers-ISO99): Likewise.
12363 (conformtest-headers-ISO11): Likewise.
12364 (conformtest-headers-POSIX): Likewise.
12365 (conformtest-headers-XPG3): Likewise.
12366 (conformtest-headers-XPG4): Likewise.
12367 (conformtest-headers-UNIX98): Likewise.
12368 (conformtest-headers-XOPEN2K): Likewise.
12369 (conformtest-headers-POSIX2008): Likewise.
12370 (conformtest-headers-XOPEN2K8): Likewise.
12371 (conformtest-header-list-base): Likewise.
12372 (conformtest-header-list-tests): Likewise.
12373 (conformtest-header-base): Likewise.
12374 (conformtest-header-tests): Likewise.
12375 (tests-special): Add $(conformtest-header-list-tests). If
12376 [$(fast-check) && !$(cross-compiling)], add
12377 $(conformtest-header-tests) instead of
12378 $(objpfx)run-conformtest.out.
12379 (generated): Add $(conformtest-header-list-base). If
12380 [$(fast-check) && !$(cross-compiling)], add
12381 $(conformtest-header-base). Remove previous setting.
12382 ($(conformtest-header-list-tests)): New target.
12383 (test-xfail-run-conformtest): Remove variable.
12384 ($(objpfx)run-conformtest.out): Remove target.
12385 (test-xfail-ISO11/complex.h/conform): New variable.
12386 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12387 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12388 (test-xfail-XPG3/varargs.h/conform): Likewise.
12389 (test-xfail-XPG4/varargs.h/conform): Likewise.
12390 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12391 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12392 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12393 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12394 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12395 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12396 (test-xfail-XPG3/ftw.h/conform): Likewise.
12397 (test-xfail-XPG3/grp.h/conform): Likewise.
12398 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12399 (test-xfail-XPG3/limits.h/conform): Likewise.
12400 (test-xfail-XPG3/pwd.h/conform): Likewise.
12401 (test-xfail-XPG3/search.h/conform): Likewise.
12402 (test-xfail-XPG3/signal.h/conform): Likewise.
12403 (test-xfail-XPG3/stdio.h/conform): Likewise.
12404 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12405 (test-xfail-XPG3/string.h/conform): Likewise.
12406 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12407 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12408 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12409 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12410 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12411 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12412 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12413 (test-xfail-XPG3/termios.h/conform): Likewise.
12414 (test-xfail-XPG3/time.h/conform): Likewise.
12415 (test-xfail-XPG3/unistd.h/conform): Likewise.
12416 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12417 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12418 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12419 (test-xfail-XPG4/netdb.h/conform): Likewise.
12420 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12421 (test-xfail-XPG4/signal.h/conform): Likewise.
12422 (test-xfail-XPG4/stdio.h/conform): Likewise.
12423 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12424 (test-xfail-XPG4/stropts.h/conform): Likewise.
12425 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12426 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12427 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12428 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12429 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12430 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12431 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12432 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12433 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12434 (test-xfail-XPG4/termios.h/conform): Likewise.
12435 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12436 (test-xfail-XPG4/unistd.h/conform): Likewise.
12437 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12438 (test-xfail-POSIX/sched.h/conform): Likewise.
12439 (test-xfail-POSIX/signal.h/conform): Likewise.
12440 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12441 (test-xfail-POSIX/tar.h/conform): Likewise.
12442 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12443 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12444 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12445 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12446 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12447 (test-xfail-UNIX98/sched.h/conform): Likewise.
12448 (test-xfail-UNIX98/signal.h/conform): Likewise.
12449 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12450 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12451 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12452 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12453 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12454 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12455 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12456 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12457 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12458 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12459 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12460 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12461 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12462 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12463 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12464 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12465 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12466 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12467 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12468 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12469 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12470 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12471 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12472 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12473 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12474 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12475 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12476 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12477 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12478 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12479 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12480 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12481 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12482 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12483 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12484 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12485 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12486 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12487 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12488 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12489 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12490 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12491 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12492 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12493 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12494 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12495 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12496 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12497 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12498 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12499 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12500 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12501 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12502 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12503 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12504 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12505 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12506 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12507 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12508 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12509 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12510 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12511 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12512 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12513 (conformtest-cc-flags): Likewise.
12514 ($(conformtest-header-tests): New target.
12515 * conform/check-header-lists.sh: New file.
12516 * conform/run-conformtest.sh: Remove.
12518 * conform/conformtest.pl: Allow ' and \ in values given for
12520 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12522 [POSIX] (sys/types.h): Likewise.
12523 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12525 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12527 * conform/data/signal.h-data (SIGIO): Remove expectation.
12528 [XPG3] (SIGBUS): Do not expect.
12529 [POSIX || XPG3] (SIGPOLL): Likewise.
12530 [POSIX || XPG3] (SIGPROF): Likewise.
12531 [POSIX || XPG3] (SIGSYS): Likewise.
12532 [XPG3] (SIGTRAP): Likewise.
12533 [POSIX || XPG3] (SIGURG): Likewise.
12534 [POSIX || XPG3] (SIGVTALRM): Likewise.
12535 [POSIX || XPG3] (SIGXCPU): Likewise.
12536 [POSIX || XPG3] (SIGXFSZ): Likewise.
12537 [POSIX] (SA_SIGINFO): Expect.
12538 [XPG3] (siginfo_t): Do not expect type or contents.
12539 [POSIX] (si_pid): Do not expect element.
12540 [POSIX] (si_uid): Likewise.
12541 [POSIX] (si_addr): Likewise.
12542 [POSIX] (si_status): Likewise.
12543 [POSIX] (si_band): Likewise.
12544 [XPG4] (si_value): Likewise.
12545 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12546 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12547 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12548 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12549 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12550 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12551 [POSIX || XPG3] (ILL_COPROC): Likewise.
12552 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12553 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12554 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12555 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12556 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12557 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12558 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12559 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12560 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12561 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12562 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12563 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12564 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12565 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12566 [POSIX || XPG3] (CLD_EXITED): Likewise.
12567 [POSIX || XPG3] (CLD_KILLED): Likewise.
12568 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12569 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12570 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12571 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12572 [POSIX || XPG3] (POLL_IN): Likewise.
12573 [POSIX || XPG3] (POLL_OUT): Likewise.
12574 [POSIX || XPG3] (POLL_MSG): Likewise.
12575 [POSIX || XPG3] (POLL_ERR): Likewise.
12576 [POSIX || XPG3] (POLL_PRI): Likewise.
12577 [POSIX || XPG3] (POLL_HUP): Likewise.
12578 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12579 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12580 (SIG*): Do not allow.
12581 [XPG3] (si_*): Likewise.
12582 [XPG3] (SI_*): Likewise.
12583 [XPG3 || XPG4] (sigev_*): Likewise.
12584 [XPG3 || XPG4] (SIGEV_*): Likewise.
12585 [XPG3 || XPG4] (sival_*): Likewise.
12586 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12587 [POSIX || XPG3] (BUS_*): Likewise.
12588 [POSIX || XPG3] (CLD_*): Likewise.
12589 [POSIX || XPG3] (FPE_*): Likewise.
12590 [POSIX || XPG3] (ILL_*): Likewise.
12591 [POSIX || XPG3] (POLL_*): Likewise.
12592 [POSIX || XPG3] (SEGV_*): Likewise.
12593 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12594 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12595 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12596 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12597 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12598 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12599 Specify type and value.
12600 (TVERSLEN): Likewise.
12601 (REGTYPE): Likewise.
12602 (AREGTYPE): Likewise.
12603 (LNKTYPE): Likewise.
12604 (SYMTYPE): Likewise.
12605 (CHRTYPE): Likewise.
12606 (BLKTYPE): Likewise.
12607 (DIRTYPE): Likewise.
12608 (FIFOTYPE): Likewise.
12609 (CONTTYPE): Likewise.
12613 (TUREAD): Likewise.
12614 (TUWRITE): Likewise.
12615 (TUEXEC): Likewise.
12616 (TGREAD): Likewise.
12617 (TGWRITE): Likewise.
12618 (TGEXEC): Likewise.
12619 (TOREAD): Likewise.
12620 (TOWRITE): Likewise.
12621 (TOEXEC): Likewise.
12622 [POSIX] (TSVTX): Expect constant.
12624 2014-03-06 Joseph Myers <joseph@codesourcery.com>
12626 * Makefile (tests): Change dependencies to ....
12627 (tests-special): ... additions to this variable.
12628 (tests): Depend on $(tests-special).
12629 * Makerules (check-abi-list): New variable.
12630 (check-abi): Depend on $(check-abi-list).
12631 [$(subdir) = elf] (tests-special): Add
12632 $(objpfx)check-abi-libc.out.
12633 [$(build-shared) = yes && subdir] (tests-special): Add
12635 [$(build-shared) = yes && subdir] (tests): Do not depend on
12637 * Rules (tests): Depend on $(tests-special).
12638 (xtests): Depend on $(xtests-special).
12639 * catgets/Makefile (tests): Change dependencies to ....
12640 (tests-special): ... additions to this variable.
12641 * conform/Makefile (tests): Change dependencies to ....
12642 (tests-special): ... additions to this variable.
12643 * elf/Makefile (tests): Change dependencies to ....
12644 (tests-special): ... additions to this variable.
12645 * grp/Makefile (tests): Change dependencies to ....
12646 (tests-special): ... additions to this variable.
12647 * iconv/Makefile (xtests): Change dependencies to ....
12648 (xtests-special): ... additions to this variable.
12649 * iconvdata/Makefile (tests): Change dependencies to ....
12650 (tests-special): ... additions to this variable.
12651 * intl/Makefile (tests): Change dependencies to ....
12652 (tests-special): ... additions to this variable. Also add
12653 $(objpfx)tst-gettext.out.
12654 * io/Makefile (tests): Change dependencies to ....
12655 (tests-special): ... additions to this variable.
12656 * libio/Makefile (tests): Change dependencies to ....
12657 (tests-special): ... additions to this variable.
12658 * malloc/Makefile (tests): Change dependencies to ....
12659 (tests-special): ... additions to this variable.
12660 * misc/Makefile (tests): Change dependencies to ....
12661 (tests-special): ... additions to this variable.
12662 * nptl/Makefile (tests): Change dependencies to ....
12663 (tests-special): ... additions to this variable.
12664 * nptl_db/Makefile (tests): Change dependencies to ....
12665 (tests-special): ... additions to this variable.
12666 * posix/Makefile (tests): Change dependencies to ....
12667 (tests-special): ... additions to this variable.
12668 (xtests): Change dependencies to ....
12669 (xtests-special): ... additions to this variable.
12670 * resolv/Makefile (tests): Change dependencies to ....
12671 (tests-special): ... additions to this variable.
12672 (xtests): Change dependencies to ....
12673 (xtests-special): ... additions to this variable.
12674 * stdio-common/Makefile (tests): Change dependencies to ....
12675 (tests-special): ... additions to this variable.
12676 (do-tst-unbputc): Remove target.
12677 (do-tst-printf): Likewise.
12678 * stdlib/Makefile (tests): Change dependencies to ....
12679 (tests-special): ... additions to this variable.
12680 * string/Makefile (tests): Change dependencies to ....
12681 (tests-special): ... additions to this variable.
12682 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12683 (tests-special): ... additions to this variable.
12685 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12687 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12689 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12690 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12692 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12693 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12694 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12695 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12696 * conform/data/libgen.h-data [XPG3]: Likewise.
12697 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12698 * conform/data/ndbm.h-data [XPG3]: Likewise.
12699 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12700 * conform/data/netdb.h-data [XPG3]: Likewise.
12701 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12702 * conform/data/poll.h-data [XPG3]: Likewise.
12703 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12704 * conform/data/strings.h-data [XPG3]: Likewise.
12705 * conform/data/stropts.h-data [XPG3]: Likewise.
12706 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12707 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12708 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12710 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12711 * conform/data/sys/time.h-data [XPG3]: Likewise.
12712 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12713 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12714 * conform/data/sys/un.h-data [XPG3]: Likewise.
12715 * conform/data/syslog.h-data [XPG3]: Likewise.
12716 * conform/data/ucontext.h-data [XPG3]: Likewise.
12717 * conform/data/utmpx.h-data [XPG3]: Likewise.
12718 * conform/data/varargs.h-data [UNIX98]: Enable file.
12720 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12722 * math/libm-test.inc (struct test_f_f_data): Move expected results
12723 into structure for each rounding mode.
12724 (struct test_ff_f_data): Likewise.
12725 (struct test_ff_f_data_nexttoward): Likewise.
12726 (struct test_fi_f_data): Likewise.
12727 (struct test_fl_f_data): Likewise.
12728 (struct test_if_f_data): Likewise.
12729 (struct test_fff_f_data): Likewise.
12730 (struct test_c_f_data): Likewise.
12731 (struct test_f_f1_data): Likewise.
12732 (struct test_fF_f1_data): Likewise.
12733 (struct test_ffI_f1_data): Likewise.
12734 (struct test_c_c_data): Likewise.
12735 (struct test_cc_c_data): Likewise.
12736 (struct test_f_i_data): Likewise.
12737 (struct test_ff_i_data): Likewise.
12738 (struct test_f_l_data): Likewise.
12739 (struct test_f_L_data): Likewise.
12740 (struct test_fFF_11_data): Likewise.
12742 (RM_FE_DOWNWARD): Likewise.
12743 (RM_FE_TONEAREST): Likewise.
12744 (RM_FE_TOWARDZERO): Likewise.
12745 (RM_FE_UPWARD): Likewise.
12746 (RUN_TEST_LOOP_f_f): Update references to expected results.
12747 (RUN_TEST_LOOP_2_f): Likewise.
12748 (RUN_TEST_LOOP_fff_f): Likewise.
12749 (RUN_TEST_LOOP_c_f): Likewise.
12750 (RUN_TEST_LOOP_f_f1): Likewise.
12751 (RUN_TEST_LOOP_fF_f1): Likewise.
12752 (RUN_TEST_LOOP_fI_f1): Likewise.
12753 (RUN_TEST_LOOP_ffI_f1): Likewise.
12754 (RUN_TEST_LOOP_c_c): Likewise.
12755 (RUN_TEST_LOOP_cc_c): Likewise.
12756 (RUN_TEST_LOOP_f_i): Likewise.
12757 (RUN_TEST_LOOP_f_i_tg): Likewise.
12758 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12759 (RUN_TEST_LOOP_f_b): Likewise.
12760 (RUN_TEST_LOOP_f_b_tg): Likewise.
12761 (RUN_TEST_LOOP_f_l): Likewise.
12762 (RUN_TEST_LOOP_f_L): Likewise.
12763 (RUN_TEST_LOOP_fFF_11): Likewise.
12764 * math/gen-libm-test.pl (parse_args): Output four copies of
12765 expected results for each test.
12767 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12768 (__ASSUME_UTIMES): Remove.
12769 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12770 (__ASSUME_UTIMES): Likewise.
12772 * math/gen-auto-libm-tests.c: Update comment on output format.
12773 (output_for_one_input_case): Generate before-rounding and
12774 after-rounding information as conditions on output flags not
12775 floating-point format.
12776 * math/auto-libm-test-out: Regenerated.
12777 * math/gen-libm-test.pl (cond_value): New function.
12778 (or_cond_value): Use cond_value.
12779 (generate_testfile): Handle conditional exceptions.
12781 2014-03-05 Joseph Myers <joseph@codesourcery.com>
12783 * math/libm-test.inc (max_valid_error): New variable.
12784 (init_max_error): Take new argument specifying whether function
12785 results are exactly determined. Set max_valid_error and bound
12786 other variables for errors based on this argument.
12787 (set_max_error): Do not record results above max_valid_error.
12788 (check_float_internal): Only accept errors of up to 0.5ulps if
12789 also at most max_valid_error.
12790 (START): Take new argument EXACT and pass it to init_max_error.
12791 (acos_test): Update call to START.
12792 (acos_test_tonearest): Likewise.
12793 (acos_test_towardzero): Likewise.
12794 (acos_test_downward): Likewise.
12795 (acos_test_upward): Likewise.
12796 (acosh_test): Likewise.
12797 (asin_test): Likewise.
12798 (asin_test_tonearest): Likewise.
12799 (asin_test_towardzero): Likewise.
12800 (asin_test_downward): Likewise.
12801 (asin_test_upward): Likewise.
12802 (asinh_test): Likewise.
12803 (atan_test): Likewise.
12804 (atanh_test): Likewise.
12805 (atan2_test): Likewise.
12806 (cabs_test): Likewise.
12807 (cacos_test): Likewise.
12808 (cacosh_test): Likewise.
12809 (carg_test): Likewise.
12810 (casin_test): Likewise.
12811 (casinh_test): Likewise.
12812 (catan_test): Likewise.
12813 (catanh_test): Likewise.
12814 (cbrt_test): Likewise.
12815 (ccos_test): Likewise.
12816 (ccosh_test): Likewise.
12817 (ceil_test): Likewise.
12818 (cexp_test): Likewise.
12819 (cimag_test): Likewise.
12820 (clog_test): Likewise.
12821 (clog10_test): Likewise.
12822 (conj_test): Likewise.
12823 (copysign_test): Likewise.
12824 (cos_test): Likewise.
12825 (cos_test_tonearest): Likewise.
12826 (cos_test_towardzero): Likewise.
12827 (cos_test_downward): Likewise.
12828 (cos_test_upward): Likewise.
12829 (cosh_test): Likewise.
12830 (cosh_test_tonearest): Likewise.
12831 (cosh_test_towardzero): Likewise.
12832 (cosh_test_downward): Likewise.
12833 (cosh_test_upward): Likewise.
12834 (cpow_test): Likewise.
12835 (cproj_test): Likewise.
12836 (creal_test): Likewise.
12837 (csin_test): Likewise.
12838 (csinh_test): Likewise.
12839 (csqrt_test): Likewise.
12840 (ctan_test): Likewise.
12841 (ctan_test_tonearest): Likewise.
12842 (ctan_test_towardzero): Likewise.
12843 (ctan_test_downward): Likewise.
12844 (ctan_test_upward): Likewise.
12845 (ctanh_test): Likewise.
12846 (ctanh_test_tonearest): Likewise.
12847 (ctanh_test_towardzero): Likewise.
12848 (ctanh_test_downward): Likewise.
12849 (ctanh_test_upward): Likewise.
12850 (erf_test): Likewise.
12851 (erfc_test): Likewise.
12852 (exp_test): Likewise.
12853 (exp_test_tonearest): Likewise.
12854 (exp_test_towardzero): Likewise.
12855 (exp_test_downward): Likewise.
12856 (exp_test_upward): Likewise.
12857 (exp10_test): Likewise.
12858 (exp10_test_tonearest): Likewise.
12859 (exp10_test_towardzero): Likewise.
12860 (exp10_test_downward): Likewise.
12861 (exp10_test_upward): Likewise.
12862 (pow10_test): Likewise.
12863 (exp2_test): Likewise.
12864 (expm1_test): Likewise.
12865 (expm1_test_tonearest): Likewise.
12866 (expm1_test_towardzero): Likewise.
12867 (expm1_test_downward): Likewise.
12868 (expm1_test_upward): Likewise.
12869 (fabs_test): Likewise.
12870 (fdim_test): Likewise.
12871 (floor_test): Likewise.
12872 (fma_test): Likewise.
12873 (fma_test_towardzero): Likewise.
12874 (fma_test_downward): Likewise.
12875 (fma_test_upward): Likewise.
12876 (fmax_test): Likewise.
12877 (fmin_test): Likewise.
12878 (fmod_test): Likewise.
12879 (fpclassify_test): Likewise.
12880 (frexp_test): Likewise.
12881 (hypot_test): Likewise.
12882 (ilogb_test): Likewise.
12883 (isfinite_test): Likewise.
12884 (finite_test): Likewise.
12885 (isgreater_test): Likewise.
12886 (isgreaterequal_test): Likewise.
12887 (isinf_test): Likewise.
12888 (isless_test): Likewise.
12889 (islessequal_test): Likewise.
12890 (islessgreater_test): Likewise.
12891 (isnan_test): Likewise.
12892 (isnormal_test): Likewise.
12893 (issignaling_test): Likewise.
12894 (isunordered_test): Likewise.
12895 (j0_test): Likewise.
12896 (j1_test): Likewise.
12897 (jn_test): Likewise.
12898 (ldexp_test): Likewise.
12899 (lgamma_test): Likewise.
12900 (gamma_test): Likewise.
12901 (lrint_test): Likewise.
12902 (lrint_test_tonearest): Likewise.
12903 (lrint_test_towardzero): Likewise.
12904 (lrint_test_downward): Likewise.
12905 (lrint_test_upward): Likewise.
12906 (llrint_test): Likewise.
12907 (llrint_test_tonearest): Likewise.
12908 (llrint_test_towardzero): Likewise.
12909 (llrint_test_downward): Likewise.
12910 (llrint_test_upward): Likewise.
12911 (log_test): Likewise.
12912 (log10_test): Likewise.
12913 (log1p_test): Likewise.
12914 (log2_test): Likewise.
12915 (logb_test): Likewise.
12916 (logb_test_downward): Likewise.
12917 (lround_test): Likewise.
12918 (llround_test): Likewise.
12919 (modf_test): Likewise.
12920 (nearbyint_test): Likewise.
12921 (nextafter_test): Likewise.
12922 (nexttoward_test): Likewise.
12923 (pow_test): Likewise.
12924 (pow_test_tonearest): Likewise.
12925 (pow_test_towardzero): Likewise.
12926 (pow_test_downward): Likewise.
12927 (pow_test_upward): Likewise.
12928 (remainder_test): Likewise.
12929 (drem_test): Likewise.
12930 (remainder_test_tonearest): Likewise.
12931 (drem_test_tonearest): Likewise.
12932 (remainder_test_towardzero): Likewise.
12933 (drem_test_towardzero): Likewise.
12934 (remainder_test_downward): Likewise.
12935 (drem_test_downward): Likewise.
12936 (remainder_test_upward): Likewise.
12937 (drem_test_upward): Likewise.
12938 (remquo_test): Likewise.
12939 (rint_test): Likewise.
12940 (rint_test_tonearest): Likewise.
12941 (rint_test_towardzero): Likewise.
12942 (rint_test_downward): Likewise.
12943 (rint_test_upward): Likewise.
12944 (round_test): Likewise.
12945 (scalb_test): Likewise.
12946 (scalbn_test): Likewise.
12947 (scalbln_test): Likewise.
12948 (signbit_test): Likewise.
12949 (sin_test): Likewise.
12950 (sin_test_tonearest): Likewise.
12951 (sin_test_towardzero): Likewise.
12952 (sin_test_downward): Likewise.
12953 (sin_test_upward): Likewise.
12954 (sincos_test): Likewise.
12955 (sinh_test): Likewise.
12956 (sinh_test_tonearest): Likewise.
12957 (sinh_test_towardzero): Likewise.
12958 (sinh_test_downward): Likewise.
12959 (sinh_test_upward): Likewise.
12960 (sqrt_test): Likewise.
12961 (sqrt_test_tonearest): Likewise.
12962 (sqrt_test_towardzero): Likewise.
12963 (sqrt_test_downward): Likewise.
12964 (sqrt_test_upward): Likewise.
12965 (tan_test): Likewise.
12966 (tan_test_tonearest): Likewise.
12967 (tan_test_towardzero): Likewise.
12968 (tan_test_downward): Likewise.
12969 (tan_test_upward): Likewise.
12970 (tanh_test): Likewise.
12971 (tgamma_test): Likewise.
12972 (trunc_test): Likewise.
12973 (y0_test): Likewise.
12974 (y1_test): Likewise.
12975 (yn_test): Likewise.
12976 (significand_test): Likewise.
12978 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12979 individual tests in comment.
12980 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12981 (prev_max_error): New variable.
12982 (prev_real_max_error): Likewise.
12983 (prev_imag_max_error): Likewise.
12984 (compare_ulp_data): Don't refer to test names in comment.
12985 (find_test_ulps): Remove function.
12986 (find_function_ulps): Likewise.
12987 (find_complex_function_ulps): Likewise.
12988 (init_max_error): Take function name as argument. Look up ulps
12990 (print_ulps): Remove function.
12991 (print_max_error): Use prev_max_error instead of calling
12992 find_function_ulps.
12993 (print_complex_max_error): Use prev_real_max_error and
12994 prev_imag_max_error instead of calling find_complex_function_ulps.
12995 (check_float_internal): Take max_ulp parameter instead of calling
12996 find_test_ulps. Don't call print_ulps.
12997 (check_float): Update call to check_float_internal.
12998 (check_complex): Update calls to check_float_internal.
12999 (START): Pass argument to init_max_error.
13000 * math/gen-libm-test.pl (%results): Don't include "kind"
13002 (parse_ulps): Don't handle ulps of individual tests.
13003 (print_ulps_file): Likewise.
13004 (output_ulps): Likewise.
13005 * math/README.libm-test: Update.
13006 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13008 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13009 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13010 * sysdeps/arm/libm-test-ulps: Likewise.
13011 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13012 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13013 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13014 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13015 * sysdeps/microblaze/libm-test-ulps: Likewise.
13016 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13017 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13018 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13019 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13020 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13021 * sysdeps/sh/libm-test-ulps: Likewise.
13022 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13023 * sysdeps/tile/libm-test-ulps: Likewise.
13024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13026 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13028 * math/libm-test.inc (print_complex_max_error): Check separately
13029 whether real and imaginary errors are within allowed range and
13030 pass 0 to print_complex_function_ulps instead of value within
13033 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13035 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13037 (get_handles_fopen): Likewise.
13038 (do_write_test): Likewise.
13040 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13042 * libio/fileops.c (do_ftell): Use cached offset when
13044 * libio/iofwide.c (do_ftell_wide): Likewise.
13045 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13047 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13050 * libio/libioP.h (get_file_offset): New function.
13051 * libio/fileops.c (get_file_offset): Likewise.
13052 (do_ftell): Likewise.
13053 (_IO_new_file_seekoff): Split out ftell logic.
13054 * libio/wfileops.c (do_ftell_wide): Likewise.
13055 (_IO_wfile_seekoff): Split out ftell logic.
13056 * libio/tst-ftell-active-handler.c: New test case.
13057 * libio/Makefile (tests): Add it.
13059 2014-03-03 Roland McGrath <roland@hack.frob.com>
13061 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13062 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13064 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13067 * nscd/connections.c (nscd_init): Call do_exit.
13068 (start_threads): Call do_exit and notify_parent.
13069 (begin_drop_privileges): Call do_exit.
13070 (finish_drop_privileges): Likewise.
13071 * nscd/selinux.c (preserve_capabilities): Likewise.
13072 (install_real_capabilities): Likewise.
13073 (nscd_selinux_enabled): Likewise.
13074 (avc_create_thread): Likewise.
13075 (avc_alloc_lock): Likewise.
13076 (nscd_avc_init): Likewise.
13077 * nscd/nscd.c (parent_fd): New static variable.
13078 (main): Create a pipe between parent and child processes.
13079 Skip closing parent_fd.
13080 (monitor_child): New function.
13081 (do_exit): Likewise.
13082 (notify_parent): Likewise.
13083 * nscd/nscd.h (notify_parent): Likewise.
13084 (do_exit): Likewise.
13086 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13088 * malloc/malloc.c (__libc_calloc): Revert last change.
13090 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13094 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13096 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13100 (__libc_ifunc_impl_list): Likewise.
13101 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13102 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13103 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13104 * string/strrchr.c: Define STRRCHR.
13106 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13108 * benchtest/bench-strtok.c (simple_strtok): Delete.
13109 (strtok_string): Use as benchmark.
13110 * string/strtok (STRTOK): New macro.
13112 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13114 * manual/threads.texi: Add header and standard comments to all
13117 * elf/dl-lookup.c (check_match): New function.
13118 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13119 (do_lookup_x): Remove nested function check_match. Use non-nested
13120 function check_match.
13122 2014-02-28 Roland McGrath <roland@hack.frob.com>
13124 * csu/Makefile (generated, before-compile): Use += rather than =.
13125 * catgets/Makefile (generated, generated-dirs): Likewise.
13126 * debug/Makefile (generated): Likewise.
13127 * dlfcn/Makefile (generated): Likewise.
13128 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13129 * iconvdata/Makefile (before-compile, generated): Likewise.
13130 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13131 * libio/Makefile (generated): Likewise.
13132 * malloc/Makefile (generated): Likewise.
13133 * manual/Makefile (generated, generated-dirs): Likewise.
13134 * misc/Makefile (generated): Likewise.
13135 * posix/Makefile (generated): Likewise.
13136 * resolv/Makefile (generated): Likewise.
13137 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13138 * timezone/Makefile (generated, generated-dirs): Likewise.
13140 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13142 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13145 power8 implementation.
13146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13147 file: POWER8 llround ifunc implementation.
13148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13149 (__lllround): Add POWER8 implementation.
13150 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13151 POWER8 llround implementation.
13153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13154 power8 implementation.
13155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13156 file: POWER8 llrint ifunc implementation.
13157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13158 Add POWER8 implementation.
13159 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13160 POWER8 llrint implementation.
13162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13163 power8 implementation.
13164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13165 file: POWER8 finite ifunc implementation.
13166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13167 Add POWER8 implementation.
13168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13170 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13171 POWER8 finite implementation.
13172 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13175 power8 implementation.
13176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13177 file: POWER8 isinf ifunc implementation.
13178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13179 POWER8 implementation.
13180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13182 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13183 isinf implementation.
13184 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13186 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13187 (INIT_ARCH): Add hwcap2 initialization.
13188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13189 power8 implementation.
13190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13191 file: POWER8 isnan ifunc implementation.
13192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13193 POWER8 implementation.
13194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13196 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13197 isnan implementation.
13198 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13200 2014-02-27 Joey Ye <joey.ye@arm.com>
13202 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13203 (_FP_NANFRAC_Q): Set to zero.
13205 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13208 * math/auto-libm-test-in: New test inputs.
13209 * math/auto-libm-test-out: Regenerate.
13210 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13213 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13215 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13217 * scripts/evaluate-test.sh: Take new argument indicating whether
13218 failure is expected.
13219 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13220 indicating whether failure is expected.
13221 * conform/Makefile (test-xfail-run-conformtest): New variable.
13222 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13224 * posix/Makefile (test-xfail-annexc): New variable.
13225 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13227 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13229 * argp/Makefile: Include Makeconfig immediately after defining
13231 * assert/Makefile: Likewise.
13232 * benchtests/Makefile: Likewise.
13233 * catgets/Makefile: Likewise.
13234 * conform/Makefile: Likewise.
13235 * crypt/Makefile: Likewise.
13236 * csu/Makefile: Likewise.
13237 (all): Remove target.
13238 * ctype/Makefile: Include Makeconfig immediately after defining
13240 * debug/Makefile: Likewise.
13241 * dirent/Makefile: Likewise.
13242 * dlfcn/Makefile: Likewise.
13243 * gmon/Makefile: Likewise.
13244 * gnulib/Makefile: Likewise.
13245 * grp/Makefile: Likewise.
13246 * gshadow/Makefile: Likewise.
13247 * hesiod/Makefile: Likewise.
13248 * hurd/Makefile: Likewise.
13249 (all): Remove target.
13250 * iconvdata/Makefile: Include Makeconfig immediately after
13252 * inet/Makefile: Likewise.
13253 * intl/Makefile: Likewise.
13254 * io/Makefile: Likewise.
13255 * libio/Makefile: Likewise.
13256 (all): Remove target.
13257 * locale/Makefile: Include Makeconfig immediately after defining
13259 * login/Makefile: Likewise.
13260 * mach/Makefile: Likewise.
13261 (all): Remove target.
13262 * malloc/Makefile: Include Makeconfig immediately after defining
13264 (all): Remove target.
13265 * manual/Makefile: Include Makeconfig immediately after defining
13267 * math/Makefile: Likewise.
13268 * misc/Makefile: Likewise.
13269 * nis/Makefile: Likewise.
13270 * nss/Makefile: Likewise.
13271 * po/Makefile: Likewise.
13272 (all): Remove target.
13273 * posix/Makefile: Include Makeconfig immediately after defining
13275 * pwd/Makefile: Likewise.
13276 * resolv/Makefile: Likewise.
13277 * resource/Makefile: Likewise.
13278 * rt/Makefile: Likewise.
13279 * setjmp/Makefile: Likewise.
13280 * shadow/Makefile: Likewise.
13281 * signal/Makefile: Likewise.
13282 * socket/Makefile: Likewise.
13283 * soft-fp/Makefile: Likewise.
13284 * stdio-common/Makefile: Likewise.
13285 * stdlib/Makefile: Likewise.
13286 * streams/Makefile: Likewise.
13287 * string/Makefile: Likewise.
13288 * sunrpc/Makefile: Likewise.
13289 (all): Remove target.
13290 * sysvipc/Makefile: Include Makeconfig immediately after defining
13292 * termios/Makefile: Likewise.
13293 * time/Makefile: Likewise.
13294 * timezone/Makefile: Likewise.
13295 (all): Remove target.
13296 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13298 * wctype/Makefile: Likewise.
13300 2014-02-26 Steve Ellcey <sellcey@mips.com>
13302 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13303 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13304 (libc_feholdexcept_setround_mips): Ditto.
13305 (libc_feholdsetround): New.
13306 (libc_feholdsetroundf): New.
13307 (libc_feholdsetroundl): New.
13308 (libc_feupdateenv_test_mips): New.
13309 (libc_feupdateenv_test): New.
13310 (libc_feupdateenv_testf): New.
13311 (libc_feupdateenv_testl): New.
13312 (libc_feresetround): New.
13313 (libc_feresetroundf): New.
13314 (libc_feresetroundl): New.
13315 (libc_fetestexcept_mips): New.
13316 (libc_fetestexcept): New.
13317 (libc_fetestexceptf): New.
13318 (libc_fetestexceptl): New.
13319 (HAVE_RM_CTX): New.
13320 (libc_feholdexcept_setround_mips_ctx): New.
13321 (libc_feholdexcept_setround_ctx): New.
13322 (libc_feholdexcept_setroundf_ctx): New.
13323 (libc_feholdexcept_setroundl_ctx): New.
13324 (libc_fesetenv_mips_ctx): New.
13325 (libc_fesetenv_ctx): New.
13326 (libc_fesetenv_ctxf): New.
13327 (libc_fesetenv_ctxl): New.
13328 (libc_feupdateenv_mips_ctx): New.
13329 (libc_feupdateenv_ctx): New.
13330 (libc_feupdateenvf_ctx): New.
13331 (libc_feupdateenvl_ctx): New.
13332 (libc_feholdsetround_mips_ctx): New.
13333 (libc_feholdsetround_ctx): New.
13334 (libc_feholdsetroundf_ctx): New.
13335 (libc_feholdsetroundl_ctx): New.
13336 (libc_feresetround_mips_ctx): New.
13337 (libc_feresetround_ctx): New.
13338 (libc_feresetroundf_ctx): New.
13339 (libc_feresetroundl_ctx): New.
13341 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13343 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13345 * manual/ipc.texi: New file.
13346 * manual/Makefile (chapters): Add ipc.
13347 * manual/job.texi: Add "Inter-Process Communication" to next.
13348 * manual/process.texi: Add "Inter-Process Communication" to prev.
13350 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13354 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13356 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13358 * manual/arith.texi: Fix spaces after sentences.
13359 * manual/charset.texi: Likewise.
13360 * manual/errno.texi: Likewise.
13361 * manual/install.texi: Likewise.
13362 * manual/llio.texi: Likewise.
13363 * manual/locale.texi: Likewise.
13364 * manual/maint.texi: Likewise.
13365 * manual/math.texi: Likewise.
13366 * manual/memory.texi: Likewise.
13367 * manual/message.texi: Likewise.
13368 * manual/probes.texi: Likewise.
13369 * manual/resource.texi: Likewise.
13370 * manual/signal.texi: Likewise.
13371 * manual/socket.texi: Likewise.
13372 * manual/stdio.texi: Likewise.
13373 * manual/string.texi: Likewise.
13374 * manual/time.texi: Likewise.
13375 * manual/users.texi: Likewise.
13377 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13380 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13381 _DEFAULT_SOURCE is defined.
13383 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13384 Carlos O'Donell <carlos@redhat.com>
13387 * elf/dl-tls.c (_dl_count_modids): New function.
13388 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13389 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13390 audit library and increment generation counter.
13391 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13392 * elf/tst-audit9.c: New file.
13393 * elf/tst-auditmod9a.c: New file.
13394 * elf/tst-auditmod9b.c: New file.
13395 * elf/Makefile: Add rules to build and run tst-audit9.
13397 2014-02-25 Florian Weimer <fweimer@redhat.com>
13400 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13402 2014-02-25 Will Newton <will.newton@linaro.org>
13404 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13405 (__longjmp): Restore sp and lr before restoring callee
13406 saved registers. Add longjmp and longjmp_target
13407 SystemTap probe point.
13408 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13409 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13410 Define to zero to match jmpbuf layout.
13411 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13412 (__sigsetjmp): Save sp and lr before saving callee
13413 saved registers. Add setjmp SystemTap probe point.
13415 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13417 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13419 2014-02-24 Andreas Schwab <schwab@suse.de>
13422 * elf/pldd.c (wait_for_ptrace_stop): New function.
13423 (main): Call it after attaching.
13425 2014-02-22 Roland McGrath <roland@hack.frob.com>
13427 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13428 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13429 Versions files is now verboten.
13430 * hurd/Versions (libc: GLIBC_2.0):
13431 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13432 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13433 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13434 * mach/Versions: Likewise.
13436 * csu/Versions: Remove unused %include.
13437 * resolv/Versions: Likewise.
13439 2014-02-21 Joseph Myers <joseph@codesourcery.com>
13441 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13442 ($(objpfx)check-local-headers.out): Likewise.
13443 ($(objpfx)begin-end-check.out): Likewise.
13444 * Makerules (check-abi-%.out): Likewise.
13445 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13446 ($(objpfx)test2.cat): Likewise.
13447 ($(objpfx)de/libc.cat): Likewise.
13448 ($(objpfx)test-gencat.out): Likewise.
13449 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13450 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13451 ($(objpfx)noload-mem): Likewise.
13452 ($(objpfx)tst-pathopt.out): Likewise.
13453 ($(objpfx)tst-rtld-load-self.out): Likewise.
13454 ($(objpfx)tst-array1-cmp.out): Likewise.
13455 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13456 ($(objpfx)tst-array2-cmp.out): Likewise.
13457 ($(objpfx)tst-array3-cmp.out): Likewise.
13458 ($(objpfx)tst-array4-cmp.out): Likewise.
13459 ($(objpfx)tst-array5-cmp.out): Likewise.
13460 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13461 ($(objpfx)check-textrel.out): Likewise.
13462 ($(objpfx)check-execstack.out): Likewise.
13463 ($(objpfx)check-localplt.out): Likewise.
13464 ($(objpfx)order2-cmp.out): Likewise.
13465 ($(objpfx)tst-leaks1-mem): Likewise.
13466 ($(objpfx)tst-leaks1-static-mem): Likewise.
13467 ($(objpfx)tst-initorder-cmp.out): Likewise.
13468 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13469 ($(objpfx)tst-unused-dep.out): Likewise.
13470 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13471 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13472 * iconv/Makefile (test-iconvconfig): Likewise.
13473 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13474 ($(objpfx)iconv-test.out): Likewise.
13475 ($(objpfx)tst-tables.out): Likewise.
13476 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13477 ($(objpfx)tst-gettext.out): Likewise.
13478 ($(objpfx)tst-translit.out): Likewise.
13479 ($(objpfx)tst-gettext2.out): Likewise.
13480 ($(objpfx)tst-gettext4.out): Likewise.
13481 ($(objpfx)tst-gettext6.out): Likewise.
13482 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13483 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13484 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13485 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13486 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13487 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13488 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13489 ($(objpfx)wordexp-tst.out): Likewise.
13490 ($(objpfx)annexc.out): Likewise.
13491 ($(objpfx)tst-fnmatch-mem): Likewise.
13492 ($(objpfx)bug-regex2-mem): Likewise.
13493 ($(objpfx)bug-regex14-mem): Likewise.
13494 ($(objpfx)bug-regex21-mem): Likewise.
13495 ($(objpfx)bug-regex31-mem): Likewise.
13496 ($(objpfx)tst-vfork3-mem): Likewise.
13497 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13498 ($(objpfx)tst-pcre-mem): Likewise.
13499 ($(objpfx)tst-boost-mem): Likewise.
13500 ($(objpfx)tst-getconf.out): Likewise.
13501 ($(objpfx)bug-ga2-mem): Likewise.
13502 ($(objpfx)bug-glob2-mem): Likewise.
13503 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13504 ($(objpfx)mtrace-tst-leaks2): Likewise.
13505 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13506 ($(objpfx)tst-printf.out): Likewise.
13507 ($(objpfx)tst-setvbuf1.out): Likewise.
13508 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13509 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13510 ($(objpfx)tst-fmtmsg.out): Likewise.
13511 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13512 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13514 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13515 * bits/sigaction.h [__USE_MISC]: Likewise.
13516 * bits/waitstatus.h: Update #endif comments.
13517 * ctype/ctype.h: Likewise.
13518 * dirent/dirent.h: Likewise.
13519 [__USE_MISC]: Remove redundant conditionals.
13520 * grp/grp.h: Update #endif comments.
13521 [__USE_GNU]: Remove redundant conditionals.
13522 [__USE_MISC]: Likewise.
13523 * inet/netinet/in.h [__USE_GNU]: Likewise.
13524 * io/sys/stat.h [__USE_MISC]: Likewise.
13525 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13526 * libio/bits/stdio.h: Update #endif comments.
13527 [__USE_MISC]: Remove redundant conditionals.
13528 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13529 * libio/stdio.h: Update #endif comments.
13530 [__USE_MISC]: Remove redundant conditionals.
13531 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13532 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13533 * math/math.h: Update #else and #endif comments.
13534 [__USE_MISC]: Remove redundant conditionals.
13535 * misc/sys/uio.h: Update #endif comments.
13536 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13537 * posix/glob.h [__USE_MISC]: Likewise.
13538 * posix/sys/types.h: Update #endif comments.
13539 [__USE_MISC]: Remove redundant conditionals.
13540 * posix/sys/wait.h: Update #endif comments.
13541 [__USE_MISC]: Remove redundant conditionals.
13542 * posix/unistd.h: Update #endif comments.
13543 [__USE_MISC]: Remove redundant conditionals.
13544 * pwd/pwd.h [__USE_GNU]: Likewise.
13545 [__USE_MISC]: Likewise.
13546 * resolv/netdb.h [__USE_GNU]: Likewise.
13547 * signal/signal.h: Update #endif comments.
13548 [__USE_MISC]: Remove redundant conditionals.
13549 * stdlib/stdlib.h: Update #else and #endif comments.
13550 [__USE_MISC]: Remove redundant conditionals.
13551 [__USE_GNU]: Likewise.
13552 * string/bits/string2.h [__USE_MISC]: Likewise.
13553 * string/string.h: Update #endif comments.
13554 [__USE_MISC]: Remove redundant conditionals.
13555 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13557 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13558 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13559 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13561 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13565 [__USE_MISC]: Remove redundant conditionals.
13566 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13567 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13568 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13569 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13570 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13572 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13573 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13575 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13578 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13580 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13581 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13583 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13585 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13586 * sysdeps/x86/bits/string.h: Update #endif comments.
13587 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13589 * time/sys/time.h: Update #endif comments.
13590 * time/time.h: Likewise.
13591 [__USE_MISC]: Remove redundant conditionals.
13593 2014-02-21 Yury Gribov <y.gribov@samsung.com>
13596 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13598 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13600 * Versions.def (librt): Add GLIBC_2.17.
13602 2014-02-21 Adam Conrad <adconrad@0c3.net>
13604 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13605 synonym for _SYS_AUXV_H to allow direct inclusion.
13606 * sysdeps/sparc/bits/hwcap.h: Likewise.
13607 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13608 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13609 * sysdeps/sparc/sysdep.h: Likewise.
13611 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13613 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13615 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13617 * benchtests/bench-strrchr.c: Print length instead of position.
13619 2014-02-20 Joseph Myers <joseph@codesourcery.com>
13622 * sysdeps/unix/sysv/linux/kernel-features.h
13623 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13624 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13625 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13626 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13628 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13629 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13630 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13631 (__ASSUME_SENDMMSG): Define instead of using previous
13632 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13633 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13634 (__ASSUME_SENDMMSG_SYSCALL): Define.
13635 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13636 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13638 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13639 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13641 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13642 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13644 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13645 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13646 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13647 [__ASSUME_SENDMMSG]: Change conditionals to
13648 [__ASSUME_SENDMMSG_SOCKETCALL].
13649 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13650 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13652 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13653 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13655 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13656 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13657 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13658 [!__ASSUME_SENDMMSG]: Change conditional to
13659 [!__ASSUME_SENDMMSG_SOCKETCALL].
13660 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13661 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13665 * sysdeps/unix/sysv/linux/kernel-features.h
13666 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13667 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13668 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13669 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13670 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13671 [__i386__ || __sparc__]
13672 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13673 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13674 (__ASSUME_RECVMMSG): Define instead of using previous
13675 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13676 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13677 (__ASSUME_RECVMMSG_SYSCALL): Define.
13678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13679 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13681 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13682 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13684 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13685 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13687 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13688 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13689 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13690 [__ASSUME_RECVMMSG]: Change condition to
13691 [__ASSUME_RECVMMSG_SOCKETCALL].
13692 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13693 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13695 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13696 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13699 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13700 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13701 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13702 [!__ASSUME_RECVMMSG]: Change condition to
13703 [!__ASSUME_RECVMMSG_SOCKETCALL].
13704 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13705 (__ASSUME_RECVMMSG_SYSCALL): Define.
13708 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13709 __powerpc__ || __s390__ || __sh__ || __sparc__]
13710 (__ASSUME_SOCKETCALL): Define.
13711 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13712 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13713 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13714 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13715 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13716 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13717 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13718 (__ASSUME_ACCEPT4): Define instead of using previous
13719 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13720 __powerpc__ || __sparc__ || __s390__)] condition.
13721 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13722 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13723 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13724 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13725 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13726 [!__ASSUME_ACCEPT4]: Change condition to
13727 [!__ASSUME_ACCEPT4_SOCKETCALL].
13728 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13729 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13730 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13731 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13732 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13733 __ASSUME_ACCEPT4_SYSCALL.
13734 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13735 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13736 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13737 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13738 __ASSUME_ACCEPT4_SYSCALL.
13739 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13740 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13741 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13742 [__ASSUME_ACCEPT4]: Change condition to
13743 [__ASSUME_ACCEPT4_SOCKETCALL].
13744 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13745 (__ASSUME_SOCKETCALL): Define.
13746 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13747 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13748 (__ASSUME_SOCKETCALL): Define.
13749 (__ASSUME_ACCEPT4): Remove.
13750 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13752 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13753 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13755 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13756 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13758 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13760 (HWCAP_ARM_LPAE): Likewise.
13761 (HWCAP_ARM_EVTSTRM): Likewise.
13762 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13763 Add vpfd32, lpae and evtstrm.
13764 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13767 2014-02-19 Joseph Myers <joseph@codesourcery.com>
13769 * math/auto-libm-test-in: Add tests of clog10.
13770 * math/auto-libm-test-out: Regenerated.
13771 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13772 * sysdeps/i386/fpu/libm-test-ulps: Update.
13773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13775 2014-02-18 Andreas Schwab <schwab@suse.de>
13778 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13779 Store non-zero if the second buffer was newly allocated.
13780 (send_dg): Likewise.
13781 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13782 to send_vc and send_dg.
13783 (res_nsend): Pass NULL for ansp2_malloced.
13784 * resolv/res_query.c (__libc_res_nquery): Add parameter
13785 answerp2_malloced and pass it down to __libc_res_nsend.
13786 (res_nquery): Pass additional NULL to __libc_res_nquery.
13787 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13788 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13789 second answer buffer if answerp2_malloced was set.
13790 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13791 (__libc_res_nquerydomain): Add parameter
13792 answerp2_malloced and pass it down to __libc_res_nquery.
13793 (res_nquerydomain): Pass additional NULL to
13794 __libc_res_nquerydomain.
13795 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13796 additional NULL to __libc_res_nsend and __libc_res_nquery.
13797 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13798 additional NULL to __libc_res_nsearch.
13799 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13800 parameter of __libc_res_nsearch to check for separately allocated
13802 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13804 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13805 additional NULL to __libc_res_nquery.
13806 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13807 __libc_res_nsearch.
13808 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13809 * include/resolv.h: Update prototypes of __libc_res_nquery,
13810 __libc_res_nsearch, __libc_res_nsend.
13812 2014-02-18 Joseph Myers <joseph@codesourcery.com>
13814 * math/auto-libm-test-in: Add tests of fma.
13815 * math/auto-libm-test-out: Regenerated.
13816 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13817 (fma_towardzero_test_data): Likewise.
13818 (fma_downward_test_data): Likewise.
13819 (fma_upward_test_data): Likewise.
13820 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13822 (rounding_modes): Add values for new field.
13823 (func_calc_method): Add value mpfr_fff_f.
13824 (func_calc_desc): Add mpfr_fff_f union field.
13825 (test_function): Add field exact_args.
13826 (FUNC): Add macro argument EXACT_ARGS.
13827 (FUNC_mpfr_f_f): Update call to FUNC.
13828 (FUNC_mpfr_f_f): Likewise.
13829 (FUNC_mpfr_ff_f): Likewise.
13830 (FUNC_mpfr_if_f): Likewise.
13831 (FUNC_mpc_c_f): Likewise.
13832 (FUNC_mpc_c_c): Likewise.
13833 (test_functions): Add fma. Update calls to FUNC.
13834 (handle_input_arg): Add argument exact_args.
13835 (add_test): Update call to handle_input_arg.
13836 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13837 (output_for_one_input_case): Update call to calc_generic_results.
13838 Recalculate exact zero results in each rounding mode.
13840 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13841 non-negative before setting low bit.
13842 * math/auto-libm-test-in: Mark one asin test possibly having
13843 spurious underflow.
13844 * math/auto-libm-test-out: Regenerated.
13845 * sysdeps/i386/fpu/libm-test-ulps: Update.
13846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13848 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13850 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13851 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13852 ports/sysdeps/unix/sysv/linux/microblaze.
13853 * README: Add missing listing for microblaze*-*-linux-gnu.
13855 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
13857 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13860 2014-02-16 Mike Frysinger <vapier@gentoo.org>
13862 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13863 * sysdeps/unix/sysv/linux/ia64: Move directory from
13864 ports/sysdeps/unix/sysv/linux/ia64.
13865 * README: Update listing for ia64-*-linux-gnu.
13867 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13868 Joseph Myers <joseph@codesourcery.com>
13870 * Makeconfig (test-name): New variable.
13871 (evaluate-test): Likewise.
13872 * Makerules (do-test-clean): Remove .test-result files.
13873 (common-mostlyclean): Likewise.
13874 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13875 * scripts/evaluate-test.sh: New file.
13877 2014-02-14 Joseph Myers <joseph@codesourcery.com>
13879 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13880 separate $(objpfx)tst-fopenloc-cmp.out and
13881 $(objpfx)tst-fopenloc-mem.out targets.
13882 (tests): Update dependencies.
13883 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13884 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13885 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13886 (tst-rxspencer-no-utf8-ARGS): New variable.
13887 (tst-rxspencer-no-utf8-ENV): Likewise.
13888 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13889 instead of $(objpfx)tst-rxspencer-mem.
13890 ($(objpfx)tst-rxspencer-mem): Change target to
13891 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13892 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13893 * posix/tst-rxspencer-no-utf8.c: New file.
13895 * elf/Makefile ($(objpfx)order.out): Remove rule.
13896 [$(run-built-tests) = yes] (tests): Depend on
13897 $(objpfx)order-cmp.out.
13898 ($(objpfx)order-cmp.out): New rule.
13899 [$(run-built-tests) = yes] (tests): Depend on
13900 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13901 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13902 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13903 $(objpfx)tst-array5-static-cmp.out.
13904 ($(objpfx)tst-array1.out): Remove rule.
13905 ($(objpfx)tst-array1-cmp.out): New rule.
13906 ($(objpfx)tst-array1-static.out): Remove rule.
13907 ($(objpfx)tst-array1-static-cmp.out): New rule.
13908 ($(objpfx)tst-array2.out): Remove rule.
13909 ($(objpfx)tst-array2-cmp.out): New rule.
13910 ($(objpfx)tst-array3.out): Remove rule.
13911 ($(objpfx)tst-array3-cmp.out): New rule.
13912 ($(objpfx)tst-array4.out): Remove rule.
13913 ($(objpfx)tst-array4-cmp.out): New rule.
13914 ($(objpfx)tst-array5.out): Remove rule.
13915 ($(objpfx)tst-array5-cmp.out): New rule.
13916 ($(objpfx)tst-array5-static.out): Remove rule.
13917 ($(objpfx)tst-array5-static-cmp.out): New rule.
13918 [$(run-built-tests) = yes] (tests): Depend on
13919 $(objpfx)order2-cmp.out.
13920 ($(objpfx)order2.out): Remove rule.
13921 ($(objpfx)order2-cmp.out): New rule.
13922 ($(objpfx)tst-initorder.out): Remove rule.
13923 [$(run-built-tests) = yes] (tests): Depend on
13924 $(objpfx)tst-initorder-cmp.out.
13925 ($(objpfx)tst-initorder-cmp.out): New rule.
13926 ($(objpfx)tst-initorder2.out): Remove rule.
13927 [$(run-built-tests) = yes] (tests): Depend on
13928 $(objpfx)tst-initorder2-cmp.out.
13929 ($(objpfx)tst-initorder2-cmp.out): New rule.
13930 [$(run-built-tests) = yes] (tests): Depend on
13931 $(objpfx)tst-unused-dep-cmp.out.
13932 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13933 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13934 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13935 on $(objpfx)tst-setvbuf1-cmp.out.
13936 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13937 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13938 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13939 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13940 ($(objpfx)tst-svc.out): Remove rule.
13941 ($(objpfx)tst-svc-cmp.out): New rule.
13943 2014-02-13 Joseph Myers <joseph@codesourcery.com>
13945 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13946 * ctype/ctype.h [__USE_MISC]: Likewise.
13947 * dirent/dirent.h [__USE_MISC]: Likewise.
13948 * grp/grp.h [__USE_MISC]: Likewise.
13949 * io/fcntl.h [__USE_MISC]: Likewise.
13950 * io/sys/stat.h [__USE_MISC]: Likewise.
13951 * libio/stdio.h [__USE_MISC]: Likewise.
13952 * posix/unistd.h [__USE_MISC]: Likewise.
13953 * pwd/pwd.h [__USE_MISC]: Likewise.
13954 * stdlib.h [__USE_MISC]: Likewise.
13955 * string/bits/string2.h [__USE_MISC]: Likewise.
13956 * string/string.h [__USE_MISC]: Likewise.
13957 * time/time.h [__USE_MISC]: Likewise.
13959 2014-02-13 Andreas Schwab <schwab@suse.de>
13962 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13963 second answer buffer if it was separately allocated.
13965 2014-02-12 Joseph Myers <joseph@codesourcery.com>
13967 * sysdeps/mips/math-tests.h: Include <features.h>.
13968 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13969 (ROUNDING_TESTS_long_double): Do not define.
13970 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13971 (EXCEPTION_TESTS_long_double): Likewise.
13972 * sysdeps/mips/mips64/libm-test-ulps: Update.
13974 * include/features.h (__USE_BSD): Remove macro definitions.
13975 (__USE_SVID): Likewise.
13976 (_BSD_SOURCE): Likewise.
13977 (_SVID_SOURCE): Likewise.
13978 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13979 from definition of _DEFAULT_SOURCE.
13980 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13982 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13983 * bits/mman.h [__USE_BSD]: Likewise.
13984 * bits/termios.h [__USE_BSD]: Likewise.
13985 * bits/waitstatus.h [__USE_BSD]: Likewise.
13986 * ctype/ctype.h [__USE_SVID]: Likewise.
13987 * dirent/dirent.h [__USE_BSD]: Likewise.
13988 * grp/grp.h [__USE_SVID]: Likewise.
13989 [__USE_BSD]: Likewise.
13990 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13991 * io/fcntl.h [__USE_BSD]: Likewise.
13992 * io/ftw.h [__USE_BSD]: Likewise.
13993 * io/sys/stat.h [__USE_BSD]: Likewise.
13994 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13995 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13996 * libio/stdio.h [__USE_SVID]: Likewise.
13997 [__USE_BSD]: Likewise.
13998 * math/math.h [__USE_SVID]: Likewise.
13999 [__USE_BSD]: Likewise.
14000 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14001 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14002 * misc/search.h [__USE_SVID]: Likewise.
14003 * misc/sys/mman.h [__USE_BSD]: Likewise.
14004 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14005 * misc/sys/uio.h [__USE_BSD]: Likewise.
14006 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14007 * posix/glob.h [__USE_BSD]: Likewise.
14008 * posix/regex.h [__USE_BSD]: Likewise.
14009 * posix/sys/types.h [__USE_BSD]: Likewise.
14010 [__USE_SVID]: Likewise.
14011 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14012 * posix/sys/wait.h [__USE_BSD]: Likewise.
14013 [__USE_SVID]: Likewise.
14014 * posix/unistd.h [__USE_BSD]: Likewise.
14015 [__USE_SVID]: Likewise.
14016 * pwd/pwd.h [__USE_SVID]: Likewise.
14017 * resolv/netdb.h [__USE_BSD]: Likewise.
14018 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14019 * signal/signal.h [__USE_BSD]: Likewise.
14020 [__USE_SVID]: Likewise.
14021 * socket/sys/socket.h [__USE_BSD]: Likewise.
14022 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14023 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14024 [__USE_SVID]: Likewise.
14025 * string/bits/string2.h [__USE_BSD]: Likewise.
14026 [__USE_SVID]: Likewise.
14027 * string/bits/string3.h [__USE_BSD]: Likewise.
14028 * string/endian.h [__USE_BSD]: Likewise.
14029 * string/string.h [__USE_SVID]: Likewise.
14030 [__USE_BSD]: Likewise.
14031 * string/strings.h [__USE_BSD]: Likewise.
14032 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14033 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14034 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14035 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14036 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14037 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14041 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14042 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14044 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14045 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14047 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14049 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14050 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14051 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14053 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14055 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14056 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14057 * termios/termios.h [__USE_BSD]: Likewise.
14058 * time/sys/time.h [__USE_BSD]: Likewise.
14059 * time/time.h [__USE_BSD]: Likewise.
14060 [__USE_SVID]: Likewise.
14062 * Makefile (subdir_targets): Remove subdir_lint.out.
14064 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14065 (do-tst-printf): Likewise.
14066 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14067 $(objpfx)tst-printf.out.
14069 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14071 * Makerules (check-abi-%): Change target to
14072 $(objpfx)check-abi-%.out.
14073 (check-abi target): Update dependencies.
14074 (check-abi-pattern variable): Redirect output of diff to $@.
14075 (check-abi variable): Likewise.
14076 * elf/Makefile (check-abi): Update dependencies.
14078 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14080 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14081 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14083 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14084 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14085 value has largest subnormal exponent.
14086 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14087 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14088 * sysdeps/aarch64/soft-fp/sfp-machine.h
14089 (_FP_TININESS_AFTER_ROUNDING): New macro.
14090 * sysdeps/alpha/soft-fp/sfp-machine.h
14091 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14092 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14094 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14095 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14096 * sysdeps/mips/soft-fp/sfp-machine.h
14097 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14098 * sysdeps/powerpc/soft-fp/sfp-machine.h
14099 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14100 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14102 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14103 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14104 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14105 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14106 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14109 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14112 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14115 2014-02-12 Richard Henderson <rth@redhat.com>
14117 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14118 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14119 * sysdeps/unix/sysv/linux/alpha: Move directory from
14120 ports/sysdeps/unix/sysv/linux/alpha.
14121 * README: Update listing for alpha-*-linux-gnu.
14123 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14125 * include/features.h: Update comment documenting feature test
14127 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14129 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14130 (_SVID_SOURCE): Likewise.
14131 (_DEFAULT_SOURCE): Update description of default features.
14132 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14134 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14135 (S_ISVTX): Likewise.
14136 * manual/math.texi (Mathematical Constants): Likewise.
14137 * manual/signal.texi (Interrupted Primitives): Likewise.
14138 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14139 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14140 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14141 Don't refer to _SVID_SOURCE in warning text.
14143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14145 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14147 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14148 * sysdeps/mips/dl-lookup.c: Remove.
14149 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14151 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14154 * math/auto-libm-test-in: Add testcase for expl.
14155 * math/auto-libm-test-out: Regenerate.
14156 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14157 calculation of unsafe.
14158 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14160 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14162 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14163 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14164 ports/sysdeps/unix/sysv/linux/aarch64.
14165 * README: Update listing for aarch64*-*-linux-gnu.
14167 2014-02-11 Will Newton <will.newton@linaro.org>
14169 * manual/probes.texi (Mathematical Function Probes): Use
14170 "triggered" instead of "hit".
14172 * manual/probes.texi (Internal Probes): Add documentation
14173 of setjmp, longjmp and longjmp_target probes.
14175 * include/stap-probe.h: Add comment about probe argument
14178 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14179 definition. (tr_where, tr_freehook, tr_mallochook,
14180 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14182 2014-02-11 David S. Miller <davem@davemloft.net>
14184 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14185 processing int_tests.
14187 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14189 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14190 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14191 * sysdeps/unix/sysv/linux/mips: Move directory from
14192 ports/sysdeps/unix/sysv/linux/mips.
14193 * README: Update listing for mips-*-linux-gnu and
14194 mips64-*-linux-gnu.
14196 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14198 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14199 * sysdeps/unix/sysv/linux/m68k: Move directory from
14200 ports/sysdeps/unix/sysv/linux/m68k.
14201 * README: Update listing for m68k-*-linux-gnu.
14203 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14205 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14206 * sysdeps/unix/sysv/linux/generic: Move directory from
14207 ports/sysdeps/unix/sysv/linux/generic.
14208 * sysdeps/unix/sysv/linux/tile: Move directory from
14209 ports/sysdeps/unix/sysv/linux/tile.
14210 * README: Update listing for tile*-*-linux-gnu.
14212 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14214 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14216 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14217 * catgets/open_catalog.c (__open_catalog): Likewise.
14218 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14219 * debug/confstr_chk.c: Likewise.
14220 * debug/fread_chk.c (__fread_chk): Likewise.
14221 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14222 * debug/getgroups_chk.c: Likewise.
14223 * debug/mbsnrtowcs_chk.c: Likewise.
14224 * debug/mbsrtowcs_chk.c: Likewise.
14225 * debug/mbstowcs_chk.c: Likewise.
14226 * debug/memcpy_chk.c: Likewise.
14227 * debug/memmove_chk.c: Likewise.
14228 * debug/mempcpy_chk.c: Likewise.
14229 * debug/memset_chk.c: Likewise.
14230 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14231 * debug/strcat_chk.c (__strcat_chk): Likewise.
14232 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14233 * debug/strncat_chk.c (__strncat_chk): Likewise.
14234 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14235 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14236 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14237 * debug/wcpncpy_chk.c: Likewise.
14238 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14239 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14240 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14241 * debug/wcsncpy_chk.c: Likewise.
14242 * debug/wcsnrtombs_chk.c: Likewise.
14243 * debug/wcsrtombs_chk.c: Likewise.
14244 * debug/wcstombs_chk.c: Likewise.
14245 * debug/wmemcpy_chk.c: Likewise.
14246 * debug/wmemmove_chk.c: Likewise.
14247 * debug/wmempcpy_chk.c: Likewise.
14248 * debug/wmemset_chk.c: Likewise.
14249 * dirent/scandirat.c (SCANDIRAT): Likewise.
14250 * dlfcn/dladdr1.c (dladdr1): Likewise.
14251 * dlfcn/dladdr.c (dladdr): Likewise.
14252 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14253 * dlfcn/dlerror.c (__dlerror): Likewise.
14254 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14255 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14256 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14257 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14258 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14259 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14260 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14261 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14263 * elf/dl-conflict.c: Likewise.
14264 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14265 * elf/dl-dst.h: Likewise.
14266 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14267 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14268 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14269 * elf/dl-init.c (call_init, _dl_init): Likewise.
14270 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14271 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14272 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14274 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14276 * elf/dl-minimal.c (__libc_memalign): Likewise.
14277 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14278 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14279 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14280 * elf/dl-sym.c (do_sym): Likewise.
14281 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14282 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14283 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14284 * elf/dl-writev.h (_dl_writev): Likewise.
14285 * elf/ldconfig.c (search_dir): Likewise.
14286 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14287 (dl_main): Likewise.
14288 * elf/setup-vdso.h (setup_vdso): Likewise.
14289 * grp/compat-initgroups.c (compat_call): Likewise.
14290 * grp/fgetgrent.c (fgetgrent): Likewise.
14291 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14292 * grp/putgrent.c (putgrent): Likewise.
14293 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14295 * hurd/hurdinit.c: Likewise.
14296 * iconvdata/8bit-gap.c (struct): Likewise.
14297 * iconvdata/ansi_x3.110.c : Likewise.
14298 * iconvdata/big5.c : Likewise.
14299 * iconvdata/big5hkscs.c : Likewise.
14300 * iconvdata/cp1255.c: Likewise.
14301 * iconvdata/cp1258.c : Likewise.
14302 * iconvdata/cp932.c : Likewise.
14303 * iconvdata/euc-cn.c: Likewise.
14304 * iconvdata/euc-jisx0213.c : Likewise.
14305 * iconvdata/euc-jp.c: Likewise.
14306 * iconvdata/euc-jp-ms.c : Likewise.
14307 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14308 * iconvdata/gb18030.c : Likewise.
14309 * iconvdata/gbbig5.c (const): Likewise.
14310 * iconvdata/gbgbk.c: Likewise.
14311 * iconvdata/gbk.c : Likewise.
14312 * iconvdata/ibm1364.c : Likewise.
14313 * iconvdata/ibm930.c : Likewise.
14314 * iconvdata/ibm932.c: Likewise.
14315 * iconvdata/ibm933.c : Likewise.
14316 * iconvdata/ibm935.c : Likewise.
14317 * iconvdata/ibm937.c : Likewise.
14318 * iconvdata/ibm939.c : Likewise.
14319 * iconvdata/ibm943.c: Likewise.
14320 * iconvdata/iso_11548-1.c: Likewise.
14321 * iconvdata/iso-2022-cn.c : Likewise.
14322 * iconvdata/iso-2022-cn-ext.c : Likewise.
14323 * iconvdata/iso-2022-jp-3.c: Likewise.
14324 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14325 * iconvdata/iso-2022-kr.c : Likewise.
14326 * iconvdata/iso646.c (gconv_end): Likewise.
14327 * iconvdata/iso_6937-2.c : Likewise.
14328 * iconvdata/iso_6937.c : Likewise.
14329 * iconvdata/iso8859-1.c: Likewise.
14330 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14331 * iconvdata/shift_jisx0213.c : Likewise.
14332 * iconvdata/sjis.c : Likewise.
14333 * iconvdata/t.61.c : Likewise.
14334 * iconvdata/tcvn5712-1.c : Likewise.
14335 * iconvdata/tscii.c: Likewise.
14336 * iconvdata/uhc.c : Likewise.
14337 * iconvdata/unicode.c (gconv_end): Likewise.
14338 * iconvdata/utf-16.c (gconv_end): Likewise.
14339 * iconvdata/utf-32.c (gconv_end): Likewise.
14340 * iconvdata/utf-7.c (base64): Likewise.
14341 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14342 * iconv/gconv_close.c (__gconv_close): Likewise.
14343 * iconv/gconv_open.c (__gconv_open): Likewise.
14344 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14345 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14346 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14347 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14348 (ucs4le_internal_loop_single): Likewise.
14349 * iconv/iconv.c (iconv): Likewise.
14350 * iconv/iconv_close.c: Likewise.
14351 * iconv/loop.c (SINGLE): Likewise.
14352 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14353 * include/atomic.h: Likewise.
14354 * inet/inet6_option.c (option_alloc): Likewise.
14355 * intl/bindtextdom.c (set_binding_values): Likewise.
14356 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14357 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14358 * intl/localealias.c (read_alias_file): Likewise.
14359 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14360 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14361 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14362 * libio/fmemopen.c (fmemopen): Likewise.
14363 * libio/iofgets.c (_IO_fgets): Likewise.
14364 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14365 * libio/iofgetws.c (fgetws): Likewise.
14366 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14367 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14368 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14369 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14370 * locale/findlocale.c (_nl_find_locale): Likewise.
14371 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14372 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14374 * locale/setlocale.c (setlocale): Likewise.
14375 * login/programs/pt_chown.c (main): Likewise.
14376 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14377 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14378 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14379 (mmap, mmap64, mremap, munmap): Likewise.
14380 * math/e_exp2l.c: Likewise.
14381 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14382 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14383 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14384 * math/s_catan.c (__catan): Likewise.
14385 * math/s_catanf.c (__catanf): Likewise.
14386 * math/s_catanh.c (__catanh): Likewise.
14387 * math/s_catanhf.c (__catanhf): Likewise.
14388 * math/s_catanhl.c (__catanhl): Likewise.
14389 * math/s_catanl.c (__catanl): Likewise.
14390 * math/s_ccosh.c (__ccosh): Likewise.
14391 * math/s_ccoshf.c (__ccoshf): Likewise.
14392 * math/s_ccoshl.c (__ccoshl): Likewise.
14393 * math/s_cexp.c (__cexp): Likewise.
14394 * math/s_cexpf.c (__cexpf): Likewise.
14395 * math/s_cexpl.c (__cexpl): Likewise.
14396 * math/s_clog10.c (__clog10): Likewise.
14397 * math/s_clog10f.c (__clog10f): Likewise.
14398 * math/s_clog10l.c (__clog10l): Likewise.
14399 * math/s_clog.c (__clog): Likewise.
14400 * math/s_clogf.c (__clogf): Likewise.
14401 * math/s_clogl.c (__clogl): Likewise.
14402 * math/s_csin.c (__csin): Likewise.
14403 * math/s_csinf.c (__csinf): Likewise.
14404 * math/s_csinh.c (__csinh): Likewise.
14405 * math/s_csinhf.c (__csinhf): Likewise.
14406 * math/s_csinhl.c (__csinhl): Likewise.
14407 * math/s_csinl.c (__csinl): Likewise.
14408 * math/s_csqrt.c (__csqrt): Likewise.
14409 * math/s_csqrtf.c (__csqrtf): Likewise.
14410 * math/s_csqrtl.c (__csqrtl): Likewise.
14411 * math/s_ctan.c (__ctan): Likewise.
14412 * math/s_ctanf.c (__ctanf): Likewise.
14413 * math/s_ctanh.c (__ctanh): Likewise.
14414 * math/s_ctanhf.c (__ctanhf): Likewise.
14415 * math/s_ctanhl.c (__ctanhl): Likewise.
14416 * math/s_ctanl.c (__ctanl): Likewise.
14417 * math/w_pow.c: Likewise.
14418 * math/w_powf.c: Likewise.
14419 * math/w_powl.c: Likewise.
14420 * math/w_scalb.c (sysv_scalb): Likewise.
14421 * math/w_scalbf.c (sysv_scalbf): Likewise.
14422 * math/w_scalbl.c (sysv_scalbl): Likewise.
14423 * misc/error.c (error_tail): Likewise.
14424 * misc/pselect.c (__pselect): Likewise.
14425 * nis/nis_callback.c (__nis_create_callback): Likewise.
14426 * nis/nis_call.c (__nisfind_server): Likewise.
14427 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14428 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14429 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14430 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14431 * nis/nis_lookup.c (nis_lookup): Likewise.
14432 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14433 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14434 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14435 * nis/nis_xdr.c (xdr_endpoint): Likewise.
14436 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14437 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14438 * nis/nss_compat/compat-initgroups.c (add_group)
14439 (internal_getgrent_r): Likewise.
14440 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14441 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14442 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14443 (internal_getspnam_r): Likewise.
14444 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14445 (_nss_nis_getaliasbyname_r): Likewise.
14446 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14447 (_nss_nis_getntohost_r): Likewise.
14448 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14449 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14450 (_nss_nis_getgrgid_r): Likewise.
14451 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14452 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14453 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14454 (_nss_nis_gethostbyname4_r): Likewise.
14455 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14456 (initgroups_netid): Likewise.
14457 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14458 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14459 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14460 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14461 (_nss_nis_getprotobynumber_r): Likewise.
14462 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14463 (_nss_nis_getsecretkey): Likewise.
14464 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14465 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14466 (_nss_nis_getpwuid_r): Likewise.
14467 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14468 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14469 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14470 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14471 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14472 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14473 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14475 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14476 (_nss_nisplus_getntohost_r): Likewise.
14477 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14478 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14479 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14480 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14482 * nis/nss_nisplus/nisplus-initgroups.c
14483 (_nss_nisplus_initgroups_dyn): Likewise.
14484 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14485 (_nss_nisplus_getnetbyaddr_r): Likewise.
14486 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14487 (_nss_nisplus_getprotobynumber_r): Likewise.
14488 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14489 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14490 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14492 * nis/nss_nisplus/nisplus-service.c
14493 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14494 (_nss_nisplus_getservbyport_r): Likewise.
14495 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14496 (_nss_nisplus_getspnam_r): Likewise.
14497 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14499 * nscd/aicache.c (addhstaiX): Likewise.
14500 * nscd/cache.c (cache_search, prune_cache): Likewise.
14501 * nscd/connections.c (register_traced_file, send_ro_fd)
14502 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14503 (main_loop_epoll): Likewise.
14504 * nscd/grpcache.c (addgrbyX): Likewise.
14505 * nscd/hstcache.c (addhstbyX): Likewise.
14506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14507 * nscd/mem.c (gc, mempool_alloc): Likewise.
14508 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14509 (addinnetgrX): Likewise.
14510 * nscd/nscd-client.h (__nscd_acquire_maplock)
14511 (__nscd_drop_map_ref): Likewise.
14512 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14513 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14514 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14516 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14518 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14519 (__nscd_get_map_ref): Likewise.
14520 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14521 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14523 * nscd/pwdcache.c (addpwbyX): Likewise.
14524 * nscd/selinux.c (preserve_capabilities): Likewise.
14525 * nscd/servicescache.c (addservbyX): Likewise.
14526 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14527 * posix/fnmatch.c (fnmatch): Likewise.
14528 * posix/getopt.c (_getopt_internal_r): Likewise.
14529 * posix/glob.c (glob, glob_in_dir): Likewise.
14530 * posix/wordexp.c (exec_comm_child): Likewise.
14531 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14532 (getanswer_r, gaih_getanswer_slice): Likewise.
14533 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14534 * resolv/res_init.c: Likewise.
14535 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14536 * resolv/res_query.c (__libc_res_nquery): Likewise.
14537 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14539 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14540 * stdio-common/perror.c (perror): Likewise.
14541 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14542 * stdio-common/tmpnam.c (tmpnam): Likewise.
14543 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14544 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14545 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14547 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14548 * stdlib/putenv.c (putenv): Likewise.
14549 * stdlib/setenv.c (__add_to_environ): Likewise.
14550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14551 * stdlib/strtol_l.c (INTERNAL): Likewise.
14552 * string/memmem.c (memmem): Likewise.
14553 * string/strerror.c (strerror): Likewise.
14554 * string/strnlen.c (__strnlen): Likewise.
14555 * string/test-memmem.c (simple_memmem): Likewise.
14556 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14557 * sunrpc/pm_getport.c (__get_socket): Likewise.
14558 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14559 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14560 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14561 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14563 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14564 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14565 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14566 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14567 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14568 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14570 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14572 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14573 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14574 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14575 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14576 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14578 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14579 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14580 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14581 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14582 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14583 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14585 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14587 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14589 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14591 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14592 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14593 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14594 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14595 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14596 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14597 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14598 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14599 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14601 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14602 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14604 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14606 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14608 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14610 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14612 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14614 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14616 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14617 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14618 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14619 * sysdeps/posix/sleep.c: Likewise.
14620 * sysdeps/posix/tempname.c: Likewise.
14621 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14622 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14624 * sysdeps/powerpc/powerpc32/dl-machine.h
14625 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14626 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14627 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14628 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14629 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14631 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14632 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14633 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14634 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14635 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14636 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14637 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14638 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14639 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14640 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14641 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14642 (elf_machine_lazy_rel): Likewise.
14643 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14644 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14645 (elf_machine_lazy_rel): Likewise.
14646 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14647 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14648 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14649 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14650 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14651 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14652 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14655 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14656 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14657 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14658 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14659 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14660 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14661 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14662 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14663 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14664 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14665 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14667 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14668 (__posix_fallocate64_l64): Likewise.
14669 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14670 (posix_fallocate): Likewise.
14671 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14673 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14674 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14675 (getifaddrs_internal): Likewise.
14676 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14677 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14678 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14679 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14680 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14681 (__posix_fallocate64_l64): Likewise.
14682 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14684 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14685 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14686 (__get_clockfreq): Likewise.
14687 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14688 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14689 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14692 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14693 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14694 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14696 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14697 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14698 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14699 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14700 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14701 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14702 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14704 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14705 (posix_fallocate): Likewise.
14706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14707 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14708 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14709 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14710 (elf_machine_rela, elf_machine_rela_relative)
14711 (elf_machine_lazy_rel): Likewise.
14712 * time/asctime.c (asctime_internal): Likewise.
14713 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14714 * time/tzset.c (__tzset_parse_tz): Likewise.
14715 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14716 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14717 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14718 * wcsmbs/wcsmbsload.h: Likewise.
14721 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14723 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14724 (arena_get2): Remove THREAD_STATS conditionals.
14725 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14726 (__malloc_stats, int): Likewise.
14728 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14730 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14731 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14733 * manual/setjmp.texi: Fix typos/grammar errors.
14735 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14736 Only return early when n is <= 0. Delete unused return statement.
14738 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14739 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14740 * debug/tst-longjmp_chk3.c: New file.
14742 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14743 (test_main): Replace code with set_fortify_handler call.
14744 * debug/test-strcpy_chk.c: Likewise.
14745 * debug/tst-chk1.c: Likewise.
14746 * debug/tst-longjmp_chk.c: Likewise.
14747 * test-skeleton.c: Include fcntl.h & paths.h
14748 (set_fortify_handler): Define.
14750 * debug/tst-longjmp_chk.c: Add header comment and include
14751 ../test-skeleton.c.
14752 (do_test): Mark static.
14753 (TEST_FUNCTION): Define.
14755 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14756 (IP_PMTUDISC_INTERFACE): Likewise.
14757 (IP_MULTICAST_IF): Likewise.
14758 (IP_MULTICAST_TTL): Likewise.
14759 (IP_MULTICAST_LOOP): Likewise.
14760 (IP_ADD_MEMBERSHIP): Likewise.
14761 (IP_DROP_MEMBERSHIP): Likewise.
14762 (IP_UNBLOCK_SOURCE): Likewise.
14763 (IP_BLOCK_SOURCE): Likewise.
14764 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14765 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14766 (IP_MSFILTER): Likewise.
14767 (MCAST_JOIN_GROUP): Likewise.
14768 (MCAST_BLOCK_SOURCE): Likewise.
14769 (MCAST_UNBLOCK_SOURCE): Likewise.
14770 (MCAST_LEAVE_GROUP): Likewise.
14771 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14772 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14773 (MCAST_MSFILTER): Likewise.
14774 (IP_MULTICAST_ALL): Likewise.
14775 (IP_UNICAST_IF): Likewise.
14777 * timezone/Makefile: Delete $(have-ksh) check.
14778 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14779 * timezone/tzselect.ksh: Add +x mode bits.
14781 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14782 (ANON_INODE_FS_MAGIC): Likewise.
14783 (BDEVFS_MAGIC): Likewise.
14784 (BINFMTFS_MAGIC): Likewise.
14785 (BTRFS_TEST_MAGIC): Likewise.
14786 (CRAMFS_MAGIC_WEND): Likewise.
14787 (DEBUGFS_MAGIC): Likewise.
14788 (ECRYPTFS_SUPER_MAGIC): Likewise.
14789 (EXT3_SUPER_MAGIC): Likewise.
14790 (EXT4_SUPER_MAGIC): Likewise.
14791 (FUTEXFS_SUPER_MAGIC): Likewise.
14792 (HOSTFS_SUPER_MAGIC): Likewise.
14793 (HUGETLBFS_MAGIC): Likewise.
14794 (MINIX3_SUPER_MAGIC): Likewise.
14795 (MTD_INODE_FS_MAGIC): Likewise.
14796 (NILFS_SUPER_MAGIC): Likewise.
14797 (OPENPROM_SUPER_MAGIC): Likewise.
14798 (PIPEFS_MAGIC): Likewise.
14799 (PSTOREFS_MAGIC): Likewise.
14800 (QNX6_SUPER_MAGIC): Likewise.
14801 (RAMFS_MAGIC): Likewise.
14802 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14803 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14804 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14805 (SECURITYFS_MAGIC): Likewise.
14806 (SELINUX_MAGIC): Likewise.
14807 (SMACK_MAGIC): Likewise.
14808 (SOCKFS_MAGIC): Likewise.
14809 (SQUASHFS_MAGIC): Likewise.
14810 (STACK_END_MAGIC): Likewise.
14811 (TMPFS_MAGIC): Likewise.
14812 (USBDEVICE_SUPER_MAGIC): Likewise.
14813 (V9FS_MAGIC): Likewise.
14814 (XENFS_SUPER_MAGIC): Likewise.
14815 (CRAMFS_MAGIC): Fix typo in comment.
14816 (EXT2_SUPER_MAGIC): Update comment.
14817 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14819 2014-02-08 Joseph Myers <joseph@codesourcery.com>
14821 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14822 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14823 * sysdeps/unix/sysv/linux/arm: Move directory from
14824 ports/sysdeps/unix/sysv/linux/arm.
14825 * README: Update listing for arm-*-linux-gnueabi.
14827 * README: Remove mention of am33.
14829 2014-02-07 Roland McGrath <roland@hack.frob.com>
14831 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14832 than the comma operator, to avoid "rhs of comma has no effect"
14834 (__sigfillset, __sigandset, __sigorset): Likewise.
14835 * include/signal.h (__sigemptyset): Likewise.
14836 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14838 2014-02-07 Allan McRae <allan@archlinux.org>
14840 * version.h (RELEASE): Set to "development".
14841 (VERSION): Set to "2.19.90"
14842 * NEWS: Add 2.20 section.
14844 2014-02-06 Carlos O'Donell <carlos@redhat.com>
14847 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14849 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14851 * manual/contrib.texi: Update entry for Carlos O'Donell,
14852 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14854 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
14856 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14858 * sysdeps/unix/sysv/linux/kernel-features.h
14859 [__LINUX_KERNEL_VERSION >= 0x020621]
14860 (__ASSUME_PROC_PID_TASK_COMM): Define.
14862 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14865 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14866 conversion when destination buffer does not have enough space.
14867 * libio/tst-ftell-partial-wide.c: New test case.
14868 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14870 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14871 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14872 Leonard and Allan McRae.
14874 2014-02-04 David S. Miller <davem@davemloft.net>
14876 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14879 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14908 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14910 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14911 * shlib-versions: Likewise.
14913 2014-02-04 Roland McGrath <roland@hack.frob.com>
14914 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14916 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14917 (abilist-pattern): New variable, set to %-le.abilist.
14919 * Makerules (abilist-pattern): New variable.
14920 (vpath): Use $(abilist-pattern) in place of %.abilist.
14921 (check-abi-% pattern rule): Likewise.
14922 (check-abi, update-abi): Likewise.
14924 2014-02-04 Eric Wong <normalperson@yhbt.net>
14926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14928 2014-02-03 Carlos O'Donell <carlos@redhat.com>
14930 * manual/startup.texi: Add next, previous, and top entries for
14931 the `Program Arguments' and `Environment Variables' nodes.
14933 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
14935 * manual/macros.texi: Add comments before MTASC-safety macros.
14937 * manual/users.texi: Document MTASC-safety properties.
14939 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14940 (pthread_getspecific, pthread_setspecific): Format with
14941 @deftypefun, and add @safety note.
14942 * manual/signal.texi: Move comments that analyze the above
14943 functions to their home place.
14945 2014-02-03 Allan McRae <allan@archlinux.org>
14947 * po/sl.po: Update Slovenian translation from translation project.
14949 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
14951 * manual/time.texi (timegm): Add missing blank after @c.
14952 Reported by Joseph Myers <joseph@codesourcery.com>.
14954 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
14956 * manual/check-safety.sh: New.
14957 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14959 * manual/terminal.texi: Document MTASC-safety properties.
14961 * manual/filesys.texi: Document MTASC-safety properties.
14963 * manual/errno.texi: Document MTASC-safety properties.
14965 * manual/intro.texi: Document safety identifiers and
14968 * manual/string.texi (wcstok): Fix prototype.
14969 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14971 * manual/time.texi: Document MTASC-safety properties.
14973 * manual/string.texi: Document MTASC-safety properties.
14975 * manual/threads.texi: Document MTASC-safety properties.
14977 * manual/stdio.texi: Document MTASC-safety properties.
14979 * manual/syslog.texi: Document MTASC-safety properties.
14981 * manual/sysinfo.texi: Document MTASC-safety properties.
14983 * manual/startup.texi: Document MTASC-safety properties.
14985 * manual/socket.texi: Document MTASC-safety properties.
14987 * manual/signal.texi: Document MTASC-safety properties.
14989 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14991 * manual/setjmp.texi: Document MTASC-safety properties.
14993 * manual/search.texi: Document MTASC-safety properties.
14995 * manual/resource.texi: Document MTASC-safety properties.
14997 * manual/process.texi: Document MTASC-safety properties.
14999 * manual/platform.texi: Document MTASC-safety properties.
15001 * manual/pipe.texi: Document MTASC-safety properties.
15003 * manual/pattern.texi: Document MTASC-safety properties.
15005 * manual/message.texi: Document MTASC-safety properties.
15008 * manual/memory.texi: Document MTASC-safety properties.
15010 * manual/math.texi: Document MTASC-safety properties.
15012 * manual/locale.texi: Document MTASC-safety properties.
15014 * manual/llio.texi: Document MTASC-safety properties.
15016 * manual/libdl.texi: New.
15018 * manual/lang.texi: Document MTASC-safety properties.
15020 * manual/job.texi: Document MTASC-safety properties.
15022 * manual/getopt.texi: Document MTASC-safety properties.
15024 * manual/ctype.texi: Document MTASC-safety properties.
15026 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15029 * csu/libc-tls.c (static_map): Remove variable.
15030 (__libc_setup_tls): Use main executable's link map for TLS data.
15031 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15032 casing for LM_ID_BASE and GL(dl_nns).
15033 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15034 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15035 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15036 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15037 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15039 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15042 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15044 * manual/debug.texi: Document MTASC-safety properties.
15046 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15049 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15050 of __x86_64__ when disabling x87 inline functions.
15052 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15054 * manual/charset.texi: Document MTASC-safety properties.
15056 * manual/crypt.texi: Document MTASC-safety properties.
15058 * manual/conf.texi: Document MTASC-safety properties.
15060 * manual/arith.texi: Document MTASC-safety properties.
15062 * manual/argp.texi: Document MTASC-safety properties.
15064 * manual/macros.texi: Introduce macros to document multi
15065 thread, asynchronous signal and asynchronous cancellation
15067 * manual/intro.texi: Introduce the properties themselves.
15069 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15071 * sysdeps/sh/sh4/Makefile: New file.
15073 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15075 * math/gen-libm-test.pl ($srcdir): New variable.
15076 ($auto_input): Use it.
15078 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15081 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15082 access beyond array bounds when parsing netgroups file.
15084 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15085 the old buffer before realloc.
15087 2014-01-27 Allan McRae <allan@archlinux.org>
15089 * po/fr.po: Update French translation from translation project.
15091 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15093 * sysdeps/sh/libm-test-ulps: Regenerate.
15095 2014-01-24 David S. Miller <davem@davemloft.net>
15097 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15099 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15101 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15102 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15104 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15107 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15108 string pointers after reallocation.
15110 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15112 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15113 __SH4A__ instead of __SH_FPU_ANY__.
15115 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15117 * sysdeps/sh/fpu_control.h: New file.
15118 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15119 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15120 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15121 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15122 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15123 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15124 * sysdeps/sh/sys/ucontext.h: Remove.
15125 * sysdeps/sh/sys: Remove directory.
15127 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15129 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15130 s390/sys/ucontext.h.
15131 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15132 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15134 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15137 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15139 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15142 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15143 Adjust the vDSO correctly for internal calls.
15144 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15146 2014-01-20 Allan McRae <allan@archlinux.org>
15148 * po/ca.po: Update Catalan translation from translation project.
15150 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15152 * sysdeps/s390/sotruss-lib.c: New file.
15154 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15158 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15159 local calls issues by not having a PLT stub required for IFUNC calls.
15160 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15162 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15164 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15165 * math/test-fpucw-static.c: Likewise.
15167 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15170 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15172 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15174 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15175 implementation for powerpc.
15177 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15180 * sysdeps/posix/system.c (__libc_system): Do not enable
15181 asynchronous cancellation.
15183 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15187 handling only for numbers special also in the IEEE case.
15189 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15193 2014-01-11 Allan McRae <allan@archlinux.org>
15195 * po/bg.po: Update Bulgarian translation from translation project.
15197 * po/de.po: Update German translation from translation project.
15199 2014-01-10 Roland McGrath <roland@hack.frob.com>
15201 * sysdeps/generic/gcc-compat.h: New file.
15203 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15205 * benchtests/asin-inputs: Correct slow inputs.
15206 * benchtests/acos-inputs: Likewise.
15208 2014-01-10 Allan McRae <allan@archlinux.org>
15210 * po:sv.po: Update Swedish translation from translation project.
15212 * po/vi.po: Update Vietnamese translation from translation project.
15214 * po/eo.po: Update Esperanto translation from translation project.
15216 * po/cs.po: Update Czech translation from translation project.
15218 * po/nl.po: Update Dutch translation from translation project.
15220 * po/pl.po: Update Polish translation from translation project.
15222 * po/ru.po: Update Russian translation from translation project.
15224 * po/uk.po: Update Ukrainian translation from translation project.
15226 2014-01-08 Brooks Moses <bmoses@google.com>
15228 * elf/dl-load.c: Fix comment typo.
15230 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15232 * po/header.pot: Rename to...
15233 * po/pot.header: ... this.
15234 * po/Makefile: Use pot.header.
15236 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15237 Maxim Kuvyrkov <maxim@kugelworks.com>
15240 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15241 SRC and DEST against LEN.
15243 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15246 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15248 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15250 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15254 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15257 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15258 for large positive arguments.
15260 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15262 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15264 * math/auto-libm-test-in: Mark various tests with
15265 xfail-rounding:ldbl-128ibm.
15266 * math/auto-libm-test-out: Regenerated.
15269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15270 Increase overflow threshold.
15272 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15275 * stdio-common/vfprintf.c: Check for integer overflow.
15277 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15279 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15280 the first argument and return value of __tls_get_addr_internal.
15282 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15284 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15285 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15287 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15289 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15290 * sysdeps/s390/rtld-global-offsets.sym: New file.
15291 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15293 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15294 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15295 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15297 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15298 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15304 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15305 halfs of GPRs for high_gprs contexts.
15306 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15307 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15309 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15311 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15313 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15314 for high GPRs (uc_high_gprs) and for future extensions
15316 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15317 for future extensions (__reserved).
15318 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15320 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15321 SC_HIGHGPRS offset definition.
15322 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15323 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15325 * Versions.def: Add GLIBC_2.19 for libpthread.
15326 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15327 siglongjmp for libpthread with GLIBC_2.19 symver.
15328 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15329 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15330 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15331 * sysdeps/s390/__longjmp.c: New file.
15332 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15333 * sysdeps/s390/longjmp.c: New file.
15334 * sysdeps/s390/setjmp.S: New file.
15335 * sysdeps/s390/sigjmp.S: New file.
15336 * sysdeps/s390/v1-longjmp.c: New file.
15337 * sysdeps/s390/v1-setjmp.h: New file.
15338 * sysdeps/s390/v1-sigjmp.c: New file.
15339 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15340 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15341 GLIBC_2.19 version.
15342 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15343 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15344 versioned symbols for ____longjmp_chk.
15345 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15355 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15356 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15357 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15358 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15359 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15360 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15361 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15362 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15363 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15364 * sysdeps/s390/rtld-__longjmp.c: New file.
15365 * sysdeps/s390/rtld-setjmp.S: New file.
15367 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15370 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15371 Return -__logl (x) for small positive arguments without evaluating
15374 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15376 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15378 (__ptrace_peeksiginfo_args): ... this.
15379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15383 2014-01-06 Allan McRae <allan@archlinux.org>
15385 * inet/netinet/in.h: Fix typo in comment.
15387 2014-01-05 Andreas Jaeger <aj@suse.de>
15389 * sysdeps/i386/fpu/libm-test-ulps: Update.
15391 2014-01-05 Allan McRae <allan@archlinux.org>
15393 * po/libc.pot: Regenerated.
15395 * malloc/memusagestat.c: Fix gettext call formatting.
15397 2014-01-04 Sami Kerola <kerolasa@iki.fi>
15399 * nscd/nscd.c: Improve usage() output.
15401 2014-01-04 Mike Frysinger <vapier@gentoo.org>
15403 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15404 * sysdeps/unix/sysv/linux/configure: Regenerated.
15405 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15406 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15408 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15411 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15412 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15414 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15416 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15417 extra tokens at end of #undef directive.
15418 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15419 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15420 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15422 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15424 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15426 * math/auto-libm-test-in: Mark various tests with
15427 xfail-rounding:ldbl-128ibm.
15428 * math/auto-libm-test-out: Regenerated.
15430 2014-01-02 Joseph Myers <joseph@codesourcery.com>
15433 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15434 numbers with subnormal high part when calculating exponent.
15437 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15441 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15443 (__ieee754_acoshl): Use __log1pl not __log1p.
15445 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
15447 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15448 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15449 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15450 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15451 (reused_arena, arena_get2): Convert to GNU style.
15452 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15453 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15454 (memalign_check, __malloc_set_state): Likewise.
15455 * malloc/mallocbug.c (main): Likewise.
15456 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15457 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15458 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15459 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15460 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15461 (__posix_memalign, malloc_info): Likewise.
15462 * malloc/malloc.h: Likewise.
15463 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15464 (mallochook, memalignhook, reallochook, mabort): Likewise.
15465 * malloc/mcheck.h: Likewise.
15466 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15467 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15468 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15469 * malloc/morecore.c (__default_morecore): Likewise.
15470 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15471 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15472 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15473 (print_and_abort): Likewise.
15474 * malloc/obstack.h: Likewise.
15475 * malloc/set-freeres.c (__libc_freeres): Likewise.
15476 * malloc/tst-mallocstate.c (main): Likewise.
15477 * malloc/tst-mtrace.c (main): Likewise.
15478 * malloc/tst-realloc.c (do_test): Likewise.
15480 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15483 * nscd/netgroupcache.c (do_notfound): New function.
15484 (addgetnetgrentX): Use it.
15487 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15488 NSS_STATUS_NOTFOUND.
15490 2014-01-01 Joseph Myers <joseph@codesourcery.com>
15492 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15495 2014-01-01 Allan McRae <allan@archlinux.org>
15497 * scripts/update-copyrights: Update configure input file suffix.
15499 * NEWS: Update copyright year.
15500 * catgets/gencat.c: Likewise.
15501 * csu/version.c: Likewise.
15502 * debug/catchsegv.sh: Likewise.
15503 * debug/pcprofiledump.c: Likewise.
15504 * debug/xtrace.sh: Likewise.
15505 * elf/ldconfig.c: Likewise.
15506 * elf/ldd.bash.in: Likewise.
15507 * elf/pldd.c: Likewise.
15508 * elf/sotruss.ksh: Likewise.
15509 * elf/sprof.c: Likewise.
15510 * iconv/iconv_prog.c: Likewise.
15511 * iconv/iconvconfig.c: Likewise.
15512 * locale/programs/locale.c: Likewise.
15513 * locale/programs/localedef.c: Likewise.
15514 * login/programs/pt_chown.c: Likewise.
15515 * malloc/memusage.sh: Likewise.
15516 * malloc/memusagestat.c: Likewise.
15517 * malloc/mtrace.pl: Likewise.
15518 * manual/libc.texinfo: Likewise.
15519 * nscd/nscd.c: Likewise.
15520 * nss/getent.c: Likewise.
15521 * nss/makedb.c: Likewise.
15522 * posix/getconf.c: Likewise.
15523 * scripts/test-installation.pl: Likewise.
15525 * All files with FSF copyright notices: Update copyright dates
15526 using scripts/update-copyrights.
15527 * intl/plural.c: Regenerated.
15528 * locale/programs/charmap-kw.h: Likewise.
15529 * locale/programs/locfile-kw.h: Likewise.
15531 2013-12-31 Mike Frysinger <vapier@gentoo.org>
15533 * sysdeps/unix/sysv/linux/configure: Regenerated.
15534 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15535 the linux/fanotify.h header.
15536 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15537 HAVE_LINUX_FANOTIFY_H is defined.
15539 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15541 * benchtests/cos-inputs: New inputs.
15542 * benchtests/sin-inputs: Likewise.
15544 * benchtests/atan-inputs: New inputs. Fix name of multiple
15545 precision fallback inputs.
15547 * benchtests/atanh-inputs: New inputs.
15548 * benchtests/tanh-inputs: Likewise.
15550 * benchtests/acosh-inputs: New inputs.
15551 * benchtests/asinh-inputs: Likewise.
15553 * benchtests/cosh-inputs: New inputs.
15554 * benchtests/sinh-inputs: Likewise.
15556 * benchtests/acos-inputs: Add more inputs.
15557 * benchtests/asin-inputs: Likewise.
15559 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15562 * manual/arith.texi: Fix spelling.
15563 * manual/charset.texi: Likewise.
15564 * manual/errno.texi: Likewise.
15565 * manual/filesys.texi: Likewise.
15566 * manual/lang.texi: Likewise.
15567 * manual/llio.texi: Likewise.
15568 * manual/locale.texi: Likewise.
15569 * manual/message.texi: Likewise.
15570 * manual/resource.texi: Likewise.
15571 * manual/search.texi: Likewise.
15572 * manual/setjmp.texi: Likewise.
15573 * manual/stdio.texi: Likewise.
15574 * manual/string.texi: Likewise.
15575 * manual/sysinfo.texi: Likewise.
15576 * manual/time.texi: Likewise.
15578 2013-12-27 Carlos O'Donell <carlos@redhat.com>
15580 * po/sl.po: New file.
15582 2013-12-27 Mike Frysinger <vapier@gentoo.org>
15584 * .gitignore: Add core/.gdbinit/.gdb_history.
15586 2013-12-27 Allan McRae <allan@archlinux.org>
15589 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15590 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15592 2013-12-24 Brooks Moses <bmoses@google.com>
15594 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15595 all compilers that claim C++98 compliance, not just GCC.
15596 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15599 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15601 * NEWS: Restore accidentally deleted bug-fix entries.
15603 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15604 Ondřej Bílka <neleai@seznam.cz>
15607 * malloc/malloc.c (_int_free): Perform sanity check only if we
15610 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15613 * manual/stdio.texi (String Input Conversions): Clarify that character
15614 classes are not supported.
15616 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15620 2013-12-22 Joseph Myers <joseph@codesourcery.com>
15623 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15624 Calculate results for small negative arguments directly rather
15625 than using reflection formula with special underflow handling.
15627 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15628 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15629 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15630 (fchflags): Likewise.
15631 (revoke): Likewise.
15632 (setlogin): Likewise.
15633 (sigaltstack): Likewise.
15635 (sigblock): Remove.
15636 (sigsetmask): Likewise.
15638 (waitpid): Likewise.
15639 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15640 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15642 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15643 * sysdeps/unix/bsd/Makefile: ... here.
15644 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15645 * sysdeps/unix/bsd/Versions: ... here.
15646 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15647 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15648 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15649 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15650 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15651 * sysdeps/unix/bsd/sigblock.c: ... here.
15652 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15653 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15654 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15655 * sysdeps/unix/bsd/sigvec.c: ... here.
15656 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15657 * sysdeps/unix/bsd/tcdrain.c: ... here.
15658 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15659 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15660 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15661 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15662 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15663 * sysdeps/unix/bsd/wait.c: ... here.
15664 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15665 * sysdeps/unix/bsd/wait3.c: ... here.
15666 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15667 * sysdeps/unix/bsd/waitpid.c: ... here.
15669 2013-12-21 Joseph Myers <joseph@codesourcery.com>
15672 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15673 round-to-nearest for [!USE_AS_EXPM1L].
15674 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15675 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15676 more tests of exp and exp10. Expect some exp10 tests to miss
15677 exceptions or fail in directed rounding modes.
15678 * math/auto-libm-test-out: Regenerated.
15679 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15680 (exp10_test_tonearest): New function.
15681 (exp10_towardzero_test_data): New array.
15682 (exp10_test_towardzero): New function.
15683 (exp10_downward_test_data): New array.
15684 (exp10_test_downward): New function.
15685 (exp10_upward_test_data): New array.
15686 (exp10_test_upward): New function.
15687 (main): Call the new functions.
15688 * sysdeps/i386/fpu/libm-test-ulps: Update.
15689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15691 2013-12-20 Joseph Myers <joseph@codesourcery.com>
15693 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15694 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15695 * math/auto-libm-test-out: Regenerated.
15696 * math/libm-test.inc (acosh_test_data): Add more tests.
15697 (atanh_test_data): Likewise.
15698 (ceil_test_data): Likewise.
15699 (copysign_test_data): Likewise.
15700 * sysdeps/i386/fpu/libm-test-ulps: Update.
15701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15703 * timezone/checktab.awk: Update from tzcode 2013i.
15704 * timezone/private.h: Likewise.
15705 * timezone/scheck.c: Likewise.
15706 * timezone/tzfile.h: Likewise.
15707 * timezone/tzselect.ksh: Likewise.
15708 * timezone/zdump.c: Likewise.
15709 * timezone/zic.c: Likewise.
15711 * math/auto-libm-test-in: Add tests of cpow.
15712 * math/auto-libm-test-out: Regenerated.
15713 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15714 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15716 (func_calc_desc): Add mpc_cc_c union field.
15717 (test_functions): Add cpow.
15718 (special_fill_2pi): New function.
15719 (special_real_inputs): Add 2pi.
15720 (calc_generic_results): Handle mpc_cc_c.
15721 * sysdeps/i386/fpu/libm-test-ulps: Update.
15722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15724 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15725 csqrt, ctan and ctanh.
15726 * math/auto-libm-test-out: Regenerated.
15727 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15728 (TEST_COND_x86): Likewise.
15729 (ccos_test_data): Use AUTO_TESTS_c_c.
15730 (ccosh_test_data): Likewise.
15731 (cexp_test_data): Likewise.
15732 (clog_test_data): Likewise.
15733 (csqrt_test_data): Likewise.
15734 (ctan_test_data): Likewise.
15735 (ctan_tonearest_test_data): Likewise.
15736 (ctan_towardzero_test_data): Likewise.
15737 (ctan_downward_test_data): Likewise.
15738 (ctan_upward_test_data): Likewise.
15739 (ctanh_test_data): Likewise.
15740 (ctanh_tonearest_test_data): Likewise.
15741 (ctanh_towardzero_test_data): Likewise.
15742 (ctanh_downward_test_data): Likewise.
15743 (ctanh_upward_test_data): Likewise.
15744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15746 (func_calc_desc): Add mpc_c_c union field.
15747 (FUNC_mpc_c_c): New macro.
15748 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15749 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15751 (special_fill_min_subnorm_p120): New function.
15752 (special_real_inputs): Add min_subnorm_p120.
15753 (calc_generic_results): Handle mpc_c_c.
15754 * sysdeps/i386/fpu/libm-test-ulps: Update.
15755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15757 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15759 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15760 (do_sin_slow): New functions.
15761 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15762 (cslow2, csloww1, csloww2): Use the new functions.
15764 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15765 Use M to change sign of result instead of X. Assume X is
15767 (csloww1): Likewise.
15771 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15772 arguments A and DA.
15776 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15778 (sloww1): Don't adjust sign of DX.
15779 (csloww1): Likewise.
15780 (sloww2): Use X directly and don't adjust sign of DX.
15781 (csloww2): Likewise.
15783 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15785 * math/auto-libm-test-in: Add tests of cabs and carg.
15786 * math/auto-libm-test-out: Regenerated.
15787 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15788 (carg_test_data): Likewise.
15789 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15791 (func_calc_desc): Add mpc_c_f union field.
15792 (test_functions): Add cabs and carg.
15793 (calc_generic_results): Handle mpc_c_f.
15795 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15796 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15797 as a macro and a compat symbol.
15798 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15799 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15800 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15801 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15802 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15803 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15805 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15807 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15809 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15811 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15813 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15815 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15816 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15819 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15823 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15825 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15826 trailing whitespace removed.
15827 * scripts/config.guess: Update to version 2013-11-29.
15828 * scripts/config.sub: Update to version 2013-10-01.
15830 * math/auto-libm-test-in: Add tests of sincos.
15831 * math/auto-libm-test-out: Regenerated.
15832 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15833 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15835 (func_calc_desc): Add mpfr_f_11 union field.
15836 (test_functions): Add sincos.
15837 (calc_generic_results): Handle mpfr_f_11.
15838 * sysdeps/i386/fpu/libm-test-ulps: Update.
15839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15841 2013-12-19 Andreas Schwab <schwab@suse.de>
15843 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15846 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15847 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15849 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15851 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15852 * sysdeps/i386/fpu/libm-test-ulps: Update.
15853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15856 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15857 round-to-nearest mode when using frndint.
15858 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15859 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15860 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15862 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15864 * math/auto-libm-test-out: Regenerated.
15865 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15866 (TEST_COND_x86): Likewise.
15867 (expm1_tonearest_test_data): New array.
15868 (expm1_test_tonearest): New function.
15869 (expm1_towardzero_test_data): New array.
15870 (expm1_test_towardzero): New function.
15871 (expm1_downward_test_data): New array.
15872 (expm1_test_downward): New function.
15873 (expm1_upward_test_data): New array.
15874 (expm1_test_upward): New function.
15875 (main): Run the new test functions.
15876 * sysdeps/i386/fpu/libm-test-ulps: Update.
15877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15879 * include/features.h: Update comment documenting feature test
15880 macros. Mention _DEFAULT_SOURCE in comment.
15881 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15882 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15883 _BSD_SOURCE and _SVID_SOURCE.
15884 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15885 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15886 !_SVID_SOURCE]: Likewise.
15887 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15888 (__USE_POSIX_IMPLICITLY): Define.
15889 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15890 (_POSIX_SOURCE): Undefine and redefine.
15891 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15892 (_POSIX_C_SOURCE): Likewise.
15893 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15894 (Feature Test Macros): Update documentation of default features.
15896 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15898 * benchtests/Makefile: Add bench-strtok.
15899 * benchtests/bench-strtok.c: New file: strtok benchtest.
15901 2013-12-19 Allan McRae <allan@archlinux.org>
15903 * manual/install.texi: Suppress menu for plain text output.
15904 * INSTALL: Regenerated.
15906 2013-12-18 Brooks Moses <bmoses@google.com>
15909 * misc/getauxval.c: Include errno.h.
15910 (__getauxval): Set errno to ENOENT if the requested type is not
15912 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15913 don't declare with __attribute_const__.
15914 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15915 * manual/startup.texi: Document that getauxval sets errno.
15917 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15919 * math/auto-libm-test-in: Add tests of jn and yn.
15920 * math/auto-libm-test-out: Regenerated.
15921 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15922 (yn_test_data): Likewise.
15923 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15925 (func_calc_desc): Add mpfr_if_f union field.
15926 (FUNC_mpfr_if_f): New macro.
15927 (test_functions): Add jn and yn.
15928 (calc_generic_results): Assert type of second input for
15929 mpfr_ff_f. Handle mpfr_if_f.
15930 (output_for_one_input_case): Disable all checking for arguments
15931 fitting floating-point types in case of an integer argument.
15932 * sysdeps/i386/fpu/libm-test-ulps: Update.
15933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15936 Don't expect fegetround reference in libm.so.
15938 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15940 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15941 $(config-cflags-nofma).
15943 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15945 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15946 * math/auto-libm-test-out: Regenerated.
15949 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15950 to determine exponent and adjust argument to have exponent of -1.
15951 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15953 * math/auto-libm-test-out: Regenerated.
15954 * sysdeps/i386/fpu/libm-test-ulps: Update.
15955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15957 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
15959 * manual/probes.texi: Remove cases when per-thread arenas are
15962 2013-12-18 Andreas Schwab <schwab@suse.de>
15964 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15965 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15966 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15967 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15968 * sysdeps/i386/i686/multiarch/Makefile: Update.
15969 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15971 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15973 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15974 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15976 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15979 Support TZ transition times < 00:00:00.
15980 This is needed for version-3 tz-format files; it supports time
15981 stamps past 2037 for America/Godthab (the only entry in the tz
15982 database for which this change is relevant).
15983 * manual/time.texi (TZ Variable): Document transition times
15984 from -167:59:59 through -00:00:01.
15985 * time/tzset.c (tz_rule): Time of day is now signed.
15986 (__tzset_parse_tz): Parse negative time of day.
15988 Document TZ transition times >= 25:00:00.
15989 * manual/time.texi (TZ Variable): Document transition times from
15990 25:00:00 through 167:59:59. These are already supported, and this
15991 support will help with version-3 tz-format files.
15993 * manual/time.texi (TZ Variable): Modernize North America example
15994 to reflect current (i.e., 2007-and-later) daylight saving rules.
15996 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15998 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16000 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16001 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16004 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16005 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16006 * sysdeps/unix/bsd/clock.c: Likewise.
16007 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16008 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16009 * sysdeps/unix/bsd/init-posix.c: Likewise.
16010 * sysdeps/unix/bsd/poll.c: Likewise.
16011 * sysdeps/unix/bsd/ptsname.c: Likewise.
16012 * sysdeps/unix/bsd/seekdir.c: Likewise.
16013 * sysdeps/unix/bsd/setegid.c: Likewise.
16014 * sysdeps/unix/bsd/seteuid.c: Likewise.
16015 * sysdeps/unix/bsd/setgid.c: Likewise.
16016 * sysdeps/unix/bsd/setrgid.c: Likewise.
16017 * sysdeps/unix/bsd/setruid.c: Likewise.
16018 * sysdeps/unix/bsd/setsid.c: Likewise.
16019 * sysdeps/unix/bsd/setuid.c: Likewise.
16020 * sysdeps/unix/bsd/sigaction.c: Likewise.
16021 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16022 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16023 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16024 * sysdeps/unix/bsd/telldir.c: Likewise.
16025 * sysdeps/unix/bsd/times.c: Likewise.
16026 * sysdeps/unix/bsd/usleep.c: Likewise.
16028 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16029 ($(objpfx)libbsd-compat.a): Remove rule.
16031 * include/features.h (__FAVOR_BSD): Do not define.
16032 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16033 features conflicting with POSIX.
16034 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16035 (_BSD_SOURCE): Remove description of not being a subset of other
16036 feature test macros.
16037 * manual/job.texi (getpgrp): Do not document BSD version.
16038 (getpgid): Do not document by reference to BSD getpgrp.
16039 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16040 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16041 * signal/signal.h [__FAVOR_BSD]: Likewise.
16042 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16043 instead of making contents conditional on [__FAVOR_BSD].
16044 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16046 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16050 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16053 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16054 values below 2**-450, not 2**-500.
16055 * math/auto-libm-test-in: Don't allow spurious underflow from
16057 * math/auto-libm-test-out: Regenerated.
16061 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16062 values of ha and hb and sort them after adjusting subnormal
16064 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16066 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16067 values of ea and eb and sort them after adjusting subnormal
16069 * math/auto-libm-test-in: Do not expect some hypot tests of
16070 subnormals to fail. Add more hypot tests.
16071 * math/auto-libm-test-out: Regenerated.
16073 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16076 * sysdeps/sh/s_fma.c: New file.
16077 * sysdeps/sh/s_fmaf.c: New file.
16078 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16080 * sysdeps/sh/Implies: Add sh/soft-fp.
16082 2013-12-16 Roland McGrath <roland@hack.frob.com>
16084 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16085 level of indirection to members `objname', `errstring', `malloced'.
16086 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16087 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16088 it as the __longjmp argument (just pass 1 instead).
16089 (_dl_catch_error): Initialize C with argument pointers and address of
16090 volatile local ERRCODE rather than copying values out of C at return.
16092 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16094 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16095 * math/auto-libm-test-out: Regenerated.
16096 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16097 (hypot_test_data): Likewise.
16098 (pow_test_data): Likewise.
16099 (pow_tonearest_test_data): Likewise.
16100 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16102 (func_calc_desc): Add mpfr_ff_f union field.
16103 (FUNC_mpfr_ff_f): New macro.
16104 (test_functions): Add atan2, hypot and pow.
16105 (special_fill_min): New function.
16106 (special_fill_minus_min): Likewise.
16107 (special_fill_min_subnorm): Likewise.
16108 (special_fill_minus_min_subnorm): Likewise.
16109 (special_real_inputs): Add min, -min, min_subnorm and
16111 (calc_generic_results): Handle mpfr_ff_f.
16112 * sysdeps/i386/fpu/libm-test-ulps: Update.
16113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16115 2013-12-16 Will Newton <will.newton@linaro.org>
16117 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16118 (Aligned Memory Blocks): Add documentation for aligned_alloc
16119 and suggest it as an alternative to posix_memalign.
16120 (Hooks for Malloc): Document __memalign_hook is also called
16121 for aligned_alloc. (Summary of Malloc): Add summary for
16122 aligned alloc. Document __memalign_hook is also called
16125 2013-12-16 Will Newton <will.newton@linaro.org>
16127 * manual/memory.texi (Malloc Examples): Clarify default
16128 alignment documentation. Suggest posix_memalign rather
16129 than memalign or valloc.
16130 (Aligned Memory Blocks): Remove suggestion to use memalign
16131 or valloc. Remove obsolete comment about BSD.
16132 Document memalign errno values and mark the function obsolete.
16133 Document posix_memalign returned error codes. Mark valloc
16134 as obsolete. (Hooks for Malloc): __memalign_hook is also
16135 called for posix_memalign and valloc.
16136 (Summary of Malloc): Add posix_memalign to function summary.
16137 __memalign_hook is also called for posix_memalign and valloc.
16139 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16141 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16145 (sloww): Use mynumber union. Expand ternary operator into
16146 if-else statements.
16147 (cslow): use mynumber union.
16149 2013-12-16 Allan McRae <allan@archlinux.org>
16151 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16152 * configure: Regenerated.
16154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16157 * configure.ac: Added --enable-maintainer-mode. Check for
16158 autoconf when enabled.
16159 * configure: Regenerated.
16161 * nscd/nscd.service: New file.
16162 * nscd/nscd.tmpfiles: New file.
16164 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16167 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16168 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16169 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16170 (strstr): Add __strstr_sse2_unaligned ifunc.
16171 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16172 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16173 (strcasestr): Remove __strcasestr_sse42 ifunc.
16174 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16178 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16180 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16181 * sysdeps/sh/bits/fenv.h: ... here.
16182 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16184 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16186 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16189 hypotf multiarch implementations.
16190 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16191 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16192 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16193 multiarch hypot for PPC64.
16194 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16195 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16196 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16197 multiarch hypotf for PPC64.
16199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16200 modff multiarch implementations.
16201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16204 multiarch modf for PPC64.
16205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16208 multiarch modff for PPC64.
16210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16211 and logl multiarch implementations.
16212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16215 multiarch logb for PPC64.
16216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16219 multiarch logb for PPC64.
16220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16223 multiarch logb for PPC64.
16225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16226 isinff multiarch implementation.
16227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16231 multiarch isinf for PPC64.
16232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16235 multiarch isinff for PPC64.
16237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16238 finitef multiarch implementation.
16239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16243 multiarch finite for PPC64.
16244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16247 multiarch finitef for PPC64.
16249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16250 lrint multiarch implementation.
16251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16255 multiarch llrint for PPC64.
16256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16257 multiarch lrint for PPC64.
16259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16260 copysignf multiarch implementation.
16261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16266 multiarch copysign for PPC64.
16267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16268 multiarch copysignf for PPC64.
16270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16271 multiarch implementation.
16272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16280 multiarch llround for PPC64.
16281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16282 multiarch trunc for PPC64.
16283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16284 multiarch truncf for PPC64.
16286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16287 multiarch implementation.
16288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16296 multiarch llround for PPC64.
16297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16298 multiarch round for PPC64.
16299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16300 multiarch roundf for PPC64.
16302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16303 multiarch implementation.
16304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16312 multiarch llround for PPC64.
16313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16314 multiarch floor for PPC64.
16315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16316 multiarch floorf for PPC64.
16318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16319 multiarch implementation.
16320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16328 multiarch llround for PPC64.
16329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16330 multiarch ceil for PPC64.
16331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16332 multiarch ceilf for PPC64.
16334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16335 multiarch implementation.
16336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16343 multiarch llround for PPC64.
16344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16345 multiarch lround for PPC64.
16347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16348 multiarch implementation.
16349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16356 multiarch isnan for PPC64.
16357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16358 multiarch isnanf for PPC64.
16360 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16361 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16362 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16363 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16364 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16367 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16368 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16373 multiarch implementations.
16374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16375 (__libc_ifunc_impl_list): Likewise.
16376 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16377 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16378 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16379 multiarch stpcpy for PPC64.
16381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16382 multiarch implementations.
16383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16384 (__libc_ifunc_impl_list): Likewise.
16385 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16386 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16387 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16388 multiarch strcpy for PPC64.
16390 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16391 redefine function name.
16392 (_wordcopy_fwd_dest_aligned): Likewise.
16393 (_wordcopy_bwd_aligned): Likewise.
16394 (_wordcopy_bwd_dest_aligned): Likewise.
16395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16396 multiarch implementations.
16397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16398 (__libc_ifunc_impl_list): Likewise.
16399 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16400 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16401 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16402 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16403 multiarch wcscpy for PPC64.
16405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16406 multiarch implementations.
16407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16408 (__libc_ifunc_impl_list): Likewise.
16409 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16410 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16411 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16412 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16413 multiarch wcscpy for PPC64.
16415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16416 multiarch implementations.
16417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16418 (__libc_ifunc_impl_list): Likewise.
16419 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16420 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16421 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16422 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16423 multiarch wcsrchr for PPC64.
16425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16426 multiarch implementations.
16427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16428 (__libc_ifunc_impl_list): Likewise.
16429 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16430 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16431 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16432 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16433 multiarch wcschr for PPC64.
16435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16436 multiarch implementations.
16437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16438 (__libc_ifunc_impl_list): Likewise.
16439 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16440 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16441 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16442 multiarch strchrnul for PPC64.
16444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16447 (__libc_ifunc_impl_list): Likewise.
16448 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16449 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16450 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16451 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16457 (__libc_ifunc_impl_list): Likewise.
16458 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16459 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16460 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16461 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16465 multiarch implementations.
16466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16467 (__libc_ifunc_impl_list): Likewise.
16468 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16469 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16470 strncasecmp for PPC64.
16471 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16472 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16473 multiarch strncasecmp_l for PPC64.
16475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16476 multiarch implementations.
16477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16478 (__libc_ifunc_impl_list): Likewise.
16479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16480 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16481 multiarch strcasecmp for PPC64.
16482 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16484 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16485 multiarch strcasecmp_l for PPC64.
16487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16490 (__libc_ifunc_impl_list): Likewise.
16491 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16492 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16493 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16499 (__libc_ifunc_impl_list): Likewise.
16500 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16501 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16502 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16508 (__libc_ifunc_impl_list): Likewise.
16509 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16510 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16511 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16512 rawmemrchr for PPC64.
16514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16517 (__libc_ifunc_impl_list): Likewise.
16518 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16519 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16520 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16526 (__libc_ifunc_impl_list): Likewise.
16527 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16528 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16529 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16535 (__libc_ifunc_impl_list): Likewise.
16536 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16537 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16538 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16541 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16542 avoid cretion of __bzero symbol.
16543 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16545 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16547 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16550 multiarch implementations.
16551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16552 (__libc_ifunc_impl_list): Likewise.
16553 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16554 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16555 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16556 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16558 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16559 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16560 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16561 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16562 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16564 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16566 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16570 (__libc_ifunc_impl_list): Likewise.
16571 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16572 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16573 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16574 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16578 multiarch for POWER/PPC64.
16579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16580 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16581 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16582 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16583 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16584 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16585 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16586 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16587 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16590 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16591 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16592 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16593 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16594 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16595 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16596 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16597 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16598 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16599 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16600 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16601 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16602 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16603 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16604 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16613 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16615 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16617 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 * benchtests/Makefile (bench): Add exp2 and log2.
16620 (LDLIBS-bench-exp2): Add -lm.
16621 (LDLIBS-bench-log2): Likewise.
16622 * benchtests/exp2-inputs: New inputs file.
16623 * benchtests/log2-inputs: New inputs file.
16624 * benchtests/log-inputs: Add new inputs.
16625 * benchtests/tan-inputs: Likewise.
16627 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16629 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16631 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16632 (csloww2): ... from here.
16634 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16635 instead of structures.
16636 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16637 (POLYNOMIAL): Likewise.
16638 (TAYLOR_SLOW): Likewise.
16644 (sloww1); Likewise.
16645 (sloww2): Likewise.
16646 (bsloww1): Likewise.
16647 (bsloww2): Likewise.
16648 (cslow2): Likewise.
16649 (csloww): Likewise.
16650 (csloww1): Likewise.
16651 (csloww2): Likewise.
16653 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
16655 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16656 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16657 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16658 * malloc/hooks.c (realloc_check): Likewise.
16660 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16661 * malloc/arena.c: Remove PER_THREAD conditional.
16662 [!PER_THREAD]: Remove code.
16663 (ptmalloc_unlock_all2): Likewise.
16664 (ptmalloc_init): Likewise.
16665 (_int_new_arena): Likewise.
16666 (arena_get2): Likewise.
16667 * malloc/hooks.c (__malloc_get_state): Likewise.
16668 (__malloc_set_state): Likewise.
16669 * malloc/malloc.c: Likewise.
16670 (struct malloc_state): Likewise.
16671 (struct malloc_par): Likewise.
16672 (__libc_realloc): Likewise.
16673 (__libc_mallopt): Likewise.
16675 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16677 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16679 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
16681 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16682 macro to a function. Check for zero perturb_byte.
16683 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16685 * malloc/malloc.c: (force_reg): Remove.
16686 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16687 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16688 force_reg by atomic_forced_read.
16689 * malloc/arena.c (ptmalloc_init): Likewise.
16690 * malloc/hooks.c (top_check): Likewise.
16692 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16696 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16700 2013-12-08 Joseph Myers <joseph@codesourcery.com>
16702 * math/auto-libm-test-in: Add tests of lgamma.
16703 * math/auto-libm-test-out: Regenerated.
16704 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16705 (M_LOG_2_SQRT_PIl): Likewise.
16706 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16707 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16709 (func_calc_desc): Add mpfr_f_f1 union field.
16710 (ARGS1): New macro.
16718 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16719 (test_functions): Add lgamma.
16720 (calc_generic_results): Handle mpfr_f_f1.
16721 * sysdeps/i386/fpu/libm-test-ulps: Update.
16722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16724 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16726 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16727 __mpn_add_n for PowerPC64/POWER7.
16728 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16729 __mpn_sub_n for PowerPC64/POWER7.
16731 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16732 __mpn_addmul_1 for PowerPC64.
16733 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16734 __mpn_submul_1 for PowerPC64.
16735 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16737 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16740 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16743 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16745 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16747 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16749 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16750 add multiarch folders.
16751 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16752 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16753 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16754 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16755 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16756 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16757 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16758 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16759 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16760 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16761 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16770 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16776 multiarch __ieee754_hypot for PowerPC32.
16777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16782 multiarch __ieee754_hypotf for PowerPC32.
16784 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16785 long_double_symbol only if __logbl is defined.
16786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16787 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16789 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16791 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16792 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16793 path for implementation.
16794 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16795 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16797 logb, and logbl multiarch implementations for PowerPC32.
16798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16803 multiarch logb for PowerPC32.
16804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16809 multiarch logbf for PowerPC32.
16810 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16814 multiarch logbl implementation for PowerPC32.
16816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16817 and modff multiarch implementations.
16818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16823 multiarch modf for PowerPC32.
16824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16829 multiarch modff for PowerPC32.
16831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16832 and lrintf multiarch implementations.
16833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16838 multiarch lrint for PowerPC32.
16839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16840 file: multiarch lrintf for PowerPC32.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16843 and lroundf multiarch implementations.
16844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16851 multiarch lround for PowerPC32.
16852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16853 file: multiarch lroundf for PowerPC32.
16855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16856 copysign and copysignf multiarch implementations.
16857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16862 file: multiarch copysign for PowerPC32.
16863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16864 file: multiarch copysignf for PowerPC32.
16866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16867 and truncf multiarch implementations.
16868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16873 multiarch trunc for PowerPC32.
16874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16879 multiarch truncf for PowerPC32.
16881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16882 and roundf multiarch implementations.
16883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16888 multiarch round for PowerPC32.
16889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16894 multiarch roundf for PowerPC32.
16896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16897 and floorf multiarch implementations.
16898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16903 multiarch floor for PowerPC32.
16904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16909 multiarch floorf for PowerPC32.
16911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16912 and ceilf multiarch implementations.
16913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16918 multiarch ceil for PowerPC32.
16919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16924 multiarch ceilf for PowerPC32.
16926 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16928 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16929 FINITEF is defined.
16930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16931 and finitef multiarch implementations.
16932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16937 multiarch finite for PowerPC32.
16938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16941 file: multiarch finitef for PowerPC32.
16943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16944 and isinff multiarch implementations.
16945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16950 multiarch isinf for PowerPC32.
16951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16954 multiarch isinff for PowerPC32.
16956 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16957 alias when __isnan is defined.
16958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16959 and isnanf multiarch implementations.
16960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16969 multiarch isnan for PowerPC32.
16970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16975 multiarch isnanf for PowerPC32.
16977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16978 and sqrtf multiarch implementations.
16979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16984 multiarch sqrt for PowerPC32.
16985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16990 multiarch sqrtf for PowerPC32.
16992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16993 and llroundf multiarch implementations.
16994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17001 file: multiarch llround for PowerPC32.
17002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17003 file: multiarch llroundf for PowerPC32.
17005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17006 multiarch PowerPC32 fpu implementations.
17007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17012 multiarch llrint for PowerPC32.
17013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17022 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17024 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17026 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17028 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17029 multiarch wordcopy for PPC32.
17030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17033 (__libc_ifunc_impl_list): Likewise.
17034 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17035 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17036 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17037 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17038 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17039 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17041 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17049 multiarch wcscpy for PPC32.
17050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17053 (__libc_ifunc_impl_list): Likewise.
17054 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17055 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17056 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17057 sysdeps/powerpc/power6/wcscpy.c.
17059 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17067 multiarch wcsrchr for PPC32.
17068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17071 (__libc_ifunc_impl_list): Likewise.
17072 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17073 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17074 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17075 sysdeps/powerpc/power6/wcsrchr.c.
17077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17083 multiarch wcschr for PPc32.
17084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17087 (__libc_ifunc_impl_list): Likewise.
17088 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17089 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17090 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17091 sysdeps/powerpc/power6/wcschr.c.
17093 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17094 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17096 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17097 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17098 file: multiarch strchr for PPC32.
17099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17102 (__libc_ifunc_impl_list): Likewise.
17104 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17106 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17108 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17110 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17111 multiarch strchrnul for PPC32.
17112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17114 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17115 (__libc_ifunc_impl_list): Likewise.
17117 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17119 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17120 multiarch strncasecmp for PPC32.
17121 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17123 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17124 multiarch strncasecmp_l for PPC32.
17125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17126 strncasecmp multiarch objects.
17127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17128 (__libc_ifunc_impl_list): Likewise.
17130 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17132 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17133 multiarch strncasecmp for PPC32.
17134 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17136 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17137 multiarch strcasecmp_l for PPC32.
17138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17141 (__libc_ifunc_impl_list): Likewise.
17143 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17145 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17148 multiarch strncmp for PPC32.
17149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17152 (__libc_ifunc_impl_list): Likewise.
17154 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17155 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17157 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17158 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17162 (__libc_ifunc_impl_list): Likewise.
17164 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17166 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17168 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17172 (__libc_ifunc_impl_list): Likewise.
17174 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17176 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17178 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17179 multiarch rawmemchr for PPC32.
17180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17183 (__libc_ifunc_impl_list): Likewise.
17185 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17187 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17189 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17190 file: memrchr multiarch for PPC32.
17191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17194 (__libc_ifunc_impl_list): Likewise.
17196 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17197 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17199 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17200 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17201 multiarch memchr for PPC32.
17202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17205 (__libc_ifunc_impl_list): Likewise.
17207 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17208 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17210 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17212 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17213 file: multiarch mempcpy for PPC32.
17214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17217 (__libc_ifunc_impl_list): Likewise.
17219 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17220 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17221 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17222 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17223 multiarch bzero for PPC32.
17224 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17226 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17228 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17229 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17230 file: multiarch memset for PPC32.
17231 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17233 memset multiarch objects.
17234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17235 (__libc_ifunc_impl_list): Likewise.
17237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17239 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17242 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17246 (__libc_ifunc_impl_list): Likewise.
17248 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17250 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17257 multiarch memcpy for PPC32.
17258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17261 (__libc_ifunc_impl_list): Likewise.
17263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17264 support multiarch for POWER/PPC32.
17265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17267 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17269 Implies file to make multiarch folder appers before the fpu and
17270 default folder for power4 configuration.
17272 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17274 * scripts/bench.pl: Append volatile keyword to type.
17276 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17278 * sysdeps/sh/sotruss-lib.c: New file.
17279 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17281 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17285 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17288 * math/w_tgamma.c: Include <errno.h>.
17289 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17290 * math/w_tgammaf.c: Include <errno.h>.
17291 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17292 * math/w_tgammal.c: Include <errno.h>.
17293 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17294 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17295 underflow. Add more tgamma tests.
17296 * math/auto-libm-test-out: Regenerated.
17297 * sysdeps/i386/fpu/libm-test-ulps: Update.
17298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17300 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17301 sin, sinh, tan, tanh, tgamma, y0 and y1.
17302 * math/auto-libm-test-out: Regenerated.
17303 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17304 (TEST_COND_x86): Likewise.
17305 (M_E2l): Remove macro.
17307 (M_2_SQRT_PIl): Likewise.
17308 (M_SQRT_PIl): Likewise.
17309 (M_1_DIV_El): Likewise.
17310 (log_test_data): Use AUTO_TESTS_f_f.
17311 (log10_test_data): Likewise.
17312 (log1p_test_data): Likewise.
17313 (log2_test_data): Likewise.
17314 (sin_test_data): Likewise.
17315 (sin_tonearest_test_data): Likewise.
17316 (sin_towardzero_test_data): Likewise.
17317 (sin_downward_test_data): Likewise.
17318 (sin_upward_test_data): Likewise.
17319 (sinh_test_data): Likewise.
17320 (sinh_tonearest_test_data): Likewise.
17321 (sinh_towardzero_test_data): Likewise.
17322 (sinh_downward_test_data): Likewise.
17323 (sinh_upward_test_data): Likewise.
17324 (tan_test_data): Likewise.
17325 (tan_tonearest_test_data): Likewise.
17326 (tan_towardzero_test_data): Likewise.
17327 (tan_downward_test_data): Likewise.
17328 (tan_upward_test_data): Likewise.
17329 (tanh_test_data): Likewise.
17330 (tgamma_test_data): Likewise.
17331 (y0_test_data): Likewise.
17332 (y1_test_data): Likewise.
17333 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17334 (special_real_inputs): Add pi/4.
17335 * sysdeps/i386/fpu/libm-test-ulps: Update.
17336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17338 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17340 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17341 "longjmp_target" static probes.
17342 (__longjmp): Rename to __longjmp_symbol.
17343 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17344 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17345 on which longjmp to generate.
17346 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17347 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17349 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17350 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17351 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17352 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17353 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17354 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17356 __longjmp_symbol based on which __longjmp to generate.
17357 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17359 (setjmp): Rename to setjmp_symbol.
17360 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17361 (_setjmp): Rename to _setjmp_symbol.
17362 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17363 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17364 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17365 which setjmp to generate.
17366 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17367 "longjmp_target" static probes.
17369 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17371 * benchtests/README: Add note about output arguments.
17372 * benchtests/bench-sincos.c: Remove file.
17373 * benchtests/sincos-inputs: New file.
17374 * scripts/bench.pl: Identify output arguments and define
17375 static variables for them.
17377 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17380 * Makefile (INSTALL): Add install-plain.texi as the primary
17382 * manual/install-plain.texi: New file.
17383 * manual/install.texi: Include node directive only for
17384 non-plaintext output.
17386 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17388 * stdlib/longlong.h: Update from GCC.
17392 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17393 * math/w_j0f.c (y0f): Likewise.
17394 * math/w_j0l.c (__y0l): Likewise.
17395 * math/w_j1.c (y1): Likewise.
17396 * math/w_j1f.c (y1f): Likewise.
17397 * math/w_j1l.c (__y1l): Likewise
17398 * math/w_jn.c (yn): Likewise.
17399 * math/w_jnf.c (ynf): Likewise.
17400 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17401 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17402 value for Bessel function domain errors outside _SVID_ mode.
17403 Adjust sign of return value for yn (negative integer, 0).
17404 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17405 by zero in return for negative x and set sign appropriately for
17407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17408 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17409 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17410 expectations in error cases.
17411 (y1_test_data): Likewise.
17412 (yn_test_data): Likewise.
17413 * sysdeps/i386/fpu/libm-test-ulps: Update.
17414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17416 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17418 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17419 "64" to "64-v1". Add "64-v2".
17420 (abi-64-options): Rename to ...
17421 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17422 (abi-64-condition): Rename to ...
17423 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17424 (abi-64-ld-soname): Rename to ...
17425 (abi-64-v1-ld-soname): ... this.
17426 (abi-64-v2-options): Define.
17427 (abi-64-v2-condition): Likewise.
17428 (abi-64-v2-ld-soname): Likewise.
17429 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17430 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17435 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17436 Alan Modra <amodra@gmail.com>
17438 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17439 New versions for use with the ELFv2 ABI.
17440 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17441 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17443 (struct La_ppc64v2_retval): Likewise.
17444 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17445 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17446 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17447 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17448 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17449 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17450 Do not save or restore CR.
17451 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17452 (_dl_profile_resolve): Do no save or restore CR. Support extended
17453 return values for ELFv2 ABI. Fix location of FPR return registers.
17454 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17455 updated values for _CALL_ELF == 2.
17456 (La_regs, La_retval, int_retval): Likewise.
17458 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17460 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17461 (FRAME_MIN_SIZE_PARM): Likewise.
17462 (FRAME_BACKCHAIN): Likewise.
17463 (FRAME_CR_SAVE): Likewise.
17464 (FRAME_LR_SAVE): Likewise.
17465 (FRAME_TOC_SAVE): Likewise.
17466 (FRAME_PARM_SAVE): Likewise.
17467 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17468 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17469 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17470 (call_mcount_parm_offset): New macro.
17471 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17472 (PROF): Use symbolic stack frame offsets.
17473 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17474 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17475 Redefine in terms of FRAME_MIN_SIZE.
17476 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17477 (_dl_profile_resolve): Likewise. Update comment.
17478 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17479 symbols stack frame offsets.
17480 (__sigsetjmp): Likewise.
17481 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17482 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17483 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17484 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17487 (FRAME_BACKCHAIN): Remove.
17488 (FRAME_CR_SAVE): Likewise.
17489 (FRAME_LR_SAVE): Likewise.
17490 (FRAME_COMPILER_DW): Likewise.
17491 (FRAME_LINKER_DW): Likewise.
17492 (FRAME_TOC_SAVE): Likewise.
17493 (FRAME_PARM_SAVE): Likewise.
17494 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17495 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17496 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17498 (CHECK_SP): Use symbolic stack frame offsets.
17499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17500 zone" instead of caller's parameter save area for temp storage.
17501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17502 Likewise. Also, use symbolic stack frame offsets.
17503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17504 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17505 our own stack frame instead of the caller's.
17506 (__socket): Use symbolic stack frame offsets.
17508 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17509 Alan Modra <amodra@gmail.com>
17511 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17513 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17514 (PPC64_LOCAL_ENTRY_OFFSET): Define.
17515 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17517 (elf_machine_fixup_plt): Call it.
17518 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17520 (elf_machine_rela): Update call to elf_machine_plt_conflict.
17521 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17522 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17523 r2 before calling target.
17525 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17526 Alan Modra <amodra@gmail.com>
17528 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17529 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17530 versions of macros to support ELFv2 ABI.
17531 (LOCALENTRY): New macro.
17532 (ENTRY, EALIGN): Use it.
17533 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17534 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17535 fall through into ENTRY entry point.
17536 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17537 Only define if _CALL_ELF != 2.
17539 (elf_machine_matches_host): Verify ABI version matches.
17540 (RTLD_START): Use LOCALENTRY.
17541 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17542 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17543 (PLT_ENTRY_WORDS): New macro.
17544 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17545 (elf_machine_runtime_setup): Support ELFv2 ABI.
17546 (elf_machine_fixup_plt): Likewise.
17547 (elf_machine_plt_conflict): Likewise.
17548 (resolve_ifunc): Likewise.
17549 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17550 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17553 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17555 (makecontext): Support ELFv2 ABI.
17556 * elf/elf.h (EF_PPC64_ABI): Define.
17558 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17560 * sysdeps/powerpc/powerpc64/sysdep.h
17561 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17562 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17563 (ENTRY) [ASSEMBLER]: ... but instead here ...
17564 (EALIGN) [ASSEMBLER]: ... and here.
17565 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17566 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17567 (ENTRY_2) [!ASSEMBLER]: Use it.
17568 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17569 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
17570 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17571 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17572 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17574 Use PPC64_LOAD_FUNCPTR.
17576 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17578 2013-12-04 Alan Modra <amodra@gmail.com>
17580 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17581 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17582 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17583 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17586 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17587 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17588 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17589 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17590 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17592 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17595 (__makecontext): Fix incorrect CFI when backtracing out of
17596 context created via makecontext.
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17598 (__setcontext): Fix incorrect CFI during switch to new context.
17599 (__novec_setcontext): Likewise.
17601 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17604 * time/strptime_l.c (__strptime_internal): Allow modifiers
17606 * time/tst-strptime.c (day_tests): Add testcase.
17608 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17610 * scripts/bench.pl: Skip over blank lines.
17612 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17615 * manual/time.texi (Calendar Time): Clarify what timezone functions
17618 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17622 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17624 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17626 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17627 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17628 * debug/memset_chk.c (__memset_chk): Likewise.
17629 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17630 * debug/strncpy_chk.c: Likewise.
17632 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17636 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17637 (__ieee754_exp): For possibly underflowing results, check size of
17638 result and force underflow exception if required.
17639 * math/auto-libm-test-in: Add more tests of exp.
17640 * math/auto-libm-test-out: Regenerated.
17641 * sysdeps/i386/fpu/libm-test-ulps: Update.
17642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17645 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17646 * math/w_exp2f.c (__exp2f): Likewise.
17647 * math/w_exp2l.c (__exp2l): Likewise.
17648 * math/auto-libm-test-in: Do not allow missing errno on exp2
17650 * math/auto-libm-test-out: Regenerated.
17652 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
17655 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17656 handle filename validation.
17657 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17660 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17663 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17664 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17665 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17667 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17668 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17669 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17671 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17672 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17673 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17674 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17675 Add more erfc tests.
17676 * math/auto-libm-test-out: Regenerated.
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17681 exp2, expm1, j0 and j1.
17682 * math/auto-libm-test-out: Regenerated.
17683 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17684 (erfc_test_data): Likewise.
17685 (exp_test_data): Likewise.
17686 (exp_tonearest_test_data): Likewise.
17687 (exp_towardzero_test_data): Likewise.
17688 (exp_downward_test_data): Likewise.
17689 (exp_upward_test_data): Likewise.
17690 (exp10_test_data): Likewise.
17691 (exp2_test_data): Likewise.
17692 (expm1_test_data): Likewise.
17693 (j0_test_data): Likewise.
17694 (j1_test_data): Likewise.
17695 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17696 (input_flag_type): Add flag_xfail_rounding.
17697 (input_flags): Add xfail-rounding.
17698 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17699 (output_for_one_input_case): Handle flag_xfail_rounding.
17700 * sysdeps/i386/fpu/libm-test-ulps: Update.
17701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17703 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17706 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17709 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17712 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17713 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17714 (STAP_PROBE0): New macro.
17715 (STAP_PROBE1): Likewise.
17716 (STAP_PROBE2): Likewise.
17717 (STAP_PROBE3): Likewise.
17718 (STAP_PROBE4): Likewise.
17720 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
17722 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17724 2013-12-02 Steve Ellcey <sellcey@mips.com>
17726 * benchtests/Makefile (bench): Add sqrt.
17727 (LDLIBS-bench-sqrt): New.
17728 * benchtests/sqrt-input: New.
17730 2013-12-02 Pavel Simerda <psimerda@redhat.com>
17732 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17733 (GAIH_EAI): Likewise.
17734 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17735 (gaih_inet): Likewise.
17736 (getaddrinfo): Don't use GAIH_EAI.
17738 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17739 (struct gaih): Remove definition.
17741 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17743 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17744 Use HERRNOP directly.
17746 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17750 2013-11-30 Joseph Myers <joseph@codesourcery.com>
17752 * math/gen-auto-libm-tests.c (test_functions): Add more
17753 single-argument functions.
17754 (special_fill_pi_2): New function.
17755 (special_fill_minus_pi_2): Likewise.
17756 (special_fill_pi_6): Likewise.
17757 (special_fill_minus_pi_6): Likewise.
17758 (special_fill_pi_3): Likewise.
17759 (special_fill_2pi_3): Likewise.
17760 (special_fill_e): Likewise.
17761 (special_fill_1_e): Likewise.
17762 (special_fill_e_minus_1): Likewise.
17763 (special_real_inputs): Add more special inputs.
17764 (output_for_one_input_case): Do not require ERANGE on underflow to
17765 zero if round-to-nearest result does not underflow to zero, unless
17766 exact results required.
17767 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17768 atan, atanh, cbrt, cos and cosh.
17769 * math/auto-libm-test-out: Regenerated.
17770 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17771 (acos_tonearest_test_data): Likewise.
17772 (acos_towardzero_test_data): Likewise.
17773 (acos_downward_test_data): Likewise.
17774 (acos_upward_test_data): Likewise.
17775 (acosh_test_data): Likewise.
17776 (asin_test_data): Likewise.
17777 (asin_tonearest_test_data): Likewise.
17778 (asin_towardzero_test_data): Likewise.
17779 (asin_upward_test_data): Likewise.
17780 (asinh_test_data): Likewise.
17781 (atan_test_data): Likewise.
17782 (atanh_test_data): Likewise.
17783 (cbrt_test_data): Likewise.
17784 (cos_test_data): Likewise.
17785 (cos_tonearest_test_data): Likewise.
17786 (cos_towardzero_test_data): Likewise.
17787 (cos_downward_test_data): Likewise.
17788 (cos_upward_test_data): Likewise.
17789 (cosh_test_data): Likewise.
17790 (cosh_tonearest_test_data): Likewise.
17791 (cosh_towardzero_test_data): Likewise.
17792 (cosh_downward_test_data): Likewise.
17793 (cosh_upward_test_data): Likewise.
17794 * sysdeps/i386/fpu/libm-test-ulps: Update.
17795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17797 2013-11-29 Joseph Myers <joseph@codesourcery.com>
17800 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17801 * math/w_exp10f.c (__exp10f): Likewise.
17802 * math/w_exp10l.c (__exp10l): Likewise.
17803 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17804 errno settings in existing tests.
17807 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17808 precision control set to double precision.
17809 * sysdeps/i386/fpu/w_sqrt.c: New file.
17810 * math/auto-libm-test-in: Add more tests.
17811 * math/auto-libm-test-out: Update.
17813 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17814 (sqrt_test_tonearest): New function.
17815 (sqrt_towardzero_test_data): New variable.
17816 (sqrt_test_towardzero): New function.
17817 (sqrt_downward_test_data): New variable.
17818 (sqrt_test_downward): New function.
17819 (sqrt_upward_test_data): New variable.
17820 (sqrt_test_upward): New function.
17821 (main): Call the new functions.
17823 * math/gen-auto-libm-tests.c: New file.
17824 * math/auto-libm-test-in: Likewise.
17825 * math/auto-libm-test-out: New generated file.
17826 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17828 (%beautify): Add generated representations of zero.
17829 (top level): Set $auto_input and call parse_auto_input.
17830 (beautify): Remove trailing "f" from hex float constants.
17831 (parse_args): Handle XFAIL_TEST.
17832 (convert_condition): New function.
17833 (or_value): Likewise.
17834 (or_cond_value): Likewise.
17835 (generate_testfile): Handle AUTO_TESTS_* lines.
17836 (parse_auto_input): New function.
17837 * math/libm-test.inc (XFAIL_TEST): New macro.
17838 (ERRNO_UNCHANGED): Update value.
17839 (ERRNO_EDOM): Likewise.
17840 (ERRNO_ERANGE): Likewise.
17841 (IGNORE_RESULT): Likewise.
17842 (TEST_COND_flt_32): New macro.
17843 (TEST_COND_dbl_64): Likewise.
17844 (TEST_COND_ldbl_96_intel): Likewise.
17845 (TEST_COND_ldbl_96_m68k): Likewise.
17846 (TEST_COND_ldbl_128): Likewise.
17847 (TEST_COND_ldbl_128ibm): Likewise.
17848 (TEST_COND_long32): Likewise.
17849 (TEST_COND_long64): Likewise.
17850 (TEST_COND_before_rounding): Likewise.
17851 (TEST_COND_after_rounding): Likewise.
17852 (enable_test): Handle XFAIL_TEST flag.
17853 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17854 with finite results.
17855 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17856 auto-libm-test-out.
17858 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17859 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17862 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17863 __tls_get_addr_internal instead of __tls_get_offset in order to
17864 avoid GOT pointer dependency. Make rtld export
17865 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17866 __tls_get_addr since we are a __tls_get_offset platform.
17867 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17868 GOT pointer being set up before.
17869 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17871 2013-11-28 Joseph Myers <joseph@codesourcery.com>
17873 * manual/math.texi (Errors in Math Functions): Document accuracy
17877 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17878 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17879 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17880 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17881 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17883 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17884 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17886 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17887 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17889 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17890 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17891 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17892 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17894 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17895 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17896 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17897 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17898 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17900 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17902 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17904 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17905 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17906 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17907 atomic-feupdateenv and flt-rounds.
17908 * sysdeps/powerpc/nofpu/Versions (libc): Add
17909 __atomic_feholdexcept, __atomic_feclearexcept,
17910 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17911 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17912 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17913 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17914 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17919 * manual/arith.texi (FP Exceptions): Document that exceptions may
17920 not be raised when matherr is used.
17921 (Math Error Reporting): Document overflow in directed rounding
17922 modes. Document that errno may not be set when finite values are
17923 returned on overflow. Document intent to set errno on underflow
17924 only for underflow to zero.
17927 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17928 round-to-nearest then adjust result for other rounding modes.
17929 * include/fenv.h (fegetround): Use libm_hidden_proto.
17930 * math/fegetround.c (fegetround): Use libm_hidden_def.
17931 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17932 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17933 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17934 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17936 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17937 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17938 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17939 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17941 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17944 * nss/Versions (libnss_files): Add
17945 _nss_files_gethostbyname3_r.
17946 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17948 (HOST_DB_LOOKUP): Remove macro.
17949 (_nss_files_gethostbyname_r): Implement function without the
17950 HOST_DB_LOOKUP macro.
17951 (_nss_files_gethostbyname2_r): Likewise.
17953 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
17955 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17957 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
17959 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17960 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17963 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17965 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17966 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17967 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17968 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17969 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17970 __fe_nomask_env_priv and attribute_hidden.
17971 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17972 (libc_feupdateenv_test_ppc): Likewise.
17973 (libc_feresetround_ppc): Likewise.
17974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17975 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17976 compat_symbol macro.
17977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17978 (__fe_nomask_env): Likewise.
17979 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17981 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17983 * string/Makefile: Remove ifunc tests.
17984 * string/test-string.h: Define TEST_IFUNC.
17985 * string/test-bcopy-ifunc.c: Remove.
17986 * string/test-bzero-ifunc.c: Likewise.
17987 * string/test-memccpy-ifunc.c: Likewise.
17988 * string/test-memchr-ifunc.c: Likewise.
17989 * string/test-memcmp-ifunc.c: Likewise.
17990 * string/test-memcpy-ifunc.c: Likewise.
17991 * string/test-memmem-ifunc.c: Likewise.
17992 * string/test-memmove-ifunc.c: Likewise.
17993 * string/test-mempcpy-ifunc.c: Likewise.
17994 * string/test-memrchr-ifunc.c: Likewise.
17995 * string/test-memset-ifunc.c: Likewise.
17996 * string/test-rawmemchr-ifunc.c: Likewise.
17997 * string/test-stpcpy-ifunc.c: Likewise.
17998 * string/test-stpncpy-ifunc.c: Likewise.
17999 * string/test-strcasecmp-ifunc.c: Likewise.
18000 * string/test-strcasestr-ifunc.c: Likewise.
18001 * string/test-strcat-ifunc.c: Likewise.
18002 * string/test-strchr-ifunc.c: Likewise.
18003 * string/test-strchrnul-ifunc.c: Likewise.
18004 * string/test-strcmp-ifunc.c: Likewise.
18005 * string/test-strcpy-ifunc.c: Likewise.
18006 * string/test-strcspn-ifunc.c: Likewise.
18007 * string/test-strlen-ifunc.c: Likewise.
18008 * string/test-strncasecmp-ifunc.c: Likewise.
18009 * string/test-strncat-ifunc.c: Likewise.
18010 * string/test-strncmp-ifunc.c: Likewise.
18011 * string/test-strncpy-ifunc.c: Likewise.
18012 * string/test-strnlen-ifunc.c: Likewise.
18013 * string/test-strpbrk-ifunc.c: Likewise.
18014 * string/test-strrchr-ifunc.c: Likewise.
18015 * string/test-strspn-ifunc.c: Likewise.
18016 * string/test-strstr-ifunc.c: Likewise.
18018 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18020 * benchtests/Makefile: Remove ifunc tests.
18021 * benchtests/bench-string.h: Define TEST_IFUNC.
18022 * benchtests/bench-bcopy-ifunc.c: Remove.
18023 * benchtests/bench-bzero-ifunc.c: Likewise.
18024 * benchtests/bench-memccpy-ifunc.c: Likewise.
18025 * benchtests/bench-memchr-ifunc.c: Likewise.
18026 * benchtests/bench-memcmp-ifunc.c: Likewise.
18027 * benchtests/bench-memcpy-ifunc.c: Likewise.
18028 * benchtests/bench-memmem-ifunc.c: Likewise.
18029 * benchtests/bench-memmove-ifunc.c: Likewise.
18030 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18031 * benchtests/bench-memrchr-ifunc.c: Likewise.
18032 * benchtests/bench-memset-ifunc.c: Likewise.
18033 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18034 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18035 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18036 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18037 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18038 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18039 * benchtests/bench-strcat-ifunc.c: Likewise.
18040 * benchtests/bench-strchr-ifunc.c: Likewise.
18041 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18042 * benchtests/bench-strcmp-ifunc.c: Likewise.
18043 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18044 * benchtests/bench-strcpy-ifunc.c: Likewise.
18045 * benchtests/bench-strcspn-ifunc.c: Likewise.
18046 * benchtests/bench-strlen-ifunc.c: Likewise.
18047 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18048 * benchtests/bench-strncat-ifunc.c: Likewise.
18049 * benchtests/bench-strncmp-ifunc.c: Likewise.
18050 * benchtests/bench-strncpy-ifunc.c: Likewise.
18051 * benchtests/bench-strnlen-ifunc.c: Likewise.
18052 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18053 * benchtests/bench-strrchr-ifunc.c: Likewise.
18054 * benchtests/bench-strsep-ifunc.c: Likewise.
18055 * benchtests/bench-strspn-ifunc.c: Likewise.
18056 * benchtests/bench-strstr-ifunc.c: Likewise.
18058 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18060 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18062 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18064 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18065 * rt/aio.h: Likewise.
18066 * sysdeps/gnu/bits/utmp.h: Likewise.
18067 * sysdeps/gnu/bits/utmpx.h: Likewise.
18068 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18069 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18070 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18071 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18072 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18073 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18074 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18075 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18076 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18077 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18078 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18079 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18080 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18083 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18084 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18085 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18087 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18088 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18089 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18090 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18091 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18092 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18094 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18095 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18096 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18097 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18098 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18099 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18100 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18101 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18102 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18103 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18104 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18105 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18106 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18107 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18108 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18109 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18111 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18114 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18115 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18117 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18119 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18120 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18123 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18126 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18127 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18128 (__fesetround): Remove define.
18129 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18130 rounding and exceptions handling.
18131 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18132 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18133 (__fe_nomask_env): Likewise.
18134 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18135 __fegetround instead of fegetround.
18136 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18137 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18139 2013-11-21 Roland McGrath <roland@hack.frob.com>
18141 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18144 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18146 2013-11-21 Meador Inge <meadori@codesourcery.com>
18149 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18150 (encrypt_r): Likewise.
18151 * malloc/obstack.h (obstack_free): Likewise.
18152 * posix/unistd.h (encrypt): Likewise.
18154 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18156 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18157 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18158 DL_CALL_DT_FINI() that call the functions directly.
18159 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18160 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18161 * elf/dl-fini.c: Likewise.
18163 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18165 * malloc/hooks.c (memalign_check): Add alignment rounding.
18166 * malloc/malloc.c (_mid_memalign): New function.
18167 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18168 Implement by calling _mid_memalign.
18169 * manual/probes.texi (Memory Allocation Probes): Remove
18170 memory_valloc_retry and memory_pvalloc_retry.
18172 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18174 * locale/programs/locarchive.c (open_archive): Add const
18175 qualifier to ARCHIVEFNAME and copy default fname to
18179 * libio/tst-widetext.input: Rename Oriya to Odia.
18180 * locale/iso-639.def: Likewise.
18182 * manual/probes.texi (Mathematical Function Probes): Add
18183 documentation for sin, cos, asin and acos probes.
18184 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18185 (__sin32): Add slowasin probe.
18186 (__cos32): Add slowacos probe.
18187 (__mpsin): Add slowsin probe.
18188 (__mpcos): Add slowcos probe.
18190 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18193 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18194 thread-local __sim_exceptions_thread and global
18195 __sim_exceptions_global.
18196 (__sim_disabled_exceptions): Change to thread-local
18197 __sim_disabled_exceptions_thread and global
18198 __sim_disabled_exceptions_global.
18199 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18200 and global __sim_round_mode_global.
18201 (__simulate_exceptions): Use thread-local floating-point state and
18202 set global state from it as needed.
18203 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18204 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18205 __sim_round_mode_thread.
18206 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18207 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18208 and global __sim_exceptions_global.
18209 (__sim_disabled_exceptions): Change to thread-local
18210 __sim_disabled_exceptions_thread and global
18211 __sim_disabled_exceptions_global.
18212 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18213 and global __sim_round_mode_global.
18214 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18215 (SIM_SET_GLOBAL): Likewise.
18216 * sysdeps/powerpc/soft-fp/sfp-machine.h
18217 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18218 __sim_round_mode_thread.
18219 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18220 __sim_disabled_exceptions_thread.
18221 (__sim_exceptions): Change to __sim_exceptions_thread.
18222 (__sim_disabled_exceptions): Change to
18223 __sim_disabled_exceptions_thread.
18224 (__sim_round_mode): Change to __sim_round_mode_thread.
18225 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18226 thread-local floating-point state and set global state from it as
18228 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18229 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18230 (__sim_disabled_exceptions): Remove extern declaration.
18231 (feenableexcept): Use thread-local floating-point state and set
18232 global state from it as needed.
18233 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18234 extern declaration.
18235 (__sim_disabled_exceptions): Likewise.
18236 (__sim_round_mode): Likewise.
18237 (__fegetenv): Use thread-local floating-point state.
18238 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18239 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18240 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18241 floating-point state and set global state from it as needed.
18242 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18243 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18244 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18246 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18247 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18249 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18250 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18251 Use __sim_round_mode_thread.
18252 * math/test-fenv-tls.c: New file.
18253 * math/Makefile (tests): Add test-fenv-tls.
18254 ($(objpfx)test-fenv-tls): Depend on
18255 $(common-objpfx)nptl/libpthread.so.
18257 2013-11-19 Andreas Schwab <schwab@suse.de>
18259 * locale/programs/locale.c (show_info): Decode wordarray elements.
18260 * locale/categories.def (LC_MONETARY): Add element for
18261 _NL_MONETARY_CRNCYSTR.
18262 * locale/C-monetary.c (conversion_rate): New variable.
18263 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18266 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18268 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18269 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18271 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18273 * elf/Makefile (tst-auxv): New test.
18274 * elf/tst-auxv.c: New
18275 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18277 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18279 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18280 (hidden_proto): Caller changed.
18281 (hidden_tls_proto): New macro.
18282 (libc_hidden_tls_proto): Likewise.
18283 (rtld_hidden_tls_proto): Likewise.
18284 (libm_hidden_tls_proto): Likewise.
18285 (libresolv_hidden_tls_proto): Likewise.
18286 (librt_hidden_tls_proto): Likewise.
18287 (libdl_hidden_tls_proto): Likewise.
18288 (libnss_files_hidden_tls_proto): Likewise.
18289 (libnsl_hidden_tls_proto): Likewise.
18290 (libnss_nisplus_hidden_tls_proto): Likewise.
18291 (libutil_hidden_tls_proto): Likewise.
18293 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18296 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18297 (decompose_rpath): Defer expansion to fillin_rpath.
18298 (_dl_init_paths): Pass linkmap to fillin_rpath.
18300 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18302 * benchtests/Makefile: Add strsep.
18303 * benchtests/bench-strsep.c: New file: strsep benchtest.
18304 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18306 2013-11-18 Andreas Schwab <schwab@suse.de>
18308 * locale/programs/locale.c (show_info) [case byte]: Check for
18309 '\377' instead of '\177'.
18310 * locale/C-monetary.c (not_available): Always use "\377".
18311 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18312 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18313 detect unavailable sign_posn locale elements.
18314 * locale/localeconv.c (__localeconv): For grouping and
18315 mon_grouping handle "\177" and "\377" like no grouping.
18316 (INT_ELEM): New macro. Use it to set all numeric members.
18317 * locale/programs/ld-monetary.c (monetary_read)
18318 <tok_mon_grouping>: Normalize single -1 to the empty string.
18319 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18322 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18325 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18326 when we match (nil).
18327 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18329 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18331 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18332 (NO_TEST_INLINE): Update value.
18333 (ERRNO_UNCHANGED): Likewise.
18334 (ERRNO_EDOM): Likewise.
18335 (ERRNO_ERANGE): Likewise.
18336 (IGNORE_RESULT): Likewise.
18337 (check_float_internal): Check signs of NaN results if
18338 TEST_NAN_SIGN used.
18339 (check_complex): Pass TEST_NAN_SIGN flag through to second
18340 check_float_internal call.
18341 (copysign_test_data): Add tests with quiet NaNs as second
18342 argument. Use TEST_NAN_SIGN.
18343 (fabs_test_data): Add test of negative quiet NaN argument. Use
18345 (signbit_test_data): Add tests of quiet NaN argument.
18346 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18348 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18350 (parse_args): Handle function results specified as IGNORE.
18351 * math/libm-test.inc (IGNORE_RESULT): New macro.
18352 (check_float_internal): Do not check numerical result if flag
18354 (check_complex): Pass through IGNORE_RESULT to second
18355 check_float_internal call.
18356 (check_int): Do not check numerical result if flag IGNORE_RESULT
18358 (check_long): Likewise.
18359 (check_bool): Likewise.
18360 (check_longlong): Likewise.
18361 (lrint_test_data): Add tests of infinite and NaN arguments.
18362 (lrint_tonearest_test_data): Likewise.
18363 (lrint_towardzero_test_data): Likewise.
18364 (lrint_downward_test_data): Likewise.
18365 (lrint_upward_test_data): Likewise.
18366 (llrint_test_data): Likewise.
18367 (llrint_tonearest_test_data): Likewise.
18368 (llrint_towardzero_test_data): Likewise.
18369 (llrint_downward_test_data): Likewise.
18370 (llrint_upward_test_data): Likewise.
18371 (lround_test_data): Likewise.
18372 (llround_test_data): Likewise.
18374 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18375 (ERRNO_UNCHANGED): Update value.
18376 (ERRNO_EDOM): Likewise.
18377 (ERRNO_ERANGE): Likewise.
18378 (NO_TEST_INLINE_FLOAT): New macro.
18379 (NO_TEST_INLINE_DOUBLE): Likewise.
18380 (enable_test): New function.
18381 (RUN_TEST_f_f): Check enable_test before running test.
18382 (RUN_TEST_2_f): Likewise.
18383 (RUN_TEST_fff_f): Likewise.
18384 (RUN_TEST_c_f): Likewise.
18385 (RUN_TEST_f_f1): Likewise.
18386 (RUN_TEST_fF_f1): Likewise.
18387 (RUN_TEST_fI_f1): Likewise.
18388 (RUN_TEST_ffI_f1): Likewise.
18389 (RUN_TEST_c_c): Likewise.
18390 (RUN_TEST_cc_c): Likewise.
18391 (RUN_TEST_f_i): Likewise.
18392 (RUN_TEST_f_i_tg): Likewise.
18393 (RUN_TEST_ff_i_tg): Likewise.
18394 (RUN_TEST_f_b): Likewise.
18395 (RUN_TEST_f_b_tg): Likewise.
18396 (RUN_TEST_f_l): Likewise.
18397 (RUN_TEST_f_L): Likewise.
18398 (RUN_TEST_fFF_11): Likewise.
18399 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18401 (cosh_test_data): Likewise.
18402 (exp_test_data): Likewise.
18403 (expm1_test_data): Likewise.
18404 (hypot_test_data): Likewise.
18405 (pow_test_data): Likewise.
18406 (sinh_test_data): Likewise.
18407 (tanh_test_data): Likewise.
18408 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18411 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18412 tests with quiet NaN input and output.
18413 (acosh_test_data): Likewise.
18414 (asin_test_data): Likewise.
18415 (asinh_test_data): Likewise.
18416 (atan_test_data): Likewise.
18417 (atanh_test_data): Likewise.
18418 (atan2_test_data): Likewise.
18419 (cbrt_test_data): Likewise.
18420 (cos_test_data): Likewise.
18421 (cosh_test_data): Likewise.
18422 (erf_test_data): Likewise.
18423 (erfc_test_data): Likewise.
18424 (exp_test_data): Likewise.
18425 (exp10_test_data): Likewise.
18426 (exp2_test_data): Likewise.
18427 (expm1_test_data): Likewise.
18428 (hypot_test_data): Likewise.
18429 (j0_test_data): Likewise.
18430 (j1_test_data): Likewise.
18431 (jn_test_data): Likewise.
18432 (lgamma_test_data): Likewise.
18433 (log_test_data): Likewise.
18434 (log10_test_data): Likewise.
18435 (log1p_test_data): Likewise.
18436 (log2_test_data): Likewise.
18437 (pow_test_data): Likewise.
18438 (scalb_test_data): Likewise.
18439 (sin_test_data): Likewise.
18440 (sincos_test_data): Likewise.
18441 (sinh_test_data): Likewise.
18442 (tan_test_data): Likewise.
18443 (tanh_test_data): Likewise.
18444 (tgamma_test_data): Likewise.
18445 (y0_test_data): Likewise.
18446 (y1_test_data): Likewise.
18447 (yn_test_data): Likewise.
18450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18451 argument being NaN and avoid computations with second argument in
18453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18454 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18455 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18457 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18459 * locale/iso-639.def: Add Chitwani Tharu (the).
18461 2013-11-14 Andreas Schwab <schwab@suse.de>
18463 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18464 word instead of empty string.
18466 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18469 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18471 (__fe_nomask_env): Likewise.
18473 2013-11-13 Steve Ellcey <sellcey@mips.com>
18475 * benchtests/bench-timing.h: Include time.h.
18477 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18480 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18482 * sysdeps/unix/sysv/linux/configure: Regenerated.
18484 2013-11-13 Joseph Myers <joseph@codesourcery.com>
18487 * stdlib/strtod_l.c (round_and_return): Do not consider
18488 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18489 exponent one less than half the least subnormal exponent.
18490 * stdlib/test-strtod-round-data: Add more tests.
18491 * stdlib/tst-strtod-round.c (tests): Regenerated.
18493 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18496 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18497 (__fe_mask_env): Likewise.
18498 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18499 libm_hidden_proto and add function prototype.
18500 (__fe_mask_env): Add function prototype.
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18502 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18504 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18506 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18508 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18510 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18511 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18513 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18515 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18516 of htab_find_slot().
18518 2013-11-11 David S. Miller <davem@davemloft.net>
18521 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18522 symbol in the non-vis3 case in static builds.
18523 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18524 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18525 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18526 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18528 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18531 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18534 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18536 * benchtests/Makefile: Add bench-strtod.
18537 * benchtests/bench-strtod.c: New file: strtod benchtest
18539 2013-11-11 Andreas Schwab <schwab@suse.de>
18542 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18543 terminating NUL in key length.
18545 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18547 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18548 Add artificial ODP entry for vDSO symbol for PPC64.
18549 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18550 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18552 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18555 * nss/getent.c (services_keys): Recognize services starting with digit.
18557 2013-11-06 David S. Miller <davem@davemloft.net>
18560 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18561 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18563 2013-11-06 Will Newton <will.newton@linaro.org>
18565 * manual/memory.texi (Malloc Examples): Remove register
18566 keyword from examples.
18568 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
18570 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18572 2013-11-04 Joseph Myers <joseph@codesourcery.com>
18575 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18576 depending on [__GCC_IEC_559 > 0].
18577 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18578 depending on [__GCC_IEC_559_COMPLEX > 0].
18580 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
18582 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18585 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
18587 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18589 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
18592 * malloc/malloc (malloc_info): Do not handle first bin as
18595 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
18597 * locale/iso-639.def: Add Central Nahuatl (nhn).
18599 2013-11-01 Bruno Haible <bruno@clisp.org>
18602 * manual/math.texi (BSD Random): Specify range upper bound as
18605 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
18607 * locale/iso-639.def: Add Meadow Mari (mhr).
18609 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
18611 [BZ #14752], [BZ #15763]
18612 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18614 * rt/tst_shm.c: Add test for escaping directory.
18616 2013-10-31 Andreas Schwab <schwab@suse.de>
18619 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18620 followed by 'x' as part of digit sequence.
18621 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18623 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18626 * configure.ac: allow GNU Make 4.0 and greater.
18627 * configure: Regenerated.
18629 2013-10-30 Will Newton <will.newton@linaro.org>
18632 * malloc/hooks.c (memalign_check): Limit alignment to the
18633 maximum representable power of two.
18634 * malloc/malloc.c (__libc_memalign): Likewise.
18635 * malloc/tst-memalign.c (do_test): Add test for very
18636 large alignment values.
18637 * malloc/tst-posix_memalign.c (do_test): Likewise.
18639 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18642 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18643 (munmap_chunk): Likewise.
18644 (mremap_chunk): Likewise.
18646 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18649 * stdlib/div.c (div): Remove obsolete code.
18650 * stdlib/ldiv.c (ldiv): Likewise.
18651 * stdlib/lldiv.c (lldiv): Likewise.
18653 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18656 * nss/nss_files/files-XXX.c (get_contents_ret): New
18658 (get_contents): New function.
18659 (internal_getent): Use it. Expand size of LINEBUFLEN.
18661 2013-10-30 Mike Frysinger <vapier@gentoo.org>
18663 * configure.in: Moved to ...
18664 * configure.ac: ... here. Change reference to configure.in
18666 * sysdeps/arm/preconfigure.ac: ... here.
18667 configure.in to configure.ac.
18668 * sysdeps/gnu/configure.in: Moved to ...
18669 * sysdeps/gnu/configure.ac: ... here.
18670 * sysdeps/i386/configure.in: Moved to ...
18671 * sysdeps/i386/configure.ac: ... here.
18672 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18673 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18674 * sysdeps/mach/configure.in: Moved to ...
18675 * sysdeps/mach/configure.ac: ... here.
18676 * sysdeps/mach/hurd/configure.in: Moved to ...
18677 * sysdeps/mach/hurd/configure.ac: ... here.
18678 * sysdeps/powerpc/configure.in: Moved to ...
18679 * sysdeps/powerpc/configure.ac: ... here.
18680 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18681 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18682 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18683 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18684 * sysdeps/s390/s390-32/configure.in: Moved to ...
18685 * sysdeps/s390/s390-32/configure.ac: ... here.
18686 * sysdeps/s390/s390-64/configure.in: Moved to ...
18687 * sysdeps/s390/s390-64/configure.ac: ... here.
18688 * sysdeps/sh/configure.in: Moved to ...
18689 * sysdeps/sh/configure.ac: ... here.
18690 * sysdeps/sparc/configure.in: Moved to ...
18691 * sysdeps/sparc/configure.ac: ... here.
18692 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18693 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18694 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18695 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18696 * sysdeps/x86_64/configure.in: Moved to ...
18697 * sysdeps/x86_64/configure.ac: ... here.
18698 * sysdeps/x86_64/preconfigure.in: Moved to ...
18699 * sysdeps/x86_64/preconfigure.ac: ... here.
18700 * aclocal.m4: Change reference to configure.in to configure.ac.
18701 * config.h.in: Likewise.
18702 * manual/install.texi: Likewise.
18703 * manual/maint.texi: Likewise.
18704 * Makefile: Likewise.
18705 * malloc/Makefile: Likewise.
18706 * nscd/Makefile: Likewise.
18707 * Makeconfig: Change reference to configure.in and
18708 preconfigure.in to configure.ac and preconfigure.ac
18710 * INSTALL: Regenerated.
18711 * configure: Likewise.
18712 * sysdeps/gnu/configure: Likewise.
18713 * sysdeps/i386/configure: Likewise.
18714 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18715 * sysdeps/mach/configure: Likewise.
18716 * sysdeps/mach/hurd/configure: Likewise.
18717 * sysdeps/powerpc/configure: Likewise.
18718 * sysdeps/powerpc/powerpc32/configure: Likewise.
18719 * sysdeps/powerpc/powerpc64/configure: Likewise.
18720 * sysdeps/s390/s390-32/configure: Likewise.
18721 * sysdeps/s390/s390-64/configure: Likewise.
18722 * sysdeps/sh/configure: Likewise.
18723 * sysdeps/sparc/configure: Likewise.
18724 * sysdeps/unix/sysv/linux/configure: Likewise.
18725 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18726 * sysdeps/x86_64/configure: Likewise.
18727 * sysdeps/x86_64/preconfigure: Likewise.
18729 2013-10-29 Andreas Schwab <schwab@suse.de>
18731 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18733 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18735 * benchtests/pow-inputs: Add new inputs.
18737 * benchtests/exp-inputs: Add new inputs.
18739 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18740 conditional check for return value.
18741 (__cos32): Likewise.
18743 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18745 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18746 to provide a boost for large inputs with word alignment.
18747 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18748 implementation based on optimized PPC64 strcpy.
18749 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18750 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18751 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18752 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18754 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18757 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18759 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18762 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18763 * time/tst-strptime.c (day_tests): Add testcase.
18765 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18768 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18770 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18773 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18774 MAP_FAILED on error.
18776 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18779 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18780 heap for large requests.
18782 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18785 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18786 result if the result has no associated interface.
18787 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18788 interface for all 127.X.Y.Z addresses.
18790 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
18792 * locale/iso-639.def: Add Ligurian (lij)
18794 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
18797 * sunrpc/rpc_main.c: Document rpcgen -5.
18799 2013-10-19 Michael Stahl <mstahl@redhat.com>
18801 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18803 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18806 * posix/glob.c: Match only directories when trailing slash is present.
18807 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18808 (main): Add testcase.
18810 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18813 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18815 2013-10-18 Carlos O'Donell <carlos@redhat.com>
18817 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18818 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18819 AUTH_DES and cindex for FIPS 140-2.
18820 (DES Encryption): Add cindex FIPS 46-3.
18822 * locale/locarchive.h (struct locarhandle): Add fname.
18823 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18824 if an optional argument was specified to --list-archive,
18826 * locale/programs/locarchive.c (show_archive_content): Take new
18827 argument fname and pass it via ah.fname to open_archive.
18828 * locale/programs/localedef.h: Update decl.
18829 (open_archive): If AH->fname is non-null, open that file
18830 rather than the default file name, and don't ignore ENOENT.
18831 (create_archive): Set AH.fname to NULL.
18832 (delete_locales_from_archive): Likewise.
18833 (add_locales_to_archive): Likewise.
18834 * locale/programs/locfile.c (write_all_categories): Likewise.
18836 2013-10-18 Joseph Myers <joseph@codesourcery.com>
18837 Aldy Hernandez <aldyh@redhat.com>
18839 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18840 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18841 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18842 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18843 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18844 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18845 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18846 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18847 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18848 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18849 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18850 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18851 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18852 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18853 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18855 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18857 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18859 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18861 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18862 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18864 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18865 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18866 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18867 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18869 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18870 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18871 * sysdeps/powerpc/preconfigure: Likewise.
18872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18874 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18875 Replace contents of file by #include of <fenv_libc.h>.
18876 * sysdeps/powerpc/soft-fp/sfp-machine.h
18877 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18879 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18880 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18881 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18882 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18883 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18884 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18886 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18887 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18888 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18889 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18892 Allow copysignl PLT reference to be missing.
18894 2013-10-18 Richard Sandiford <richard@codesourcery.com>
18895 Joseph Myers <joseph@codesourcery.com
18898 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18900 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18902 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18904 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18905 * elf/tst-tls1.c: Likewise.
18906 * elf/tst-tls10.h: Likewise.
18907 * elf/tst-tls14.c: Likewise.
18908 * elf/tst-tls2.c: Likewise.
18909 * elf/tst-tls3.c: Likewise.
18910 * elf/tst-tls4.c: Likewise.
18911 * elf/tst-tls5.c: Likewise.
18912 * elf/tst-tls6.c: Likewise.
18913 * elf/tst-tls7.c: Likewise.
18914 * elf/tst-tls8.c: Likewise.
18915 * elf/tst-tls9.c: Likewise.
18916 * elf/tst-tlsmod1.c: Likewise.
18917 * elf/tst-tlsmod13.c: Likewise.
18918 * elf/tst-tlsmod13a.c: Likewise.
18919 * elf/tst-tlsmod14a.c: Likewise.
18920 * elf/tst-tlsmod16a.c: Likewise.
18921 * elf/tst-tlsmod16b.c: Likewise.
18922 * elf/tst-tlsmod2.c: Likewise.
18923 * elf/tst-tlsmod3.c: Likewise.
18924 * elf/tst-tlsmod4.c: Likewise.
18925 * elf/tst-tlsmod5.c: Likewise.
18926 * elf/tst-tlsmod6.c: Likewise.
18928 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
18931 * malloc/malloc.c: remove checks for statistics.
18933 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18936 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18937 * inet/tst-network.c: Add testcase.
18939 2013-10-17 Andreas Schwab <schwab@suse.de>
18942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18943 to determine canonical name.
18945 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18947 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18948 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18950 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18952 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18953 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18957 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18959 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18960 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18964 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18965 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18966 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18967 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18970 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18971 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18972 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18995 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18999 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19006 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19009 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19010 make result into a quiet NaN.
19012 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19014 * soft-fp/adddf3.c: Fix horizontal whitespace.
19015 * soft-fp/addsf3.c: Likewise.
19016 * soft-fp/addtf3.c: Likewise.
19017 * soft-fp/divdf3.c: Likewise.
19018 * soft-fp/divsf3.c: Likewise.
19019 * soft-fp/divtf3.c: Likewise.
19020 * soft-fp/double.h: Likewise.
19021 * soft-fp/eqdf2.c: Likewise.
19022 * soft-fp/eqsf2.c: Likewise.
19023 * soft-fp/eqtf2.c: Likewise.
19024 * soft-fp/extenddftf2.c: Likewise.
19025 * soft-fp/extended.h: Likewise.
19026 * soft-fp/extendsfdf2.c: Likewise.
19027 * soft-fp/extendsftf2.c: Likewise.
19028 * soft-fp/extendxftf2.c: Likewise.
19029 * soft-fp/fixdfdi.c: Likewise.
19030 * soft-fp/fixdfsi.c: Likewise.
19031 * soft-fp/fixdfti.c: Likewise.
19032 * soft-fp/fixsfdi.c: Likewise.
19033 * soft-fp/fixsfsi.c: Likewise.
19034 * soft-fp/fixsfti.c: Likewise.
19035 * soft-fp/fixtfdi.c: Likewise.
19036 * soft-fp/fixtfsi.c: Likewise.
19037 * soft-fp/fixtfti.c: Likewise.
19038 * soft-fp/fixunsdfdi.c: Likewise.
19039 * soft-fp/fixunsdfsi.c: Likewise.
19040 * soft-fp/fixunsdfti.c: Likewise.
19041 * soft-fp/fixunssfdi.c: Likewise.
19042 * soft-fp/fixunssfsi.c: Likewise.
19043 * soft-fp/fixunssfti.c: Likewise.
19044 * soft-fp/fixunstfdi.c: Likewise.
19045 * soft-fp/fixunstfsi.c: Likewise.
19046 * soft-fp/fixunstfti.c: Likewise.
19047 * soft-fp/floatdidf.c: Likewise.
19048 * soft-fp/floatdisf.c: Likewise.
19049 * soft-fp/floatditf.c: Likewise.
19050 * soft-fp/floatsidf.c: Likewise.
19051 * soft-fp/floatsisf.c: Likewise.
19052 * soft-fp/floatsitf.c: Likewise.
19053 * soft-fp/floattidf.c: Likewise.
19054 * soft-fp/floattisf.c: Likewise.
19055 * soft-fp/floattitf.c: Likewise.
19056 * soft-fp/floatundidf.c: Likewise.
19057 * soft-fp/floatundisf.c: Likewise.
19058 * soft-fp/floatunditf.c: Likewise.
19059 * soft-fp/floatunsidf.c: Likewise.
19060 * soft-fp/floatunsisf.c: Likewise.
19061 * soft-fp/floatunsitf.c: Likewise.
19062 * soft-fp/floatuntidf.c: Likewise.
19063 * soft-fp/floatuntisf.c: Likewise.
19064 * soft-fp/floatuntitf.c: Likewise.
19065 * soft-fp/fmadf4.c: Likewise.
19066 * soft-fp/fmasf4.c: Likewise.
19067 * soft-fp/fmatf4.c: Likewise.
19068 * soft-fp/gedf2.c: Likewise.
19069 * soft-fp/gesf2.c: Likewise.
19070 * soft-fp/getf2.c: Likewise.
19071 * soft-fp/ledf2.c: Likewise.
19072 * soft-fp/lesf2.c: Likewise.
19073 * soft-fp/letf2.c: Likewise.
19074 * soft-fp/muldf3.c: Likewise.
19075 * soft-fp/mulsf3.c: Likewise.
19076 * soft-fp/multf3.c: Likewise.
19077 * soft-fp/negdf2.c: Likewise.
19078 * soft-fp/negsf2.c: Likewise.
19079 * soft-fp/negtf2.c: Likewise.
19080 * soft-fp/op-1.h: Likewise.
19081 * soft-fp/op-2.h: Likewise.
19082 * soft-fp/op-4.h: Likewise.
19083 * soft-fp/op-8.h: Likewise.
19084 * soft-fp/op-common.h: Likewise.
19085 * soft-fp/quad.h: Likewise.
19086 * soft-fp/single.h: Likewise.
19087 * soft-fp/soft-fp.h: Likewise.
19088 * soft-fp/sqrtdf2.c: Likewise.
19089 * soft-fp/sqrtsf2.c: Likewise.
19090 * soft-fp/sqrttf2.c: Likewise.
19091 * soft-fp/subdf3.c: Likewise.
19092 * soft-fp/subsf3.c: Likewise.
19093 * soft-fp/subtf3.c: Likewise.
19094 * soft-fp/truncdfsf2.c: Likewise.
19095 * soft-fp/trunctfdf2.c: Likewise.
19096 * soft-fp/trunctfsf2.c: Likewise.
19097 * soft-fp/trunctfxf2.c: Likewise.
19098 * soft-fp/unorddf2.c: Likewise.
19099 * soft-fp/unordsf2.c: Likewise.
19100 * soft-fp/unordtf2.c: Likewise.
19102 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19104 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19105 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19107 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19109 * elf/dl-libc.c: Clear initfini list after freeing.
19111 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19113 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19114 * soft-fp/addsf3.c: Likewise.
19115 * soft-fp/addtf3.c: Likewise.
19116 * soft-fp/divdf3.c: Likewise.
19117 * soft-fp/divsf3.c: Likewise.
19118 * soft-fp/divtf3.c: Likewise.
19119 * soft-fp/double.h: Likewise.
19120 * soft-fp/eqdf2.c: Likewise.
19121 * soft-fp/eqsf2.c: Likewise.
19122 * soft-fp/eqtf2.c: Likewise.
19123 * soft-fp/extenddftf2.c: Likewise.
19124 * soft-fp/extended.h: Likewise.
19125 * soft-fp/extendsfdf2.c: Likewise.
19126 * soft-fp/extendsftf2.c: Likewise.
19127 * soft-fp/extendxftf2.c: Likewise.
19128 * soft-fp/fixdfdi.c: Likewise.
19129 * soft-fp/fixdfsi.c: Likewise.
19130 * soft-fp/fixdfti.c: Likewise.
19131 * soft-fp/fixsfdi.c: Likewise.
19132 * soft-fp/fixsfsi.c: Likewise.
19133 * soft-fp/fixsfti.c: Likewise.
19134 * soft-fp/fixtfdi.c: Likewise.
19135 * soft-fp/fixtfsi.c: Likewise.
19136 * soft-fp/fixtfti.c: Likewise.
19137 * soft-fp/fixunsdfdi.c: Likewise.
19138 * soft-fp/fixunsdfsi.c: Likewise.
19139 * soft-fp/fixunsdfti.c: Likewise.
19140 * soft-fp/fixunssfdi.c: Likewise.
19141 * soft-fp/fixunssfsi.c: Likewise.
19142 * soft-fp/fixunssfti.c: Likewise.
19143 * soft-fp/fixunstfdi.c: Likewise.
19144 * soft-fp/fixunstfsi.c: Likewise.
19145 * soft-fp/fixunstfti.c: Likewise.
19146 * soft-fp/floatdidf.c: Likewise.
19147 * soft-fp/floatdisf.c: Likewise.
19148 * soft-fp/floatditf.c: Likewise.
19149 * soft-fp/floatsidf.c: Likewise.
19150 * soft-fp/floatsisf.c: Likewise.
19151 * soft-fp/floatsitf.c: Likewise.
19152 * soft-fp/floattidf.c: Likewise.
19153 * soft-fp/floattisf.c: Likewise.
19154 * soft-fp/floattitf.c: Likewise.
19155 * soft-fp/floatundidf.c: Likewise.
19156 * soft-fp/floatundisf.c: Likewise.
19157 * soft-fp/floatunsidf.c: Likewise.
19158 * soft-fp/floatunsisf.c: Likewise.
19159 * soft-fp/floatuntidf.c: Likewise.
19160 * soft-fp/floatuntisf.c: Likewise.
19161 * soft-fp/floatuntitf.c: Likewise.
19162 * soft-fp/fmadf4.c: Likewise.
19163 * soft-fp/fmasf4.c: Likewise.
19164 * soft-fp/fmatf4.c: Likewise.
19165 * soft-fp/gedf2.c: Likewise.
19166 * soft-fp/gesf2.c: Likewise.
19167 * soft-fp/getf2.c: Likewise.
19168 * soft-fp/ledf2.c: Likewise.
19169 * soft-fp/lesf2.c: Likewise.
19170 * soft-fp/letf2.c: Likewise.
19171 * soft-fp/muldf3.c: Likewise.
19172 * soft-fp/mulsf3.c: Likewise.
19173 * soft-fp/multf3.c: Likewise.
19174 * soft-fp/negdf2.c: Likewise.
19175 * soft-fp/negsf2.c: Likewise.
19176 * soft-fp/negtf2.c: Likewise.
19177 * soft-fp/op-1.h: Likewise.
19178 * soft-fp/op-2.h: Likewise.
19179 * soft-fp/op-4.h: Likewise.
19180 * soft-fp/op-8.h: Likewise.
19181 * soft-fp/op-common.h: Likewise.
19182 * soft-fp/quad.h: Likewise.
19183 * soft-fp/single.h: Likewise.
19184 * soft-fp/soft-fp.h: Likewise.
19185 * soft-fp/sqrtdf2.c: Likewise.
19186 * soft-fp/sqrtsf2.c: Likewise.
19187 * soft-fp/sqrttf2.c: Likewise.
19188 * soft-fp/subdf3.c: Likewise.
19189 * soft-fp/subsf3.c: Likewise.
19190 * soft-fp/subtf3.c: Likewise.
19191 * soft-fp/truncdfsf2.c: Likewise.
19192 * soft-fp/trunctfdf2.c: Likewise.
19193 * soft-fp/trunctfsf2.c: Likewise.
19194 * soft-fp/trunctfxf2.c: Likewise.
19195 * soft-fp/unorddf2.c: Likewise.
19196 * soft-fp/unordsf2.c: Likewise.
19197 * soft-fp/unordtf2.c: Likewise.
19199 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19202 * misc/error.c (error_tail): Fix possible buffer overflow.
19204 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19207 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19210 2013-10-14 P. J. McDermott <pj@pehjota.net>
19213 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19214 testing pipefail option.
19216 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19218 * soft-fp/double.h: Indent preprocessor directives inside #if.
19219 * soft-fp/extended.h: Likewise.
19220 * soft-fp/op-2.h: Likewise.
19221 * soft-fp/op-4.h: Likewise.
19222 * soft-fp/op-common.h: Likewise.
19223 * soft-fp/quad.h: Likewise.
19224 * soft-fp/single.h: Likewise.
19225 * soft-fp/soft-fp.h: Likewise.
19227 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19229 * iconv/iconv_prog.c: Fix typos.
19230 * stdio-common/psiginfo-data.h: Likewise.
19232 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19235 * locale/setlocale.c: Fix typo.
19237 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19240 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19241 signaling NaN arguments.
19242 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19243 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19246 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19247 unordered operands.
19248 * soft-fp/gesf2.c (__gesf2): Likewise.
19249 * soft-fp/getf2.c (__getf2): Likewise.
19250 * soft-fp/ledf2.c (__ledf2): Likewise.
19251 * soft-fp/lesf2.c (__lesf2): Likewise.
19252 * soft-fp/letf2.c (__letf2): Likewise.
19254 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19255 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19256 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19257 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19258 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19259 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19260 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19261 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19262 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19263 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19264 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19265 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19266 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19267 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19268 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19269 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19270 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19271 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19272 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19273 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19274 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19275 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19276 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19277 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19278 * soft-fp/floattidf.c (__floattidf): Likewise.
19279 * soft-fp/floattisf.c (__floattisf): Likewise.
19280 * soft-fp/floattitf.c (__floattitf): Likewise.
19281 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19282 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19283 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19284 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19285 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19286 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19287 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19288 * soft-fp/gesf2.c (__gesf2): Likewise.
19289 * soft-fp/getf2.c (__getf2): Likewise.
19290 * soft-fp/ledf2.c (__ledf2): Likewise.
19291 * soft-fp/lesf2.c (__lesf2): Likewise.
19292 * soft-fp/letf2.c (__letf2): Likewise.
19294 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19295 Undefine and redefine.
19296 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19297 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19298 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19299 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19300 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19301 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19302 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19303 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19304 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19305 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19306 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19307 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19308 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19309 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19310 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19313 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19314 without decrementing exponent if mantissa >= that for the
19315 denominator, not >.
19316 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19317 denominator, not >. Decrement exponent in < case instead of
19318 incrementing in >= case.
19319 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19320 without decrementing exponent if mantissa >= that for the
19321 denominator, not >.
19323 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19324 computing saturated result for unsigned overflow.
19326 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19327 Jeff Law <law@redhat.com>
19329 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19330 (atan2Mp): Add systemtap probe marker.
19331 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19332 (__ieee754_log): Add systemtap probe marker.
19333 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19334 (atanMp): Add systemtap probe marker.
19335 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19336 (tanMp): Add systemtap probe marker.
19337 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19338 (__slowexp): Add systemtap probe marker.
19339 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19340 (__slowpow): Add systemtap probe marker.
19341 * manual/probes.texi: Document probes.
19343 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19346 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19348 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19350 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19351 written to buffer but not flushed.
19352 * libio/iofwrite_u.c: Likewise.
19353 * libio/iopadn.c: Return bytes returned even if EOF was
19355 * libio/iowpadn.c: Likewise.
19356 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19357 if _IO_padn does not write the whole buffer.
19358 [!COMPILE_WPRINTF] (PAD): Likewise.
19360 2013-10-10 David S. Miller <davem@davemloft.net>
19362 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19365 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19367 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19368 instead of FSF address.
19369 * soft-fp/fixdfti.c: Likewise.
19370 * soft-fp/fixsfti.c: Likewise.
19371 * soft-fp/fixtfti.c: Likewise.
19372 * soft-fp/fixunsdfti.c: Likewise.
19373 * soft-fp/fixunssfti.c: Likewise.
19374 * soft-fp/fixunstfti.c: Likewise.
19375 * soft-fp/floattidf.c: Likewise.
19376 * soft-fp/floattisf.c: Likewise.
19377 * soft-fp/floattitf.c: Likewise.
19378 * soft-fp/floatuntidf.c: Likewise.
19379 * soft-fp/floatuntisf.c: Likewise.
19380 * soft-fp/floatuntitf.c: Likewise.
19381 * soft-fp/trunctfxf2.c: Likewise.
19383 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19384 * soft-fp/fixdfti.c: Likewise.
19385 * soft-fp/fixsfti.c: Likewise.
19386 * soft-fp/fixtfti.c: Likewise.
19387 * soft-fp/fixunsdfti.c: Likewise.
19388 * soft-fp/fixunssfti.c: Likewise.
19389 * soft-fp/fixunstfti.c: Likewise.
19390 * soft-fp/floattidf.c: Likewise.
19391 * soft-fp/floattisf.c: Likewise.
19392 * soft-fp/floattitf.c: Likewise.
19393 * soft-fp/floatuntidf.c: Likewise.
19394 * soft-fp/floatuntisf.c: Likewise.
19395 * soft-fp/floatuntitf.c: Likewise.
19396 * soft-fp/trunctfxf2.c: Likewise.
19398 2013-10-10 David S. Miller <davem@davemloft.net>
19400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19402 2013-10-10 Joseph Myers <joseph@codsourcery.com>
19404 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19405 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19406 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19407 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19408 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19409 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19410 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19413 for NaNs before doing comparisons on argument.
19414 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19417 2013-10-10 Will Newton <will.newton@linaro.org>
19419 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19420 passed to _int_memalign does not overflow.
19422 2013-10-10 Torvald Riegel <triegel@redhat.com>
19424 * scripts/bench.pl: Add include-sources directive.
19425 * benchtests/README: Update documentation.
19427 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19429 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19430 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19431 instead of FP_INIT_ROUNDMODE.
19432 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19433 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19436 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19437 copy class of input value.
19438 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19439 not handle exceptions.
19440 * soft-fp/negsf2.c (__negsf2): Likewise.
19441 * soft-fp/negtf2.c (__negtf2): Likewise.
19442 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19444 2013-10-09 Joseph Myers <joseph@codesourcery.com>
19446 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19447 semicolon. From Linux kernel.
19449 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19451 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19453 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19456 * manual/socket.texi: Added statement about buffer
19457 for gethostbyname2_r.
19459 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
19461 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19462 Use .p2align directive instead, throughout.
19463 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19464 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19465 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19468 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19469 * sysdeps/x86_64/strchr.S: Likewise.
19470 * sysdeps/x86_64/strrchr.S: Likewise.
19472 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19474 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19476 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19478 * sysdeps/generic/math_private.h (__mpsin1): Remove
19480 (__mpcos1): Likewise.
19481 (__mpsin): New argument __range_reduce.
19482 (__mpcos): Likewise.
19483 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19484 (slow): Use __mpsin and __mpcos.
19488 (sloww1): Likewise.
19489 (sloww2): Likewise.
19490 (bsloww): Likewise.
19491 (bsloww1): Likewise.
19492 (bsloww2): Likewise.
19493 (cslow2): Likewise.
19494 (csloww): Likewise.
19495 (csloww1): Likewise.
19496 (csloww2): Likewise.
19497 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19498 range_reduce. Merge in __mpsin1.
19499 (__mpcos): Likewise.
19500 (__mpsin1): Remove.
19501 (__mpcos1): Likewise.
19503 2013-10-07 Joseph Myers <joseph@codesourcery.com>
19505 * locale/loadlocale.c (_nl_intern_locale_data): Use
19507 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19508 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19509 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19510 obstack data is appropriately aligned.
19511 (obstack_int32_grow_fast): Likewise.
19512 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19513 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19514 (add_locale_uint32_array): Likewise.
19516 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19518 * benchtests/Makefile: Remove ARGLIST and RET variables.
19519 ($(objpfx)bench-%.c): Pass only function name to the script.
19520 * benchtests/README: Update documentation.
19521 * benchtests/acos-inputs: Add new directives.
19522 * benchtests/acosh-inputs: Likewise.
19523 * benchtests/asin-inputs: Likewise.
19524 * benchtests/asinh-inputs: Likewise.
19525 * benchtests/atan-inputs: Likewise.
19526 * benchtests/atanh-inputs: Likewise.
19527 * benchtests/cos-inputs: Likewise.
19528 * benchtests/cosh-inputs: Likewise.
19529 * benchtests/exp-inputs: Likewise.
19530 * benchtests/log-inputs: Likewise.
19531 * benchtests/pow-inputs: Likewise.
19532 * benchtests/rint-inputs: Likewise.
19533 * benchtests/sin-inputs: Likewise.
19534 * benchtests/sinh-inputs: Likewise.
19535 * benchtests/tan-inputs: Likewise.
19536 * benchtests/tanh-inputs: Likewise.
19537 * scripts/bench.pl: Add support for new directives.
19539 2013-10-07 Alan Modra <amodra@gmail.com>
19541 * README: Fix careless merge.
19543 2013-10-05 Alan Modra <amodra@gmail.com>
19545 * NEWS: Mention powerpc64le support and bugs fixed.
19546 * README: Both big-endian and little-endian powerpc64 supported.
19548 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19550 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19551 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19552 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19553 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19555 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19557 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19560 2013-10-04 Joseph Myers <joseph@codesourcery.com>
19562 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19563 Move -mhard-float appending from
19564 ports/sysdeps/powerpc/powerpc32/Makefile.
19565 [$(with-fp) = yes] (ASFLAGS): Likewise.
19566 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19567 * sysdeps/powerpc/nofpu: Move directory from
19568 ports/sysdeps/powerpc/nofpu.
19569 * sysdeps/powerpc/soft-fp: Move directory from
19570 ports/sysdeps/powerpc/soft-fp.
19571 * sysdeps/powerpc/powerpc32/405: Move directory from
19572 ports/sysdeps/powerpc/powerpc32/405.
19573 * sysdeps/powerpc/powerpc32/440: Move directory from
19574 ports/sysdeps/powerpc/powerpc32/440.
19575 * sysdeps/powerpc/powerpc32/464: Move directory from
19576 ports/sysdeps/powerpc/powerpc32/464.
19577 * sysdeps/powerpc/powerpc32/476: Move directory from
19578 ports/sysdeps/powerpc/powerpc32/476.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19580 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19582 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19584 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19586 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19588 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19589 * README: Update for powerpc-*-linux-gnu software floating point
19592 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19593 case to powerpc/powerpc32*.
19594 * sysdeps/unix/sysv/linux/configure: Regenerated.
19596 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19597 (_FPU_MASK_OM): Define as 0x04.
19598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19606 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19609 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19612 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19613 and setcontext_e500.
19615 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19617 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19619 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19621 * manual/threads.texi (Default Thread Attributes): Fix typo.
19623 2013-10-04 Will Newton <will.newton@linaro.org>
19625 * malloc/Makefile: Add tst-memalign.
19626 * malloc/tst-memalign.c: New file.
19628 * malloc/tst-posix_memalign.c: Add comments.
19629 (do_test): Add comments and call free on all potentially
19630 allocated pointers. Add space after cast.
19632 * malloc/tst-pvalloc.c: Add comments.
19633 (do_test): Add comments and call free on all potentially
19634 allocated pointers. Remove duplicate check for NULL pointer.
19635 Add space after cast.
19637 * malloc/tst-valloc.c: Add comments.
19638 (do_test): Add comments and call free on all potentially
19639 allocated pointers. Remove duplicate check for NULL pointer.
19640 Add space after cast.
19642 2013-10-04 Alan Modra <amodra@gmail.com>
19644 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19645 Use stdint types in rather than __attribute__((mode())).
19646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19648 2013-10-04 Alan Modra <amodra@gmail.com>
19650 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19651 Correct handling of unaligned relocs for little-endian.
19652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19654 2013-10-04 Alan Modra <amodra@gmail.com>
19656 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19657 * configure: Regenerate.
19658 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19659 * shlib-versions: Likewise.
19661 2013-10-04 Alan Modra <amodra@gmail.com>
19663 * string/tester.c (test_memrchr): Increment reported test cycle.
19665 2013-10-04 Alan Modra <amodra@gmail.com>
19667 * string/test-memcpy.c (do_one_test): When reporting errors, print
19668 string address and don't overrun end of string.
19670 2013-10-04 Alan Modra <amodra@gmail.com>
19672 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19673 insrdi. Make better use of reg selection to speed exit slightly.
19674 Schedule entry path a little better. Remove useless "are we done"
19675 checks on entry to main loop. Handle wrapping around zero address.
19676 Correct main loop count. Handle single left-over word from main
19677 loop inline rather than by using loop_small. Remove extra word
19678 case in loop_small caused by wrong loop count. Add little-endian
19680 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19681 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19683 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19684 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19685 support. Avoid rlwimi.
19686 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19688 2013-10-04 Alan Modra <amodra@gmail.com>
19690 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19691 insrdi. Formatting.
19692 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19693 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19694 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19695 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19696 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19697 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19699 2013-10-04 Alan Modra <amodra@gmail.com>
19701 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19702 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19703 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19704 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19705 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19706 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19707 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19708 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19709 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19710 use of regs. Use power7 mtocrf. Tidy function tails.
19712 2013-10-04 Alan Modra <amodra@gmail.com>
19714 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19715 Formatting. Consistently use rXXX register defines or rN defines.
19716 Use early exit labels that avoid restoring unused non-volatile regs.
19717 Make cr field use more consistent with rWORDn compares. Rename
19718 regs used as shift registers for unaligned loop, using rN defines
19719 for short lifetime/multiple use regs.
19720 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19721 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19722 addi 1,1,64 to pop stack frame. Simplify return value code.
19723 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19725 2013-10-04 Alan Modra <amodra@gmail.com>
19727 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19728 support. Correct typos, formatting. Optimize tail. Use insrdi
19729 rather than rlwimi.
19730 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19731 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19732 little-endian support. Correct typos.
19733 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19734 rather than rlwimi.
19735 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19736 in loop and entry code to keep "and." results.
19737 (strchr): Add little-endian support. Comment. Move cntlzd
19739 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19741 2013-10-04 Alan Modra <amodra@gmail.com>
19743 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19744 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19745 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19746 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19748 2013-10-04 Alan Modra <amodra@gmail.com>
19750 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19751 (rTMP): Define as r11.
19752 (strcmp): Add little-endian support. Optimise tail.
19753 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19754 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19755 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19756 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19757 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19759 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19761 2013-10-04 Alan Modra <amodra@gmail.com>
19763 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19764 little-endian support. Remove unnecessary "are we done" tests.
19765 Handle "s" wrapping around zero and extremely large "size".
19766 Correct main loop count. Handle single left-over word from main
19767 loop inline rather than by using small_loop. Correct comments.
19768 Delete "zero" tail, use "end_max" instead.
19769 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19771 2013-10-04 Alan Modra <amodra@gmail.com>
19773 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19774 support. Don't branch over align.
19775 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19776 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19777 support. Rearrange tmp reg use to suit. Comment.
19778 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19780 2013-10-04 Alan Modra <amodra@gmail.com>
19782 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19784 2013-10-04 Alan Modra <amodra@gmail.com>
19786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19787 conditional form of branch and link when obtaining pc.
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19790 2013-10-04 Alan Modra <amodra@gmail.com>
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19797 2013-10-04 Alan Modra <amodra@gmail.com>
19799 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19800 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19801 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19802 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19803 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19804 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19805 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19806 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19807 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19808 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19810 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19811 Alistair Popple <alistair@ozlabs.au.ibm.com>
19812 Alan Modra <amodra@gmail.com>
19815 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19816 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19817 _dl_hwcap access for little-endian.
19818 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19819 destroy vmx regs when saving unaligned.
19820 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19821 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19822 destroy vmx regs when saving unaligned.
19824 2013-10-04 Alan Modra <amodra@gmail.com>
19826 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19827 Don't use a union to pack hi/low value.
19829 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19831 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19833 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19835 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19836 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19837 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19839 2013-10-04 Alan Modra <amodra@gmail.com>
19841 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19842 constants to usual value for .cst8 section, and remove redundant
19844 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19845 constant for 0x1p52. Load little-endian words of double from
19846 correct stack offsets.
19848 2013-10-04 Alan Modra <amodra@gmail.com>
19850 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19851 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19852 words of double from correct stack offsets.
19853 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19854 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19855 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19857 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19858 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19859 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19860 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19861 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19862 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19865 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19866 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19867 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19868 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19869 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19871 2013-10-04 Alan Modra <amodra@gmail.com>
19873 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19874 64-bit int/double union.
19875 (_FPU_SETCW): Likewise.
19876 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19877 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19879 2013-10-04 Alan Modra <amodra@gmail.com>
19881 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19882 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19884 2013-10-04 Alan Modra <amodra@gmail.com>
19886 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19887 use vector int constants.
19888 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19890 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19892 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19893 array with long long.
19894 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19895 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19896 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19897 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19898 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19899 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19900 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19901 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19902 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19903 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19904 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19905 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19906 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19908 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19910 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19911 (__signbit): Likewise. Correct for little-endian.
19912 (__signbitl): Call __signbit.
19913 (lrint): Correct for little-endian.
19914 (lrintf): Call lrint.
19916 2013-10-04 Alan Modra <amodra@gmail.com>
19918 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19919 union 32-bit int array member with 64-bit int array.
19920 (t515, tm256): Double rather than long double.
19921 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19923 2013-10-04 Alan Modra <amodra@gmail.com>
19925 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19927 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19929 version of math_ldbl.h.
19931 2013-10-04 Alan Modra <amodra@gmail.com>
19933 [BZ #15734], [BZ #15735]
19934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19935 all uses of ieee875 long double macros and unions. Simplify test
19936 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19937 ldbl_extract_mantissa value for ix,iy exponents. Properly
19938 normalize after ldbl_extract_mantissa, and don't add hidden bit
19939 already handled. Don't treat low word of ieee854 mantissa like
19940 low word of IBM long double and mask off bit when testing for
19942 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19943 all uses of ieee875 long double macros and unions. Simplify tests
19944 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19945 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19946 two1022, instead use their values. Recognise that tests for large
19947 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19948 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19949 Rewrite all uses of ieee875 long double macros and unions. Simplify
19950 test for 0.0L and nan. Correct negation.
19951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19952 ieee875 long double macros and unions. Correct output for large
19953 magnitude x. Correct absolute value calculation.
19954 (__erfcl): Likewise.
19955 * math/libm-test.inc: Add tests for errors discovered in IBM long
19956 double versions of fmodl, remainderl, erfl and erfcl.
19958 2013-10-04 Alan Modra <amodra@gmail.com>
19960 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19961 all uses of ieee854 long double macros and unions. Simplify tests
19962 for long doubles that are fully specified by the high double.
19963 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19965 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19966 Remove dead code too.
19967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19968 (__ieee754_ynl): Likewise.
19969 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19970 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19972 Remove dead code too.
19973 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19975 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19976 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19978 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19980 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19981 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19982 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19983 Comment on variable precision.
19984 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19985 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19987 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19988 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19989 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19990 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19993 2013-10-04 Alan Modra <amodra@gmail.com>
19995 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19996 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19997 all uses of ieee854 long double macros and unions.
19998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20000 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20002 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20003 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20006 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20011 Simplify sign and nan test too.
20012 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20013 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20014 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20015 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20017 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20018 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20021 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20022 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20023 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20024 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20027 2013-10-04 Alan Modra <amodra@gmail.com>
20029 * stdio-common/printf_size.c (__printf_size): Don't use
20030 union ieee854_long_double in fpnum union.
20031 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20032 signbit macro to retrieve sign from long double.
20033 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20034 retrieve sign from long double.
20035 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20036 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20037 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20038 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20039 * math/test-misc.c (main): Don't use union ieee854_long_double.
20041 2013-10-04 Alan Modra <amodra@gmail.com>
20044 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20045 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20046 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20047 calculation. Remove unnecessary test for denormal exponent.
20048 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20049 Correct handling of denormals. Avoid undefined shift behaviour.
20050 Correct normalisation of low mantissa when low double is denormal.
20051 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20052 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20053 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20054 Correct normalisation of low mantissa. Test for overflow of high
20055 mantissa and normalise.
20056 (ldbl_nearbyint): Use more readable constant for two52.
20057 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20058 (__mpn_construct_long_double): Fix test for overflow of high
20059 mantissa and correct normalisation. Avoid undefined shift.
20061 2013-10-04 Alan Modra <amodra@gmail.com>
20063 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20064 (union ibm_extended_long_double): Define as an array of ieee754_double.
20065 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20066 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20067 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20068 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20069 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20070 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20072 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20073 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20074 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20075 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20077 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20079 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20080 page size instead of calling getpagesize.
20082 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20083 (LOCFILE_ALIGN_MASK): Likewise.
20084 (LOCFILE_ALIGN_UP): Likewise.
20085 (LOCFILE_ALIGNED_P): Likewise.
20086 * locale/programs/ld-collate.c (collate_output): Use the new
20087 macros instead of __alignof__ (int32_t).
20088 * locale/weight.h (findidx): Likewise.
20090 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20093 * manual/string.texi: Fix strncat and wcsncat.
20095 2013-10-03 Brooks Moses <bmoses@google.com>
20098 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20099 * Makerules: ...here, and adjust associated comments.
20101 2013-10-02 Will Newton <will.newton@linaro.org>
20103 * malloc/Makefile: Add tst-pvalloc.
20104 * malloc/tst-pvalloc.c: New file.
20106 2013-10-02 Will Newton <will.newton@linaro.org>
20108 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20109 improve test coverage.
20111 2013-10-02 Will Newton <will.newton@linaro.org>
20113 * malloc/Makefile: Add tst-posix_memalign.
20114 * malloc/tst-posix_memalign.c: New file.
20116 2013-10-01 Eric Blake <eblake@redhat.com>
20118 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20119 Use __THROWNL rather than __THROW on static functions.
20121 2013-09-30 Petr Machata <pmachata@redhat.com>
20123 * elf/elf.h (R_AARCH64_ABS16): New macro.
20124 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20125 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20126 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20127 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20128 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20129 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20130 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20131 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20132 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20133 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20134 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20135 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20136 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20137 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20138 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20139 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20140 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20141 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20142 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20143 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20144 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20145 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20146 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20147 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20148 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20149 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20150 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20151 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20152 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20153 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20154 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20155 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20156 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20157 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20158 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20159 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20160 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20161 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20162 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20163 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20164 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20165 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20166 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20167 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20168 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20169 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20170 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20171 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20172 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20173 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20174 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20175 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20176 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20177 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20178 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20179 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20180 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20181 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20182 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20183 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20184 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20185 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20186 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20187 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20188 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20189 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20190 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20191 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20192 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20193 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20194 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20195 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20196 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20197 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20198 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20199 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20200 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20201 (R_AARCH64_TLSDESC_LDR): Likewise.
20202 (R_AARCH64_TLSDESC_ADD): Likewise.
20203 (R_AARCH64_TLSDESC_CALL): Likewise.
20205 2013-09-30 Andreas Schwab <schwab@suse.de>
20208 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20209 the nss database lookup.
20210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20213 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20215 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20217 2013-09-28 P. J. McDermott <pj@pehjota.net>
20219 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20220 ${Bash-specific parameter/pattern/string} parameter expansion.
20221 * sysdeps/unix/make-syscalls.sh: Likewise.
20223 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20225 * sysdeps/sh/stackguard-macros.h: New file.
20227 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20231 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20232 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20233 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20234 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20236 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20238 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20239 Fix thread ID register.
20241 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20243 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20244 [POSIX || UNIX98]: Require rather than permitting all symbols from
20246 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20247 element of struct sched_param.
20248 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20249 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20250 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20251 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20254 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20256 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20257 argument calculation.
20259 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20261 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20263 [POSIX] (pthread_attr_t): Do not require type.
20264 [POSIX] (pthread_cond_t): Likewise.
20265 [POSIX] (pthread_condattr_t): Likewise.
20266 [POSIX] (pthread_key_t): Likewise.
20267 [POSIX] (pthread_mutex_t): Likewise.
20268 [POSIX] (pthread_mutexattr_t): Likewise.
20269 [POSIX] (pthread_once_t): Likewise.
20270 [POSIX] (pthread_t): Likewise.
20271 [POSIX-based standards] (pthread_atfork): Expect function.
20273 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20274 Richard Sandiford <richard@codesourcery.com>
20276 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20277 (swap_endianness_p): New extern variable.
20278 (set_big_endian): New inline function.
20279 (maybe_swap_uint32): Likewise.
20280 (maybe_swap_uint32_array): Likewise.
20281 (maybe_swap_uint32_obstack): Likewise.
20282 * locale/programs/locfile.c: Include <stdbool.h>.
20283 (swap_endianness_p): New variable.
20284 (add_locale_uint32): Call maybe_swap_uint32.
20285 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20286 (write_locale_data): Call maybe_swap_uint32_array.
20287 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20289 (obstack_int32_grow_fast): Likewise.
20290 (output_weightwc): Call maybe_swap_uint32_obstack.
20291 (collate_output): Likewise.
20292 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20293 (OPT_LITTLE_ENDIAN): Likewise.
20294 (options): Add --little-endian and --big-endian options.
20295 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20296 * locale/programs/locarchive.c: Include "locfile.h".
20300 (create_archive): Use the new macros to access fields of
20301 structures directly mapped from or written to locale archives.
20302 (oldlocrecentcmp): Likewise.
20303 (enlarge_archive): Likewise.
20304 (insert_name): Likewise.
20305 (add_alias): Likewise.
20306 (add_locale): Likewise.
20307 (delete_locales_from_archive): Likewise.
20308 (show_archive_content): Likewise.
20309 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20312 2013-09-24 Roland McGrath <roland@hack.frob.com>
20314 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20315 http://www.gnu.org/doc/freemanuals.texi.
20316 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20318 2013-09-24 Will Newton <will.newton@linaro.org>
20320 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20323 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20325 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20328 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20330 * manual/threads.texi (POSIX Threads): Fix a typo.
20332 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20335 * string/tst-strcoll-overflow.c: New test case.
20336 * string/Makefile (xtests): Add tst-strcoll-overflow.
20337 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20338 cache if string sizes may cause integer overflow.
20341 * string/strcoll_l.c (coll_seq): New members rule, idx,
20342 save_idx and back_us.
20343 (get_next_seq_nocache): New function.
20344 (do_compare_nocache): New function.
20345 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20348 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20351 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20352 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20353 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20356 * elf/Makefile (tests): Add tst-ptrguard1.
20357 (tests-static): Add tst-ptrguard1-static.
20358 (tst-ptrguard1-ARGS): Define.
20359 (tst-ptrguard1-static-ARGS): Define.
20360 * elf/tst-ptrguard1.c: New file.
20361 * elf/tst-ptrguard1-static.c: New file.
20362 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20363 * sysdeps/i386/stackguard-macros.h: Likewise.
20364 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20365 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20366 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20367 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20368 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20369 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20371 2013-09-23 Hector Marco <hecmargi@upv.es>
20372 Ismael Ripoll <iripoll@disca.upv.es>
20373 Carlos O'Donell <carlos@redhat.com>
20376 * sysdeps/generic/stackguard-macros.h: Define
20377 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20378 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20379 Define __pointer_chk_guard_local.
20380 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20381 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20383 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20386 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20388 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20390 * include/string.h (__ffs): Declare as hidden.
20391 * string/ffs.c (__ffs): Define as hidden.
20392 * sysdeps/i386/ffs.c (__ffs): Likewise.
20393 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20394 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20395 * sysdeps/s390/ffs.c (__ffs): Likewise.
20396 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20398 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
20400 * NEWS: Mention malloc probes.
20402 * malloc/arena.c (new_heap): New memory_heap_new probe.
20403 (grow_heap): New memory_heap_more probe.
20404 (shrink_heap): New memory_heap_less probe.
20405 (heap_trim): New memory_heap_free probe.
20406 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20407 (systrim): New memory_sbrk_less probe.
20408 * manual/probes.texi: Document them.
20410 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20411 * manual/probes.texi: Document it.
20413 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20414 (__libc_realloc): Add memory_realloc_retry probe.
20415 (__libc_memalign): Add memory_memalign_retry probe.
20416 (__libc_valloc): Add memory_valloc_retry probe.
20417 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20418 (__libc_calloc): Add memory_calloc_retry probe.
20419 * manual/probes.texi: Document them.
20421 * malloc/arena.c (get_free_list): Add probe
20422 memory_arena_reuse_free_list.
20423 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20424 and memory_arena_reuse.
20425 (arena_get2) [!PER_THREAD]: Likewise.
20426 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20427 memory_arena_reuse_realloc.
20428 * manual/probes.texi: Document them.
20430 * malloc/malloc.c (__libc_free): Add
20431 memory_mallopt_free_dyn_thresholds probe.
20432 (__libc_mallopt): Add multiple memory_mallopt probes.
20433 * manual/probes.texi: Document them.
20435 * malloc/malloc.c: Include stap-probe.h.
20436 (__libc_mallopt): Add memory_mallopt probe.
20437 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20438 * manual/probes.texi: New.
20439 * manual/Makefile (chapters): Add probes.
20440 * manual/threads.texi: Set next node.
20442 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
20444 [BZ #15963, #13985]
20445 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20446 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20447 Add `Chinese' to `nan' entry name.
20449 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20451 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20452 (POLYNOMIAL): Likewise.
20453 (TAYLOR_SINCOS): Likewise.
20454 (TAYLOR_SLOW): Likewise.
20455 (__sin): Use TAYLOR_SINCOS.
20457 (slow): Use TAYLOR_SLOW.
20459 (bsloww): Likewise.
20460 (csloww): Likewise.
20462 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20464 * stdlib/strtod_l.c: Fix buffer overrun.
20466 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20468 * benchtests/Makefile (bench): Add sincos.
20469 * benchtests/bench-sincos.c: New file.
20471 * math/libm-test.inc (cos_test_data): New test inputs.
20472 (sin_test_data): Likewise.
20474 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20480 (sloww1): Likewise.
20481 (sloww2): Likewise.
20482 (bsloww1): Likewise.
20483 (bsloww2): Likewise.
20484 (cslow2): Likewise.
20485 (csloww1): Likewise.
20486 (csloww2): Likewise.
20488 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20493 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20497 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20499 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20500 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20501 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20502 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20503 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20504 * elf/cache.c (print_entry): Handle the new cache flags.
20506 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20507 Aldy Hernandez <aldyh@redhat.com>
20509 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20510 Change condition to [_SOFT_FLOAT].
20511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20523 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20526 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20529 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20531 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20532 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20533 (__longjmp): Use LOAD_GP to load saved GPRs.
20534 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20535 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20536 (__sigsetjmp): Use SAVE_GP to save GPRs.
20538 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20539 Do not append -msoft-float.
20540 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20542 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20544 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20546 2013-09-17 Joseph Myers <joseph@codesourcery.com>
20549 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20550 (_FPU_GETCW): Use initial "__" on variable and field names but not
20551 on macro parameter name.
20552 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20553 parentheses around reference to macro parameter.
20555 2013-09-13 Richard Sandiford <richard@codesourcery.com>
20557 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20559 (ctype_startup): Use uint32_t in cast and sizeof for
20562 2013-09-11 Jia Liu <proljc@gmail.com>
20564 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20566 [__FreeBSD__]: Likewise.
20568 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
20570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20571 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20572 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20573 (strchr): Remove __strchr_sse42 ifunc selection.
20574 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20575 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20577 2013-09-11 Will Newton <will.newton@linaro.org>
20579 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20580 parameter to RES. Remove hardcoded 1000 value.
20581 * benchtests/bench-skeleton.c (main): Pass RES parameter
20582 to TIMING_INIT and multiply result by 1000.
20584 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20588 2013-09-11 Andreas Schwab <schwab@suse.de>
20590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20592 (O_TMPFILE) [__USE_GNU]: Define.
20593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20596 2013-09-11 Will Newton <will.newton@linaro.org>
20599 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20602 2013-09-11 Will Newton <will.newton@linaro.org>
20605 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20608 2013-09-11 Will Newton <will.newton@linaro.org>
20611 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20614 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
20616 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20617 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20618 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20622 2013-09-10 Allan McRae <allan@archlinux.org>
20625 * manual/arith.texi (Parsing of Floats): Clarify
20629 * manual/install.texi (Running make install): Mention
20631 * INSTALL: Regenerated.
20633 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20635 * csu/init-first.c (_init): Remove the !SHARED condition around
20636 FPU control word initialization.
20637 * elf/dl-support.c (_dl_fpu_control): New variable.
20638 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20639 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20640 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20641 * math/test-fpucw-static.c: New file.
20642 * math/test-fpucw-ieee.c: New file.
20643 * math/test-fpucw-ieee-static.c: New file.
20644 * math/Makefile (tests): Add `test-fpucw-ieee' and
20646 (tests-static): New variable.
20647 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20649 [($(build-shared),yes)]
20650 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20652 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20655 2013-09-09 Allan McRae <allan@archlinux.org>
20658 * manual/string.texi (Collation Functions): Fix typo in
20660 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20663 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20666 * libio/memstream.c (open_memstream): Fix memory leak.
20667 * libio/wmemstream.c (open_wmemstream): Likewise.
20670 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20672 2013-09-09 Will Newton <will.newton@linaro.org>
20674 * malloc/Makefile: Add tst-realloc to tests.
20675 * malloc/tst-realloc.c: New file.
20677 2013-09-09 Allan McRae <allan@archlinux.org>
20680 * COPYING: Update from GNU website to fix FSF address.
20681 * COPYING.LIB: Likewise.
20683 2013-09-06 David S. Miller <davem@davemloft.net>
20685 * po/zh_TW.po: Update Chinese (traditional) translation from
20686 translation project.
20688 2013-09-06 Richard Sandiford <richard@codesourcery.com>
20689 Joseph Myers <joseph@codesourcery.com>
20691 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20693 (obstack_chunk_alloc): New macro.
20694 (obstack_chunk_free): Likewise.
20695 (record_offset): New function.
20696 (init_locale_data): Likewise.
20697 (align_locale_data): Likewise.
20698 (add_locale_empty): Likewise.
20699 (add_locale_raw_data): Likewise.
20700 (add_locale_raw_obstack): Likewise.
20701 (add_locale_string): Likewise.
20702 (add_locale_wstring): Likewise.
20703 (add_locale_uint32): Likewise.
20704 (add_locale_uint32_array): Likewise.
20705 (add_locale_char): Likewise.
20706 (start_locale_structure): Likewise.
20707 (end_locale_structure): Likewise.
20708 (start_locale_prelude): Likewise.
20709 (end_locale_prelude): Likewise.
20710 (write_locale_data): Take locale_file structure rather than an
20712 * locale/programs/locfile.h: Include "obstack.h".
20713 (struct locale_file): Change to store locale file contents instead
20715 (init_locale_data): New prototype.
20716 (align_locale_data): Likewise.
20717 (add_locale_empty): Likewise.
20718 (add_locale_raw_data): Likewise.
20719 (add_locale_raw_obstack): Likewise.
20720 (add_locale_string): Likewise.
20721 (add_locale_wstring): Likewise.
20722 (add_locale_uint32): Likewise.
20723 (add_locale_uint32_array): Likewise.
20724 (add_locale_char): Likewise.
20725 (start_locale_structure): Likewise.
20726 (end_locale_structure): Likewise.
20727 (start_locale_prelude): Likewise.
20728 (end_locale_prelude): Likewise.
20729 (write_locale_data): Update prototype.
20730 * locale/programs/3level.h (struct TABLE): Remove result field.
20731 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20732 Use new locale_file interface.
20733 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20734 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20735 * locale/programs/ld-address.c (address_output): Use new
20736 locale_file interface.
20737 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20739 (collate_finish): Don't call collseq_table_finalize.
20740 (collate_output): Use new locale_file interface.
20741 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20743 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20744 (TABLE): Move defines earlier in file.
20745 (ELEMENT): Likewise.
20746 (DEFAULT): Likewise.
20747 (wctrans_table_add): Move macro and inline function earlier in
20749 (struct wctype_table): Move type earlier in file.
20750 (add_locale_wctype_table): New static prototype.
20751 (struct locale_ctype_t): Use logical types instead of struct iovec
20752 pointers for members.
20753 (ctype_output): Use new locale_file interface.
20754 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20755 new locale_file interface.
20756 (allocate_arrays): Update for use of new locale_file interface.
20757 * locale/programs/ld-identification.c (identification_output): Use
20758 new locale_file interface.
20759 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20760 * locale/programs/ld-messages.c (messages_output): Likewise.
20761 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20762 * locale/programs/ld-name.c (name_output): Likewise.
20763 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20764 * locale/programs/ld-paper.c (paper_output): Likewise.
20765 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20766 * locale/programs/ld-time.c (time_output): Likewise.
20768 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20770 * benchtests/Makefile: Add memrchr benchmark.
20771 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20772 benchmark as memrchr.
20773 * benchtests/bench-memrchr-ifunc.c: New file.
20774 * benchtests/bench-memrchr.c: New file.
20776 2013-09-06 Will Newton <will.newton@linaro.org>
20778 * benchtests/Makefile (string-bench): Add memcpy.
20780 2013-09-05 Carlos O'Donell <carlos@redhat.com>
20781 Cong Wang <amwang@redhat.com>
20784 * sysdeps/unix/sysv/linux/bits/in.h
20785 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20786 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20787 before __USE_KERNEL_IPV6_DEFS uses.
20788 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20790 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20791 sockaddr_in6, or ipv6_mreq.
20793 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20795 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20796 memory access for final bytes in some large inputs.
20797 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20799 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20801 * string/test-memrchr.c: New file.
20802 * string/test-memrchr-ifunc.c: New file.
20803 * string/Makefile: Add new memrchr testcase.
20805 2013-09-05 Mike Frysinger <vapier@gentoo.org>
20807 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20808 fanotify_init returns EPERM.
20810 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20812 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20814 (top level): Treat second token from macro or constant entries for
20815 allowed headers as allowed.
20816 * include/complex.h: Condition internal declarations on
20818 * include/fenv.h: Condition include of <stdbool.h> and internal
20819 declarations on [!_ISOMAC].
20821 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20824 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20826 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20828 * configure.in (--enable-versioning): Remove configure option.
20829 (libc_cv_asm_symver_directive): Remove configure test.
20830 (libc_cv_ld_version_script_option): Likewise.
20831 (VERSIONING): Remove variable and AC_SUBST.
20832 (DO_VERSIONING): Remove AC_DEFINE.
20833 * configure: Regenerated.
20834 * config.h.in (DO_VERSIONING): Remove macro.
20835 * Makerules [$(versioning) = yes]: Change conditionals to
20836 [$(build-shared) = yes].
20837 * config.make.in (versioning): Remove variable.
20838 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20839 [$(build-shared) = yes].
20840 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20841 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20842 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20843 [$(build-shared) = yes].
20844 * extra-lib.mk [$(versioning) = yes]: Likewise.
20845 * hurd/Makefile [$(versioning) = yes]: Likewise.
20846 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20848 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20850 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20851 [SHARED && !NO_HIDDEN].
20852 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20854 [SHARED && DO_VERSIONING]: Likewise..
20855 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20856 [$(build-shared) = yes].
20857 * manual/install.texi (--disable-versioning): Remove
20859 * INSTALL: Regenerated.
20860 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20862 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20863 [$(build-shared) = yes].
20864 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20865 * sysdeps/i386/i686/multiarch/strstr-c.c
20866 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20867 [SHARED && !NO_HIDDEN].
20868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20869 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20870 * sysdeps/powerpc/powerpc32/dl-machine.c
20871 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20872 * sysdeps/powerpc/powerpc32/sysdep.h
20873 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20874 to [SHARED && PIC && !NO_HIDDEN].
20875 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20876 conditional to [SHARED].
20878 2013-09-04 Will Newton <will.newton@linaro.org>
20880 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20881 * benchtests/bench-string.h: Include bench-timing.h instead
20882 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20883 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20884 call to HP_TIMING_DIFF_INIT.
20885 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20886 instead of hp-timing.h macros.
20887 * benchtests/bench-memchr.c: Likewise.
20888 * benchtests/bench-memcmp.c: Likewise.
20889 * benchtests/bench-memcpy.c: Likewise.
20890 * benchtests/bench-memmem.c: Likewise.
20891 * benchtests/bench-memmove.c: Likewise.
20892 * benchtests/bench-memset.c: Likewise.
20893 * benchtests/bench-rawmemchr.c: Likewise.
20894 * benchtests/bench-strcasecmp.c: Likewise.
20895 * benchtests/bench-strcasestr.c: Likewise.
20896 * benchtests/bench-strcat.c: Likewise.
20897 * benchtests/bench-strchr.c: Likewise.
20898 * benchtests/bench-strcmp.c: Likewise.
20899 * benchtests/bench-strcpy.c: Likewise.
20900 * benchtests/bench-strcpy_chk.c: Likewise.
20901 * benchtests/bench-strlen.c: Likewise.
20902 * benchtests/bench-strncasecmp.c: Likewise.
20903 * benchtests/bench-strncat.c: Likewise.
20904 * benchtests/bench-strncmp.c: Likewise.
20905 * benchtests/bench-strncpy.c: Likewise.
20906 * benchtests/bench-strnlen.c: Likewise.
20907 * benchtests/bench-strpbrk.c: Likewise.
20908 * benchtests/bench-strrchr.c: Likewise.
20909 * benchtests/bench-strspn.c: Likewise.
20910 * benchtests/bench-strstr.c: Likewise.
20912 2013-09-04 Will Newton <will.newton@linaro.org>
20914 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20916 2013-09-03 Joseph Myers <joseph@codesourcery.com>
20919 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20920 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20921 * math/libm-test.inc (lgamma_test_data): Add more tests.
20922 * sysdeps/i386/fpu/libm-test-ulps: Update.
20923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20925 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
20927 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20931 Add strcmp-sse2-unaligned
20932 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20934 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20936 * Versions.def (libc): Add GLIBC_2.19.
20938 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20940 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20941 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20943 2013-09-02 Joseph Myers <joseph@codesourcery.com>
20946 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20947 intermediate calculations in recurrence.
20948 (__ieee754_ynf): Likewise.
20949 * math/libm-test.inc (jn_test_data): Do not allow spurious
20950 underflow exception. Add more tests.
20951 (yn_test_data): Add more tests.
20952 * sysdeps/i386/fpu/libm-test-ulps: Update.
20953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20955 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
20957 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20959 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20961 * csu/init-first.c: Fix then/than typos.
20962 * locale/programs/ld-collate.c: Likewise.
20963 * locale/programs/linereader.h: Likewise.
20964 * manual/charset.texi: Likewise.
20965 * manual/filesys.texi: Likewise.
20966 * manual/stdio.texi: Likewise.
20967 * manual/string.texi: Likewise.
20968 * stdlib/fmtmsg.c: Likewise.
20969 * sysdeps/i386/stpncpy.S: Likewise.
20970 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20971 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20972 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20973 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20975 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20977 * elf/dl-open.c: Fix typos.
20978 * iconvdata/gbbig5.c: Likewise.
20979 * iconvdata/iso-2022-jp.c: Likewise.
20980 * iconv/gconv_int.h: Likewise.
20981 * iconv/loop.c: Likewise.
20982 * nis/rpcsvc/nis.h: Likewise.
20983 * resolv/ns_name.c: Likewise.
20984 * stdio-common/vfscanf.c: Likewise.
20985 * streams/stropts.h: Likewise.
20986 * sunrpc/rpc_thread.c: Likewise.
20987 * sysdeps/i386/strpbrk.S: Likewise.
20988 * sysdeps/ieee754/k_standard.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20991 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20992 * sysdeps/mach/hurd/profil.c: Likewise.
20993 * sysdeps/s390/dl-procinfo.h: Likewise.
20994 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20995 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20996 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20997 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21000 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21002 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21005 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21007 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21008 aix specific files.
21009 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21010 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21011 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21012 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21013 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21014 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21015 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21016 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21018 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21019 Roland McGrath <roland@hack.frob.com>
21021 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21022 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21024 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21026 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21027 __executable_start symbol instead of _start.
21029 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21031 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21032 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21034 * sysdeps/gnu/ldsodefs.h: ... this new file.
21036 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21037 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21038 instead of ELFOSABI_LINUX.
21040 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21041 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21042 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21043 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21045 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21046 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21047 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21049 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21050 (ibm_extended_long_double): Add ieee_nan member.
21051 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21052 (do_test): New function.
21054 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21056 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21057 functions, renamed from truncdfsf_test, trunctfsf_test,
21059 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21061 (do_test): Run all these.
21063 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21065 * argp/argp-help.c: Fix typos.
21066 * argp/argp-parse.c: Likewise.
21067 * debug/backtracesyms.c: Likewise.
21068 * elf/elf.h: Likewise.
21069 * malloc/malloc.c: Likewise.
21070 * nis/nis_print.c: Likewise.
21071 * resolv/res_comp.c: Likewise.
21072 * stdlib/stdlib.h: Likewise.
21073 * sunrpc/clnt_tcp.c: Likewise.
21074 * sunrpc/clnt_udp.c: Likewise.
21075 * sunrpc/clnt_unix.c: Likewise.
21076 * sysdeps/unix/bsd/ptsname.c: Likewise.
21077 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21078 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21085 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21087 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21089 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21092 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21095 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21096 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21097 ($(objpfx)bug-dl-leaf): New rule.
21098 ($(objpfx)bug-dl-leaf.so): Likewise.
21099 ($(objpfx)bug-dl-leaf.out): Likewise.
21100 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21101 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21102 * dlfcn/bug-dl-leaf.c: New test.
21103 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21104 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21105 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21106 (dlclose): Likewise.
21107 (dlmopen): Likewise.
21109 2013-08-27 Roland McGrath <roland@hack.frob.com>
21111 * include/netdb.h [!_ISOMAC]:
21112 Don't include <tls.h>.
21113 (h_errno, __libc_h_errno): Move declaration and macros out of
21116 * include/resolv.h [_RESOLV_H_]:
21117 Don't include <tls.h>.
21118 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21119 * resolv/res_libc.c: Don't include <tls.h>.
21120 (_res): Use __attribute__ ((nocommon)) in place of
21121 __attribute__ ((section (".bss"))).
21123 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21124 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21126 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21128 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21129 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21131 * resolv/res_mkquery.c: Include <sys/time.h>.
21133 * inet/ifreq.c: Moved to ...
21134 * sysdeps/unix/ifreq.c: ... here.
21135 * inet/ifreq.c: New file, true stub version.
21137 * socket/sa_len.c: New file.
21138 * socket/Makefile (aux): Add it.
21139 * sysdeps/unix/sysv/linux/Makefile
21140 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21141 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21142 and #include <socket/sa_len.c>.
21143 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21144 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21146 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21147 * bits/socket.h: ... here.
21149 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21150 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21151 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21153 2013-08-27 Andreas Schwab <schwab@suse.de>
21156 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21157 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21158 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21159 * string/test-strcasecmp.c (test_main): Run tests in several
21161 * string/test-strncasecmp.c (test_main): Likewise.
21163 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21164 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21165 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21167 (__strncasecmp_ssse3) [PIC]: Likewise.
21169 2013-08-26 Roland McGrath <roland@hack.frob.com>
21171 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21173 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21174 instead of explicitly declaring xdecrypt.
21175 * nis/nss_nis/nis-publickey.c: Likewise.
21177 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21180 * nscd/aicache.c: Include res_hconf.h.
21181 (addhstaiX): Initialize res_hconf.
21183 2013-08-26 Andreas Schwab <schwab@suse.de>
21185 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21186 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21188 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21190 * nscd/aicache.c (addhstaiX): Fix indentation.
21192 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21194 * configure.ac: Quote $build_pt_chown test.
21195 * configure: Regenerated.
21197 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21200 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21201 * math/s_cexpf.c (__cexpf): Likewise.
21202 * math/s_cexpl.c (__cexpl): Likewise.
21203 * math/libm-test.inc (cexp_test_data): Correct expected return
21204 value for NaN + i0. Add another test.
21206 2013-08-22 David S. Miller <davem@davemloft.net>
21208 * po/ca.po: Update Catalan translation from translation project.
21209 * po/uk.po: Add Ukrainian translations from translation project.
21211 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21214 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21215 is infinite, not alongside NaN test.
21216 * math/s_fdimf.c (__fdimf): Likewise.
21217 * math/s_fdiml.c (__fdiml): Likewise.
21218 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21219 errno is unchanged.
21221 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21223 * argp/argp-help.c: Fix typos.
21224 * crypt/speeds.c: Likewise.
21225 * csu/check_fds.c: Likewise.
21226 * elf/dl-load.c: Likewise.
21227 * elf/dl-open.c: Likewise.
21228 * elf/reldep3.c: Likewise.
21229 * elf/reldep.c: Likewise.
21230 * elf/sprof.c: Likewise.
21231 * iconv/iconv_charmap.c: Likewise.
21232 * iconv/skeleton.c: Likewise.
21233 * iconv/strtab.c: Likewise.
21234 * io/lockf64.c: Likewise.
21235 * libio/libioP.h: Likewise.
21236 * resolv/gai_notify.c: Likewise.
21237 * resolv/ns_name.c: Likewise.
21238 * resolv/ns_samedomain.c: Likewise.
21239 * resolv/res_send.c: Likewise.
21240 * stdlib/random.c: Likewise.
21241 * sunrpc/rpc/xdr.h: Likewise.
21242 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21243 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21244 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21245 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21246 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21247 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21249 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21250 * sysdeps/mach/hurd/check_fds.c: Likewise.
21251 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21252 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21253 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21254 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21255 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21256 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21257 * sysdeps/pthread/aio_notify.c: Likewise.
21258 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21259 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21260 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21261 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21262 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21264 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21266 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21267 version if bit_Slow_SSE4_2 is set.
21268 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21269 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21271 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21274 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21275 trampoline stack frame information.
21276 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21277 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21278 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21279 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21280 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21281 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21282 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21283 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21285 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21286 interrupting a syscall and set with option SA_SIGINFO.
21288 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21291 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21292 argument is infinite.
21293 * math/s_cprojf.c (__cprojf): Likewise.
21294 * math/s_cprojl.c (__cprojl): Likewise.
21295 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21296 * math/libm-test.inc (cproj_test_data): Add more tests.
21298 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21300 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21301 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21302 size. Use __ffs to determine corresponding shift.
21304 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21305 Roland McGrath <roland@hack.frob.com>
21307 * Makefile (INSTALL): Remove trailing blank lines from output of
21310 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21312 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21313 Align 32 bit compat elf_greg to 8 bytes.
21315 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21317 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21319 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21321 * string/strcoll_l.c (coll_seq): New structure.
21322 (get_next_seq_cached): New function.
21323 (get_next_seq): New function.
21324 (do_compare): New function.
21325 (STRCOLL): Use GNU style definition. Simplify implementation
21326 by using get_next_seq, get_next_seq_cached and do_compare.
21328 2013-08-16 Florian Weimer <fweimer@redhat.com>
21332 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21334 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21336 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21337 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21338 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21340 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21341 GETDENTS_64BIT_ALIGNED.
21342 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21343 * manual/filesys.texi (Reading/Closing Directory): Document
21344 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21346 * manual/conf.texi (Limits for Files): Add portability note to
21347 NAME_MAX, PATH_MAX.
21348 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21350 2013-08-13 Andreas Schwab <schwab@suse.de>
21353 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21355 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21356 LDBL_MAX_EXP >= 16384]: Add tests for it.
21358 2013-08-12 David S. Miller <davem@davemloft.net>
21360 * version.h (RELEASE): Set to "development".
21361 (VERSION): Set to "2.18.90".
21362 * NEWS: Add 2.19 section.
21364 2013-08-03 David S. Miller <davem@davemloft.net>
21366 * po/ko.po: Update Korean translation from translation project.
21368 2013-08-01 David S. Miller <davem@davemloft.net>
21370 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21371 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21374 2013-07-30 David S. Miller <davem@davemloft.net>
21376 * po/fr.po: Update French translation from translation project.
21378 2013-07-28 David S. Miller <davem@davemloft.net>
21380 * po/cs.po: Update Czech translation from translation project.
21382 * po/sv.po: Update Swedish translation from translation project.
21384 2013-07-27 David S. Miller <davem@davemloft.net>
21386 * po/eo.po: Update Esperanto translation from translation project.
21388 * po/vi.po: Update Vietnamese translation from translation project.
21390 * po/de.po: Update German translation from translation project.
21392 2013-07-26 David S. Miller <davem@davemloft.net>
21394 * po/bg.po: Update Bulgarian translation from translation project.
21396 * po/nl.po: Update Dutch translation from translation project.
21397 * po/pl.po: Update Polish translation from translation project.
21398 * po/ru.po: Update Russian translation from translation project.
21400 2013-07-24 David S. Miller <davem@davemloft.net>
21402 * po/libc.pot: Update.
21404 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21406 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21407 variable page size.
21408 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21409 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21410 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21412 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21414 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21416 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21417 Andreas Schwab <schwab@suse.de>
21418 Roland McGrath <roland@hack.frob.com>
21419 Joseph Myers <joseph@codesourcery.com>
21420 Carlos O'Donell <carlos@redhat.com>
21423 * config.h.in: Define HAVE_PT_CHOWN.
21424 * config.make.in (build-pt-chown): New variable.
21425 * configure.in (--enable-pt_chown): New configure option.
21426 * configure: Regenerate.
21427 * login/Makefile: Include Makeconfig. Build pt_chown only if
21428 build-pt-chown is enabled.
21429 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21430 pt_chown to fix pty ownership.
21431 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21433 * manual/install.texi (Configuring and compiling): Mention
21434 --enable-pt_chown. Add @findex for grantpt.
21435 * INSTALL: Regenerate.
21437 2013-07-20 David S. Miller <davem@davemloft.net>
21439 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21440 difference between 32-bit and 64-bit.
21442 2013-07-15 Carlos O'Donell <carlos@redhat.com>
21445 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21446 Avoid system header dependency with -ffreestanding.
21447 ($(objpfx)bits/syscall%d): Likewise.
21449 2013-07-13 David S. Miller <davem@davemloft.net>
21451 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21452 underflows from atanl/atan2l due to bug 15319.
21453 (casinh_test_data): Likewise.
21455 2013-07-07 David S. Miller <davem@davemloft.net>
21457 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21459 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21461 * sysdeps/i386/fpu/libm-test-ulps: Update.
21462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21464 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21466 * configure.in (--enable-lock-elision): Fix message text.
21467 * INSTALL: Regenerate.
21468 * configure: Regenerate.
21470 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21474 2013-07-03 Andreas Jaeger <aj@suse.de>
21476 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21478 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21479 (ptrace_peeksiginfo_args): Add.
21480 (__ptrace_peeksiginfo_flags): Add.
21481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21483 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21485 2013-07-03 Allan McRae <allan@archlinux.org>
21487 * sysdeps/i386/fpu/libm-test-ulps: Update.
21489 2013-07-02 David S. Miller <davem@davemloft.net>
21491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21493 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21497 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21499 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21502 2013-07-02 Andi Kleen <ak@linux.intel.com>
21504 * config.h.in (ENABLE_LOCK_ELISION): Add.
21505 * configure.in (--enable-lock-elision): Add option.
21506 * manual/install.texi: Document --enable lock elision.
21507 * configure: Regenerate
21508 * INSTALL: Regenerate.
21510 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21512 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21513 SSE4.2 strcasecmp for libc.a.
21514 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21516 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21519 * soft-fp/op-common.h (_FP_FMA): New macro.
21520 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21521 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21522 (_FP_MUL_MEAT_1_imm): ... here.
21523 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21524 (_FP_MUL_MEAT_1_wide): ... here.
21525 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21526 (_FP_MUL_MEAT_1_hard): ... here.
21527 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21528 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21529 (_FP_MUL_MEAT_2_wide): ... here.
21530 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21531 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21532 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21533 (_FP_MUL_MEAT_2_gmp): ... here.
21534 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21535 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21536 (_FP_MUL_MEAT_4_wide): ... here.
21537 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21538 (_FP_MUL_MEAT_4_gmp): ... here.
21539 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21540 (_FP_WFRACBITS_DW_S): Likewise.
21541 (_FP_WFRACXBITS_DW_S): Likewise.
21542 (_FP_HIGHBIT_DW_S): Likewise.
21543 (FP_FMA_S): Likewise.
21544 (_FP_FRAC_HIGH_DW_S): Likewise.
21545 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21546 (_FP_WFRACBITS_DW_D): Likewise.
21547 (_FP_WFRACXBITS_DW_D): Likewise.
21548 (_FP_HIGHBIT_DW_D): Likewise.
21549 (FP_FMA_D): Likewise.
21550 (_FP_FRAC_HIGH_DW_D): Likewise.
21551 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21552 (_FP_WFRACBITS_DW_E): Likewise.
21553 (_FP_WFRACXBITS_DW_E): Likewise.
21554 (_FP_HIGHBIT_DW_E): Likewise.
21555 (FP_FMA_E): Likewise.
21556 (_FP_FRAC_HIGH_DW_E): Likewise.
21557 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21558 (_FP_WFRACBITS_DW_Q): Likewise.
21559 (_FP_WFRACXBITS_DW_Q): Likewise.
21560 (_FP_HIGHBIT_DW_Q): Likewise.
21561 (FP_FMA_Q): Likewise.
21562 (_FP_FRAC_HIGH_DW_Q): Likewise.
21563 * soft-fp/fmasf4.c: New file.
21564 * soft-fp/fmadf4.c: Likewise.
21565 * soft-fp/fmatf4.c: Likewise.
21567 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21570 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21574 (index_Slow_SSE4_2): Likewise.
21575 (index_Prefer_PMINUB_for_stringop): Likewise.
21576 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21577 bit_Slow_SSE4_2 is set.
21578 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21579 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21581 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21583 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21584 rtld_global._dl_hwcap2.
21585 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21587 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21588 POWER8 feature descriptions defined in _dl_hwcap2.
21589 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21590 string handling for POWER8 feature bits.
21591 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21592 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21593 _dl_powerpc_cap_flags.
21594 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21595 * sysdeps/powerpc/rtld-global-offsets.sym
21596 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21597 _dl_hwcap2 in the rtld_global_ro structure.
21599 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21601 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21602 hardware capabilities in support of AT_HWCAP2.
21603 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21604 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21606 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21607 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21608 explicitly the unknown a_type display mechanism is used.
21609 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21610 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21612 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21613 to macro prototype for AT_HWCAP2 support.
21614 * sysdeps/i386/dl-procinfo.h: Likewise.
21615 * sysdeps/s390/dl-procinfo.h: Likewise.
21616 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21617 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21618 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21619 return -1 for unknown a_type display fallback.
21620 * sysdeps/sparc/dl-procinfo.h: Likewise.
21621 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21622 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21624 2013-06-28 Joseph Myers <joseph@codesourcery.com>
21626 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21627 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21629 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21632 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21633 mprotect making __stack_prot writable.
21635 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21636 Joseph Myers <joseph@codesourcery.com>
21638 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21639 as being properly aligned.
21641 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21643 * dlfcn/modstatic5.c: New file.
21644 * dlfcn/tststatic5.c: New file.
21645 * dlfcn/Makefile (tests): Add tststatic5.
21646 (tests-static): Likewise.
21647 (modules-names): Add modstatic5.
21648 (tststatic5-ENV): New variable.
21649 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21652 * elf/dl-support.c (_dl_main_map): New variable.
21653 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21654 (_dl_nns, _dl_load_adds): Set to 1.
21655 (_dl_initial_searchlist): Refer to _dl_main_map.
21656 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21657 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21658 call to _dl_get_origin.
21659 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21661 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21662 * dlfcn/modstatic3.c: New file.
21663 * dlfcn/tststatic3.c: New file.
21664 * dlfcn/tststatic4.c: New file.
21665 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21666 (tests-static): Likewise.
21667 (modules-names): Add modstatic3.
21668 (tststatic3-ENV, tststatic4-ENV): New variables.
21669 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21670 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21672 2013-06-26 Joseph Myers <joseph@codesourcery.com>
21674 * configure.in (CC): Require GCC version 4.4 or later.
21675 * configure: Regenerated.
21676 * manual/install.texi (Tools for Compilation): Update GCC version
21678 * INSTALL: Regenerated.
21680 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21683 * string/test-memcmp.c (check2): New.
21684 (main): Call check2.
21686 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21688 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21691 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21693 (dl_open_worker) [!SHARED]: ... here.
21695 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21697 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21699 2013-06-25 Richard Henderson <rth@redhat.com>
21701 * locale/programs/locarchive.c: Include <libc-internal.h>
21703 2013-06-25 Joseph Myers <joseph@codesourcery.com>
21705 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21706 trailing whitespace removed.
21708 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21711 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21712 * locale/programs/locarchive.c: Include libc-mmap.h.
21713 (prepare_address_space): Take two new outputs (the mmap base and len).
21714 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21716 (create_archive): Declare new mmap base and len values for
21717 prepare_address_space, and store the result in ah.
21718 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21719 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21720 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21721 Declare new mmap base and len values for
21722 prepare_address_space, and store the result in new_ah.
21723 (open_archive): Declare new mmap base and len values for
21724 prepare_address_space, and store the result in ah.
21725 (close_archive): If ah->mmap_base is not NULL, use that and
21726 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21727 * sysdeps/generic/libc-mmap.h: New file.
21729 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21731 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21732 (ALIGN_UP): Likewise.
21733 (PTR_ALIGN_DOWN): Likewise.
21734 (PTR_ALIGN_UP): Likewise.
21736 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21738 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21739 entry mapped to PPC_PLATFORM_POWER8.
21740 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21742 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21743 (_dl_string_platform): Add case for exporting platform position for
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21746 search path to sysdeps/powerpc/powerpc32/power8 directory.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21748 search path to sysdeps/powerpc/powerpc64/power8 directory.
21749 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21750 power7 directories.
21751 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21752 power7 directories.
21754 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21756 * INSTALL: Regenerate.
21758 * nscd/connections.c (nscd_init): Fix comment.
21760 2013-06-22 Joseph Myers <joseph@codesourcery.com>
21762 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21765 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21766 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21768 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21770 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21772 (DL_DST_REQ_STATIC): Remove macro.
21774 2013-06-21 Joseph Myers <joseph@codesourcery.com>
21777 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21778 with a shift of 0 bits.
21780 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21782 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21785 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21788 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21790 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21792 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21793 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21794 accepts -fno-tree-loop-distribute-patterns.
21795 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21796 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21798 * string/memset.c (memset): Likewise.
21799 * string/test-memmove.c (simple_memmove): Disable loop transformation
21801 * string/test-memset.c (simple_memset): Likewise.
21802 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21803 * benchtests/bench-memset.c (simple_memset): Likewise.
21804 * configure: Regenerated.
21806 2013-06-20 Joseph Myers <joseph@codesourcery.com>
21808 * math/test-misc.c (main): Ignore fesetround failure when failures
21809 of subsequent rounding tests would be ignored.
21812 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21813 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21814 * math/fegetenv.c (__fegetenv): Return 0.
21815 * math/fegetexcept.c (fegetexcept): Return 0.
21816 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21818 * math/feholdexcpt.c (feholdexcept): Return 0.
21819 * math/fesetenv.c (__fesetenv): Return 0.
21820 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21821 argument FE_TONEAREST.
21822 * math/feupdateenv.c (__feupdateenv): Return 0.
21823 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21825 2013-06-18 Roland McGrath <roland@hack.frob.com>
21827 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21828 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21829 ($(objpfx)rtld-%.os rules): Use them.
21831 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21833 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21836 2013-06-17 Roland McGrath <roland@hack.frob.com>
21838 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21839 length of target pattern, then descending length of dependency pattern.
21840 * configure.in (AWK): Require gawk 3.1.2 or newer.
21841 * manual/install.texi (Tools for Compilation): Say that we do.
21842 * configure: Regenerated.
21844 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21845 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21846 * scripts/sysd-rules.awk: ... this new script.
21847 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21848 than a glob-style pattern.
21850 2013-06-17 Joseph Myers <joseph@codesourcery.com>
21852 * math/test-misc.c (main): Do not treat incorrectly rounded
21853 conversions as failure unless ROUNDING_TESTS passes.
21855 2013-06-15 Joseph Myers <joseph@codesourcery.com>
21858 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21859 restore exception state around main square root computation, then
21860 check for inexactness explicitly.
21862 * math/libm-test.inc (fma_test_data): Add another test.
21864 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21866 * manual/threads.texi (Non-POSIX Extensions): New document
21867 node. Document pthread_getattr_default_np and
21868 pthread_setattr_default_np.
21870 * Versions.def (libpthread): Add GLIBC_2.18.
21871 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21880 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21891 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21894 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21896 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21897 H.J. Lu <hjl.tools@gmail.com>
21900 * sysdeps/x86_64/rtld-memset.c: Remove file.
21901 * sysdeps/x86_64/rtld-memset.S: New file.
21903 2013-06-14 Joseph Myers <joseph@codesourcery.com>
21905 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21906 (test_in_one_mode): Take arguments for whether the rounding mode
21907 is supported for each floating-point type.
21908 (do_test): Pass new arguments to test_in_one_mode using
21911 2013-06-13 Roland McGrath <roland@hack.frob.com>
21913 * posix/tst-waitid.c (do_test): Distinguish different instances of
21914 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21915 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21916 before entering the kernel for waitpid.
21918 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21920 * NEWS: Fix note on clock function precision. Text by Roland
21923 2013-06-13 Roland McGrath <roland@hack.frob.com>
21925 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21926 it into place only when and if the sanity check passes.
21928 2013-06-13 Joseph Myers <joseph@codesourcery.com>
21930 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21931 output for whether conversion result is exact. Take argument
21932 indicating whether type is IBM long double.
21933 (round_for_all): Change need_exact field to ibm_ld.
21934 * stdlib/tst-strtod-round.c (struct exactness): New type.
21935 (struct test): Change bool ld_ok field to struct exactness exact.
21936 (TEST): Update all definitions for change to field.
21937 (tests): Regenerate array contents.
21938 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21939 field value. Check for IBM long double here.
21940 (do_test): Update calls to test_in_one_mode.
21942 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21945 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21946 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21948 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21951 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21952 generated by the compiler on loop optimizations.
21953 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21954 general definitions.
21956 2013-06-12 Joseph Myers <joseph@codesourcery.com>
21958 * math/bug-nextafter.c: Include <math-tests.h>.
21959 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21961 * math/bug-nexttoward.c: Include <math-tests.h>.
21962 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21964 * math/test-misc.c: Include <math-tests.h>.
21965 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21968 2013-06-12 Andreas Jaeger <aj@suse.de>
21970 * po/ia.po: Update Interlingua translation from translation
21973 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21975 * include/fenv.h: Include stdbool.h.
21976 (struct rm_ctx): New structure.
21977 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21979 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21980 (SET_RESTORE_ROUNDF): Likewise.
21981 (SET_RESTORE_ROUNDL): Likewise.
21982 (SET_RESTORE_ROUND_NOEX): Likewise.
21983 (SET_RESTORE_ROUND_NOEXF): Likewise.
21984 (SET_RESTORE_ROUND_NOEXL): Likewise.
21985 (SET_RESTORE_ROUND_53BIT): Likewise.
21986 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21987 (libc_feresetround_noexf_ctx): Likewise.
21988 (libc_feresetround_noexl_ctx): Likewise.
21989 (libc_feholdsetround_53bit_ctx): Likewise.
21990 (libc_feresetround_53bit_ctx): Likewise.
21991 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21992 (libc_feholdexcept_setround_sse_ctx): New function.
21993 (libc_fesetenv_sse_ctx): Likewise.
21994 (libc_feupdateenv_sse_ctx): Likewise.
21995 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21996 (libc_feholdexcept_setround_387_ctx): Likewise.
21997 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21998 (libc_feholdsetround_387_prec_ctx): Likewise.
21999 (libc_feholdsetround_387_ctx): Likewise.
22000 (libc_feholdsetround_387_53bit_ctx): Likewise.
22001 (libc_feholdsetround_sse_ctx): Likewise.
22002 (libc_feresetround_sse_ctx): Likewise.
22003 (libc_feresetround_387_ctx): Likewise.
22004 (libc_feupdateenv_387_ctx): Likewise.
22005 (libc_feholdexcept_setroundf_ctx): Define macro.
22006 (libc_fesetenvf_ctx): Likewise.
22007 (libc_feupdateenvf_ctx): Likewise.
22008 (libc_feholdsetroundf_ctx): Likewise.
22009 (libc_feresetroundf_ctx): Likewise.
22010 (libc_feholdexcept_setround_ctx): Likewise.
22011 (libc_fesetenv_ctx): Likewise.
22012 (libc_feupdateenv_ctx): Likewise.
22013 (libc_feholdsetround_ctx): Likewise.
22014 (libc_feresetround_ctx): Likewise.
22015 (libc_feholdexcept_setroundl_ctx): Likewise.
22016 (libc_feupdateenvl_ctx): Likewise.
22017 (libc_feholdsetroundl_ctx): Likewise.
22018 (libc_feresetroundl_ctx): Likewise.
22019 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22020 (libc_feresetround_53bit_ctx): Likewise.
22022 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22024 * locale/iso-639.def: Convert to UTF-8.
22026 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22028 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22029 (EXCEPTION_TESTS_double): Likewise.
22030 (EXCEPTION_TESTS_long_double): Likewise.
22031 (EXCEPTION_TESTS): Likewise.
22032 * math/libm-test.inc (test_exceptions): Only test exceptions if
22033 EXCEPTION_TESTS (FLOAT).
22035 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22037 * benchtests/Makefile (string-bench): Add strcpy_chk and
22039 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22040 * benchtests/bench-stpcpy_chk.c: New file.
22041 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22042 * benchtests/bench-strcpy_chk.c: New file.
22043 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22045 (do_test): Likewise.
22047 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22049 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22050 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22051 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22052 with tabs where appropriate.
22053 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22055 [PPC_PLATFORM_PPC440]: Likewise.
22056 [PPC_PLATFORM_PPC464]: Likewise.
22057 [PPC_PLATFORM_PPC476]: Likewise.
22058 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22059 ppc464, and ppc476 platform strings merging from ports/
22062 2013-06-11 Andreas Schwab <schwab@suse.de>
22065 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22066 (from_ucs4_idx): Regenerate.
22067 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22068 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22069 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22070 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22071 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22072 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22073 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22074 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22075 from FROM_LOOP and TO_LOOP specific macros.
22076 (BODY): Handle combining characters.
22077 * iconvdata/BIG5HKSCS.irreversible: Update.
22078 * iconvdata/BIG5HKSCS.precomposed: New file.
22079 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22081 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22083 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22085 * include/sys/time.h: Fix indentation and add copyright header.
22087 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22088 (do_test): Likewise.
22089 * string/test-memchr.c (do_one_test): Likewise.
22090 (do_test): Likewise.
22091 * string/test-memcmp.c (do_one_test): Likewise.
22092 (do_test): Likewise.
22093 * string/test-memcpy.c (do_one_test): Likewise.
22094 (do_test): Likewise.
22095 * string/test-memmem.c (do_one_test): Likewise.
22096 (do_test): Likewise.
22097 (do_random_tests): Likewise.
22098 * string/test-memmove.c (do_one_test): Likewise.
22099 (do_test): Likewise.
22100 * string/test-memset.c (do_one_test): Likewise.
22101 (do_test): Likewise.
22102 * string/test-rawmemchr.c (do_one_test): Likewise.
22103 (do_test): Likewise.
22104 * string/test-strcasecmp.c (do_one_test): Likewise.
22105 (do_test): Likewise.
22106 * string/test-strcasestr.c (do_one_test): Likewise.
22107 (do_test): Likewise.
22108 * string/test-strcat.c (do_one_test): Likewise.
22109 (do_test): Likewise.
22110 * string/test-strchr.c (do_one_test): Likewise.
22111 (do_test): Likewise.
22112 * string/test-strcmp.c (do_one_test): Likewise.
22113 (do_test): Likewise.
22114 * string/test-strcpy.c (do_one_test): Likewise.
22115 (do_test): Likewise.
22116 * string/test-string.h: Likewise.
22117 (test_init): Likewise.
22118 * string/test-strlen.c (do_one_test): Likewise.
22119 (do_test): Likewise.
22120 * string/test-strncasecmp.c (do_one_test): Likewise.
22121 (do_test): Likewise.
22122 * string/test-strncat.c (do_one_test): Likewise.
22123 (do_test): Likewise.
22124 * string/test-strncmp.c (do_one_test): Likewise.
22125 (do_test_limit): Likewise.
22126 (do_test): Likewise.
22127 * string/test-strncpy.c (do_one_test): Likewise.
22128 (do_test): Likewise.
22129 * string/test-strnlen.c (do_one_test): Likewise.
22130 (do_test): Likewise.
22131 * string/test-strpbrk.c (do_one_test): Likewise.
22132 (do_test): Likewise.
22133 * string/test-strrchr.c (do_one_test): Likewise.
22134 (do_test): Likewise.
22135 * string/test-strspn.c (do_one_test): Likewise.
22136 (do_test): Likewise.
22137 * string/test-strstr.c (do_one_test): Likewise.
22138 (do_test): Likewise.
22140 * benchtests/Makefile (string-bench): Add string benchmarks.
22141 * benchtests/bench-bcopy-ifunc.c: New file.
22142 * benchtests/bench-bcopy.c: New file.
22143 * benchtests/bench-bzero-ifunc.c: New file.
22144 * benchtests/bench-bzero.c: New file.
22145 * benchtests/bench-memccpy-ifunc.c: New file.
22146 * benchtests/bench-memccpy.c: New file.
22147 * benchtests/bench-memchr-ifunc.c: New file.
22148 * benchtests/bench-memchr.c: New file.
22149 * benchtests/bench-memcmp-ifunc.c: New file.
22150 * benchtests/bench-memcmp.c: New file.
22151 * benchtests/bench-memmem-ifunc.c: New file.
22152 * benchtests/bench-memmem.c: New file.
22153 * benchtests/bench-memmove-ifunc.c: New file.
22154 * benchtests/bench-memmove.c: New file.
22155 * benchtests/bench-mempcpy-ifunc.c: New file.
22156 * benchtests/bench-mempcpy.c: New file.
22157 * benchtests/bench-memset-ifunc.c: New file.
22158 * benchtests/bench-memset.c: New file.
22159 * benchtests/bench-rawmemchr-ifunc.c: New file.
22160 * benchtests/bench-rawmemchr.c: New file.
22161 * benchtests/bench-stpcpy-ifunc.c: New file.
22162 * benchtests/bench-stpcpy.c: New file.
22163 * benchtests/bench-stpncpy-ifunc.c: New file.
22164 * benchtests/bench-stpncpy.c: New file.
22165 * benchtests/bench-strcasecmp-ifunc.c: New file.
22166 * benchtests/bench-strcasecmp.c: New file.
22167 * benchtests/bench-strcasestr-ifunc.c: New file.
22168 * benchtests/bench-strcasestr.c: New file.
22169 * benchtests/bench-strcat-ifunc.c: New file.
22170 * benchtests/bench-strcat.c: New file.
22171 * benchtests/bench-strchr-ifunc.c: New file.
22172 * benchtests/bench-strchr.c: New file.
22173 * benchtests/bench-strchrnul-ifunc.c: New file.
22174 * benchtests/bench-strchrnul.c: New file.
22175 * benchtests/bench-strcmp-ifunc.c: New file.
22176 * benchtests/bench-strcmp.c: New file.
22177 * benchtests/bench-strcpy-ifunc.c: New file.
22178 * benchtests/bench-strcpy.c: New file.
22179 * benchtests/bench-strcspn-ifunc.c: New file.
22180 * benchtests/bench-strcspn.c: New file.
22181 * benchtests/bench-strlen-ifunc.c: New file.
22182 * benchtests/bench-strlen.c: New file.
22183 * benchtests/bench-strncasecmp-ifunc.c: New file.
22184 * benchtests/bench-strncasecmp.c: New file.
22185 * benchtests/bench-strncat-ifunc.c: New file.
22186 * benchtests/bench-strncat.c: New file.
22187 * benchtests/bench-strncmp-ifunc.c: New file.
22188 * benchtests/bench-strncmp.c: New file.
22189 * benchtests/bench-strncpy-ifunc.c: New file.
22190 * benchtests/bench-strncpy.c: New file.
22191 * benchtests/bench-strnlen-ifunc.c: New file.
22192 * benchtests/bench-strnlen.c: New file.
22193 * benchtests/bench-strpbrk-ifunc.c: New file.
22194 * benchtests/bench-strpbrk.c: New file.
22195 * benchtests/bench-strrchr-ifunc.c: New file.
22196 * benchtests/bench-strrchr.c: New file.
22197 * benchtests/bench-strspn-ifunc.c: New file.
22198 * benchtests/bench-strspn.c: New file.
22199 * benchtests/bench-strstr-ifunc.c: New file.
22200 * benchtests/bench-strstr.c: New file.
22202 * benchtests/Makefile: Disable parallel execution of targets.
22203 (string-bench): Add memcpy.
22204 (benchset): New variable to store a list of benchmark sets.
22205 (bench-func): Renamed from bench.
22206 (bench-set): New target.
22207 (bench): Depend on bench-func and bench-set.
22208 * benchtests/README: Add section on benchmark sets.
22209 * benchtests/bench-memcpy-ifunc.c: New file.
22210 * benchtests/bench-memcpy.c: New file.
22211 * benchtests/bench-string.h: New file.
22213 2013-06-11 Andreas Schwab <schwab@suse.de>
22216 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22217 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22218 values in the triple.
22219 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22220 terminator in the group key.
22222 2013-06-11 Andreas Jaeger <aj@suse.de>
22224 * po/zh_TW.po: Update Chinese (traditional) translation from
22225 translation project.
22227 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22229 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22230 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22231 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22232 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22233 (clock_getcpuclockid): Likewise.
22234 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22235 Add weak_alias and libc_hidden_def.
22236 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22237 * rt/clock_gettime.c (clock_gettime): Rename to
22238 __clock_gettime. Add weak_alias and libc_hidden_def.
22239 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22240 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22241 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22242 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22243 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22245 * rt/clock_settime.c (clock_settime): Rename to
22246 __clock_settime. Add weak_alias and libc_hidden_def.
22247 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22249 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22251 * mach/err_boot.sub: Remove trailing whitespace.
22252 * mach/err_ipc.sub: Likewise.
22253 * mach/err_mach.sub: Likewise.
22255 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22256 (ROUNDING_TESTS_double): Likewise.
22257 (ROUNDING_TESTS_long_double): Likewise.
22258 (ROUNDING_TESTS): Likewise.
22259 * math/libm-test.inc: Include <math-tests.h>.
22260 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22261 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22262 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22263 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22265 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22267 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22270 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22272 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22273 otherwise empty TRANS lines.
22274 * sysdeps/gnu/errlist.c: Regenerated.
22276 * catgets/gencat.c (error_print): Use (void) in function
22278 * crypt/crypt_util.c (__init_des): Likewise.
22279 * crypt/speeds.c (Stop): Likewise.
22281 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22282 * inet/ruserpass.c (token): Likewise.
22283 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22284 * intl/localealias.c (extend_alias_table): Likewise.
22285 * intl/plural-exp.c (init_germanic_plural): Likewise.
22286 * libio/fcloseall.c (__fcloseall): Likewise.
22287 * libio/genops.c (_IO_flush_all): Likewise.
22288 (_IO_flush_all_linebuffered): Likewise.
22289 (_IO_cleanup): Likewise.
22290 (_IO_iter_begin): Likewise.
22291 (_IO_iter_end): Likewise.
22292 (_IO_list_lock): Likewise.
22293 (_IO_list_unlock): Likewise.
22294 (_IO_list_resetlock): Likewise.
22295 * libio/getchar.c (getchar): Likewise.
22296 * libio/getchar_u.c (getchar_unlocked): Likewise.
22297 * libio/getwchar.c (getwchar): Likewise.
22298 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22299 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22300 * login/getpt.c (__getpt): Likewise.
22301 * login/tst-utmp.c (main): Likewise.
22302 * malloc/hooks.c (__malloc_check_init): Likewise.
22303 * malloc/malloc.c (__malloc_stats): Likewise.
22304 * malloc/mtrace.c (tr_break): Likewise.
22305 (mtrace): Likewise.
22306 (muntrace): Likewise.
22307 * misc/fstab.c (endfsent): Likewise.
22308 * misc/getclktck.c (__getclktck): Likewise.
22309 * misc/getdtsz.c (__getdtablesize): Likewise.
22310 * misc/gethostid.c (gethostid): Likewise.
22311 * misc/getpagesize.c (__getpagesize): Likewise.
22312 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22313 (__get_nprocs): Likewise.
22314 (__get_phys_pages): Likewise.
22315 (__get_avphys_pages): Likewise.
22316 * misc/getttyent.c (getttyent): Likewise.
22317 (setttyent): Likewise.
22318 (endttyent): Likewise.
22319 * misc/getusershell.c (getusershell): Likewise.
22320 (endusershell): Likewise.
22321 (setusershell): Likewise.
22322 (initshells): Likewise.
22323 * misc/hsearch.c (__hdestroy): Likewise.
22324 * misc/sync.c (sync): Likewise.
22325 * misc/syslog.c (closelog_internal): Likewise.
22326 (closelog): Likewise.
22327 * misc/ttyslot.c (ttyslot): Likewise.
22328 * misc/vhangup.c (vhangup): Likewise.
22329 * posix/fork.c (__fork): Likewise.
22330 * posix/getegid.c (__getegid): Likewise.
22331 * posix/geteuid.c (__geteuid): Likewise.
22332 * posix/getgid.c (__getgid): Likewise.
22333 * posix/getpid.c (__getpid): Likewise.
22334 * posix/getppid.c (__getppid): Likewise.
22335 * posix/getuid.c (__getuid): Likewise.
22336 * posix/pause.c (pause): Likewise.
22337 * posix/setpgrp.c (setpgrp): Likewise.
22338 * posix/setsid.c (__setsid): Likewise.
22339 * posix/test-vfork.c (noop): Likewise.
22340 * resolv/gethnamaddr.c (_endhtent): Likewise.
22341 (_gethtent): Likewise.
22342 (ht_endhostent): Likewise.
22343 (gethostent): Likewise.
22344 (dns_service): Likewise.
22345 * stdlib/drand48.c (drand48): Likewise.
22346 * stdlib/lrand48.c (lrand48): Likewise.
22347 * stdlib/mrand48.c (mrand48): Likewise.
22348 * stdlib/rand.c (rand): Likewise.
22349 * stdlib/random.c (__random): Likewise.
22350 * stdlib/setenv.c (clearenv): Likewise.
22351 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22352 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22353 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22354 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22355 (__get_nprocs): Likewise.
22356 (__get_phys_pages): Likewise.
22357 (__get_avphys_pages): Likewise.
22358 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22359 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22360 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22361 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22362 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22363 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22364 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22365 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22366 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22367 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22368 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22369 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22370 * sysdeps/posix/clock.c (clock): Likewise.
22371 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22372 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22373 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22374 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22375 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22376 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22377 (__get_nprocs_conf): Likewise.
22378 (__get_phys_pages): Likewise.
22379 (__get_avphys_pages): Likewise.
22380 * time/clock.c (clock): Likewise.
22381 * time/tzset.c (__tzname_max): Likewise.
22383 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22385 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22386 (__bswap_32): Do not use "register".
22387 * crypt/crypt.c (_ufc_doit_r): Likewise.
22388 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22389 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22390 * gmon/gmon.c (__monstartup): Likewise.
22391 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22392 * hurd/hurdmalloc.c (more_memory): Likewise.
22393 (malloc): Likewise.
22395 (realloc): Likewise.
22396 (malloc_fork_prepare): Likewise.
22397 (malloc_fork_parent): Likewise.
22398 (malloc_fork_child): Likewise.
22399 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22400 (_svcauth_des): Likewise.
22401 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22402 * inet/inet_net.c (inet_network): Likewise.
22403 * inet/inet_netof.c (inet_netof): Likewise.
22404 * inet/rcmd.c (__validuser2_sa): Likewise.
22405 * io/fts.c (fts_open): Likewise.
22406 (fts_load): Likewise.
22407 (fts_close): Likewise.
22408 (fts_read): Likewise.
22409 (fts_children): Likewise.
22410 (fts_build): Likewise.
22411 (fts_stat): Likewise.
22412 (fts_sort): Likewise.
22413 (fts_alloc): Likewise.
22414 (fts_lfree): Likewise.
22415 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22416 (_IO_file_xsgetn): Likewise.
22417 (_IO_file_xsgetn_mmap): Likewise.
22418 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22419 (_IO_cookie_write): Likewise.
22420 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22421 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22422 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22423 * malloc/obstack.c (_obstack_begin): Likewise.
22424 (_obstack_begin_1): Likewise.
22425 (_obstack_newchunk): Likewise.
22426 (_obstack_allocated_p): Likewise.
22427 (obstack_free): Likewise.
22428 (_obstack_memory_used): Likewise.
22429 * misc/getttyent.c (getttynam): Likewise.
22430 (getttyent): Likewise.
22433 * misc/getusershell.c (initshells): Likewise.
22434 * misc/syslog.c (__vsyslog_chk): Likewise.
22435 * misc/ttyslot.c (ttyslot): Likewise.
22436 * nis/nis_hash.c (__nis_hash): Likewise.
22437 * posix/fnmatch_loop.c (FCT): Likewise.
22438 * posix/getconf.c (print_all): Likewise.
22440 * posix/getopt.c (exchange): Likewise.
22441 * posix/glob.c (globfree): Likewise.
22442 (prefix_array): Likewise.
22443 (__glob_pattern_type): Likewise.
22444 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22445 (NS_GET32): Likewise.
22446 (NS_PUT16): Likewise.
22447 (NS_PUT32): Likewise.
22448 * resolv/gethnamaddr.c (getanswer): Likewise.
22449 (gethostbyname2): Likewise.
22450 (gethostbyaddr): Likewise.
22451 (_gethtent): Likewise.
22452 (_gethtbyname2): Likewise.
22453 (_gethtbyaddr): Likewise.
22454 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22455 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22456 * resolv/res_init.c (__res_vinit): Likewise.
22457 (net_mask): Likewise.
22458 * resolv/res_mkquery.c (outchar): Likewise.
22460 * stdio-common/printf_fp.c (outchar): Likewise.
22462 * stdio-common/printf_fphex.c (outchar): Likewise.
22464 * stdio-common/printf_size.c (outchar): Likewise.
22466 * stdio-common/test_rdwr.c (main): Likewise.
22467 * stdio-common/tfformat.c (matches): Likewise.
22468 * stdio-common/vfprintf.c (outchar): Likewise.
22469 (printf_unknown): Likewise.
22470 (buffered_vfprintf): Likewise.
22471 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22472 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22473 (ReadFile): Likewise.
22474 * stdlib/qsort.c (SWAP): Likewise.
22475 (_quicksort): Likewise.
22476 * stdlib/setenv.c (__add_to_environ): Likewise.
22477 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22478 * stdlib/strtol_l.c (__strtol_l): Likewise.
22479 * stdlib/tst-strtod.c (main): Likewise.
22480 * stdlib/tst-strtol.c (main): Likewise.
22481 * stdlib/tst-strtoll.c (main): Likewise.
22482 * string/bits/string2.h (__strcmp_cc): Likewise.
22483 (__strcmp_cg): Likewise.
22484 (__strcspn_c1): Likewise.
22485 (__strcspn_c2): Likewise.
22486 (__strcspn_c3): Likewise.
22487 (__strspn_c1): Likewise.
22488 (__strspn_c2): Likewise.
22489 (__strspn_c3): Likewise.
22490 (__strsep_1c): Likewise.
22491 (__strsep_2c): Likewise.
22492 (__strsep_3c): Likewise.
22493 * string/memccpy.c (__memccpy): Likewise.
22494 * string/stpcpy.c (__stpcpy): Likewise.
22495 * string/strcmp.c (strcmp): Likewise.
22496 * string/strrchr.c (strrchr): Likewise.
22497 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22499 * sysdeps/mach/hurd/getcwd.c
22500 (_hurd_canonicalize_directory_name_internal): Likewise.
22501 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22502 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22503 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22504 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22505 Likewise, in both definitions.
22506 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22508 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22509 64] (__bswap_64): Likewise.
22510 * time/test_time.c (main): Likewise.
22511 * time/tzfile.c (__tzfile_read): Likewise.
22512 (__tzfile_compute): Likewise.
22513 * time/tzset.c (__tzset_parse_tz): Likewise.
22514 (tzset_internal): Likewise.
22515 (compute_change): Likewise.
22516 * wcsmbs/wcscat.c (__wcscat): Likewise.
22517 * wcsmbs/wcschr.c (wcschr): Likewise.
22518 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22519 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22520 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22521 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22522 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22523 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22524 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22525 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22526 * wcsmbs/wmemset.c (wmemset): Likewise.
22528 2013-06-06 Joseph Myers <joseph@codesourcery.com>
22530 * scripts/config.guess: Update to version 2013-05-16.
22531 * scripts/config.sub: Update to version 2013-04-24.
22532 * scripts/install-sh: Update to version 2011-11-20.07.
22533 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22534 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22536 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
22538 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22539 * elf/sln.c: Likewise.
22540 * hurd/hurd/ioctl.h: Likewise.
22541 * hurd/hurdmalloc.c: Likewise.
22542 * hurd/xattr.c: Likewise.
22543 * include/shlib-compat.h: Likewise.
22544 * inet/ruserpass.c: Likewise.
22545 * libio/iofgets_u.c: Likewise.
22546 * libio/iofgetws_u.c: Likewise.
22547 * locale/programs/ld-identification.c: Likewise.
22548 * locale/programs/ld-time.c: Likewise.
22549 * mach/msg-destroy.c: Likewise.
22550 * nss/nss_files/files-netgrp.c: Likewise.
22551 * resolv/res_data.c: Likewise.
22552 * soft-fp/op-1.h: Likewise.
22553 * soft-fp/op-2.h: Likewise.
22554 * soft-fp/op-4.h: Likewise.
22555 * soft-fp/op-common.h: Likewise.
22556 * stdio-common/printf_fphex.c: Likewise.
22557 * stdlib/strtod_l.c: Likewise.
22558 * sunrpc/rpc/clnt.h: Likewise.
22559 * sysdeps/generic/framestate.c: Likewise.
22560 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22561 * sysdeps/i386/bsd-setjmp.S: Likewise.
22562 * sysdeps/i386/__longjmp.S: Likewise.
22563 * sysdeps/i386/setjmp.S: Likewise.
22564 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22565 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22566 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22582 * sysdeps/ieee754/support.c: Likewise.
22583 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22584 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22585 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22586 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22587 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22588 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22589 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22590 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22591 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22592 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22593 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22594 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22595 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22596 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22597 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22598 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22599 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22602 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
22604 * posix/transbug.c: Remove executable mode.
22606 2013-06-05 Joseph Myers <joseph@codesourcery.com>
22608 * crypt/speeds.c: Remove trailing whitespace.
22609 * dlfcn/default.c: Likewise.
22610 * elf/ifuncdep2.c: Likewise.
22611 * elf/ifuncmain1.c: Likewise.
22612 * elf/ifuncmain1vis.c: Likewise.
22613 * elf/testobj.h: Likewise.
22614 * elf/tst-stackguard1.c: Likewise.
22615 * gmon/sys/gmon.h: Likewise.
22616 * hurd/hurdmsg.c: Likewise.
22617 * hurd/new-fd.c: Likewise.
22618 * hurd/ports-get.c: Likewise.
22619 * iconvdata/ibm1008_420.c: Likewise.
22620 * inet/tst-getni1.c: Likewise.
22621 * inet/tst-getni2.c: Likewise.
22622 * libio/ioungetc.c: Likewise.
22623 * libio/wfiledoalloc.c: Likewise.
22624 * manual/libm-err-tab.pl: Likewise.
22625 * math/w_dremf.c: Likewise.
22626 * misc/ftruncate.c: Likewise.
22627 * posix/bug-glob2.c: Likewise.
22628 * posix/tst-pcre.c: Likewise.
22629 * posix/wait4.c: Likewise.
22630 * resolv/README: Likewise.
22631 * resolv/res_debug.h: Likewise.
22632 * resolv/tst-inet_ntop.c: Likewise.
22633 * setjmp/bug269-setjmp.c: Likewise.
22634 * soft-fp/extended.h: Likewise.
22635 * soft-fp/op-1.h: Likewise.
22636 * soft-fp/op-2.h: Likewise.
22637 * soft-fp/op-4.h: Likewise.
22638 * soft-fp/op-8.h: Likewise.
22639 * soft-fp/testit.c: Likewise.
22640 * stdio-common/bug16.c: Likewise.
22641 * stdlib/random.c: Likewise.
22642 * sunrpc/rpcsvc/rquota.x: Likewise.
22643 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22644 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22645 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22646 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22647 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22648 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22649 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22650 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22651 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22652 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22653 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22670 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22672 * sysdeps/ieee754/s_lib_version.c: Likewise.
22673 * sysdeps/mach/hurd/check_fds.c: Likewise.
22674 * sysdeps/mach/hurd/getsockname.c: Likewise.
22675 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22676 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22677 * sysdeps/powerpc/bits/link.h: Likewise.
22678 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22679 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22680 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22681 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22682 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22683 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22684 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22685 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22686 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22687 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22688 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22689 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22690 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22691 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22692 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22693 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22694 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22695 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22696 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22697 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22698 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22699 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22700 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22701 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22702 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22703 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22704 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22705 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22707 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22708 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22709 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22710 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22712 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22713 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22714 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22715 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22716 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22717 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22718 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22719 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22720 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22721 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22722 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22723 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22724 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22725 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22726 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22727 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22730 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22731 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22732 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22733 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22734 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22735 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22736 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22737 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22739 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22740 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22742 * sysdeps/powerpc/sysdep.h: Likewise.
22743 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22744 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22745 * sysdeps/sh/dl-trampoline.S: Likewise.
22746 * sysdeps/sh/memset.S: Likewise.
22747 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22748 * sysdeps/sh/strlen.S: Likewise.
22749 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22750 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22751 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22752 * sysdeps/sparc/sparc32/rem.S: Likewise.
22753 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22754 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22755 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22756 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22757 * sysdeps/sparc/sparc32/urem.S: Likewise.
22758 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22759 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22760 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22761 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22762 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22763 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22764 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22765 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22766 * sysdeps/unix/bsd/times.c: Likewise.
22767 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22768 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22772 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22773 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22774 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22775 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22776 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22777 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22778 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22779 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22780 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22781 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22782 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22783 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22784 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22785 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22786 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22787 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22788 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22789 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22790 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22791 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22792 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22793 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22794 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22795 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22796 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22797 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22798 * sysdeps/x86_64/strcspn.S: Likewise.
22800 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22802 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22803 generated file. Regenerate properly from gen-translit.pl.
22804 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22805 locale/C-translit.h.
22807 2013-06-05 Andreas Schwab <schwab@suse.de>
22810 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22811 week as 6 instead of -1.
22812 * time/tst-strptime.c (day_tests): Add test case.
22814 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22816 * sysdeps/generic/math_private.h
22817 (libc_feholdexcept_setround_53bit): Replace with
22818 libc_feholdsetround_53bit.
22819 (libc_feupdateenv_53bit): Replace with
22820 libc_feresetround_53bit.
22821 (SET_RESTORE_ROUND_53BIT): Adjust.
22823 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22825 * string/test-strchrnul.c: Add copyright header.
22827 * posix/tst-getaddrinfo4.c: Increase test timeout.
22829 2013-06-03 Carlos O'Donell <carlos@redhat.com>
22832 * math/libm-test.inc (MAX_EXP): Remove
22834 (ulp): Use MIN_EXP - MANT_DIG.
22835 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22837 2013-05-31 Carlos O'Donell <carlos@redhat.com>
22839 * po/be.po: Revert last change.
22840 * po/zh_CN.po: Likewise.
22841 * po/header.pot: Likewise.
22843 2013-05-31 Joseph Myers <joseph@codesourcery.com>
22845 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22846 link-libc-deps to empty as target-specific variable.
22847 * Makerules (link-libc-args): New variable.
22848 (libc-for-link): Likewise.
22849 (link-libc-deps): Likewise.
22850 (lib%.so): Depend on $(link-libc-deps). Link with
22852 (build-module): Link with $(link-libc-args).
22853 (build-module-asneeded): Likewise.
22854 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22856 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22857 target-specific variable.
22858 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22859 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22860 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22862 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22864 ($(objpfx)libpcprofile.so): Likewise.
22865 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22867 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22868 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22869 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22871 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22872 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22873 * login/Makefile ($(objpfx)libutil.so): Likewise.
22874 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22875 * math/Makefile ($(objpfx)libm.so): Likewise.
22876 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22877 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22878 variable instead of depending directly on libc.
22879 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22880 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22882 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22884 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22885 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22886 ($(objpfx)libanl.so): Likewise.
22887 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22889 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22891 * sysdeps/i386/fpu/Makefile: Remove file.
22892 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22893 ($(objpfx)libm.so): Remove dependency on ld.so.
22895 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
22898 * nis/yp_xdr.c (XDRMAXNAME): Define.
22899 (XDRMAXRECORD): Define.
22900 (xdr_domainname): Use XDRMAXNAME.
22901 (xdr_mapname): Likewise.
22902 (xdr_peername): Likewise.
22903 (xdr_keydat): Use XDRMAXRECORD.
22904 (xdr_valdat): Likewise.
22906 2013-05-30 Jeff Law <law@redhat.com>
22909 * manual/errno.texi (ESTALE): Update to account for more than
22910 just NFS file systems.
22911 * sysdeps/gnu/errlist.c: Regenerated.
22913 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22916 * elf/Makefile (tests): Add tst-null-argv.
22917 (modules-names): Add tst-null-argv-lib.
22918 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22919 (tst-null-argv-ENV): Set environment for tst-null-argv.
22920 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22921 (RTLD_PROGNAME): New macro.
22922 * elf/tst-null-argv.c: New test case.
22923 * elf/tst-null-argv-lib.c: Library for test case.
22924 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22925 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22926 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22927 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22928 * elf/dl-init.c (call_init): Likewise.
22929 (_dl_init): Likewise.
22930 * elf/dl-load.c (print_search_path): Likewise.
22931 (_dl_map_object): Likewise.
22932 * elf/dl-lookup.c (do_lookup_x): Likewise.
22933 (add_dependency): Likewise.
22934 (_dl_lookup_symbol_x): Likewise.
22935 (_dl_debug_bindings): Likewise.
22936 * elf/dl-open.c (_dl_show_scope): Likewise.
22937 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22938 * elf/dl-version.c (match_symbol): Likewise.
22939 (_dl_check_map_versions): Likewise.
22940 * elf/rtld.c (dl_main): Likewise.
22941 (print_unresolved): Use RTLD_PROGNAME.
22942 (print_missing_version): Likewise.
22943 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22944 (elf_machine_rela): Likewise.
22945 * sysdeps/powerpc/powerpc32/dl-machine.c
22946 (__process_machine_rela): Likewise.
22947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22949 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22951 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22953 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22956 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22958 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22960 2013-05-28 Carlos O'Donell <carlos@redhat.com>
22962 * po/be.po: Add descriptive title.
22963 * po/zh_CN.po: Likewise.
22964 * po/header.pot: Likewise.
22966 2013-05-28 Mike Frysinger <vapier@gentoo.org>
22968 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22970 (enlarge_archive): Likewise.
22972 2013-05-28 Ben North <ben@redfrontdoor.org>
22974 * manual/arith.texi (frexp): It is the magnitude of the return
22975 value which lies in [0.5, 1), not the return value itself.
22977 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22981 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22983 * stdio-common/bug26.c (main): Correct fscanf template.
22985 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22986 declare _dl_skip_args.
22988 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22991 * manual/platform.texi: Add missing @end deftypefun.
22993 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22996 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22997 bit of mantissa of 2^16382.
22998 * math/libm-test.inc (hypot_test_data): Add more tests.
23000 * math/libm-test.inc: Add drem and pow10 to list of tested
23002 (pow10_test): New function.
23003 (drem_test): Likewise.
23004 (drem_test_tonearest): Likewise.
23005 (drem_test_towardzero): Likewise.
23006 (drem_test_downward): Likewise.
23007 (drem_test_upward): Likewise.
23008 (main): Call the new functions.
23010 * math/libm-test.inc (finite_test_data): Remove.
23011 (finite_test): Run tests from isfinite_test_data.
23012 (gamma_test_data): Remove.
23013 (gamma_test): Run tests from lgamma_test_data.
23014 * sysdeps/i386/fpu/libm-test-ulps: Update.
23015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23017 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23019 * manual/platform.texi: Add PowerPC PPR function set documentation.
23020 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23023 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23025 * math/libm-test.inc (MAX_EXP): Define.
23027 (ulp): New function.
23028 (check_float_internal): Use ULPDIFF.
23029 (cpow_test): Disable failing test.
23030 (check_ulp): Test ulp() implemetnation.
23031 (main): Call check_ulp before starting tests.
23033 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23035 * math/gen-libm-test.pl (generate_testfile): Do not handle
23036 START_DATA and END_DATA.
23037 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23039 (acos_tonearest_test_data): Likewise.
23040 (acos_towardzero_test_data): Likewise.
23041 (acos_downward_test_data): Likewise.
23042 (acos_upward_test_data): Likewise.
23043 (acosh_test_data): Likewise.
23044 (asin_test_data): Likewise.
23045 (asin_tonearest_test_data): Likewise.
23046 (asin_towardzero_test_data): Likewise.
23047 (asin_downward_test_data): Likewise.
23048 (asin_upward_test_data): Likewise.
23049 (asinh_test_data): Likewise.
23050 (atan_test_data): Likewise.
23051 (atanh_test_data): Likewise.
23052 (atan2_test_data): Likewise.
23053 (cabs_test_data): Likewise.
23054 (cacos_test_data): Likewise.
23055 (cacosh_test_data): Likewise.
23056 (carg_test_data): Likewise.
23057 (casin_test_data): Likewise.
23058 (casinh_test_data): Likewise.
23059 (catan_test_data): Likewise.
23060 (catanh_test_data): Likewise.
23061 (cbrt_test_data): Likewise.
23062 (ccos_test_data): Likewise.
23063 (ccosh_test_data): Likewise.
23064 (ceil_test_data): Likewise.
23065 (cexp_test_data): Likewise.
23066 (cimag_test_data): Likewise.
23067 (clog_test_data): Likewise.
23068 (clog10_test_data): Likewise.
23069 (conj_test_data): Likewise.
23070 (copysign_test_data): Likewise.
23071 (cos_test_data): Likewise.
23072 (cos_tonearest_test_data): Likewise.
23073 (cos_towardzero_test_data): Likewise.
23074 (cos_downward_test_data): Likewise.
23075 (cos_upward_test_data): Likewise.
23076 (cosh_test_data): Likewise.
23077 (cosh_tonearest_test_data): Likewise.
23078 (cosh_towardzero_test_data): Likewise.
23079 (cosh_downward_test_data): Likewise.
23080 (cosh_upward_test_data): Likewise.
23081 (cpow_test_data): Likewise.
23082 (cproj_test_data): Likewise.
23083 (creal_test_data): Likewise.
23084 (csin_test_data): Likewise.
23085 (csinh_test_data): Likewise.
23086 (csqrt_test_data): Likewise.
23087 (ctan_test_data): Likewise.
23088 (ctan_tonearest_test_data): Likewise.
23089 (ctan_towardzero_test_data): Likewise.
23090 (ctan_downward_test_data): Likewise.
23091 (ctan_upward_test_data): Likewise.
23092 (ctanh_test_data): Likewise.
23093 (ctanh_tonearest_test_data): Likewise.
23094 (ctanh_towardzero_test_data): Likewise.
23095 (ctanh_downward_test_data): Likewise.
23096 (ctanh_upward_test_data): Likewise.
23097 (erf_test_data): Likewise.
23098 (erfc_test_data): Likewise.
23099 (exp_test_data): Likewise.
23100 (exp_tonearest_test_data): Likewise.
23101 (exp_towardzero_test_data): Likewise.
23102 (exp_downward_test_data): Likewise.
23103 (exp_upward_test_data): Likewise.
23104 (exp10_test_data): Likewise.
23105 (exp2_test_data): Likewise.
23106 (expm1_test_data): Likewise.
23107 (fabs_test_data): Likewise.
23108 (fdim_test_data): Likewise.
23109 (finite_test_data): Likewise.
23110 (floor_test_data): Likewise.
23111 (fma_test_data): Likewise.
23112 (fma_towardzero_test_data): Likewise.
23113 (fma_downward_test_data): Likewise.
23114 (fma_upward_test_data): Likewise.
23115 (fmax_test_data): Likewise.
23116 (fmin_test_data): Likewise.
23117 (fmod_test_data): Likewise.
23118 (fpclassify_test_data): Likewise.
23119 (frexp_test_data): Likewise.
23120 (gamma_test_data): Likewise.
23121 (hypot_test_data): Likewise.
23122 (ilogb_test_data): Likewise.
23123 (isfinite_test_data): Likewise.
23124 (isgreater_test_data): Likewise.
23125 (isgreaterequal_test_data): Likewise.
23126 (isinf_test_data): Likewise.
23127 (isless_test_data): Likewise.
23128 (islessequal_test_data): Likewise.
23129 (islessgreater_test_data): Likewise.
23130 (isnan_test_data): Likewise.
23131 (isnormal_test_data): Likewise.
23132 (issignaling_test_data): Likewise.
23133 (isunordered_test_data): Likewise.
23134 (j0_test_data): Likewise.
23135 (j1_test_data): Likewise.
23136 (jn_test_data): Likewise.
23137 (ldexp_test_data): Likewise.
23138 (lgamma_test_data): Likewise.
23139 (lrint_test_data): Likewise.
23140 (lrint_tonearest_test_data): Likewise.
23141 (lrint_towardzero_test_data): Likewise.
23142 (lrint_downward_test_data): Likewise.
23143 (lrint_upward_test_data): Likewise.
23144 (llrint_test_data): Likewise.
23145 (llrint_tonearest_test_data): Likewise.
23146 (llrint_towardzero_test_data): Likewise.
23147 (llrint_downward_test_data): Likewise.
23148 (llrint_upward_test_data): Likewise.
23149 (log_test_data): Likewise.
23150 (log10_test_data): Likewise.
23151 (log1p_test_data): Likewise.
23152 (log2_test_data): Likewise.
23153 (logb_test_data): Likewise.
23154 (logb_downward_test_data): Likewise.
23155 (lround_test_data): Likewise.
23156 (llround_test_data): Likewise.
23157 (modf_test_data): Likewise.
23158 (nearbyint_test_data): Likewise.
23159 (nextafter_test_data): Likewise.
23160 (nexttoward_test_data): Likewise.
23161 (pow_test_data): Likewise.
23162 (pow_tonearest_test_data): Likewise.
23163 (pow_towardzero_test_data): Likewise.
23164 (pow_downward_test_data): Likewise.
23165 (pow_upward_test_data): Likewise.
23166 (remainder_test_data): Likewise.
23167 (remainder_tonearest_test_data): Likewise.
23168 (remainder_towardzero_test_data): Likewise.
23169 (remainder_downward_test_data): Likewise.
23170 (remainder_upward_test_data): Likewise.
23171 (remquo_test_data): Likewise.
23172 (rint_test_data): Likewise.
23173 (rint_tonearest_test_data): Likewise.
23174 (rint_towardzero_test_data): Likewise.
23175 (rint_downward_test_data): Likewise.
23176 (rint_upward_test_data): Likewise.
23177 (round_test_data): Likewise.
23178 (scalb_test_data): Likewise.
23179 (scalbn_test_data): Likewise.
23180 (scalbln_test_data): Likewise.
23181 (signbit_test_data): Likewise.
23182 (sin_test_data): Likewise.
23183 (sin_tonearest_test_data): Likewise.
23184 (sin_towardzero_test_data): Likewise.
23185 (sin_downward_test_data): Likewise.
23186 (sin_upward_test_data): Likewise.
23187 (sincos_test_data): Likewise.
23188 (sinh_test_data): Likewise.
23189 (sinh_tonearest_test_data): Likewise.
23190 (sinh_towardzero_test_data): Likewise.
23191 (sinh_downward_test_data): Likewise.
23192 (sinh_upward_test_data): Likewise.
23193 (sqrt_test_data): Likewise.
23194 (tan_test_data): Likewise.
23195 (tan_tonearest_test_data): Likewise.
23196 (tan_towardzero_test_data): Likewise.
23197 (tan_downward_test_data): Likewise.
23198 (tan_upward_test_data): Likewise.
23199 (tanh_test_data): Likewise.
23200 (tgamma_test_data): Likewise.
23201 (trunc_test_data): Likewise.
23202 (y0_test_data): Likewise.
23203 (y1_test_data): Likewise.
23204 (yn_test_data): Likewise.
23205 (significand_test_data): Likewise.
23207 * math/gen-libm-test.pl (@functions): Remove variable.
23208 (generate_testfile): Don't handle START and END lines.
23209 * math/libm-test.inc (START): New macro.
23211 (END_COMPLEX): Likewise.
23212 (acos_test): Use END macro without arguments.
23213 (acos_test_tonearest): Likewise.
23214 (acos_test_towardzero): Likewise.
23215 (acos_test_downward): Likewise.
23216 (acos_test_upward): Likewise.
23217 (acosh_test): Likewise.
23218 (asin_test): Likewise.
23219 (asin_test_tonearest): Likewise.
23220 (asin_test_towardzero): Likewise.
23221 (asin_test_downward): Likewise.
23222 (asin_test_upward): Likewise.
23223 (asinh_test): Likewise.
23224 (atan_test): Likewise.
23225 (atanh_test): Likewise.
23226 (atan2_test): Likewise.
23227 (cabs_test): Likewise.
23228 (cacos_test): Use END_COMPLEX macro without arguments.
23229 (cacosh_test): Likewise.
23230 (carg_test): Use END macro without arguments.
23231 (casin_test): Use END_COMPLEX macro without arguments.
23232 (casinh_test): Likewise.
23233 (catan_test): Likewise.
23234 (catanh_test): Likewise.
23235 (cbrt_test): Use END macro without arguments.
23236 (ccos_test): Use END_COMPLEX macro without arguments.
23237 (ccosh_test): Likewise.
23238 (ceil_test): Use END macro without arguments.
23239 (cexp_test): Use END_COMPLEX macro without arguments.
23240 (cimag_test): Use END macro without arguments.
23241 (clog_test): Use END_COMPLEX macro without arguments.
23242 (clog10_test): Likewise.
23243 (conj_test): Likewise.
23244 (copysign_test): Use END macro without arguments.
23245 (cos_test): Likewise.
23246 (cos_test_tonearest): Likewise.
23247 (cos_test_towardzero): Likewise.
23248 (cos_test_downward): Likewise.
23249 (cos_test_upward): Likewise.
23250 (cosh_test): Likewise.
23251 (cosh_test_tonearest): Likewise.
23252 (cosh_test_towardzero): Likewise.
23253 (cosh_test_downward): Likewise.
23254 (cosh_test_upward): Likewise.
23255 (cpow_test): Use END_COMPLEX macro without arguments.
23256 (cproj_test): Likewise.
23257 (creal_test): Use END macro without arguments.
23258 (csin_test): Use END_COMPLEX macro without arguments.
23259 (csinh_test): Likewise.
23260 (csqrt_test): Likewise.
23261 (ctan_test): Likewise.
23262 (ctan_test_tonearest): Likewise.
23263 (ctan_test_towardzero): Likewise.
23264 (ctan_test_downward): Likewise.
23265 (ctan_test_upward): Likewise.
23266 (ctanh_test): Likewise.
23267 (ctanh_test_tonearest): Likewise.
23268 (ctanh_test_towardzero): Likewise.
23269 (ctanh_test_downward): Likewise.
23270 (ctanh_test_upward): Likewise.
23271 (erf_test): Use END macro without arguments.
23272 (erfc_test): Likewise.
23273 (exp_test): Likewise.
23274 (exp_test_tonearest): Likewise.
23275 (exp_test_towardzero): Likewise.
23276 (exp_test_downward): Likewise.
23277 (exp_test_upward): Likewise.
23278 (exp10_test): Likewise.
23279 (exp2_test): Likewise.
23280 (expm1_test): Likewise.
23281 (fabs_test): Likewise.
23282 (fdim_test): Likewise.
23283 (finite_test): Likewise.
23284 (floor_test): Likewise.
23285 (fma_test): Likewise.
23286 (fma_test_towardzero): Likewise.
23287 (fma_test_downward): Likewise.
23288 (fma_test_upward): Likewise.
23289 (fmax_test): Likewise.
23290 (fmin_test): Likewise.
23291 (fmod_test): Likewise.
23292 (fpclassify_test): Likewise.
23293 (frexp_test): Likewise.
23294 (gamma_test): Likewise.
23295 (hypot_test): Likewise.
23296 (ilogb_test): Likewise.
23297 (isfinite_test): Likewise.
23298 (isgreater_test): Likewise.
23299 (isgreaterequal_test): Likewise.
23300 (isinf_test): Likewise.
23301 (isless_test): Likewise.
23302 (islessequal_test): Likewise.
23303 (islessgreater_test): Likewise.
23304 (isnan_test): Likewise.
23305 (isnormal_test): Likewise.
23306 (issignaling_test): Likewise.
23307 (isunordered_test): Likewise.
23308 (j0_test): Likewise.
23309 (j1_test): Likewise.
23310 (jn_test): Likewise.
23311 (ldexp_test): Likewise.
23312 (lgamma_test): Likewise.
23313 (lrint_test): Likewise.
23314 (lrint_test_tonearest): Likewise.
23315 (lrint_test_towardzero): Likewise.
23316 (lrint_test_downward): Likewise.
23317 (lrint_test_upward): Likewise.
23318 (llrint_test): Likewise.
23319 (llrint_test_tonearest): Likewise.
23320 (llrint_test_towardzero): Likewise.
23321 (llrint_test_downward): Likewise.
23322 (llrint_test_upward): Likewise.
23323 (log_test): Likewise.
23324 (log10_test): Likewise.
23325 (log1p_test): Likewise.
23326 (log2_test): Likewise.
23327 (logb_test): Likewise.
23328 (logb_test_downward): Likewise.
23329 (lround_test): Likewise.
23330 (llround_test): Likewise.
23331 (modf_test): Likewise.
23332 (nearbyint_test): Likewise.
23333 (nextafter_test): Likewise.
23334 (nexttoward_test): Likewise.
23335 (pow_test): Likewise.
23336 (pow_test_tonearest): Likewise.
23337 (pow_test_towardzero): Likewise.
23338 (pow_test_downward): Likewise.
23339 (pow_test_upward): Likewise.
23340 (remainder_test): Likewise.
23341 (remainder_test_tonearest): Likewise.
23342 (remainder_test_towardzero): Likewise.
23343 (remainder_test_downward): Likewise.
23344 (remainder_test_upward): Likewise.
23345 (remquo_test): Likewise.
23346 (rint_test): Likewise.
23347 (rint_test_tonearest): Likewise.
23348 (rint_test_towardzero): Likewise.
23349 (rint_test_downward): Likewise.
23350 (rint_test_upward): Likewise.
23351 (round_test): Likewise.
23352 (scalb_test): Likewise.
23353 (scalbn_test): Likewise.
23354 (scalbln_test): Likewise.
23355 (signbit_test): Likewise.
23356 (sin_test): Likewise.
23357 (sin_test_tonearest): Likewise.
23358 (sin_test_towardzero): Likewise.
23359 (sin_test_downward): Likewise.
23360 (sin_test_upward): Likewise.
23361 (sincos_test): Likewise.
23362 (sinh_test): Likewise.
23363 (sinh_test_tonearest): Likewise.
23364 (sinh_test_towardzero): Likewise.
23365 (sinh_test_downward): Likewise.
23366 (sinh_test_upward): Likewise.
23367 (sqrt_test): Likewise.
23368 (tan_test): Likewise.
23369 (tan_test_tonearest): Likewise.
23370 (tan_test_towardzero): Likewise.
23371 (tan_test_downward): Likewise.
23372 (tan_test_upward): Likewise.
23373 (tanh_test): Likewise.
23374 (tgamma_test): Likewise.
23375 (trunc_test): Likewise.
23376 (y0_test): Likewise.
23377 (y1_test): Likewise.
23378 (yn_test): Likewise.
23379 (significand_test): Likewise.
23381 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23384 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23386 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23389 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23390 __ppc_mdoio and __ppc_mdoom.
23391 * manual/platform.texi: Document new functions __ppc_yield,
23392 __ppc_mdoio and __ppc_mdoom.
23394 2013-05-22 Carlos O'Donell <carlos@redhat.com>
23396 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23397 (main): Mention "tls" pseudo-hwcap is legacy.
23398 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23400 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23402 * math/gen-libm-test.pl (parse_args): Output only string of
23403 arguments as text for test name, not full call or descriptions of
23404 tests for extra outputs.
23405 (generate_testfile): Do not pass function name to parse_args.
23406 Generate this_func variable from START.
23407 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23409 (struct test_ff_f_data): Likewise.
23410 (test_ff_f_data_nexttoward): Likewise.
23411 (struct test_fi_f_data): Likewise.
23412 (struct test_fl_f_data): Likewise.
23413 (struct test_if_f_data): Likewise.
23414 (struct test_fff_f_data): Likewise.
23415 (struct test_c_f_data): Likewise.
23416 (struct test_f_f1_data): Likewise. Remove field extra_name.
23417 (struct test_fF_f1_data): Likewise.
23418 (struct test_ffI_f1_data): Likewise.
23419 (struct test_c_c_data): Rename test_name field to arg_str.
23420 (struct test_cc_c_data): Likewise.
23421 (struct test_f_i_data): Likewise.
23422 (struct test_ff_i_data): Likewise.
23423 (struct test_f_l_data): Likewise.
23424 (struct test_f_L_data): Likewise.
23425 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23427 (COMMON_TEST_SETUP): New macro.
23428 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23429 (COMMON_TEST_CLEANUP): Likewise.
23430 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23431 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23433 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23434 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23436 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23437 (RUN_TEST_fff_f): Take argument string. Call new setup and
23439 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23440 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23442 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23443 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23445 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23446 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23448 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23449 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23451 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23452 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23454 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23455 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23457 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23458 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23460 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23461 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23463 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23464 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23466 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23467 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23469 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23470 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23472 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23473 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23475 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23476 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23478 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23479 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23481 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23482 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23484 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23486 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23488 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23489 to _sifields.sigfault.
23490 (si_addr_lsb): Define new macro.
23491 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23493 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23495 2013-05-03 Carlos O'Donell <carlos at redhat.com>
23498 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23500 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23502 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23503 loading the domain.
23505 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23507 * math/gen-libm-test.pl (parse_args): Do not include expected
23508 result in test name.
23509 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23510 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23511 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23512 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23513 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23516 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23518 * benchtests/Makefile: Sort function entries.
23520 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23521 tanh, asinh, acosh, atanh.
23522 * benchtests/acos-inputs: New file.
23523 * benchtests/acosh-inputs: New file.
23524 * benchtests/asin-inputs: New file.
23525 * benchtests/asinh-inputs: New file.
23526 * benchtests/atanh-inputs: New file.
23527 * benchtests/cosh-inputs: New file.
23528 * benchtests/log-inputs: New file.
23529 * benchtests/sinh-inputs: New file.
23530 * benchtests/tanh-inputs: New file.
23532 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23535 * posix/tst-getaddrinfo4.c: New test.
23536 * posix/Makefile (tests): Add it.
23538 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23541 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23542 when no services were used.
23543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23544 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23546 2013-05-21 Andreas Schwab <schwab@suse.de>
23549 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23550 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23552 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23553 redundant variable declarations and reallocation of buffer when
23554 parsing as IPv6 address. Always set NSS status when called from
23555 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23556 buffer too small. Correct computation of needed size.
23557 * nss/Makefile (tests): Add test-digits-dots.
23558 * nss/test-digits-dots.c: New test.
23560 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23562 * benchtests/Makefile: Remove instructions for adding
23564 * benchtests/README: New file to explain how to execute and
23565 enhance the benchmark tests.
23567 2013-05-21 Andreas Schwab <schwab@suse.de>
23570 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23571 * setjmp/tst-sigsetjmp.c: New test.
23573 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23575 * sysdeps/x86_64/memset.S (memset): New implementation.
23576 (__bzero): Likewise.
23577 (__memset_tail): New function.
23579 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23581 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23582 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23583 __memcpy_sse2_unaligned ifunc selection.
23584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23585 Add memcpy-sse2-unaligned.S.
23586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23587 Add: __memcpy_sse2_unaligned.
23589 2013-05-19 Joseph Myers <joseph@codesourcery.com>
23592 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23593 math_force_eval before restoring floating-point envrionment.
23594 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23595 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23597 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23599 (__nearbyintl): Use math_force_eval before restoring
23600 floating-point environment.
23601 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23603 * math/gen-libm-test.pl (special_functions): Remove.
23604 (parse_args): Don't handle TEST_extra. Handle functions with no
23606 * math/libm-test.inc (struct test_sincos_data): Replace with
23607 struct test_fFF_11_data.
23608 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23609 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23610 (sincos_test_data): Change element type to struct
23611 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23612 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23613 RUN_TEST_LOOP_sincos.
23614 * math/README.libm-test: Don't mention special handling of
23615 individual functions.
23616 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23618 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23619 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23620 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23623 * math/gen-libm-test.pl (get_variable): Remove function.
23624 (parse_args): Don't show pointer parameters to call in test
23625 names. Use "extra output N" in test names for extra outputs
23626 rather than naming variables.
23628 2013-05-18 Joseph Myers <joseph@codesourcery.com>
23631 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23632 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23633 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23635 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23637 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23640 * math/gen-libm-test.pl (@tests): Remove variable.
23641 ($count): Likewise.
23642 (new_test): Remove function.
23643 (show_exceptions): New function.
23644 (special_functions): Use show_exceptions instead of new_test.
23645 (parse_args): Likewise.
23646 (generate_testfile): Pass only function name in generated call to
23647 print_max_error or print_complex_max_error.
23648 (get_ulps): Do not handle complex tests specially.
23649 (output_test): Rename to ...
23650 (get_all_ulps_for_test): ... this. Return a string rather than
23651 printing to a file. Require ulps to be present.
23652 (output_ulps): Generate arrays rather than #defines.
23653 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23654 (struct ulp_data): New type.
23655 (BUILD_COMPLEX_ULP): Remove macro.
23656 (compare_ulp_data): New function.
23657 (find_ulps): Likewise.
23658 (find_test_ulps): Likewise.
23659 (find_function_ulps): Likewise.
23660 (find_complex_function_ulps): Likewise.
23661 (print_max_error): Determine allowed ulps using
23662 find_function_ulps.
23663 (print_complex_max_error): Determine allowed ulps using
23664 find_complex_function_ulps.
23665 (check_float_internal): Determine max ulps using find_test_ulps.
23666 (check_float): Do not take max_ulp parameter. Update call to
23667 check_float_internal.
23668 (check_complex): Likewise.
23669 (check_int): Do not take max_ulp parameter.
23670 (check_long): Likewise.
23671 (check_bool): Likewise.
23672 (check_longlong): Likewise.
23673 (struct test_f_f_data): Remove max_ulp field.
23674 (struct test_ff_f_data): Likewise.
23675 (struct test_ff_f_data_nexttoward): Likewise.
23676 (struct test_fi_f_data): Likewise.
23677 (struct test_fl_f_data): Likewise.
23678 (struct test_if_f_data): Likewise.
23679 (struct test_fff_f_data): Likewise.
23680 (struct test_c_f_data): Likewise.
23681 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23682 (struct test_fF_f1_data): Likewise.
23683 (struct test_ffI_f1_data): Likewise.
23684 (struct test_c_c_data): Remove max_ulp field.
23685 (struct test_cc_c_data): Likewise.
23686 (struct test_f_i_data): Likewise.
23687 (struct test_ff_i_data): Likewise.
23688 (struct test_f_l_data): Likewise.
23689 (struct test_f_L_data): Likewise.
23690 (struct test_sincos_data): Likewise.
23691 (RUN_TEST_f_f): Do not handle ulps.
23692 (RUN_TEST_LOOP_f_f): Likewise.
23693 (RUN_TEST_2_f): Likewise.
23694 (RUN_TEST_LOOP_2_f): Likewise.
23695 (RUN_TEST_fff_f): Likewise.
23696 (RUN_TEST_LOOP_fff_f): Likewise.
23697 (RUN_TEST_c_f): Likewise.
23698 (RUN_TEST_LOOP_c_f): Likewise.
23699 (RUN_TEST_f_f1): Likewise.
23700 (RUN_TEST_LOOP_f_f1): Likewise.
23701 (RUN_TEST_fF_f1): Likewise.
23702 (RUN_TEST_LOOP_fF_f1): Likewise.
23703 (RUN_TEST_fI_f1): Likewise.
23704 (RUN_TEST_LOOP_fI_f1): Likewise.
23705 (RUN_TEST_ffI_f1): Likewise.
23706 (RUN_TEST_LOOP_ffI_f1): Likewise.
23707 (RUN_TEST_c_c): Likewise.
23708 (RUN_TEST_LOOP_c_c): Likewise.
23709 (RUN_TEST_cc_c): Likewise.
23710 (RUN_TEST_LOOP_cc_c): Likewise.
23711 (RUN_TEST_f_i): Likewise.
23712 (RUN_TEST_LOOP_f_i): Likewise.
23713 (RUN_TEST_f_i_tg): Likewise.
23714 (RUN_TEST_LOOP_f_i_tg): Likewise.
23715 (RUN_TEST_ff_i_tg): Likewise.
23716 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23717 (RUN_TEST_f_b): Likewise.
23718 (RUN_TEST_LOOP_f_b): Likewise.
23719 (RUN_TEST_f_b_tg): Likewise.
23720 (RUN_TEST_LOOP_f_b_tg): Likewise.
23721 (RUN_TEST_f_l): Likewise.
23722 (RUN_TEST_LOOP_f_l): Likewise.
23723 (RUN_TEST_f_L): Likewise.
23724 (RUN_TEST_LOOP_f_L): Likewise.
23725 (RUN_TEST_sincos): Likewise.
23726 (RUN_TEST_LOOP_sincos): Likewise.
23728 2013-05-17 Joseph Myers <joseph@codesourcery.com>
23732 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23733 main case of finite arguments, set rounding mode to FE_TONEAREST
23734 and discard exceptions.
23735 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23737 (remainder_tonearest_test_data): New variable.
23738 (remainder_test_tonearest): New function.
23739 (remainder_towardzero_test_data): New variable.
23740 (remainder_test_towardzero): New function.
23741 (remainder_downward_test_data): New variable.
23742 (remainder_test_downward): New function.
23743 (remainder_upward_test_data): New variable.
23744 (remainder_test_upward): New function.
23745 (main): Call the new test functions.
23747 * math/libm-test.inc (struct test_f_f1_data): Remove field
23749 (struct test_fF_f1_data): Likewise.
23750 (struct test_ffI_f1_data): Likewise.
23751 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23752 based on value of EXTRA_EXPECTED.
23753 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23754 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23755 EXTRA_VAR based on value of EXTRA_EXPECTED.
23756 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23757 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23758 EXTRA_VAR based on value of EXTRA_EXPECTED.
23759 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23760 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23761 EXTRA_VAR based on value of EXTRA_EXPECTED.
23762 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23763 * math/gen-libm-test.pl (parse_args): Don't output initializers
23764 for extra output values.
23766 * math/libm-test.inc (check_int): Expect result to be exactly
23767 equal to expected value and do not handle ulps.
23768 (check_long): Likewise.
23769 (check_longlong): Likewise.
23771 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23773 (cimag_test_data): Likewise.
23774 (conj_test_data): Likewise.
23775 (copysign_test_data): Likewise.
23776 (cproj_test_data): Likewise.
23777 (creal_test_data): Likewise.
23778 (fabs_test_data): Likewise.
23779 (fdim_test_data): Likewise.
23780 (finite_test_data): Likewise.
23781 (floor_test_data): Likewise.
23782 (fmax_test_data): Likewise.
23783 (fmin_test_data): Likewise.
23784 (fmod_test_data): Likewise.
23785 (fpclassify_test_data): Likewise.
23786 (frexp_test_data): Likewise.
23787 (ilogb_test_data): Likewise.
23788 (isfinite_test_data): Likewise.
23789 (isgreater_test_data): Likewise.
23790 (isgreaterequal_test_data): Likewise.
23791 (isinf_test_data): Likewise.
23792 (isless_test_data): Likewise.
23793 (islessequal_test_data): Likewise.
23794 (islessgreater_test_data): Likewise.
23795 (isnan_test_data): Likewise.
23796 (isnormal_test_data): Likewise.
23797 (issignaling_test_data): Likewise.
23798 (isunordered_test_data): Likewise.
23799 (ldexp_test_data): Likewise.
23800 (lrint_test_data): Likewise.
23801 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23802 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23803 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23804 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23805 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23806 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23808 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23809 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23810 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23811 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23813 (lrint_downward_test_data): Test for "inexact" exceptions.
23814 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23815 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23816 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23818 (lrint_upward_test_data): Test for "inexact" exceptions.
23819 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23821 (llrint_test_data): Test for "inexact" exceptions.
23822 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23823 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23824 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23825 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23826 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23827 (llrint_downward_test_data): Test for "inexact" exceptions.
23828 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23829 (llrint_upward_test_data): Test for "inexact" exceptions.
23830 (logb_test_data): Likewise.
23831 (logb_downward_test_data): Likewise.
23832 (nextafter_test_data): Likewise.
23833 (nexttoward_test_data): Likewise.
23834 (remainder_test_data): Likewise.
23835 (remquo_test_data): Likewise.
23836 (scalbn_test_data): Likewise.
23837 (scalbln_test_data): Likewise.
23838 (signbit_test_data): Likewise.
23839 (sqrt_test_data): Likewise.
23840 (significand_test_data): Likewise.
23842 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23845 * benchtests/bench-modf.c (struct args): Mark arg0 as
23847 * scripts/bench.pl: Mark members of struct args as volatile.
23849 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23852 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23853 negative infinity on POWER6 or lower.
23854 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23856 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23859 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23860 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23861 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23862 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23863 (_FP_SETQNAN): New macro.
23864 (_FP_SETQNAN_SEMIRAW): Likewise.
23865 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23866 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23867 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23868 (FP_EXTEND): Use _FP_FRAC_SNANP.
23869 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23870 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23872 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23874 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23877 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23879 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23880 with DIVIDE_BY_ZERO_EXCEPTION.
23881 (gamma_test_data): Likewise.
23882 (lgamma_test_data): Likewise.
23883 (log_test_data): Likewise.
23884 (log10_test_data): Likewise.
23885 (log2_test_data): Likewise.
23886 (tgamma_test_data): Likewise.
23888 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23889 (acos_test_tonearest): Likewise.
23890 (acos_test_towardzero): Likewise.
23891 (acos_test_downward): Likewise.
23892 (acos_test_upward): Likewise.
23893 (acosh_test): Likewise.
23894 (asin_test): Likewise.
23895 (asin_test_tonearest): Likewise.
23896 (asin_test_towardzero): Likewise.
23897 (asin_test_downward): Likewise.
23898 (asin_test_upward): Likewise.
23899 (asinh_test): Likewise.
23900 (atan_test): Likewise.
23901 (atanh_test): Likewise.
23902 (atan2_test): Likewise.
23903 (cabs_test): Likewise.
23904 (cacos_test): Likewise.
23905 (cacosh_test): Likewise.
23906 (casin_test): Likewise.
23907 (casinh_test): Likewise.
23908 (catan_test): Likewise.
23909 (catanh_test): Likewise.
23910 (cbrt_test): Likewise.
23911 (ccos_test): Likewise.
23912 (ccosh_test): Likewise.
23913 (cexp_test): Likewise.
23914 (clog_test): Likewise.
23915 (clog10_test): Likewise.
23916 (cos_test): Likewise.
23917 (cos_test_tonearest): Likewise.
23918 (cos_test_towardzero): Likewise.
23919 (cos_test_downward): Likewise.
23920 (cos_test_upward): Likewise.
23921 (cosh_test): Likewise.
23922 (cosh_test_tonearest): Likewise.
23923 (cosh_test_towardzero): Likewise.
23924 (cosh_test_downward): Likewise.
23925 (cosh_test_upward): Likewise.
23926 (cpow_test): Likewise.
23927 (csin_test): Likewise.
23928 (csinh_test): Likewise.
23929 (csqrt_test): Likewise.
23930 (ctan_test): Likewise.
23931 (ctan_test_tonearest): Likewise.
23932 (ctan_test_towardzero): Likewise.
23933 (ctan_test_downward): Likewise.
23934 (ctan_test_upward): Likewise.
23935 (ctanh_test): Likewise.
23936 (ctanh_test_tonearest): Likewise.
23937 (ctanh_test_towardzero): Likewise.
23938 (ctanh_test_downward): Likewise.
23939 (ctanh_test_upward): Likewise.
23940 (erf_test): Likewise.
23941 (erfc_test): Likewise.
23942 (exp_test): Likewise.
23943 (exp_test_tonearest): Likewise.
23944 (exp_test_towardzero): Likewise.
23945 (exp_test_downward): Likewise.
23946 (exp_test_upward): Likewise.
23947 (exp10_test): Likewise.
23948 (exp2_test): Likewise.
23949 (expm1_test): Likewise.
23950 (fmod_test): Likewise.
23951 (gamma_test): Likewise.
23952 (hypot_test): Likewise.
23953 (j0_test): Likewise.
23954 (j1_test): Likewise.
23955 (jn_test): Likewise.
23956 (lgamma_test): Likewise.
23957 (log_test): Likewise.
23958 (log10_test): Likewise.
23959 (log1p_test): Likewise.
23960 (log2_test): Likewise.
23961 (logb_test_downward): Likewise.
23962 (pow_test): Likewise.
23963 (pow_test_tonearest): Likewise.
23964 (pow_test_towardzero): Likewise.
23965 (pow_test_downward): Likewise.
23966 (pow_test_upward): Likewise.
23967 (remainder_test): Likewise.
23968 (remquo_test): Likewise.
23969 (sin_test): Likewise.
23970 (sin_test_tonearest): Likewise.
23971 (sin_test_towardzero): Likewise.
23972 (sin_test_downward): Likewise.
23973 (sin_test_upward): Likewise.
23974 (sincos_test): Likewise.
23975 (sinh_test): Likewise.
23976 (sinh_test_tonearest): Likewise.
23977 (sinh_test_towardzero): Likewise.
23978 (sinh_test_downward): Likewise.
23979 (sinh_test_upward): Likewise.
23980 (sqrt_test): Likewise.
23981 (tan_test): Likewise.
23982 (tan_test_tonearest): Likewise.
23983 (tan_test_towardzero): Likewise.
23984 (tan_test_downward): Likewise.
23985 (tan_test_upward): Likewise.
23986 (tanh_test): Likewise.
23987 (tgamma_test): Likewise.
23988 (y0_test): Likewise.
23989 (y1_test): Likewise.
23990 (yn_test): Likewise.
23992 * math/gen-libm-test.pl (adjust_arg): Remove function.
23993 (special_function): Remove argument $in_func. Only handle
23994 generating output for tables of tests, not inside functions.
23995 (parse_args): Likewise.
23996 (generate_testfile): Remove variable $in_func. Update call to
23998 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23999 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24000 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24001 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24002 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24003 (MAX_VALUE_INIT): Rename macro to max_value.
24004 (MIN_VALUE_INIT): Rename macro to min_value.
24005 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24006 (plus_zero): Remove variable.
24007 (minus_zero): Likewise.
24008 (plus_infty): Likewise.
24009 (minus_infty): Likewise.
24010 (qnan_value): Likewise.
24011 (max_value): Likewise.
24012 (min_value): Likewise.
24013 (min_subnorm_value): Likewise.
24015 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24017 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24018 uint64_t or uint32_t usage.
24019 * crypt/sha256-block.c: Likewise.
24020 * crypt/sha256-crypt.c: Likewise.
24021 * crypt/sha256.c: Likewise.
24022 * crypt/sha512-block.c: Likewise.
24023 * crypt/sha512-crypt.c: Likewise.
24024 * crypt/sha512.c: Likewise.
24025 * debug/backtrace-tst.c: Likewise.
24026 * debug/pcprofiledump.c: Likewise.
24027 * elf/cache.c: Likewise.
24028 * elf/dl-cache.c: Likewise.
24029 * elf/dl-misc.c: Likewise.
24030 * elf/dl-profile.c: Likewise.
24031 * elf/dl-support.c: Likewise.
24032 * elf/ldconfig.c: Likewise.
24033 * elf/sprof.c: Likewise.
24034 * iconv/dummy-repertoire.c: Likewise.
24035 * iconv/iconv_charmap.c: Likewise.
24036 * iconv/skeleton.c: Likewise.
24037 * iconvdata/8bit-generic.c: Likewise.
24038 * iconvdata/cp737.h: Likewise.
24039 * iconvdata/cp775.h: Likewise.
24040 * iconvdata/ibm1008.h: Likewise.
24041 * iconvdata/ibm1025.h: Likewise.
24042 * iconvdata/ibm1046.h: Likewise.
24043 * iconvdata/ibm1097.h: Likewise.
24044 * iconvdata/ibm1112.h: Likewise.
24045 * iconvdata/ibm1122.h: Likewise.
24046 * iconvdata/ibm1123.h: Likewise.
24047 * iconvdata/ibm1124.h: Likewise.
24048 * iconvdata/ibm1129.h: Likewise.
24049 * iconvdata/ibm1130.h: Likewise.
24050 * iconvdata/ibm1132.h: Likewise.
24051 * iconvdata/ibm1133.h: Likewise.
24052 * iconvdata/ibm1137.h: Likewise.
24053 * iconvdata/ibm1140.h: Likewise.
24054 * iconvdata/ibm1141.h: Likewise.
24055 * iconvdata/ibm1142.h: Likewise.
24056 * iconvdata/ibm1143.h: Likewise.
24057 * iconvdata/ibm1144.h: Likewise.
24058 * iconvdata/ibm1145.h: Likewise.
24059 * iconvdata/ibm1146.h: Likewise.
24060 * iconvdata/ibm1147.h: Likewise.
24061 * iconvdata/ibm1148.h: Likewise.
24062 * iconvdata/ibm1149.h: Likewise.
24063 * iconvdata/ibm1153.h: Likewise.
24064 * iconvdata/ibm1154.h: Likewise.
24065 * iconvdata/ibm1155.h: Likewise.
24066 * iconvdata/ibm1156.h: Likewise.
24067 * iconvdata/ibm1157.h: Likewise.
24068 * iconvdata/ibm1158.h: Likewise.
24069 * iconvdata/ibm1160.h: Likewise.
24070 * iconvdata/ibm1161.h: Likewise.
24071 * iconvdata/ibm1162.h: Likewise.
24072 * iconvdata/ibm1163.h: Likewise.
24073 * iconvdata/ibm1164.h: Likewise.
24074 * iconvdata/ibm1166.h: Likewise.
24075 * iconvdata/ibm1167.h: Likewise.
24076 * iconvdata/ibm12712.h: Likewise.
24077 * iconvdata/ibm1390.h: Likewise.
24078 * iconvdata/ibm1399.h: Likewise.
24079 * iconvdata/ibm16804.h: Likewise.
24080 * iconvdata/ibm4517.h: Likewise.
24081 * iconvdata/ibm4899.h: Likewise.
24082 * iconvdata/ibm4909.h: Likewise.
24083 * iconvdata/ibm4971.h: Likewise.
24084 * iconvdata/ibm5347.h: Likewise.
24085 * iconvdata/ibm803.h: Likewise.
24086 * iconvdata/ibm856.h: Likewise.
24087 * iconvdata/ibm901.h: Likewise.
24088 * iconvdata/ibm902.h: Likewise.
24089 * iconvdata/ibm9030.h: Likewise.
24090 * iconvdata/ibm9066.h: Likewise.
24091 * iconvdata/ibm921.h: Likewise.
24092 * iconvdata/ibm922.h: Likewise.
24093 * iconvdata/ibm9448.h: Likewise.
24094 * iconvdata/isiri-3342.h: Likewise.
24095 * iconvdata/jis0201.h: Likewise.
24096 * include/link.h: Likewise.
24097 * include/netdb.h: Likewise.
24098 * inet/check_native.c: Likewise.
24099 * inet/check_pf.c: Likewise.
24100 * inet/getipv4sourcefilter.c: Likewise.
24101 * inet/getnameinfo.c: Likewise.
24102 * inet/getsourcefilter.c: Likewise.
24103 * inet/htonl.c: Likewise.
24104 * inet/setipv4sourcefilter.c: Likewise.
24105 * inet/setsourcefilter.c: Likewise.
24106 * inet/test-inet6_opt.c: Likewise.
24107 * inet/tst-network.c: Likewise.
24108 * locale/C-collate.c: Likewise.
24109 * locale/C-ctype.c: Likewise.
24110 * locale/C-time.c: Likewise.
24111 * locale/C-translit.h: Likewise.
24112 * locale/loadarchive.c: Likewise.
24113 * locale/programs/3level.h: Likewise.
24114 * locale/programs/charmap.c: Likewise.
24115 * locale/programs/charmap.h: Likewise.
24116 * locale/programs/ld-address.c: Likewise.
24117 * locale/programs/ld-collate.c: Likewise.
24118 * locale/programs/ld-ctype.c: Likewise.
24119 * locale/programs/ld-identification.c: Likewise.
24120 * locale/programs/ld-measurement.c: Likewise.
24121 * locale/programs/ld-messages.c: Likewise.
24122 * locale/programs/ld-monetary.c: Likewise.
24123 * locale/programs/ld-name.c: Likewise.
24124 * locale/programs/ld-numeric.c: Likewise.
24125 * locale/programs/ld-paper.c: Likewise.
24126 * locale/programs/ld-telephone.c: Likewise.
24127 * locale/programs/ld-time.c: Likewise.
24128 * locale/programs/linereader.c: Likewise.
24129 * locale/programs/locale.c: Likewise.
24130 * locale/programs/locarchive.c: Likewise.
24131 * locale/programs/locfile.h: Likewise.
24132 * locale/programs/repertoire.c: Likewise.
24133 * locale/programs/simple-hash.c: Likewise.
24134 * locale/programs/simple-hash.h: Likewise.
24135 * malloc/memusage.c: Likewise.
24136 * malloc/memusagestat.c: Likewise.
24137 * nis/nis_defaults.c: Likewise.
24138 * nis/nis_hash.c: Likewise.
24139 * nis/nis_print.c: Likewise.
24140 * nis/nis_xdr.c: Likewise.
24141 * nscd/connections.c: Likewise.
24142 * nscd/hstcache.c: Likewise.
24143 * nscd/nscd_gethst_r.c: Likewise.
24144 * nscd/nscd_getserv_r.c: Likewise.
24145 * nscd/nscd_helper.c: Likewise.
24146 * nscd/servicescache.c: Likewise.
24147 * nss/makedb.c: Likewise.
24148 * nss/nss_db/db-XXX.c: Likewise.
24149 * nss/nss_db/db-initgroups.c: Likewise.
24150 * nss/nss_db/db-netgrp.c: Likewise.
24151 * nss/nss_files/files-network.c: Likewise.
24152 * nss/nss_files/files-parse.c: Likewise.
24153 * posix/bug-regex5.c: Likewise.
24154 * posix/fnmatch_loop.c: Likewise.
24155 * posix/regcomp.c: Likewise.
24156 * posix/regexec.c: Likewise.
24157 * posix/tst-rfc3484-2.c: Likewise.
24158 * posix/tst-rfc3484-3.c: Likewise.
24159 * posix/tst-rfc3484.c: Likewise.
24160 * resolv/nss_dns/dns-canon.c: Likewise.
24161 * resolv/nss_dns/dns-network.c: Likewise.
24162 * resolv/res_init.c: Likewise.
24163 * resolv/res_mkquery.c: Likewise.
24164 * resolv/tst-aton.c: Likewise.
24165 * stdlib/cxa_atexit.c: Likewise.
24166 * stdlib/cxa_finalize.c: Likewise.
24167 * stdlib/gen-fpioconst.c: Likewise.
24168 * stdlib/strtol_l.c: Likewise.
24169 * string/tst-endian.c: Likewise.
24170 * sunrpc/auth_des.c: Likewise.
24171 * sunrpc/clnt_udp.c: Likewise.
24172 * sunrpc/rtime.c: Likewise.
24173 * sunrpc/svcauth_des.c: Likewise.
24174 * sunrpc/xdr.c: Likewise.
24175 * sunrpc/xdr_intXX_t.c: Likewise.
24176 * sunrpc/xdr_rec.c: Likewise.
24177 * sysdeps/generic/ldconfig.h: Likewise.
24178 * sysdeps/generic/ldsodefs.h: Likewise.
24179 * sysdeps/generic/memusage.h: Likewise.
24180 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24183 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24188 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24190 * sysdeps/posix/getaddrinfo.c: Likewise.
24191 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24192 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24193 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24194 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24195 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24196 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24197 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24198 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24199 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24200 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24201 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24202 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24203 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24204 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24205 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24206 * sysdeps/x86_64/dl-tls.h: Likewise.
24207 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24208 * time/alt_digit.c: Likewise.
24209 * time/era.c: Likewise.
24210 * wcsmbs/tst-c16c32-1.c: Likewise.
24212 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24214 * math/libm-test.inc (struct test_sincos_data): New type.
24215 (RUN_TEST_LOOP_sincos): New macro.
24216 (sincos_test_data): New variable.
24217 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24219 2013-05-16 Richard Henderson <rth@redhat.com>
24221 * math/atest-exp2.c (LIMB64): New macro.
24222 (CONSTSZ): New macro.
24223 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24225 (print_mpn_fp): ... to function scope.
24226 (read_mpn_hex): Remove.
24227 (get_log2): Remove.
24228 (exp2_mpn): Use mp_log2.
24229 (main): Use mp_exp1.
24231 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24233 * math/libm-test.inc: Remove comment about not testing "inexact"
24235 (INEXACT_EXCEPTION): New macro.
24236 (NO_INEXACT_EXCEPTION): Likewise.
24237 (INVALID_EXCEPTION_OK): Update value.
24238 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24239 (OVERFLOW_EXCEPTION_OK): Likewise.
24240 (UNDERFLOW_EXCEPTION_OK): Likewise.
24241 (IGNORE_ZERO_INF_SIGN): Likewise.
24242 (ERRNO_UNCHANGED): Likewise.
24243 (ERRNO_EDOM): Likewise.
24244 (ERRNO_ERANGE): Likewise.
24245 (test_exceptions): Handle testing "inexact" exceptions.
24246 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24247 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24248 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24249 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24251 (rint_towardzero_test_data): Likewise.
24252 (rint_downward_test_data): Likewise.
24253 (rint_upward_test_data): Likewise.
24255 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24256 with OVERFLOW_EXCEPTION.
24257 (exp10_test_data): Likewise.
24258 (exp2_test_data): Likewise.
24259 (expm1_test_data): Likewise.
24260 (lgamma_test_data): Likewise.
24261 (pow_test_data): Likewise.
24262 (tgamma_test_data): Likewise.
24263 (yn_test_data): Remove duplicate test of overflow.
24265 * math/libm-test.inc (struct test_cc_c_data): New type.
24266 (RUN_TEST_LOOP_cc_c): New macro.
24267 (cpow_test_data): New variable.
24268 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24270 * math/libm-test.inc (struct test_f_L_data): New type.
24271 (RUN_TEST_LOOP_f_L): New macro.
24272 (llrint_test_data): New variable.
24273 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24274 (llrint_tonearest_test_data): New variable.
24275 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24276 (llrint_towardzero_test_data): New variable.
24277 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24278 (llrint_downward_test_data): New variable.
24279 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24280 (llrint_upward_test_data): New variable.
24281 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24282 (llround_test_data): New variable.
24283 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24285 2013-05-13 Peter Collingbourne <pcc@google.com>
24287 * math/atest-exp2.c (get_log2): Remove const attribute.
24289 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24291 * math/libm-test.inc (struct test_f_l_data): New type.
24292 (RUN_TEST_LOOP_f_l): New macro.
24293 (lrint_test_data): New variable.
24294 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24295 (lrint_tonearest_test_data): New variable.
24296 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24297 (lrint_towardzero_test_data): New variable.
24298 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24299 (lrint_downward_test_data): New variable.
24300 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24301 (lrint_upward_test_data): New variable.
24302 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24303 (lround_test_data): New variable.
24304 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24306 2013-05-15 Peter Collingbourne <pcc@google.com>
24308 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24309 (EXTRACT_WORDS64) Use where appropriate.
24310 (INSERT_WORDS64) Likewise.
24312 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24313 constraints with x constraints.
24314 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24316 * malloc/obstack.c (_obstack_compat): Add initializer.
24318 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24320 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24321 si_trapno and add si_addr_lsb to _sifields.sigfault.
24322 (si_trapno): Remove macro.
24323 (si_addr_lsb): Define new macro.
24324 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24326 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24328 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24329 instead of TEST_f_l.
24330 (llrint_test_tonearest): Likewise.
24331 (llrint_test_towardzero): Likewise.
24332 (llrint_test_downward): Likewise.
24333 (llrint_test_upward): Likewise.
24334 (llround_test): Likewise.
24336 * math/libm-test.inc (struct test_f_i_data): Add comment.
24337 (RUN_TEST_LOOP_f_b): New macro.
24338 (RUN_TEST_LOOP_f_b_tg): Likewise.
24339 (finite_test_data): New variable.
24340 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24341 (isfinite_test_data): New variable.
24342 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24343 (isinf_test_data): New variable.
24344 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24345 (isnan_test_data): New variable.
24346 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24347 (isnormal_test_data): New variable.
24348 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24349 (issignaling_test_data): New variable.
24350 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24351 (signbit_test_data): New variable.
24352 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24354 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24355 with INVALID_EXCEPTION.
24356 (acosh_test_data): Likewise.
24357 (asin_test_data): Likewise.
24358 (atanh_test_data): Likewise.
24359 (fmod_test_data): Likewise.
24360 (log_test_data): Likewise.
24361 (log10_test_data): Likewise.
24362 (log2_test_data): Likewise.
24363 (pow_test_data): Likewise.
24364 (sqrt_test_data): Likewise.
24365 (y0_test_data): Likewise.
24366 (y1_test_data): Likewise.
24367 (yn_test_data): Likewise.
24369 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24372 * math/libm-test.inc (struct test_ff_i_data): New type.
24373 (RUN_TEST_LOOP_ff_i_tg): New macro.
24374 (isgreater_test_data): New variable.
24375 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24376 (isgreaterequal_test_data): New variable.
24377 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24378 (isless_test_data): New variable.
24379 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24380 (islessequal_test_data): New variable.
24381 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24382 (islessgreater_test_data): New variable.
24383 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24384 (isunordered_test_data): New variable.
24385 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24387 2013-05-14 David S. Miller <davem@davemloft.net>
24389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24391 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24393 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24395 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24397 (struct test_f_i_data): Change type of max_ulp to int.
24399 * math/libm-test.inc (test_ffI_f1_data): New type.
24400 (RUN_TEST_LOOP_ffI_f1): New macro.
24401 (remquo_test_data): New variable.
24402 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24404 * setjmp/tst-setjmp-fp.c: New file.
24405 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24406 (link-libm): New variable.
24407 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24409 * math/libm-test.inc (struct test_f_i_data): New type.
24410 (RUN_TEST_LOOP_f_i): New macro.
24411 (RUN_TEST_LOOP_f_i_tg): Likewise.
24412 (fpclassify_test_data): New variable.
24413 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24414 (ilogb_test_data): New variable.
24415 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24417 * math/libm-test.inc (scalbln_test): Correct function name in END
24420 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24421 (RUN_TEST_LOOP_fI_f1): New macro.
24422 (frexp_test_data): New variable.
24423 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24425 * math/libm-test.inc (struct test_fF_f1_data): New type.
24426 (RUN_TEST_LOOP_fF_f1): New macro.
24427 (modf_test_data): New variable.
24428 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24430 * math/libm-test.inc (struct test_f_f1_data): New type.
24431 (RUN_TEST_LOOP_f_f1): New macro.
24432 (gamma_test_data): New variable.
24433 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24434 (lgamma_test_data): New variable.
24435 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24437 2013-05-13 Carlos O'Donell <carlos@redhat.com>
24439 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24440 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24441 (main): Comment "tls" pseudo-hwcap.
24443 2013-05-13 Joseph Myers <joseph@codesourcery.com>
24445 * math/libm-test.inc (struct test_fl_f_data): New type.
24446 (RUN_TEST_LOOP_fl_f): New variable.
24447 (scalbln_test_data): New variable.
24448 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24450 * math/libm-test.inc (struct test_fi_f_data): New type.
24451 (RUN_TEST_LOOP_fi_f): New macro.
24452 (ldexp_test_data): New variable.
24453 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24454 (scalbn_test_data): New variable.
24455 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24457 * math/libm-test.inc (struct test_c_f_data): New type.
24458 (RUN_TEST_LOOP_c_f): New macro.
24459 (cabs_test_data): New variable.
24460 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24461 (carg_test_data): New variable.
24462 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24463 (cimag_test_data): New variable.
24464 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24465 (creal_test_data): New variable.
24466 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24468 * math/libm-test.inc (struct test_if_f_data): New type.
24469 (RUN_TEST_LOOP_if_f): New macro.
24470 (jn_test_data): New variable.
24471 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24472 (yn_test_data): New variable.
24473 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24475 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24477 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24479 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24480 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24482 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24484 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24485 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24486 (bench-deps): Add bench-timing.h.
24487 * benchtests-bench-skeleton.c: Include bench-timing.h.
24488 (main): Use TIMING_* macros instead of clock_gettime.
24489 * benchtests/bench-timing.h: New file.
24492 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24493 Renamed from _LIB_VERSION.
24494 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24496 2013-05-12 Joseph Myers <joseph@codesourcery.com>
24498 * math/libm-test.inc (struct test_fff_f_data): New type.
24499 (RUN_TEST_LOOP_fff_f): New macro.
24500 (fma_test_data): New variable.
24501 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24502 (fma_towardzero_test_data): New variable.
24503 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24504 (fma_downward_test_data): New variable.
24505 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24506 (fma_upward_test_data): New variable.
24507 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24509 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24510 (struct test_c_c_data): New type.
24511 (RUN_TEST_LOOP_c_c): New macro.
24512 (cacos_test_data): New variable.
24513 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24514 (cacosh_test_data): New variable.
24515 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24516 (casin_test_data): New variable.
24517 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24518 (casinh_test_data): New variable.
24519 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24520 (catan_test_data): New variable.
24521 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24522 (catanh_test_data): New variable.
24523 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24524 (ccos_test_data): New variable.
24525 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24526 (ccosh_test_data): New variable.
24527 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24528 (cexp_test_data): New variable.
24529 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24530 (clog_test_data): New variable.
24531 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24532 (clog10_test_data): New variable.
24533 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24534 (conj_test_data): New variable.
24535 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24536 (cproj_test_data): New variable.
24537 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24538 (csin_test_data): New variable.
24539 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24540 (csinh_test_data): New variable.
24541 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24542 (csqrt_test_data): New variable.
24543 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24544 (ctan_test_data): New variable.
24545 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24546 (ctan_tonearest_test_data): New variable.
24547 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24548 (ctan_towardzero_test_data): New variable.
24549 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24550 (ctan_downward_test_data): New variable.
24551 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24552 (ctan_upward_test_data): New variable.
24553 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24554 (ctanh_test_data): New variable.
24555 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24556 (ctanh_tonearest_test_data): New variable.
24557 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24558 (ctanh_towardzero_test_data): New variable.
24559 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24560 (ctanh_downward_test_data): New variable.
24561 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24562 (ctanh_upward_test_data): New variable.
24563 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24564 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24567 * math/libm-test.inc (struct test_ff_f_data): New type.
24568 (struct test_ff_f_data_nexttoward): Likewise.
24569 (RUN_TEST_LOOP_2_f): New macro.
24570 (RUN_TEST_LOOP_ff_f): Likewise.
24571 (atan2_test_data): New variable.
24572 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24573 (copysign_test_data): New variable.
24574 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24575 (fdim_test_data): New variable.
24576 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24577 (fmax_test_data): New variable.
24578 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24579 (fmin_test_data): New variable.
24580 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24581 (fmod_test_data): New variable.
24582 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24583 (hypot_test_data): New variable.
24584 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24585 (nextafter_test_data): New variable.
24586 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24587 (nexttoward_test_data): New variable.
24588 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24589 (pow_test_data): New variable.
24590 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24591 (pow_tonearest_test_data): New variable.
24592 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24593 (pow_towardzero_test_data): New variable.
24594 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24595 (pow_downward_test_data): New variable.
24596 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24597 (pow_upward_test_data): New variable.
24598 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24599 (remainder_test_data): New variable.
24600 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24601 (scalb_test_data): New variable.
24602 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24603 * sysdeps/i386/fpu/libm-test-ulps: Update.
24605 2013-05-11 Joseph Myers <joseph@codesourcery.com>
24607 * math/libm-test.inc (fma_test): Use max_value instead of local
24609 (nextafter_test): Likewise.
24611 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24612 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24613 (acos_downward_test_data): New variable.
24614 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24615 (acos_upward_test_data): New variable.
24616 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24617 (acosh_test_data): New variable.
24618 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24619 (asin_test_data): New variable.
24620 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24621 (asin_tonearest_test_data): New variable.
24622 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24623 (asin_towardzero_test_data): New variable.
24624 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24625 (asin_downward_test_data): New variable.
24626 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24627 (asin_upward_test_data): New variable.
24628 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24629 (asinh_test_data): New variable.
24630 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24631 (atan_test_data): New variable.
24632 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24633 (atanh_test_data): New variable.
24634 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24635 (cbrt_test_data): New variable.
24636 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24637 (ceil_test_data): New variable.
24638 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24639 (cos_test_data): New variable.
24640 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24641 (cos_tonearest_test_data): New variable.
24642 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24643 (cos_towardzero_test_data): New variable.
24644 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24645 (cos_downward_test_data): New variable.
24646 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24647 (cos_upward_test_data): New variable.
24648 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24649 (cosh_test_data): New variable.
24650 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24651 (cosh_tonearest_test_data): New variable.
24652 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24653 (cosh_towardzero_test_data): New variable.
24654 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24655 (cosh_downward_test_data): New variable.
24656 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24657 (cosh_upward_test_data): New variable.
24658 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24659 (erf_test_data): New variable.
24660 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24661 (erfc_test_data): New variable.
24662 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24663 (exp_test_data): New variable.
24664 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24665 (exp_tonearest_test_data): New variable.
24666 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24667 (exp_towardzero_test_data): New variable.
24668 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24669 (exp_downward_test_data): New variable.
24670 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24671 (exp_upward_test_data): New variable.
24672 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24673 (exp10_test_data): New variable.
24674 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24675 (exp2_test_data): New variable.
24676 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24677 (expm1_test_data): New variable.
24678 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24679 (fabs_test_data): New variable.
24680 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24681 (floor_test_data): New variable.
24682 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24683 (j0_test_data): New variable.
24684 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24685 (j1_test_data): New variable.
24686 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24687 (log_test_data): New variable.
24688 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24689 (log10_test_data): New variable.
24690 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24691 (log1p_test_data): New variable.
24692 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24693 (log2_test_data): New variable.
24694 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24695 (logb_test_data): New variable.
24696 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24697 (logb_downward_test_data): New variable.
24698 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24699 (nearbyint_test_data): New variable.
24700 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24701 (rint_test_data): New variable.
24702 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24703 (rint_tonearest_test_data): New variable.
24704 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24705 (rint_towardzero_test_data): New variable.
24706 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24707 (rint_downward_test_data): New variable.
24708 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24709 (rint_upward_test_data): New variable.
24710 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24711 (round_test_data): New variable.
24712 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24713 (sin_test_data): New variable.
24714 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24715 (sin_tonearest_test_data): New variable.
24716 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24717 (sin_towardzero_test_data): New variable.
24718 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24719 (sin_downward_test_data): New variable.
24720 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24721 (sin_upward_test_data): New variable.
24722 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24723 (sinh_test_data): New variable.
24724 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24725 (sinh_tonearest_test_data): New variable.
24726 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24727 (sinh_towardzero_test_data): New variable.
24728 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24729 (sinh_downward_test_data): New variable.
24730 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24731 (sinh_upward_test_data): New variable.
24732 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24733 (sqrt_test_data): New variable.
24734 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24735 (tan_test_data): New variable.
24736 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24737 (tan_tonearest_test_data): New variable.
24738 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24739 (tan_towardzero_test_data): New variable.
24740 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24741 (tan_downward_test_data): New variable.
24742 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24743 (tan_upward_test_data): New variable.
24744 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24745 (tanh_test_data): New variable.
24746 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24747 (tgamma_test_data): New variable.
24748 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24749 (trunc_test_data): New variable.
24750 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24751 (y0_test_data): New variable.
24752 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24753 (y1_test_data): New variable.
24754 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24755 (significand_test_data): New variable.
24756 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24758 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24761 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24763 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24765 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24767 2013-05-10 Andreas Jaeger <aj@suse.de>
24770 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24771 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24773 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24775 * math/gen-libm-test.pl (adjust_arg): New function.
24776 (special_functions): Handle generating output in both functions
24778 (parse_args): Likewise.
24779 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24780 $in_func argument to parse_args.
24781 * math/libm-test.inc (struct test_f_f_data): New type.
24782 (IF_ROUND_INIT_): New macro.
24783 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24784 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24785 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24786 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24787 (ROUND_RESTORE_): Likewise.
24788 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24789 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24790 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24791 (ROUND_RESTORE_FE_UPWARD): Likewise.
24792 (RUN_TEST_LOOP_f_f): New macro.
24793 (acos_test_data): New variable.
24794 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24795 (acos_tonearest_test_data): New variable.
24796 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24798 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24800 * benchtests/bench-skeleton.c (startup): Fix coding style.
24802 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24805 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24806 negative infinity argument.
24807 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24808 negative infinity argument.
24809 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24810 negative infinity argument.
24811 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24814 2013-05-10 Florian Weimer <fweimer@redhat.com>
24816 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24817 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24818 * iconv/iconv_prog.c (main): Likewise.
24819 * locale/programs/charmap-dir.c (charmap_readdir)
24820 (fopen_uncompressed): Likewise.
24821 * locale/programs/locfile.c (siblings_uncached)
24822 (write_locale_data): Use lstat64 instead of lstat.
24823 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24826 2013-05-10 Andreas Jaeger <aj@suse.de>
24829 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24831 Include <locale.h>.
24833 2013-05-09 Carlos O'Donell <carlos@redhat.com>
24835 * elf/dl-close.c (_dl_close_worker): Add comments.
24837 2013-05-09 Joseph Myers <joseph@codesourcery.com>
24840 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24842 (__ieee754_rem_pio2l): Update comments.
24845 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24847 (__ieee754_rem_pio2l): Update comments.
24849 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24850 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24852 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24855 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24856 (M_PI_34_LOG10El): Likewise.
24857 (M_PI2_LOG10El): Likewise.
24858 (M_PI4_LOG10El): Likewise.
24859 (M_PI_LOG10El): Likewise.
24861 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24865 2013-05-08 Joseph Myers <joseph@codesourcery.com>
24867 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24868 (MINUS_ZERO_INIT): Likewise.
24869 (PLUS_INFTY_INIT): Likewise.
24870 (MINUS_INFTY_INIT): Likewise.
24871 (QNAN_VALUE_INIT): Likewise.
24872 (MAX_VALUE_INIT): Likewise.
24873 (MIN_VALUE_INIT): Likewise.
24874 (MIN_SUBNORM_VALUE_INIT): Likewise.
24875 (plus_zero): Initialize with PLUS_ZERO_INIT.
24876 (minus_zero): Initialize with MINUS_ZERO_INIT.
24877 (plus_infty): Initialize with PLUS_INFTY_INIT.
24878 (minus_infty): Initialize with MINUS_INFTY_INIT.
24879 (qnan_value): Initialize with QNAN_VALUE_INIT.
24880 (max_value): Initialize with MAX_VALUE_INIT.
24881 (min_value): Initialize with MIN_VALUE_INIT.
24882 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24884 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24885 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24886 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24887 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24889 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24890 (RUN_TEST_2_f): Likewise.
24891 (RUN_TEST_ff_f): Likewise.
24892 (RUN_TEST_fi_f): Likewise.
24893 (RUN_TEST_fl_f): Likewise.
24894 (RUN_TEST_fff_f): Likewise.
24895 (RUN_TEST_c_f): Likewise.
24896 (RUN_TEST_f_f1): Likewise.
24897 (RUN_TEST_fF_f1): Likewise.
24898 (RUN_TEST_fI_f1): Likewise.
24899 (RUN_TEST_ffI_f1): Likewise.
24900 (RUN_TEST_c_c): Likewise.
24901 (RUN_TEST_cc_c): Likewise.
24902 (RUN_TEST_f_i): Likewise.
24903 (RUN_TEST_f_i_tg): Likewise.
24904 (RUN_TEST_ff_i_tg): Likewise.
24905 (RUN_TEST_f_b): Likewise.
24906 (RUN_TEST_f_b_tg): Likewise.
24907 (RUN_TEST_f_l): Likewise.
24908 (RUN_TEST_f_L): Likewise.
24909 (RUN_TEST_sincos): Likewise.
24910 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24911 whether to show exceptions. Do not include ");\n" in return
24913 (special_functions): Output call to RUN_TEST_sincos instead of
24914 check_float calls. Update calls to new_test.
24915 (parse_args): Output call to single RUN_TEST_* macro instead of
24916 check_* calls and other assignments. Update calls to new_test.
24922 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24923 input to result for tgamma overflow.
24924 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24925 (gamma_coeff): New variable.
24926 (NCOEFF): New macro.
24927 (gamma_positive): New function.
24928 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24929 underflow here. Use gamma_positive instead of exp (lgamma) for
24931 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24932 (gamma_coeff): New variable.
24933 (NCOEFF): New macro.
24934 (gammaf_positive): New function.
24935 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24936 underflow here. Use gamma_positive instead of exp (lgamma) for
24938 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24939 (gamma_coeff): New variable.
24940 (NCOEFF): New macro.
24941 (gammal_positive): New function.
24942 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24943 underflow here. Use gamma_positive instead of exp (lgamma) for
24945 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24946 (gamma_coeff): New variable.
24947 (NCOEFF): New macro.
24948 (gammal_positive): New function.
24949 (__ieee754_gammal_r): Handle positive infinity, overflow and
24950 underflow here. Handle NaN the same as positive infinity. Remove
24951 check x < 0xffffffff for negative integers. Use gamma_positive
24952 instead of exp (lgamma) for other arguments.
24953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24954 (gamma_coeff): New variable.
24955 (NCOEFF): New macro.
24956 (gammal_positive): New function.
24957 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24958 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24959 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24960 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24961 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24962 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24963 * sysdeps/generic/math_private.h (__gamma_productf): New
24965 (__gamma_product): Likewise.
24966 (__gamma_productl): Likewise.
24967 * math/Makefile (libm-calls): Add gamma_product.
24968 * math/libm-test.inc (tgamma_test): Add more tests.
24969 * sysdeps/i386/fpu/libm-test-ulps: Update.
24970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24972 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
24974 * benchtests/bench-skeleton.c (main): Preheat CPU.
24976 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24978 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24980 2013-05-07 Roland McGrath <roland@hack.frob.com>
24982 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24983 and _dl_skip_args_internal.
24985 2013-05-07 Carlos O'Donell <carlos@redhat.com>
24987 * manual/message.texi (Message Translation): Talk about users.
24988 Message to key mapping impacts design.
24990 2013-05-06 Roland McGrath <roland@hack.frob.com>
24992 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24994 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24996 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24997 * sysdeps/wordsize-64/glob64.c: ... here.
24999 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25000 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25003 * debug/getlogin_r_chk.c: Moved to ...
25004 * login/getlogin_r_chk.c: ... here.
25005 * debug/Makefile (routines): Move getlogin_r_chk to ...
25006 * login/Makefile (routines): ... here.
25007 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25008 * login/Versions (libc: GLIBC_2.4): ... here.
25010 * io/poll.c (__poll): Renamed from poll.
25011 Add libc_hidden_def.
25012 (poll): Define as weak alias.
25014 * debug/ptsname_r_chk.c: Moved to ...
25015 * login/ptsname_r_chk.c: ... here.
25016 * debug/Makefile (routines): Move ptsname_r_chk to ...
25017 * login/Makefile (routines): ... here.
25018 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25019 * login/Versions (libc: GLIBC_2.4): ... here.
25021 * posix/getlogin.c: Moved to ...
25022 * login/getlogin.c: ... here.
25023 * posix/getlogin_r.c: Moved to ...
25024 * login/getlogin_r.c: ... here.
25025 * posix/getlogin_r.c: Moved to ...
25026 * login/getlogin_r.c: ... here.
25027 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25028 * login/Makefile (routines): ... here.
25029 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25030 * login/Versions (libc: GLIBC_2.0): ... here.
25032 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25033 (setrlimit): Define as weak alias.
25035 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25036 Call __ names for open, ftruncate, and close.
25037 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25038 (truncate): Define as weak alias.
25040 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25042 * math/gen-libm-test.pl (parse_args): Initialize x before each
25043 test of frexp, modf and remquo.
25045 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25046 test signgam value.
25048 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25052 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25054 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25056 2013-05-06 Roland McGrath <roland@hack.frob.com>
25058 * elf/dl-writev.h: New file.
25059 * elf/dl-misc.c: Include it.
25060 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25061 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25063 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25065 * math/libm-test.inc (noXFails): Remove variable.
25066 (noXPasses): Likewise.
25067 (BUILD_COMPLEX_INT): Remove macro.
25068 (print_screen): Remove xfail argument.
25069 (print_screen_max_error): Likewise.
25070 (update_stats): Likewise.
25071 (print_max_error): Likewise. Update calls to other affected
25073 (print_complex_max_error): Likewise.
25074 (test_single_exception): Update calls to print_screen.
25075 (test_single_errno): Likewise.
25076 (check_float_internal): Remove xfail argument. Update calls to
25077 other affected functions.
25078 (check_float): Likewise.
25079 (check_complex): Likewise.
25080 (check_int): Likewise.
25081 (check_long): Likewise.
25082 (check_bool): Likewise.
25083 (check_longlong): Likewise.
25084 (main): Don't print noXFails and noXPasses.
25085 * math/gen-libm-test.pl (top level): Don't mention expected
25086 failure handling in comment.
25087 (new_test): Don't handle expected failures.
25088 (parse_args): Don't mention expected failure handling in comment.
25089 (generate_testfile): Don't handle expected failures.
25090 (parse_ulps): Likewise.
25091 (print_ulps_file): Likewise.
25092 (get_failure): Remove function.
25093 (output_test): Don't handle expected failures.
25094 * make/README.libm-test: Don't mention expected failure handling.
25096 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25097 (minus_zero): Likewise.
25098 (plus_infty): Likewise.
25099 (minus_infty): Likewise.
25100 (qnan_value): Likewise.
25101 (max_value): Likewise.
25102 (min_value): Likewise.
25103 (min_subnorm_value): Likewise.
25104 (initialize): Do not initialize those variables dynamically.
25106 2013-05-03 Roland McGrath <roland@hack.frob.com>
25108 * io/open.c (__open_2): Moved to ...
25109 * io/open_2.c: ... this new file.
25110 * io/open64.c (__open64_2): Moved to ...
25111 * io/open64_2.c: ... this new file.
25112 * io/openat.c (__openat_2): Moved to ...
25113 * io/openat_2.c: ... this new file.
25114 * io/openat64.c (__openat64_2): Moved to ...
25115 * io/openat64_2.c: ... this new file.
25116 * io/Makefile (routines): Add them.
25117 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25118 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25119 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25120 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25121 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25122 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25123 (__openat64): Add hidden_ver.
25124 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25125 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25127 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25128 Separately conditionalize setting of GLRO(dl_sysinfo) so
25129 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25130 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25132 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25134 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25137 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25138 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25139 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25140 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25141 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25143 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25145 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25146 test signgam value.
25148 * math/libm-test.inc (hypot_test): Do not use
25149 IGNORE_ZERO_INF_SIGN.
25151 2013-05-03 Andreas Jaeger <aj@suse.de>
25153 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25155 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25156 (PF_MAX): Adjust for VSOCK change.
25158 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25162 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25165 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25166 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25167 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25169 2013-05-02 David S. Miller <davem@davemloft.net>
25171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25173 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25175 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25177 2013-05-01 Roland McGrath <roland@hack.frob.com>
25179 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25181 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25184 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25185 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25186 Use __attribute__ ((__gnu_inline__)).
25187 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25188 Don't use __attribute__ ((__gnu_inline__)).
25190 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25193 * math/s_catan.c (__catan): Handle small real or imaginary part of
25194 input specially to avoid spurious underflow.
25195 * math/s_catanf.c (__catanf): Likewise.
25196 * math/s_catanh.c (__catanh): Likewise.
25197 * math/s_catanhf.c (__catanhf): Likewise.
25198 * math/s_catanhl.c (__catanhl): Likewise.
25199 * math/s_catanl.c (__catanl): Likewise.
25200 * math/libm-test.inc (catan_test): Add more tests.
25201 (catanh_test): Likewise.
25202 * sysdeps/i386/fpu/libm-test-ulps: Update.
25203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25205 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25209 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25212 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25213 accurately for denominator in atan2.
25214 * math/s_catanf.c (__catanf): Likewise.
25215 * math/s_catanh.c (__catanh): Likewise.
25216 * math/s_catanhf.c (__catanhf): Likewise.
25217 * math/s_catanhl.c (__catanhl): Likewise.
25218 * math/s_catanl.c (__catanl): Likewise.
25219 * math/libm-test.inc (catan_test): Add more tests.
25220 (catanh_test): Likewise.
25221 * sysdeps/i386/fpu/libm-test-ulps: Update.
25222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25224 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25226 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25228 * benchtests/Makefile (bench): Remove slow benchmarks.
25229 * benchtests/atan-inputs: Add slow benchmark inputs.
25230 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25231 (BENCH_FUNC): Accept variant offset.
25233 * benchtests/bench-skeleton.c (main): Run benchmark for each
25235 * benchtests/cos-inputs: Add slow benchmark inputs.
25236 * benchtests/exp-inputs: Likewise.
25237 * benchtests/pow-inputs: Likewise.
25238 * benchtests/sin-inputs: Likewise.
25239 * benchtests/slowatan-inputs: Remove.
25240 * benchtests/slowatan.c: Remove.
25241 * benchtests/slowcos-inputs: Remove.
25242 * benchtests/slowcos.c: Remove.
25243 * benchtests/slowexp-inputs: Remove.
25244 * benchtests/slowexp.c: Remove.
25245 * benchtests/slowpow-inputs: Remove.
25246 * benchtests/slowpow.c: Remove.
25247 * benchtests/slowsin-inputs: Remove.
25248 * benchtests/slowsin.c: Remove.
25249 * benchtests/slowtan-inputs: Remove.
25250 * benchtests/slowtan.c: Remove.
25251 * benchtests/tan-inputs: Add slow benchmark inputs.
25252 * scripts/bench.pl: Parse comments and directives.
25254 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25256 ($(objpfx)bench-%.c): Remove *-ITER.
25257 * benchtests/bench-modf.c: Remove definition of ITER.
25258 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25259 (main): Loop for DURATION seconds instead of fixed number of
25261 * scripts/bench.pl: Don't expect iterations in parameters.
25263 2013-04-29 Roland McGrath <roland@hack.frob.com>
25265 * io/fchdir.c (__fchdir): Renamed from fchdir.
25266 (fchdir): Define as weak alias.
25268 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25270 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25271 (ERRNO_EDOM): Likewise.
25272 (ERRNO_ERANGE): Likewise.
25273 (noErrnoTests): New variable.
25274 (init_max_error): Set errno to 0.
25275 (test_single_errno): New function.
25276 (test_errno): Likewise.
25277 (check_float_internal): Call test_errno. Set errno to 0.
25278 (check_complex): Refer to errno tests in comment.
25279 (check_int): Call test_errno. Set errno to 0.
25280 (check_long): Likewise.
25281 (check_bool): Likewise.
25282 (check_longlong): Likewise.
25283 (cos_test): Use ERRNO_* flags for errno tests instead of
25285 (expm1_test): Likewise.
25286 (fmod_test): Likewise.
25287 (ilogb_test): Likewise.
25288 (lgamma_test): Likewise.
25289 (pow_test): Likewise.
25290 (remainder_test): Likewise.
25291 (sin_test): Likewise.
25292 (tan_test): Likewise.
25293 (yn_test): Likewise.
25294 (initialize): Set errno to 0.
25295 (main): Print number of errno tests.
25296 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25298 2013-04-29 Andreas Jaeger <aj@suse.de>
25301 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25305 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25306 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25310 * stdlib/random.c (__initstate): Return NULL if
25314 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25315 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25318 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25322 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25324 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25325 of individual tests.
25326 (casin_test): Likewise.
25327 (casinh_test): Likewise.
25329 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25332 * math/s_catan.c (__catan): Handle arguments with large real or
25333 imaginary part separately without squaring.
25334 * math/s_catanf.c (__catanf): Likewise.
25335 * math/s_catanh.c (__catanh): Likewise.
25336 * math/s_catanhf.c (__catanhf): Likewise.
25337 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25339 (__catanhl): Handle arguments with large real or imaginary part
25340 separately without squaring.
25341 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25343 (__catanl): Handle arguments with large real or imaginary part
25344 separately without squaring.
25345 * math/libm-test.inc (catan_test): Add more tests.
25346 (catanh_test): Likewise.
25347 * sysdeps/i386/fpu/libm-test-ulps: Update.
25348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25350 2013-04-27 Andreas Jaeger <aj@suse.de>
25353 * stdlib/stdlib.h: Update guards for qecvt.
25354 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25357 2013-04-27 Allan McRae <allan@archlinux.org>
25359 * sysdeps/i386/fpu/libm-test-ulps: Update.
25361 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25364 * math/s_catan.c: Include <float.h>.
25365 (__catan): Ensure underflow exception occurs for underflowed
25367 * math/s_catanf.c: Include <float.h>.
25368 (__catanf): Ensure underflow exception occurs for underflowed
25370 * math/s_catanh.c: Include <float.h>.
25371 (__catanh): Ensure underflow exception occurs for underflowed
25373 * math/s_catanhf.c: Include <float.h>.
25374 (__catanhf): Ensure underflow exception occurs for underflowed
25376 * math/s_catanhl.c: Include <float.h>.
25377 (__catanhl): Ensure underflow exception occurs for underflowed
25379 * math/s_catanl.c: Include <float.h>.
25380 (__catanl): Ensure underflow exception occurs for underflowed
25382 * math/libm-test.inc (catan_test): Add more tests.
25383 (catanh_test): Likewise.
25386 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25387 underflowed result.
25388 * math/s_ccoshf.c (__ccoshf): Likewise.
25389 * math/s_ccoshl.c (__ccoshl): Likewise.
25390 * math/s_csin.c (__csin): Likewise.
25391 * math/s_csinf.c (__csinf): Likewise.
25392 * math/s_csinh.c (__csinh): Likewise.
25393 * math/s_csinhf.c (__csinhf): Likewise.
25394 * math/s_csinhl.c (__csinhl): Likewise.
25395 * math/s_csinl.c (__csinl): Likewise.
25396 * math/libm-test.inc (ccos_test): Add more tests.
25397 (ccosh_test): Likewise.
25398 (csin_test): Likewise.
25399 (csinh_test): Likewise.
25401 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25403 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25404 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25405 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25406 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25407 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25408 powerpc/power5+/fpu folders.
25409 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25412 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25416 2013-04-25 Joseph Myers <joseph@codesourcery.com>
25418 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25419 additions to variable.
25420 [$(config-machine) = x86_64] (modules-names): Likewise.
25421 ($(objpfx)tst-audit3): Remove dependency.
25422 ($(objpfx)tst-audit3.out): Likewise.
25423 ($(objpfx)tst-audit4): Likewise.
25424 ($(objpfx)tst-audit4.out): Likewise.
25425 ($(objpfx)tst-audit5): Likewise.
25426 ($(objpfx)tst-audit5.out): Likewise.
25427 ($(objpfx)tst-audit6): Likewise.
25428 ($(objpfx)tst-audit6.out): Likewise.
25429 ($(objpfx)tst-audit7): Likewise.
25430 ($(objpfx)tst-audit7.out): Likewise.
25431 (tst-audit3-ENV): Remove variable.
25432 (tst-audit4-ENV): Likewise.
25433 (tst-audit5-ENV): Likewise.
25434 (tst-audit6-ENV): Likewise.
25435 (tst-audit7-ENV): Likewise.
25436 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25437 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25438 addition to variable.
25439 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25440 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25441 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25442 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25443 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25444 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25445 tst-audit3, tst-audit4 and tst-audit5.
25446 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25447 tst-audit6 and tst-audit7.
25448 [$(subdir) = elf] (modules-names): Add audit modules for those
25450 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25451 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25452 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25453 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25454 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25455 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25456 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25457 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25458 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25459 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25460 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25461 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25462 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25463 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25464 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25465 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25467 [$(subdir) = elf && $(config-cflags-avx) = yes]
25468 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25469 [$(subdir) = elf && $(config-cflags-avx) = yes]
25470 (CFLAGS-tst-auditmod4a.c): Likewise.
25471 [$(subdir) = elf && $(config-cflags-avx) = yes]
25472 (CFLAGS-tst-auditmod4b.c): Likewise.
25473 [$(subdir) = elf && $(config-cflags-avx) = yes]
25474 (CFLAGS-tst-auditmod6b.c): Likewise.
25475 [$(subdir) = elf && $(config-cflags-avx) = yes]
25476 (CFLAGS-tst-auditmod6c.c): Likewise.
25477 [$(subdir) = elf && $(config-cflags-avx) = yes]
25478 (CFLAGS-tst-auditmod7b.c): Likewise.
25479 * elf/tst-audit3.c: Move to ...
25480 * sysdeps/x86_64/tst-audit3.c: ... here.
25481 * elf/tst-audit4.c: Move to ...
25482 * sysdeps/x86_64/tst-audit4.c: ... here.
25483 * elf/tst-audit5.c: Move to ...
25484 * sysdeps/x86_64/tst-audit5.c: ... here.
25485 * elf/tst-audit6.c: Move to ...
25486 * sysdeps/x86_64/tst-audit6.c: ... here.
25487 * elf/tst-audit7.c: Move to ...
25488 * sysdeps/x86_64/tst-audit7.c: ... here.
25489 * elf/tst-auditmod3a.c: Move to ...
25490 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25491 * elf/tst-auditmod3b.c: Move to ...
25492 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25493 * elf/tst-auditmod4a.c: Move to ...
25494 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25495 * elf/tst-auditmod4b.c: Move to ...
25496 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25497 * elf/tst-auditmod5a.c: Move to ...
25498 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25499 * elf/tst-auditmod5b.c: Move to ...
25500 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25501 * elf/tst-auditmod6a.c: Move to ...
25502 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25503 * elf/tst-auditmod6b.c: Move to ...
25504 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25505 * elf/tst-auditmod6c.c: Move to ...
25506 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25507 * elf/tst-auditmod7a.c: Move to ...
25508 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25509 * elf/tst-auditmod7b.c: Move to ...
25510 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25512 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25515 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25516 define unconditionally.
25517 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25518 define unconditionally.
25519 (INT8_C, INT16_C, etc.): Likewise.
25521 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25523 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25524 __ehdr_start with hidden visibility.
25526 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25528 2013-04-24 Carlos O'Donell <carlos@redhat.com>
25530 * math/libm-test.inc (cos_test): Use accurate hex constants.
25531 (sincost_test): Likewise.
25533 2013-04-24 Joseph Myers <joseph@codesourcery.com>
25535 * math/libm-test.inc (catan_test): Add more tests.
25536 (catanh_test): Likewise.
25538 * math/s_catanf.c (__catanf): Use suffixed floating-point
25540 * math/s_catanhf.c (__catanhf): Likewise.
25541 * math/s_catanhl.c (__catanhl): Likewise.
25542 * math/s_catanl.c (__catanl): Likewise.
25545 * math/s_catan.c (__catan): Calculate imaginary part of result
25546 with log1p not log unless computing log of number close to 0.
25547 * math/s_catanf.c (__catanf): Likewise.
25548 * math/s_catanl.c (__catanl): Likewise.
25549 * math/s_catanh.c (__catanh): Calculate real part of result with
25550 log1p not log unless computing log of number close to 0.
25551 * math/s_catanhf.c (__catanhf): Likewise.
25552 * math/s_catanhl.c (__catanhl): Likewise.
25553 * math/libm-test.inc (catan_test): Add more tests.
25554 (catanh_test): Likewise.
25555 * sysdeps/i386/fpu/libm-test-ulps: Update.
25556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25558 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25560 * benchtests/Makefile: Mention files in which fast and slow
25561 paths of math functions are implemented.
25563 2013-04-23 Roland McGrath <roland@hack.frob.com>
25565 * sysdeps/posix/timespec_get.c: New file.
25567 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25569 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25571 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25573 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25574 powerpc/power5/fpu folders.
25575 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25576 * benchtests/Makefile: Add modf testcase.
25577 * benchtests/bench-modf.c: New file: Benchmark test for mo
25579 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25582 * time/Makefile (tests): Add tst-strptime-whitespace.
25583 * time/strptime_l.c (get_number): Use ISSPACE.
25584 (__strptime_internal): Likewise.
25585 * time/tst-strptime-whitespace.c: New test case.
25587 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25589 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25591 (_nss_files_init): Set it here.
25593 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25595 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25596 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25599 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25601 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25603 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25608 2013-04-21 David S. Miller <davem@davemloft.net>
25610 * po/ru.po: Update Russion translation from translation project.
25612 2013-04-17 Adam Conrad <adconrad@0c3.net>
25614 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25617 2013-04-17 Carlos O'Donell <carlos@redhat.com>
25619 * configure.in: Remove i386 configure warning. Remove i386 case.
25620 * configure: Regenerate.
25621 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25622 Add example to error message.
25623 * sysdeps/i386/configure: Regenerate.
25625 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25627 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25629 * benchtests/cos-inputs: New file.
25630 * benchtests/slowcos-inputs: New file.
25631 * benchtests/slowcos.c: New file.
25632 * benchtests/slowtan-inputs: New file.
25633 * benchtests/slowtan.c: New file.
25634 * benchtests/tan-inputs: New file.
25636 2013-04-16 Roland McGrath <roland@hack.frob.com>
25638 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25641 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25643 * benchtests/Makefile: Include cppflags-iterator.mk to add
25644 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25646 * Makefile.in (bench-clean): New target.
25647 * benchtests/Makefile (bench-clean): Likewise.
25649 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25651 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25653 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25655 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25657 2013-04-15 Andreas Schwab <schwab@suse.de>
25659 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25661 * nscd/pwdcache.c (cache_addpw): Likewise.
25662 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25665 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25667 * benchtests/Makefile (bench): Write all output to
25668 bench-out.tmp together.
25670 2013-04-15 Andreas Schwab <schwab@suse.de>
25672 * nscd/nscd.c (main): Don't fork again after closing files.
25674 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25676 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25678 * benchtests/Rules (bench-deps): Collect dependencies into a
25679 single variable. Add Makefile to dependencies.
25680 ($(objpfx)bench-%.c): Depend on bench-deps.
25682 2013-04-12 Roland McGrath <roland@hack.frob.com>
25683 Xavier Roche <roche+kml2@exalead.com>
25686 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25687 just that it's a file descriptor.
25688 * manual/llio.texi (Synchronizing AIO Operations): Update description
25689 for EBADF error from aio_fsync.
25691 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25693 * Rules (bench): Move target definition...
25694 * benchtests/Makefile: ... here.
25696 2013-04-11 Carlos O'Donell <carlos@redhat.com>
25698 * math/libm-test.inc (cos_test): Fix PI/2 test.
25699 (sincos_test): Likewise.
25700 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25701 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25703 2013-04-11 Andreas Schwab <schwab@suse.de>
25706 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25707 accept exponent character only when digits were seen.
25708 * stdio-common/Makefile (tests): Add bug26.
25709 * stdio-common/bug26.c: New file.
25712 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25715 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25717 * Makeconfig (rtld-prefix): Define built linker prefix.
25718 * Rules (run-bench): Use it.
25719 * math/Makefile (run-regen-ulps): Likewise.
25721 * Rules (bench): Remove eval.
25723 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25724 Roland McGrath <roland@hack.frob.com>
25725 Ondrej Bilka <neleai@seznam.cz>
25728 * time/getdate.c: Include ctype.h and alloca.h.
25729 (__getdate_r): Trim leading and trailing spaces of input.
25730 * time/tst-getdate.c (tests): Add tests with leading and
25733 2013-04-08 Roland McGrath <roland@hack.frob.com>
25736 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25737 when computing value.
25739 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25741 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25742 Use testrun.sh to run libm tests.
25745 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25747 2013-04-06 Marko Myllynen <myllynen@redhat.com>
25750 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25752 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25754 * Makefile.in (regen-ulps): New target.
25755 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25756 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25757 [ifneq (no,$(PERL)] (regen-ulps): New target.
25758 [ifeq (no,$(PERL)] (regen-ulps): New target.
25759 * math/libm-test.inc (ulps_file_name): Define.
25760 (output_dir): New variable.
25761 (options): Add "output-dir" option.
25762 (parse_opt): Handle 'o' case.
25763 (main): If output_dir is non-NULL use it as a prefix
25765 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25767 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25769 [BZ #10060, #10062]
25770 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25771 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25772 fail configure if __sync_val_compare_and_swap is not inlined.
25773 * sysdeps/i386/configure: Regenerate.
25774 * configure.in: Build for i686 when configured for i386.
25775 * configure: Regenerate.
25776 * README: Remove i386 reference.
25778 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25780 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25781 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25783 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25785 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25786 (lmsnanval): New variables.
25787 (F): Add conversion tests.
25788 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25789 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25791 * stdio-common/tstdiomisc.c (F): Properly collect individual
25794 [BZ #14686, #15336]
25795 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25796 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25797 Instead, use input NaN values or generate a qNaN by arithmetic
25798 operation. Also fix bugs to comply with the standard.
25799 * math/libm-test.inc (remainder_test): Add more tests.
25801 [BZ #15335, #15342]
25802 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25804 input NaN values or generate a qNaN by arithmetic operation.
25806 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25809 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25812 2013-04-03 Joseph Myers <joseph@codesourcery.com>
25815 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25816 underflowed result.
25817 * math/s_cexpf.c (__cexpf): Likewise.
25818 * math/s_cexpl.c (__cexpl): Likewise.
25819 * math/libm-test.inc (cexp_test): Add more tests.
25821 2013-04-03 Andreas Schwab <schwab@suse.de>
25824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25825 order arrays from heap if bigger than alloca cutoff.
25827 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25829 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25830 (SNAN_TESTS_double): Refer to GCC PR56831.
25831 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25834 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25836 * Rules (bench): Move bench.out after the run is complete.
25838 * Rules (bench): Echo currently running benchmark.
25840 * benchtests/Makefile (bench): Add atan and slowatan.
25841 * benchtests/atan-inputs: New file.
25842 * benchtests/slowatan-inputs: New file.
25843 * benchtests/slowatan.c: New file.
25845 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25846 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25850 * sysdeps/unix/sysv/linux/kernel-features.h
25851 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25852 __ASSUME_XFS_RESTRICTED_CHOWN.
25853 * sysdeps/unix/sysv/linux/pathconf.c
25854 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25855 Save and restore errno.
25857 2013-04-02 Joseph Myers <joseph@codesourcery.com>
25860 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25861 arguments using __kernel_casinh.
25862 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25863 arguments using __kernel_casinhf.
25864 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25865 arguments using __kernel_casinhl.
25866 * math/libm-test.inc (cacosh_test): Add more tests.
25867 * sysdeps/i386/fpu/libm-test-ulps: Update.
25868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25870 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25872 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25875 * bench/Makefile (bench): Add sin and slowsin.
25876 * benchtests/sin-inputs: New file.
25877 * benchtests/slowsin-inputs: New file.
25878 * benchtests/slowsin.c: New file.
25880 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25881 (bench): Add slowexp and slowpow.
25882 (exp-ITER): Increase iterations.
25883 (pow-ITER): Likewise.
25884 * benchtests/exp-inputs: Change input.
25885 * benchtests/pow-inputs: Likewise.
25886 * benchtests/slowexp-inputs: New file.
25887 * benchtests/slowexp.c: New file.
25888 * benchtests/slowpow-inputs: New file.
25889 * benchtests/slowpow.c: New file.
25891 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25893 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25895 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25896 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25897 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25898 * benchtests/Makefile: Add rint benchtest.
25899 * benchtests/rint-inputs: Input for rint benchtest.
25901 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25903 * Versions.def (libm): Add GLIBC_2.18.
25904 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25905 hidden libm prototypes.
25906 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25907 * math/Makefile (libm-calls): Add s_issignaling.
25908 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25909 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25910 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25912 * math/math.h [__USE_GNU] (issignaling): New macro.
25913 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25914 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25915 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25916 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25919 * manual/arith.texi (issignaling): New section.
25920 * manual/libm-err-tab.pl (@all_functions): Update comment.
25921 * math/gen-libm-test.pl (parse_args): Apply special handling for
25923 * math/libm-test.inc (print_float, issignaling_test): New
25925 (check_float_internal): Add issignaling checks.
25926 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25927 default definition.
25928 * sysdeps/powerpc/math-tests.h: New file.
25929 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25931 * math/test-snan.c (TEST_FUNC): Likewise.
25933 2013-03-30 David S. Miller <davem@davemloft.net>
25935 * po/de.po: Update from translation team.
25937 2013-03-30 Joseph Myers <joseph@codesourcery.com>
25940 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25941 imaginary part less than 1.0 and real part less than 0.5
25943 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25944 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25945 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25946 (cacos_test): Add more tests.
25947 (casin_test): Likewise.
25948 (casinh_test): Likewise.
25949 * sysdeps/i386/fpu/libm-test-ulps: Update.
25950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25952 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25954 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25955 ONE with its value.
25957 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25958 (__pow_mp): Replace ONE and MONE with their values.
25959 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25960 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25961 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25962 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25963 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25964 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25966 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25968 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25969 (__pow_mp): Replace ZERO and MZERO with their values.
25970 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25972 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25974 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25975 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25978 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25980 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25982 2013-03-28 Roland McGrath <roland@hack.frob.com>
25984 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25985 Declare with __attribute__ ((weak)).
25986 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25987 Call __call_tls_dtors only if it's not NULL.
25989 2013-03-28 Roland McGrath <roland@hack.frob.com>
25991 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25992 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25993 magic __ehdr_start linker symbol if it's defined.
25994 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25995 them up here if it was already done.
25997 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25998 (_dl_aux_init): Use const in cast when setting it.
25999 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26000 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26001 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26003 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26005 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26006 * csu/libc-tls.c: Nor here.
26007 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26009 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26010 (__libc_message): Never call vsyslog.
26012 2013-03-28 Alan Modra <amodra@gmail.com>
26014 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26016 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26019 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26022 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26026 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26029 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26030 Don't add gid passed as argument.
26032 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26034 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26037 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26038 imaginary part between 1.0 and 1.5 and real part less than 0.5
26040 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26041 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26042 * math/libm-test.inc (cacos_test): Add more tests.
26043 (casin_test): Likewise.
26044 (casinh_test): Likewise.
26045 * sysdeps/i386/fpu/libm-test-ulps: Update.
26046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26048 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26050 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26053 (denorm): Likewise.
26054 (__dbl_mp): Likewise.
26055 (add_magnitudes): Likewise.
26056 (sub_magnitudes): Likewise.
26064 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26066 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26067 (__dubcos): Likewise.
26068 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26069 (__ieee754_acos): Likewise.
26070 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26071 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26072 (__exp1): Likewise.
26073 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26076 (my_log2): Likewise.
26077 (checkint): Likewise.
26078 * sysdeps/ieee754/dbl-64/e_remainder.c
26079 (__ieee754_remainder): Likewise.
26080 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26082 (bsloww): Likewise.
26083 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26085 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26086 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26087 MANTISSA_STORE_T to store computations on mantissa. Use
26088 macros for rounding and division.
26089 (denorm): Likewise.
26090 (__dbl_mp): Likewise.
26091 (add_magnitudes): Likewise.
26092 (sub_magnitudes): Likewise.
26095 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26096 powers of two in terms of TWOPOW macro.
26097 (mp_no): Make type of mantissa as MANTISSA_T.
26098 [!RADIXI]: Define RADIXI.
26099 [!TWO52]: Define TWO52.
26100 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26102 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26104 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26105 llroundl symbol when building for PPC32.
26107 2013-03-24 Mark H Weaver <mhw@netris.org>
26109 * manual/arith.texi (Normalization Functions): Fix prototypes for
26110 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26112 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26115 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26116 high value to check if expl overflow.
26117 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26118 to check for underflow and overflow.
26119 * math/libm-test.inc: Add exp test.
26121 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26124 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26127 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26129 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26132 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26134 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26135 wrap blocks consisting of several statements.
26137 * sysdeps/generic/math-tests.h: New file.
26138 * sysdeps/i386/fpu/math-tests.h: Likewise.
26139 * math/test-snan.c: Include it.
26140 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26142 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26145 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26146 (__ieee754_j0l): Do not improve calculations using cos of twice
26147 input for inputs above LDBL_MAX / 2.0L.
26148 (__ieee754_y0l): Likewise.
26149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26150 (__ieee754_j1l): Do not improve calculations using cos of twice
26151 input for inputs above LDBL_MAX / 2.0L.
26152 (__ieee754_y1l): Likewise.
26153 * math/libm-test.inc (j0_test): Add another test.
26154 (j1_test): Likewise.
26155 (y0_test): Likewise.
26156 (y1_test): Likewise.
26157 * sysdeps/i386/fpu/libm-test-ulps: Update.
26159 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26161 * Rules ($(objpfx)bench-%.c): Include code from a C source
26164 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26167 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26168 imaginary part 1.0 and real part less than 0.5 specially.
26169 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26170 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26171 * math/libm-test.inc (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.
26177 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26180 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26182 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26184 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26185 * config.make.in (config-cflags-sse4): Remove variable.
26186 (config-cflags-avx): Likewise.
26187 (config-cflags-sse2avx): Likewise.
26188 (config-cflags-novzeroupper): Likewise.
26189 (config-asflags-i686): Likewise.
26190 (have-mfma4): Likewise.
26191 (have-as-vis3): Likewise.
26193 * configure.in (MIG): Do not AC_SUBST.
26194 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26195 (libc_cv_cc_sse4): Do not AC_SUBST.
26196 (libc_cv_cc_avx): Likewise.
26197 (libc_cv_cc_sse2avx): Likewise.
26198 (libc_cv_cc_novzeroupper): Likewise.
26199 (libc_cv_cc_fma4): Likewise.
26200 (libc_cv_as_i686): Likewise.
26201 (libc_cv_sparc_as_vis3): Likewise.
26202 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26204 (config-asflags-i686): Likewise.
26205 (config-cflags-avx): Likewise.
26206 (config-cflags-sse2avx): Likewise.
26207 (have-mfma4): Likewise.
26208 (config-cflags-novzeroupper): Likewise.
26209 * sysdeps/mach/configure.in (MIG): Likewise.
26210 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26211 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26213 (config-cflags-avx): Likewise.
26214 (config-cflags-sse2avx): Likewise.
26215 (have-mfma4): Likewise.
26216 (config-cflags-novzeroupper): Likewise.
26217 * configure: Regenerated.
26218 * sysdeps/i386/configure: Likewise.
26219 * sysdeps/mach/configure: Likewise.
26220 * sysdeps/sparc/configure: Likewise.
26221 * sysdeps/x86_64/configure: Likewise.
26223 2013-03-20 Roland McGrath <roland@hack.frob.com>
26226 * locale/programs/localedef.c (options): Put N_ translation marker
26227 on argument names, not just descriptions.
26229 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26231 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26233 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26236 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26238 2013-03-19 Roland McGrath <roland@hack.frob.com>
26240 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26241 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26242 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26243 [!BEFORE_ABORT] (before_abort): New function.
26244 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26245 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26246 (writev_for_fatal): New function.
26247 (WRITEV_FOR_FATAL): New macro; call that.
26248 (backtrace_and_maps): New function.
26249 (BEFORE_ABORT): New macro; call that.
26250 (struct str_list): Type removed.
26251 (__libc_message, __libc_fatal): Functions removed.
26252 Include <sysdeps/posix/libc_fatal.c> instead.
26254 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26256 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26258 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26261 2013-03-19 Andreas Schwab <schwab@suse.de>
26263 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26264 * sysdeps/gnu/configure: Regenerate.
26266 * configure.in: Substitute libc_cv_rtlddir.
26267 * configure: Regenerate.
26268 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26269 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26270 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26271 * elf/Makefile (install-others, CFLAGS-interp.c)
26272 (ldso_install, common-ldd-rewrite): Likewise.
26273 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26274 $(inst_slibdir)/$(rtld-installed-name).
26275 * scripts/rellns-sh: Add -p option.
26276 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26279 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26281 * manual/nptl.texi: Renamed to ...
26282 * manual/threads.texi: ... this.
26283 * manual/Makefile (chapters): Update.
26285 2013-03-18 Roland McGrath <roland@hack.frob.com>
26288 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26289 on argument names, not just descriptions.
26290 * malloc/memusagestat.c (options): Likewise.
26291 * nss/getent.c (options): Likewise.
26293 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26296 * iconv/iconv_prog.c (options): Put N_ translation marker
26297 on argument names, not just descriptions.
26298 * iconv/iconvconfig.c (options): Likewise.
26300 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26302 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26303 implementation which is faster on all x86_64 architectures.
26304 Tested on AMD, Intel Nehalem, SNB, IVB.
26305 * sysdeps/x86_64/strnlen.S: Likewise.
26307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26308 Remove all multiarch strlen and strnlen versions.
26309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26310 Remove strlen and strnlen related parts.
26312 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26313 Inline strlen part.
26314 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26316 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26317 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26318 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26319 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26320 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26321 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26323 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26325 * manual/memory.texi (Malloc Tunable Parameters):
26326 Sort parameters alphabetically. Add comments for missing entries.
26328 2013-03-17 David S. Miller <davem@davemloft.net>
26330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26332 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26335 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26336 for arguments at most half maximum finite value.
26337 * math/libm-test.inc (j0_test): Add more tests.
26338 (j1_test): Likewise.
26339 (y0_test): Likewise.
26340 (y1_test): Likewise.
26341 * sysdeps/i386/fpu/libm-test-ulps: Update.
26342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26345 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26346 1 / x and functions P and Q for arguments above 0x1p256L.
26347 (__ieee754_y0l): Likewise.
26348 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26349 (__ieee754_y1l): Likewise.
26350 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26351 (j1_test): Likewise.
26352 (y0_test): Likewise.
26353 (y1_test): Likewise.
26355 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26357 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26360 2013-03-15 Roland McGrath <roland@hack.frob.com>
26362 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26363 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26364 zero since it's initialized to EXEC_PAGESIZE.
26366 * sysdeps/unix/sysv/linux/ldsodefs.h
26367 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26368 * sysdeps/generic/ldsodefs.h: ... here.
26370 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26372 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26374 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26376 * math/test-snan.c: Renamed from
26377 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26378 * math/Makefile (tests): Add test-snan.
26379 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26382 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26383 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26385 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26386 __builtin_nan family of functions.
26387 * math/libm-test.inc (initialize): Initialize qnan_value with
26388 __builtin_nan family of functions.
26389 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26391 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26393 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26394 storage class. Initialize qNaN_var and sNaN_var with
26395 __builtin_nan and __builtin_nans families of functions,
26398 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26399 (sqrt_test): Remove duplicate test with qNaN input.
26400 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26401 (round_test, signbit_test, significand_test): Note missing +/-Inf
26402 as well as qNaN tests.
26404 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26405 qNaN_var. Fix a few strings, too.
26406 * math/libm-test.inc (nan_value): Rename to qnan_value.
26407 * math/gen-libm-test.pl (%beautify): Adjust to that.
26408 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26409 * math/test-misc.c (main): Likewise.
26410 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26411 to __qnan_bytes, and __qnan_union, respectively.
26412 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26414 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26415 and lqnanval, respectively.
26416 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26417 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26418 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26419 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26421 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26422 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26425 * math/test-misc.c (main): Fix copy'n'pastos.
26426 * misc/tst-efgcvt.c (special): Likewise.
26428 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26429 Remove declarations.
26431 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26433 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26434 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26435 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26436 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26438 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26440 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26441 macro to return vdso values correctly in IFUNC implementations.
26442 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26443 Optimization by using IFUNC.
26445 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26446 Richard Henderson <rth@redhat.com>
26447 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26449 * Makefile.in (bench): New target.
26450 * NEWS: Mention the benchmark framework.
26451 * Rules (bench): Likewise.
26452 (binaries-bench): Generate binaries for functions to
26454 * benchtests/Makefile: New makefile for benchmark tests.
26455 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26457 * benchtests/exp-inputs: New input file for EXP function.
26458 * benchtests/pow-inputs: New input file for POW function.
26459 * scripts/bench.pl: New script to generate source files for
26460 benchmark programs.
26462 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26464 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26466 computations on mantissa. Use macros for rounding and
26468 (denorm): Likewise.
26469 (__dbl_mp): Likewise.
26470 (add_magnitudes): Likewise.
26471 (sub_magnitudes): Likewise.
26474 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26475 powers of two in terms of TWOPOW macro.
26476 (mp_no): Make type of mantissa as MANTISSA_T.
26477 [!RADIXI]: Define RADIXI.
26478 [!TWO52]: Define TWO52.
26479 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26481 * manual/nptl.texi (cindex): Modify threads to pthreads.
26483 2013-03-15 Joseph Myers <joseph@codesourcery.com>
26485 * sysdeps/x86_64/preconfigure: Regenerated.
26487 2013-03-14 Joseph Myers <joseph@codesourcery.com>
26490 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26492 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26493 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26495 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26496 * math/libm-test.inc (j0_test): Do not allow one spurious
26497 underflow exception.
26498 (y1_test): Likewise.
26500 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26502 * manual/Makefile (chapters): Add nptl.
26503 * manual/debug.texi (Debugging Support): Add link to Threads
26505 * manual/nptl.texi: New file.
26507 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26509 2013-03-14 Petr Baudis <pasky@ucw.cz>
26511 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26512 for non-NULL pointer before the memory validity test. Pointed
26513 out by Holger Brunck <holger.brunck@keymile.com>.
26515 2013-03-13 Andreas Schwab <schwab@suse.de>
26517 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26520 2013-03-13 Joseph Myers <joseph@codesourcery.com>
26522 * timezone/zic.c: Update from tzcode 2013b.
26524 2013-03-12 Carlos O'Donell <carlos@redhat.com>
26526 * manual/install.texi (Configuring and compiling):
26527 Mention i686 and i586.
26528 * INSTALL: Regenerate.
26530 2013-03-12 Roland McGrath <roland@hack.frob.com>
26532 * sysdeps/init_array/elf-init.c: New file.
26534 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26535 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26537 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26538 __gmon_start__ as global, but as static with a .preinit_array pointer.
26539 * sysdeps/init_array/gmon-start.c: New file. Use that.
26540 * sysdeps/init_array/crti.S: New file, empty except for comments.
26541 * sysdeps/init_array/crtn.S: Likewise.
26543 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
26545 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26548 Remove Prefer_SSE_for_memop.
26549 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26550 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26551 HAS_PREFER_SSE_FOR_MEMOP.
26552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26555 Remove bzero, memset ifunc support.
26556 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26557 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26558 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26559 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26561 2013-03-11 Andreas Schwab <schwab@suse.de>
26564 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26567 (GLIBC_2.16): Remove pthread_atfork.
26569 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26571 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26572 (ptestcases.h): Likewise.
26574 2013-03-08 Roland McGrath <roland@hack.frob.com>
26576 * Makeconfig ($(common-objpfx)config.status): Depend on
26577 sysdeps/*/preconfigure{,.in} too.
26579 2013-03-08 Joseph Myers <joseph@codesourcery.com>
26581 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26582 (__free_hook): Use void * instead of __malloc_ptr_t.
26583 (__malloc_hook): Likewise.
26584 (__realloc_hook): Likewise.
26585 (__memalign_hook): Likewise.
26586 (__after_morecore_hook): Likewise.
26587 * malloc/arena.c (save_malloc_hook): Likewise.
26588 (save_free_hook): Likewise.
26589 * malloc/hooks.c (malloc_hook_ini): Likewise.
26590 (realloc_hook_ini): Likewise.
26591 (memalign_hook_ini): Likewise.
26592 * malloc/malloc.c (malloc_hook_ini): Likewise.
26593 (realloc_hook_ini): Likewise.
26594 (memalign_hook_ini): Likewise.
26595 (__free_hook): Likewise.
26596 (__malloc_hook): Likewise.
26597 (__realloc_hook): Likewise.
26598 (__memalign_hook): Likewise.
26599 (__libc_malloc): Likewise.
26600 (__libc_free): Likewise.
26601 (__libc_realloc): Likewise.
26602 (__libc_memalign): Likewise.
26603 (__libc_valloc): Likewise.
26604 (__libc_pvalloc): Likewise.
26605 (__libc_calloc): Likewise.
26606 (__posix_memalign): Likewise.
26607 * malloc/morecore.c (__sbrk): Likewise.
26608 (__default_morecore): Likewise.
26610 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26612 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26613 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26614 __malloc_ptrdiff_t.
26616 * malloc/malloc.h (__malloc_size_t): Remove macro.
26617 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26619 (old_memalign_hook): Likewise.
26620 (old_realloc_hook): Likewise.
26621 (struct hdr): Likewise.
26623 (mallochook): Likewise.
26624 (memalignhook): Likewise.
26625 (reallochook): Likewise.
26626 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26627 (tr_old_realloc_hook): Likewise.
26628 (tr_old_memalign_hook): Likewise.
26629 (tr_mallochook): Likewise.
26630 (tr_reallochook): Likewise.
26631 (tr_memalignhook): Likewise.
26633 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26636 default_ldbl_pack and using as default implementation.
26637 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26639 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26640 redundant definition.
26641 (ldbl_insert_mantissa): Likewise.
26642 (ldbl_canonicalize): Likewise.
26643 (ldbl_nearbyint): Likewise.
26644 (ldbl_pack): Rename to ldbl_pack_ppc.
26645 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26646 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26647 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26649 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26652 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26653 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26654 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26656 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26657 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26658 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26660 2013-03-07 Andreas Jaeger <aj@suse.de>
26662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26665 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26667 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26668 Include mpa.h and declare __MPEXP.
26669 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26670 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26671 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26672 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26673 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26674 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26675 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26677 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26678 (__slowpow): Use long double EXPL and LOGL functions to
26680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26681 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26682 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26684 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26685 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26688 intermediate variable to calculate exponent.
26690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26694 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26695 [!NO__SQR]: Define __sqr.
26696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26697 and NO__SQR. Remove all code except __mul and __sqr. Include
26698 sysdeps/ieee754/dbl-64/mpa.c.
26699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26702 * posix/Makefile (tests): Add tst-pathconf.
26703 * posix/tst-pathconf.c: New test case.
26704 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26706 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26708 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
26710 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26712 2013-03-06 Andreas Jaeger <aj@suse.de>
26714 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26715 definition via __MAP_ANONYMOUS.
26717 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26718 it's not part of Linux headers.
26720 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26721 (MAP_HUGE_MASK): Define.
26723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26725 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26728 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26729 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26731 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26732 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26734 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26736 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26737 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26738 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26739 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26740 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26741 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26746 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26747 Handle f2fs and efivarfs.
26749 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26752 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26753 (EFIVARFS_MAGIC): Add.
26754 (F2FS_LINK_MAX): Add.
26756 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26758 * stdio-common/vfprintf.c: Replace __builtin_expect with
26761 2013-03-06 Joseph Myers <joseph@codesourcery.com>
26764 * sysdeps/generic/bp-sym.h: Remove file.
26765 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26766 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26767 <bp-sym.h> and <bp-asm.h>.
26768 (__longjmp): Don't use BP_SYM.
26769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26771 (memcpy): Don't use BP_SYM.
26772 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26773 <bp-sym.h> and <bp-asm.h>.
26774 (memcpy): Don't use BP_SYM.
26775 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26777 (memcpy): Don't use BP_SYM.
26778 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26780 (memset): Don't use BP_SYM.
26781 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26782 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26783 (__bzero): Don't use BP_SYM.
26784 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26785 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26786 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26787 <bp-sym.h> and <bp-asm.h>.
26788 (memcmp): Don't use BP_SYM. Remove comment about bounded
26790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26791 <bp-sym.h> and <bp-asm.h>.
26792 (memcpy): Don't use BP_SYM.
26793 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26794 <bp-sym.h> and <bp-asm.h>.
26795 (memset): Don't use BP_SYM.
26796 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26797 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26798 (__bzero): Don't use BP_SYM.
26799 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26800 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26801 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26802 <bp-sym.h> and <bp-asm.h>.
26803 (strncmp): Don't use BP_SYM. Remove comment about bounded
26805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26806 <bp-sym.h> and <bp-asm.h>.
26807 (memcpy): Don't use BP_SYM.
26808 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26809 <bp-sym.h> and <bp-asm.h>.
26810 (memset): Don't use BP_SYM.
26811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26813 (__bzero): Don't use BP_SYM.
26814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26817 <bp-sym.h> and <bp-asm.h>.
26818 (__memchr): Don't use BP_SYM.
26819 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26820 <bp-sym.h> and <bp-asm.h>.
26821 (memcmp): Don't use BP_SYM. Remove comment about bounded
26823 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26824 <bp-sym.h> and <bp-asm.h>.
26825 (memcpy): Don't use BP_SYM.
26826 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26827 <bp-sym.h> and <bp-asm.h>.
26828 (__mempcpy): Don't use BP_SYM.
26829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26830 <bp-sym.h> and <bp-asm.h>.
26831 (__memrchr): Don't use BP_SYM.
26832 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26833 <bp-sym.h> and <bp-asm.h>.
26834 (memset): Don't use BP_SYM.
26835 (__bzero): Likewise.
26836 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26837 <bp-sym.h> and <bp-asm.h>.
26838 (__rawmemchr): Don't use BP_SYM.
26839 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26840 <bp-sym.h> and <bp-asm.h>.
26841 (__STRCMP): Don't use BP_SYM.
26842 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26843 <bp-sym.h> and <bp-asm.h>.
26844 (strchr): Don't use BP_SYM.
26845 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26846 <bp-sym.h> and <bp-asm.h>.
26847 (__strchrnul): Don't use BP_SYM.
26848 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26849 <bp-sym.h> and <bp-asm.h>.
26850 (strlen): Don't use BP_SYM.
26851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26852 <bp-sym.h> and <bp-asm.h>.
26853 (strncmp): Don't use BP_SYM. Remove comment about bounded
26855 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26856 <bp-sym.h> and <bp-asm.h>.
26857 (__strnlen): Don't use BP_SYM.
26858 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26859 <bp-sym.h> and <bp-asm.h>.
26860 (__GI__setjmp): Don't use BP_SYM.
26861 (_setjmp): Likewise.
26862 (__sigsetjmp): Likewise.
26863 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26864 (L(start_addresses)): Don't use BP_SYM.
26865 (_start): Likewise.
26866 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26868 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26869 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26870 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26871 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26872 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26874 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26875 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26876 about bounded pointers.
26877 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26878 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26879 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26881 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26882 about bounded pointers. Remove GKM FIXME comments.
26883 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26884 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26886 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26887 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26888 Remove GKM FIXME comments.
26889 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26890 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26891 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26893 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26894 about bounded pointers. Remove GKM FIXME comment.
26895 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26897 (strncmp): Don't use BP_SYM. Remove comment about bounded
26899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26900 <bp-sym.h> and <bp-asm.h>.
26901 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26903 <bp-sym.h> and <bp-asm.h>.
26904 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26907 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26909 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26912 2013-03-05 David S. Miller <davem@davemloft.net>
26914 * po/es.po: Update from translation team.
26916 2013-03-05 Andreas Jaeger <aj@suse.de>
26918 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26919 <bits/mman-linux.h>.
26920 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26923 <bits/mman-linux.h> to end of file.
26924 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26926 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26927 <bits/mman-linux.h> to end of file.
26928 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26930 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26931 <bits/mman-linux.h> to end of file.
26933 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26934 (MCL_CURRENT, MCL_FUTURE): Define here.
26936 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26939 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26941 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26943 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26945 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26946 fourth parameter needed for rt_sigprocmask syscall.
26947 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26948 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26949 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26950 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26951 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26952 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26954 2013-03-04 Joseph Myers <joseph@codesourcery.com>
26957 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26958 comment about bounded pointers.
26959 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26960 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26962 2013-03-04 Andreas Jaeger <aj@suse.de>
26964 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26965 common definitions.
26967 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26968 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26969 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26974 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26977 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26978 __ieee754_sqrl instead of __sqrl.
26980 2013-03-01 Joseph Myers <joseph@codesourcery.com>
26982 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26983 * sysdeps/powerpc/fpu_control.h: ... here.
26984 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26985 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26986 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26987 * sysdeps/powerpc/bits/mathinline.h: ... here.
26989 2013-03-01 Roland McGrath <roland@hack.frob.com>
26991 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26992 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26993 to just [NEED_DL_SYSINFO_DSO].
26994 * elf/dl-support.c: Likewise.
26995 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26996 * elf/rtld.c (dl_main): Likewise.
26997 * elf/setup-vdso.h (setup_vdso): Likewise.
26998 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26999 * sysdeps/unix/sysv/linux/dl-sysdep.c
27000 (_dl_discover_osversion): Likewise.
27002 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27004 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27005 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27007 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27009 * NEWS: Mention libm performance improvements and non-x86 PI
27012 * csu/libc-start.c (__pthread_initialize_minimal): Change
27013 function arguments.
27014 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27016 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27019 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27020 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27021 <bp-sym.h> and <bp-asm.h>.
27022 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27023 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27025 (memcpy): Don't use BP_SYM.
27026 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27028 (__mpn_add_n): Don't use BP_SYM.
27029 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27030 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27032 (__mpn_addmul_1): Don't use BP_SYM.
27033 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27034 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27036 (_setjmp): Don't use BP_SYM.
27037 (__novmx_setjmp): Likewise.
27038 (__GI__setjmp): Likewise.
27039 (__vmx_setjmp): Likewise.
27040 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27042 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27043 (__bzero): Don't use BP_SYM.
27044 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27045 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27046 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27047 <bp-sym.h> and <bp-asm.h>.
27048 (memcpy): Don't use BP_SYM.
27049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27050 <bp-sym.h> and <bp-asm.h>.
27051 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27052 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27053 <bp-sym.h> and <bp-asm.h>.
27054 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27055 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27057 (__mpn_lshift): Don't use BP_SYM.
27058 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27059 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27061 (memset): Don't use BP_SYM.
27062 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27063 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27064 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27066 (__mpn_mul_1): Don't use BP_SYM.
27067 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27069 <bp-sym.h> and <bp-asm.h>.
27070 (memcmp): Don't use BP_SYM.
27071 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27072 <bp-sym.h> and <bp-asm.h>.
27073 (memcpy): Don't use BP_SYM.
27074 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27075 <bp-sym.h> and <bp-asm.h>.
27076 (memset): Don't use BP_SYM.
27077 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27078 <bp-sym.h> and <bp-asm.h>.
27079 (strncmp): Don't use BP_SYM.
27080 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27081 <bp-sym.h> and <bp-asm.h>.
27082 (memcpy): Don't use BP_SYM.
27083 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27084 <bp-sym.h> and <bp-asm.h>.
27085 (memset): Don't use BP_SYM.
27086 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27087 <bp-sym.h> and <bp-asm.h>.
27088 (__memchr): Don't use BP_SYM.
27089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27090 <bp-sym.h> and <bp-asm.h>.
27091 (memcmp): Don't use BP_SYM.
27092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27093 <bp-sym.h> and <bp-asm.h>.
27094 (memcpy): Don't use BP_SYM.
27095 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27096 <bp-sym.h> and <bp-asm.h>.
27097 (__mempcpy): Don't use BP_SYM.
27098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27099 <bp-sym.h> and <bp-asm.h>.
27100 (__memrchr): Don't use BP_SYM.
27101 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27102 <bp-sym.h> and <bp-asm.h>.
27103 (memset): Don't use BP_SYM.
27104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27105 <bp-sym.h> and <bp-asm.h>.
27106 (__rawmemchr): Don't use BP_SYM.
27107 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27108 <bp-sym.h> and <bp-asm.h>.
27109 (__STRCMP): Don't use BP_SYM.
27110 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27111 <bp-sym.h> and <bp-asm.h>.
27112 (strchr): Don't use BP_SYM.
27113 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27114 <bp-sym.h> and <bp-asm.h>.
27115 (__strchrnul): Don't use BP_SYM.
27116 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27117 <bp-sym.h> and <bp-asm.h>.
27118 (strlen): Don't use BP_SYM.
27119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27120 <bp-sym.h> and <bp-asm.h>.
27121 (strncmp): Don't use BP_SYM.
27122 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27123 <bp-sym.h> and <bp-asm.h>.
27124 (__strnlen): Don't use BP_SYM.
27125 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27127 (__mpn_rshift): Don't use BP_SYM.
27128 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27129 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27130 <bp-sym.h> and <bp-asm.h>.
27131 (__sigsetjmp): Don't use BP_SYM.
27132 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27133 (L(start_addresses)): Don't use BP_SYM.
27134 (_start): Likewise.
27135 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27137 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27138 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27139 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27140 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27142 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27143 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27144 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27145 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27147 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27149 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27150 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27152 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27154 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27155 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27156 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27158 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27160 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27162 (strncmp): Don't use BP_SYM,
27163 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27165 (__mpn_sub_n): Don't use BP_SYM.
27166 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27167 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27169 (__mpn_submul_1): Don't use BP_SYM.
27170 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27172 <bp-sym.h> and <bp-asm.h>.
27173 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27175 <bp-sym.h> and <bp-asm.h>.
27176 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27179 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27182 Use ZK to minimize writes to Z.
27183 (sub_magnitudes): Simplify code a bit.
27184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27185 Use ZK to minimize writes to Z.
27186 (sub_magnitudes): Simplify code a bit.
27188 2013-02-27 Roland McGrath <roland@hack.frob.com>
27190 * csu/gmon-start.c: Add special exception to license text.
27192 2013-02-27 Richard Henderson <rth@redhat.com>
27194 * scripts/config.guess: Update from config.git.
27195 * scripts/config.sub: Likewise.
27197 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27199 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27201 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27203 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27205 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27207 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27209 2013-02-26 Roland McGrath <roland@hack.frob.com>
27211 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27212 [$(build-shared = yes].
27214 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27216 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27217 (__mul): Reduce iterations for calculating mantissa.
27219 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27221 (__mpranred): Likewise.
27224 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27225 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27227 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27229 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27230 Define __attribute__.
27232 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27234 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27236 * posix/regex_internal.h (__attribute): Remove.
27237 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27238 (re_string_context_at): Likewise.
27239 (bitset_not): Use __attribute__ and mark function as possibly
27241 (bitset_merge): Likewise.
27242 (bitset_mask): Likewise.
27243 (re_string_char_size_at): Likewise.
27244 (re_string_wchar_at): Likewise.
27245 (re_string_elem_size_at): Likewise.
27247 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27249 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27253 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27257 (denorm): Likewise.
27258 (__dbl_mp): Likewise.
27259 (add_magnitudes): Likewise.
27260 (sub_magnitudes): Likewise.
27264 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27267 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27270 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27274 up changes with default code.
27275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27278 2013-02-24 Allan McRae <allan@archlinux.org>
27280 * manual/socket.texi (The Internet Namespace): Order menu items
27281 to match that in the file.
27283 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27284 node listing of the info page menu.
27286 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27289 * sysdeps/i386/bp-asm.h: Remove file.
27290 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27291 (PARMS): Do not use macros from bp-asm.h.
27295 (__mpn_add_n): Do not use BP_SYM
27296 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27298 (PARMS): Do not use macros from bp-asm.h.
27301 (__mpn_addmul_1): Do not use BP_SYM
27302 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27304 (PARMS): Do not use macros from bp-asm.h.
27305 (SIGMSK): Likewise.
27306 (_setjmp): Likewise. Do not use BP_SYM.
27307 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27309 (PARMS): Do not use macros from bp-asm.h.
27310 (SIGMSK): Likewise.
27311 (setjmp): Likewise. Do not use BP_SYM.
27312 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27314 (PARMS): Do not use macros from bp-asm.h.
27315 (__frexp): Do not use BP_SYM.
27317 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27319 (PARMS): Do not use macros from bp-asm.h.
27320 (__frexpf): Do not use BP_SYM.
27321 (frexpf): Likewise.
27322 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27324 (PARMS): Do not use macros from bp-asm.h.
27325 (__frexpl): Do not use BP_SYM.
27326 (frexpl): Likewise.
27327 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27329 (PARMS): Do not use macros from bp-asm.h.
27330 (__remquo): Do not use BP_SYM.
27331 (remquo): Likewise.
27332 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27334 (PARMS): Do not use macros from bp-asm.h.
27335 (__remquof): Do not use BP_SYM.
27336 (remquof): Likewise.
27337 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27339 (PARMS): Do not use macros from bp-asm.h.
27340 (__remquol): Do not use BP_SYM.
27341 (remquol): Likewise.
27342 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27344 (PARMS): Do not use macros from bp-asm.h.
27347 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27348 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27350 (PARMS): Do not use macros from bp-asm.h.
27351 (strlen): Do not use BP_SYM.
27352 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27354 (PARMS): Do not use macros from bp-asm.h.
27358 (__mpn_add_n): Do not use BP_SYM.
27359 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27361 (PARMS): Do not use macros from bp-asm.h.
27364 (__mpn_addmul_1): Do not use BP_SYM.
27365 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27368 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27370 (PARMS): Do not use macros from bp-asm.h.
27373 (__mpn_lshift): Do not use BP_SYM.
27374 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27376 (PARMS): Do not use macros from bp-asm.h.
27380 (memcpy): Likewise. Do not use BP_SYM.
27381 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27382 libc_hidden_def and weak_alias.
27383 (mempcpy): Do not use BP_SYM in weak_alias.
27384 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27386 (PARMS): Do not use macros from bp-asm.h.
27389 [!BZERO_P] (CHR): Likewise.
27390 (memset): Likewise. Do not use BP_SYM.
27391 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27393 (PARMS): Do not use macros from bp-asm.h.
27396 (__mpn_mul_1): Do not use BP_SYM.
27397 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27399 (PARMS): Do not use macros from bp-asm.h.
27402 (__mpn_rshift): Do not use BP_SYM.
27403 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27405 (PARMS): Do not use macros from bp-asm.h.
27408 (strchr): Likewise. Do not use BP_SYM.
27409 (index): Do not use BP_SYM in weak_alias.
27410 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27412 (PARMS): Do not use macros from bp-asm.h.
27415 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27416 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27418 (PARMS): Do not use macros from bp-asm.h.
27419 (strlen): Do not use BP_SYM.
27420 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27422 (PARMS): Do not use macros from bp-asm.h.
27426 (__mpn_sub_n): Do not use BP_SYM.
27427 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27429 (PARMS): Do not use macros from bp-asm.h.
27432 (__mpn_submul_1): Do not use BP_SYM.
27433 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27435 (PARMS): Do not use macros from bp-asm.h.
27439 (__mpn_add_n): Do not use BP_SYM.
27440 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27443 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27445 (PARMS): Do not use macros from bp-asm.h.
27448 (memcmp): Do not use BP_SYM.
27449 (bcmp): Do not use BP_SYM in weak_alias.
27450 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27452 (PARMS): Do not use macros from bp-asm.h.
27456 (memcpy): Likewise. Do not use BP_SYM.
27457 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27459 (PARMS): Do not use macros from bp-asm.h.
27463 (memmove): Likewise. Do not use BP_SYM.
27464 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27466 (PARMS): Do not use macros from bp-asm.h.
27470 (__mempcpy): Likewise. Do not use BP_SYM.
27471 (mempcpy): Do not use BP_SYM in weak_alias.
27472 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27474 (PARMS): Do not use macros from bp-asm.h.
27477 [!BZERO_P] (CHR): Likewise.
27478 (memset): Likewise. Do not use BP_SYM.
27479 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27481 (PARMS): Do not use macros from bp-asm.h.
27483 (strcmp): Do not use BP_SYM.
27484 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27486 (PARMS): Do not use macros from bp-asm.h.
27489 [USE_AS_STRTOK_R] (SAVE): Likewise.
27490 (FUNCTION): Likewise. Do not use BP_SYM.
27491 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27493 (strtok_r): Likewise.
27494 (__GI___strtok_r): Likewise.
27495 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27496 (PARMS): Do not use macros from bp-asm.h.
27499 (__mpn_lshift): Do not use BP_SYM.
27500 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27501 (PARMS): Do not use macros from bp-asm.h.
27504 (__memchr): Do not use BP_SYM.
27505 (memchr): Do not use BP_SYM in weak_alias.
27506 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27507 (PARMS): Do not use macros from bp-asm.h.
27510 (memcmp): Do not use BP_SYM.
27511 (bcmp): Do not use BP_SYM in weak_alias.
27512 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27513 (PARMS): Do not use macros from bp-asm.h.
27516 (__mpn_mul_1): Do not use BP_SYM.
27517 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27519 (PARMS): Do not use macros from bp-asm.h.
27522 (__rawmemchr): Do not use BP_SYM.
27523 (rawmemchr): Do not use BP_SYM in weak_alias.
27524 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27525 (PARMS): Do not use macros from bp-asm.h.
27528 (__mpn_rshift): Do not use BP_SYM.
27529 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27530 (PARMS): Do not use macros from bp-asm.h.
27531 (SIGMSK): Likewise.
27532 (__sigsetjmp): Likewise. Do not use BP_SYM.
27533 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27534 (_start): Do not use BP_SYM.
27535 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27536 (PARMS): Do not use macros from bp-asm.h.
27539 (__stpcpy): Likewise. Do not use BP_SYM.
27540 (stpcpy): Do not use BP_SYM in weak_alias.
27541 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27543 (PARMS): Do not use macros from bp-asm.h.
27547 (__stpncpy): Likewise. Do not use BP_SYM.
27548 (stpncpy): Do not use BP_SYM in weak_alias.
27549 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27550 (PARMS): Do not use macros from bp-asm.h.
27553 (strchr): Likewise. Do not use BP_SYM.
27554 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27556 (PARMS): Do not use macros from bp-asm.h.
27559 (__strchrnul): Likewise. Do not use BP_SYM.
27560 (strchrnul): Do not use BP_SYM in weak_alias.
27561 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27563 (PARMS): Do not use macros from bp-asm.h.
27565 (strcspn): Do not use BP_SYM.
27566 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27568 (PARMS): Do not use macros from bp-asm.h.
27571 (strpbrk): Likewise. Do not use BP_SYM.
27572 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27574 (PARMS): Do not use macros from bp-asm.h.
27577 (strrchr): Likewise. Do not use BP_SYM.
27578 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27579 (PARMS): Do not use macros from bp-asm.h.
27581 (strspn): Do not use BP_SYM.
27582 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27583 (PARMS): Do not use macros from bp-asm.h.
27587 (FUNCTION): Likewise. Do not use BP_SYM.
27588 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27590 (strtok_r): Likewise.
27591 (__GI___strtok_r): Likewise.
27592 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27593 (PARMS): Do not use macros from bp-asm.h.
27597 (__mpn_sub_n): Do not use BP_SYM.
27598 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27600 (PARMS): Do not use macros from bp-asm.h.
27603 (__mpn_submul_1): Do not use BP_SYM.
27604 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27606 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27608 (PARMS): Do not use macros from bp-asm.h.
27613 (__clone): Do not use BP_SYM.
27614 (clone): Do not use BP_SYM in weak_alias.
27615 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27617 (PARMS): Do not use macros from bp-asm.h.
27619 (__mmap64): Do not use BP_SYM.
27620 (mmap64): Do not use BP_SYM in weak_alias.
27621 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27622 <bp-sym.h> and <bp-asm.h>.
27623 (PARMS): Do not use macros from bp-asm.h.
27624 (__posix_fadvise64_l64): Do not use BP_SYM.
27625 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27626 (PARMS): Do not use macros from bp-asm.h.
27628 (semtimedop): Do not use BP_SYM.
27629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27632 2013-02-21 Allan McRae <allan@archlinux.org>
27634 * manual/message.texi (Charset conversion in gettext):
27635 Move @end statement to beginning of line.
27637 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27644 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27645 (denorm): Likewise.
27646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27649 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27651 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27652 tail-call to the resolved function if pltexit isn't needed.
27654 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27657 or Y being zero as being unlikely.
27658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27661 2013-02-20 Carlos O'Donell <carlos@redhat.com>
27663 * manual/nss.texi (System Databases and Name Service Switch):
27664 Remove frobnicate @pxref.
27666 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27668 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27669 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27671 2013-02-20 Petr Machata <pmachata@redhat.com>
27673 * elf/elf.h (R_ARM_TARGET1): New macro.
27674 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27675 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27676 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27677 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27678 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27679 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27680 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27681 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27682 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27683 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27684 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27685 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27686 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27687 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27688 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27689 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27690 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27691 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27692 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27693 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27694 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27695 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27696 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27697 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27698 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27699 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27700 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27701 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27702 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27703 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27704 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27705 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27706 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27707 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27708 (R_ARM_THM_GOT_BREL12): Likewise.
27709 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27710 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27711 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27712 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27713 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27714 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27715 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27716 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27717 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27719 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27721 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27722 __attribute_used__ to __attribute__ ((unused)).
27724 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27726 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27729 comment formatting.
27730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27732 2013-02-19 Joseph Myers <joseph@codesourcery.com>
27735 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27737 (ENTER): Remove both macro definitions.
27739 (CHECK_BOUNDS_LOW): Likewise.
27740 (CHECK_BOUNDS_HIGH): Likewise.
27741 (CHECK_BOUNDS_BOTH): Likewise.
27742 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27743 (RETURN_BOUNDED_POINTER): Likewise.
27744 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27745 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27746 (POP_ERRNO_LOCATION_RETURN): Likewise.
27747 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27748 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27749 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27751 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27752 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27753 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27754 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27755 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27756 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27757 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27758 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27759 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27760 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27761 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27762 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27763 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27764 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27766 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27767 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27769 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27770 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27771 * sysdeps/i386/i586/memset.S (memset): Likewise.
27772 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27773 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27774 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27776 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27777 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27778 Change uses of L(2) to L(out).
27779 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27780 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27781 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27782 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27783 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27785 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27786 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27788 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27789 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27790 (RETURN): Do not use macro LEAVE.
27791 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27792 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27793 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27794 * sysdeps/i386/i686/memset.S (memset): Likewise.
27795 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27796 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27797 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27798 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27800 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27801 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27802 L(1_2) and L(1_3) into L(1).
27803 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27804 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27805 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27806 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27807 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27808 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27809 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27810 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27811 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27813 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27814 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27815 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27816 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27817 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27818 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27819 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27820 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27821 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27822 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27823 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27824 * sysdeps/i386/strspn.S (strspn): Likewise.
27825 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27827 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27828 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27829 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27830 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27831 L(1_3) into L(1_1).
27832 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27833 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27834 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27836 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27838 2013-02-19 Jakub Jelinek <jakub@redhat.com>
27840 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27843 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27845 * math/atest-exp.c (exp_mpn): Remove ROUND.
27846 * math/atest-exp2.c (exp_mpn): Likewise.
27847 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27849 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27850 * stdlib/tst-tls-atexit-lib.c: Likewise.
27851 * stdlib/tst-tls-atexit.c: Likewise.
27853 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27855 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27856 and __attribute_alloc_size__.
27858 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27860 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27861 __attribute_alloc_size__.
27862 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27863 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27865 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27867 * include/programs/xmalloc.h: New file.
27868 * catgets/gencat.c: Include it.
27869 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27870 * elf/pldd.c: Likewise.
27871 * iconv/iconv_charmap.c: Likewise.
27872 * iconv/iconvconfig.c: Likewise.
27873 * iconv/strtab.c: Likewise.
27874 * locale/programs/locale.c: Likewise.
27875 * locale/programs/localedef.h: Likewise.
27876 * locale/programs/simple-hash.c: Likewise.
27877 * nscd/nscd.h: Likewise.
27878 * nss/makedb.c: Likewise.
27879 * sysdeps/generic/ldconfig.h: Likewise.
27881 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27883 * Versions.def: Add GLIBC_2.18.
27884 * include/link.h (struct link_map): New member l_tls_dtor_count.
27885 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27886 (__call_tls_dtors): Likewise.
27887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27888 __cxa_thread_atexit_impl.
27889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27897 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27905 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27906 (tests): Add test case tst-tls-atexit.
27907 (modules-names): Add shared library for tst-tls-atexit.
27908 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27909 (GLIBC_PRIVATE): Add __call_tls_dtors.
27910 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27912 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27913 * stdlib/tst-tls-atexit.c: New test case.
27914 * stdlib/tst-tls-atexit-lib.c: New test case.
27916 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27918 * elf/Versions (ld): Add _dl_find_dso_for_object.
27919 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27920 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27921 (dl_open_worker): Use _dl_find_dso_for_object.
27922 * elf/dl-sym.c (do_sym): Likewise.
27923 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27925 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27927 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27928 Syntactic changes only.
27929 (_dl_runtime_profile): Do a tail-call to the resolved function.
27931 2013-02-17 Joseph Myers <joseph@codesourcery.com>
27934 * sysdeps/x86_64/bp-asm.h: Remove file.
27935 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27936 <bp-sym.h> and <bp-asm.h>.
27937 (__clone): Do not use BP_SYM.
27938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27939 <bp-sym.h> and <bp-asm.h>.
27940 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27941 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27943 (_setjmp): Do not use BP_SYM.
27944 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27946 (setjmp): Do not use BP_SYM.
27947 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27949 (mempcpy): Do not use BP_SYM in weak_alias.
27950 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27952 (strchr): Do not use BP_SYM.
27953 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27955 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27956 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27957 (_start): Do not use BP_SYM.
27958 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27960 (strcat): Do not use BP_SYM.
27961 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27963 (STRCMP): Do not use BP_SYM.
27964 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27966 (STRCPY): Do not use BP_SYM.
27967 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27969 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27971 (FUNCTION): Do not use BP_SYM.
27972 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27974 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27976 2013-02-17 Andreas Jaeger <aj@suse.de>
27978 * time/Versions: Sort entries.
27979 * string/Versions: Likewise.
27980 * resolv/Versions: Likewise.
27981 * posix/Versions: Likewise.
27982 * iconv/Versions: Likewise.
27983 * elf/Versions: Likewise.
27984 * wcsmbs/Versions: Likewise.
27986 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27988 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27989 loop termination condition.
27991 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27992 variable to calculate EZ.
27995 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27996 the lower precision input.
27998 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28001 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28002 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28003 (run-via-rtld-prefix): Do not handle %-bp tests.
28004 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28005 (all-object-suffixes): Remove .ob.
28006 (bppfx): Remove variable.
28007 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28008 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28009 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28010 [$(build-bounded) = yes] (libtype.ob): Likewise.
28011 * Makerules (elide-routines.ob): Remove variable.
28012 (do-tests-clean): Do not handle *-bp.out.
28013 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28014 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28015 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28016 (tests): Do not include $(tests-bp.out).
28017 (xtests): Do not include $(xtests-bp.out).
28018 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28019 [$(build-bounded) = yes] ($(addprefix
28020 $(objpfx),$(binaries-bounded))): Remove rule.
28021 ($(objpfx)%-bp.out): Remove rule.
28022 * config.make.in (build-bounded): Remove variable.
28023 * crypt/Makefile [$(build-bounded) = yes]
28024 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28025 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28026 append to variable.
28027 [$(build-bounded) = yes] (install-lib): Likewise.
28028 [$(build-bounded) = yes] (generated): Likewise.
28029 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28031 * intl/Makefile [$(build-bounded) = yes]
28032 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28033 * math/Makefile [$(build-bounded) = yes]
28034 ($(tests:%=$(objpfx)%-bp): Likewise.
28035 * misc/Makefile [$(build-bounded) = yes]
28036 ($(objpfx)tst-tsearch-bp): Likewise.
28037 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28038 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28040 * string/Makefile (o-objects.ob): Remove variable.
28041 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28042 (CFLAGS-.ob): Remove variable.
28043 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28044 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28045 both definitions of variable.
28046 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28047 (ASFLAGS-.ob): Remove variable.
28049 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28052 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28053 Remove __BOUNDED_POINTERS__ from condition.
28054 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28055 * string/bits/string2.h [!__NO_STRING_INLINES &&
28056 !__BOUNDED_POINTERS__]: Likewise.
28057 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28059 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28060 Remove conditional code.
28061 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28062 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28063 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28067 * csu/libc-start.c: Do not include <bp-sym.h>.
28068 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28069 * elf/dl-open.c: Do not include <bp-sym.h>.
28070 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28071 * math/fegetenv.c: Do not include <bp-sym.h>.
28072 (fegetenv): Do not use BP_SYM in versioned symbols.
28073 * nptl/sysdeps/pthread/bits/libc-lockP.h
28074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28077 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28079 (__pthread_mutex_destroy): Likewise.
28080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28081 (__pthread_mutex_lock): Likewise.
28082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28083 (__pthread_mutex_trylock): Likewise.
28084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28085 (__pthread_mutex_unlock): Likewise.
28086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28087 (__pthread_mutexattr_init): Likewise.
28088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28089 (__pthread_mutexattr_destroy): Likewise.
28090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28091 (__pthread_mutexattr_settype): Likewise.
28092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28093 (__pthread_rwlock_init): Likewise.
28094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28095 (__pthread_rwlock_destroy): Likewise.
28096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28097 (__pthread_rwlock_rdlock): Likewise.
28098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28099 (__pthread_rwlock_tryrdlock): Likewise.
28100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28101 (__pthread_rwlock_wrlock): Likewise.
28102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28103 (__pthread_rwlock_trywrlock): Likewise.
28104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28105 (__pthread_rwlock_unlock): Likewise.
28106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28107 (__pthread_key_create): Likewise.
28108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28109 (__pthread_setspecific): Likewise.
28110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28111 (__pthread_getspecific): Likewise.
28112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28115 (_pthread_cleanup_push_defer): Likewise.
28116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28117 (_pthread_cleanup_pop_restore): Likewise.
28118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28119 (pthread_setcancelstate): Likewise.
28120 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28122 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28123 (memchr): Do not use BP_SYM in weak_alias.
28124 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28125 (fegetenv): Do not use BP_SYM in versioned symbols.
28126 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28127 (fesetenv): Do not use BP_SYM in versioned symbols.
28128 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28129 (feupdateenv): Do not use BP_SYM in versioned symbols.
28130 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28131 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28132 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28133 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28134 (open64): Do not use BP_SYM in weak_alias.
28135 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28136 (fegetenv): Do not use BP_SYM in versioned symbols.
28137 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28138 (fesetenv): Do not use BP_SYM in versioned symbols.
28139 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28140 (feupdateenv): Do not use BP_SYM in versioned symbols.
28141 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28142 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28143 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28144 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28145 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28146 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28147 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28149 (__libc_start_main): Do not use BP_SYM.
28151 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28154 redundant return line.
28156 (denorm): Likewise.
28157 (dbl_mp): Likewise.
28158 (sub_magnitudes): Likewise.
28164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28166 (denorm): Likewise.
28167 (dbl_mp): Likewise.
28168 (sub_magnitudes): Likewise.
28175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28177 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28178 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28181 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28182 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28184 of __mul for squares.
28185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28189 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28190 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28192 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28195 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28197 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28198 prototype or function definition. Rename ubp_* variables and
28199 parameters. Remove argv definitions conditional on
28200 [__BOUNDED_POINTERS__].
28201 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28202 * elf/dl-runtime.c (_dl_fixup): Likewise.
28203 * include/set-hooks.h (RUN_HOOK): Likewise.
28204 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28206 * string/strcpy.c (strcpy): Do not use __unbounded.
28207 * sysdeps/generic/frame.h (struct layout): Likewise.
28208 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28209 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28210 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28211 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28212 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28213 (__backtrace): Likewise.
28214 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28216 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28218 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28220 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28221 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28222 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28223 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28224 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28225 Do not use __unbounded.
28226 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28227 Rename __unboundedrlimits parameter to rlimits in prototype.
28228 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28229 Do not use __unbounded.
28230 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28231 not use __ptrvalue.
28232 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28233 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28234 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28235 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28236 __ptrvalue or __unbounded.
28237 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28238 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28240 (__new_msgctl): Do not use __ptrvalue.
28241 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28243 (__libc_msgrcv): Do not use __ptrvalue.
28244 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28245 startup_info): Do not use __unbounded.
28246 (__libc_start_main): Likewise. Rename ubp_* variables and
28247 parameters. Remove argv definitions conditional on
28248 [__BOUNDED_POINTERS__].
28249 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28251 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28253 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28255 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28257 (__new_shmctl): Do not use __ptrvalue.
28258 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28259 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28261 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28262 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28263 (__libc_sigaction): Likewise.
28264 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28265 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28267 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28269 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28271 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28273 * string/mempcpy.c: Implement by calling memcpy.
28275 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28282 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28283 values in the mantissa.
28285 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28286 minimize writes to Z.
28287 (sub_magnitudes): Simplify code a bit.
28289 2013-02-12 Roland McGrath <roland@hack.frob.com>
28291 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28292 from the message. The linker prefixes all warnings with that already.
28294 2013-02-12 Andreas Schwab <schwab@suse.de>
28297 * posix/regexec.c (extend_buffers): Add parameter min_len.
28298 (check_matching): Pass minimum needed length.
28299 (clean_state_log_if_needed): Likewise.
28300 (get_subexp): Likewise.
28301 * posix/Makefile (tests): Add bug-regex34.
28302 (bug-regex34-ENV): Define.
28303 * posix/bug-regex34.c: New file.
28306 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28307 elements compare against the byte sequence of it, not its name.
28308 * posix/Makefile (tests): Add bug-regex35.
28309 (bug-regex35-ENV): Define.
28310 * posix/bug-regex35.c: New file.
28312 2013-02-11 Tom de Vries <tom@codesourcery.com>
28314 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28316 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28317 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28318 (CHECK_EOL): Add undef.
28320 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28322 * bits/stdlib-bsearch.h: New file.
28323 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28324 * stdlib/stdlib.h: Likewise.
28326 2013-02-11 Roland McGrath <roland@hack.frob.com>
28328 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28329 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28331 * manual/search.texi (Array Search Function): Add missing const in
28333 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28334 declaration to use rlim_t.
28335 (Basic Scheduling Functions): Remove erroneous const from
28336 sched_getparam prototype. Remove erroneous * from
28337 sched_get_priority_max and sched_get_priority_min prototypes.
28338 (Resource Usage): Fix summary @comment on vtimes to refer to
28339 sys/vtimes.h rather than vtimes.h.
28340 Add missing *s in vtimes prototype.
28341 (Limits on Resources): Fix ulimit prototype to return long int.
28342 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28343 prototypes to use long int rather than double.
28344 (BSD Random): Fix initstate and setstate to use char *, not void *.
28345 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28346 prototype to make second argument 'struct aiocb64 *const[]'.
28347 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28348 (Status of AIO Operations): Remove erroneous const in aio_return and
28349 aio_return64 prototypes.
28350 (Synchronizing I/O): Fix sync prototype to return void.
28351 * manual/startup.texi (Suboptions): Remove an erroneous const in
28352 getsubopt prototype.
28353 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28354 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28355 use size_t rather than int.
28356 (Scanning All Users): Likewise for getpwent_r.
28357 (Setting Groups): Add missing const to setgroups prototype.
28358 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28359 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28360 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28361 'const void *' rather than 'const char *'.
28362 (Host Address Functions): Likewise for inet_ntop.
28363 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28364 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28365 ssize_t for return value.
28366 (Sending Data): Likewise for send, sendto, sendmsg.
28367 (Socket Option Functions): Add a missing const in setsockopt prototype.
28368 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28369 use wchar_t for the argument.
28370 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28371 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28373 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28374 double/float/long double for second argument.
28375 Fix return types of significand, significandf, significandl.
28376 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28377 argument in fchmod prototype.
28378 (File Owner): Use uid_t and gid_t in fchown prototype.
28379 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28380 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28381 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28382 use 'const struct dirent **' as argument types to CMP function pointer
28384 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28385 (File Times): Fix summary magic @comment for struct utimbuf and utime
28386 to refer to utime.h, not time.h.
28387 * manual/string.texi (Argz Functions): Add missing const in
28388 argz_extract and argz_next prototypes.
28389 (Finding Tokens in a String): Likewise for basename.
28390 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28391 (Copying and Concatenation): Fix typo in wmemmove prototype.
28392 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28393 (Signal Stack): Remove erroneous const in sigstack prototype.
28394 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28396 (Simple Calendar Time): Likewise for stime.
28397 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28399 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28400 say sys/sysctl.h instead.
28401 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28402 and vsyslog prototypes.
28404 2013-02-11 Tom de Vries <tom@codesourcery.com>
28406 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28409 2013-02-11 Roland McGrath <roland@hack.frob.com>
28411 * misc/sys/mman.h: Fix typo in mremap comment.
28413 2013-02-08 Roland McGrath <roland@hack.frob.com>
28415 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28416 the '\0' terminator.
28418 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28421 * debug/segfault.c: Don't include <bp-checks.h>.
28422 * sysdeps/generic/bp-checks.h: Remove file.
28423 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28424 (__GETDENTS): Don't use CHECK_N.
28425 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28426 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28427 (__getgroups): Don't use CHECK_N.
28428 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28429 (setgroups): Don't use CHECK_N.
28430 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28431 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28432 (__libc_msgrcv): Don't use CHECK_N.
28433 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28434 (__libc_msgsnd): Don't use CHECK_N.
28435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28437 (__libc_pread): Don't use CHECK_N.
28438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28439 include <bp-checks.h>.
28440 (__libc_pread64): Don't use CHECK_N.
28441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28442 include <bp-checks.h>.
28443 (__libc_pwrite): Don't use CHECK_N.
28444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28445 include <bp-checks.h>.
28446 (__libc_pwrite64): Don't use CHECK_N.
28447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28449 (__libc_pread): Don't use CHECK_N.
28450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28451 include <bp-checks.h>.
28452 (__libc_pread64): Don't use CHECK_N.
28453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28454 include <bp-checks.h>.
28455 (__libc_pwrite): Don't use CHECK_N.
28456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28457 include <bp-checks.h>.
28458 (__libc_pwrite64): Don't use CHECK_N.
28459 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28460 (do_pread): Don't use CHECK_N.
28461 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28462 (do_pread64): Don't use CHECK_N.
28463 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28464 (do_pwrite): Don't use CHECK_N.
28465 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28466 (do_pwrite64): Don't use CHECK_N.
28467 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28468 (__libc_readv): Don't use CHECK_N.
28469 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28470 (semop): Don't use CHECK_N.
28471 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28473 (semtimedop): Don't use CHECK_N.
28474 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28475 (__libc_pread): Don't use CHECK_N.
28476 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28478 (__libc_pread64): Don't use CHECK_N.
28479 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28481 (__libc_pwrite): Don't use CHECK_N.
28482 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28484 (__libc_pwrite64): Don't use CHECK_N.
28485 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28487 (__libc_msgrcv): Don't use CHECK_N.
28488 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28489 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28490 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28491 (__libc_writev): Don't use CHECK_N.
28493 2013-02-08 Roland McGrath <roland@hack.frob.com>
28495 * string/strcpy.c: Removed unused variable.
28497 * Makeconfig (+sysdep-includes): Define with := rather than =.
28498 Use an existing include/ subdir of each sysdeps dir before it.
28500 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28502 * nscd/connection.c (register_traced_file): Comment function.
28503 [HAVE_INOTIFY] (union __inev): Define.
28504 [HAVE_INOTIFY] (inotify_check_files): New function.
28505 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28506 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28508 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28510 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28512 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28513 loaded if not already and that a failure is permanent.
28515 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28518 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28519 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28521 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28524 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28525 (CHECK_1_NULL_OK): Likewise.
28526 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28527 (__fxstat): Do not use CHECK_1.
28528 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28530 (___fxstat64): Do not use CHECK_1.
28531 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28533 (__fxstatat): Do not use CHECK_1.
28534 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28536 (__fxstatat64): Do not use CHECK_1.
28537 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28539 (__fxstat): Do not use CHECK_1.
28540 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28542 (__fxstatat): Do not use CHECK_1.
28543 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28545 (__getresgid): Do not use CHECK_1.
28546 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28548 (__getresuid): Do not use CHECK_1.
28549 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28551 (__lxstat): Do not use CHECK_1.
28552 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28554 (__old_msgctl): Do not use CHECK_1.
28555 (__new_msgctl): Likewise.
28556 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28558 (__new_setrlimit): Do not use CHECK_1.
28559 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28561 (__old_shmctl): Do not use CHECK_1.
28562 (__new_shmctl): Likewise.
28563 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28565 (__xstat): Do not use CHECK_1.
28566 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28567 (__lxstat): Do not use CHECK_1.
28568 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28570 (___lxstat64): Do not use CHECK_1.
28571 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28572 (__old_msgctl): Do not use CHECK_1.
28573 (__new_msgctl): Likewise.
28574 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28576 (__gettimeofday): Do not use CHECK_1.
28577 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28578 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28579 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28581 (__gettimeofday): Do not use CHECK_1.
28582 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28583 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28584 (__new_shmctl): Do not use CHECK_1.
28585 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28587 (do_sigtimedwait): Do not use CHECK_1.
28588 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28590 (do_sigwaitinfo): Do not use CHECK_1.
28591 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28593 (msgctl): Do not use CHECK_1.
28594 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28596 (shmctl): Do not use CHECK_1.
28597 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28598 (ustat): Do not use CHECK_1.
28599 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28601 (__fxstat): Do not use CHECK_1.
28602 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28604 (__fxstatat): Do not use CHECK_1.
28605 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28607 (__lxstat): Do not use CHECK_1.
28608 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28610 (__xstat): Do not use CHECK_1.
28611 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28612 (__xstat): Do not use CHECK_1.
28613 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28614 (___xstat64): Do not use CHECK_1.
28617 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28619 (CHECK_BOUNDS_HIGH): Likewise.
28620 * string/strcpy.c: Do not include <bp-checks.h>.
28621 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28623 2013-02-07 Roland McGrath <roland@hack.frob.com>
28625 * nscd/nscd-client.h (__nscd_drop_map_ref):
28626 Add __attribute__ ((unused)).
28627 * nis/nss-nisplus.h (niserr2nss): Likewise.
28629 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28630 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28632 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28633 Remove inline keyword.
28634 * include/rounding-mode.h (round_away): Likewise.
28635 * libio/wfileops.c (adjust_wide_data): Likewise.
28636 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28637 (__m128i_strloadu_tolower): Likewise.
28638 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28639 (__m128i_strloadu_tolower): Likewise.
28640 * time/mktime.c (ydhms_diff): Likewise.
28641 * locale/elem-hash.h (elem_hash): Likewise.
28642 * locale/setlocale.c (setdata): Likewise.
28643 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28644 (re_string_wchar_at): Likewise.
28645 (bitset_not, bitset_merge, bitset_mask): Likewise.
28646 [!(__GNUC__ > 3)] (inline): Remove macro.
28647 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28648 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28649 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28650 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28651 * string/memcmp.c (memcmp_bytes): Likewise.
28652 * locale/programs/locarchive.c (compute_hashval): Likewise.
28653 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28654 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28655 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28656 * nss/getent.c (print_rpc, print_protocols): Likewise.
28657 (print_passwd, print_group, print_aliases): Likewise.
28658 * nis/nss-nisplus.h (niserr2nss): Likewise.
28659 * nscd/connections.c (restart_p): Likewise.
28660 Change return type to bool.
28662 2013-02-05 Roland McGrath <roland@hack.frob.com>
28664 * Makeconfig (all-Depend-files): Add existing
28665 $(sorted-subdirs:=/Depend) files.
28666 (all-subdirs): Remove nss.
28667 * sysdeps/unix/inet/Subdirs: Add it here instead.
28668 * hesiod/Depend: New file.
28670 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28671 instead of calling alloca.
28673 * io/lseek.c (__lseek): Rename to __libc_lseek.
28674 Define __lseek as an alias.
28676 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28678 2013-02-04 Carlos O'Donell <carlos@redhat.com>
28680 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28681 else clause and remove check for non-standard endianness.
28683 2013-02-04 David S. Miller <davem@davemloft.net>
28685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28687 2013-02-04 Joseph Myers <joseph@codesourcery.com>
28690 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28691 (__ubp_memchr): Remove prototype.
28692 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28693 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28694 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28695 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28696 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28698 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28699 (__ubp_memchr): Likewise.
28700 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28701 (__ubp_memchr): Likewise.
28702 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28703 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28704 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28705 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28707 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28708 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28709 (__getcwd): Do not use CHECK_STRING.
28710 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28712 (__real_chown): Do not use CHECK_STRING.
28713 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28715 (fchownat): Do not use CHECK_STRING.
28716 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28718 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28720 (__lchown): Do not use CHECK_STRING.
28721 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28722 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28723 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28724 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28726 include <bp-checks.h>.
28727 (truncate64): Do not use CHECK_STRING.
28728 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28730 (__real_chown): Do not use CHECK_STRING.
28731 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28733 (__lchown): Do not use CHECK_STRING.
28734 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28736 (__chown): Do not use CHECK_STRING.
28737 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28739 (truncate64): Do not use CHECK_STRING.
28740 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28742 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28743 (__xmknod): Do not use CHECK_STRING.
28744 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28746 (__xmknodat): Do not use CHECK_STRING.
28747 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28748 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28750 2013-02-04 Andreas Schwab <schwab@suse.de>
28753 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28754 * include/netdb.h: Likewise for h_errno.
28755 * elf/tst-stackguard1.c: Include <tls.h>.
28757 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28759 * elf/link.h (struct link_map): Extend the l_addr comment.
28760 * include/link.h (struct link_map): Likewise.
28762 2013-02-01 Joseph Myers <joseph@codesourcery.com>
28765 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28766 (BOUNDED_1): Remove macro.
28767 * debug/backtrace.c: Don't include <bp-checks.h>.
28768 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28769 (__backtrace): Likewise.
28770 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28772 (__backtrace): Don't use BOUNDED_1.
28773 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28775 (__backtrace): Don't use BOUNDED_1.
28776 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28777 (__backtrace): Don't use BOUNDED_1.
28778 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28779 (shmat): Don't use BOUNDED_N.
28781 2013-01-31 Joseph Myers <joseph@codesourcery.com>
28784 * sysdeps/generic/bp-start.h: Remove file.
28785 * csu/libc-start.c: Don't include <bp-start.h>.
28786 (LIBC_START_MAIN): Set up __environ directly instead of using
28787 INIT_ARGV_and_ENVIRON.
28788 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28792 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28794 (CHECK_FCNTL): Likewise.
28795 (CHECK_N_PAGES): Likewise.
28798 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28800 (CHECK_SIGSET_NULL_OK): Likewise.
28801 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28803 (sigpending): Don't use CHECK_SIGSET.
28804 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28806 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28807 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28809 (do_sigsuspend): Don't use CHECK_SIGSET.
28810 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28812 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28813 (do_sigwait): Don't use CHECK_SIGSET.
28814 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28817 include <bp-checks.h>.
28818 (sigpending): Don't use CHECK_SIGSET.
28819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28820 include <bp-checks.h>.
28821 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28822 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28824 (sigpending): Don't use CHECK_SIGSET.
28825 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28827 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28830 * sysdeps/generic/bp-semctl.h: Remove file.
28831 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28832 <bp-checks.h> and <bp-semctl.h>.
28833 (__old_semctl): Don't use CHECK_SEMCTL.
28834 (__new_semctl): Likewise.
28835 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28837 (__old_semctl): Don't use CHECK_SEMCTL.
28838 (__new_semctl): Likewise.
28839 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28840 <bp-checks.h> and <bp-semctl.h>.
28841 (__old_semctl): Don't use CHECK_SEMCTL.
28842 (__new_semctl): Likewise.
28843 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28844 <bp-checks.h> and <bp-semctl.h>.
28845 (semctl): Don't use CHECK_SEMCTL.
28848 * Makerules (elide-bp-thunks): Remove variable.
28849 (elide-routines.oS): Don't use $(elide-bp-thunks).
28850 (elide-routines.os): Likewise.
28851 (elide-routines.o): Likewise.
28852 (elide-routines.op): Likewise.
28853 (elide-routines.og): Likewise.
28854 (objects): Don't use $(bp-thunks).
28855 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28857 (common-generated): Do not add s-proto-bp.d.
28858 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28861 Do not generate makefile rules for bounded-pointer thunks.
28862 * sysdeps/generic/bp-thunks.h: Remove file.
28863 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28864 * sysdeps/unix/s-proto-bp.S: Likewise.
28867 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28868 parts of result separately when argument is not close to line from
28869 -i to i and one part of argument is small.
28870 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28871 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28872 * math/libm-test.inc (cacos_test): Add more tests.
28873 (casin_test): Likewise.
28874 (casinh_test): Likewise.
28875 * sysdeps/i386/fpu/libm-test-ulps: Update.
28876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28878 2013-01-31 David S. Miller <davem@davemloft.net>
28880 * po/de.po: Update from translation team.
28882 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28884 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28886 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28888 * configure.in (_AC_PROG_CC_C89): New definition.
28889 * configure: Regenerate.
28891 * configure.in (AC_PROG_CPP): New definition.
28892 * configure: Regenerate.
28894 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28896 * debug/tst-backtrace.h: New file.
28897 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28898 (ret): Remove variable.
28900 (FAIL): Remove macro.
28901 (NO_INLINE): Likewise.
28902 (fn1): Use match function instead of strstr.
28903 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28904 (ret): Remove variable.
28906 (FAIL): Remove macro.
28907 (NO_INLINE): Likewise.
28908 (fn): Use match function instead of strstr.
28909 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28910 (ret): Remove variable.
28912 (FAIL): Remove macro.
28913 (NO_INLINE): Likewise.
28914 (handle_signal): Use match function instead of strstr.
28915 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28916 (ret): Remove variable.
28918 (FAIL): Remove macro.
28919 (NO_INLINE): Likewise.
28920 (handle_signal): Use match function instead of strstr.
28922 2013-01-23 Roland McGrath <roland@hack.frob.com>
28924 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28926 2013-01-23 David S. Miller <davem@davemloft.net>
28928 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28929 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28930 argument of CAS if possible.
28931 * sysdeps/sparc/sparc64/bits/atomic.h
28932 (__arch_compare_and_exchange_val_32_acq): Likewise.
28933 (__arch_compare_and_exchange_val_64_acq): Likewise.
28935 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28937 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28938 * sysdeps/posix/ulimit.c: ... this.
28939 Include <limits.h>.
28940 * sysdeps/unix/bsd/ulimit.c: Remove file.
28942 2013-01-23 Adam Conrad <adconrad@0c3.net>
28944 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28945 (LDFLAGS-tst-array5): Likewise.
28947 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28950 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28951 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28952 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28953 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28955 2013-01-21 David S. Miller <davem@davemloft.net>
28957 * sysdeps/sparc/backtrace.c: New file.
28958 * sysdeps/sparc/sparc32/backtrace.h: New file.
28959 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28960 * sysdeps/sparc/sparc64/backtrace.h: New file.
28961 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28962 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28965 2013-01-21 Andreas Schwab <schwab@suse.de>
28968 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28971 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28977 2013-01-18 Joseph Myers <joseph@codesourcery.com>
28978 Mark Mitchell <mark@codesourcery.com>
28979 Tom de Vries <tom@codesourcery.com>
28980 Paul Pluzhnikov <ppluzhnikov@google.com>
28982 * debug/tst-backtrace2.c: New file.
28983 * debug/tst-backtrace3.c: Likewise.
28984 * debug/tst-backtrace4.c: Likewise.
28985 * debug/tst-backtrace5.c: Likewise.
28986 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28987 (CFLAGS-tst-backtrace3.c): Likewise.
28988 (CFLAGS-tst-backtrace4.c): Likewise.
28989 (CFLAGS-tst-backtrace5.c): Likewise.
28990 (LDFLAGS-tst-backtrace2): Likewise.
28991 (LDFLAGS-tst-backtrace3): Likewise.
28992 (LDFLAGS-tst-backtrace4): Likewise.
28993 (LDFLAGS-tst-backtrace5): Likewise.
28994 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28995 tst-backtrace4 and tst-backtrace5.
28997 2013-01-18 Anton Blanchard <anton@samba.org>
28998 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29000 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29001 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29002 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29003 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29005 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29006 "+r" and remove output regs list as redundant. Add explicit inline
29007 asm to specify register of return val to work around compiler codegen
29008 bug. Remove (int) cast on return value. Add return type parameter to
29009 use in macro so that this macro does not truncate return value for
29011 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29012 pass to INTERNAL_VSYSCALL_NCS.
29013 (INLINE_VSYSCALL): Add 'long int' as return type to
29014 INTERNAL_VSYSCALL_NCS macro invocation.
29015 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29016 INTERNAL_VSYSCALL_NCS macro invocation.
29017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29019 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29022 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29023 Fix application of SIMD FP exception mask.
29025 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29026 mp_no from a power of two.
29027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29028 __mpexp_twomm1. Use __pow_mp.
29030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29033 2013-01-17 David S. Miller <davem@davemloft.net>
29035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29037 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29040 * include/complex.h: Condition contents on [!_COMPLEX_H].
29041 (__kernel_casinhf): New prototype.
29042 (__kernel_casinh): Likewise.
29043 (__kernel_casinhl): Likewise.
29044 * math/Makefile (libm_calls): Add k_casinh.
29045 * math/k_casinh.c: New file.
29046 * math/k_casinhf.c: Likewise.
29047 * math/k_casinhl.c: Likewise.
29048 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29049 finite nonzero arguments.
29050 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29051 finite nonzero arguments.
29052 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29053 finite nonzero arguments.
29054 * math/s_casinh.c: Do not include <float.h>.
29055 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29056 * math/s_casinhf.c: Do not include <float.h>.
29057 (__casinhf): Move code for finite nonzero arguments to
29059 * math/s_casinhl.c: Do not include <float.h>.
29060 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29062 (__casinhl): Move code for finite nonzero arguments to
29064 * math/libm-test.inc (cacos_test): Add more tests.
29065 * sysdeps/i386/fpu/libm-test-ulps: Update.
29066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29068 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29070 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29071 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29072 [!HAVE_MREMAP]: Remove [defined linux] case.
29073 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29075 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29077 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29079 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29081 * elf/elf.h (R_386_SIZE32): New relocation.
29082 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29084 (elf_machine_rela): Likewise.
29085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29086 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29088 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29090 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29091 (FP_FAST_FMA): Do not define.
29092 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29093 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29094 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29095 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29096 !_SOFT_FLOAT]: Likewise.
29097 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29098 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29100 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29101 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29102 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29103 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29104 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29105 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29108 2013-01-16 Andreas Schwab <schwab@suse.de>
29111 * include/stdlib.h (__mktemp): Add declaration.
29112 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29113 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29115 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29117 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29119 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29120 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29121 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29123 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29124 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29128 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29129 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29130 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29132 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29133 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29135 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29137 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29139 2013-01-15 David S. Miller <davem@davemloft.net>
29141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29142 trunc{,f} to libm-sysdep_routes.
29143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29153 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29154 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29155 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29156 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29157 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29158 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29161 nearbyint{,f} to libm-sysdep_routes.
29162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29173 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29175 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29176 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29178 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29179 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29180 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29182 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29183 libc_feholdexcept and libc_fesetenv.
29185 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29187 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29189 2013-01-14 David S. Miller <davem@davemloft.net>
29191 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29192 (SPARC_ASM_VIS2_IFUNC): Likewise.
29193 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29195 use of 'siam' instruction.
29196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29229 routines to libm-sysdep_routines.
29230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29233 fdim/fdimf to libm-sysdep_routines.
29234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29242 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29243 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29244 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29245 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29247 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29250 to optimize copies.
29252 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29257 local variable MPTWO.
29258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29261 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29263 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29266 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29268 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29270 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29272 * manual/pattern.texi (glob_t): Document gl_flags.
29273 (glob64_t): Likewise.
29275 2013-01-11 David S. Miller <davem@davemloft.net>
29277 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29278 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29279 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29280 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29281 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29282 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29283 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29284 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29285 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29286 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29287 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29288 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29289 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29291 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29292 sparc V9 rather than using V8 code.
29293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29296 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29298 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29301 2013-01-11 Roland McGrath <roland@hack.frob.com>
29303 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29304 not in the main loop.
29305 * configure: Regenerated.
29307 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29309 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29310 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29312 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29313 [!__GLIBC_HAVE_LONG_LONG] case.
29314 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29315 condition to just #else.
29316 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29317 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29318 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29319 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29321 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29322 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29323 #elif condition to just #else.
29324 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29325 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29326 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29327 #elif condition to just #else.
29329 2013-01-11 Steve Ellcey <sellcey@mips.com>
29331 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29332 (EF_MIPS_ARCH_64): Fix value.
29333 (EF_MIPS_ARCH_32R2): New.
29334 (EF_MIPS_ARCH_64R2): New.
29336 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29338 * Makeconfig (+link-pie-before-libc): New.
29339 (+link-pie-after-libc): Likewise.
29340 (+link-pie-tests): Likewise.
29341 (+link-pie): Rewritten.
29342 (link-before-libc): Remove $(config-LDFLAGS).
29343 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29344 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29345 (config-LDFLAGS): Renamed to ...
29346 (rtld-LDFLAGS): This.
29347 (rtld-tests-LDFLAGS): New macro.
29348 (link-libc-rpath-link): Likewise.
29349 (link-libc-tests-rpath-link): Likewise.
29350 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29351 (link-libc): Prepand $(link-libc-rpath-link).
29352 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29353 (test-program-prefix): New macro.
29354 (test-via-rtld-prefix): Likewise.
29355 (test-program-cmd): Likewise.
29356 (host-test-program-cmd): Likewise.
29357 * Makefile ($(common-objpfx)testrun.sh): Replace
29358 $(run-program-prefix) with $(test-program-prefix).
29359 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29361 ($(common-objpfx)shlib.lds): Likewise.
29362 (build-module-helper): Likewise.
29363 ($(common-objpfx)format.lds): Likewise.
29364 * Rules (binaries-pie-tests): New.
29365 (binaries-pie-notests): Likewise.
29366 (binaries-pie): Rewritten.
29367 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29368 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29369 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29370 (make-test-out): Replace $(host-built-program-cmd) with
29371 $(host-test-program-cmd).
29372 * config.make.in (build-hardcoded-path-in-tests): New variable.
29373 * configure.in (--enable-hardcoded-path-in-tests): New configure
29375 (hardcoded_path_in_tests): New AC_SUBST.
29376 * configure: Regenerated.
29377 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29378 $(built-program-cmd) with $(test-program-cmd).
29379 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29380 (test_program_cmd): This.
29381 * elf/Makefile ($(objpfx)order.out): Run test with
29382 $(test-program-prefix).
29383 ($(objpfx)order2.out): Likewise.
29384 ($(objpfx)tst-initorder.out): Likewise.
29385 ($(objpfx)tst-initorder2.out): Likewise.
29386 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29387 $(test-program-cmd).
29388 ($(objpfx)tst-array1-static.out): Likewise.
29389 ($(objpfx)tst-array2.out): Likewise.
29390 ($(objpfx)tst-array3.out): Likewise.
29391 ($(objpfx)tst-array4.out): Likewise.
29392 ($(objpfx)tst-array5.out): Likewise.
29393 ($(objpfx)tst-array5-static.out): Likewise.
29394 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29395 $(test-program-cmd).
29396 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29397 $(run-program-prefix) with $(test-program-prefix).
29398 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29399 (test_program_prefix): This.
29400 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29401 $(run-program-prefix) with $(test-program-prefix).
29402 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29403 (test_program_prefix): This.
29404 * iconvdata/tst-tables.sh: Likewise.
29405 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29406 $(run-program-prefix) with $(test-program-prefix).
29407 ($(objpfx)tst-translit.out): Likewise.
29408 ($(objpfx)tst-gettext2.out): Likewise.
29409 ($(objpfx)tst-gettext4.out): Likewise.
29410 ($(objpfx)tst-gettext6.out): Likewise.
29411 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29412 (test_program_prefix): This.
29413 * intl/tst-gettext2.sh: Likewise.
29414 * intl/tst-gettext4.sh Likewise.
29415 * intl/tst-gettext6.sh: Likewise.
29416 * intl/tst-translit.sh: Likewise.
29417 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29418 with $(test-program-cmd).
29419 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29420 $(run-program-prefix) with $(test-program-prefix).
29421 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29422 (test_program_prefix): This.
29423 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29424 $(run-program-prefix) with $(test-program-prefix).
29425 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29426 (test_program_prefix): This.
29427 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29428 * posix/Makefile ($(objpfx)globtest.out): Replace
29429 $(run-via-rtld-prefix) and $(test-wrapper) with
29430 $(test-program-prefix) and $(test-via-rtld-prefix).
29431 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29432 $(test-program-prefix).
29433 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29434 $(host-test-program-cmd).
29435 (tst-spawn-ARGS): Likewise.
29436 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29437 $(test-program-prefix).
29438 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29439 (test_via_rtld_prefix): This.
29440 (test_wrapper): Renamed to ...
29441 (test_program_prefix): This.
29442 (run_program_prefix): Replaced by test_program_prefix.
29443 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29444 (test_program_prefix): This.
29445 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29446 with $(host-test-program-cmd).
29447 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29448 $(run-program-prefix) with $(test-program-prefix).
29449 ($(objpfx)tst-printf.out): Likewise.
29450 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29451 $(test-program-cmd).
29452 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29453 (test_program_prefix): This.
29454 * stdio-common/tst-unbputc.sh: Likewise.
29455 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29456 $(run-program-prefix) with $(test-program-prefix).
29457 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29458 (test_program_prefix): This.
29459 * string/Makefile ($(objpfx)tst-svc.out): Replace
29460 $(built-program-cmd) with $(test-program-cmd).
29462 2013-01-11 Andreas Jaeger <aj@suse.de>
29465 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29466 value. Sync with Linux 3.7.
29468 2013-01-10 David S. Miller <davem@davemloft.net>
29470 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29471 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29472 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29474 2013-01-10 Roland McGrath <roland@hack.frob.com>
29476 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29478 * configure: Regenerated.
29480 2013-01-10 David S. Miller <davem@davemloft.net>
29482 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29483 sparc V9 rather than using V8 code.
29484 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29485 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29487 2013-01-10 Roland McGrath <roland@hack.frob.com>
29489 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29490 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29491 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29492 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29493 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29494 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29495 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29496 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29497 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29498 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29499 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29500 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29501 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29502 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29503 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29504 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29505 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29506 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29507 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29508 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29509 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29510 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29511 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29512 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29513 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29514 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29515 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29517 2013-01-10 David S. Miller <davem@davemloft.net>
29519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29521 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29523 * posix/Makefile (tests-static): New variable.
29524 (tests): Add $(tests-static).
29525 (tst-exec-static-ARGS): New variable.
29526 (tst-spawn-static-ARGS): Likewise.
29527 * posix/tst-exec-static.c: New file.
29528 * posix/tst-spawn-static.c: Likewise.
29529 * posix/tst-exec.c: Support run directly.
29530 * posix/tst-spawn.c: Likewise.
29532 2013-01-10 Joseph Myers <joseph@codesourcery.com>
29534 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29536 * math/bits/mathcalls.h (llrint): Likewise.
29537 (llround): Likewise.
29538 * stdlib/stdlib.h (struct drand48_data): Likewise.
29539 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29540 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29541 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29543 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29545 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29546 (elf_greg_t): Likewise.
29547 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29548 (__jmp_buf): Likewise.
29549 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29551 (llrint): Likewise, for all definitions.
29552 (llrintl): Likewise.
29554 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29555 Remove [__GNUC__] condition.
29556 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29557 condition to just [__USE_ISOC99].
29558 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29560 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29563 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29564 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29566 (_POSIX_V6_ILP32_OFF32): Likewise.
29567 (_XBS5_ILP32_OFF32): Likewise.
29568 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29569 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29571 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29573 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29576 doubles __mpexp_twomm1. Adjust usage.
29577 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29580 2013-01-10 Andreas Schwab <schwab@suse.de>
29583 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29584 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29586 2013-01-09 David S. Miller <davem@davemloft.net>
29589 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29590 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29591 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29592 (TCP_FASTOPEN): Define.
29593 (tcp_repair_opt): New structure.
29594 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29596 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29597 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29598 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29599 (tcp_cookie_transactions): New structure.
29601 2013-01-09 Anton Blanchard <anton@samba.org>
29603 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29604 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29606 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29608 2013-01-09 Joseph Myers <joseph@codesourcery.com>
29610 * include/features.h (__USE_ANSI): Remove.
29612 2013-01-09 Roland McGrath <roland@hack.frob.com>
29614 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29616 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29618 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29620 * sysdeps/s390/fpu/libm-test-ulps: Update.
29622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29624 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29628 (denorm): Likewise.
29629 (__mp_dbl): Likewise.
29630 (__dbl_mp): Likewise.
29631 (add_magnitudes): Likewise.
29632 (sub_magnitudes): Likewise.
29638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29642 (denorm): Likewise.
29643 (__mp_dbl): Likewise.
29644 (__dbl_mp): Likewise.
29645 (add_magnitudes): Likewise.
29646 (sub_magnitudes): Likewise.
29652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29656 (denorm): Likewise.
29657 (__mp_dbl): Likewise.
29658 (__dbl_mp): Likewise.
29659 (add_magnitudes): Likewise.
29660 (sub_magnitudes): Likewise.
29667 2013-01-08 Joseph Myers <joseph@codesourcery.com>
29669 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29670 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29671 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29672 2 && __USE_EXTERN_INLINES]: Likewise.
29674 2013-01-08 Andreas Jaeger <aj@suse.de>
29677 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29679 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29680 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29682 2013-01-07 Anton Blanchard <anton@samba.org>
29684 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29685 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29686 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29687 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29688 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29689 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29690 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29691 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29693 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29694 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29695 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29696 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29697 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29698 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29699 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29700 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29701 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29702 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29703 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29705 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29706 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29707 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29708 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29709 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29710 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29711 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29713 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29714 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29716 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29717 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29718 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29719 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29720 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29722 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29723 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29725 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29726 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29728 2013-01-07 Joseph Myers <joseph@codesourcery.com>
29730 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29731 (__MALLOC_PMT): Likewise.
29732 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29733 [__GNUC__], only on [_LIBC].
29734 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29735 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29736 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29737 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29738 forward declaration.
29739 (realloc_hook_ini): Likewise.
29740 (memalign_hook_ini): Likewise.
29741 (__libc_memalign): Do not use __MALLOC_PMT in variable
29743 (__libc_valloc): Likewise.
29744 (__libc_pvalloc): Likewise.
29745 (__libc_calloc): Likewise.
29746 (__posix_memalign): Likewise.
29749 * math/s_casinh.c: Include <float.h>.
29750 (__casinh): Do not do computation with squaring and square root
29751 for large arguments.
29752 * math/s_casinhf.c: Include <float.h>.
29753 (__casinhf): Do not do computation with squaring and square root
29754 for large arguments.
29755 * math/s_casinhl.c: Include <float.h>.
29756 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29757 (__casinhl): Do not do computation with squaring and square root
29758 for large arguments.
29759 * math/libm-test.inc (casin_test): Add more tests.
29760 (casinh_test): Likewise.
29761 * sysdeps/i386/fpu/libm-test-ulps: Update.
29762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29764 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29766 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29767 (__x86_64_raw_data_cache_size): Likewise.
29768 (__x86_64_data_cache_size_half): Likewise.
29769 (__x86_64_raw_data_cache_size_half): Likewise.
29770 (__x86_64_shared_cache_size): Likewise.
29771 (__x86_64_raw_shared_cache_size): Likewise.
29772 (__x86_64_shared_cache_size_half): Likewise.
29773 (__x86_64_raw_shared_cache_size_half): Likewise.
29774 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29776 (__x86_data_cache_size): This.
29777 (__x86_64_raw_data_cache_size): Renamed to ...
29778 (__x86_raw_data_cache_size): This.
29779 (__x86_64_data_cache_size_half): Renamed to ...
29780 (__x86_data_cache_size_half): This.
29781 (__x86_64_raw_data_cache_size_half): Renamed to ...
29782 (__x86_raw_data_cache_size_half): This.
29783 (__x86_64_shared_cache_size): Renamed to ...
29784 (__x86_shared_cache_size): This.
29785 (__x86_64_raw_shared_cache_size): Renamed to ...
29786 (__x86_raw_shared_cache_size): This.
29787 (__x86_64_shared_cache_size_half): Renamed to ...
29788 (__x86_shared_cache_size_half): This.
29789 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29790 (__x86_raw_shared_cache_size_half): This.
29791 * sysdeps/x86_64/memcpy.S: Updated.
29792 * sysdeps/x86_64/memset.S: Likewise.
29793 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29797 2013-01-04 David S. Miller <davem@davemloft.net>
29799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29801 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29803 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29804 1 to avoid redefinition warning.
29805 (__USE_GNU): Don't define.
29806 (init_signaling_nan): Protoize.
29808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29810 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29812 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29814 (__cpymn): Likewise.
29815 (norm): Remove commented code.
29816 (denorm): Likewise.
29817 (__mp_dbl): Likewise.
29819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29820 (__cpymn): Likewise.
29821 (norm): Remove commented code.
29822 (denorm): Likewise.
29823 (__mp_dbl): Likewise.
29826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29827 mp_no value for 1.0 and 2.0.
29828 (norm): Use RADIXI instead of radixi.d.
29829 (denorm): Likewise.
29830 (__mul): Use 0.0 instead of zero.d.
29831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29832 mp_no value for 1.0 and 2.0.
29833 (norm): Use RADIXI instead of radixi.d.
29834 (denorm): Likewise.
29835 (__mul): Use 0.0 instead of zero.d.
29837 2013-01-04 Joseph Myers <joseph@codesourcery.com>
29840 * math/s_casinh.c (__casinh): Reduce finite argument to first
29841 quadrant then set signs of results at the end.
29842 * math/s_casinhf.c (__casinhf): Likewise.
29843 * math/s_casinhl.c (__casinhl): Likewise.
29844 * math/libm-test.inc (casin_test): Add more tests.
29845 (casinh_test): Likewise.
29846 * sysdeps/i386/fpu/libm-test-ulps: Update.
29847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29849 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29851 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29853 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29855 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29857 (denorm): Likewise.
29858 (__mp_dbl): Likewise.
29861 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29862 and adjust the header comment.
29864 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29865 variable name from declaration.
29867 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29870 Initialize COMMON_CPUID_INDEX_7 element.
29871 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29872 (CPUID_RTM): Likewise.
29873 (HAS_RTM): Likewise.
29874 (COMMON_CPUID_INDEX_7): New enum.
29876 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29879 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29880 size is zero, record memory as freed.
29882 2013-01-03 Andreas Jaeger <aj@suse.de>
29884 * po/ia.po: Add new Interlingua translation.
29886 2012-01-03 Allan McRae <allan@archlinux.org>
29888 * locale/programs/localedef.c: Fix description of '--posix' flag.
29890 2013-01-02 Joseph Myers <joseph@codesourcery.com>
29892 * NEWS: Update dates in second copyright notice.
29893 * README: Update copyright dates in example.
29894 * manual/libc.texinfo: Update copyright dates.
29895 * scripts/test-installation.pl: Update copyright date in --version
29898 * hurd/ctty-input.c: Fix copyright notice formatting.
29899 * hurd/ctty-output.c: Likewise.
29900 * hurd/dtable.c: Likewise.
29901 * hurd/hurd-raise.c: Likewise.
29902 * hurd/hurdprio.c: Likewise.
29903 * hurd/msgportdemux.c: Likewise.
29904 * misc/sys/file.h: Likewise.
29905 * misc/sys/ioctl.h: Likewise.
29906 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29907 * sysdeps/mach/hurd/chdir.c: Likewise.
29908 * sysdeps/mach/hurd/fchdir.c: Likewise.
29909 * sysdeps/mach/hurd/rename.c: Likewise.
29910 * sysdeps/mach/hurd/rmdir.c: Likewise.
29911 * sysdeps/mach/hurd/seekdir.c: Likewise.
29912 * sysdeps/mach/hurd/setsid.c: Likewise.
29913 * sysdeps/posix/wait3.c: Likewise.
29915 * All files with FSF copyright notices: Update copyright dates
29916 using scripts/update-copyrights.
29917 * intl/plural.c: Regenerated.
29918 * locale/programs/charmap-kw.h: Likewise.
29919 * locale/programs/locfile-kw.h: Likewise.
29921 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29923 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29927 calculation loop and add branch prediction.
29929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29930 check access beyond bounds of m1np.
29932 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29934 (__inv): Remove local variable MPTWO to use the global
29936 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29939 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29940 MP3HALFS static const.
29942 2013-01-01 David S. Miller <davem@davemloft.net>
29944 * po/ca.po: Update from translation team.
29946 2013-01-01 Joseph Myers <joseph@codesourcery.com>
29948 * scripts/update-copyrights: New file.
29949 * Makeconfig: Reformat copyright notice.
29950 * ctype/ctype.h: Likewise.
29951 * debug/swprintf_chk.c: Likewise.
29952 * elf/dl-cache.c: Likewise.
29953 * elf/dl-debug.c: Likewise.
29954 * elf/dl-object.c: Likewise.
29955 * grp/initgroups.c: Likewise.
29956 * hurd/Makefile: Likewise.
29957 * hurd/hurd/signal.h: Likewise.
29958 * hurd/hurdfault.c: Likewise.
29959 * hurd/hurdioctl.c: Likewise.
29960 * hurd/hurdlookup.c: Likewise.
29961 * hurd/intr-msg.c: Likewise.
29962 * iconv/gconv_open.c: Likewise.
29963 * libio/swprintf.c: Likewise.
29964 * locale/lc-ctype.c: Likewise.
29965 * locale/nl_langinfo.c: Likewise.
29966 * mach/Machrules: Likewise.
29967 * mach/Makefile: Likewise.
29968 * malloc/obstack.h: Likewise.
29969 * manual/Makefile: Likewise.
29970 * manual/tsort.awk: Likewise.
29971 * misc/bits/stab.def: Likewise.
29972 * nis/nis_print_group_entry.c: Likewise.
29973 * nis/nis_table.c: Likewise.
29974 * nis/nss_compat/compat-pwd.c: Likewise.
29975 * nis/nss_compat/compat-spwd.c: Likewise.
29976 * po/Makefile: Likewise.
29977 * posix/fnmatch.c: Likewise.
29978 * posix/regex.h: Likewise.
29979 * resolv/Makefile: Likewise.
29980 * resolv/nss_dns/dns-network.c: Likewise.
29981 * resolv/res_hconf.c: Likewise.
29982 * scripts/gen-sorted.awk: Likewise.
29983 * soft-fp/soft-fp.h: Likewise.
29984 * stdio-common/printf.h: Likewise.
29985 * stdlib/monetary.h: Likewise.
29986 * stdlib/random.c: Likewise.
29987 * stdlib/random_r.c: Likewise.
29988 * sysdeps/generic/Makefile: Likewise.
29989 * sysdeps/gnu/Makefile: Likewise.
29990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29997 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29998 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29999 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30000 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30001 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30002 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30003 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30004 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30006 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30010 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30011 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30018 * sysdeps/mach/hurd/errnos.awk: Likewise.
30019 * sysdeps/mach/hurd/fork.c: Likewise.
30020 * sysdeps/mach/hurd/getcwd.c: Likewise.
30021 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30022 * sysdeps/mach/hurd/mmap.c: Likewise.
30023 * sysdeps/mach/hurd/utimes.c: Likewise.
30024 * sysdeps/mach/hurd/xmknod.c: Likewise.
30025 * sysdeps/posix/profil.c: Likewise.
30026 * sysdeps/posix/readdir_r.c: Likewise.
30027 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30028 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30029 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30032 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30033 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30036 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30037 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30038 * sysdeps/pthread/lio_listio.c: Likewise.
30039 * sysdeps/sparc/dl-procinfo.h: Likewise.
30040 * sysdeps/unix/i386/sysdep.S: Likewise.
30041 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30042 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30043 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30044 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30046 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30047 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30048 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30049 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30050 * sysdeps/wordsize-32/divdi3.c: Likewise.
30051 * time/sys/time.h: Likewise.
30052 * wcsmbs/Makefile: Likewise.
30054 2013-01-01 David S. Miller <davem@davemloft.net>
30056 * po/fr.po: Update from translation team.
30058 * catgets/gencat.c: Update copyright year.
30059 * csu/version.c: Likewise.
30060 * debug/catchsegv.sh: Likewise.
30061 * debug/pcprofiledump.c: Likewise.
30062 * debug/xtrace.sh: Likewise.
30063 * elf/ldconfig.c: Likewise.
30064 * elf/ldd.bash.in: Likewise.
30065 * elf/pldd.c: Likewise.
30066 * elf/sotruss.ksh: Likewise.
30067 * elf/sprof.c: Likewise.
30068 * iconv/iconv_prog.c: Likewise.
30069 * iconv/iconvconfig.c: Likewise.
30070 * locale/programs/locale.c: Likewise.
30071 * locale/programs/localedef.c: Likewise.
30072 * login/programs/pt_chown.c: Likewise.
30073 * malloc/memusage.sh: Likewise.
30074 * malloc/memusagestat.c: Likewise.
30075 * malloc/mtrace.pl: Likewise.
30076 * nscd/nscd.c: Likewise.
30077 * nss/getent.c: Likewise.
30078 * nss/makedb.c: Likewise.
30079 * posix/getconf.c: Likewise.
30081 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30083 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30086 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30088 * math/bits/mathcalls.h (modf): Use __nonnull.
30090 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30092 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30093 (split): Use macro CN instead of the bare value.
30094 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30097 instead of the bare value.
30098 (power1): Likewise.
30100 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30102 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30104 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30106 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30108 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30109 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30110 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30111 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30113 2012-12-28 Andreas Jaeger <aj@suse.de>
30115 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30116 values are from Linux 3.7.
30118 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30119 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30121 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30123 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30128 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30129 variables with preprocessor constants.
30130 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30131 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30132 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30134 2012-12-27 Bruno Haible <bruno@clisp.org>
30137 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30140 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30142 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30143 and use variable directly.
30144 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30146 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30148 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30153 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30154 include directive. Remove local variable MPONE.
30155 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30156 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30157 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30159 2012-12-25 David S. Miller <davem@davemloft.net>
30161 * version.h (RELEASE): Set to "development".
30162 (VERSION): Set to "2.17.90".
30163 * NEWS: Add 2.18 section.
30165 2012-12-21 David S. Miller <davem@davemloft.net>
30167 * po/hr.po: Update from translation team.
30169 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30171 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30173 2012-12-19 Steve Ellcey <sellcey@mips.com>
30175 * NEWS: Mention new memcpy for MIPS.
30177 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30179 * manual/contrib.texi (Contributors): Spelling correction.
30181 2012-12-15 David S. Miller <davem@davemloft.net>
30183 * po/ru.po: Update from translation team.
30185 2012-12-13 David S. Miller <davem@davemloft.net>
30187 * NEWS: Mention IFUNC testsuite enhancements.
30189 * po/pl.po: Update from translation team.
30190 * po/bg.po: Likewise.
30192 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30193 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30195 2012-12-11 David S. Miller <davem@davemloft.net>
30197 * po/sv.po: Update from translation team.
30199 * po/vi.po: Update from translation team.
30201 * po/cs.po: Update from translation team.
30203 * po/de.po: Update from translation team.
30204 * po/eo.po: Likewise.
30205 * po/nl.po: Likewise.
30207 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30210 * manual/argp.texi (Argp Helper Functions): Move node to follow
30211 Argp Parsing State.
30214 * manual/conf.texi (Limits on File System Capacity): Mention if
30215 terminating null is included in the max size.
30217 2012-12-10 Andreas Jaeger <aj@suse.de>
30219 * po/cs.po: Update from translation team.
30221 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30223 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30224 void pointer and cast to uintptr_t.
30225 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30227 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30228 * sysdeps/s390/s390-64/memset.S: Likewise.
30230 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30233 * menual/message.texi (Message Translation): Fix typos.
30234 (Helper programs for gettext): Likewise.
30236 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30239 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30242 2012-12-07 David S. Miller <davem@davemloft.net>
30244 * po/libc.pot: Update.
30246 2012-12-07 Richard Henderson <rth@redhat.com>
30249 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30250 normal/normal case to before the switch.
30251 (_FP_DIV): Likewise.
30253 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30254 Mike Frysinger <vapier@gentoo.org>
30256 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30257 check for __NR_fadvise64_64.
30259 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30261 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30262 0, not just to plain "0" as a statement.
30263 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30266 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30268 * NEWS: Use sourceware.org in Bugzilla URL.
30270 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30273 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30275 * stdio-common/tst-put-error.c (do_test): Add newline to the
30276 padded test to ensure flush.
30278 2012-12-05 Jeff Law <law@redhat.com>
30280 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30282 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30284 * README: Don't refer to ports add-on as distributed separately.
30285 Mention AArch64 in list of systems supported in the ports add-on.
30287 * LICENSES: Add more non-FSF copyright and license notices.
30289 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30292 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30294 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30295 10000 as width of padded output.
30297 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30299 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30302 variable LX with __attribute__ ((unused)).
30303 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30305 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30306 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30307 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30308 with __attribute__ ((unused)).
30310 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30312 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30314 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30316 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30317 (CFLAGS-nldbl-acos.c): New variable.
30318 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30319 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30320 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30321 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30322 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30323 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30324 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30325 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30326 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30327 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30328 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30329 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30330 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30331 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30332 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30333 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30334 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30335 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30336 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30337 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30338 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30339 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30340 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30341 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30342 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30343 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30344 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30345 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30346 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30347 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30348 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30349 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30350 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30351 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30352 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30353 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30354 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30355 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30356 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30357 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30358 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30359 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30360 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30361 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30362 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30363 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30364 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30365 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30366 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30367 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30368 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30369 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30370 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30371 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30372 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30373 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30374 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30375 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30376 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30377 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30378 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30379 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30380 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30381 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30382 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30383 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30384 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30385 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30386 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30387 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30388 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30389 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30390 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30391 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30392 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30393 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30394 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30395 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30396 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30397 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30398 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30399 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30400 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30401 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30402 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30403 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30404 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30405 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30406 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30407 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30408 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30409 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30410 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30411 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30412 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30413 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30414 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30417 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30421 whole low double instead of just low 47 bits when splitting values
30424 2012-12-03 Allan McRae <allan@archlinux.org>
30426 * manual/stdio.texi (Predefined Printf Handlers): Remove
30427 @hsep and @vsep usage.
30429 2012-12-03 Mike Frysinger <vapier@gentoo.org>
30431 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30432 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30434 2012-12-03 Jeff Law <law@redhat.com>
30436 * time/sys/time.h (settimeofday): Do not mark TV argument
30439 2012-12-01 Mike Frysinger <vapier@gentoo.org>
30441 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30442 when currently writing and seek to current position when not.
30443 * libio/Makefile (tests): Remove bug-fclose1.
30444 * libio/bug-fclose1.c: Delete.
30446 2012-12-01 Joseph Myers <joseph@codesourcery.com>
30448 * manual/arith.texi (feenableexcept): Fix typo.
30449 (fedisableexcept): Likewise.
30451 2012-11-30 Roland McGrath <roland@hack.frob.com>
30453 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30454 second, differently-typed declaration, rather than a cast.
30456 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30458 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30459 * include/rpc/svc.h: ... here.
30461 2012-11-30 Aurelien Jarno <aurel32@debian.org>
30464 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30465 depending n and resplen2 to catch cases where answer
30468 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30470 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30471 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30473 2012-11-29 Mike Frysinger <vapier@gentoo.org>
30475 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30477 2012-11-29 Roland McGrath <roland@hack.frob.com>
30479 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30481 2012-11-28 Jeff Law <law@redhat.com>
30484 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30485 dataset_temporary. Track alloca usage into alloca_used.
30486 If dataset is large allocate and release it via malloc/free.
30488 2012-06-04 Florian Weimer <fweimer@redhat.com>
30491 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30493 2012-11-28 David S. Miller <davem@davemloft.net>
30495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30497 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30500 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30501 of pi/2 rounded to nearest to 64 bits.
30502 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30503 nearest to 64 bits.
30504 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30507 2012-11-28 Jeff Law <law@redhat.com>
30508 Martin Osvald <mosvald@redhat.com>
30511 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30512 * sunrpc/svc.c: Include time.h.
30513 (__svc_accept_failed): New function.
30514 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30515 any reason other than EINTR, call __svc_accept_failed.
30516 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30517 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30519 2012-11-28 Andreas Schwab <schwab@suse.de>
30521 * scripts/abilist.awk: Also handle indirect functions in .opd
30524 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30527 * sysdeps/x86/fpu/powl_helper.c: New file.
30528 * sysdeps/x86/fpu/Makefile: Likewise.
30529 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30531 (__ieee754_powl): Use __powl_helper for finite arguments except
30532 integer exponents below 8.
30533 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30535 (__ieee754_powl): Use __powl_helper for finite arguments except
30536 integer exponents below 8.
30537 * math/libm-test.inc (pow_test): Add more tests and enable some
30538 previously disabled tests.
30539 * sysdeps/i386/fpu/libm-test-ulps: Update.
30540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30542 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30543 Carlos O'Donell <carlos_odonell@mentor.com>
30545 * nss/makedb.c (is_prime): Assert that input is odd and greater
30546 than 4. Note that fact in a comment too.
30547 (next_prime): Add 4 to input.
30549 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30552 * libio/Makefile (tests): Add test case tst-fwrite-error.
30553 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30554 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30555 * libio/tst-fwrite-error.c: New test case.
30557 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30559 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30560 before casting to void *.
30561 * include/libc-internal.h (__pointer_type): New macro.
30562 (__integer_if_pointer_type_sub): Likewise.
30563 (__integer_if_pointer_type): Likewise.
30564 (cast_to_integer): Likewise.
30565 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30566 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30567 before casting to atomic64_t.
30568 (atomic_exchange_acq): Likewise.
30569 (__arch_exchange_and_add_body): Likewise.
30570 (__arch_add_body): Likewise.
30571 (atomic_add_negative): Likewise.
30572 (atomic_add_zero): Likewise.
30574 2012-11-26 Joseph Myers <joseph@codesourcery.com>
30576 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30577 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30578 (add_fdes): Likewise.
30579 (linear_search_fdes): Likewise.
30580 (binary_search_unencoded_fdes): Likewise.
30582 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30584 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30586 2012-11-24 Adam Conrad <adconrad@0c3.net>
30588 * configure.in: Autodetect C++ header directories.
30589 * configure: Regenerated.
30591 2012-11-23 Mike Frysinger <vapier@gentoo.org>
30593 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30595 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30599 2012-11-22 Joseph Myers <joseph@codesourcery.com>
30601 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30602 LDBL_MANT_DIG == 106]: Disable some tests.
30603 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30605 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30610 input for small inputs. Return +/- pi/2 for large inputs.
30611 * math/libm-test.inc (atan_test): Add more tests.
30613 * sysdeps/generic/unwind-dw2-fde-glibc.c
30614 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30615 __attribute__ ((unused)).
30618 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30619 x * y if x and y are nonzero and z is zero.
30622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30623 nonzero exponents with absolute value below 0x1p-117 to +/-
30627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30628 up arguments below 2**-450, not just those below 2**-500.
30629 * math/libm-test.inc (hypot_test): Add another test.
30632 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30633 Return a+b for ratio over 2**120, not 2**60.
30634 * math/libm-test.inc (hypot_test): Add another test.
30636 * math/libm-test.inc (clog_test): Use
30637 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30638 (clog10_test): Likewise.
30641 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30643 2012-11-22 Andreas Schwab <schwab@suse.de>
30645 * sysdeps/i386/fpu/libm-test-ulps: Update.
30647 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30649 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30650 printf output with newline.
30652 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30655 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30656 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30657 -z nodlopen, -z initfirst and -z execstack support.
30658 * configure: Regenerated.
30660 * elf/elf.h (DF_1_NODIRECT): New macro.
30661 (DF_1_IGNMULDEF): Likewise.
30662 (DF_1_NOKSYMS): Likewise.
30663 (DF_1_NOHDR): Likewise.
30664 (DF_1_EDITED): Likewise.
30665 (DF_1_NORELOC): Likewise.
30666 (DF_1_SYMINTPOSE): Likewise.
30667 (DF_1_GLOBAUDIT): Likewise.
30668 (DF_1_SINGLETON): Likewise.
30669 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30670 DT_1_SUPPORTED_MASK bits.
30671 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30673 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30675 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30677 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30679 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30682 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30683 (sendmmsg): Move declarations...
30684 * socket/sys/socket.h: ... here.
30685 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30686 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30688 * socket/recvmmsg.c: ... this new file.
30689 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30690 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30691 definition of __sendmmsg hidden.
30692 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30693 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30694 Move ENOSYS stub into and include it from...
30695 * socket/sendmmsg.c: ... this new file.
30696 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30697 (sysdep_routines): Move recvmmsg and sendmmsg...
30698 * socket/Makefile (routines): ... here.
30699 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30700 (GLIBC_PRIVATE): Add __sendmmsg.
30701 * include/sys/socket.h (__sendmmsg): Add declarations.
30702 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30705 2012-11-20 Joseph Myers <joseph@codesourcery.com>
30707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30708 variable I1 with __attribute__ ((unused)).
30709 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30711 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30713 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30714 DUMMY variables with __attribute__ ((unused)).
30716 * bits/byteswap.h: Include <bits/types.h>.
30717 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30719 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30721 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30722 string_t. Do not manually set errno.
30723 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30724 length with __strnlen. Make sure to both set errno and return it on
30727 2012-11-19 David S. Miller <davem@davemloft.net>
30729 With help from Joseph Myers.
30730 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30731 very large arguments properly.
30732 * math/libm-test.inc (atan_test): New tests.
30733 (atan2_test): New tests.
30734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30737 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30740 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30743 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30744 [POSIX] (EADDRNOTAVAIL): Likewise.
30745 [POSIX] (EAFNOSUPPORT): Likewise.
30746 [POSIX] (EALREADY): Likewise.
30747 [POSIX] (ECONNABORTED): Likewise.
30748 [POSIX] (ECONNREFUSED): Likewise.
30749 [POSIX] (ECONNRESET): Likewise.
30750 [POSIX] (EDESTADDRREQ): Likewise.
30751 [POSIX] (EDQUOT): Likewise.
30752 [POSIX] (EHOSTUNREACH): Likewise.
30753 [POSIX] (EIDRM): Likewise.
30754 [POSIX] (EISCONN): Likewise.
30755 [POSIX] (ELOOP): Likewise.
30756 [POSIX] (EMULTIHOP): Likewise.
30757 [POSIX] (ENETDOWN): Likewise.
30758 [POSIX] (ENETUNREACH): Likewise.
30759 [POSIX] (ENOBUFS): Likewise.
30760 [POSIX] (ENODATA): Likewise.
30761 [POSIX] (ENOLINK): Likewise.
30762 [POSIX] (ENOMSG): Likewise.
30763 [POSIX] (ENOPROTOOPT): Likewise.
30764 [POSIX] (ENOSR): Likewise.
30765 [POSIX] (ENOSTR): Likewise.
30766 [POSIX] (ENOTCONN): Likewise.
30767 [POSIX] (ENOTSOCK): Likewise.
30768 [POSIX] (EOPNOTSUPP): Likewise.
30769 [POSIX] (EOVERFLOW): Likewise.
30770 [POSIX] (EPROTO): Likewise.
30771 [POSIX] (EPROTONOSUPPORT): Likewise.
30772 [POSIX] (EPROTOTYPE): Likewise.
30773 [POSIX] (ESTALE): Likewise.
30774 [POSIX] (ETIME): Likewise.
30775 [POSIX] (ETXTBSY): Likewise.
30776 [POSIX] (EWOULDBLOCK): Likewise.
30777 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30778 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30779 [POSIX] (SEEK_CUR): Likewise.
30780 [POSIX] (SEEK_END): Likewise.
30781 [POSIX || UNIX98] (mode_t): Do not require.
30782 [POSIX] (off_t): Likewise.
30783 [POSIX] (pid_t): Likewise.
30784 [POSIX] (sys/stat.h): Do not allow header.
30785 [POSIX] (unistd.h): Likewise.
30786 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30787 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30788 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30789 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30791 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30792 sigevent): Specify elements.
30793 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30795 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30796 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30798 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30799 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30800 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30801 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30802 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30803 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30804 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30805 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30806 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30807 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30808 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30809 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30810 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30811 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30813 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30815 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30817 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30819 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30820 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30821 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30822 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30823 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30824 Specify lower bound on value.
30825 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30826 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30827 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30831 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30832 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30834 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30836 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30840 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30846 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30847 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30848 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30849 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30850 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30851 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30853 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30855 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30856 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30857 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30858 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30859 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30860 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30862 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30863 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30865 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30866 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30867 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30868 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30870 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30871 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30872 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30874 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30875 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30876 specify as optional.
30877 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30878 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30879 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30880 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30881 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30882 [XPG3] (NL_LANGMAX): Likewise.
30883 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30884 [POSIX || XPG3] (NL_NMAX): Likewise.
30885 [POSIX || XPG3] (NL_SETMAX): Likewise.
30886 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30887 [XPG3] (NZERO): Likewise.
30888 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30889 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30890 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30891 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30892 (REG_ERANGE): Expect.
30893 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30895 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30896 Use (void) in prototype.
30897 [POSIX] (*_t): Allow.
30898 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30899 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30900 (WRDE_BADVAL): Expect.
30902 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30904 [XPG3 || XPG4] (O_RSYNC): Likewise.
30905 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30907 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30908 [XPG3 || XPG4] (sigqueue): Likewise.
30909 [XPG3 || XPG4] (sigtimedwait): Likewise.
30910 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30911 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30912 [XPG3 || XPG4] (vsnprintf): Likewise.
30913 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30915 [XPG3 || XPG4] (blksize_t): Likewise.
30916 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30918 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30919 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30920 [XPG3 || XPG4] (struct itimerspec): Likewise.
30921 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30922 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30923 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30924 [XPG3 || XPG4] (clockid_t): Likewise.
30925 [XPG3 || XPG4] (timer_t): Likewise.
30926 [XPG3 || XPG4] (clock_getres): Likewise.
30927 [XPG3 || XPG4] (clock_gettime): Likewise.
30928 [XPG3 || XPG4] (clock_settime): Likewise.
30929 [XPG3 || XPG4] (nanosleep): Likewise.
30930 [XPG3 || XPG4] (timer_create): Likewise.
30931 [XPG3 || XPG4] (timer_delete): Likewise.
30932 [XPG3 || XPG4] (timer_gettime): Likewise.
30933 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30934 [XPG3 || XPG4] (timer_settime): Likewise.
30935 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30936 [XPG3 || XPG4] (getlogin_r): Likewise.
30937 [XPG3 || XPG4] (pread): Likewise.
30938 [XPG3 || XPG4] (pthread_atfork): Likewise.
30939 [XPG3 || XPG4] (pwrite): Likewise.
30942 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30945 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30947 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30948 finalizing MALLSTREAM.
30950 * sysdeps/mach/hurd/syncfs.c: New file.
30952 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30955 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30956 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30957 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30958 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30959 (_nss_dns_gethostbyname4_r): Likewise.
30960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30961 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30963 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30966 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30968 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30970 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30971 * elf/cache.c (print_entry): Print ",AArch64" for
30974 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30975 * elf/cache.c (print_entry): Print ",hard-float" for
30978 2012-11-18 David S. Miller <davem@davemloft.net>
30980 With help from Joseph Myers.
30981 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30983 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30985 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30986 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30988 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30989 * math/libm-test.inc (y0_test): New tests.
30990 (y1_test): New tests.
30991 * sysdeps/i386/fpu/libm-test-ulps: Update.
30992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30995 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30997 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30999 * configure: Regenerated.
31001 2012-11-17 David S. Miller <davem@davemloft.net>
31004 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31005 nonzero exponents with absolute value below 0x1p-128 to +/-
31008 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31010 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31012 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31014 * posix/getconf-speclist.c: New file.
31015 * posix/posix-envs.def: Likewise.
31016 * posix/confstr.c (START_ENV_GROUP): New macro.
31017 (END_ENV_GROUP): Likewise.
31018 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31019 (KNOWN_PRESENT_ENV_STRING): Likewise.
31020 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31021 (UNKNOWN_ENVIRONMENT): Likewise.
31022 (confstr): Include posix-envs.def instead of handling
31023 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31024 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31025 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31026 (END_ENV_GROUP): Likewise.
31027 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31028 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31029 (UNKNOWN_ENVIRONMENT): Likewise.
31030 (__sysconf): Include posix-envs.def instead of handling associated
31031 cases directly here.
31032 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31033 preprocessing getconf-speclist.c rather than running getconf or
31034 generating empty file.
31036 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31038 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31040 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31043 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31045 2012-11-16 David S. Miller <davem@davemloft.net>
31047 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31048 smaller than LDBL_EPSILON/2.0L, just return xm1.
31050 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31052 * elf/tst-array1.c (init): Set constructor priority to 1000.
31053 (fini): Set destructor priority to 1000.
31054 * elf/tst-array2dep.c: Likewise.
31056 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31059 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31060 (_IO_new_file_xsputn): Also return EOF if none of the input
31061 data was written when overflow failed.
31062 * libio/iopadn.c (_IO_padn): Likewise.
31063 * libio/iowpadn.c (_IO_wpadn): Likewise.
31064 * stdio-common/tst-put-error.c: Add copyright notice.
31065 (do_test): Add case for printing padded string.
31066 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31067 _IO_padn returned error.
31068 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31069 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31072 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31074 * libio/libioP.h: Add comment note that the references to C++
31075 bits are now obsolete.
31077 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31079 * math/libm-test.inc (check_complex): Use asprintf.
31081 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31083 * debug/pcprofiledump.c (print_version): Update copyright year.
31084 * malloc/memusagestat.c (print_version): Likewise.
31086 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31089 * elf/Makefile (tests): Add tst-audit8.
31090 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31091 ($(objpfx)tst-audit8.out): New target.
31092 (tst-audit8-ENV): New variable.
31093 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31094 audit if l_reloc_result is NULL.
31095 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31096 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31097 * elf/tst-audit8.c: New file.
31099 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31101 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31102 * misc/Makefile (CFLAGS-select.c): Define.
31103 * posix/Makefile (CFLAGS-pause.c): Define.
31105 2012-11-13 David S. Miller <davem@davemloft.net>
31107 * crypt/Makefile: Move test targets after toplevel Rules
31108 inclusion. Grab any necessary sysdep routines when linking.
31109 * crypt/md5.c (md5_process_block): Remove define, we will always
31110 name it __md5_process_block.
31111 (md5_finish_ctx): Update md5_process_block call.
31112 (md5_stream): Likewise.
31113 (md5_process_bytes): Likewise.
31114 (md5_process_block): Rename to __md5_process_block and move to ...
31115 * crypt/md5-block.c: ... here.
31116 * crypt/sha256.c (sha256_process_block): Move to ...
31117 * crypt/sha256-block.c: ... here.
31118 * crypt/sha512.c (sha512_process_block): Move to ...
31119 * crypt/sha512-block.c: ... here.
31120 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31122 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31123 * sysdeps/sparc/sparc64/multiarch/Makefile
31124 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31126 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31127 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31129 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31130 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31131 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31132 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31133 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31134 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31135 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31136 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31137 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31139 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31140 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31142 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31144 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31146 * timezone/tzselect.ksh: Update from tzcode git revision
31147 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31148 * timezone/zdump.c: Likewise.
31149 * timezone/zic.c: Likewise.
31150 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31151 in TZVERSION setting, not $(PKGVERSION).
31152 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31153 REPORT_BUGS_TO settings.
31156 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31159 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31161 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31162 detection to immediately after _FP_ROUND().
31163 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31166 2012-11-11 David S. Miller <davem@davemloft.net>
31168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31170 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31171 __close rather than their public counterparts.
31173 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31175 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31177 [UNIX98] (sem_timedwait): Do not expect.
31178 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31179 [XPG4 || UNIX98] (sockatmark): Do not expect.
31180 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31181 (clock_getcpuclockid): Do not expect.
31182 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31183 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31185 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31186 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31187 [UNIX98] (vwscanf): Likewise.
31188 [UNIX98] (vswscanf): Likewise.
31190 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31192 * timezone/version.h: Remove file.
31193 * timezone/README: Do not refer to version.h.
31194 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31195 $(objpfx)version.h.
31196 ($(objpfx)zdump.o): Likewise.
31197 ($(objpfx)version.h): New target.
31199 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31201 * timezone/README: Don't mention modification to tzselect.ksh.
31202 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31203 work on unmodified tzselect.ksh. Substitute version numbers in
31206 * Makefile (format-me): Remove.
31207 (INSTALL): Adjust indentation. Use commands directly instead of
31208 using $(format-me).
31210 * aclocal.m4 (ACX_PKGVERSION): New macro.
31211 (ACX_BUGURL): Likewise.
31212 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31213 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31214 (REPORT_BUGS_TO): Likewise.
31215 * configure: Regenerated.
31216 * config.h.in (PKGVERSION): New macro.
31217 (REPORT_BUGS_TO): Likewise.
31218 * config.make.in (PKGVERSION): New variable.
31219 (PKGVERSION_TEXI): Likewise.
31220 (REPORT_BUGS_TO): Likewise.
31221 (REPORT_BUGS_TEXI): Likewise.
31222 * Makefile (format-me): Use -I$(common-objpfx)manual.
31223 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31224 ($(common-objpfx)manual/%): New target.
31225 (manual/%): Remove target.
31226 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31227 (print_version): Use PKGVERSION.
31228 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31229 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31230 and REPORT_BUGS_TO.
31231 ($(objpfx)xtrace): Likewise.
31232 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31233 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31234 (print_version): Use PKGVERSION.
31235 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31236 (do_version): Use PKGVERSION.
31237 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31239 (common-ldd-rewrite): Likewise.
31240 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31241 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31242 (print_version): Use PKGVERSION.
31243 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31244 * elf/pldd.c (argp_program_bug_address): Remove variable.
31245 (more_help): New function.
31246 (argp): Use more_help.
31247 (print_version): Use PKGVERSION.
31248 * elf/sln.c (main): Use PKGVERSION.
31249 (usage): Use REPORT_BUGS_TO.
31250 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31251 (top level): Use PKGVERSION.
31252 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31253 (print_version): Use PKGVERSION.
31254 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31255 (print_version): Use PKGVERSION.
31256 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31257 (print_version): Use PKGVERSION.
31258 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31259 (print_version): Use PKGVERSION.
31260 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31261 (print_version): Use PKGVERSION.
31262 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31263 (print_version): Use PKGVERSION.
31264 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31266 ($(objpfx)memusage): Likewise.
31267 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31268 (do_version): Use PKGVERSION.
31269 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31270 (print_version): Use PKGVERSION.
31271 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31272 ($PKGVERSION): New variable.
31273 ($REPORT_BUGS_TO): Likewise.
31274 (usage): Use $REPORT_BUGS_TO.
31275 (top level): Use $PKGVERSION.
31276 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31277 ($(objpfx)pkgvers.texi): New rule.
31278 ($(objpfx)stamp-pkgvers): Likewise.
31279 * manual/install.texi: Include pkgvers.texi.
31280 (--with-pkgversion): Document new configure option.
31281 (--with-bugurl): Likewise.
31282 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31283 than necessarily for this particular distribution. Use
31284 REPORT_BUGS_TO for where to report bugs.
31285 * INSTALL: Regenerated.
31286 * manual/libc.texinfo: Include pkgvers.texi.
31287 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31288 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31289 (print_version): Use PKGVERSION.
31290 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31291 (print_version): Use PKGVERSION.
31292 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31293 (print_version): Use PKGVERSION.
31294 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31295 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31297 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31298 (print_version): Use PKGVERSION.
31299 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31300 (print_version): Use PKGVERSION.
31301 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31304 * timezone/checktab.awk: Update from tzcode 2012i.
31305 * timezone/ialloc.c: Likewise.
31306 * timezone/private.h: Likewise.
31307 * timezone/scheck.c: Likewise.
31308 * timezone/tzfile.h: Likewise.
31309 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31310 (TZVERSION): Hardcode tzcode version number.
31311 * timezone/zdump.c: Update from tzcode 2012i.
31312 * timezone/zic.c: Likewise.
31313 * timezone/version.h: New file.
31314 * timezone/README: Describe version.h. Update upstream location.
31317 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31318 (mktemp): Enable declaration.
31319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31336 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31337 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31338 for copies of such integer values.
31339 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31340 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31342 2012-11-09 Andreas Jaeger <aj@suse.de>
31344 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31345 definitions and declarations that are provided by
31346 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31348 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31350 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31351 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31352 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31355 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31357 * elf/elf.h: Update comment before AArch64 relocations.
31359 2012-11-07 David S. Miller <davem@davemloft.net>
31361 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31362 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31363 (__start_context): Declare.
31364 (__makecontext_ret): Delete.
31365 (__makecontext): Hook up __start_context instead of
31367 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31368 (sysdep_routines): Add __start_context when in stdlib.
31370 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31372 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31373 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31374 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31376 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31377 (READELF): New variable. Use it instead of hardcoded "readelf".
31379 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31381 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31382 * sysdeps/x86/Makefile: Here.
31383 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31384 * sysdeps/x86/tst-xmmymm.sh: This.
31386 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31388 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31390 [UNIX98] (pthread_barrier_t): Do not expect.
31391 [UNIX98] (pthread_barrierattr_t): Likewise.
31392 [UNIX98] (pthread_spinlock_t): Likewise.
31393 [UNIX98] (pthread_barrier_destroy): Likewise.
31394 [UNIX98] (pthread_barrier_init): Likewise.
31395 [UNIX98] (pthread_barrier_wait): Likewise.
31396 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31397 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31398 [UNIX98] (pthread_barrierattr_init): Likewise.
31399 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31400 [UNIX98] (pthread_getcpuclockid): Likewise.
31401 [UNIX98] (pthread_mutex_timedlock): Likewise.
31402 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31403 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31404 [UNIX98] (pthread_sigmask): Likewise.
31405 [UNIX98] (pthread_spin_destroy): Likewise.
31406 [UNIX98] (pthread_spin_init): Likewise.
31407 [UNIX98] (pthread_spin_lock): Likewise.
31408 [UNIX98] (pthread_spin_trylock): Likewise.
31409 [UNIX98] (pthread_spin_unlock): Likewise.
31410 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31412 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31413 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31414 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31415 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31416 [XPG3 || XPG4] (pthread_key_t): Likewise.
31417 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31418 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31419 [XPG3 || XPG4] (pthread_once_t): Likewise.
31420 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31421 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31422 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31423 [XPG3 || XPG4] (pthread_t): Likewise.
31425 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31427 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31429 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31430 Change function return type to int.
31432 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31433 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31434 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31435 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31436 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31437 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31438 [!POSIX] (posix_madvise): Likewise.
31439 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31441 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31442 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31443 (mode_t): Likewise.
31444 (posix_mem_offset): Likewise.
31445 (posix_typed_mem_get_info): Likewise.
31446 (posix_typed_mem_open): Likewise.
31448 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31449 Change condition to [XOPEN2K8].
31451 * conform/conformtest.pl: Preprocess allow-header data with -x c
31452 instead of from stdin.
31453 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31454 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31455 [C99-based standards] (cerfc): Likewise.
31456 [C99-based standards] (cexp2): Likewise.
31457 [C99-based standards] (cexpm1): Likewise.
31458 [C99-based standards] (clog10): Likewise.
31459 [C99-based standards] (clog1p): Likewise.
31460 [C99-based standards] (clog2): Likewise.
31461 [C99-based standards] (clgamma): Likewise.
31462 [C99-based standards] (ctgamma): Likewise.
31463 [C99-based standards] (cerff): Likewise.
31464 [C99-based standards] (cerfcf): Likewise.
31465 [C99-based standards] (cexp2f): Likewise.
31466 [C99-based standards] (cexpm1f): Likewise.
31467 [C99-based standards] (clog10f): Likewise.
31468 [C99-based standards] (clog1pf): Likewise.
31469 [C99-based standards] (clog2f): Likewise.
31470 [C99-based standards] (clgammaf): Likewise.
31471 [C99-based standards] (ctgammaf): Likewise.
31472 [C99-based standards] (cerfl): Likewise.
31473 [C99-based standards] (cerfcl): Likewise.
31474 [C99-based standards] (cexp2l): Likewise.
31475 [C99-based standards] (cexpm1l): Likewise.
31476 [C99-based standards] (clog10l): Likewise.
31477 [C99-based standards] (clog1pl): Likewise.
31478 [C99-based standards] (clog2l): Likewise.
31479 [C99-based standards] (clgammal): Likewise.
31480 [C99-based standards] (ctgammal): Likewise.
31481 * conform/data/inttypes.h-data [C99-based standards]: Include
31482 stdint.h-data. Remove all expectations for stdint.h contents.
31483 [C99-based standards] (PRI*): Do not allow.
31484 [C99-based standards] (SCN*): Likewise.
31485 [C99-based standards] (*_t): Likewise.
31486 [C99-based-standards] (PRId8): Expect macro.
31487 [C99-based-standards] (PRIi8): Likewise.
31488 [C99-based-standards] (PRIo8): Likewise.
31489 [C99-based-standards] (PRIu8): Likewise.
31490 [C99-based-standards] (PRIx8): Likewise.
31491 [C99-based-standards] (PRIX8): Likewise.
31492 [C99-based-standards] (SCNd8): Likewise.
31493 [C99-based-standards] (SCNi8): Likewise.
31494 [C99-based-standards] (SCNo8): Likewise.
31495 [C99-based-standards] (SCNu8): Likewise.
31496 [C99-based-standards] (SCNx8): Likewise.
31497 [C99-based-standards] (PRIdLEAST8): Likewise.
31498 [C99-based-standards] (PRIiLEAST8): Likewise.
31499 [C99-based-standards] (PRIoLEAST8): Likewise.
31500 [C99-based-standards] (PRIuLEAST8): Likewise.
31501 [C99-based-standards] (PRIxLEAST8): Likewise.
31502 [C99-based-standards] (PRIXLEAST8): Likewise.
31503 [C99-based-standards] (SCNdLEAST8): Likewise.
31504 [C99-based-standards] (SCNiLEAST8): Likewise.
31505 [C99-based-standards] (SCNoLEAST8): Likewise.
31506 [C99-based-standards] (SCNuLEAST8): Likewise.
31507 [C99-based-standards] (SCNxLEAST8): Likewise.
31508 [C99-based-standards] (PRIdFAST8): Likewise.
31509 [C99-based-standards] (PRIiFAST8): Likewise.
31510 [C99-based-standards] (PRIoFAST8): Likewise.
31511 [C99-based-standards] (PRIuFAST8): Likewise.
31512 [C99-based-standards] (PRIxFAST8): Likewise.
31513 [C99-based-standards] (PRIXFAST8): Likewise.
31514 [C99-based-standards] (SCNdFAST8): Likewise.
31515 [C99-based-standards] (SCNiFAST8): Likewise.
31516 [C99-based-standards] (SCNoFAST8): Likewise.
31517 [C99-based-standards] (SCNuFAST8): Likewise.
31518 [C99-based-standards] (SCNxFAST8): Likewise.
31519 [C99-based-standards] (PRId16): Likewise.
31520 [C99-based-standards] (PRIi16): Likewise.
31521 [C99-based-standards] (PRIo16): Likewise.
31522 [C99-based-standards] (PRIu16): Likewise.
31523 [C99-based-standards] (PRIx16): Likewise.
31524 [C99-based-standards] (PRIX16): Likewise.
31525 [C99-based-standards] (SCNd16): Likewise.
31526 [C99-based-standards] (SCNi16): Likewise.
31527 [C99-based-standards] (SCNo16): Likewise.
31528 [C99-based-standards] (SCNu16): Likewise.
31529 [C99-based-standards] (SCNx16): Likewise.
31530 [C99-based-standards] (PRIdLEAST16): Likewise.
31531 [C99-based-standards] (PRIiLEAST16): Likewise.
31532 [C99-based-standards] (PRIoLEAST16): Likewise.
31533 [C99-based-standards] (PRIuLEAST16): Likewise.
31534 [C99-based-standards] (PRIxLEAST16): Likewise.
31535 [C99-based-standards] (PRIXLEAST16): Likewise.
31536 [C99-based-standards] (SCNdLEAST16): Likewise.
31537 [C99-based-standards] (SCNiLEAST16): Likewise.
31538 [C99-based-standards] (SCNoLEAST16): Likewise.
31539 [C99-based-standards] (SCNuLEAST16): Likewise.
31540 [C99-based-standards] (SCNxLEAST16): Likewise.
31541 [C99-based-standards] (PRIdFAST16): Likewise.
31542 [C99-based-standards] (PRIiFAST16): Likewise.
31543 [C99-based-standards] (PRIoFAST16): Likewise.
31544 [C99-based-standards] (PRIuFAST16): Likewise.
31545 [C99-based-standards] (PRIxFAST16): Likewise.
31546 [C99-based-standards] (PRIXFAST16): Likewise.
31547 [C99-based-standards] (SCNdFAST16): Likewise.
31548 [C99-based-standards] (SCNiFAST16): Likewise.
31549 [C99-based-standards] (SCNoFAST16): Likewise.
31550 [C99-based-standards] (SCNuFAST16): Likewise.
31551 [C99-based-standards] (SCNxFAST16): Likewise.
31552 [C99-based-standards] (PRId32): Likewise.
31553 [C99-based-standards] (PRIi32): Likewise.
31554 [C99-based-standards] (PRIo32): Likewise.
31555 [C99-based-standards] (PRIu32): Likewise.
31556 [C99-based-standards] (PRIx32): Likewise.
31557 [C99-based-standards] (PRIX32): Likewise.
31558 [C99-based-standards] (SCNd32): Likewise.
31559 [C99-based-standards] (SCNi32): Likewise.
31560 [C99-based-standards] (SCNo32): Likewise.
31561 [C99-based-standards] (SCNu32): Likewise.
31562 [C99-based-standards] (SCNx32): Likewise.
31563 [C99-based-standards] (PRIdLEAST32): Likewise.
31564 [C99-based-standards] (PRIiLEAST32): Likewise.
31565 [C99-based-standards] (PRIoLEAST32): Likewise.
31566 [C99-based-standards] (PRIuLEAST32): Likewise.
31567 [C99-based-standards] (PRIxLEAST32): Likewise.
31568 [C99-based-standards] (PRIXLEAST32): Likewise.
31569 [C99-based-standards] (SCNdLEAST32): Likewise.
31570 [C99-based-standards] (SCNiLEAST32): Likewise.
31571 [C99-based-standards] (SCNoLEAST32): Likewise.
31572 [C99-based-standards] (SCNuLEAST32): Likewise.
31573 [C99-based-standards] (SCNxLEAST32): Likewise.
31574 [C99-based-standards] (PRIdFAST32): Likewise.
31575 [C99-based-standards] (PRIiFAST32): Likewise.
31576 [C99-based-standards] (PRIoFAST32): Likewise.
31577 [C99-based-standards] (PRIuFAST32): Likewise.
31578 [C99-based-standards] (PRIxFAST32): Likewise.
31579 [C99-based-standards] (PRIXFAST32): Likewise.
31580 [C99-based-standards] (SCNdFAST32): Likewise.
31581 [C99-based-standards] (SCNiFAST32): Likewise.
31582 [C99-based-standards] (SCNoFAST32): Likewise.
31583 [C99-based-standards] (SCNuFAST32): Likewise.
31584 [C99-based-standards] (SCNxFAST32): Likewise.
31585 [C99-based-standards] (PRId64): Likewise.
31586 [C99-based-standards] (PRIi64): Likewise.
31587 [C99-based-standards] (PRIo64): Likewise.
31588 [C99-based-standards] (PRIu64): Likewise.
31589 [C99-based-standards] (PRIx64): Likewise.
31590 [C99-based-standards] (PRIX64): Likewise.
31591 [C99-based-standards] (SCNd64): Likewise.
31592 [C99-based-standards] (SCNi64): Likewise.
31593 [C99-based-standards] (SCNo64): Likewise.
31594 [C99-based-standards] (SCNu64): Likewise.
31595 [C99-based-standards] (SCNx64): Likewise.
31596 [C99-based-standards] (PRIdLEAST64): Likewise.
31597 [C99-based-standards] (PRIiLEAST64): Likewise.
31598 [C99-based-standards] (PRIoLEAST64): Likewise.
31599 [C99-based-standards] (PRIuLEAST64): Likewise.
31600 [C99-based-standards] (PRIxLEAST64): Likewise.
31601 [C99-based-standards] (PRIXLEAST64): Likewise.
31602 [C99-based-standards] (SCNdLEAST64): Likewise.
31603 [C99-based-standards] (SCNiLEAST64): Likewise.
31604 [C99-based-standards] (SCNoLEAST64): Likewise.
31605 [C99-based-standards] (SCNuLEAST64): Likewise.
31606 [C99-based-standards] (SCNxLEAST64): Likewise.
31607 [C99-based-standards] (PRIdFAST64): Likewise.
31608 [C99-based-standards] (PRIiFAST64): Likewise.
31609 [C99-based-standards] (PRIoFAST64): Likewise.
31610 [C99-based-standards] (PRIuFAST64): Likewise.
31611 [C99-based-standards] (PRIxFAST64): Likewise.
31612 [C99-based-standards] (PRIXFAST64): Likewise.
31613 [C99-based-standards] (SCNdFAST64): Likewise.
31614 [C99-based-standards] (SCNiFAST64): Likewise.
31615 [C99-based-standards] (SCNoFAST64): Likewise.
31616 [C99-based-standards] (SCNuFAST64): Likewise.
31617 [C99-based-standards] (SCNxFAST64): Likewise.
31618 [C99-based-standards] (PRIdMAX): Likewise.
31619 [C99-based-standards] (PRIiMAX): Likewise.
31620 [C99-based-standards] (PRIoMAX): Likewise.
31621 [C99-based-standards] (PRIuMAX): Likewise.
31622 [C99-based-standards] (PRIxMAX): Likewise.
31623 [C99-based-standards] (PRIXMAX): Likewise.
31624 [C99-based-standards] (SCNdMAX): Likewise.
31625 [C99-based-standards] (SCNiMAX): Likewise.
31626 [C99-based-standards] (SCNoMAX): Likewise.
31627 [C99-based-standards] (SCNuMAX): Likewise.
31628 [C99-based-standards] (SCNxMAX): Likewise.
31629 [C99-based-standards] (PRIdPTR): Likewise.
31630 [C99-based-standards] (PRIiPTR): Likewise.
31631 [C99-based-standards] (PRIoPTR): Likewise.
31632 [C99-based-standards] (PRIuPTR): Likewise.
31633 [C99-based-standards] (PRIxPTR): Likewise.
31634 [C99-based-standards] (PRIXPTR): Likewise.
31635 [C99-based-standards] (SCNdPTR): Likewise.
31636 [C99-based-standards] (SCNiPTR): Likewise.
31637 [C99-based-standards] (SCNoPTR): Likewise.
31638 [C99-based-standards] (SCNuPTR): Likewise.
31639 [C99-based-standards] (SCNxPTR): Likewise.
31640 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31642 * conform/data/stdint.h-data: Update comments to clarify
31644 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31646 [C99-based standards] (INT8_MAX): Likewise.
31647 [C99-based standards] (INT16_MIN): Likewise.
31648 [C99-based standards] (INT16_MAX): Likewise.
31649 [C99-based standards] (INT32_MIN): Likewise.
31650 [C99-based standards] (INT32_MAX): Likewise.
31651 [C99-based standards] (INT64_MIN): Likewise.
31652 [C99-based standards] (INT64_MAX): Likewise.
31653 [C99-based standards] (UINT8_MAX): Likewise.
31654 [C99-based standards] (UINT16_MAX): Likewise.
31655 [C99-based standards] (UINT32_MAX): Likewise.
31656 [C99-based standards] (UINT64_MAX): Likewise.
31657 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31658 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31659 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31660 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31661 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31662 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31663 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31664 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31665 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31666 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31667 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31668 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31669 [C99-based standards] (INT_FAST8_MIN): Likewise.
31670 [C99-based standards] (INT_FAST8_MAX): Likewise.
31671 [C99-based standards] (INT_FAST16_MIN): Likewise.
31672 [C99-based standards] (INT_FAST16_MAX): Likewise.
31673 [C99-based standards] (INT_FAST32_MIN): Likewise.
31674 [C99-based standards] (INT_FAST32_MAX): Likewise.
31675 [C99-based standards] (INT_FAST64_MIN): Likewise.
31676 [C99-based standards] (INT_FAST64_MAX): Likewise.
31677 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31678 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31679 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31680 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31681 [C99-based standards] (INTPTR_MIN): Likewise.
31682 [C99-based standards] (INTPTR_MAX): Likewise.
31683 [C99-based standards] (UINTPTR_MAX): Likewise.
31684 [C99-based standards] (INTMAX_MIN): Likewise.
31685 [C99-based standards] (INTMAX_MAX): Likewise.
31686 [C99-based standards] (UINTMAX_MAX): Likewise.
31687 [C99-based standards] (PTRDIFF_MIN): Likewise.
31688 [C99-based standards] (PTRDIFF_MAX): Likewise.
31689 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31690 [C99-based standards] (SIZE_MAX): Likewise.
31691 [C99-based standards] (WCHAR_MAX): Likewise.
31692 [C99-based standards] (WINT_MAX): Likewise.
31693 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31694 constraint on value.
31695 [C99-based standards] (WCHAR_MIN): Likewise.
31696 [C99-based standards] (WINT_MIN): Likewise.
31697 [C99-based standards] (*_t): Allow.
31698 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31699 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31700 Include math.h-data and complex.h-data. Remove all expectations
31701 of math.h and complex.h contents.
31702 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31704 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31705 (struct tm): Expect tag.
31706 [C99-based-standards] (wcstof): Expect function.
31707 [C99-based-standards] (wcstold): Likewise.
31708 [C99-based-standards] (wcstoll): Likewise.
31709 [C99-based-standards] (wcstoull): Likewise.
31710 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31711 macro-int-constant. Specify type.
31712 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31713 constraint on value.
31714 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31716 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31718 [ISO C standards]: Do not allow headers.
31719 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31720 wcs[abcdefghijklmnopqrstuvwxyz]*.
31721 [ISO C standards] (*_t): Do not allow.
31722 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31724 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31725 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31727 [ISO C standards]: Do not allow headers.
31728 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31729 is[abcdefghijklmnopqrstuvwxyz]*.
31730 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31731 to[abcdefghijklmnopqrstuvwxyz]*.
31732 [ISO C standards] (*_t): Do not allow.
31733 * conform/data/stdalign.h-data: New file.
31734 * conform/data/stdbool.h-data: Likewise.
31735 * conform/data/stdnoreturn.h-data: Likewise.
31737 2012-11-07 Roland McGrath <roland@hack.frob.com>
31740 * manual/filesys.texi (Directory Entries): Typo fix.
31741 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31743 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31745 * elf/elf.h (EM_AARCH64): New macro.
31746 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31747 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31748 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31749 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31750 (R_AARCH64_TLSDESC): Likewise.
31751 (NT_ARM_TLS): Likewise.
31752 (NT_ARM_HW_BREAK): Likewise.
31753 (NT_ARM_HW_WATCH): Likewise.
31755 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31758 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31759 (__ieee754_powl): Saturate nonzero exponents with absolute value
31760 below 0x1p-79 to +/- 0x1p-79.
31761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31762 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31763 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31764 nonzero exponents with absolute value below 0x1p-32 to +/-
31766 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31767 (__ieee754_powl): Saturate nonzero exponents with absolute value
31768 below 0x1p-79 to +/- 0x1p-79.
31769 * math/libm-test.inc (pow_test): Add more tests.
31771 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31773 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31774 _dl_s390_cap_flags with kernel. Increase string length.
31775 (_dl_s390_platforms): Add z196 and zEC12.
31777 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31779 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31780 Change XOPEN21K to XOPEN2K.
31782 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31784 * string/memmove.c: Use memcpy when possible.
31786 2012-11-06 Andreas Jaeger <aj@suse.de>
31788 * po/eo.po: Update from translation team.
31790 2012-11-06 Joseph Myers <joseph@codesourcery.com>
31793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31794 exponent and small x and y exponents, scale x or y up. Increase
31795 by 2 the exponent used in scaling up.
31796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31798 * math/libm-test.inc (fma_test): Add more tests.
31799 (fma_test_towardzero): Likewise.
31800 (fma_test_downward): Likewise.
31801 (fma_test_upward): Likewise.
31803 2012-11-05 Joseph Myers <joseph@codesourcery.com>
31806 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31810 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31811 namespace for names of struct fields.
31812 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31814 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31815 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31817 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31820 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31822 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31824 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31828 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31831 2012-11-04 Joseph Myers <joseph@codesourcery.com>
31834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31835 definitely overflow as x * y not x * y + z.
31836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31837 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31838 * math/libm-test.inc (fma_test): Add more tests.
31839 (fma_test_towardzero): Likewise.
31840 (fma_test_downward): Likewise.
31841 (fma_test_upward): Likewise.
31843 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31847 * include/stub-tag.h: Remove file.
31848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31850 * manual/maint.texi (Porting): Don't reference it.
31851 * Makerules ($(objpfx)stubs): Likewise.
31852 * dirent/closedir.c: Don't include <stub-tag.h>.
31853 * dirent/dirfd.c: Likewise.
31854 * dirent/fdopendir.c: Likewise.
31855 * dirent/getdents.c: Likewise.
31856 * dirent/getdents64.c: Likewise.
31857 * dirent/opendir.c: Likewise.
31858 * dirent/readdir.c: Likewise.
31859 * dirent/readdir64.c: Likewise.
31860 * dirent/readdir64_r.c: Likewise.
31861 * dirent/readdir_r.c: Likewise.
31862 * dirent/rewinddir.c: Likewise.
31863 * dirent/seekdir.c: Likewise.
31864 * dirent/telldir.c: Likewise.
31865 * gmon/profil.c: Likewise.
31866 * grp/setgroups.c: Likewise.
31867 * inet/if_index.c: Likewise.
31868 * io/access.c: Likewise.
31869 * io/chdir.c: Likewise.
31870 * io/chmod.c: Likewise.
31871 * io/chown.c: Likewise.
31872 * io/close.c: Likewise.
31873 * io/dup.c: Likewise.
31874 * io/dup2.c: Likewise.
31875 * io/dup3.c: Likewise.
31876 * io/euidaccess.c: Likewise.
31877 * io/faccessat.c: Likewise.
31878 * io/fchdir.c: Likewise.
31879 * io/fchmod.c: Likewise.
31880 * io/fchmodat.c: Likewise.
31881 * io/fchown.c: Likewise.
31882 * io/fchownat.c: Likewise.
31883 * io/fcntl.c: Likewise.
31884 * io/flock.c: Likewise.
31885 * io/fstatfs.c: Likewise.
31886 * io/fstatfs64.c: Likewise.
31887 * io/fstatvfs.c: Likewise.
31888 * io/fstatvfs64.c: Likewise.
31889 * io/futimens.c: Likewise.
31890 * io/fxstat.c: Likewise.
31891 * io/fxstat64.c: Likewise.
31892 * io/fxstatat.c: Likewise.
31893 * io/fxstatat64.c: Likewise.
31894 * io/getcwd.c: Likewise.
31895 * io/isatty.c: Likewise.
31896 * io/lchmod.c: Likewise.
31897 * io/lchown.c: Likewise.
31898 * io/link.c: Likewise.
31899 * io/linkat.c: Likewise.
31900 * io/lseek.c: Likewise.
31901 * io/lseek64.c: Likewise.
31902 * io/lxstat64.c: Likewise.
31903 * io/mkdir.c: Likewise.
31904 * io/mkdirat.c: Likewise.
31905 * io/mkfifo.c: Likewise.
31906 * io/mkfifoat.c: Likewise.
31907 * io/open.c: Likewise.
31908 * io/open64.c: Likewise.
31909 * io/openat.c: Likewise.
31910 * io/openat64.c: Likewise.
31911 * io/pipe.c: Likewise.
31912 * io/pipe2.c: Likewise.
31913 * io/poll.c: Likewise.
31914 * io/posix_fadvise.c: Likewise.
31915 * io/posix_fadvise64.c: Likewise.
31916 * io/posix_fallocate.c: Likewise.
31917 * io/posix_fallocate64.c: Likewise.
31918 * io/read.c: Likewise.
31919 * io/readlink.c: Likewise.
31920 * io/readlinkat.c: Likewise.
31921 * io/rmdir.c: Likewise.
31922 * io/sendfile.c: Likewise.
31923 * io/sendfile64.c: Likewise.
31924 * io/statfs.c: Likewise.
31925 * io/statfs64.c: Likewise.
31926 * io/statvfs.c: Likewise.
31927 * io/statvfs64.c: Likewise.
31928 * io/symlink.c: Likewise.
31929 * io/symlinkat.c: Likewise.
31930 * io/ttyname.c: Likewise.
31931 * io/ttyname_r.c: Likewise.
31932 * io/umask.c: Likewise.
31933 * io/unlink.c: Likewise.
31934 * io/unlinkat.c: Likewise.
31935 * io/utime.c: Likewise.
31936 * io/utimensat.c: Likewise.
31937 * io/write.c: Likewise.
31938 * io/xmknod.c: Likewise.
31939 * io/xmknodat.c: Likewise.
31940 * io/xstat.c: Likewise.
31941 * io/xstat64.c: Likewise.
31942 * login/getpt.c: Likewise.
31943 * login/grantpt.c: Likewise.
31944 * login/unlockpt.c: Likewise.
31945 * math/e_acoshl.c: Likewise.
31946 * math/e_acosl.c: Likewise.
31947 * math/e_asinl.c: Likewise.
31948 * math/e_atan2l.c: Likewise.
31949 * math/e_atanhl.c: Likewise.
31950 * math/e_coshl.c: Likewise.
31951 * math/e_expl.c: Likewise.
31952 * math/e_fmodl.c: Likewise.
31953 * math/e_gammal_r.c: Likewise.
31954 * math/e_hypotl.c: Likewise.
31955 * math/e_j0l.c: Likewise.
31956 * math/e_j1l.c: Likewise.
31957 * math/e_jnl.c: Likewise.
31958 * math/e_lgammal_r.c: Likewise.
31959 * math/e_log10l.c: Likewise.
31960 * math/e_log2l.c: Likewise.
31961 * math/e_logl.c: Likewise.
31962 * math/e_powl.c: Likewise.
31963 * math/e_rem_pio2l.c: Likewise.
31964 * math/e_sinhl.c: Likewise.
31965 * math/e_sqrtl.c: Likewise.
31966 * math/fclrexcpt.c: Likewise.
31967 * math/fedisblxcpt.c: Likewise.
31968 * math/feenablxcpt.c: Likewise.
31969 * math/fegetenv.c: Likewise.
31970 * math/fegetexcept.c: Likewise.
31971 * math/fegetround.c: Likewise.
31972 * math/feholdexcpt.c: Likewise.
31973 * math/fesetenv.c: Likewise.
31974 * math/fesetround.c: Likewise.
31975 * math/feupdateenv.c: Likewise.
31976 * math/fgetexcptflg.c: Likewise.
31977 * math/fraiseexcpt.c: Likewise.
31978 * math/fsetexcptflg.c: Likewise.
31979 * math/ftestexcept.c: Likewise.
31980 * math/k_cosl.c: Likewise.
31981 * math/k_rem_pio2l.c: Likewise.
31982 * math/k_sinl.c: Likewise.
31983 * math/k_tanl.c: Likewise.
31984 * math/s_asinhl.c: Likewise.
31985 * math/s_atanl.c: Likewise.
31986 * math/s_cbrtl.c: Likewise.
31987 * math/s_erfl.c: Likewise.
31988 * math/s_expm1l.c: Likewise.
31989 * math/s_log1pl.c: Likewise.
31990 * math/s_tanhl.c: Likewise.
31991 * misc/acct.c: Likewise.
31992 * misc/brk.c: Likewise.
31993 * misc/chflags.c: Likewise.
31994 * misc/chroot.c: Likewise.
31995 * misc/fchflags.c: Likewise.
31996 * misc/fgetxattr.c: Likewise.
31997 * misc/flistxattr.c: Likewise.
31998 * misc/fremovexattr.c: Likewise.
31999 * misc/fsetxattr.c: Likewise.
32000 * misc/fsync.c: Likewise.
32001 * misc/ftruncate.c: Likewise.
32002 * misc/futimes.c: Likewise.
32003 * misc/futimesat.c: Likewise.
32004 * misc/getdomain.c: Likewise.
32005 * misc/getdtsz.c: Likewise.
32006 * misc/gethostid.c: Likewise.
32007 * misc/gethostname.c: Likewise.
32008 * misc/getloadavg.c: Likewise.
32009 * misc/getpagesize.c: Likewise.
32010 * misc/getsysstats.c: Likewise.
32011 * misc/getxattr.c: Likewise.
32012 * misc/gtty.c: Likewise.
32013 * misc/ioctl.c: Likewise.
32014 * misc/lgetxattr.c: Likewise.
32015 * misc/listxattr.c: Likewise.
32016 * misc/llistxattr.c: Likewise.
32017 * misc/lremovexattr.c: Likewise.
32018 * misc/lsetxattr.c: Likewise.
32019 * misc/lutimes.c: Likewise.
32020 * misc/madvise.c: Likewise.
32021 * misc/mincore.c: Likewise.
32022 * misc/mlock.c: Likewise.
32023 * misc/mlockall.c: Likewise.
32024 * misc/mmap.c: Likewise.
32025 * misc/mprotect.c: Likewise.
32026 * misc/msync.c: Likewise.
32027 * misc/munlock.c: Likewise.
32028 * misc/munlockall.c: Likewise.
32029 * misc/munmap.c: Likewise.
32030 * misc/preadv.c: Likewise.
32031 * misc/preadv64.c: Likewise.
32032 * misc/ptrace.c: Likewise.
32033 * misc/pwritev.c: Likewise.
32034 * misc/pwritev64.c: Likewise.
32035 * misc/readv.c: Likewise.
32036 * misc/reboot.c: Likewise.
32037 * misc/remap_file_pages.c: Likewise.
32038 * misc/removexattr.c: Likewise.
32039 * misc/revoke.c: Likewise.
32040 * misc/select.c: Likewise.
32041 * misc/setdomain.c: Likewise.
32042 * misc/setegid.c: Likewise.
32043 * misc/seteuid.c: Likewise.
32044 * misc/sethostid.c: Likewise.
32045 * misc/sethostname.c: Likewise.
32046 * misc/setregid.c: Likewise.
32047 * misc/setreuid.c: Likewise.
32048 * misc/setxattr.c: Likewise.
32049 * misc/sstk.c: Likewise.
32050 * misc/stty.c: Likewise.
32051 * misc/swapoff.c: Likewise.
32052 * misc/swapon.c: Likewise.
32053 * misc/sync.c: Likewise.
32054 * misc/syncfs.c: Likewise.
32055 * misc/syscall.c: Likewise.
32056 * misc/truncate.c: Likewise.
32057 * misc/ualarm.c: Likewise.
32058 * misc/usleep.c: Likewise.
32059 * misc/ustat.c: Likewise.
32060 * misc/utimes.c: Likewise.
32061 * misc/vhangup.c: Likewise.
32062 * misc/writev.c: Likewise.
32063 * posix/_exit.c: Likewise.
32064 * posix/alarm.c: Likewise.
32065 * posix/execve.c: Likewise.
32066 * posix/fexecve.c: Likewise.
32067 * posix/fork.c: Likewise.
32068 * posix/fpathconf.c: Likewise.
32069 * posix/getaddrinfo.c: Likewise.
32070 * posix/getegid.c: Likewise.
32071 * posix/geteuid.c: Likewise.
32072 * posix/getgid.c: Likewise.
32073 * posix/getgroups.c: Likewise.
32074 * posix/getlogin.c: Likewise.
32075 * posix/getlogin_r.c: Likewise.
32076 * posix/getpgid.c: Likewise.
32077 * posix/getpid.c: Likewise.
32078 * posix/getppid.c: Likewise.
32079 * posix/getresgid.c: Likewise.
32080 * posix/getresuid.c: Likewise.
32081 * posix/getsid.c: Likewise.
32082 * posix/getuid.c: Likewise.
32083 * posix/glob64.c: Likewise.
32084 * posix/nanosleep.c: Likewise.
32085 * posix/pathconf.c: Likewise.
32086 * posix/pause.c: Likewise.
32087 * posix/posix_madvise.c: Likewise.
32088 * posix/pread.c: Likewise.
32089 * posix/pread64.c: Likewise.
32090 * posix/pwrite.c: Likewise.
32091 * posix/pwrite64.c: Likewise.
32092 * posix/sched_getaffinity.c: Likewise.
32093 * posix/sched_getp.c: Likewise.
32094 * posix/sched_gets.c: Likewise.
32095 * posix/sched_primax.c: Likewise.
32096 * posix/sched_primin.c: Likewise.
32097 * posix/sched_rr_gi.c: Likewise.
32098 * posix/sched_setaffinity.c: Likewise.
32099 * posix/sched_setp.c: Likewise.
32100 * posix/sched_sets.c: Likewise.
32101 * posix/sched_yield.c: Likewise.
32102 * posix/setgid.c: Likewise.
32103 * posix/setlogin.c: Likewise.
32104 * posix/setpgid.c: Likewise.
32105 * posix/setresgid.c: Likewise.
32106 * posix/setresuid.c: Likewise.
32107 * posix/setsid.c: Likewise.
32108 * posix/setuid.c: Likewise.
32109 * posix/sleep.c: Likewise.
32110 * posix/spawni.c: Likewise.
32111 * posix/sysconf.c: Likewise.
32112 * posix/times.c: Likewise.
32113 * posix/wait.c: Likewise.
32114 * posix/wait3.c: Likewise.
32115 * posix/wait4.c: Likewise.
32116 * posix/waitpid.c: Likewise.
32117 * resolv/gai_sigqueue.c: Likewise.
32118 * resource/getpriority.c: Likewise.
32119 * resource/getrlimit.c: Likewise.
32120 * resource/getrusage.c: Likewise.
32121 * resource/nice.c: Likewise.
32122 * resource/setpriority.c: Likewise.
32123 * resource/setrlimit.c: Likewise.
32124 * resource/ulimit.c: Likewise.
32125 * rt/aio_cancel.c: Likewise.
32126 * rt/aio_fsync.c: Likewise.
32127 * rt/aio_read.c: Likewise.
32128 * rt/aio_sigqueue.c: Likewise.
32129 * rt/aio_suspend.c: Likewise.
32130 * rt/aio_write.c: Likewise.
32131 * rt/clock_getres.c: Likewise.
32132 * rt/clock_gettime.c: Likewise.
32133 * rt/clock_nanosleep.c: Likewise.
32134 * rt/clock_settime.c: Likewise.
32135 * rt/lio_listio.c: Likewise.
32136 * rt/mq_close.c: Likewise.
32137 * rt/mq_getattr.c: Likewise.
32138 * rt/mq_notify.c: Likewise.
32139 * rt/mq_open.c: Likewise.
32140 * rt/mq_receive.c: Likewise.
32141 * rt/mq_send.c: Likewise.
32142 * rt/mq_setattr.c: Likewise.
32143 * rt/mq_timedreceive.c: Likewise.
32144 * rt/mq_timedsend.c: Likewise.
32145 * rt/mq_unlink.c: Likewise.
32146 * rt/shm_open.c: Likewise.
32147 * rt/shm_unlink.c: Likewise.
32148 * rt/timer_create.c: Likewise.
32149 * rt/timer_delete.c: Likewise.
32150 * rt/timer_getoverr.c: Likewise.
32151 * rt/timer_gettime.c: Likewise.
32152 * rt/timer_settime.c: Likewise.
32153 * setjmp/__longjmp.c: Likewise.
32154 * setjmp/setjmp.c: Likewise.
32155 * signal/kill.c: Likewise.
32156 * signal/killpg.c: Likewise.
32157 * signal/raise.c: Likewise.
32158 * signal/sigaction.c: Likewise.
32159 * signal/sigaltstack.c: Likewise.
32160 * signal/sigblock.c: Likewise.
32161 * signal/sigignore.c: Likewise.
32162 * signal/sigintr.c: Likewise.
32163 * signal/signal.c: Likewise.
32164 * signal/sigpause.c: Likewise.
32165 * signal/sigpending.c: Likewise.
32166 * signal/sigqueue.c: Likewise.
32167 * signal/sigreturn.c: Likewise.
32168 * signal/sigset.c: Likewise.
32169 * signal/sigsetmask.c: Likewise.
32170 * signal/sigstack.c: Likewise.
32171 * signal/sigsuspend.c: Likewise.
32172 * signal/sigtimedwait.c: Likewise.
32173 * signal/sigvec.c: Likewise.
32174 * signal/sigwait.c: Likewise.
32175 * signal/sigwaitinfo.c: Likewise.
32176 * signal/sysv_signal.c: Likewise.
32177 * socket/accept.c: Likewise.
32178 * socket/accept4.c: Likewise.
32179 * socket/bind.c: Likewise.
32180 * socket/connect.c: Likewise.
32181 * socket/getpeername.c: Likewise.
32182 * socket/getsockname.c: Likewise.
32183 * socket/getsockopt.c: Likewise.
32184 * socket/isfdtype.c: Likewise.
32185 * socket/listen.c: Likewise.
32186 * socket/recv.c: Likewise.
32187 * socket/recvfrom.c: Likewise.
32188 * socket/recvmsg.c: Likewise.
32189 * socket/send.c: Likewise.
32190 * socket/sendmsg.c: Likewise.
32191 * socket/sendto.c: Likewise.
32192 * socket/setsockopt.c: Likewise.
32193 * socket/shutdown.c: Likewise.
32194 * socket/sockatmark.c: Likewise.
32195 * socket/socket.c: Likewise.
32196 * socket/socketpair.c: Likewise.
32197 * stdio-common/ctermid.c: Likewise.
32198 * stdio-common/cuserid.c: Likewise.
32199 * stdio-common/remove.c: Likewise.
32200 * stdio-common/rename.c: Likewise.
32201 * stdio-common/renameat.c: Likewise.
32202 * stdio-common/tempname.c: Likewise.
32203 * stdlib/getcontext.c: Likewise.
32204 * stdlib/makecontext.c: Likewise.
32205 * stdlib/setcontext.c: Likewise.
32206 * stdlib/swapcontext.c: Likewise.
32207 * stdlib/system.c: Likewise.
32208 * streams/fattach.c: Likewise.
32209 * streams/fdetach.c: Likewise.
32210 * streams/getmsg.c: Likewise.
32211 * streams/getpmsg.c: Likewise.
32212 * streams/putmsg.c: Likewise.
32213 * streams/putpmsg.c: Likewise.
32214 * sysdeps/unix/bsd/getpt.c: Likewise.
32215 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32216 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32217 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32220 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32221 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32222 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32223 * sysvipc/msgctl.c: Likewise.
32224 * sysvipc/msgget.c: Likewise.
32225 * sysvipc/msgrcv.c: Likewise.
32226 * sysvipc/msgsnd.c: Likewise.
32227 * sysvipc/semctl.c: Likewise.
32228 * sysvipc/semget.c: Likewise.
32229 * sysvipc/semop.c: Likewise.
32230 * sysvipc/semtimedop.c: Likewise.
32231 * sysvipc/shmat.c: Likewise.
32232 * sysvipc/shmctl.c: Likewise.
32233 * sysvipc/shmdt.c: Likewise.
32234 * sysvipc/shmget.c: Likewise.
32235 * termios/tcdrain.c: Likewise.
32236 * termios/tcflow.c: Likewise.
32237 * termios/tcflush.c: Likewise.
32238 * termios/tcgetattr.c: Likewise.
32239 * termios/tcgetpgrp.c: Likewise.
32240 * termios/tcsendbrk.c: Likewise.
32241 * termios/tcsetattr.c: Likewise.
32242 * termios/tcsetpgrp.c: Likewise.
32243 * time/adjtime.c: Likewise.
32244 * time/clock.c: Likewise.
32245 * time/getitimer.c: Likewise.
32246 * time/gettimeofday.c: Likewise.
32247 * time/setitimer.c: Likewise.
32248 * time/settimeofday.c: Likewise.
32249 * time/stime.c: Likewise.
32250 * time/time.c: Likewise.
32252 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32254 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32257 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32259 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32261 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32265 FE_TONEAREST before applying Dekker multiplication and Knuth
32266 addition. Clear inexact exceptions and check for exact zero
32267 results afterwards.
32268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32269 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32271 * math/libm-test.inc (fma_test): Add more tests.
32272 (fma_test_towardzero): Likewise.
32273 (fma_test_downward): Likewise.
32274 (fma_test_upward): Likewise.
32275 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32277 (libc_fesetround): New macro.
32278 (libc_fesetroundf): Likewise.
32279 (libc_fesetroundl): Likewise.
32280 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32282 (libc_fesetround_387): Likewise.
32283 (libc_fesetroundf): New macro.
32284 (libc_fesetround): Likewise.
32285 (libc_fesetroundl): Likewise.
32286 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32288 (libc_fesetroundf): New macro.
32289 (libc_fesetround): Likewise.
32290 (libc_fesetroundl): Likewise.
32291 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32292 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32293 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32295 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32296 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32298 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32299 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32301 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32305 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32306 integer constant usable in #if and use that to give value to enum
32308 (FE_DIVBYZERO): Likewise.
32309 (FE_UNDERFLOW): Likewise.
32310 (FE_OVERFLOW): Likewise.
32311 (FE_INVALID): Likewise.
32312 (FE_INVALID_SNAN): Likewise.
32313 (FE_INVALID_ISI): Likewise.
32314 (FE_INVALID_IDI): Likewise.
32315 (FE_INVALID_ZDZ): Likewise.
32316 (FE_INVALID_IMZ): Likewise.
32317 (FE_INVALID_COMPARE): Likewise.
32318 (FE_INVALID_SOFTWARE): Likewise.
32319 (FE_INVALID_SQRT): Likewise.
32320 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32321 (FE_TONEAREST): Likewise.
32322 (FE_TOWARDZERO): Likewise.
32323 (FE_UPWARD): Likewise.
32324 (FE_DOWNWARD): Likewise.
32325 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32326 (FE_DIVBYZERO): Likewise.
32327 (FE_OVERFLOW): Likewise.
32328 (FE_UNDERFLOW): Likewise.
32329 (FE_INEXACT): Likewise.
32330 (FE_TONEAREST): Likewise.
32331 (FE_DOWNWARD): Likewise.
32332 (FE_UPWARD): Likewise.
32333 (FE_TOWARDZERO): Likewise.
32334 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32335 (FE_UNDERFLOW): Likewise.
32336 (FE_OVERFLOW): Likewise.
32337 (FE_DIVBYZERO): Likewise.
32338 (FE_INVALID): Likewise.
32339 (FE_TONEAREST): Likewise.
32340 (FE_TOWARDZERO): Likewise.
32341 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32342 (FE_OVERFLOW): Likewise.
32343 (FE_UNDERFLOW): Likewise.
32344 (FE_DIVBYZERO): Likewise.
32345 (FE_INEXACT): Likewise.
32346 (FE_TONEAREST): Likewise.
32347 (FE_TOWARDZERO): Likewise.
32348 (FE_UPWARD): Likewise.
32349 (FE_DOWNWARD): Likewise.
32350 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32351 (FE_DIVBYZERO): Likewise.
32352 (FE_OVERFLOW): Likewise.
32353 (FE_UNDERFLOW): Likewise.
32354 (FE_INEXACT): Likewise.
32355 (FE_TONEAREST): Likewise.
32356 (FE_DOWNWARD): Likewise.
32357 (FE_UPWARD): Likewise.
32358 (FE_TOWARDZERO): Likewise.
32360 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32362 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32364 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32366 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32367 commands. Quote $PWD.
32368 (blacklist_exports): Don't use remove_newlines. Replace "declare
32370 (remove_newlines): Remove.
32372 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32374 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32375 * stdlib/stdlib.h (atof): Moved to ...
32376 * include/bits/stdlib-float.h: Here. New file.
32377 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32378 * stdlib/bits/stdlib-float.h: New file.
32379 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32384 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32386 * conform/conformtest.pl (@headers): Add fenv.h.
32387 * conform/data/fenv.h-data: New file.
32388 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32389 include of <math/fenv.h>.
32391 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32392 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32393 && !UNIX98]. Enables tests for XOPEN2K8.
32394 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32395 POSIX2008]: Likewise.
32397 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32398 (struct rusage): Do not expect type or its members.
32401 * math/math.h (FP_NAN): Define macro to integer constant usable in
32402 #if and use that to give value to enum constant.
32403 (FP_INFINITE): Likewise.
32404 (FP_ZERO): Likewise.
32405 (FP_SUBNORMAL): Likewise.
32406 (FP_NORMAL): Likewise.
32408 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32410 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32411 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32414 2012-11-02 Roland McGrath <roland@hack.frob.com>
32416 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32417 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32418 autoconf-time if not.
32419 * configure.in: Remove AC_PREREQ.
32421 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32423 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32424 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32425 of the internal implementation.
32427 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32429 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32430 except include of <misc/sys/syslog.h>.
32432 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32435 function returns with a NULL context exit with zero.
32437 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32439 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32441 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32443 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32444 (run_program_cmd): This.
32445 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32446 (tst_langinfo): New variable. Use it.
32448 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32450 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32451 floating point opcodes.
32453 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32455 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32458 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32460 * sysdeps/mach/hurd/powerpc: Remove directory.
32461 * sysdeps/mach/powerpc: Likewise.
32463 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32465 * scripts/check-local-headers.sh: Ignore c++ headers.
32467 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32469 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32470 __libc_cleanup_region_start argument.
32472 2012-11-01 Joseph Myers <joseph@codesourcery.com>
32476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32477 x * y using scaling, not as x * y + z.
32478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32480 * math/libm-test.inc (fma_test): Add more tests.
32481 (fma_test_towardzero): Likewise.
32482 (fma_test_downward): Likewise.
32483 (fma_test_upward): Likewise.
32485 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32487 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32489 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32491 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32494 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32496 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32498 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32505 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32508 Fix the order of the list for glibc 2.17.
32509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32512 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32516 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32519 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32520 for low part of x being zero before using __atanl (y).
32521 * math/libm-test.inc (atan2_test): Add another test.
32523 * manual/install.texi (Configuring and compiling): Document
32524 general use of test-wrapper and test-wrapper-env.
32525 * INSTALL: Regenerated.
32527 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32528 (__fma): Do not extract and scale down low bits on after-rounding
32529 systems when result rounded to normal precision would have normal
32531 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32532 (__fmal): Do not extract and scale down low bits on after-rounding
32533 systems when result rounded to normal precision would have normal
32535 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32536 (__fmal): Do not extract and scale down low bits on after-rounding
32537 systems when result rounded to normal precision would have normal
32539 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32541 (fma_test): Add more tests.
32542 (fma_test_towardzero): Likewise.
32543 (fma_test_downward): Likewise.
32544 (fma_test_upward): Likewise.
32546 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32548 * sysdeps/i386/tininess.h: Renamed to ...
32549 * sysdeps/x86/tininess.h: This.
32550 * sysdeps/x86_64/tininess.h: Removed.
32552 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32554 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32555 input. Use $(build-program-cmd).
32556 ($(objpfx)tst-array1-static.out): Likewise.
32557 ($(objpfx)tst-array2.out): Likewise.
32558 ($(objpfx)tst-array3.out): Likewise.
32559 ($(objpfx)tst-array4.out): Likewise.
32560 ($(objpfx)tst-array5.out): Likewise.
32561 ($(objpfx)tst-array5-static.out): Likewise.
32563 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32565 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32568 * nss/nsswitch.h (nss_interface_function): Provide new
32569 macro for use with NSS functions.
32570 * grp/initgroups.c: Use new macro.
32571 * nss/getXXbyYY.c: Likewise.
32572 * nss/getXXbyYY_r.c: Likewise.
32573 * nss/getXXent.c: Likewise.
32574 * nss/getXXent_r.c: Likewise.
32575 * sysdeps/posix/getaddrinfo.c: Likewise.
32577 2012-10-30 Andreas Jaeger <aj@suse.de>
32579 * po/ru.po: Update Russion translation from translation project.
32581 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32586 result and shift together with sticky bit instead of replicating
32587 round-to-nearest rounding.
32588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32590 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32591 missing underflow exceptions.
32592 (fma_test_towardzero): Add more tests.
32593 (fma_test_downward): Likewise.
32594 (fma_test_upward): Likewise.
32597 * sysdeps/generic/tininess.h: New file.
32598 * sysdeps/i386/tininess.h: Likewise.
32599 * sysdeps/sh/tininess.h: Likewise.
32600 * sysdeps/x86_64/tininess.h: Likewise.
32601 * stdlib/tst-strtod-underflow.c: Likewise.
32602 * stdlib/tst-tininess.c: Likewise.
32603 * stdlib/strtod_l.c: Include <tininess.h>.
32604 (round_and_return): Do not set errno for exact underflow cases.
32605 Force an underflow exception when setting errno for underflow.
32606 Determine underflow based on rounding to normal precision if
32607 TININESS_AFTER_ROUNDING.
32608 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32609 ERANGE for exact underflow cases.
32610 * stdlib/Makefile (tests): Add tst-tininess and
32611 tst-strtod-underflow.
32612 ($(objpfx)tst-tininess): Use $(link-libm).
32613 ($(objpfx)tst-strtod-underflow): Likewise.
32615 2012-10-30 Andreas Jaeger <aj@suse.de>
32618 * elf/Makefile (tests): Remove conditional for have-initfini-array
32619 since this is now always required and the variable does not exist
32621 (tests-static): Likewise.
32622 (modules-names): Likewise.
32624 * po/eo.po: Add Esperanto translation from translation project.
32626 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32627 merged with constructor/destructor.
32628 (init_array): Likewise.
32629 * elf/tst-array2dep.c (fini_array): Likewise.
32630 (init_array): Likewise.
32632 2012-10-29 Mike Frysinger <vapier@gentoo.org>
32634 * manual/message.texi: Delete @cartouche tags.
32636 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32638 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32640 * sysdeps/mach/hurd/fsync.c: Likewise.
32642 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32643 [_POSIX_REALTIME_SIGNALS]: Change condition to
32644 [_POSIX_REALTIME_SIGNALS > 0].
32646 2012-10-27 Andreas Jaeger <aj@suse.de>
32648 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32649 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32651 [__WORDSIZE != 64]: Likewise.
32653 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32655 * iconvdata/tst-table.sh: Remove ${SHELL}.
32656 * iconvdata/tst-tables.sh: Likewise.
32658 2012-10-25 David S. Miller <davem@davemloft.net>
32660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32661 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32667 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32668 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32671 2012-10-25 Roland McGrath <roland@hack.frob.com>
32673 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32674 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32677 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32678 Jim Blandy <jimb@codesourcery.com>
32680 * scripts/cross-test-ssh.sh: New file.
32681 * manual/install.texi (Configuring and compiling): Document use of
32683 * INSTALL: Regenerated.
32685 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32687 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32690 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32692 * Makeconfig (run-program-prefix): Fix comment.
32694 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32695 Jim Blandy <jimb@codesourcery.com>
32697 * Makeconfig (test-wrapper): New variable,
32698 (test-wrapper-env): Likewise.
32699 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32700 (run-built-tests): Define to yes.
32701 (run-program-prefix): Use $(test-wrapper).
32702 (built-program-cmd): Likewise.
32703 * Rules (make-test-out): Use $(test-wrapper-env) and
32704 $(host-built-program-cmd).
32705 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32706 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32708 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32709 $(test-wrapper-env) to tst-rtld-load-self.sh.
32710 ($(objpfx)order2.out): Use $(test-wrapper).
32711 ($(objpfx)tst-initorder.out): Likewise.
32712 ($(objpfx)tst-initorder2.out): Likewise.
32713 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32714 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32715 (test_wrapper_env): New variable. Use it to run ld.so.
32716 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32717 Use it to run ld.so.
32718 (test_wrapper_env): Likewise.
32719 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32720 $(test-wrapper) to run-iconv-test.sh.
32721 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32722 (ICONV): Use $test_wrapper.
32723 * posix/Makefile ($(objpfx)globtest.out): Pass
32724 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32725 globtest.sh, not $(run-program-prefix).
32726 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32727 (test_wrapper): Likewise.
32728 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32729 set together with run_via_rtld_prefix.
32730 (run_program_prefix): Define in terms of test_wrapper and
32731 run_via_rtld_prefix.
32733 2012-10-24 Roland McGrath <roland@hack.frob.com>
32735 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32736 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32740 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32741 Declare __clock_getres, __clock_gettime, __clock_settime,
32742 __clock_nanosleep, and __clock_getcpuclockid.
32743 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32744 Remove librt_hidden_def (clock_gettime).
32745 * sysdeps/unix/clock_gettime.c: Likewise.
32746 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32747 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32748 * rt/clock_getres.c: Define __clock_getres as an alias.
32749 * sysdeps/posix/clock_getres.c: Likewise.
32750 * rt/clock_settime.c: Define __clock_settime as an alias.
32751 * sysdeps/unix/clock_settime.c: Likewise.
32752 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32753 * sysdeps/unix/clock_nanosleep.c: Likewise.
32754 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32755 * rt/clock-compat.c: New file.
32756 * rt/Makefile (librt-routines): Add clock-compat and move
32757 $(clock-routines) to ...
32758 (routines): ... here, new variable.
32759 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32760 Don't add get_clockfreq here.
32761 * rt/Versions (libc: GLIBC_2.17): New version set.
32762 Add clock_* symbols here.
32763 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32765 (GLIBC_2.17): Add clock_* symbols.
32766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32768 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32777 * NEWS: Mention the move.
32779 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32780 Use __open, __read, __close rather than their public counterparts.
32781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32782 (__get_clockfreq_via_cpuinfo): Likewise.
32783 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32784 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32786 * config.h.in (HAVE_IFUNC): New #undef.
32787 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32789 * configure: Regenerated.
32791 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32793 * configure.in: Move READELF check to start of file.
32794 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32795 libc_cv_asm_gnu_indirect_function in the process.
32796 * configure: Regenerated.
32798 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32800 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32801 send the output to /dev/null.
32802 (libc_cv_cc_with_libunwind): Likewise.
32803 (libc_cv_as_noexecstack): Likewise.
32804 * configure: Regenerate.
32806 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32808 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32810 * posix/globtest.sh (TMPDIR): Do not set.
32811 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32812 (testout): Likewise.
32814 2012-10-24 Andreas Jaeger <aj@suse.de>
32816 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32817 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32818 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32819 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32820 posix_fadvise64, posix_fallocate64.
32822 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32823 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32824 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32826 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32828 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32831 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32832 <bits/fcntl-linux.h>.
32833 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32836 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32837 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32838 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32839 [__WORDSIZE != 64]: Likewise.
32841 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32843 * Makeconfig (run-built-tests): New variable.
32844 * Rules [$(cross-compiling) = yes]: Change condition to
32845 [$(run-built-tests) = no].
32846 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32847 to [$(run-built-tests) = yes].
32848 * elf/Makefile [$(cross-compiling) = no]: Likewise
32849 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32850 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32851 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32852 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32853 * io/Makefile [$(cross-compiling) = no]: Likewise.
32854 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32855 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32856 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32857 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32858 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32859 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32860 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32861 * string/Makefile [$(cross-compiling) = no]: Likewise.
32863 * posix/Makefile ($(objpfx)globtest.out): Pass
32864 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32865 $(rtld-installed-name).
32866 * posix/globtest.sh (elf_objpfx): Remove variable.
32867 (rtld_installed_name): Likewise.
32868 (library_path): Likewise.
32869 (run_program_prefix): New variable. Use for running globtest
32872 2012-10-23 Jim Blandy <jimb@codesourcery.com>
32873 Joseph Myers <joseph@codesourcery.com>
32875 * Makeconfig (host-built-program-cmd): New variable.
32876 * elf/Makefile (tst-stackguard1-ARGS): Use
32877 $(host-built-program-cmd).
32878 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32879 (tst-spawn-ARGS): Likewise.
32880 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32882 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32883 Jim Blandy <jimb@codesourcery.com>
32885 * Makeconfig (run-via-rtld-prefix): New variable.
32886 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32887 (built-program-cmd): Likewise.
32889 2012-10-22 Andreas Jaeger <aj@suse.de>
32891 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32892 __O_RSYNC if it exists, otherwise to O_SYNC.
32894 2012-10-22 Jim Blandy <jimb@codesourcery.com>
32895 Joseph Myers <joseph@codesourcery.com>
32897 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32899 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32901 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32904 2012-10-22 Andreas Jaeger <aj@suse.de>
32906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32911 bits/fcntl-linux.h.
32913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32914 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32921 2012-10-21 Jim Blandy <jimb@codesourcery.com>
32922 Joseph Myers <joseph@codesourcery.com>
32924 * config.make.in (NM): New variable.
32926 2012-10-21 Andreas Jaeger <aj@suse.de>
32928 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32929 definitions and declarations that are provided by
32930 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32932 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32935 * elf/Makefile (tests-static): Add tst-leaks1-static.
32936 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32937 ($(objpfx)tst-leaks1-static): New rule.
32938 ($(objpfx)tst-leaks1-static-mem): Likewise.
32939 (tst-leaks1-static-ENV): New macro.
32940 * elf/dl-open.c (dl_open_worker): Check the main application
32941 only if SHARED is defined.
32942 * elf/tst-leaks1-static.c: New file.
32944 2012-10-20 Andreas Jaeger <aj@suse.de>
32946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32947 generic values for Linux.
32948 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32949 and declarations that are provided by <bits/fcntl-linux.h> and
32950 include <bits/fcntl-linux.h>.
32951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32954 2012-10-20 Roland McGrath <roland@hack.frob.com>
32956 * io/fcntl.h: Move include of <bits/types.h> to the top and
32957 include it unconditionally.
32959 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32961 * wcsmbs/Makefile (tests-ifunc): New variable.
32962 (tests): Add $(tests-ifunc).
32963 * wcsmbs/test-wcschr-ifunc.c: New file.
32964 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32965 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32966 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32967 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32968 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32970 * string/Makefile (tests-ifunc): New variable.
32971 (tests): Add $(tests-ifunc).
32972 * string/test-memccpy.c (TEST_NAME): New macro.
32973 * string/test-memchr.c (TEST_NAME): Likewise.
32974 * string/test-memcmp.c (TEST_NAME): Likewise.
32975 * string/test-memcpy.c (TEST_NAME): Likewise.
32976 * string/test-memmem.c (TEST_NAME): Likewise.
32977 * string/test-memmove.c (TEST_NAME): Likewise.
32978 * string/test-memset.c (TEST_NAME): Likewise.
32979 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32980 * string/test-stpcpy.c (TEST_NAME): Likewise.
32981 * string/test-stpncpy.c (TEST_NAME): Likewise.
32982 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32983 * string/test-strcasestr.c (TEST_NAME): Likewise.
32984 * string/test-strcat.c (TEST_NAME): Likewise.
32985 * string/test-strchr.c (TEST_NAME): Likewise.
32986 * string/test-strcmp.c(TEST_NAME): Likewise.
32987 * string/test-strcpy.c (TEST_NAME): Likewise.
32988 * string/test-strcspn.c (TEST_NAME): Likewise.
32989 * string/test-strlen.c (TEST_NAME): Likewise.
32990 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32991 * string/test-strncmp.c (TEST_NAME): Likewise.
32992 * string/test-strncpy.c (TEST_NAME): Likewise.
32993 * string/test-strnlen.c (TEST_NAME): Likewise.
32994 * string/test-strpbrk.c (TEST_NAME): Likewise.
32995 * string/test-strrchr.c (TEST_NAME): Likewise.
32996 * string/test-strspn.c (TEST_NAME): Likewise.
32997 * string/test-strstr.c (TEST_NAME): Likewise.
32998 * string/test-bcopy-ifunc.c: New file.
32999 * string/test-bzero-ifunc.c: Likewise.
33000 * string/test-memccpy-ifunc.c: Likewise.
33001 * string/test-memchr-ifunc.c: Likewise.
33002 * string/test-memcmp-ifunc.c: Likewise.
33003 * string/test-memcpy-ifunc.c: Likewise.
33004 * string/test-memmem-ifunc.c: Likewise.
33005 * string/test-memmove-ifunc.c: Likewise.
33006 * string/test-mempcpy-ifunc.c: Likewise.
33007 * string/test-memset-ifunc.c: Likewise.
33008 * string/test-rawmemchr-ifunc.c: Likewise.
33009 * string/test-stpcpy-ifunc.c: Likewise.
33010 * string/test-stpncpy-ifunc.c: Likewise.
33011 * string/test-strcasecmp-ifunc.c: Likewise.
33012 * string/test-strcasestr-ifunc.c: Likewise.
33013 * string/test-strcat-ifunc.c: Likewise.
33014 * string/test-strchr-ifunc.c: Likewise.
33015 * string/test-strchrnul-ifunc.c: Likewise.
33016 * string/test-strcmp-ifunc.c: Likewise.
33017 * string/test-strcpy-ifunc.c: Likewise.
33018 * string/test-strcspn-ifunc.c: Likewise.
33019 * string/test-strlen-ifunc.c: Likewise.
33020 * string/test-strncasecmp-ifunc.c: Likewise.
33021 * string/test-strncat-ifunc.c: Likewise.
33022 * string/test-strncmp-ifunc.c: Likewise.
33023 * string/test-strncpy-ifunc.c: Likewise.
33024 * string/test-strnlen-ifunc.c: Likewise.
33025 * string/test-strpbrk-ifunc.c: Likewise.
33026 * string/test-strrchr-ifunc.c: Likewise.
33027 * string/test-strspn-ifunc.c: Likewise.
33028 * string/test-strstr-ifunc.c: Likewise.
33030 * debug/Makefile (tests-ifunc): New variable.
33031 (tests): Add $(tests-ifunc).
33032 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33033 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33034 * debug/test-stpcpy_chk-ifunc.c: New file.
33035 * debug/test-strcpy_chk-ifunc.c: Likewise.
33037 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33040 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33041 header is not read in.
33043 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33045 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33046 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33047 directly. Pass built executable to script as
33048 $(built-program-cmd).
33049 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33050 $testprogram without using LD_LIBRARY_PATH and $ldso.
33052 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33053 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33054 $(rtld-installed-name).
33055 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33056 (rtld_installed_name): Likewise.
33057 (library_path): Likewise.
33058 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33059 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33060 $(run-program-prefix) to tst-tables.sh.
33061 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33062 it to run tst-table-from and tst-table-to.
33063 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33064 Pass it to tst-table.sh.
33065 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33066 $(run-program-prefix) to tst-gettext.sh.
33067 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33069 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33071 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33072 to run tst-gettext.
33073 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33074 to run tst-gettext2.
33075 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33076 to run tst-translit.
33077 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33078 $(run-program-prefix) to tst-mtrace.sh.
33079 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33081 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33082 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33083 $(rtld-installed-name).
33084 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33085 (rtld_installed_name): Likewise.
33086 (run_program_prefix): New variable. Use it to run wordexp-test.
33088 * Makeconfig (ARCH): Remove all definitions.
33089 (machine): Likewise.
33090 [ARCH]: Remove conditional code.
33091 [!objdir]: Give error.
33092 [!objdir] (objpfx): Remove.
33093 [!objdir] (common-objpfx): Likewise.
33094 [!objdir] (common-objdir): Likewise.
33095 * configure.in (config_makefile): Remove. Hardcode Makefile in
33096 AC_CONFIG_FILES call.
33097 * configure: Regenerated.
33100 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33102 (testout): Likewise.
33104 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33105 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33106 $(rtld-installed-name).
33107 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33108 (rtld_installed_name): Likwise.
33109 (runit): Remove function.
33110 (run_getconf): New variable, Use it for running getconf binary.
33112 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33115 * string/test-memmem.c (check_result): New function.
33116 (do_one_test): Use it.
33117 (check1): New function.
33118 (test_main): Use it.
33120 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33122 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33124 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33126 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33127 (_G_LSEEK64): Likewise.
33128 (_G_MMAP64): Likewise.
33129 (_G_FSTAT64): Likewise.
33130 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33131 (_G_LSEEK64): Likewise.
33132 (_G_MMAP64): Likewise.
33133 (_G_FSTAT64): Likewise.
33134 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33135 unconditional. Call __mmap64 directly.
33136 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33137 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33138 __lseek64 directly.
33139 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33140 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33142 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33143 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33144 __lseek64 directly.
33145 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33146 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33147 __lseek64 directly.
33148 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33149 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33150 __lseek64 directly.
33151 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33152 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33153 __fxstat64 directly.
33154 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33155 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33157 (freopen64) [!_G_OPEN64]: Remove conditional code.
33158 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33160 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33161 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33163 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33164 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33166 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33167 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33169 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33170 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33172 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33173 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33175 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33176 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33178 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33180 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33183 * manual/memory.texi (Malloc Tunable Parameters): Add note
33184 about free list pointers overwriting some perturb bytes.
33185 Wording suggested by Roland McGrath.
33187 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33189 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33190 (lgamma_test): Likewise.
33191 (tgamma_test): Likewise.
33193 2012-10-16 Florian Weimer <fweimer@redhat.com>
33196 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33197 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33199 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33201 * NEWS: Mention BZ #14716.
33202 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33203 when removing AVAILABLE1_USES_J macro.
33205 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33207 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33208 (__bswap_64): __uint64_t for unsigned 64-bit int.
33210 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33212 * include/string.h (memmem): Declare libc hidden alias.
33213 * string/memmem.c (memmem): Define libc hidden alias.
33214 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33215 __read, __close instead of open, read, close.
33217 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33220 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33222 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33223 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33224 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33226 (__rawmemchr_sse2): Likewise.
33227 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33228 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33229 (__strchr_sse2): Likewise.
33230 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33231 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33232 (__strcasecmp_sse2): Likewise.
33233 (__strncasecmp_sse2): Likewise.
33234 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33235 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33236 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33237 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33238 (__strrchr_sse2): Likewise.
33239 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33241 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33242 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33243 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33244 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33245 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33246 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33247 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33248 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33249 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33250 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33251 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33252 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33253 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33254 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33255 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33256 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33257 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33258 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33259 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33260 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33261 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33262 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33263 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33264 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33265 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33266 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33267 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33268 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33269 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33270 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33272 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33274 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33275 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33276 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33277 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33279 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33281 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33282 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33283 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33284 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33286 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33287 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33288 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33289 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33290 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33291 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33292 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33293 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33294 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33295 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33296 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33297 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33298 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33299 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33300 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33301 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33302 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33303 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33304 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33305 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33306 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33307 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33308 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33309 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33310 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33311 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33312 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33313 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33314 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33315 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33316 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33317 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33318 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33319 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33326 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33328 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33329 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33330 * include/ifunc-impl-list.h: New file.
33331 * misc/ifunc-impl-list.c: Likewise.
33332 * misc/Makefile (routines): Add ifunc-impl-list.
33333 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33334 * string/test-string.h: Include <ifunc-impl-list.h>.
33335 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33336 TEST_NAME]: New variables.
33337 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33339 (test_init): Call __libc_ifunc_impl_list to initialize
33340 func_list if TEST_IFUNC and TEST_NAME are defined.
33342 * string/Makefile (strop-tests): Add bcopy and bzero.
33343 * string/test-bcopy.c: New file.
33344 * string/test-bzero.c: Likewise.
33345 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33347 * string/test-memset.c: Support bzero test if TEST_BZERO is
33349 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33351 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33353 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33356 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33358 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33359 * configure: Regenerated.
33361 * Makeconfig (+link-static-before-libc): Don't include
33362 $(link-static-libc).
33364 * libio/libio.h (_IO_pos_t): Remove.
33366 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33368 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33371 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33373 * crypt/crypt-entry.c: Include fips-private.h.
33374 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33375 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33376 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33377 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33379 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33381 * crypt/crypt-private.h: Include stdbool.h.
33382 (_ufc_setup_salt_r): Return bool.
33383 * crypt/crypt-entry.c: Include errno.h.
33384 (__crypt_r): Return NULL with EINVAL for bad salt.
33385 * crypt/crypt_util.c (bad_for_salt): New.
33386 (_ufc_setup_salt_r): Check that salt is long enough and within
33387 the specified alphabet.
33388 * crypt/badsalttest.c: New file.
33389 * crypt/Makefile (tests): Add it.
33390 ($(objpfx)badsalttest): New.
33392 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33394 * NEWS: Add entry for BZ #14602.
33396 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33398 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33400 * math/libm-test.inc: Update comment listing what functions and
33402 (isgreater_test): New function.
33403 (isgreaterequal_test): Likewise.
33404 (isless_test): Likewise.
33405 (islessequal_test): Likewise.
33406 (islessgreater_test): Likewise.
33407 (isunordered_test): Likewise.
33408 (main): Call the new functions.
33410 2012-10-09 Roland McGrath <roland@hack.frob.com>
33412 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33413 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33414 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33415 * sysdeps/i386/configure: Regenerated.
33416 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33417 * sysdeps/mach/configure: Regenerated.
33418 * sysdeps/mach/hurd/configure: Regenerated.
33419 * sysdeps/powerpc/configure: Regenerated.
33420 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33421 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33422 * sysdeps/s390/s390-32/configure: Regenerated.
33423 * sysdeps/s390/s390-64/configure: Regenerated.
33424 * sysdeps/sh/configure: Regenerated.
33425 * sysdeps/sparc/configure: Regenerated.
33426 * sysdeps/unix/sysv/linux/configure: Regenerated.
33427 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33428 * sysdeps/x86_64/configure: Regenerated.
33430 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33431 defined. Don't check if MAP is NULL.
33433 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33435 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33436 (_G_stat64): Likewise.
33437 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33438 (_G_stat64): Likewise.
33439 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33440 instead of struct _G_stat64.
33441 * libio/fileops.c (mmap_remap_check): Likewise.
33442 (decide_maybe_mmap): Likewise.
33443 (_IO_new_file_seekoff): Likewise.
33444 (_IO_file_stat): Likewise.
33445 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33447 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33448 instead of struct _G_stat64.
33449 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33451 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33454 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33456 (CHECK_EOL): New macro.
33457 (two_way_short_needle): Check beginning of haystack for EOL. Use
33459 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33460 Replace with CHECK_EOL.
33461 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33462 Replace with CHECK_EOL.
33464 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33466 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33468 * math/libm-test.inc: Update comment listing what functions and
33470 (finite_test): New function.
33471 (isinf_test): Likewise.
33472 (isnan_test): Likewise.
33473 (fpclassify_test): Test subnormal input.
33474 (isfinite_test): Likewise.
33475 (isnormal_test): Likewise.
33476 (main): Call the new functions.
33478 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33481 * Makerules (%.dynsym): Force C locale when running
33482 $(OBJDUMP) --dynamic-syms.
33484 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33486 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33489 2012-10-06 David S. Miller <davem@davemloft.net>
33491 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33492 upper 32-bits of the length value in %o2 since we use branch-on-register
33493 tests which consider the entire 64-bit register.
33495 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33497 * string/test-strstr.c (check2): Add a test for page boundary.
33499 2012-10-05 David S. Miller <davem@davemloft.net>
33501 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33502 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33504 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33506 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33507 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33508 and bzero when HWCAP_SPARC_CRYPTO is present.
33510 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33513 * string/test-strstr.c (check2): New function.
33514 (test_main): Call check2.
33516 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33518 * string/bug-strcasestr1.c (do_test): Moved to ...
33519 * string/test-strcasestr.c (check1): Here. New function.
33520 (do_one_test): Break out result checking code into ...
33521 (check_result): This. New function.
33522 (do_one_test): Call check_result.
33523 (test_main): Call check1.
33524 * string/bug-strchr1.c (do_test): Moved to ...
33525 * string/test-strchr.c (check1): Here. New function.
33526 (do_one_test): Break out result checking code into ...
33527 (check_result): This. New function.
33528 (do_one_test): Call check_result.
33529 (test_main): Call check1.
33530 * string/bug-strstr1.c (main): Moved to ...
33531 * string/test-strstr.c (check1): Here. New function.
33532 (do_one_test): Break out result checking code into ...
33533 (check_result): This. New function.
33534 (do_one_test): Call check_result.
33535 (test_main): Call check1.
33536 * string/bug-strcasestr1.c: Removed.
33537 * string/bug-strchr1.c: Likewise.
33538 * string/bug-strstr1.c: Likewise.
33540 * elf/Makefile (dl-routines): Add hwcaps.
33541 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33542 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33543 (_dl_important_hwcaps): Moved to ...
33544 * elf/dl-hwcaps.c: Here. New file.
33545 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33548 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33549 if IS_IN_rtld isn't defined.
33551 * elf/dl-support.c (_dl_sysinfo_map): New.
33552 Include "get-dynamic-info.h" and "setup-vdso.h".
33553 (_dl_non_dynamic_init): Call setup_vdso.
33554 * elf/dynamic-link.h: Don't include <assert.h>.
33555 (elf_get_dynamic_info): Moved to ...
33556 * elf/get-dynamic-info.h: Here. New file.
33557 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33558 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33559 * elf/setup-vdso.h: Here. New file.
33560 * elf/rtld.c: Include "setup-vdso.h".
33561 (dl_main): Call setup_vdso.
33563 2012-10-05 Joseph Myers <joseph@codesourcery.com>
33565 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33566 creal in comment listing functions tested. List finite, isinf,
33567 isnan, isless, islessequal, isgreater, isgreaterequal,
33568 islessgreater, isunordered, lgamma_r and pow10 as functions and
33569 macros not tested. Mention which functions not tested are aliases
33570 for other functions. Fix typo. Note that signs of NaNs are not
33573 * scripts/config.guess: Update from config.git.
33574 * scripts/config.sub: Likewise.
33576 2012-10-04 Roland McGrath <roland@hack.frob.com>
33578 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33579 * misc/madvise.c (madvise): Renamed to __madvise.
33580 Make madvise a weak alias.
33581 * include/sys/mman.h: Declare __madvise.
33582 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33583 * sysdeps/unix/syscalls.list
33584 (madvise): Make __madvise the strong name, and madvise a weak alias.
33585 * sysdeps/unix/sysv/linux/syscalls.list
33586 (madvise, mmap): Remove redundant entries.
33587 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33588 * malloc/malloc.c (mtrim): Likewise.
33589 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33591 2012-10-03 Roland McGrath <roland@hack.frob.com>
33593 * sysdeps/mach/hurd/dl-cache.c: File removed.
33594 * config.h.in (USE_LDCONFIG): New #undef.
33595 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33596 * configure: Regenerated.
33597 * elf/Makefile (dl-routines): Add dl-cache only under
33598 [$(use-ldconfig) = yes].
33599 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33600 cache on [USE_LDCONFIG].
33601 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33603 * elf/rtld.c (dl_main): Likewise.
33605 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33607 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33608 _SC_LEVEL4_CACHE_LINESIZE.
33610 2012-10-03 Roland McGrath <roland@hack.frob.com>
33612 * sysdeps/unix/bsd/confstr.h: File removed.
33614 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
33616 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33619 2012-10-02 Roland McGrath <roland@hack.frob.com>
33621 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33622 Make 'mapoff' field ElfW(Off) rather than off_t.
33624 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33626 * nscd/Makefile: Remove nscd-cflags and all its users.
33627 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33628 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33631 * malloc.c (malloc_printerr): Clarify error message.
33633 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33637 Set bit_FMA_Usable if FMA is supported.
33638 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33640 (bit_FMA4_Usable): Updated.
33641 (index_FMA_Usable): New macro.
33642 (CPUID_FMA): Likewise
33643 (HAS_FMA): Defined with bit_FMA_Usable.
33645 2012-10-01 Roland McGrath <roland@hack.frob.com>
33647 * bits/types.h (__swblk_t): Type removed.
33648 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33649 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33651 (__SWBLK_T_TYPE): Likewise.
33652 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33653 (__SWBLK_T_TYPE): Likewise.
33654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33655 (__SWBLK_T_TYPE): Likewise.
33656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33657 (__SWBLK_T_TYPE): Likewise.
33659 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
33660 Honza Horak <hhorak@redhat.com>
33662 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33663 (xdr_mapname): Use YPMAXMAP as maxsize.
33664 (xdr_peername): Use YPMAXPEER as maxsize.
33665 (xdr_keydat): Use YPAXRECORD as maxsize.
33666 (xdr_valdat): Use YPMAXRECORD as maxsize.
33668 2012-10-01 Roland McGrath <roland@hack.frob.com>
33670 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33672 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33673 * csu/init-first.c: ... here.
33674 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33675 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33676 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33677 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33678 * sysdeps/i386/init-first.c: File removed.
33679 * sysdeps/sh/init-first.c: File removed.
33681 2012-10-01 Joseph Myers <joseph@codesourcery.com>
33684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33685 if x * y might underflow to zero and z is zero.
33686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33688 * math/libm-test.inc (min_subnorm_value): New variable.
33689 (fma_test): Add more tests.
33690 (fma_test_towardzero): Likewise.
33691 (fma_test_downward): Likewise
33692 (fma_test_upward): Likewise.
33693 (initialize): Set min_subnorm_value.
33695 2012-09-29 Joseph Myers <joseph@codesourcery.com>
33698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33700 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33701 mode for addition resulting in exact zero.
33702 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33705 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33706 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33707 * math/libm-test.inc (fma_test): Add more tests.
33708 (fma_test_towardzero): New function.
33709 (fma_test_downward): Likewise.
33710 (fma_test_upward): Likewise.
33711 (main): Call the new functions.
33713 2012-09-28 David S. Miller <davem@davemloft.net>
33715 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33717 2012-09-28 Roland McGrath <roland@hack.frob.com>
33719 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33720 instead of SIGALRM.
33722 * sysdeps/gnu/_G_config.h: Moved to ...
33723 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33724 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33725 * sysdeps/generic/_G_config.h: ... here.
33727 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33729 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33731 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33732 Conditionalize target on [libnss_test1.so-version].
33734 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33736 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33737 (elfobjdir): Move out of conditionals.
33739 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33740 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33741 (__nss_lookup_function): Conditionalize label remove_from_tree on
33742 [!DO_STATIC_NSS || SHARED], matching its only use.
33744 2012-09-28 David S. Miller <davem@davemloft.net>
33746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33747 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33749 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33751 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33753 when HWCAP_SPARC_CRYPTO is present.
33755 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33757 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33759 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33762 * stdio-common/vfprintf.c (process_string_arg): Revert
33765 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33767 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33769 * stdio-common/tst-sprintf.c: Include <locale.h>
33770 (main): Test sprintf's handling of incomplete multibyte
33773 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33775 * elf/dl-runtime.c (VERSYMIDX): Removed.
33776 * elf/dl-version.c (VERSYMIDX): Likewise.
33777 * elf/do-rel.h (VERSYMIDX): Likewise.
33778 (VALIDX): Likewise.
33779 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33780 * elf/rtld.c (VALIDX): Likewise.
33781 (ADDRIDX): Likewise.
33782 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33783 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33784 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33785 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33786 (VALIDX): Likewise.
33787 (ADDRIDX): Likewise.
33789 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33791 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33793 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33796 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33798 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33799 addresses are in the same scope as 192.0.2/24.
33800 * posix/gai.conf: Document new scope table defaults.
33802 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33805 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33806 for ftell. Compute offsets from write pointers instead.
33807 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33809 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33812 * libio/Makefile (tests): New test case tst-fseek.
33813 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33814 combination works in wide mode.
33815 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33816 state when the external buffer state changes.
33818 2012-09-27 David S. Miller <davem@davemloft.net>
33821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33822 pass reloc->r_addend in as the 'high' argument to
33823 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33827 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33829 * rt/tst-aio2.c: Include <pthread.h>.
33830 * rt/tst-aio3.c: Likewise.
33832 2012-09-27 Steve Ellcey <sellcey@mips.com>
33834 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33836 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33838 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33839 contents on [SHARED].
33841 2012-09-26 Marek Polacek <polacek@redhat.com>
33845 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33846 for C++ and GCC <4.3 as well as for non GCC compilers.
33848 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33852 2012-09-25 Roland McGrath <roland@hack.frob.com>
33854 * Makefile.in (all, install): Declare with .PHONY.
33855 Reported by Michael Hope <michael.hope@linaro.org>.
33857 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33859 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33860 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33862 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33864 (sydep_routines): Add the new and the internal functions.
33865 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33866 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33868 (GLIBC_2.17): Add the new function.
33869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33870 (GLIBC_2.17): Likewise.
33871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33872 (GLIBC_2.17): Likewise.
33873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33874 (GLIBC_2.17): Likewise.
33875 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33877 2012-09-25 Alan Modra <amodra@gmail.com>
33879 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33880 Add release barrier before setting once_control to say
33881 initialisation is done. Add hints on lwarx. Use macro in
33883 (clear_once_control): Add release barrier.
33885 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33888 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33890 * math/s_clog10.c (__clog10): Likewise.
33891 * math/s_clog10f.c (__clog10f): Likewise.
33892 * math/s_clog10l.c (__clog10l): Likewise.
33893 * math/s_clogf.c (__clogf): Likewise.
33894 * math/s_clogl.c (__clogl): Likewise.
33895 * math/Makefile (libm-calls): Add x2y2m1.
33896 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33897 (__x2y2m1): Likewise.
33898 (__x2y2m1l): Likewise.
33899 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33900 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33903 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33904 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33905 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33906 * sysdeps/i386/fpu/libm-test-ulps: Update.
33907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33910 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33911 int as type of variable DEPTH.
33912 (glob): Use size_t instead of int as type of variables NEWCOUNT
33915 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33917 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33918 Add s_sincosf-sse2.
33919 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33920 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33921 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33922 macros for using routine as __sincosf_ia32.
33923 Use macro for function declaration and weak_alias.
33924 * sysdeps/i386/fpu/libm-test-ulps: Update.
33926 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33929 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33930 subnormal argument.
33931 * math/s_cexpf.c (__cexpf): Likewise.
33932 * math/s_csinf.c (__csinf): Likewise.
33933 * math/s_csinhf.c (__csinhf): Likewise.
33934 * math/s_ctanf.c (__ctanf): Likewise.
33935 * math/s_ctanhf.c (__ctanhf): Likewise.
33936 * math/s_ccosh.c (__ccoshf): Likewise.
33937 * math/s_cexp.c (__cexpl): Likewise.
33938 * math/s_csin.c (__csin): Likewise.
33939 * math/s_csinh.c (__csinh): Likewise.
33940 * math/s_ctan.c (__ctan): Likewise.
33941 * math/s_ctanh.c (ctanh): Likewise.
33942 * math/s_ccoshl.c (__ccoshl): Likewise.
33943 * math/s_cexpl.c (__cexpl): Likewise.
33944 * math/s_csinl.c (__csinl): Likewise.
33945 * math/s_csinhl.c (__csinhl): Likewise.
33946 * math/s_ctanl.c (__ctanl): Likewise.
33947 * math/s_ctanhl.c (__ctanhl): Likewise.
33949 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33951 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33952 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33953 (_IO_off_t): Define to __off_t, not _G_off_t.
33954 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33955 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33956 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33957 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33958 type of __dummy and __dummy2 fields.
33959 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33960 (_G_ssize_t): Likewise.
33961 (_G_off_t): Likewise.
33962 (_G_pid_t): Likewise.
33963 (_G_uid_t): Likewise.
33964 (_G_wchar_t): Likewise.
33965 (_G_wint_t): Likewise.
33966 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33967 (_G_ssize_t): Likewise.
33968 (_G_off_t): Likewise.
33969 (_G_pid_t): Likewise.
33970 (_G_uid_t): Likewise.
33971 (_G_wchar_t): Likewise.
33972 (_G_wint_t): Likewise.
33973 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33974 (_G_ssize_t): Likewise.
33975 (_G_off_t): Likewise.
33976 (_G_pid_t): Likewise.
33977 (_G_uid_t): Likewise.
33978 (_G_wchar_t): Likewise.
33979 (_G_wint_t): Likewise.
33981 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33983 * malloc/arena.c: Include malloc-sysdep.h.
33984 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33985 is sufficient to shrink the heap or an unmap is needed.
33986 * sysdeps/generic/malloc-sysdep.h: New file. Define
33987 new function check_may_shrink_heap.
33988 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33989 new function check_may_shrink_heap.
33991 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33993 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33996 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33998 * catgets/test-gencat.sh: Add "set -e".
33999 * elf/tst-pathopt.sh: Likewise.
34000 * grp/tst_fgetgrent.sh: Likewise.
34001 * iconvdata/run-iconv-test.sh: Likewise.
34002 * intl/tst-gettext.sh: Likewise.
34003 * intl/tst-gettext2.sh: Likewise.
34004 * intl/tst-gettext4.sh: Likewise.
34005 * intl/tst-gettext6.sh: Likewise.
34006 * intl/tst-translit.sh: Likewise.
34007 * io/ftwtest-sh: Likewise.
34008 * libio/test-freopen.sh: Likewise.
34009 * malloc/tst-mtrace.sh: Likewise.
34010 * posix/globtest.sh: Likewise.
34011 * posix/tst-getconf.sh: Likewise.
34012 * posix/wordexp-tst.sh: Likewise.
34013 * stdio-common/tst-printf.sh: Likewise.
34014 * stdio-common/tst-unbputc.sh: Likewise.
34015 * stdlib/tst-fmtmsg.sh: Likewise.
34016 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34017 * catgets/Makefile: Do not specify -e option when running
34018 testsuite shell scripts.
34019 * elf/Makefile: Likewise.
34020 * grp/Makefile: Likewise.
34021 * iconvdata/Makefile: Likewise.
34022 * intl/Makefile: Likewise.
34023 * io/Makefile: Likewise.
34024 * libio/Makefile: Likewise.
34025 * malloc/Makefile: Likewise.
34026 * posix/Makefile: Likewise.
34027 * stdio-common/Makefile: Likewise.
34028 * stdlib/Makefile: Likewise.
34029 * sysdeps/x86_64/Makefile: Likewise.
34031 * io/ftwtest-sh: Add copyright header.
34032 * posix/globtest.sh: Likewise.
34033 * posix/tst-getconf.sh: Likewise.
34034 * posix/wordexp-tst.sh: Likewise.
34035 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34037 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34040 * Makeconfig (+link): Defined as $(+link-static) if
34041 $(build-shared) isn't yes.
34042 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34044 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34046 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34049 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34050 new chunk size with MALLOC_ALIGN_MASK.
34052 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34055 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34057 (__printf_fphex): Determine rounding using get_rounding_mode and
34059 * stdio-common/tst-printf-round.c (struct hex_test): New
34061 (hex_tests): New variable.
34062 (test_hex_in_one_mode): New function.
34063 (do_test): Also run tests for hex float output.
34065 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34067 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34068 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34069 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34070 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34071 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34072 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34073 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34074 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34076 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34078 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34079 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34080 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34081 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34083 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34086 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34088 * elf/tst-rtld-load-self.sh: New test.
34089 * elf/Makefile: Run it.
34091 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34093 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34094 (tst-writev-ENV): Remove.
34095 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34097 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34099 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34101 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34103 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34105 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34107 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34108 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34109 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34112 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34115 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34116 * config.make.in (have-cpp-asm-debuginfo): Removed.
34117 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34118 * configure: Regenerated.
34120 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34123 * stdio-common/printf_fp.c: Include <stdbool.h> and
34125 (___printf_fp): Determine rounding using get_rounding_mode and
34127 * stdio-common/tst-printf-round.c: New file.
34128 * stdio-common/Makefile (tests): Add tst-printf-round.
34129 (link-libm): New variable.
34130 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34132 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34135 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34136 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34138 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34141 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34143 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34144 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34145 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34146 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34148 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34151 * include/rounding-mode.h: New file.
34152 * sysdeps/generic/get-rounding-mode.h: Likewise.
34153 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34154 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34155 (MAX_VALUE): New macro.
34156 (MIN_VALUE): Likewise.
34157 (overflow_value): New function.
34158 (underflow_value): Likewise.
34159 (round_and_return): Use overflow_value and underflow_value to
34160 determine return values in overflow and underflow cases. Use
34161 round_away to determine rounding depending on rounding mode.
34162 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34163 determine return values in overflow and underflow cases.
34164 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34165 (struct test_results): New structure.
34166 (struct test): Use struct test_results to store expected results
34167 for all rounding modes.
34168 (TEST): Include expected results for all rounding modes.
34169 (test_in_one_mode): New function.
34170 (do_test): Use test_in_one_mode to compute and check results.
34171 Check results for all rounding modes.
34172 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34175 2012-12-09 Allan McRae <allan@archlinux.org>
34177 * sysdeps/i386/fpu/libm-test-ulps: Update
34179 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34181 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34182 (_G_int32_t): Likewise.
34183 (_G_uint16_t): Likewise.
34184 (_G_uint32_t): Likewise.
34185 (_G_HAVE_BOOL): Likewise.
34186 (_G_HAVE_ATEXIT): Likewise.
34187 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34188 (_G_HAVE_IO_FILE_OPEN): Likewise.
34189 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34190 (_G_int32_t): Likewise.
34191 (_G_uint16_t): Likewise.
34192 (_G_uint32_t): Likewise.
34193 (_G_HAVE_BOOL): Likewise.
34194 (_G_HAVE_ATEXIT): Likewise.
34195 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34196 (_G_HAVE_IO_FILE_OPEN): Likewise.
34197 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34198 (_G_int32_t): Likewise.
34199 (_G_uint16_t): Likewise.
34200 (_G_uint32_t): Likewise.
34201 (_G_HAVE_BOOL): Likewise.
34202 (_G_HAVE_ATEXIT): Likewise.
34203 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34204 (_G_HAVE_IO_FILE_OPEN): Likewise.
34206 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34208 * csu/libc-tls.c: Update copyright years.
34210 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34212 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34213 [!_G_USING_THUNKS]: Remove conditional code.
34214 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34215 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34217 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34218 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34219 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34220 (_G_VTABLE_LABEL_PREFIX): Likewise.
34221 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34222 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34223 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34224 (_G_VTABLE_LABEL_PREFIX): Likewise.
34225 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34226 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34227 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34228 (_G_VTABLE_LABEL_PREFIX): Likewise.
34229 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34231 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34233 * libio/Makefile: Include ../Makeconfig before tests.
34234 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34235 only if $(build-shared) is yes.
34237 * iconv/gconv_db.c: Update copyright years.
34239 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34241 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34242 unwind info if defined PIC. Fix special cases description.
34243 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34245 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34247 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34249 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34251 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34253 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34256 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34257 (LDLIBS-tst-chk4): This.
34258 (LDFLAGS-tst-chk5): Renamed to ...
34259 (LDLIBS-tst-chk5): This.
34260 (LDFLAGS-tst-chk6): Renamed to ...
34261 (LDLIBS-tst-chk6): This.
34262 (LDFLAGS-tst-lfschk4): Renamed to ...
34263 (LDLIBS-tst-lfschk4): This.
34264 (LDFLAGS-tst-lfschk5): Renamed to ...
34265 (LDLIBS-tst-lfschk5): This.
34266 (LDFLAGS-tst-lfschk6): Renamed to ...
34267 (LDLIBS-tst-lfschk6): This.
34269 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34270 on $(common-objpfx)soversions.mk.
34272 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34275 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34278 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34280 * malloc/arena.c (arena_get_retry): New function that gets
34281 another arena for the caller to try its request on.
34282 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34283 current arena cannot fulfill the request.
34284 (__libc_memalign): Likewise.
34285 (__libc_memalign): Likewise.
34286 (__libc_pvalloc): Likewise.
34287 (__libc_calloc): Likewise.
34289 2012-09-05 John Tobey <john.tobey@gmail.com>
34292 * manual/arith.texi (Operations on Complex): Fix description
34293 of carg branch cut.
34295 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34298 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34302 * manual/memory.texi (Memory): Make order of menu items match
34305 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34307 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34308 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34309 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34311 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34313 * csu/libc-tls.c (static_dtv): Renamed to ...
34314 (_dl_static_dtv): This. Make it global.
34315 (_dl_initial_dtv): Removed.
34316 (__libc_setup_tls): Updated.
34317 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34318 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34321 2012-09-06 Petr Machata <pmachata@redhat.com>
34323 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34324 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34325 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34326 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34328 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34331 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34332 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34335 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34338 * Makeconfig (link-static-before-libc): Replace $(+prector)
34340 (link-static-after-libc): Replace $(+postctor) with
34342 (link-bounded): Replace $(+prector)/$(+postctor) with
34343 $(+prectorT)/$(+postctorT).
34344 (+prectorT): New macro.
34345 (+postctorT): Likewise.
34347 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34349 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34350 (round_str): Handle values above the maximum for IBM long double
34352 * stdlib/tst-strtod-round.c (tests): Regenerated.
34354 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34356 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34358 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34359 zarch_nohighgprs around the zarch optimized routines.
34360 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34361 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34365 2012-09-05 David S. Miller <davem@davemloft.net>
34367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34369 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34370 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34371 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34372 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34375 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34377 * malloc/arena.c: Fold copyright years.
34378 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34380 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34382 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34384 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34386 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34388 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34390 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34391 change internal state upon failure.
34393 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34395 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34396 * malloc/memusage.c (mmap): Likewise.
34397 (mmap64, mremap): Likewise. Adjust name in comment.
34399 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34401 * libio/fileops.c: Fix typos in comments.
34402 * libio/oldfileops.c: Likewise.
34403 * libio/wfileops.c: Likewise.
34405 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34408 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34409 (tst-malloc-usable-ENV): Set environment for test case.
34410 * malloc/hooks.c (malloc_check_get_size): New function to get
34412 * malloc/malloc.c (musable): Use malloc_check_get_size.
34413 * malloc/tst-malloc-usable.c: New test case.
34415 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34417 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34419 2012-09-05 Allan McRae <allan@archlinux.org>
34422 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34423 determine header location.
34424 * configure: Regenerated.
34426 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34428 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34430 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34431 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34433 (test): Regenerate.
34435 2012-09-04 David S. Miller <davem@davemloft.net>
34437 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34438 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34439 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34441 2012-09-04 Florian Weimer <fweimer@redhat.com>
34443 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34446 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34448 2012-09-04 Joseph Myers <joseph@codesourcery.com>
34451 * libio/iogetdelim.c: Include <limits.h>.
34452 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34453 + len + 1 would overflow.
34455 2012-09-03 Andreas Jaeger <aj@suse.de>
34457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34458 * sysdeps/i386/fpu/libm-test-ulps: Update.
34460 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34462 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34463 Add s_sinf-sse2, s_conf-sse2.
34465 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34466 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34467 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34468 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34470 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34471 for using routine as __sinf_ia32.
34472 Use macro for function declaration and weak_alias.
34473 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34474 for using routine as __cosf_ia32.
34475 Use macro for function declaration and weak_alias.
34477 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34478 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34480 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34481 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34484 * math/libm-test.inc (cos_test): Add more test cases.
34485 (sin_test): Likewise.
34486 (sincos_test): Likewise.
34488 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34490 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34491 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34493 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34495 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34498 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34499 first element of the GOT.
34500 (elf_machine_load_address): Return the difference between
34501 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34503 2012-09-01 Allan McRae <allan@archlinux.org>
34506 * configure.in (AWK): Require gawk version 3.0 or later.
34507 * configure: Regenerated.
34509 2012-09-01 Joseph Myers <joseph@codesourcery.com>
34511 * sysdeps/unix/sysv/linux/kernel-features.h
34512 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34513 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34514 [__NR_clock_getres]: Make code unconditional.
34515 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34516 (clock_getcpuclockid): Remove code left unreachable by removal of
34518 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34519 code unconditional.
34520 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34521 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34522 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34523 Make code unconditional.
34524 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34525 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34526 * sysdeps/unix/sysv/linux/clock_settime.c
34527 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34529 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34530 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34532 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34535 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34536 scripts/test-installation.pl.
34538 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34539 and $ld_so_version if it is set.
34541 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34544 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34545 failure if reading from procfs failed.
34546 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34548 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34550 * sysdeps/unix/sysv/linux/kernel-features.h
34551 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34552 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34553 Remove conditional code.
34554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34555 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34556 Remove conditional code.
34557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34558 * sysdeps/unix/sysv/linux/i386/fxstat.c
34559 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34561 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34562 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34564 * sysdeps/unix/sysv/linux/i386/lxstat.c
34565 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34567 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34568 Remove conditional code.
34569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34570 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34571 Remove conditional code.
34572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34573 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34574 <kernel-features.h>.
34575 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34577 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34578 Remove conditional code.
34579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34580 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34581 Remove conditional.
34583 2012-08-27 Mike Frysinger <vapier@gentoo.org>
34586 * NEWS: Add fixed bug number.
34588 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34591 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34592 underflowing exponent in case of negative sign.
34593 * stdlib/tst-strtod-round-data: Add more tests.
34594 * stdlib/tst-strtod-round.c (tests): Regenerated.
34597 * stdlib/strtod_l.c (NDIG): Remove.
34598 (HEXNDIG): Likewise.
34599 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34600 smallest representable value.
34601 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34602 lie within an exact representation of 1/2 ulp of the result.
34603 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34605 (TENS_P9_IDX): Define unconditionally.
34606 (TENS_P9_SIZE): Likewise.
34607 (TENS_P10_IDX): Likewise.
34608 (TENS_P10_SIZE): Likewise.
34609 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34610 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34611 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34612 entries for 10^2^13 and 10^2^14.
34613 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34614 (TENS_P13_IDX): Define.
34615 (TENS_P13_SIZE): Likewise.
34616 (TENS_P14_IDX): Likewise.
34617 (TENS_P14_SIZE): Likewise.
34618 (_fpioconst_pow10): Change array size to
34619 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34621 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34622 1024]: Add entries for 10^2^13 and 10^2^14.
34623 [LAST_POW10 > _LAST_POW10]: Remove #error.
34624 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34625 (_fpioconst_pow10): Change array size to
34626 FPIOCONST_POW10_ARRAY_SIZE.
34627 * stdlib/gen-fpioconst.c: New file.
34628 * stdlib/gen-tst-strtod-round.c: Likewise.
34629 * stdlib/tst-strtod-round-data: Likewise.
34630 * stdlib/tst-strtod-round.c: Likewise.
34631 * stdlib/Makefile (tests): Add tst-strtod-round.
34634 * stdlib/strtod_l.c: Include <stdint.h>.
34635 (NDEBUG): Do not define.
34636 (round_and_return): Change EXPONENT parameter to type intmax_t.
34637 Rearrange calculations to avoid internal overflow possibilities.
34638 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34639 Rearrange calculations to avoid internal overflow possibilities.
34640 Assert that number fits inside MPNSIZE limbs.
34641 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34642 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34643 calculations and add assertions to avoid internal overflow
34644 possibilities. Add casts to avoid signed/unsigned operations.
34645 * stdlib/tst-strtod-overflow.c: New file.
34646 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34648 2012-08-25 Marek Polacek <polacek@redhat.com>
34650 * time/time.h: Fix some typos in comments.
34652 2012-08-23 Roland McGrath <roland@hack.frob.com>
34654 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34655 * posix/tst-rfc3484-2.c: Likewise.
34656 * posix/tst-rfc3484-3.c: Likewise.
34658 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34660 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34661 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34663 2012-08-23 Joseph Myers <joseph@codesourcery.com>
34665 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34666 #include of fxstatat64.c.
34668 2012-08-22 Roland McGrath <roland@hack.frob.com>
34670 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34671 * shadow/getspent_r.c: Likewise.
34672 * shadow/getspnam.c: Likewise.
34673 * shadow/getspnam_r.c: Likewise.
34674 * gshadow/getsgent.c: Likewise.
34675 * gshadow/getsgent_r.c: Likewise.
34676 * gshadow/getsgnam.c: Likewise.
34677 * gshadow/getsgnam_r.c: Likewise.
34678 * inet/getnetbyad.c: Likewise.
34679 * inet/getnetbyad_r.c: Likewise.
34680 * inet/getnetbynm.c: Likewise.
34681 * inet/getnetbynm_r.c: Likewise.
34682 * inet/getnetent.c: Likewise.
34683 * inet/getnetent_r.c: Likewise.
34684 * inet/getproto.c: Likewise.
34685 * inet/getproto_r.c: Likewise.
34686 * inet/getprtent.c: Likewise.
34687 * inet/getprtent_r.c: Likewise.
34688 * inet/getprtname.c: Likewise.
34689 * inet/getprtname_r.c: Likewise.
34690 * inet/getrpcbyname.c: Likewise.
34691 * inet/getrpcbyname_r.c: Likewise.
34692 * inet/getrpcbynumber.c: Likewise.
34693 * inet/getrpcbynumber_r.c: Likewise.
34694 * inet/getrpcent.c: Likewise.
34695 * inet/getrpcent_r.c: Likewise.
34696 * inet/getaliasent.c: Likewise.
34697 * inet/getaliasent_r.c: Likewise.
34698 * inet/getaliasname.c: Likewise.
34699 * inet/getaliasname_r.c: Likewise.
34700 * nscd/getgrgid_r.c: Likewise.
34701 * nscd/getgrnam_r.c: Likewise.
34702 * nscd/gethstbyad_r.c: Likewise.
34703 * nscd/gethstbynm3_r.c: Likewise.
34704 * nscd/getpwnam_r.c: Likewise.
34705 * nscd/getpwuid_r.c: Likewise.
34706 * nscd/getsrvbynm_r.c: Likewise.
34707 * nscd/getsrvbypt_r.c: Likewise.
34708 * nscd/gai.c: Likewise.
34710 * configure.in (build_nscd): New substituted variable, set
34711 by --disable-build-nscd and defaults to $use_nscd.
34712 * configure: Regenerated.
34713 * config.make.in (build-nscd): New substituted variable.
34714 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34715 Change conditional to require [$(build-nscd) = yes] as well.
34716 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34719 * configure.in (use_nscd): New substituted variable, set by
34720 --disable-nscd. If enabled, define USE_NSCD.
34721 * configure: Regenerated.
34722 * config.h.in: Add USE_NSCD.
34723 * config.make.in (use-nscd): New substituted variable.
34724 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34725 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34726 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34727 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34728 (CFLAGS-getgrnam_r.c): Likewise.
34729 (CFLAGS-initgroups.c): Likewise.
34730 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34731 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34733 * inet/getnetgrent_r.c
34734 (nscd_setnetgrent): New function, broken out of ...
34735 (setnetgrent): ... here. Call it.
34736 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34737 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34738 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34739 * nscd/Makefile (routines, aux): Move definitions after include of
34740 Makeconfig. Conditionalize on [$(use-nscd) != no].
34741 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34742 Conditionalize on [USE_NSCD].
34743 (is_nscd, nscd_init_cb): Likewise.
34744 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34745 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34746 * nss/nss_db/db-init.c: Likewise.
34747 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34749 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34750 (make_request): Use it.
34751 (cache_valid_p): New function.
34752 (__check_pf): Use it.
34753 * NEWS: Add item for --disable-nscd.
34755 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34757 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34758 to support sed >= 4.2.1-20-ga9bf076.
34759 * configure: Regenerated.
34761 2012-08-22 Roland McGrath <roland@hack.frob.com>
34763 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34764 Conditionalize whole body on [IREL].
34766 2012-08-22 Jeff Law <law@redhat.com>
34769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34770 if the family is PF_UNSPEC.
34772 2012-08-22 Mike Frysinger <vapier@gentoo.org>
34774 * Makerules (lib-version): Rename from V.
34775 (install-lib-nosubdir): Change V to lib-version.
34777 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34780 * powerpc32/power6/wcschr.c: New file.
34781 * powerpc32/power6/wcscpy.c: New file.
34782 * powerpc32/power6/wcsrchr.c: New file.
34783 * powerpc64/power6/wcschr.c: New file.
34784 * powerpc64/power6/wcscpy.c: New file.
34785 * powerpc64/power6/wcsrchr.c: New file.
34787 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34789 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34790 (two_way_short_needle): Use it.
34791 * string/strstr.c (AVAILABLE1_USES_J): Define.
34792 * string/strcasestr.c: Likewise.
34794 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34796 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34799 * NEWS: Add an entry.
34800 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34801 define their defaults.
34802 (two_way_short_needle): Detect end-of-string on-the-fly.
34803 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34804 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34805 * string/bug-strcasestr1.c: New test.
34806 * string/Makefile: Run it.
34808 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34811 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34812 the first character.
34814 2012-08-21 Roland McGrath <roland@hack.frob.com>
34816 * csu/elf-init.c (__libc_csu_irel): Function removed.
34817 * csu/libc-start.c (apply_irel): New function.
34818 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34820 2012-08-21 Joseph Myers <joseph@codesourcery.com>
34822 * sysdeps/unix/sysv/linux/kernel-features.h
34823 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34824 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34825 <kernel-features.h>.
34826 [__NR_fadvise64_64]: Make code unconditional.
34827 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34828 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34829 !__NR_fadvise64_64)]: Likewise.
34830 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34831 !__NR_fadvise64_64))]: Likewise.
34832 [__NR_fadvise64]: Make code unconditional.
34833 [!__NR_fadvise64]: Remove conditional code.
34834 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34835 <kernel-features.h>.
34836 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34838 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34841 not include <kernel-features.h>.
34842 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34844 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34846 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34847 include <kernel-features.h>.
34848 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34850 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34853 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34855 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34856 slight instruction rearrangements per scrollpipe analysis.
34857 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34859 2012-08-20 Roland McGrath <roland@hack.frob.com>
34861 * manual/syslog.texi (syslog; vsyslog, closelog):
34862 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34863 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34865 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34866 DSOCAPS to match condition on defining it.
34868 2012-08-20 Joseph Myers <joseph@codesourcery.com>
34870 * sysdeps/unix/sysv/linux/kernel-features.h
34871 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34873 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34874 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34876 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34877 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34879 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34880 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34882 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34883 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34885 * sysdeps/unix/sysv/linux/kernel-features.h
34886 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34887 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34889 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34890 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34891 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34892 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34893 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34894 Make code unconditional.
34895 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34896 (__mmap64) [!__NR_mmap2]: Likewise.
34897 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34898 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34899 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34900 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34901 [__NR_mmap2]: Make code unconditional.
34902 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34903 (__mmap64) [!__NR_mmap2]: Likewise.
34905 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34907 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34909 2012-08-18 Andreas Jaeger <aj@suse.de>
34911 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34913 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34915 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34916 * include/unistd.h (__have_sock_cloexec): Likewise.
34917 (__have_pipe2): Likewise.
34918 (__have_dup3): Likewise.
34920 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34923 * include/unistd.h (__have_pipe2): Change define into an extern int.
34924 (__have_dup3): Likewise.
34925 * socket/have_sock_cloexec.c: Include fcntl.h.
34926 (__have_pipe2): New variable.
34927 (__have_dup3): Likewise.
34929 2012-08-17 Mike Frysinger <vapier@gentoo.org>
34931 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34933 2012-08-17 Marek Polacek <polacek@redhat.com>
34935 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34936 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34938 2012-08-17 Roland McGrath <roland@hack.frob.com>
34940 * configure.in: Add AC_SUBST for sysheaders.
34941 * configure: Regenerated.
34942 * config.make.in (sysheaders): New substituted variable.
34944 * sysdeps/unix/mkfifo.c: Moved ...
34945 * sysdeps/posix/mkfifo.c: ... here.
34946 * sysdeps/unix/mkfifoat.c: Moved ...
34947 * sysdeps/posix/mkfifoat.c: ... here.
34949 * sysdeps/unix/utime.c: Moved ...
34950 * sysdeps/posix/utime.c: ... here.
34952 * sysdeps/unix/time.c: Moved ...
34953 * sysdeps/posix/time.c: ... here.
34954 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34955 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34957 * sysdeps/unix/nice.c: Moved ...
34958 * sysdeps/posix/nice.c: ... here.
34960 * sysdeps/unix/alarm.c: Moved ...
34961 * sysdeps/posix/alarm.c: ... here.
34963 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34965 2012-08-17 Jeff Law <law@redhat.com>
34967 * intl/Makefile (codeset_mo): New variable.
34968 ($(codeset_mo)): New target.
34969 (tst-codeset.out): Depend on that. Remove explicit rule.
34970 (tst-gettext3.out, tst-gettext5.out): Likewise.
34971 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34972 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34973 * intl/tst-codeset.sh: Remove.
34974 * intl/tst-gettext3.sh: Likewise.
34975 * intl/tst-gettext5.sh: Likewise.
34977 2012-08-17 Roland McGrath <roland@hack.frob.com>
34979 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34980 * sysdeps/unix/syscalls.list: ... here.
34982 * sysdeps/posix/getaddrinfo.c
34983 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34984 (gaiconf_init, gaiconf_reload): Use them.
34985 [!_STATBUF_ST_NSEC]
34986 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34987 Define using time_t rather than struct timespec.
34989 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34990 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34992 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34994 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34995 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34998 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34999 __libc_cleanup_push argument.
35001 * bits/param.h: New file.
35002 * misc/sys/param.h: New file.
35003 * include/sys/param.h: New file.
35004 * misc/Makefile (headers): Add bits/param.h.
35005 * sysdeps/generic/sys/param.h: File removed.
35006 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35007 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35008 * sysdeps/mach/hurd/bits/param.h: New file.
35009 * sysdeps/mach/hurd/sys/param.h: File removed.
35011 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35014 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35016 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35017 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35020 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35021 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35022 rather than -D_IO_MTSAFE_IO conditionally.
35023 * stdio-common/Makefile (CPPFLAGS): Likewise.
35024 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35025 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35026 Use $(libio-mtsafe).
35027 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35028 of -D_IO_MTSAFE_IO.
35029 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35030 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35031 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35032 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35033 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35034 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35035 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35036 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35037 (CFLAGS-fread_u_chk.c): Likewise.
35038 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35039 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35040 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35041 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35042 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35043 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35044 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35045 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35046 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35048 * libio/Makefile: Test [$(libc-reentrant) = yes]
35049 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35052 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35053 * sysdeps/pthread/configure: File removed.
35054 * sysdeps/pthread/Makeconfig: New file.
35055 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35056 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35058 2012-08-16 Gary Benson <gbenson@redhat.com>
35060 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35061 unmapping the first object in a namespace.
35063 2012-08-16 Roland McGrath <roland@hack.frob.com>
35065 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35066 (__internal_setnetgrent): ... this. Add internal_function to
35067 definition. Add libc_hidden_def.
35068 (setnetgrent): Update caller.
35069 (internal_endnetgrent): Renamed to ...
35070 (__internal_endnetgrent): ... this. Add internal_function to
35071 definition. Add libc_hidden_def.
35072 (endnetgrent): Update caller.
35073 (internal_getnetgrent_r): Renamed to ...
35074 (__internal_getnetgrent_r): ... this. Add internal_function to
35075 definition. Add libc_hidden_def.
35076 (__getnetgrent_r): Update caller.
35077 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35079 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35081 * stdlib/longlong.h: Update from GCC.
35083 2012-08-16 Roland McGrath <roland@hack.frob.com>
35085 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35086 on _QL, which is set by umul_ppmm but never used.
35087 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35088 variables, which are set by GMP macros but never used.
35089 * stdio-common/_itowa.c (_itowa): Likewise.
35090 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35091 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35093 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35095 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35096 struct La_sh_regs is not constant.
35097 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35098 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35099 and struct La_sparc64_regs are not constant.
35101 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35103 * sysdeps/unix/sysv/linux/kernel-features.h
35104 (__ASSUME_POSIX_TIMERS): Remove.
35105 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35107 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35108 Make code unconditional.
35109 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35110 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35111 Make code unconditional.
35112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35113 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35114 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35115 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35116 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35117 Make code unconditional.
35118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35119 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35120 (__libc_missing_posix_timers): Remove.
35122 2012-08-15 Roland McGrath <roland@hack.frob.com>
35124 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35125 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35127 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35129 * elf/dl-sym.c: Include <stdlib.h>.
35131 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35132 constants, which avoids warnings in 32-bit builds.
35134 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35135 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35137 * misc/lseek.c: File moved to ...
35138 * io/lseek.c: ... here.
35140 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35142 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35143 shifting LEN more than 31 bits at once.
35145 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35148 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35149 segmentation fault for a case of two empty input strings.
35150 * string/test-strncasecmp.c (check1): Renamed to...
35151 (bz12205): ...this.
35152 (bz14195): Add new testcase for two empty input strings and N > 0.
35153 (test_main): Call new testcase, adapt for renamed function.
35155 2012-08-15 Andreas Jaeger <aj@suse.de>
35158 * crypt/md5test2.c: New test, based on test supplied by Serge
35159 Belyshev <belyshev@depni.sinp.msu.ru>.
35160 * crypt/Makefile (xtests): Add md5test-giant..
35161 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35163 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35166 * crypt/md5.c (md5_process_block): Don't assume the buffer
35167 length is less than 2**32.
35168 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35169 length is less than 2**64.
35171 2012-08-15 Roland McGrath <roland@hack.frob.com>
35173 * string/str-two-way.h: Include <sys/param.h>.
35174 (MAX): Macro removed.
35176 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35177 Move #define and #undef of memmove to just before and after
35178 including <string.h>.
35180 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35181 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35182 and after including <string.h>. Move declarations of
35183 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35184 to before #include "string/memmove.c".
35186 * include/dirent.h: Declare __getdirentries.
35188 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35189 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35191 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35193 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35194 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35195 * sysdeps/i386/configure: Regenerated.
35196 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35197 STABS_CURRENT_FILE, and STABS_FUN.
35198 (END): Remove call to STABS_FUN_END.
35199 (STABS_CURRENT_FILE1): Delete.
35200 (STABS_CURRENT_FILE): Likewise.
35201 (STABS_FUN): Likewise.
35202 (STABS_FUN_END): Likewise.
35203 (STABS_FUN2): Likewise.
35204 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35205 * sysdeps/x86_64/configure: Regenerated.
35207 2012-08-14 Roland McGrath <roland@hack.frob.com>
35209 * elf/dl-open.c: Include <atomic.h>.
35210 * elf/dl-lookup.c: Likewise.
35212 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35214 * sysdeps/unix/sysv/linux/kernel-features.h
35215 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35216 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35218 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35220 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35221 condition on __ASSUME_CLONE_THREAD_FLAGS.
35223 2012-08-14 Andreas Jaeger <aj@suse.de>
35225 * sysdeps/i386/fpu/libm-test-ulps: Update.
35227 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35229 * include/atomic.h (atomic_exchange_and_add): Split into ...
35230 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35233 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35237 2012-08-13 Jeff Law <law@redhat.com>
35239 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35240 null byte in the output string.
35242 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35244 * sysdeps/unix/sysv/linux/kernel-features.h
35245 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35246 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35247 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35248 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35249 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35250 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35251 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35253 2012-08-09 Jeff Law <law@redhat.com>
35256 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35257 When avoid_arena is set, don't retry in the that arena. Pick the
35258 next one, whatever it might be.
35259 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35260 (arena_lock): Pass in new parameter to arena_get2.
35261 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35263 (__libc_malloc): Unify retrying after main arena failure with
35264 __libc_memalign version.
35265 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35267 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35270 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35271 to __redirect_strstr.
35272 (__strstr_sse42): Use typeof __redirect_strstr.
35273 (__strstr_ia32): Likewise.
35274 (__libc_strstr): New prototype.
35275 (strstr): Renamed to ...
35276 (__libc_strstr): This.
35277 (strstr): New strong alias of __libc_strstr.
35278 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35279 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35282 (__libc_time): New prototype.
35283 (time_ifunc): Replace time with __libc_time.
35284 (time): New strong alias and hidden definition of __libc_time.
35285 (__GI_time): Remove strong alias.
35286 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35287 Include <stddef.h>.
35288 (memmove): Redefined to __redirect_memmove.
35289 (__memmove_sse2): Use typeof __redirect_memmove.
35290 (__memmove_ssse3): Likewise.
35291 (__memmove_ssse3_back): Likewise.
35292 (__libc_memmove): New prototype.
35293 (memmove): Renamed to ...
35294 (__libc_memmove): This.
35295 (memmove): New strong alias of __libc_memmove.
35297 2012-08-08 Mark Salter <msalter@redhat.com>
35300 (R_MN10300_TLS_GD): Define.
35301 (R_MN10300_TLS_LD): Likewise.
35302 (R_MN10300_TLS_LDO): Likewise.
35303 (R_MN10300_TLS_GOTIE): Likewise.
35304 (R_MN10300_TLS_IE): Likewise.
35305 (R_MN10300_TLS_LE): Likewise.
35306 (R_MN10300_TLS_DTPMOD): Likewise.
35307 (R_MN10300_TLS_DTPOFF): Likewise.
35308 (R_MN10300_TLS_TPOFF): Likewise.
35309 (R_MN10300_SYM_DIFF): Likewise.
35310 (R_MN10300_ALIGN): Likewise.
35311 (R_MN10300_NUM): Update.
35313 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35318 2012-08-08 Roland McGrath <roland@hack.frob.com>
35320 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35322 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35323 sysdeps/unix -> sysdeps/posix move.
35324 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35326 2012-08-07 Allan McRae <allan@archlinux.org>
35329 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35330 (SUNOS_CPP): Likewise.
35331 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35333 (open_input): Call CPP using execvp.
35335 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35337 * sysdeps/unix/sysv/linux/kernel-features.h
35338 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35339 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35340 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35341 (__ASSUME_WAITID_SYSCALL): Likewise.
35342 * sysdeps/unix/sysv/linux/dl-execstack.c
35343 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35344 code unconditional.
35345 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35347 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35348 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35349 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35351 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35353 [__ASSUME_WAITID_SYSCALL]: Likewise.
35354 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35356 2012-08-07 Roland McGrath <roland@hack.frob.com>
35358 * sysdeps/unix/closedir.c: Renamed to ...
35359 * sysdeps/posix/closedir.c: ... here.
35360 * sysdeps/unix/dirfd.c: Renamed to ...
35361 * sysdeps/posix/dirfd.c: ... here.
35362 * sysdeps/unix/dirstream.h: Renamed to ...
35363 * sysdeps/posix/dirstream.h: ... here.
35364 * sysdeps/unix/fdopendir.c: Renamed to ...
35365 * sysdeps/posix/fdopendir.c: ... here.
35366 * sysdeps/unix/opendir.c: Renamed to ...
35367 * sysdeps/posix/opendir.c: ... here.
35368 * sysdeps/unix/readdir.c: Renamed to ...
35369 * sysdeps/posix/readdir.c: ... here.
35370 * sysdeps/unix/readdir_r.c: Renamed to ...
35371 * sysdeps/posix/readdir_r.c: ... here.
35372 * sysdeps/unix/rewinddir.c: Renamed to ...
35373 * sysdeps/posix/rewinddir.c: ... here.
35374 * sysdeps/unix/seekdir.c: Renamed to ...
35375 * sysdeps/posix/seekdir.c: ... here.
35376 * sysdeps/unix/telldir.c: Renamed to ...
35377 * sysdeps/posix/telldir.c: ... here.
35378 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35379 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35380 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35381 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35383 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35384 * bits/fcntl.h: ... here.
35386 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35388 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35389 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35390 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35391 (struct flock): Move l_start, l_len to the beginning.
35392 Use __pid_t for l_pid.
35393 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35394 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35395 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35396 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35397 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35398 [__USE_LARGEFILE64] (struct flock64): New type.
35399 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35401 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35402 * bits/dirent.h: ... here.
35404 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35405 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35407 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35410 Change from 2.6.0 to 2.6.16.
35411 * sysdeps/unix/sysv/linux/configure: Regenerated.
35412 * sysdeps/unix/sysv/linux/kernel-features.h
35413 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35414 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35416 (__ASSUME_UTIMES): Likewise.
35417 (__ASSUME_CLONE_STOPPED): Remove.
35418 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35419 architectures, not kernel version.
35420 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35421 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35422 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35423 (__ASSUME_WAITID_SYSCALL): Likewise.
35424 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35425 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35426 * README: State 2.6.16 as minimum Linux kernel version. Do not
35427 refer to older versions.
35429 2012-08-06 Roland McGrath <roland@hack.frob.com>
35431 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35432 Define alphasort64 as an alias.
35433 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35434 Define versionsort64 as an alias.
35435 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35436 Define scandir64 as an alias.
35437 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35438 Define scandirat64 as an alias.
35439 * dirent/alphasort64.c (alphasort64):
35440 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35441 * dirent/versionsort64.c: Likewise.
35442 * dirent/scandir64.c: Likewise.
35443 * dirent/scandirat64.c: Likewise.
35444 * sysdeps/wordsize-64/alphasort.c: File removed.
35445 * sysdeps/wordsize-64/alphasort64.c: File removed.
35446 * sysdeps/wordsize-64/scandir.c: File removed.
35447 * sysdeps/wordsize-64/scandir64.c: File removed.
35448 * sysdeps/wordsize-64/scandirat.c: File removed.
35449 * sysdeps/wordsize-64/scandirat64.c: File removed.
35450 * sysdeps/wordsize-64/versionsort.c: File removed.
35451 * sysdeps/wordsize-64/versionsort64.c: File removed.
35452 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35453 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35454 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35455 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35456 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35457 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35458 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35459 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35461 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35462 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35463 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35464 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35465 [defined __arch64__ || defined __sparcv9]
35466 (__INO_T_MATCHES_INO64_T): New macro.
35467 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35468 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35469 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35470 * sysdeps/unix/sysv/linux/bits/dirent.h
35471 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35472 (_DIRENT_MATCHES_DIRENT64): New macro.
35474 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35475 Define lockf64 as an alias.
35476 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35477 Define fseeko64 as an alias.
35478 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35479 Define ftello64 as an alias.
35480 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35481 Define _IO_fgetpos64 and fgetpos64 as aliases.
35482 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35483 Define _IO_fsetpos64 and fsetpos64 as aliases.
35484 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35485 Conditionalize body on this.
35486 * libio/fseeko64.c: Likewise.
35487 * libio/ftello64.c: Likewise.
35488 * libio/iofgetpos64.c: Likewise.
35489 * libio/iofsetpos64.c: Likewise.
35490 * sysdeps/wordsize-64/lockf.c: File removed.
35491 * sysdeps/wordsize-64/lockf64.c: File removed.
35492 * sysdeps/wordsize-64/fseeko.c: File removed.
35493 * sysdeps/wordsize-64/fseeko64.c: File removed.
35494 * sysdeps/wordsize-64/ftello.c: File removed.
35495 * sysdeps/wordsize-64/ftello64.c: File removed.
35496 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35497 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35498 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35499 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35500 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35501 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35502 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35503 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35504 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35505 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35506 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35507 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35508 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35509 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35511 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35513 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35515 [defined __arch64__ || defined __sparcv9]
35516 (__OFF_T_MATCHES_OFF64_T): New macro.
35517 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35518 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35520 (__OFF_T_MATCHES_OFF64_T): New macro.
35522 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35524 * stdlib/secure-getenv.c (__secure_getenv): Replace
35525 GLIBC_2_16 with GLIBC_2_17.
35527 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35529 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35530 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35532 2012-08-03 David S. Miller <davem@davemloft.net>
35534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35536 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35538 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35540 (__ASSUME_CORRECT_SI_PID): Likewise.
35541 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35542 (__ASSUME_TMPFS_NAME): Likewise.
35543 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35544 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35545 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35546 (HAVE_AUX_SECURE): Make definition unconditional.
35547 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35548 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35550 2012-08-03 Roland McGrath <roland@hack.frob.com>
35552 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35553 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35554 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35555 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35556 __eloop_threshold instead of SYMLOOP_MAX.
35558 * sysdeps/generic/eloop-threshold.h: New file.
35559 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35561 * elf/chroot_canon.c (chroot_canon): Likewise.
35563 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35567 Change to 2.6.0 everywhere.
35568 * sysdeps/unix/sysv/linux/configure: Regenerated.
35569 * sysdeps/unix/sysv/linux/kernel-features.h
35570 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35571 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35573 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35574 (__ASSUME_FUTEX_REQUEUE): Remove.
35575 (__ASSUME_STATFS64): Define unconditionally.
35576 (__ASSUME_AT_SECURE): Likewise.
35577 (__ASSUME_CORRECT_SI_PID): Likewise.
35578 (__ASSUME_TGKILL): Define without depending on kernel version for
35580 (__ASSUME_UTIMES): Likewise.
35581 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35583 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35584 (__ASSUME_TMPFS_NAME): Likewise.
35585 * README: Update reference to Linux kernel versions.
35587 2012-08-02 Marek Polacek <polacek@redhat.com>
35590 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35591 libc_cv_asm_type_prefix with %.
35592 * configure: Regenerated.
35593 * include/libc-symbols.h: Remove comment about
35594 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35595 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35596 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35597 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35598 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35599 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35600 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35601 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35602 * elf/tst-unique2mod1.c: Likewise.
35603 * elf/tst-unique1mod2.c: Likewise.
35604 * elf/tst-unique1mod1.c: Likewise.
35605 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35606 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35607 Replace ASM_TYPE_DIRECTIVE with .type.
35608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35609 * sysdeps/i386/sysdep.h: Likewise.
35610 * sysdeps/x86_64/sysdep.h: Likewise.
35611 * sysdeps/sh/sysdep.h: Likewise.
35612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35613 Do not define ASM_TYPE_DIRECTIVE.
35614 * sysdeps/powerpc/sysdep.h: Likewise.
35615 * sysdeps/powerpc/powerpc32/sysdep.h:
35616 Replace ASM_TYPE_DIRECTIVE with .type.
35617 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35618 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35619 * sysdeps/i386/fpu/e_powf.S: Likewise.
35620 * sysdeps/i386/fpu/e_expl.S: Likewise.
35621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35622 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35623 * sysdeps/i386/fpu/e_pow.S: Likewise.
35624 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35625 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35626 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35627 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35628 * sysdeps/i386/fpu/e_log2.S: Likewise.
35629 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35630 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35631 * sysdeps/i386/fpu/e_powl.S: Likewise.
35632 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35633 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35634 * sysdeps/i386/fpu/e_logl.S: Likewise.
35635 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35636 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35637 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35638 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35639 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35640 * sysdeps/i386/fpu/e_log.S: Likewise.
35641 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35642 * sysdeps/i386/fpu/e_logf.S: Likewise.
35643 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35644 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35645 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35646 * sysdeps/i386/fpu/e_log10.S: Likewise.
35647 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35648 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35649 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35650 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35651 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35653 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35654 * sysdeps/i386/i686/strtok.S: Likewise.
35655 * sysdeps/i386/i386-mcount.S: Likewise.
35656 * sysdeps/i386/strtok.S: Likewise.
35657 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35658 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35659 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35660 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35661 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35663 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35664 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35665 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35666 * sysdeps/x86_64/_mcount.S: Likewise.
35667 * sysdeps/x86_64/strtok.S: Likewise.
35668 * sysdeps/sh/_mcount.S: Likewise.
35670 2012-08-01 Roland McGrath <roland@hack.frob.com>
35672 * libio/iofopen.c: Include <fcntl.h>.
35673 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35674 (_IO_fopen64, fopen64): Define as aliases.
35675 * libio/iofopen64.c: Include <fcntl.h>.
35676 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35677 Conditionalize body on this.
35678 * sysdeps/wordsize-64/iofopen.c: File removed.
35679 * sysdeps/wordsize-64/iofopen64.c: File removed.
35681 2012-08-01 Marek Polacek <polacek@redhat.com>
35683 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35684 Use dlfcn directly instead of a variable.
35685 (binfmt-subdir): Do not define.
35688 2012-08-01 Joseph Myers <joseph@codesourcery.com>
35690 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35691 Remove all definitions.
35692 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35693 <kernel-features.h>.
35694 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35695 (miss_F_GETOWN_EX): Remove all definitions.
35696 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35698 [!__ASSUME_FCNTL64]: Remove conditional code.
35699 [__ASSUME_FCNTL64]: Make code unconditional.
35700 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35701 <kernel-features.h>.
35702 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35703 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35704 (lockf64) [__NR_fcntl64]: Make code unconditional.
35705 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35707 * sysdeps/unix/sysv/linux/kernel-features.h
35708 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35709 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35710 Make code unconditional.
35711 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35712 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35714 [__NR_vfork]: Make code unconditional.
35715 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35716 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35718 [__NR_vfork]: Make code unconditional.
35719 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35720 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35722 2012-08-01 Roland McGrath <roland@hack.frob.com>
35724 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35725 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35727 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35728 Define mkstemp64 as an alias.
35729 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35730 Define mkstemps64 as an alias.
35731 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35732 Define mkostemp64 as an alias.
35733 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35734 Define mkostemps64 as an alias.
35735 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35736 Conditionalize body on this.
35737 * misc/mkostemp64.c: Likewise.
35738 * misc/mkostemps64.c: Likewise.
35739 * misc/mkstemps64.c: Likewise.
35740 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35741 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35742 * sysdeps/wordsize-64/mkostemp.c: File removed.
35743 * sysdeps/wordsize-64/mkstemp.c: File removed.
35744 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35745 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35746 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35747 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35750 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35751 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35752 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35753 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35755 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35756 compat_symbol macros from <shlib-compat.h> rather than the underlying
35757 default_symbol_version and symbol_version macros, so that DEFAULT
35758 lines in shlib-versions are respected.
35759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35761 2012-08-01 Florian Weimer <fweimer@redhat.com>
35763 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35764 Declare with warn_unused_result.
35765 (setgid, setregid, setegid, setresgid): Likewise.
35766 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35768 * WUR-REPORT: Remove set*id functions.
35770 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35772 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35774 2012-07-31 Roland McGrath <roland@hack.frob.com>
35777 * include/sys/socket.h (__libc_accept, __libc_accept4):
35778 Add attribute_hidden.
35779 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35781 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35783 * inet/getnetgrent_r.c (setup): Likewise.
35785 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35787 2012-07-31 David S. Miller <davem@davemloft.net>
35789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35791 2012-07-31 Joseph Myers <joseph@codesourcery.com>
35794 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35795 value between 1.0 and 2.0 and smaller part has absolute value less
35797 * math/s_clog10.c (__clog10): Likewise.
35798 * math/s_clog10f.c (__clog10f): Likewise.
35799 * math/s_clog10l.c (__clog10l): Likewise.
35800 * math/s_clogf.c (__clogf): Likewise.
35801 * math/s_clogl.c (__clogl): Likewise.
35802 * math/libm-test.inc (clog_test): Add more tests.
35803 (clog10_test): Likewise.
35804 * sysdeps/i386/fpu/libm-test-ulps: Update.
35805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35807 2012-07-31 Florian Weimer <fweimer@redhat.com>
35809 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35810 Exit with zero in case no suitable GID is found, and write a
35811 message to standard error.
35813 2012-07-30 Roland McGrath <roland@hack.frob.com>
35815 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35817 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35818 (MAXPATHLEN): Removed.
35819 (NOGROUP, NODEV): New macros.
35820 (setbit, clrbit, isset, isclr): New macros.
35821 (howmany, roundup, powerof2): New macros.
35822 (DEV_BSIZE): New macro.
35824 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35825 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35827 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35828 definition on [!__NO_LONG_DOUBLE_MATH].
35830 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35831 PTR_MANGLE and PTR_DEMANGLE.
35833 * socket/accept4.c (accept4): Rename to __libc_accept4.
35834 Define accept4 as a weak alias.
35836 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35837 on [_DIRENT_HAVE_D_TYPE].
35838 * io/ftw.c (ftw_dir): Likewise.
35840 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35842 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35844 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35845 Use the BSD numbers rather than the arbitrary ones we had.
35846 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35847 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35848 (SIGXCPU, SIGXFSZ): New macros.
35851 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35852 initializer on [_LIBC_REENTRANT].
35854 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35855 definitions inside [_POSIX_MAPPED_FILES].
35857 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35859 * dirent/opendir.c: Include <fcntl.h>.
35861 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35862 (__libc_getspecific): Likewise.
35863 (__libc_key_create): Likewise.
35865 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35866 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35867 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35868 (tmpfile64): Define as alias.
35869 * sysdeps/wordsize-64/tmpfile.c: File removed.
35870 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35871 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35872 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35874 * stdio-common/vfscanf.c: Include <stdbool.h>.
35875 * nss/makedb.c: Likewise.
35876 * stdio-common/_i18n_number.h: Likewise.
35877 * argp/argp-help.c: Likewise.
35878 * posix/wordexp.c: Likewise.
35879 * sysdeps/posix/spawni.c: Likewise.
35880 * nss/nss_files/files-initgroups.c: Likewise.
35881 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35882 * nss/nss_files/files-initgroups.c: Likewise.
35883 * nss/nss_db/db-netgrp.c: Likewise.
35884 * nss/nss_db/db-initgroups.c: Likewise.
35885 * io/fchmodat.c: Include <sys/stat.h>.
35887 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35888 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35890 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35893 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35894 Add multiple inclusion protection.
35896 2012-07-27 David S. Miller <davem@davemloft.net>
35898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35900 2012-07-27 Gary Benson <gbenson@redhat.com>
35903 * elf/rtld.c: Include <stap-probe.h>.
35904 (dl_main): Added static probes "init_start" and "init_complete".
35905 * elf/dl-load.c: Include <stap-probe.h>.
35906 (lose): Take new parameter "nsid".
35907 Added static probe "map_failed".
35908 (_dl_map_object_from_fd): Pass namespace id to lose.
35909 Added static probe "map_start".
35910 (open_verify): Pass namespace id to lose.
35911 * elf/dl-open.c: Include <stap-probe.h>.
35912 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35913 and "reloc_complete".
35914 * elf/dl-close.c: Include <stap-probe.h>.
35915 (_dl_close_worker): Added static probes "unmap_start" and
35917 * elf/rtld-debugger-interface.txt: New file documenting the above.
35919 2012-07-26 Roland McGrath <roland@hack.frob.com>
35921 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35922 rather than a string variable.
35923 * sunrpc/rpc_main.c (h_output): Likewise.
35924 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35926 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35928 * inet/check_native.c: New file.
35930 2012-07-26 Joseph Myers <joseph@codesourcery.com>
35933 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35934 if larger part has absolute value 1.0.
35935 * math/s_clog10.c (__clog10): Likewise.
35936 * math/s_clog10f.c (__clog10f): Likewise.
35937 * math/s_clog10l.c (__clog10l): Likewise.
35938 * math/s_clogf.c (__clogf): Likewise.
35939 * math/s_clogl.c (__clogl): Likewise.
35940 * math/libm-test.inc (clog_test): Add more tests.
35941 (clog10_test): Likewise.
35942 * sysdeps/i386/fpu/libm-test-ulps: Update.
35943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35945 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35946 (pltexit): Likewise.
35947 (La_regs): Likewise.
35948 (La_retval): Likewise.
35949 (int_retval): Likewise.
35950 Update #error for removed macros to refer only to definitions in
35952 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35954 (pltexit): Likewise.
35955 (La_regs): Likewise.
35956 (La_retval): Likewise.
35957 (int_retval): Likewise.
35958 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35960 (pltexit): Likewise.
35961 (La_regs): Likewise.
35962 (La_retval): Likewise.
35963 (int_retval): Likewise.
35964 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35966 (pltexit): Likewise.
35967 (La_regs): Likewise.
35968 (La_retval): Likewise.
35969 (int_retval): Likewise.
35970 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35972 (pltexit): Likewise.
35973 (La_regs): Likewise.
35974 (La_retval): Likewise.
35975 (int_retval): Likewise.
35976 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35978 (pltexit): Likewise.
35979 (La_regs): Likewise.
35980 (La_retval): Likewise.
35981 (int_retval): Likewise.
35982 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35984 (pltexit): Likewise.
35985 (La_regs): Likewise.
35986 (La_retval): Likewise.
35987 (int_retval): Likewise.
35988 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35989 macro definitions in tst-audit.h.
35990 * sysdeps/i386/tst-audit.h: New file.
35991 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35992 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35993 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35994 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35995 * sysdeps/sh/tst-audit.h: Likewise.
35996 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35997 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35998 * sysdeps/x86_64/tst-audit.h: Likewise.
36000 2012-07-26 Andreas Jaeger <aj@suse.de>
36002 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36005 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36006 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36007 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36009 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36010 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36011 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36013 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36016 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36018 (si_call_addr, si_syscall, si_arch): Define new macro.
36019 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36021 (si_call_addr, si_syscall, si_arch): Define new marcro.
36022 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36024 (si_call_addr, si_syscall, si_arch): Define new macro.
36025 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36027 (si_call_addr, si_syscall, si_arch): Define new macro.
36029 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36032 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36033 Change to 2.4.21 where previously 2.4.1.
36034 * sysdeps/unix/sysv/linux/configure: Regenerated.
36035 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36036 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36037 Linux kernel version.
36038 (__ASSUME_STD_AUXV): Remove.
36039 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36041 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36042 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36043 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36044 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36045 (__ASSUME_NETLINK_SUPPORT): Likewise.
36046 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36047 (__no_netlink_support): Remove conditional definition.
36048 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36050 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36051 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36052 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36053 (if_nameindex_ioctl): Remove.
36054 (if_nameindex_netlink): Do not handle __no_netlink_support.
36055 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36057 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36058 Remove conditional code.
36059 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36061 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36063 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36064 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36065 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36067 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36068 [!__ASSUME_STD_AUXV]: Remove conditional code.
36069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36070 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36071 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36073 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36074 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36076 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36078 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36079 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36081 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36083 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36086 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36089 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36090 code unconditional.
36091 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36093 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36095 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36098 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36100 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36103 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36104 code unconditional.
36105 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36107 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36109 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36112 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36113 code unconditional.
36114 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36116 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36118 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36121 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36123 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36124 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36125 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36126 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36127 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36128 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36129 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36130 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36131 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36132 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36133 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36134 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36135 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36136 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36137 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36138 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36139 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36140 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36141 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36143 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36144 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36145 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36147 2012-07-25 Florian Weimer <fweimer@redhat.com>
36149 * Versions.def: Add GLIBC_2.17.
36150 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36151 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36152 Introduce __libc_secure_getenv.
36153 * stdlib/Versions (2.17): Add secure_getenv
36154 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36155 * stdlib/secure-getenv.c: Rename __secure_getenv to
36156 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36157 symbol __secure_getenv for GLIBC_2.0.
36158 * stdlib/tst-secure-getenv.c: New.
36159 * stdlib/Makefile (tests): Add testcase.
36160 * manual/startup.texi (Environment Access): Document
36162 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36163 __libc_secure_getenv.
36164 * inet/ruserpass.c (ruserpass): Likewise.
36165 * malloc/mtrace.c (mtrace): Likewise.
36166 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36167 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36168 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36169 * sysdeps/posix/tempname.c: Likewise. Evaluate
36170 HAVE_SECURE_GETENV.
36171 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36172 __secure_getenv to __libc_secure_getenv.
36173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36186 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36188 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36189 (struct La_i86_retval): Likewise.
36190 (struct La_x86_64_regs): Likewise.
36191 (struct La_x86_64_retval): Likewise.
36192 (struct La_x32_regs): Likewise.
36193 (struct La_x32_retval): Likewise.
36194 (struct La_ppc32_regs): Likewise.
36195 (struct La_ppc32_retval): Likewise.
36196 (struct La_ppc64_regs): Likewise.
36197 (struct La_ppc64_retval): Likewise.
36198 (struct La_sh_regs): Likewise.
36199 (struct La_sh_retval): Likewise.
36200 (struct La_s390_32_regs): Likewise.
36201 (struct La_s390_32_retval): Likewise.
36202 (struct La_s390_64_regs): Likewise.
36203 (struct La_s390_64_retval): Likewise.
36204 (struct La_sparc32_regs): Likewise.
36205 (struct La_sparc32_retval): Likewise.
36206 (struct La_sparc64_regs): Likewise.
36207 (struct La_sparc64_retval): Likewise.
36208 (struct audit_ifaces): Remove architecture-specific pltenter and
36210 * sysdeps/i386/ldsodefs.h: New file.
36211 * sysdeps/powerpc/ldsodefs.h: Likewise.
36212 * sysdeps/s390/ldsodefs.h: Likewise.
36213 * sysdeps/sh/ldsodefs.h: Likewise.
36214 * sysdeps/sparc/ldsodefs.h: Likewise.
36215 * sysdeps/x86_64/ldsodefs.h: Likewise.
36217 2012-07-25 Marek Polacek <polacek@redhat.com>
36220 * math/libm-test.inc (yn_test): Add another test.
36221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36222 to ERANGE when the result is +-Inf.
36223 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36224 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36225 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36226 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36228 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36230 * conform/data/time.h-data (NULL): Use macro-constant. Require
36232 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36234 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36236 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36238 * configure.in <sysdeps resolving>: Correct printing
36240 * configure: Regenerate.
36242 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36244 * math/w_ilogb.c: Include <limits.h>.
36245 * math/w_ilogbl.c: Likewise.
36247 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36249 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36250 va_copy. Document allowing for unavailable va_copy only as
36251 pre-C99 compatibility.
36252 * manual/string.texi (Copying and Concatenation): Use va_copy
36253 instead of __va_copy in concat example.
36255 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36257 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36258 (__sendto): Use create_address_port. Initialize APORT and deallocate
36261 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36262 with O_NOLINK passed to __file_name_lookup.
36264 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36265 with O_NOLINK passed to __file_name_lookup.
36267 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36268 negative N or less than NGIDS.
36270 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36271 type to string_t. Set ERANGE as errno and return it if NAME is not big
36272 enough. Use memcpy instead of strncpy.
36274 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36276 * elf/Makefile (check-data): Remove.
36277 (localplt.data): New vpath directive.
36278 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36279 instead of $(check-data).
36280 * scripts/data/localplt-generic.data: Move to ...
36281 * sysdeps/generic/localplt.data: ... here.
36282 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36283 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36284 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36287 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36290 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36293 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36296 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36299 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36303 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36305 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36306 PPC32 and PPC64 files.
36307 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36308 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36310 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36312 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36313 __makecontext_ret to ...
36314 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36315 ... here and call exit if uc_link is NULL. New file.
36316 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36317 __makecontext_ret.S.
36318 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36319 __makecontext_ret to ...
36320 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36321 ... here and call exit if uc_link is NULL. New file.
36322 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36323 __makecontext_ret.S.
36325 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36327 * elf/elf.h (R_390_IRELATIVE): New definition.
36328 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36329 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36330 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36331 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36332 (elf_machine_lazy_rel): Likewise.
36333 * sysdeps/s390/dl-irel.h: New file.
36334 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36335 * sysdeps/s390/s390-64/memset.S: New asm code.
36336 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36337 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36338 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36339 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36340 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36341 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36342 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36343 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36344 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36345 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36346 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36347 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36348 * sysdeps/s390/s390-32/memset.S: New asm code.
36349 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36351 2012-07-17 Marek Polacek <polacek@redhat.com>
36354 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36355 * sysdeps/s390/s390-64/configure.in: Likewise.
36356 * sysdeps/sparc/configure.in: Likewise.
36357 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36358 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36359 * sysdeps/i386/configure.in: Likewise.
36360 * sysdeps/x86_64/configure.in: Likewise.
36361 * sysdeps/sh/configure.in: Likewise.
36362 * sysdeps/s390/s390-32/configure: Regenerated.
36363 * sysdeps/s390/s390-64/configure: Likewise.
36364 * sysdeps/x86_64/configure: Likewise.
36365 * sysdeps/sh/configure: Likewise.
36366 * sysdeps/powerpc/powerpc64/configure: Likewise.
36367 * sysdeps/powerpc/powerpc32/configure: Likewise.
36368 * sysdeps/sparc/configure: Likwise.
36369 * sysdeps/i386/configure: Likewise.
36371 * elf/dl-open.c: Comment fixes.
36373 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36375 * Makefile [CXX] (check-data): Remove.
36376 [CXX] (c++-types.data): New vpath directive.
36377 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36378 vpath. Do not allow for C++ type data being missing.
36379 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36380 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36381 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36382 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36383 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36384 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36385 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36388 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36391 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36394 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36397 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36400 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36403 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36406 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36409 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36410 definitions to architecture-specific files.
36411 (TLS_IE): Likewise.
36412 (TLS_LD): Likewise.
36413 (TLS_GD): Likewise.
36414 * sysdeps/i386/tls-macros.h: New file.
36415 * sysdeps/powerpc/tls-macros.h: Likewise.
36416 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36417 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36418 * sysdeps/sh/tls-macros.h: Likewise.
36419 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36420 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36421 * sysdeps/x86_64/tls-macros.h: Likewise.
36423 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36425 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36426 zero value for regular exit case.
36428 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36429 (__start_context): Preserve zero value for regular exit case.
36431 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36432 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36434 * manual/setjmp.texi (setcontext): Clarify normal process
36435 termination when uc_link is the null pointer.
36436 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36439 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36441 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36442 preprocessor. Test for each exception mask separately.
36444 2012-07-16 Andreas Jaeger <aj@suse.de>
36446 * po/ru.po: Update from translation team.
36448 2012-07-15 Joseph Myers <joseph@codesourcery.com>
36450 * conform/data/string.h-data (NULL): Use macro-constant. Require
36452 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36453 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36454 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36455 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36458 2012-07-13 Andreas Jaeger <aj@suse.de>
36460 * po/fr.po: Update from translation team.
36462 2012-07-12 Marek Polacek <polacek@redhat.com>
36465 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36466 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36469 2012-07-12 Joseph Myers <joseph@codesourcery.com>
36472 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36473 Change to 2.4.1 where previously 2.4.0.
36474 * sysdeps/unix/sysv/linux/configure: Regenerated.
36475 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36476 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36478 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36479 (__ASSUME_AT_CLKTCK): Remove.
36480 (__ASSUME_AT_PAGESIZE): Likewise.
36481 (__ASSUME_AT_XID): Likewise.
36482 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36483 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36484 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36486 (HAVE_AUX_PAGESIZE): Likewise.
36487 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36488 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36489 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36491 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36495 the temporary buffer used to invoke __gethostbyname2_r,
36496 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36497 host_data / struct gaih_addrtuple.
36498 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36499 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36500 header file nss/nsswitch.h.
36501 * nss/nsswitch.h (global scope): Add definition of implementation
36502 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36503 resolv/nss_dns/dns-host.c).
36505 2012-07-11 Andreas Jaeger <aj@suse.de>
36507 * po/fr.po: Update from translation team.
36509 * po/sv.po: Update from translation team
36510 * po/fr.po: Another update from translation team.
36512 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36514 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36515 for subnormals or multiply small sinh result by itself.
36516 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36519 2012-07-11 David S. Miller <davem@davemloft.net>
36521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36523 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36526 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36527 (INTERNAL_MARK): Shift it here.
36529 2012-07-10 Marek Polacek <polacek@redhat.com>
36532 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36533 libc_cv_asm_global_directive with .globl.
36534 * configure: Regenerated.
36535 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36537 * sysdeps/i386/configure: Regenerated.
36538 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36540 * sysdeps/x86_64/configure: Regenerated.
36541 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36542 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36543 * elf/tst-unique2mod2.c: Likewise.
36544 * elf/tst-unique2mod1.c: Likewise.
36545 * elf/tst-unique1mod2.c: Likewise.
36546 * elf/tst-unique1mod1.c: Likewise.
36547 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36548 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36550 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36551 * sysdeps/mach/sysdep.h: Likewise.
36552 * sysdeps/i386/sysdep.h: Likewise.
36553 * sysdeps/i386/i386-mcount.S: Likewise.
36554 * sysdeps/x86_64/_mcount.S: Likewise.
36555 * sysdeps/x86_64/sysdep.h: Likewise.
36556 * sysdeps/sh/_mcount.S: Likewise.
36557 * sysdeps/sh/sysdep.h: Likewise.
36558 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36559 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36560 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36561 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36562 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36563 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36564 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36565 * locale/localeinfo.h: Likewise.
36566 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36567 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36569 2012-07-09 Roland McGrath <roland@hack.frob.com>
36572 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36574 * manual/message.texi (The Uniforum approach): Likewise.
36575 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36576 (glibc iconv Implementation): Likewise.
36578 2012-07-09 Joseph Myers <joseph@codesourcery.com>
36581 * math/s_clog.c (__clog): Avoid scaling a value down where that
36582 could result in underflow.
36583 * math/s_clog10.c (__clog10): Likewise.
36584 * math/s_clog10f.c (__clog10f): Likewise.
36585 * math/s_clog10l.c (__clog10l): Likewise.
36586 * math/s_clogf.c (__clogf): Likewise.
36587 * math/s_clogl.c (__clogl): Likewise.
36588 * math/libm-test.inc (clog_test): Add more tests.
36589 (clog10_test): Likewise.
36590 * sysdeps/i386/fpu/libm-test-ulps: Update.
36591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36593 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36596 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36597 by 7 not 8 to examine high bit of fractional part.
36600 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36601 for call to __mcount_internal.
36602 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36603 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36604 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36606 2012-07-06 Joseph Myers <joseph@codesourcery.com>
36609 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36610 approximation for values within 0x1p-13f of an odd multiple of
36612 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36613 exception. Add more tests.
36614 * sysdeps/i386/fpu/libm-test-ulps: Update.
36617 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36618 inputs and return -1 for them. Do not check for +Inf in case not
36619 reachable for +Inf.
36620 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36621 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36622 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36623 and return -1 for them. Do not check for +Inf in case not
36624 reachable for +Inf.
36625 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36627 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36628 and return -1 for them. Do not check for +Inf in case not
36629 reachable for +Inf.
36630 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36631 spurious underflow.
36632 * sysdeps/i386/fpu/libm-test-ulps: Update.
36633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36635 2012-07-06 Mike Frysinger <vapier@gentoo.org>
36637 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36639 2012-07-05 Joseph Myers <joseph@codesourcery.com>
36643 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36644 could result in spurious underflow. Scale down values above
36645 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36646 * math/s_csqrtf.c (__csqrtf): Likewise.
36647 * math/s_csqrtl.c (__csqrtl): Likewise.
36648 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36649 spurious underflow.
36650 * sysdeps/i386/fpu/libm-test-ulps: Update.
36651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36653 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36655 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36657 * catgets/xopen-msg.awk: New file.
36658 * catgets/xopen-msg.sed: Removed.
36660 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36662 * intl/po2test.awk: New file.
36663 * intl/po2test.sed: Removed.
36665 2012-07-04 Joseph Myers <joseph@codesourcery.com>
36668 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36669 or multiply small sinh result by itself.
36670 * math/s_ctanf.c (__ctanf): Likewise.
36671 * math/s_ctanh.c (__ctanh): Likewise.
36672 * math/s_ctanhf.c (__ctanhf): Likewise.
36673 * math/s_ctanhl.c (__ctanhl): Likewise.
36674 * math/s_ctanl.c (__ctanl): Likewise.
36675 * math/libm-test.inc (ctan_test_tonearest): New function.
36676 (ctan_test_towardzero): Likewise.
36677 (ctan_test_downward): Likewise.
36678 (ctan_test_upward): Likewise.
36679 (ctanh_test_tonearest): Likewise.
36680 (ctanh_test_towardzero): Likewise.
36681 (ctanh_test_downward): Likewise.
36682 (ctanh_test_upward): Likewise.
36683 (main): Call these new functions.
36684 * sysdeps/i386/fpu/libm-test-ulps: Update.
36685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36687 2012-07-03 Mike Frysinger <vapier@gentoo.org>
36689 * .gitignore: Delete /ports entry.
36691 2012-07-03 Andreas Jaeger <aj@suse.de>
36693 * po/bg.po: Update from translation team.
36694 * po/cs.po: Likewise.
36695 * po/de.po: Likewise.
36696 * po/hr.po: Likewise.
36697 * po/nl.pl: Likewise.
36698 * po/pl.po: Likewise.
36699 * po/vi.po: Likewise.
36701 2012-07-03 Joseph Myers <joseph@codesourcery.com>
36703 * Makeconfig [!+link] (+link-before-libc): New variable.
36704 [!+link] (+link-after-libc): Likewise.
36705 [!+link] (+link-tests): Likewise.
36706 [!+link] (+link): Define in terms of $(+link-before-libc) and
36707 $(+link-after-libc).
36708 [!+link-static] (+link-static-before-libc): New variable.
36709 [!+link-static] (+link-static-after-libc): Likewise.
36710 [!+link-static] (+link-static-tests): Likewise.
36711 [!+link-static] (+link-static): Define in terms of
36712 $(+link-static-before-libc) and $(+link-static-after-libc).
36713 [build-shared] (link-libc-before-gnulib): New variable.
36714 [build-shared] (link-libc-tests): Likewise.
36715 [build-shared] (link-libc): Define in terms of
36716 $(link-libc-before-gnulib).
36717 [!build-shared] (link-libc-tests): New variable.
36718 (link-libc-static-tests): New variable.
36719 [!gnulib] (gnulib-arch): New variable.
36720 [!gnulib] (gnulib-tests): Likewise.
36721 [!gnulib] (static-gnulib-arch): Likewise.
36722 [!gnulib] (static-gnulib-tests): Likewise.
36723 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36724 Define with "=" instead of ":=".
36725 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36726 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36727 * Rules (binaries-all-notests): New variable.
36728 (binaries-all-tests): Likewise.
36729 (binaries-static-notests): Likewise.
36730 (binaries-static-tests): Likewise.
36731 (binaries-all): Define using $(binaries-all-notests) and
36732 $(binaries-all-tests).
36733 (binaries-static): Define using $(binaries-static-notests) and
36734 $(binaries-static-tests).
36735 (binaries-shared-tests): New variable.
36736 (binaries-shared-notests): Likewise.
36737 (binaries-shared): Remove variable.
36738 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36739 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36740 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36741 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36742 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36743 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36744 * elf/Makefile (sln-modules): New variable.
36745 (extra-objs): Add $(sln-modules:=.o).
36746 (ldconfig-modules): Add static-stubs.
36747 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36748 * elf/static-stubs.c: New file.
36751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36752 by 7 not 8 to examine high bit of fractional part. Use volatile
36753 variables when splitting into final array of floats if
36754 __FLT_EVAL_METHOD__ != 0.
36755 * math/libm-test.inc (cos_test): Add another test.
36756 (sin_test): Likewise.
36757 * sysdeps/i386/fpu/libm-test-ulps: Update.
36760 * math/libm-test.inc (cosh_test): Add more tests.
36762 * version.h (RELEASE): Set to "development".
36763 (VERSION): Set to "2.16.90".
36765 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36767 * NEWS: Update copyright. Remove last-updated date.
36768 Mention math library bug fixes and timezone data changes.
36769 * README: Mention GNU/Hurd, x32, and HPPA support status.
36771 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36773 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36775 2012-06-27 Andreas Jaeger <aj@suse.de>
36777 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36779 2012-06-25 Andreas Jaeger <aj@suse.de>
36781 * sysdeps/s390/fpu/libm-test-ulps: Update.
36783 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36784 Thomas Schwinge <thomas@codesourcery.com>
36786 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36787 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36791 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36793 * sysdeps/mach/start.c: Remove file.
36794 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36795 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36796 * sysdeps/sh/init-first.c: Likewise.
36798 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36799 registers for frame unwinding purposes, add CFI directives.
36800 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36801 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36802 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36805 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36806 __fortify_fail returning.
36807 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36809 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36810 sysdeps/sh/____longjmp_chk.S.
36811 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36812 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36813 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36814 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36816 * sysdeps/sh/abort-instr.h: New file.
36817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36818 process in case exit returns.
36820 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36821 initialize the GOT register before use.
36823 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36824 calculation of ARGC > 4.
36826 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36827 meaningful names to some local labels.
36829 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36830 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36832 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36833 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36834 (__arch_compare_and_exchange_val_16_acq): Likewise.
36835 (__arch_compare_and_exchange_val_32_acq): Likewise.
36836 (atomic_exchange_and_add): Fix gUSA sequence.
36837 (atomic_add): Likewise.
36838 (atomic_add_negative): Likewise.
36839 (atomic_add_zero): Likewise.
36840 (atomic_bit_test_set): Likewise.
36842 2012-06-22 Andreas Schwab <schwab@redhat.com>
36845 * include/link.h (struct link_map): Add l_free_initfini.
36846 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36848 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36849 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36850 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36853 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36855 * configure.in: Use AC_LANG_SOURCE.
36856 * configure: Regenerate.
36858 2012-06-22 Roland McGrath <roland@hack.frob.com>
36860 * configure.in (libc_cv_localstatedir): New substituted variable.
36861 * configure: Regenerated.
36862 * config.make.in (localstatedir): New variable, substituted from
36863 libc_cv_localstatedir.
36864 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36865 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36866 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36867 * sysdeps/gnu/configure: Regenerated.
36869 2012-06-21 Jeff Law <law@redhat.com>
36872 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36873 free. Simplify list management for _LIBC case.
36875 2012-06-21 Joseph Myers <joseph@codesourcery.com>
36878 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36879 Clear sign bit of 64-bit integer value before comparing against
36882 * sysdeps/mach/configure: Regenerated.
36884 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36887 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36889 2012-06-21 Jeff Law <law@redhat.com>
36892 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36893 uint16_t for elements in the "seen" array to avoid char overflows.
36894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36895 * elf/dl-open.c (dl_open_worker): Likewise.
36897 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36899 * scripts/list-sources.sh: Scan PORTS for translations.
36900 * po/libc.pot: Regenerated.
36902 2012-06-21 Andreas Jaeger <aj@suse.de>
36905 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36907 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36908 * bits/byteswap-16.h (__bswap_16): Likewise.
36909 * bits/byteswap.h (__bswap_constant_16): Likewise.
36911 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36914 * sysdeps/i386/fpu_control.h: Removed.
36915 * sysdeps/x86_64/fpu_control.h: Moved to ...
36916 * sysdeps/x86/fpu_control.h: Here.
36918 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36919 (_FPU_SETCW): Likewise.
36921 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36924 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36925 * sysdeps/x86/fpu/bits/mathinline.h: This.
36926 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36930 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36931 functions if __x86_64__ is defined.
36933 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36935 * string/endian.h: Add !__ASSEMBLER__ condition for including
36936 conversion interfaces.
36938 2012-06-15 Joseph Myers <joseph@codesourcery.com>
36941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36942 of ABS(x) in calculating zero to negative powers other than odd
36944 * math/libm-test.inc (pow_test): Add more tests.
36946 2012-06-15 Andreas Jaeger <aj@suse.de>
36948 * manual/contrib.texi (Contributors): Update entry of Liubov
36949 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36952 2012-06-15 Cyril Hrubis <metan@ucw.cz>
36954 * string/string.h: Add __wur to GNU version of strerror_r.
36956 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36959 * string/Makefile (tests): Add tst-strtok_r.
36960 * string/tst-strtok_r.c: New file.
36961 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36962 RAX_LP/RDX_LP on SAVE_PTR.
36964 2012-06-14 Roland McGrath <roland@hack.frob.com>
36966 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36968 2012-06-14 Joseph Myers <joseph@codesourcery.com>
36970 * libm_test.inc (csqrt_test): Allow more spurious underflow
36972 (j0_test): Likewise.
36973 (j1_test): Likewise.
36974 (y0_test): Likewise.
36975 (y1_test): Likewise.
36977 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36979 * po/Makefile (libc.pot): Use UTF-8 charset.
36981 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36984 Suppress sign-conversion warning from FD_SET.
36985 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36986 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36987 not unsigned long int.
36988 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36990 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36994 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36995 __extern_always_inline instead of __extern_inline.
36996 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36997 (__signbit): Likewise.
36998 (__signbitl): Support C++ namespace.
36999 (lrintf): New inline function.
37001 (llrintf): Likewise.
37002 (llrint): Likewise.
37012 (floorf): Likewise.
37013 (nearbyint): Likewise.
37014 (nearbyintf): Likewise.
37016 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37018 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37019 non-default versions.
37021 2012-06-11 Roland McGrath <roland@hack.frob.com>
37024 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37026 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37028 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37029 (FE_UPWARD, FE_DOWNWARD): Don't define.
37030 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37031 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37033 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37035 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37036 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37038 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37040 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37042 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37043 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37045 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37048 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37049 * sysdeps/i386/fpu/Implies: New file.
37050 * sysdeps/x86_64/fpu/Implies: Likewise.
37051 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37052 * sysdeps/x86/fpu/bits/fenv.h: This.
37054 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37057 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37060 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37061 character 0xffff that matches the last element of the
37064 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37069 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37071 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37072 values higher than 25.6283.
37074 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37077 subnormal exponent extraction and add some __builtin_expect.
37078 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37079 Fix for subnormal mantissa calculation.
37081 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37083 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37084 cpu2 is -1 and errno is not ENOSYS.
37086 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37089 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37090 * sysdeps/x86/bits/string.h: This.
37091 * sysdeps/x86_64/bits/string.h: Removed.
37093 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37094 if not compiling for x86-64, but compiling for >= i486.
37096 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37097 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37099 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37100 New macro from Linux kernel 3.4.0.
37101 (FP_XSTATE_MAGIC2): Likewise.
37102 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37103 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37104 (struct _fpx_sw_bytes): New struct.
37105 (struct _xsave_hdr): Likewise.
37106 (struct _ymmh_state): Likewise.
37107 (struct _xstate): Likewise.
37109 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37110 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37111 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37112 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37113 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37114 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37116 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37117 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37118 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37119 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37120 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37121 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37123 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37126 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37127 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37128 (sysdep_headers): Include sys/platform/ppc.h.
37129 * sysdeps/powerpc/test-gettimebase.c: Test for
37130 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37131 * manual/Makefile (appendices): Include platform.texi.
37132 * manual/contrib.texi (Contributors): Update @node pointers.
37133 * manual/maint.texi (Maintenance): Likewise.
37134 (Platform): New node.
37135 * manual/platform.texi: New file. Document the new features.
37137 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37138 Jakub Jelinek <jakub@redhat.com>
37141 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37142 where __builtin_expect is unavailable.
37144 2012-06-03 David S. Miller <davem@davemloft.net>
37146 * stdlib/longlong.h: Updated from GCC.
37148 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37151 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37152 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37155 (GLIBC_2.16): Likewise.
37157 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37159 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37161 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37164 (default-abi): New variable.
37165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37166 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37168 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37170 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37172 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37175 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37176 definition. Document in comment.
37178 2012-06-01 David S. Miller <davem@davemloft.net>
37180 * stdlib/longlong.h: Updated from GCC.
37182 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37185 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37186 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37187 sys/debugreg.h sys/io.h here.
37188 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37189 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37191 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37192 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37193 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37194 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37195 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37196 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37199 Define only if __x86_64__ is defined.
37201 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37205 Use int64_t for variable i.
37206 * math/libm-test.inc (fmod_test): Add more tests.
37208 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37209 z computation is not scheduled after fetestexcept.
37210 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37211 Use math_force_eval instead of asm to ensure calculation scheduled
37212 before exception test.
37213 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37214 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37216 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37219 computation is not scheduled after fetestexcept.
37221 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37224 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37225 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37227 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37229 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37230 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37232 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37235 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37237 (__WCHAR_MIN): Support __WORDSIZE == 64.
37238 (__WCHAR_MAX): Likewise.
37240 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37241 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37244 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37245 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37248 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37249 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37251 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37252 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37254 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37255 Defined to 1 if __x86_64__ isn't defined.
37256 (_STAT_VER_LINUX_OLD): New.
37257 (st_atime): Remove duplicate.
37258 (st_mtime): Likewise.
37259 (st_ctime): Likewise.
37261 2012-05-31 David S. Miller <davem@davemloft.net>
37263 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37266 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37268 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37272 * elf/dl-reloc.c: Include <_itoa.h>.
37273 (_dl_reloc_bad_type): Remove use of INTUSE.
37274 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37275 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37276 * stdio-common/psiginfo.c (psiginfo): Likewise.
37277 * stdio-common/psignal.c (psignal): Likewise.
37278 * string/strsignal.c (strsignal): Likewise.
37279 * include/signal.h (_sys_siglist): Declare hidden proto.
37280 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37281 INTVARDEF with libc_hidden_data_def.
37282 * stdio-common/itoa-udigits.c: Likewise.
37283 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37284 (_itoa_lower_digits_internal): Remove declaration.
37285 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37286 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37287 (_sys_sigabbrev_internal): Remove aliases.
37288 (_sys_siglist): Define hidden alias.
37290 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37295 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37298 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37299 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37301 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37302 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37303 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37304 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37305 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37306 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37308 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37309 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37310 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37312 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37320 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37321 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37322 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37324 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37325 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37326 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37327 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37328 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37329 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37331 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37332 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37334 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37335 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37338 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37339 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37341 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37342 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37344 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37346 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37347 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37348 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37350 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37352 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37354 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37356 * math/math.h (M_El): Use two more decimal places.
37357 (M_LOG2El): Likewise.
37358 (M_LOG10El): Likewise.
37359 (M_LN2l): Likewise.
37360 (M_LN10l): Likewise.
37362 (M_PI_2l): Likewise.
37363 (M_PI_4l): Likewise.
37364 (M_1_PIl): Likewise.
37365 (M_2_PIl): Likewise.
37366 (M_2_SQRTPIl): Likewise.
37367 (M_SQRT2l): Likewise.
37368 (M_SQRT1_2l): Likewise.
37370 2012-05-31 David S. Miller <davem@davemloft.net>
37372 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37373 values between float registers.
37374 * sysdeps/sparc/sparc64/memset.S: Likewise.
37375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37377 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37379 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37380 -D_FORTIFY_SOURCE=1.
37381 (CPPFLAGS-tst-longjmp_chk.c): Define.
37382 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37383 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37384 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37385 CFLAGS-tst-wchar-h.c.
37387 2012-05-31 Marek Polacek <polacek@redhat.com>
37390 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37391 __endmntent_internal): Remove declaration.
37392 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37393 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37394 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37396 2012-05-30 David S. Miller <davem@davemloft.net>
37398 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37399 (___Q_simulate_exceptions): Use real FP ops rather than writing
37401 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37404 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37407 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37408 * sysdeps/x86/bits/xtitypes.h: This.
37410 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37411 * sysdeps/x86/bits/wordsize.h: This.
37413 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37414 * sysdeps/x86/bits/huge_vall.h: This.
37416 * sysdeps/i386/bits/select.h: Removed.
37417 * sysdeps/x86_64/bits/select.h: Renamed to ...
37418 * sysdeps/x86/bits/select.h: This.
37420 * sysdeps/i386/bits/setjmp.h: Removed.
37421 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37422 * sysdeps/x86/bits/setjmp.h: This.
37424 * sysdeps/i386/bits/mathdef.h: Removed.
37425 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37426 * sysdeps/x86/bits/mathdef.h: This.
37428 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37431 * include/sys/socket.h (__connect_internal)
37432 (__libc_sa_len_internal): Remove declaration.
37433 (__connect, __libc_sa_len): Declare hidden_proto.
37434 (SA_LEN): Remove use of INTUSE.
37435 * socket/connect.c: Add libc_hidden_def.
37436 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37437 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37438 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37440 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37441 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37442 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37443 of adding _internal alias.
37445 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37448 * sysdeps/i386/bits/link.h: Removed.
37449 * sysdeps/i386/bits/linkmap.h: Likewise.
37450 * sysdeps/x86_64/bits/link.h: Renamed to ...
37451 * sysdeps/x86/bits/link.h: This.
37452 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37453 * sysdeps/x86/bits/linkmap.h: This.
37455 * sysdeps/i386/bits/endian.h: Removed.
37456 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37457 * sysdeps/x86/bits/endian.h: This.
37459 * sysdeps/i386/bits/byteswap.h: Removed.
37460 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37461 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37462 * sysdeps/x86/bits/byteswap.h: This.
37463 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37464 * sysdeps/x86/bits/byteswap-16.h: This.
37465 * sysdeps/i386/Implies: Add x86.
37466 * sysdeps/x86_64/Implies: Likewise.
37468 2012-05-30 David S. Miller <davem@davemloft.net>
37470 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37471 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37472 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37473 (FP_TRAPPING_EXCEPTIONS): Define.
37474 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37475 (FP_TRAPPING_EXCEPTIONS): Define.
37476 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37477 subnormals only when inexact has been signalled or underflow
37478 exceptions are enabled.
37479 (_FP_PACK_CANONICAL): Likewise.
37481 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37485 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37487 2012-05-30 Richard Henderson <rth@twiddle.net>
37489 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37490 with #ifndef NOT_IN_libc.
37492 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37493 marked to avoid plt entry.
37495 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37498 * Makeconfig (default-abi): New macro.
37499 (abi-includes): Likewise.
37500 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37501 $(abi-$(default-abi)-lib-soname) for soname if defined.
37502 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37504 * Makefile (installed-stubs): Likewise.
37505 * include/stubs-biarch.h: Removed.
37506 * scripts/lib-names.awk: Only handle one library at a time.
37507 * scripts/soversions.awk: Remove WORDSIZE support.
37508 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37510 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37512 (syscall-list-default-condition): Likewise.
37513 (syscall-list-default-condition): Likewise.
37514 (syscall-list-includes): Likewise.
37515 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37516 syscall-list-* with abi-*. Handle undefined abi-variants.
37517 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37518 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37519 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37520 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37521 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37522 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37524 (syscall-list-32-options): Likewise.
37525 (syscall-list-32-condition): Likewise.
37526 (syscall-list-64-options): Likewise.
37527 (syscall-list-64-condition): Likewise.
37528 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37530 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37533 (abi-64-ld-soname): New macro.
37534 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37535 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37538 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37539 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37541 2012-05-30 Joseph Myers <joseph@codesourcery.com>
37543 * sysdeps/unix/sysv/linux/kernel-features.h
37544 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37545 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37546 include <kernel-features.h>.
37547 [!__NR_ftruncate64]: Remove conditional code.
37548 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37549 [__NR_ftruncate64]: Make code unconditional.
37550 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37551 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37552 include <kernel-features.h>.
37553 [!__NR_ftruncate64]: Remove conditional code.
37554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37555 [__NR_ftruncate64]: Make code unconditional.
37556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37558 include <kernel-features.h>.
37559 [!__NR_ftruncate64]: Remove conditional code.
37560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37561 [__NR_ftruncate64]: Make code unconditional.
37562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37564 include <kernel-features.h>.
37565 [!__NR_ftruncate64]: Remove conditional code.
37566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37567 [__NR_ftruncate64]: Make code unconditional.
37568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37570 * configure.in (libc_cv_fpie): Weaken to a compile test using
37571 LIBC_TRY_CC_OPTION.
37572 * configure: Regenerated.
37574 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37589 2012-05-27 David S. Miller <davem@davemloft.net>
37591 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37593 (__Q_simulate_exceptions): Return void. Change to simulate
37594 exceptions by writing into the %fsr.
37595 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37596 (__Qp_handle_exceptions): Likewise.
37598 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37599 __Qp_handle_exceptions.
37600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37601 __Qp_handle_exceptions.
37602 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37603 as unused and give dummy FP_RND_NEAREST initializer.
37604 (FP_INHIBIT_RESULTS): Define.
37605 (___Q_simulate_exceptions): Update declaration.
37606 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37608 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37609 as unused and give dummy FP_RND_NEAREST initializer.
37610 (__Qp_handle_exceptions): Update declaration.
37611 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37614 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37616 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37617 the temporary FPU control word.
37618 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37619 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37620 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37621 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37622 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37623 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37624 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37625 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37626 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37627 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37628 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37630 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37632 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37635 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37637 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37638 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37639 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37640 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37642 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37643 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37646 2012-05-27 Ulrich Drepper <drepper@gmail.com>
37648 * po/h.po: Update from translation team.
37650 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37652 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37654 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37655 handling of denormals.
37656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37657 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37658 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37659 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37665 2012-05-26 Marek Polacek <polacek@redhat.com>
37668 * math/libm-test.inc (fma_test): Don't always expect underflow
37671 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37674 * elf/tst-execstack.c: Include stackinfo.h.
37675 (do_test): Adjust test case to ensure that pthread_getattr_np
37676 behaviour remains the same after marking stack executable.
37678 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37680 * sysdeps/unix/sysv/linux/kernel-features.h
37681 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37682 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37684 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37685 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37686 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37688 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37689 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37691 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37693 * configure.in: Define the default includes to being none.
37694 * configure: Regenerated.
37696 2012-05-25 Roland McGrath <roland@hack.frob.com>
37698 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37699 * sysdeps/x86_64/setjmp.S: Likewise.
37700 * sysdeps/i386/bsd-setjmp.S: Likewise.
37701 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37702 * sysdeps/i386/setjmp.S: Likewise.
37703 * sysdeps/i386/__longjmp.S: Likewise.
37704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37705 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37707 * include/stap-probe.h: New file.
37708 * configure.in: Handle --enable-systemtap.
37709 * configure: Regenerated.
37710 * config.h.in (USE_STAP_PROBE): New #undef.
37711 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37712 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37713 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37715 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37718 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37719 to 2.4.0 where earlier.
37720 * sysdeps/unix/sysv/linux/configure: Regenerated.
37721 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37722 <kernel-features.h>.
37723 [__ASSUME_32BITUIDS]: Make code unconditional.
37724 [!__ASSUME_32BITUIDS]: Remove conditional code.
37725 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37726 <kernel-features.h>.
37727 [__ASSUME_32BITUIDS]: Make code unconditional.
37728 [!__ASSUME_32BITUIDS]: Remove conditional code.
37729 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37730 [__ASSUME_32BITUIDS]: Make code unconditional.
37731 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37732 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37733 <kernel-features.h>.
37734 [__ASSUME_32BITUIDS]: Make code unconditional.
37735 [!__ASSUME_32BITUIDS]: Remove conditional code.
37736 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37737 <kernel-features.h>.
37738 [__ASSUME_32BITUIDS]: Make code unconditional.
37739 [!__ASSUME_32BITUIDS]: Remove conditional code.
37740 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37741 <kernel-features.h>.
37742 [__ASSUME_32BITUIDS]: Make code unconditional.
37743 [!__ASSUME_32BITUIDS]: Remove conditional code.
37744 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37745 <kernel-features.h>.
37746 [__ASSUME_32BITUIDS]: Make code unconditional.
37747 [!__ASSUME_32BITUIDS]: Remove conditional code.
37748 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37749 <kernel-features.h>.
37750 [__ASSUME_32BITUIDS]: Make code unconditional.
37751 [!__ASSUME_32BITUIDS]: Remove conditional code.
37752 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37753 <kernel-features.h>.
37754 [__ASSUME_32BITUIDS]: Make code unconditional.
37755 [!__ASSUME_32BITUIDS]: Remove conditional code.
37756 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37757 <kernel-features.h>.
37758 [__ASSUME_32BITUIDS]: Make code unconditional.
37759 [!__ASSUME_32BITUIDS]: Remove conditional code.
37760 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37761 <kernel-features.h>.
37762 [__ASSUME_32BITUIDS]: Make code unconditional.
37763 [!__ASSUME_32BITUIDS]: Remove conditional code.
37764 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37765 <kernel-features.h>.
37766 [__ASSUME_32BITUIDS]: Make code unconditional.
37767 [!__ASSUME_32BITUIDS]: Remove conditional code.
37768 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37769 <kernel-features.h>.
37770 [__ASSUME_32BITUIDS]: Make code unconditional.
37771 [!__ASSUME_32BITUIDS]: Remove conditional code.
37772 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37773 <kernel-features.h>.
37774 [__NR_setresgid] (__setresgid): Do not declare.
37775 [__ASSUME_32BITUIDS]: Make code unconditional.
37776 [!__ASSUME_32BITUIDS]: Remove conditional code.
37777 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37778 <kernel-features.h>.
37779 [__NR_setresuid] (__setresuid): Do not declare.
37780 [__ASSUME_32BITUIDS]: Make code unconditional.
37781 [!__ASSUME_32BITUIDS]: Remove conditional code.
37782 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37783 <kernel-features.h>.
37784 [__ASSUME_32BITUIDS]: Make code unconditional.
37785 [!__ASSUME_32BITUIDS]: Remove conditional code.
37786 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37787 <kernel-features.h>.
37788 [__ASSUME_32BITUIDS]: Make code unconditional.
37789 [!__ASSUME_32BITUIDS]: Remove conditional code.
37790 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37791 <kernel-features.h>.
37792 [__ASSUME_32BITUIDS]: Make code unconditional.
37793 [!__ASSUME_32BITUIDS]: Remove conditional code.
37794 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37795 <kernel-features.h>.
37796 [__ASSUME_32BITUIDS]: Make code unconditional.
37797 [!__ASSUME_32BITUIDS]: Remove conditional code.
37798 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37799 <kernel-features.h>.
37800 [__ASSUME_32BITUIDS]: Make code unconditional.
37801 [!__ASSUME_32BITUIDS]: Remove conditional code.
37802 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37803 <kernel-features.h>.
37804 [__ASSUME_32BITUIDS]: Make code unconditional.
37805 [!__ASSUME_32BITUIDS]: Remove conditional code.
37806 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37807 <kernel-features.h>.
37808 [__ASSUME_32BITUIDS]: Make code unconditional.
37809 [!__ASSUME_32BITUIDS]: Remove conditional code.
37810 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37811 <kernel-features.h>.
37812 [__ASSUME_32BITUIDS]: Make code unconditional.
37813 [!__ASSUME_32BITUIDS]: Remove conditional code.
37814 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37815 <kernel-features.h>.
37816 [__ASSUME_32BITUIDS]: Make code unconditional.
37817 [!__ASSUME_32BITUIDS]: Remove conditional code.
37818 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37819 <kernel-features.h>.
37820 [__ASSUME_32BITUIDS]: Make code unconditional.
37821 [!__ASSUME_32BITUIDS]: Remove conditional code.
37822 * sysdeps/unix/sysv/linux/kernel-features.h
37823 (__ASSUME_SETRESUID_SYSCALL): Remove.
37824 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37825 (__ASSUME_32BITUIDS): Likewise.
37826 (__ASSUME_LDT_WORKS): Likewise.
37827 (__ASSUME_O_DIRECTORY): Likewise.
37828 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37829 architecture but not kernel version.
37830 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37831 (__ASSUME_MMAP2_SYSCALL): Likewise.
37832 (__ASSUME_STAT64_SYSCALL): Likewise.
37833 (__ASSUME_IPC64): Likewise.
37834 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37835 <kernel-features.h>.
37836 [__ASSUME_32BITUIDS]: Make code unconditional.
37837 [!__ASSUME_32BITUIDS]: Remove conditional code.
37838 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37839 <kernel-features.h>.
37840 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37841 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37842 132096]: Remove conditional code.
37843 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37844 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37845 <kernel-features.h>.
37846 [__ASSUME_32BITUIDS]: Make code unconditional.
37847 [!__ASSUME_32BITUIDS]: Remove conditional code.
37848 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37849 <kernel-features.h>.
37850 [__ASSUME_32BITUIDS]: Make code unconditional.
37851 [!__ASSUME_32BITUIDS]: Remove conditional code.
37852 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37853 <kernel-features.h>.
37854 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37856 (__setresgid): Do not declare.
37857 [__ASSUME_32BITUIDS]: Make code unconditional.
37858 [!__ASSUME_32BITUIDS]: Remove conditional code.
37859 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37860 <kernel-features.h>.
37861 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37863 (__setresuid): Do not declare.
37864 [__ASSUME_32BITUIDS]: Make code unconditional.
37865 [!__ASSUME_32BITUIDS]: Remove conditional code.
37866 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37867 <kernel-features.h>.
37868 [__ASSUME_32BITUIDS]: Make code unconditional.
37869 [!__ASSUME_32BITUIDS]: Remove conditional code.
37870 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37871 <kernel-features.h>.
37872 [__ASSUME_32BITUIDS]: Make code unconditional.
37873 [!__ASSUME_32BITUIDS]: Remove conditional code.
37875 2012-05-25 Richard Henderson <rth@twiddle.net>
37877 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37878 dl_hwcap to ifunc resolver.
37879 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37881 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37882 dl_hwcap to ifunc resolver.
37883 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37885 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37888 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37889 for |x| <= 2**-26, not 2**-57.
37890 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37893 2012-05-24 Jeff Law <law@redhat.com>
37895 * stdio-common/Makefile (tests): Add bug25.
37896 * stdio-common/bug25.c: New test.
37898 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37901 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37902 multiple of MALLOC_ALIGNMENT in size.
37903 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37905 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37907 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37909 (FILENAME_MAX): Use macro-int-constant.
37910 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37911 (_IOFBF): Use macro-int-constant.
37912 (_IOLBF): Likewise.
37913 (_IONBF): Likewise.
37914 (SEEK_CUR): Likewise.
37915 (SEEK_END): Likewise.
37916 (SEEK_SET): Likewise.
37917 (TMP_MAX): Likewise.
37918 (EOF): Use macro-int-constant. Require < 0.
37919 (NULL): Use macro-constant. Require == 0.
37920 (stdin): Require type to be FILE *.
37921 (stdout): Likewise.
37922 (stderr): Likewise.
37923 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37924 macro-int-constant.
37925 (EXIT_SUCCESS): Likewise.
37926 (NULL): Use macro-constant. Require == 0.
37927 (RAND_MAX): Use macro-int-constant.
37928 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37929 [C99-based standards] (strtof): Require function.
37930 [C99-based standards] (strtold): Likewise.
37931 [C99-based standards] (strtoll): Likewise.
37932 [C99-based standards] (strtoull): Likewise.
37933 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37934 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37935 [ISO || ISO99 || ISO11] (math.h): Likewise.
37936 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37937 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37938 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37940 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37943 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37944 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37945 * intl/dgettext.c (DCGETTEXT): Likewise.
37946 * intl/gettext.c (DCGETTEXT): Likewise.
37947 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37948 * posix/regex_internal.h (gettext): Likewise.
37949 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37950 Remove declaration.
37951 * include/argz.h (__argz_count_internal)
37952 (__argz_stringify_internal): Remove declaration.
37953 (__argz_count, __argz_stringify): Declare hidden proto.
37954 * intl/dcgettext.c: Remove use of INTDEF.
37955 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37956 * string/argz-stringify.c: Likewise.
37957 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37958 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37959 Declare hidden proto.
37960 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37961 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37962 Declare hidden proto.
37963 * include/stdio.h (__asprintf_internal): Don't declare.
37964 (__asprintf): Don't define as macro. Declare hidden proto.
37965 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37966 (__fsetlocking): Declare hidden proto.
37967 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37968 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37970 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37971 (_IO_setlinebuf): Remove use of INTUSE.
37972 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37973 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37974 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37975 Remove declaration.
37976 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37977 (_IO_do_flush): Remove use of INTUSE.
37978 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37979 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37980 (_IO_adjust_column, _IO_least_wmarker)
37981 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37982 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37983 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37984 (_IO_default_doallocate, _IO_wdefault_doallocate)
37985 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37986 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37987 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37988 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37989 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37990 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37991 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37992 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37993 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37994 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37995 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37996 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37997 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37999 (_IO_flush_all_internal, _IO_adjust_column_internal)
38000 (_IO_default_uflow_internal, _IO_default_finish_internal)
38001 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38002 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38003 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38004 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38005 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38006 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38007 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38008 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38009 (_IO_file_close_internal, _IO_file_close_it_internal)
38010 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38011 (_IO_file_init_internal, _IO_file_attach_internal)
38012 (_IO_file_fopen_internal, _IO_file_read_internal)
38013 (_IO_file_sync_internal, _IO_file_seek_internal)
38014 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38015 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38016 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38017 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38018 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38019 (_IO_list_all_internal, _IO_link_in_internal)
38020 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38021 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38022 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38023 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38024 (_IO_do_write_internal, _IO_padn_internal)
38025 (_IO_getline_info_internal, _IO_getline_internal)
38026 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38027 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38028 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38029 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38030 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38031 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38032 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38033 with libc_hidden_ver, remove use of INTUSE.
38034 * libio/genops.c: Likewise.
38035 * libio/freopen.c: Likewise.
38036 * libio/freopen64.c: Likewise.
38037 * libio/iofclose.c: Likewise.
38038 * libio/iofdopen.c: Likewise.
38039 * libio/iofflush.c: Likewise.
38040 * libio/iofflush_u.c: Likewise.
38041 * libio/iofgets.c: Likewise.
38042 * libio/iofgets_u.c: Likewise.
38043 * libio/iofopen.c: Likewise.
38044 * libio/iofopncook.c: Likewise.
38045 * libio/iofread.c: Likewise.
38046 * libio/iofread_u.c: Likewise.
38047 * libio/ioftell.c: Likewise.
38048 * libio/iofwrite.c: Likewise.
38049 * libio/iogetline.c: Likewise.
38050 * libio/iogets.c: Likewise.
38051 * libio/iogetwline.c: Likewise.
38052 * libio/iopadn.c: Likewise.
38053 * libio/iopopen.c: Likewise.
38054 * libio/ioseekoff.c: Likewise.
38055 * libio/ioseekpos.c: Likewise.
38056 * libio/iosetbuffer.c: Likewise.
38057 * libio/iosetvbuf.c: Likewise.
38058 * libio/ioungetc.c: Likewise.
38059 * libio/ioungetwc.c: Likewise.
38060 * libio/iovdprintf.c: Likewise.
38061 * libio/iovsprintf.c: Likewise.
38062 * libio/iovsscanf.c: Likewise.
38063 * libio/memstream.c: Likewise.
38064 * libio/obprintf.c: Likewise.
38065 * libio/oldfileops.c: Likewise.
38066 * libio/oldiofclose.c: Likewise.
38067 * libio/oldiofdopen.c: Likewise.
38068 * libio/oldiofopen.c: Likewise.
38069 * libio/oldiopopen.c: Likewise.
38070 * libio/oldstdfiles.c: Likewise.
38071 * libio/putc.c: Likewise.
38072 * libio/setbuf.c: Likewise.
38073 * libio/setlinebuf.c: Likewise.
38074 * libio/stdfiles.c: Likewise.
38075 * libio/strops.c: Likewise.
38076 * libio/vasprintf.c: Likewise.
38077 * libio/vscanf.c: Likewise.
38078 * libio/vsnprintf.c: Likewise.
38079 * libio/vswprintf.c: Likewise.
38080 * libio/wfiledoalloc.c: Likewise.
38081 * libio/wfileops.c: Likewise.
38082 * libio/wgenops.c: Likewise.
38083 * libio/wmemstream.c: Likewise.
38084 * libio/wstrops.c: Likewise.
38085 * libio/__fpurge.c: Likewise.
38086 * libio/__fsetlocking.c: Likewise.
38087 * assert/assert.c: Likewise.
38088 * debug/fgets_chk.c: Likewise.
38089 * debug/fgets_u_chk.c: Likewise.
38090 * debug/fread_chk.c: Likewise.
38091 * debug/fread_u_chk.c: Likewise.
38092 * debug/gets_chk.c: Likewise.
38093 * debug/obprintf_chk.c: Likewise.
38094 * debug/vasprintf_chk.c: Likewise.
38095 * debug/vdprintf_chk.c: Likewise.
38096 * debug/vsnprintf_chk.c: Likewise.
38097 * debug/vsprintf_chk.c: Likewise.
38098 * malloc/mtrace.c: Likewise.
38099 * misc/error.c: Likewise.
38100 * misc/syslog.c: Likewise.
38101 * stdio-common/asprintf.c: Likewise.
38102 * stdio-common/fxprintf.c: Likewise.
38103 * stdio-common/getw.c: Likewise.
38104 * stdio-common/isoc99_fscanf.c: Likewise.
38105 * stdio-common/isoc99_scanf.c: Likewise.
38106 * stdio-common/isoc99_vfscanf.c: Likewise.
38107 * stdio-common/isoc99_vscanf.c: Likewise.
38108 * stdio-common/isoc99_vsscanf.c: Likewise.
38109 * stdio-common/printf-prs.c: Likewise.
38110 * stdio-common/printf_fp.c: Likewise.
38111 * stdio-common/printf_fphex.c: Likewise.
38112 * stdio-common/printf_size.c: Likewise.
38113 * stdio-common/putw.c: Likewise.
38114 * stdio-common/scanf.c: Likewise.
38115 * stdio-common/sprintf.c: Likewise.
38116 * stdio-common/tmpfile.c: Likewise.
38117 * stdio-common/vfprintf.c: Likewise.
38118 * stdio-common/vfscanf.c: Likewise.
38119 * stdlib/strfmon_l.c: Likewise.
38120 * sunrpc/openchild.c: Likewise.
38121 * sunrpc/xdr_stdio.c: Likewise.
38122 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38123 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38125 2012-05-24 Roland McGrath <roland@hack.frob.com>
38127 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38129 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38130 in the third column, to generate for the shared library an IFUNC
38131 that uses _dl_vdso_vsym.
38132 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38133 * Makeconfig (object-suffixes-noshared): New variable.
38135 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38136 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38137 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38138 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38141 * include/sys/time.h (__gettimeofday): Remove macro.
38142 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38143 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38145 (__gettimeofday): Add libc_hidden_def.
38146 (gettimeofday): Add libc_hidden_weak.
38147 * sysdeps/mach/gettimeofday.c: Likewise.
38148 * sysdeps/posix/gettimeofday.c: Likewise.
38149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38150 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38152 (__gettimeofday_internal): Remove strong_alias.
38153 (__gettimeofday): Add libc_hidden_def.
38154 (gettimeofday): Add libc_hidden_weak.
38155 * sysdeps/unix/syscalls.list (gettimeofday):
38156 Remove __gettimeofday_internal alias.
38158 2012-05-24 Daniel Jacobowitz <drow@false.org>
38159 H.J. Lu <hongjiu.lu@intel.com>
38162 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38163 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38164 (largebin_index_32_big): New.
38165 (largebin_index): Use it for 16-byte alignment.
38166 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38167 correction with front_misalign.
38169 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38197 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38198 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38200 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38204 * math/libm-test.inc (exp_test): Add test from bug 14036.
38205 (pow_test): Add test from bug 10846.
38207 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38209 (special_function): Do not include flags in test name.
38210 (parse_args): Likewise.
38211 * sysdeps/i386/fpu/libm-test-ulps: Update.
38212 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38213 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38214 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38217 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38219 * math/libm-test.inc ("Philosophy"): Update comment about
38221 (UNDERFLOW_EXCEPTION): New macro.
38222 (UNDERFLOW_EXCEPTION_OK): Likewise.
38223 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38224 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38225 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38226 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38227 (INVALID_EXCEPTION_OK): Update value.
38228 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38229 (OVERFLOW_EXCEPTION_OK): Likewise.
38230 (IGNORE_ZERO_INF_SIGN): Likewise.
38231 (test_exceptions): Handle underflow exceptions.
38232 (acos_test): Update for underflow exception expectations.
38233 (cexp_test): Likewise.
38234 (clog_test): Likewise.
38235 (clog10_test): Likewise.
38236 (csqrt_test): Likewise.
38237 (ctan_test): Likewise.
38238 (ctanh_test): Likewise.
38239 (exp_test): Likewise.
38240 (exp10_test): Likewise.
38241 (exp2_test): Likewise.
38242 (expm1_test): Likewise.
38243 (fma_test): Likewise.
38244 (j0_test): Likewise.
38245 (jn_test): Likewise.
38246 (nexttoward_test): Likewise.
38247 (pow_test): Likewise.
38248 (scalbn_test): Likewise.
38249 (scalbln_test): Likewise.
38250 (tan_test): Likewise.
38251 (y1_test): Likewise.
38252 * sysdeps/i386/fpu/libm-test-ulps: Update.
38253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38255 2012-05-23 David S. Miller <davem@davemloft.net>
38257 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38258 (__libc_sigaction): Remove unused local variables.
38260 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38262 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38264 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38266 mktime: avoid signed integer overflow
38267 * time/mktime.c (__mktime_internal): Do not mishandle the case
38268 where diff == INT_MIN.
38270 mktime: simplify computation of average
38271 * time/mktime.c (ranged_convert): Use new time_t_avg function
38272 instead of rolling our own (probably-slower) code.
38274 mktime: do not assume signed right shift propagates sign bit
38275 * time/mktime.c (isdst_differ): New static function.
38276 (__mktime_internal): No need to normalize tm_isdst now.
38277 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38280 mktime: merge another wrapv change from gnulib
38281 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38282 from some compilers.
38284 mktime: remove incorrect attempt at unusual arithmetics
38285 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38286 The code didn't really work on such machines anyway.
38287 (TYPE_MINIMUM): Assume two's complement.
38288 (twos_complement_arithmetic): Verify that long_int and time_t
38289 are two's complement (or unsigned, in the latter case).
38291 mktime: check signed shifts on long_int and time_t, too
38292 * time/mktime.c (SHR): Check that shifts work as desired
38293 on the types long_int and time_t too, as SHR is used on
38296 mktime: do not assume 'long' is wide enough
38297 * time/mktime.c (verify): Move decl up.
38298 (long_int): New type.
38299 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38300 to remove assumption in the code that 'long' is wide enough to
38301 store year values. This assumption is not true on x32 and on
38302 some non-glibc platforms.
38304 mktime: merge wrapv change from gnulib
38305 * time/mktime.c (WRAPV): New macro.
38306 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38307 (guess_time_tm, __mktime_internal): Do not assume that signed
38308 integer overflow wraps around; modern compilers generate code
38309 where this assumption is no longer valid.
38311 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38313 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38314 Replace "jmp L(pseudo_end)" with "ret".
38315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38318 2012-05-23 Andreas Jaeger <aj@suse.de>
38320 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38321 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38323 2012-05-23 Andreas Jaeger <aj@suse.de>
38324 Maximilian Attems <max@stro.at>
38326 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38329 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38331 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38332 code so that pseudo_end is just ret and the stack pointer is
38333 correct also for static library in error case.
38335 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38337 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38338 move to syscalls.list.
38339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38344 * manual/install.texi (Running make install): Do not mention Linux
38345 kernel version for which pt_chown is not needed.
38346 (Linux): Do not mention problems with nscd with 2.0 kernels.
38347 * INSTALL: Regenerated.
38349 2012-05-23 Andreas Jaeger <aj@suse.de>
38351 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38352 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38354 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38356 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38357 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38358 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38359 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38360 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38362 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38363 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38364 * sysdeps/unix/sysv/linux/bits/in.h
38365 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38367 2012-05-22 Roland McGrath <roland@hack.frob.com>
38369 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38370 (PREPARE_VERSION): Just use assert instead, it will be elided
38371 under [NDEBUG] anyway.
38373 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38375 * sysdeps/unix/sysv/linux/Makefile: Include
38376 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38377 (sysdep_routines): Remove sysctl.
38378 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38379 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38380 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38381 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38382 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38384 2012-05-22 Andreas Jaeger <aj@suse.de>
38386 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38387 that pseudo_end is just ret and the stack pointer is correct also
38388 for static library in error case.
38390 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38393 * nss/nsswitch.c (defconfig_entries): New variable.
38394 (__nss_database_lookup): Don't leak defconfig entries.
38395 (nss_parse_service_list): Don't leak on error paths.
38396 (free_database_entries): New function.
38397 (free_defconfig): New function.
38398 (free_mem): Move common code to free_database_entries.
38400 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38402 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38404 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38406 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38407 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38410 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38411 (INTERNAL_SYSCALL_TYPES): Likewise.
38412 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38413 (LOAD_REGS_TYPES_[1-6]): Likewise.
38414 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38415 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38417 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38419 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38420 copysignl for GLIBC_2_0.
38421 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38422 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38424 logbl for GLIBC_2_0.
38425 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38426 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38428 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38431 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38433 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38436 * time/mktime.c: Update copyright years.
38438 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38440 mktime: merge comment-quoting-style change from gnulib
38441 * time/mktime.c: Quote 'like this' in comments.
38442 The GNU coding standards suggest that we no longer quote `like this',
38443 as "`" and "'" are typically rendered asymmetrically nowadays.
38444 The typical gnulib style is to quote 'like this' when quoting
38445 code, and "like this" when quoting English.
38447 * time/mktime.c (compile-command): Add "-I.".
38449 mktime: merge mktime-internal.h change from gnulib
38450 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38452 mktime: merge time_r change from gnulib
38453 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38455 mktime: merge DEBUG change from gnulib
38456 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38457 case system <time.h> has a #define.
38459 mktime: merge <sys/types.h> change from gnulib
38460 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38461 since <time.t> is now guaranteed to define time_t.
38463 mktime: merge HAVE_CONFIG_H change from gnulib
38464 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38466 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38471 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38473 (struct rusage): Use anonymous union to pad each field to
38476 2012-05-21 David S. Miller <davem@davemloft.net>
38478 * Makefules (o-iterator): Remove .s cases.
38479 (compile-command.s): Delete.
38480 (COMPILE.s): Delete.
38481 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38483 2012-05-21 Joseph Myers <joseph@codesourcery.com>
38485 * configure.in (libc_cv_predef_stack_protector): Only consider
38486 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38487 * configure: Regenerated.
38489 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38492 New macro. Use R*LP on int and pointer.
38493 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38494 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38495 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38496 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38498 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38499 [__WORDSIZE_TIME64_COMPAT32] instead of
38500 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38501 (struct utmp): Likewise.
38502 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38503 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38505 (__WORDSIZE_TIME64_COMPAT32): This.
38506 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38507 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38508 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38509 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38510 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38511 (__WORDSIZE_TIME64_COMPAT32): New macro.
38513 2012-05-21 Andreas Jaeger <aj@suse.de>
38515 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38516 only if [SHARED]. Add prototype for __wcschr_ia32.
38518 2012-05-21 Roland McGrath <roland@hack.frob.com>
38520 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38521 of %rbp unmolested in the jmp_buf while mangling the low bits.
38522 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38523 unmolested high bits of %rbp while demangling the low bits.
38524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38526 2012-05-21 Andreas Jaeger <aj@suse.de>
38528 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38529 * sunrpc/svc_simple.c: Use it for registerrpc.
38530 * sunrpc/xcrypt.c: Use it for passwd2des.
38532 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38534 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38536 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38537 Don't define if [__SYSCALL_WORDSIZE != 32].
38538 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38541 2012-05-21 Bruno Haible <bruno@clisp.org>
38542 Andreas Jaeger <aj@suse.de>
38544 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38545 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38546 inptr and inend for must_buffer_ch.
38547 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38548 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38549 * stdio-common/Makefile (tests): Remove bug15.
38550 (bug15-ENV): Remove macro.
38551 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38554 2012-05-19 Andreas Jaeger <aj@suse.de>
38555 Roland McGrath <roland@hack.frob.com>
38557 * manual/contrib.texi: Completely rewritten. It contains now an
38558 alphabetical list of contributors and their contributions.
38560 2012-05-21 Richard Henderson <rth@twiddle.net>
38562 * misc/getauxval.c (__getauxval): Use unsigned long int.
38563 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38564 (getauxval): Use unsigned long int.
38566 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38568 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38570 2012-05-21 Roland McGrath <roland@hack.frob.com>
38572 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38573 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38574 __alignof__ (long double).
38576 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38580 2012-05-20 Richard Henderson <rth@twiddle.net>
38582 * misc/getauxval.c: New file.
38583 * misc/sys/auxv.h: New file.
38584 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38585 (routines): Add getauxval.
38586 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38587 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38588 * elf/dl-sysdep.c (_dl_auxv): Remove.
38589 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38590 * elf/dl-support.c (_dl_auxv): New variable.
38591 (_dl_aux_init): Initialize it.
38592 * manual/startup.texi (Auxiliary Vector): New node.
38593 * sysdeps/generic/bits/hwcap.h: New file.
38594 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38595 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38596 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38597 * sysdeps/sparc/sysdep.h: ... here. Include it.
38598 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38599 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38605 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38611 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38615 2012-05-19 David S. Miller <davem@davemloft.net>
38617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38619 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38622 * math/s_ccosh.c: Include <float.h>
38623 (__ccosh): Avoid internal overflow calculating sinh and cosh
38624 values before multiplying by sin and cos values.
38625 * math/s_ccoshf.c: Likewise.
38626 * math/s_ccoshl.c: Likewise.
38627 * math/s_csin.c: Likewise.
38628 * math/s_csinf.c: Likewise.
38629 * math/s_csinl.c: Likewise.
38630 * math/s_csinh.c: Likewise.
38631 * math/s_csinhf.c: Likewise.
38632 * math/s_csinhl.c: Likewise.
38633 * math/libm-test.inc (ccos_test): Add more tests.
38634 (ccosh_test): Likewise.
38635 (csin_test): Likewise.
38636 (csinh_test): Likewise.
38637 * sysdeps/i386/fpu/libm-test-ulps: Update.
38638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38640 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38642 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38643 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38645 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38647 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38649 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38650 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38651 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38652 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38653 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38654 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38655 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38656 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38657 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38658 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38659 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38660 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38661 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38662 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38663 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38664 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38665 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38666 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38667 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38668 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38669 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38670 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38671 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38672 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38673 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38674 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38675 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38676 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38677 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38678 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38679 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38681 2012-05-18 Andreas Jaeger <aj@suse.de>
38683 * csu/.gitignore: Delete.
38685 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38687 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38688 (timex): Use __syscall_slong_t.
38690 2012-05-18 Andreas Jaeger <aj@suse.de>
38691 Carlos O'Donell <carlos_odonell@mentor.com>
38693 * manual/install.texi (Configuring and compiling): Update
38694 description about files modified in the source directory.
38695 * INSTALL: Regenerated.
38697 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38699 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38700 value. Use "or" to set return value to -1.
38701 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38702 negate return value.
38704 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38706 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38707 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38708 failure if the compiler has Graphite support disabled.
38709 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38711 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38712 (CFLAGS-memmove.c): Likewise.
38713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38716 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38718 * sysdeps/x86_64/x32/_itoa.h: New file.
38720 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38721 getdents system call only if kernel and user dirents have the
38722 same d_ino and d_off.
38724 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38725 LLONG_MAX != LONG_MAX.
38726 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38727 (_fitoa_word): Likewise.
38729 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38731 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38732 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38733 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38735 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38736 include <bits/wordsize.h>. Check __x86_64__ instead of
38738 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38739 if __x86_64__ is defined. Use anonymous union on fpstate.
38741 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38744 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38746 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38747 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38748 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38749 Refer to _rtld_local_ro instead of _rtld_global_ro.
38750 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38752 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38754 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38756 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38757 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38758 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38760 * sysdeps/powerpc/powerpc32/dl-machine.c
38761 (__elf_machine_runtime_setup) [PROF]: Don't reference
38764 2012-05-18 Andreas Jaeger <aj@suse.de>
38766 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38767 function only available for GCCs before 3.4 since GCC 3.4
38768 introduced a builtin.
38770 (llrintf): Likewise.
38771 (llrint): Likewise.
38778 (nearbyint): Likewise.
38779 (nearbyintf): Likewise.
38783 (floorf): Likewise.
38785 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38787 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38788 on both fields and cast pointer to __syscall_ulong_t.
38790 * bits/types.h (__fsword_t): New type.
38791 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38792 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38794 (__FSWORD_T_TYPE): Likewise.
38795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38796 (__FSWORD_T_TYPE): Likewise.
38797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38798 (__FSWORD_T_TYPE): Likewise.
38799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38800 (__FSWORD_T_TYPE): Likewise.
38801 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38802 __SWORD_TYPE with __fsword_t.
38803 (statfs64): Likewise.
38805 2012-05-17 David S. Miller <davem@davemloft.net>
38807 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38809 2012-05-17 Andreas Jaeger <aj@suse.de>
38811 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38814 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38816 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38818 2012-05-17 Andreas Jaeger <aj@suse.de>
38820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38823 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38825 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38827 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38829 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38830 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38832 2012-05-17 Andreas Jaeger <aj@suse.de>
38833 Carlos O'Donell <carlos_odonell@mentor.com>
38836 * sysdeps/x86_64/multiarch/init-arch.h
38837 (bit_YMM_Usable): Rename to...
38838 (bit_AVX_Usable): ... this.
38839 (bit_FMA4_Usable): New macro.
38840 (bit_XMM_state): New macro.
38841 (bit_YMM_state): New macro.
38842 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38843 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38844 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38845 (CPUID_OSXSAVE): New macro.
38846 (CPUID_AVX): New macro.
38847 (CPUID_FMA4): New macro.
38848 (index_YMM_Usable): Rename to...
38849 (index_AVX_Usable): ... this.
38850 (HAS_AVX): Use HAS_ARCH_FEATURE.
38851 (HAS_FMA4): Likewise.
38852 (HAS_YMM_USABLE): Remove.
38853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38854 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38856 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38857 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38858 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38859 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38860 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38862 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38864 * math/libm-test.c: Support platforms without multiple rounding modes.
38865 * math/bug-nextafter.c: Support platforms without FP exceptions.
38866 * math/bug-nexttoward.c: Likewise.
38867 * math/test-fenv.c: Likewise.
38868 * math/test-misc.c: Likewise.
38869 * stdlib/bug-getcontext.c: Likewise.
38871 2012-05-17 Andreas Jaeger <aj@suse.de>
38873 * manual/examples/search.c (critter_cmp): Change signature to
38875 * manual/string.texi (Collation Functions): Likewise.
38877 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38879 * bits/types.h: Fold copyright years.
38880 * bits/typesizes.h: Likewise.
38881 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38885 * time/time.h: Likewise.
38887 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38890 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38891 in instead of returning them. Return void.
38892 (__libc_mallinfo): Accumulate over all arenas.
38893 (__malloc_stats): Adjust for change in int_mallinfo interface.
38895 2012-05-16 Roland McGrath <roland@hack.frob.com>
38898 * configure.in (NM): Add AC_CHECK_TOOL for it.
38899 (libc_extra_cflags): New substituted variable.
38900 Check for -fstack-protector being used implicitly.
38901 * configure: Regenerated.
38902 * config.make.in (config-extra-cflags): New variable,
38903 gets @libc_extra_cflags@.
38904 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38907 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38908 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38909 * configure: Regenerated.
38910 * config.make.in (CPPUNDEFS): New substituted variable.
38911 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38912 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38913 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38915 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38917 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38918 (mq_attr): Use __syscall_slong_t.
38920 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38922 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38923 Check __x86_64__ instead of __WORDSIZE.
38924 (_STAT_VER_LINUX): Likewise.
38925 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38926 __syscall_ulong_t and __syscall_slong_t.
38927 (stat64): Likewise.
38929 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38933 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38935 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38937 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38939 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38942 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38943 include <bits/wordsize.h>. Check __x86_64__ instead of
38945 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38947 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38950 include <bits/wordsize.h>. Check __x86_64__ instead of
38952 (user_regs_struct): Use "__extension__ unsigned long long"
38953 instead of "unsigned long" if __x86_64__ is defined.
38954 (user): Likewise. Pad after pointer field if __ILP32__ is
38957 2012-05-16 Joseph Myers <joseph@codesourcery.com>
38959 * configure.in (makeinfo): Require version 4.5 or later. Allow
38961 * configure: Regenerated.
38962 * manual/install.texi (texinfo): Increase version requirement to
38964 * INSTALL: Regenerated.
38966 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38968 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38970 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38972 * sysdeps/x86_64/x32/ffs.c: New file.
38974 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38976 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38977 defined. Use __syscall_ulong_t.
38978 (shminfo): Use __syscall_ulong_t.
38979 (shm_info): Likewise.
38981 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38984 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38986 (msgqnum_t): Use __syscall_ulong_t.
38987 (msglen_t): Likewise.
38988 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38991 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38992 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38994 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38996 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38997 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38999 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39002 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39003 include <bits/wordsize.h>. Check __x86_64__ instead of
39006 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39007 "unsigned long long int" if __x86_64__ is defined.
39008 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39011 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39012 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39014 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39016 (GET_PC): Cast to uintptr_t first.
39017 (GET_FRAME): Likewise.
39018 (GET_STACK): Likewise.
39020 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39021 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39022 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39023 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39024 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39025 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39026 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39027 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39028 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39029 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39030 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39031 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39032 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39033 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39034 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39035 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39036 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39037 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39038 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39039 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39040 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39041 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39042 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39043 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39044 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39045 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39046 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39047 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39048 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39050 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39052 * Makerules (+depfiles): Also collect depfiles from .oS in
39054 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39055 .oS, $(libnldbl-routines)).
39057 * Makerules (native-compile-mkdep-flags): Define.
39058 * sunrpc/Makefile (extra-objs): Add $(addprefix
39059 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39060 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39061 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39062 calling $(make-target-directory).
39064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39066 * bits/types.h (__snseconds_t): Removed.
39067 * time/time.h (struct timespec): Replace __snseconds_t with
39069 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39070 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39073 (__SNSECONDS_T_TYPE): Likewise.
39074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39075 (__SNSECONDS_T_TYPE): Likewise.
39076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39077 (__SNSECONDS_T_TYPE): Likewise.
39079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39081 * sysdeps/mach/hurd/bits/typesizes.h
39082 (__SYSCALL_SLONG_TYPE): New macro.
39083 (__SYSCALL_ULONG_TYPE): Likewise.
39085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39087 * bits/types.h (__syscall_slong_t): New type.
39088 (__syscall_ulong_t): Likewise.
39090 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39091 (__SYSCALL_ULONG_TYPE): Likewise.
39092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39093 (__SYSCALL_SLONG_TYPE): Likewise.
39094 (__SYSCALL_ULONG_TYPE): Likewise.
39095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39096 (__SYSCALL_SLONG_TYPE): Likewise.
39097 (__SYSCALL_ULONG_TYPE): Likewise.
39098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39099 (__SYSCALL_SLONG_TYPE): Likewise.
39100 (__SYSCALL_ULONG_TYPE): Likewise.
39102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39104 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39105 Add sigaltstack-offsets.sym.
39106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39107 <sigaltstack-offsets.h>.
39108 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39109 longjmp_msg pointer.
39110 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39111 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39113 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39115 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39117 * elf/stackguard-macros.h: Remove file.
39118 * sysdeps/generic/stackguard-macros.h: New file.
39119 * sysdeps/i386/stackguard-macros.h: Likewise.
39120 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39121 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39122 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39123 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39124 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39125 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39126 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39127 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39128 <elf/stackguard-macros.h>.
39131 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39132 __aligned__ in attribute.
39133 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39134 (gregset_t): Likewise.
39136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39138 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39139 * sysdeps/x86_64/64/Implies-after: Here. New file.
39140 * sysdeps/x86_64/x32/Implies-after: New file.
39142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39144 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39145 and access return value for _dl_profile_fixup. Use R10_LP to
39148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39150 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39154 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39155 * sysdeps/x86_64/x32/sysdep.h: New file.
39157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39159 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39160 * sysdeps/x86_64/setjmp.S: Likewise.
39162 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39164 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39165 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39166 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39167 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39168 remove unused global constant.
39170 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39172 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39173 include of <not-cancel.h>.
39175 2012-05-15 Roland McGrath <roland@hack.frob.com>
39177 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39179 2012-05-15 Jeff Law <law@redhat.com>
39180 Andreas Jaeger <aj@suse.de>
39183 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39185 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39186 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39187 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39188 code changing __hst_map_handle.map.
39190 2012-05-15 Roland McGrath <roland@hack.frob.com>
39192 * configure.in (sysnames): Look for Implies-before and Implies-after
39194 * configure: Regenerated.
39196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39198 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39199 8-byte data alignment with LP_SIZE alignment.
39201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39203 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39208 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39212 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39213 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39214 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39220 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39221 (stackinfo_sub_sp): Likewise.
39223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39225 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39230 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39240 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39244 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39245 into R11_LP and load __x86_64_shared_cache_size_half into
39248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39250 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39253 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39261 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39262 powerpc32/power7/fpu/s_logb.c via #include.
39263 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39264 powerpc32/power7/fpu/s_logbf.c via #include.
39265 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39266 powerpc32/power7/fpu/s_logbl.c via #include.
39268 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39270 * README.libm: Remove file.
39272 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39274 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39275 count for x32. Use R*_LP and omit operand-size suffix.
39277 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39279 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39280 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39281 * sysdeps/x86_64/x32/shlib-versions: New file.
39283 2012-05-14 Roland McGrath <roland@hack.frob.com>
39285 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39286 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39287 Use _dl_fatal_printf instead.
39289 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39291 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39292 set if not set by the user. Do not allow for being unset.
39293 * sysdeps/unix/sysv/linux/configure: Regenerated.
39295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39297 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39298 the `q' suffix from lea and replace .quad with ASM_ADDR.
39300 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39303 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39305 (PTR_DEMANGLE): Likewise.
39307 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39309 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39311 (ASM_ADDR): Likewise.
39312 (RAX_LP): Likewise.
39313 (RBP_LP): Likewise.
39314 (RBX_LP): Likewise.
39315 (RCX_LP): Likewise.
39316 (RDI_LP): Likewise.
39317 (RSI_LP): Likewise.
39318 (RSP_LP): Likewise.
39321 (R10_LP): Likewise.
39322 (R10_LP): Likewise.
39323 (R11_LP): Likewise.
39324 (R12_LP): Likewise.
39325 (R13_LP): Likewise.
39326 (R14_LP): Likewise.
39327 (R15_LP): Likewise.
39329 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39331 * sysdeps/x86_64/x32/dl-machine.h: New file.
39333 2012-05-14 Andreas Jaeger <aj@suse.de>
39335 * manual/Makefile (subdir): Remove export of subdir.
39336 (all): Remove target.
39337 (.PHONY): Remove all from list.
39338 (mkinstalldirs): Remove.
39339 (.PHONY): Remove installdirs from list.
39340 ($(inst_infodir)/libc.info): Use make-target-directory.
39341 (installdirs): Remove.
39342 (subdir_%): Remove.
39343 (glibc-targets): Remove.
39346 ($(objpfx)stubs ../po/manual.pot): Remove.
39347 ($(objpfx)stamp%): Remove.
39348 (make-target-directory): Remove.
39349 (subdir_install): Remove.
39350 (routines): Remove.
39357 * manual/.gitignore: Remove, it's not needed anymore.
39358 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39360 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39362 (texis): Renamed to $(objpfx)texis.
39363 (texis-path): New, contains path to generated files.
39364 (chapters.%): Use texis-path for complete path, add extra argument
39366 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39367 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39368 (summary,texi, stamp-summary): Use complete path of
39369 files. Generate files in build dir.
39370 (dir-add.texi): Build in build dir.
39371 (libm-err.texi,stamp-libm-err): Likewise.
39372 (version.texi, stamp-version): Likewise.
39373 (.%c.texi): Likewise.
39374 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39375 (mostlyclean): Remove target.
39376 (realclean): Remove target.
39377 (generated): Add new variable with contents from mostlyclean and
39378 realclean, remove entries duplicated in common-mostlyclean, add
39379 stamp-libm-err and stamp-version.
39380 (generated-dirs): Add libc directory.
39381 ($(inst_infodir)/libc.info): Install files from build dir.
39383 * manual/install.texi (Configuring and compiling): Adjust since
39384 the info files are not part of the tar ball anymore.
39386 2012-05-14 Andreas Jaeger <aj@suse.de>
39388 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39391 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39394 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39395 to 2.2.0 where earlier.
39396 * sysdeps/unix/sysv/linux/configure: Regenerated.
39397 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39398 Remove conditional code.
39399 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39400 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39401 Remove conditional code.
39402 [!__NR_lchown]: Likewise.
39403 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39404 [__NR_lchown]: Likewise.
39405 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39406 comment referencing __ASSUME_LCHOWN_SYSCALL.
39407 * sysdeps/unix/sysv/linux/i386/sigaction.c
39408 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39409 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39410 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39411 Remove conditional code.
39412 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39413 (__protocol_available): Remove #if 0 code.
39414 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39416 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39417 * sysdeps/unix/sysv/linux/kernel-features.h
39418 (__ASSUME_GETCWD_SYSCALL): Don't define.
39419 (__ASSUME_REALTIME_SIGNALS): Likewise.
39420 (__ASSUME_PREAD_SYSCALL): Likewise.
39421 (__ASSUME_PWRITE_SYSCALL): Likewise.
39422 (__ASSUME_POLL_SYSCALL): Likewise.
39423 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39424 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39426 (__ASSUME_SIOCGIFNAME): Don't define.
39427 (__ASSUME_MSG_NOSIGNAL): Likewise.
39428 (__ASSUME_SENDFILE): Define unconditionally.
39429 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39430 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39432 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39433 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39434 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39435 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39436 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39437 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39438 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39440 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39441 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39443 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39446 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39449 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39452 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39455 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39458 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39461 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39463 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39464 Remove conditional code.
39465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39466 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39467 Remove conditional code.
39468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39469 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39470 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39471 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39472 Remove conditional code.
39473 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39474 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39475 Remove conditional code.
39476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39477 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39478 Remove conditional code.
39479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39480 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39481 Remove conditional code.
39482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39483 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39484 Remove conditional code.
39485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39486 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39487 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39489 * sysdeps/unix/sysv/linux/sigaction.c
39490 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39491 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39492 * sysdeps/unix/sysv/linux/sigpending.c
39493 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39494 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39495 * sysdeps/unix/sysv/linux/sigprocmask.c
39496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39498 * sysdeps/unix/sysv/linux/sigsuspend.c
39499 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39500 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39501 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39502 (__libc_missing_rt_sigs): Remove.
39503 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39504 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39505 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39506 Remove conditional code.
39507 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39508 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39510 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39511 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39512 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39513 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39515 2012-05-14 Andreas Jaeger <aj@suse.de>
39517 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39518 it's not used in glibc.
39519 (__coshm1): Likewise.
39520 (__acosh1p): Likewise.
39523 * manual/string.texi (Copying and Concatenation): Add missing
39524 variable in concat example.
39525 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39527 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39531 __builtin_clzl with __builtin_clzll.
39533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39536 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39539 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39541 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39542 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39543 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39544 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39546 2012-05-14 Mike Frysinger <vapier@gentoo.org>
39548 * NEWS: Update ia64 info.
39550 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39552 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39555 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39557 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39558 * sysdeps/unix/syscalls.list (dup3): Likewise.
39559 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39560 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39562 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39564 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39565 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39567 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39569 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39571 (TLS_IE): Use mov/add instead of movq/addq to load thread
39573 (TLS_GD_PREFIX): New.
39576 2012-05-11 David S. Miller <davem@davemloft.net>
39578 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39579 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39580 (_FPU_SETCW): Likewise.
39582 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39584 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39585 is 32-byte aligned.
39587 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39590 * iconvdata/gb18030.c: Update tables.
39591 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39592 characters specially.
39593 (BODY for TO_LOOP): Add encoding of missing ranges.
39595 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39598 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39599 * sysdeps/mach/hurd/dup3.c: Likewise.
39600 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39601 * sysdeps/powerpc/memmove.c:: Likewise.
39603 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39606 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39608 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39610 * elf/elf.h (R_X86_64_RELATIVE64): New.
39611 (R_X86_64_NUM): Updated.
39612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39613 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39614 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39615 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39616 tst-quad1pie tst-quad2pie
39617 (modules-names): Add tst-quadmod1 tst-quadmod2.
39618 ($(objpfx)tst-quad1): New dependency.
39619 ($(objpfx)tst-quad2): Likewise.
39620 ($(objpfx)tst-quad1pie): Likewise.
39621 ($(objpfx)tst-quad2pie): Likewise.
39622 * sysdeps/x86_64/tst-quad1.c: New file.
39623 * sysdeps/x86_64/tst-quad1pie.c: New file.
39624 * sysdeps/x86_64/tst-quad2.c: Likewise.
39625 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39626 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39627 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39628 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39629 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39633 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39634 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39635 * streams/stropts.h (t_scalar_t): Define type.
39637 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39638 (_PATH_PRESERVE): Set to "/var/lib".
39639 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39641 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39644 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39645 if __dir_mkfile succeeded.
39647 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39648 checking for _hurd_dtablesize. Unlock it right after having
39649 finished _hurd_dtable allocation.
39651 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39653 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39654 * sysdeps/mach/hurd/configure: Regenerated.
39655 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39656 special-casing to...
39657 * sysdeps/gnu/configure.in: ... this new file.
39658 * sysdeps/unix/sysv/linux/configure: Regenerated.
39659 * sysdeps/gnu/configure: New generated file.
39661 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39662 for Linux: use nsec instead of usec, as well as:
39663 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39664 members of type struct timespec.
39665 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39667 (struct stat64): Likewise.
39668 (_STATBUF_ST_NSEC): New macro.
39669 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39671 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39672 __strtoul_internal rather than strtoul.
39674 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39676 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39679 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39681 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39682 which preserves existing values.
39683 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39685 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39687 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39688 TIMEOUT values. Return EINVAL for NFDS values either negative or
39689 greater than FD_SETSIZE.
39691 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39693 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39694 allocated, call __vm_protect to finish enabling the existing space, and
39695 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39696 allocate the remainder.
39698 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39700 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39701 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39703 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39705 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39706 sysdeps/mach/hurd/readlink.c.
39708 * posix/tst-sysconf.c (posix_options): Only use
39709 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39710 _POSIX_SYNCHRONIZED_IO when they are defined
39711 * sysdeps/mach/hurd/bits/posix_opt.h:
39712 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39713 (_XOPEN_REALTIME): Undefine macro.
39714 (_XOPEN_REALTIME_THREADS): Undefine macro.
39715 (_XOPEN_SHM): Undefine macro.
39716 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39718 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39720 (_POSIX_ASYNC_IO): Undefine macro.
39721 (_POSIX_PRIORITIZED_IO): Undefine macro.
39722 (_POSIX_SPIN_LOCKS): Define macro to -1.
39724 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39725 SA_NODEFER, SA_RESETHAND.
39726 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39727 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39730 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39732 * elf/Makefile (pldd-modules): Define unconditionally.
39734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39736 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39740 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39741 Return ENOENT when name is empty.
39742 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39746 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39748 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39750 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39752 Fix mlock in all cases except non-readable pages.
39753 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39754 instead of VM_PROT_ALL as parameter to __vm_wire function.
39756 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39757 (__mkdir): When path is `/', just fail with EEXIST.
39758 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39760 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39762 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39763 <sys/uio.h> (for writev).
39764 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39765 and <sys/param.h> (for MIN).
39767 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39769 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39770 REQUESTED_TIME. Properly set the remaining time and return EINTR
39773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39775 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39776 Depend on against $(link-rpcuserlibs).
39778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39780 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39781 (__libc_stack_end): Do not use attribute_relro.
39782 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39783 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39784 to libthread-provided value.
39785 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39788 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39791 * bits/libc-lock.h (__libc_once_get): New macro.
39792 * sysdeps/mach/bits/libc-lock.h: Likewise.
39793 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39794 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39795 instead of using implementation details.
39797 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39798 * libio/freopen.c: Likewise.
39799 * libio/freopen64.c: Likewise.
39800 * misc/syslog.c: Likewise.
39801 * nscd/connections.c: Likewise.
39802 * nscd/netgroupcache.c: Likewise.
39803 * sysdeps/posix/getcwd.c: Likewise.
39805 2012-05-10 Roland McGrath <roland@hack.frob.com>
39807 * math/w_ilogbf.c: Add #include <limits.h>.
39809 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39811 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39812 path instead of returning without unlocking.
39814 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39815 immediate-write ioctls.
39816 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39818 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39820 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39821 __builtin_frame_address instead of making assumptions about the
39822 location of the return address relative to DATA. Force early load of
39823 the return address.
39824 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39825 __builtin_frame_address.
39828 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39829 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39830 implement dup3 and do some further code clean-ups.
39831 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39832 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39834 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39836 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39838 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39839 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39840 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39841 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39842 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39845 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39846 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39847 when handler == SIG_ERR, not when handler != SIG_ERR.
39849 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39851 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39852 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39855 accept4 for GNU Hurd.
39856 * include/sys/socket.h (__libc_accept4): New prototype.
39857 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39858 to implement __libc_accept4.
39859 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39861 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39863 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39864 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39865 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39866 signal-defines.sym.
39868 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39870 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39872 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39874 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39875 assertion on O_CLOEXEC flag.
39876 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39877 * hurd/intern-fd.c: Likewise.
39878 * hurd/port2fd.c: Likewise.
39880 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39883 * bits/in.h (IPV6_PKTINFO): Define new macro.
39884 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39886 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39891 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39892 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39893 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39894 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39896 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39897 * math/libm-test.inc (logb_test) : Additional logb tests.
39899 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39900 Andreas Jaeger <aj@suse.de>
39902 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39903 * configure: Regenerated.
39904 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39905 * config.make.in (link-obsolete-rpc): New substituted variable.
39906 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39907 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39908 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39909 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39910 so that libc.a contains the symbols.
39911 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39912 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39913 * sunrpc/auth_none.c: Likewise.
39914 * sunrpc/auth_unix.c: Likewise.
39915 * sunrpc/authdes_prot.c: Likewise.
39916 * sunrpc/authuxprot.c: Likewise.
39917 * sunrpc/clnt_gen.c: Likewise.
39918 * sunrpc/clnt_perr.c: Likewise.
39919 * sunrpc/clnt_raw.c: Likewise.
39920 * sunrpc/clnt_simp.c: Likewise.
39921 * sunrpc/clnt_tcp.c: Likewise.
39922 * sunrpc/clnt_udp.c: Likewise.
39923 * sunrpc/clnt_unix.c: Likewise.
39924 * sunrpc/des_crypt.c: Likewise.
39925 * sunrpc/des_soft.c: Likewise.
39926 * sunrpc/get_myaddr.c: Likewise.
39927 * sunrpc/key_call.c: Likewise.
39928 * sunrpc/key_prot.c: Likewise.
39929 * sunrpc/netname.c: Likewise.
39930 * sunrpc/pm_getmaps.c: Likewise.
39931 * sunrpc/pm_getport.c: Likewise.
39932 * sunrpc/pmap_clnt.c: Likewise.
39933 * sunrpc/pmap_prot.c: Likewise.
39934 * sunrpc/pmap_prot2.c: Likewise.
39935 * sunrpc/pmap_rmt.c: Likewise.
39936 * sunrpc/publickey.c: Likewise.
39937 * sunrpc/rpc_cmsg.c: Likewise.
39938 * sunrpc/rpc_common.c: Likewise.
39939 * sunrpc/rpc_dtable.c: Likewise.
39940 * sunrpc/rpc_prot.c: Likewise.
39941 * sunrpc/rpc_thread.c: Likewise.
39942 * sunrpc/rtime.c: Likewise.
39943 * sunrpc/svc.c: Likewise.
39944 * sunrpc/svc_auth.c: Likewise.
39945 * sunrpc/svc_raw.c: Likewise.
39946 * sunrpc/svc_run.c: Likewise.
39947 * sunrpc/svc_tcp.c: Likewise.
39948 * sunrpc/svc_udp.c: Likewise.
39949 * sunrpc/svc_unix.c: Likewise.
39950 * sunrpc/svcauth_des.c: Likewise.
39951 * sunrpc/xcrypt.c: Likewise.
39952 * sunrpc/xdr.c: Likewise.
39953 * sunrpc/xdr_array.c: Likewise.
39954 * sunrpc/xdr_float.c: Likewise.
39955 * sunrpc/xdr_intXX_t.c: Likewise.
39956 * sunrpc/xdr_mem.c: Likewise.
39957 * sunrpc/xdr_rec.c: Likewise.
39958 * sunrpc/xdr_ref.c: Likewise.
39959 * sunrpc/xdr_sizeof.c: Likewise.
39960 * sunrpc/xdr_stdio.c: Likewise.
39962 2012-05-10 Roland McGrath <roland@hack.frob.com>
39964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39965 change. Update copyright years.
39967 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39969 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39971 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39972 Joseph Myers <joseph@codesourcery.com>
39973 Paul Pluzhnikov <ppluzhnikov@google.com>
39976 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39978 [cross-compiling] (extra-libs): Likewise.
39979 [cross-compiling] (extra-libs-others): Likewise.
39980 [cross-compiling] (librpcsvc-routines): Likewise.
39981 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39982 [cross-compiling] (omit-deps): Likewise.
39983 (sunrpc-CPPFLAGS): New variable.
39984 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39985 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39986 (cross-rpcgen-objs): New variable.
39987 (extra-objs): Append $(cross-rpcgen-objs).
39988 ($(cross-rpcgen-objs)): New rule.
39989 ($(objpfx)cross-rpcgen): Likewise.
39990 (rpcgen-cmd): Define to use $(built-program-file). Expand
39992 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39993 ($(objpfx)x%.stmp): Likewise.
39994 * sunrpc/proto.h [IS_IN_build] (_): Define.
39995 [IS_IN_build] (_libc_intl_domainname): Likewise.
39997 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40000 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40001 and R_X86_64_TPOFF64.
40003 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40005 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40006 sysdeps/unix/sysv/syscalls.list.
40009 * sysdeps/unix/sysv/syscalls.list: Remove file.
40011 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40014 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40015 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40016 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40017 (__LC_IDENTIFICATION): Make these macros useful in #if
40018 expressions, as required by C99.
40020 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40022 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40023 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40026 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40028 * stdlib/longlong.h: Updated from GCC.
40030 2012-05-09 Andreas Jaeger <aj@suse.de>
40032 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40033 default is first entry.
40034 (run_mode): Set type.
40035 (main): Remove informal message about syslog.
40036 (options): Fix typo.
40039 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40042 (llrintf): Likewise.
40043 (llrint): Likewise.
40046 (nearbyint): Likewise.
40047 (nearbyintf): Likewise.
40049 2012-05-09 Andreas Jaeger <aj@suse.de>
40050 Pedro Alves <palves@redhat.com>
40052 * nscd/nscd.c (run_mode): Use enum.
40053 (main): Cleanup coding style issue.
40055 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40056 Andreas Jaeger <aj@suse.de>
40058 * nscd/nscd.c (go_background): Replaced with...
40059 (run_mode): ... this.
40060 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40061 (options): Add -F --foreground.
40062 (main): Implement it.
40063 (parse_opt): Parse it.
40065 2012-05-09 Andreas Jaeger <aj@suse.de>
40068 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40069 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40070 -Wconversion warning.
40071 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40074 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40076 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40078 (LC_ALL): Use macro-int-constant.
40079 (LC_COLLATE): Likewise.
40080 (LC_CTYPE): Likewise.
40081 (LC_MESSAGES): Likewise.
40082 (LC_MONETARY): Likewise.
40083 (LC_NUMERIC): Likewise.
40084 (LC_TIME): Likewise.
40085 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40086 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40088 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40090 [C99-based standards] (float_t): Expect type.
40091 [C99-based standards] (double_t): Expect type.
40092 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40094 [C99-based standards] (HUGE_VALL): Likewise.
40095 [C99-based standards] (INFINITY): Likewise.
40096 [C99-based standards] (NAN): Likewise.
40097 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40098 [C99-based standards] (FP_NAN): Likewise.
40099 [C99-based standards] (FP_NORMAL): Likewise.
40100 [C99-based standards] (FP_SUBNORMAL): Likewise.
40101 [C99-based standards] (FP_ZERO): Likewise.
40102 [C99-based standards] (FP_FAST_FMA): Use
40103 optional-macro-int-constant. Specify type. Require == 1.
40104 [C99-based standards] (FP_FAST_FMAF): Likewise.
40105 [C99-based standards] (FP_FAST_FMAL): Likewise.
40106 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40107 [C99-based standards] (FP_ILOGBNAN): Likewise.
40108 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40110 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40111 [C99-based standards] (math_errhandling): Specify type.
40112 [ISO99 || ISO11] (signgam): Do not allow.
40113 [non-C99-based standards] (copysignf): Do not allow.
40114 [non-C99-based standards] (exp2f): Likewise.
40115 [non-C99-based standards] (log2f): Likewise.
40116 [non-C99-based standards] (modff): Allow.
40117 [non-C99-based standards] (erff): Do not allow.
40118 [non-C99-based standards] (erfcf): Likewise.
40119 [non-C99-based standards] (gammaf): Likewise.
40120 [non-C99-based standards] (hypotf): Likewise.
40121 [non-C99-based standards] (j0f): Likewise.
40122 [non-C99-based standards] (j1f): Likewise.
40123 [non-C99-based standards] (jnf): Likewise.
40124 [non-C99-based standards] (lgammaf): Likewise.
40125 [non-C99-based standards] (tgammaf): Likewise.
40126 [non-C99-based standards] (y0f): Likewise.
40127 [non-C99-based standards] (y1f): Likewise.
40128 [non-C99-based standards] (ynf): Likewise.
40129 [non-C99-based standards] (isnanf): Likewise.
40130 [non-C99-based standards] (acoshf): Likewise.
40131 [non-C99-based standards] (asinhf): Likewise.
40132 [non-C99-based standards] (atanhf): Likewise.
40133 [non-C99-based standards] (cbrtf): Likewise.
40134 [non-C99-based standards] (expm1f): Likewise.
40135 [non-C99-based standards] (ilogbf): Likewise.
40136 [non-C99-based standards] (log1pf): Likewise.
40137 [non-C99-based standards] (logbf): Likewise.
40138 [non-C99-based standards] (nextafterf): Likewise.
40139 [non-C99-based standards] (remainderf): Likewise.
40140 [non-C99-based standards] (rintf): Likewise.
40141 [non-C99-based standards] (scalbf): Likewise.
40142 [non-C99-based standards] (copysignl): Likewise.
40143 [non-C99-based standards] (exp2l): Likewise.
40144 [non-C99-based standards] (log2l): Likewise.
40145 [non-C99-based standards] (modfl): Allow.
40146 [non-C99-based standards] (erfl): Do not allow.
40147 [non-C99-based standards] (erfcl): Likewise.
40148 [non-C99-based standards] (gammal): Likewise.
40149 [non-C99-based standards] (hypotl): Likewise.
40150 [non-C99-based standards] (j0l): Likewise.
40151 [non-C99-based standards] (j1l): Likewise.
40152 [non-C99-based standards] (jnl): Likewise.
40153 [non-C99-based standards] (lgammal): Likewise.
40154 [non-C99-based standards] (tgammal): Likewise.
40155 [non-C99-based standards] (y0l): Likewise.
40156 [non-C99-based standards] (y1l): Likewise.
40157 [non-C99-based standards] (ynl): Likewise.
40158 [non-C99-based standards] (isnanl): Likewise.
40159 [non-C99-based standards] (acoshl): Likewise.
40160 [non-C99-based standards] (asinhl): Likewise.
40161 [non-C99-based standards] (atanhl): Likewise.
40162 [non-C99-based standards] (cbrtl): Likewise.
40163 [non-C99-based standards] (expm1l): Likewise.
40164 [non-C99-based standards] (ilogbl): Likewise.
40165 [non-C99-based standards] (log1pl): Likewise.
40166 [non-C99-based standards] (logbl): Likewise.
40167 [non-C99-based standards] (nextafterl): Likewise.
40168 [non-C99-based standards] (remainderl): Likewise.
40169 [non-C99-based standards] (rintl): Likewise.
40170 [non-C99-based standards] (scalbl): Likewise.
40171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40172 [non-C99-based standards] (FP_*): Do not allow.
40173 [C99-based standards] (FP_*): Change to
40174 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40175 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40177 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40178 (SIG_ERR): Likewise.
40179 [X/Open-based standards] (SIG_HOLD): Likewise.
40180 (SIG_IGN): Likewise.
40181 (SIGABRT): Use macro-int-constant. Specify type. Require
40183 (SIGFPE): Likewise.
40184 (SIGILL): Likewise.
40185 (SIGINT): Likewise.
40186 (SIGSEGV): Likewise.
40187 (SIGTER): Likewise.
40188 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40189 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40190 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40191 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40192 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40193 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40194 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40195 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40196 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40197 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40198 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40199 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40200 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40201 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40202 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40203 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40204 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40205 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40206 [X/Open-based standards] (SIGTRAP): Likewise.
40207 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40208 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40209 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40210 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40211 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40214 2012-05-08 Ian Wienand <ianw@vmware.com>
40217 * time/tzset.c (__tzset_parse_tz): Update default rules for
40218 daylight time changes in the Energy Policy Act of 2005.
40220 2012-05-09 Andreas Jaeger <aj@suse.de>
40223 * elf/ldconfig.c (parse_conf): Change string to make clear that
40224 ldconfig only issued a warning if ld.so.conf does not exist.
40226 2012-05-08 David S. Miller <davem@davemloft.net>
40228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40229 movxtod instead of popping the value on the stack.
40231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40233 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40235 * config.h.in: Add HAVE_ARM_PCS_VFP.
40237 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40240 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40241 checking but the checks are disabled for any reason.
40243 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40245 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40246 and ELF64_R_TYPE with ELFW(R_TYPE).
40248 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40250 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40251 (ulimit): Likewise.
40253 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40254 (settimeofday): Likewise.
40256 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40258 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40259 a struct th_u2 inside the union, and move tu_block/tu_code into
40260 a new th_u3 union of tu_block/tu_code inside of that. Move
40261 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40262 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40263 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40264 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40265 (th_stuff): Change to th_u1.tu_stuff.
40267 (th_msg): Change to th_u1.th_u2.tu_data.
40269 2012-05-07 David S. Miller <davem@davemloft.net>
40271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40274 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40275 (SETUP_PIC_REG): Use it.
40276 (SETUP_PIC_REG_LEAF): Use it.
40278 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40282 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40284 (EXPL_FINITE): Likewise.
40285 (FLDLOG): Likewise.
40286 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40287 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40289 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40291 (EXPL_FINITE): Likewise.
40292 (FLDLOG): Likewise.
40293 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40294 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40296 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40297 test of -max_value argument for long double.
40298 * sysdeps/i386/fpu/libm-test-ulps: Update.
40299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40301 2012-05-06 David S. Miller <davem@davemloft.net>
40303 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40304 quad soft-float symbols whose references which are compiler
40306 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40308 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40314 (EXPL_FINITE): Likewise.
40315 (FLDLOG): Likewise.
40318 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40319 Adjust comments for base varying.
40320 (__expl_finite): Change alias to EXPL_FINITE.
40321 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40323 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40324 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40325 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40326 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40327 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40329 (EXPL_FINITE): Likewise.
40330 (FLDLOG): Likewise.
40333 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40334 Adjust comments for base varying.
40335 (__expl_finite): Change alias to EXPL_FINITE.
40336 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40341 * math/libm-test.inc (check_float_internal): Correct ulp
40342 calculation for subnormal expected results.
40344 2012-05-06 Andreas Jaeger <aj@suse.de>
40346 * Makeconfig (+math-flags): New, set to -frounding-math.
40347 (+cflags): Add +math-flags so that all of glibc gets compiled with
40350 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40352 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40354 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40360 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40361 (__ieee754_expl): Allow for and saturate large arguments.
40362 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40363 (u_threshold): Likewise.
40364 (__exp): Call __ieee754_exp before checking for overflow and
40366 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40367 (u_threshold): Likewise.
40368 (__expf): Call __ieee754_expf before checking for overflow and
40370 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40371 (u_threshold): Likewise.
40372 (__expl): Call __ieee754_expl before checking for overflow and
40374 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40375 (__ieee754_expl): Allow for and saturate large arguments.
40376 * math/libm-test.inc (exp_test): Add another test. Do not allow
40377 missing overflow exception on overflow.
40378 (expm1_test): Do not allow missing overflow exception on overflow.
40380 * sysdeps/i386/fpu/e_expl.c: Move to ...
40381 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40382 rather than using inline asm.
40383 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40384 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40385 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40387 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40390 (signal): Likewise.
40394 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40396 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40397 sysdeps/unix/common/syscalls.list.
40398 (fchmod): Likewise.
40399 (fchown): Likewise.
40400 (ftruncate): Likewise.
40401 (getrusage): Likewise.
40402 (gettimeofday): Likewise.
40403 (setpgid): Likewise.
40404 (setregid): Likewise.
40405 (setreuid): Likewise.
40406 (sigaction): Likewise.
40407 (truncate): Likewise.
40408 (vhangup): Likewise.
40409 * sysdeps/unix/common/syscalls.list: Remove file.
40410 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40411 * sysdeps/unix/sysv/linux/Implies: Likewise.
40413 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40415 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40417 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40421 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40424 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40427 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40430 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40433 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40436 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40439 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40443 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40447 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40450 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40454 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40458 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40460 * sysdeps/unix/common/bits/dirent.h: Remove file.
40461 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40463 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40464 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40465 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40466 * sysdeps/unix/bsd/isatty.c: Likewise.
40467 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40468 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40469 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40471 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40475 long double comparison inaccuracies.
40476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40479 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40481 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40484 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40487 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40488 nonzero digits before rounding a hex value.
40489 * stdlib/tst-strtod.c (tests): Add another test.
40491 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40493 * sysdeps/s390/fpu/libm-test-ulps: Update.
40495 2012-05-03 Andreas Jaeger <aj@suse.de>
40497 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40498 does not get optimized out.
40499 (malloc_opt_barrier): New.
40501 2012-05-03 Andreas Jaeger <aj@suse.de>
40502 Roland McGrath <roland@hack.frob.com>
40504 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40505 intermediate file deletion.
40506 (generated): Add .symlist files.
40508 2012-05-03 Joseph Myers <joseph@codesourcery.com>
40511 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40512 Redirect under this condition.
40513 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40514 [__USE_GNU] (__dprintf_chk): Not under this condition.
40515 [__USE_GNU] (__vdprintf_chk): Likewise.
40516 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40517 under this condition.
40518 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40519 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40520 [__USE_XOPEN2K8] (vdprintf): Likewise.
40521 [__USE_GNU] (__dprintf_chk): Not under this condition.
40522 [__USE_GNU] (__vdprintf_chk): Likewise.
40523 [__USE_GNU] (dprintf): Likewise.
40524 [__USE_GNU] (vdprintf): Likewise.
40526 2012-05-03 Roland McGrath <roland@hack.frob.com>
40528 * elf/Makefile (common-generated): Set this instead of generated for
40529 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40530 $(all-built-dso)-derived lists.
40532 2012-05-03 Andreas Jaeger <aj@suse.de>
40534 * sysdeps/i386/fpu/libm-test-ulps: Update.
40537 * FAQ.in: Likewise.
40538 * scripts/gen-FAQ.pl: Likewise.
40539 * manual/install.texi (Installation): Point to online location of
40541 * Makefile (files-for-dist): Remove FAQ.
40544 2012-05-02 Allan McRae <allan@archlinux.org>
40546 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40547 (LDFLAGS-reldepmod5.so): Likewise.
40548 (LDFLAGS-reldep6mod1.so): Likewise.
40549 (LDFLAGS-reldep6mod4.so): Likewise.
40550 (LDFLAGS-reldep8mod3.so): Likewise.
40551 (LDFLAGS-unload4mod1.so): Likewise.
40552 (LDFLAGS-unload4mod2.so): Likewise.
40553 (LDFLAGS-tst-initorder): Likewise.
40554 (LDFLAGS-tst-initordera2.so): Likewise.
40555 (LDFLAGS-tst-initordera3.so): Likewise.
40556 (LDFLAGS-tst-initordera4.so): Likewise.
40557 (LDFLAGS-tst-initorderb2.so): Likewise.
40558 (LDFLAGS-noload): Likewise.
40559 (LDFLAGS-next): Likewise.
40560 (LDFLAGS-order2mod1.so): Likewise.
40561 (LDFLAGS-order2mod2.so): Likewise.
40562 (LDFLAGS-tst-initorder2): Likewise.
40563 (LDFLAGS-tst-initorder2a.so): Likewise.
40564 (LDFLAGS-tst-initorder2b.so): Likewise.
40565 (LDFLAGS-tst-initorder2c.so): Likewise.
40566 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40568 2012-05-02 David S. Miller <davem@davemloft.net>
40570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40572 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40575 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40577 2012-05-02 Andreas Jaeger <aj@suse.de>
40579 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40580 since we manipulate rounding mode.
40581 (CPPFLAGS-test-idouble.c): Likewise.
40582 (CPPFLAGS-test-ifloat.c): Likewise.
40583 (CFLAGS-test-ldouble.c): Likewise.
40584 (CFLAGS-test-double.c): Likewise.
40585 (CFLAGS-test-float.c): Likewise.
40586 (CFLAGS-test-misc.c): Likewise.
40587 (CFLAGS-test-test-fenv.c): Likewise.
40589 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40593 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40594 comparisons to determine direction to adjust input.
40596 2012-05-01 Roland McGrath <roland@hack.frob.com>
40598 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40599 output to the target.
40601 * scripts/localplt.awk: New file.
40602 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40603 (check-localplt-CFLAGS): Variable removed.
40604 ($(all-built-dso:=.jmprel)): New static pattern rule.
40605 (generated): Add those targets.
40606 (localplt-built-dso): New variable.
40607 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40609 * elf/check-localplt.c: File removed.
40611 * scripts/check-execstack.awk: New file.
40612 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40613 (check-execstack-CFLAGS): Variable removed.
40614 ($(objpfx)check-execstack.h): Target removed.
40615 ($(objpfx)execstack-default): New target.
40616 (generated): Add that instead of check-execstack.h.
40617 ($(all-built-dso:=.phdr)): New static pattern rule.
40618 (generated): Add those targets.
40619 * elf/check-execstack.c: File removed.
40621 * scripts/check-textrel.awk: New file.
40622 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40623 (check-textrel-CFLAGS): Variable removed.
40624 (all-built-dso): Use := to define.o
40625 ($(all-built-dso:=.dyn)): New static pattern rule.
40626 (generated): Add those targets.
40627 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40628 * config.make.in (READELF): New substituted variable.
40629 * elf/check-textrel.c: File removed.
40631 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40633 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40635 * conform/data/ctype.h-data [C99-based standards] (isblank):
40637 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40638 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40640 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40641 Specify type. Require positive value.
40642 (EILSEQ): Likewise.
40643 (ERANGE): Likewise.
40644 [ISO || POSIX] (EILSEQ): Do not expect.
40645 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40646 Specify type. Require positive value.
40647 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40648 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40649 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40650 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40651 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40652 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40653 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40654 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40655 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40656 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40657 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40658 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40659 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40660 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40661 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40662 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40663 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40664 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40665 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40666 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40667 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40668 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40669 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40670 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40671 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40672 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40673 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40674 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40675 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40676 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40677 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40678 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40679 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40680 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40681 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40682 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40683 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40684 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40685 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40686 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40687 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40688 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40689 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40690 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40691 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40692 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40693 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40694 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40695 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40696 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40697 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40698 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40699 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40700 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40701 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40702 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40703 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40704 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40705 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40706 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40707 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40708 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40709 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40710 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40711 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40712 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40713 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40714 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40715 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40716 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40717 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40718 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40719 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40720 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40721 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40722 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40723 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40725 (FLT_ROUNDS): Expect as macro, not constant.
40726 (FLT_MANT_DIG): Use macro-int-constant.
40727 (DBL_MANT_DIG): Likewise.
40728 (LDBL_MANT_DIG): Likewise.
40729 (FLT_DIG): Likewise.
40730 (DBL_DIG): Likewise.
40731 (LDBL_DIG): Likewise.
40732 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40733 (DBL_MIN_EXP): Likewise.
40734 (LDBL_MIN_EXP): Likewise.
40735 (FLT_MAX_EXP): Use macro-int-constant.
40736 (DBL_MAX_EXP): Likewise.
40737 (LDBL_MAX_EXP): Likewise.
40738 (FLT_MAX_10_EXP): Likewise.
40739 (DBL_MAX_10_EXP): Likewise.
40740 (LDBL_MAX_10_EXP): Likewise.
40741 (FLT_MAX): Use macro-constant.
40742 (DBL_MAX): Likewise.
40743 (LDBL_MAX): Likewise.
40744 (FLT_EPSILON): Use macro-constant. Give upper bound.
40745 (DBL_EPSILON): Likewise.
40746 (LDBL_EPSILON): Likewise.
40747 (FLT_MIN): Likewise.
40748 (DBL_MIN): Likewise.
40749 (LDBL_MIN): Likewise.
40750 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40751 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40752 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40753 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40754 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40755 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40756 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40757 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40758 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40759 [ISO11] (FLT_TRUE_MIN): Likewise.
40760 [ISO11] (LDBL_TRUE_MIN): Likewise.
40761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40762 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40763 (SCHAR_MIN): Use macro-int-constant. Specify type.
40764 (SCHAR_MAX): Likewise.
40765 (UCHAR_MAX): Likewise.
40766 (CHAR_MIN): Likewise.
40767 (CHAR_MAX): Likewise.
40768 (MB_LEN_MAX): Use macro-int-constant.
40769 (SHRT_MIN): Use macro-int-constant. Specify type.
40770 (SHRT_MAX): Likewise.
40771 (USHRT_MAX): Likewise.
40772 (INT_MAX): Likewise.
40773 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40775 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40777 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40779 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40780 bound negative. Suffix upper bound with "L".
40781 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40783 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40785 [C99-based standards] (LLONG_MAX): Likewise.
40786 [C99-based standards] (ULLONG_MAX): Likewise.
40787 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40789 [ISO11] (max_align_t): Require type.
40790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40792 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40793 from $CFLAGS, without defining away __attribute__ calls.
40794 (checknamespace): Use $CFLAGS_namespace.
40796 * conform/conformtest.pl (@keywords): Only include C99 keywords
40797 for standards based on C99 or C11.
40799 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40801 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40804 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40805 usability of symbols in #if.
40807 * conform/conformtest.pl: If macro or constant types start
40808 "promoted:", expect the symbol to be of the following type
40809 promoted by the integer promotions.
40811 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40812 in one place. Also handle "macro-constant".
40814 * conform/conformtest.pl: Only accept expected macro values with
40815 "==". Parse all "macro" lines in one place.
40816 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40818 * conform/conformtest.pl: Handle braced types on "constant" lines
40819 instead of handling "typed-constant".
40820 * conform/data/signal.h-data: Use "constant" instead of
40823 * conform/conformtest.pl: Handle "optional-" at start of lines in
40824 one place rather than duplicating several cases. Handle each
40825 format of "macro" line with initial "optional-".
40827 * conform/conformtest.pl: Only accept expected constant or
40828 optional-constant values with "==". Parse all "constant" lines in
40829 one place. Parse all "optional-constant" lines in one place.
40830 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40831 * conform/data/fmtmsg.h-data: Likewise.
40832 * conform/data/netinet/in.h-data: Likewise.
40833 * conform/data/tar.h-data: Likewise.
40834 * conform/data/limits.h-data: Use "==" form on "constant" and
40835 "optional-constant" lines.
40837 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40838 Use -std=c99 for XOPEN2K.
40839 (@knownproblems): Remove.
40840 (newtoken): Don't check %isknown.
40842 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40843 Do not expect macro.
40844 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40845 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40846 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40847 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40848 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40849 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40850 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40851 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40852 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40853 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40854 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40855 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40856 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40857 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40858 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40859 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40860 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40861 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40862 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40863 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40864 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40865 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40866 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40867 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40868 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40869 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40870 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40871 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40872 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40873 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40874 [XPG3] (acosh): Likewise.
40875 [XPG3] (asinh): Likewise.
40876 [XPG3] (atanh): Likewise.
40877 [XPG3] (cbrt): Likewise.
40878 [XPG3] (expm1): Likewise.
40879 [XPG3] (ilogb): Likewise.
40880 [XPG3] (log1p): Likewise.
40881 [XPG3] (logb): Likewise.
40882 [XPG3] (nextafter): Likewise.
40883 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40884 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40885 [XPG3] (remainder): Likewise.
40886 [XPG3] (rint): Likewise.
40887 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40888 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40889 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40890 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40891 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40892 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40893 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40894 [UNIX98 || XOPEN2K] (scalb): Expect.
40895 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40896 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40897 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40898 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40899 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40900 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40901 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40902 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40903 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40904 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40905 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40906 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40907 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40908 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40909 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40910 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40911 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40912 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40913 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40914 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40915 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40916 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40917 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40918 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40919 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40920 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40921 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40922 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40923 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40924 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40925 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40926 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40927 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40928 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40929 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40930 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40931 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40932 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40933 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40934 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40935 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40936 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40937 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40938 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40939 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40940 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40941 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40942 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40943 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40944 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40945 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40946 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40947 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40948 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40949 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40950 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40951 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40952 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40953 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40954 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40955 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40956 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40957 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40958 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40959 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40960 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40961 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40962 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40963 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40964 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40965 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40966 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40967 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40968 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40969 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40970 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40971 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40972 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40973 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40974 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40975 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40976 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40977 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40978 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40979 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40980 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40981 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40982 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40983 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40984 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40985 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40986 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40987 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40988 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40989 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40990 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40991 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40992 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40993 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40994 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40995 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40996 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40997 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40998 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40999 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41000 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41001 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41002 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41003 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41004 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41005 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41006 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41007 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41008 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41009 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41010 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41011 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41012 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41013 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41014 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41015 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41016 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41017 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41018 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41019 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41020 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41021 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41022 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41023 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41024 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41025 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41026 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41027 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41028 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41029 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41030 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41031 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41033 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41034 _XOPEN_SOURCE_EXTENDED for XPG4.
41036 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41038 * Makeconfig (localtime): Remove variable.
41039 (inst_localtime-file): Likewise.
41041 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41062 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41066 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41067 comparisons to determine direction to adjust input.
41068 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41069 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41070 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41072 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41074 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41076 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41077 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41079 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41081 * math/libm-test.inc (nexttoward_test): Add more tests.
41083 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41086 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41087 in version GLIBC_2.1, not GLIBC_2.0.
41088 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41091 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41094 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41096 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41097 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41098 * math/libm-test.inc (acos_test): Add more tests.
41099 (asin_test): Likewise.
41100 * sysdeps/i386/fpu/libm-test-ulps: Update.
41101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41104 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41106 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41107 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41108 * math/libm-test.inc (acos_test_tonearest): New function.
41109 (acos_test_towardzero): Likewise.
41110 (acos_test_downward): Likewise.
41111 (acos_test_upward): Likewise.
41112 (asin_test_tonearest): Likewise.
41113 (asin_test_towardzero): Likewise.
41114 (asin_test_downward): Likewise.
41115 (asin_test_upward): Likewise.
41116 (main): Call the new functions.
41117 * sysdeps/i386/fpu/libm-test-ulps: Update.
41118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41122 * math/e_exp10.c: Include <float.h>.
41123 (__ieee754_exp10): Handle underflow here rather than multiplying
41124 large negative argument by M_LN10.
41125 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41127 * math/e_exp10l.c: Include <float.h>.
41128 (__ieee754_exp10l): Handle underflow here rather than multiplying
41129 large negative argument by M_LN10l.
41130 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41131 spurious overflow exception on underflow.
41133 2012-04-29 Marek Polacek <polacek@redhat.com>
41135 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41136 (__fortify_function): New macro.
41137 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41138 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41139 __extern_always_inline.
41140 * libio/bits/stdio2.h: Likewise.
41141 * libio/bits/stdio.h: Likewise.
41142 * string/string.h: Likewise.
41143 * string/bits/string3.h: Likewise.
41144 * include/stdio.h: Likewise.
41145 * stdlib/bits/stdlib.h: Likewise.
41146 * stdlib/stdlib.h: Likewise.
41147 * rt/bits/mqueue2.h: Likewise.
41148 * rt/mqueue.h: Likewise.
41149 * posix/bits/unistd.h: Likewise.
41150 * posix/unistd.h: Likewise.
41151 * io/bits/poll2.h: Likewise.
41152 * io/bits/fcntl2.h: Likewise.
41153 * io/fcntl.h: Likewise.
41154 * io/sys/poll.h: Likewise.
41155 * misc/bits/syslog.h: Likewise.
41156 * misc/bits/syslog-ldbl.h: Likewise.
41157 * misc/sys/syslog.h: Likewise.
41158 * socket/bits/socket2.h: Likewise.
41159 * socket/sys/socket.h: Likewise.
41160 * debug/tst-chk1.c: Likewise.
41161 * wcsmbs/bits/wchar2.h: Likewise.
41162 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41163 * wcsmbs/wchar.h: Likewise.
41165 2012-04-29 Andreas Jaeger <aj@suse.de>
41167 * Makerules (tests): Remove enable-check-abi protection.
41168 (check-abi-warn): Remove.
41169 (check-abi-%): Remove check-abi-warn usage.
41171 * configure.in: Remove check-abi configure option.
41172 * configure: Regenerated.
41173 * config.make.in (enable-check-abi): Remove.
41175 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41178 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41179 double functions to double *_finite functions.
41182 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41183 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41185 * stdio-common/Makefile (tests): Add tst-sprintf3.
41186 * stdio-common/tst-sprintf3.c: New file.
41188 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41189 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41191 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41193 * conform/conformtest.pl: Remove duplicate typed-constant
41196 2012-04-28 David S. Miller <davem@davemloft.net>
41198 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41199 (check-abi-%): Remove AWK script prerequisite and explicit
41201 (check-abi): Rewrite to just diff the symlist with the abilist.
41202 (config-tls, config-abi-config): Delete, no longer used.
41203 (update-abi-%): Remove AWK script and explicit abilist directory.
41204 (update-abi): Rewrite to simply compare and conditionally copy the
41205 symlist and the sysdep abilist file. Remove update-abi-config
41207 * abilist/ld.abilist: Remove.
41208 * abilist/libBrokenLocale.abilist: Remove.
41209 * abilist/libanl.abilist: Remove.
41210 * abilist/libcrypt.abilist: Remove.
41211 * abilist/libdl.abilist: Remove.
41212 * abilist/librt.abilist: Remove.
41213 * abilist/libthread_db.abilist: Remove.
41214 * abilist/libutil.abilist: Remove.
41215 * scripts/extract-abilist.awk: Remove.
41216 * scripts/merge-abilist.awk: Remove.
41217 * sysdeps/generic/libcidn.abilist: New file.
41218 * sysdeps/generic/libnss_compat.abilist: New file.
41219 * sysdeps/generic/libnss_db.abilist: New file.
41220 * sysdeps/generic/libnss_dns.abilist: New file.
41221 * sysdeps/generic/libnss_files.abilist: New file.
41222 * sysdeps/generic/libnss_hesiod.abilist: New file.
41223 * sysdeps/generic/libnss_nis.abilist: New file.
41224 * sysdeps/generic/libnss_nisplus.abilist: New file.
41225 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41226 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41227 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41229 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41230 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41231 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41232 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41233 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41234 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41235 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41236 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41237 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41239 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41240 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41241 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41242 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41244 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41245 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41246 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41247 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41248 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41249 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41251 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41252 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41253 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41255 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41358 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41359 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41360 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41362 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41363 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41364 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41365 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41366 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41367 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41368 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41369 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41370 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41371 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41423 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41425 * conform/conformtest.pl: Fix typo in handling typed-constant from
41428 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41430 * README: Cut down references to pre-2.6 Linux kernels and
41431 Linuxthreads. Update lists of configurations in libc and ports
41432 and sort alphabetically. Say "or newer" with Linux kernel version
41435 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41437 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41440 * math/libm-test.inc (logb_test_downward): New test to expose
41441 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41444 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41447 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41449 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41450 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41452 2012-04-26 Joseph Myers <joseph@codesourcery.com>
41454 * sysdeps/unix/i386/brk.S: Remove file.
41455 * sysdeps/unix/i386/dl-brk.S: Likewise.
41456 * sysdeps/unix/i386/pipe.S: Likewise.
41457 * sysdeps/unix/i386/sigreturn.S: Likewise.
41458 * sysdeps/unix/i386/syscall.S: Likewise.
41459 * sysdeps/unix/i386/vfork.S: Likewise.
41460 * sysdeps/unix/i386/wait.S: Likewise.
41462 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41463 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41465 * configure.in (arm*-none*): Do not allow without
41466 --enable-hacker-mode.
41467 (netbsd*): Remove case setting base_os.
41468 (386bsd*): Likewise.
41469 (freebsd*): Likewise.
41472 (sunos*): Likewise.
41473 (ultrix*): Likewise.
41474 (newsos*): Likewise.
41475 (dynix*): Likewise.
41481 (minix*): Likewise.
41482 (irix4*): Likewise.
41483 (irix6*): Likewise.
41484 (solaris[2-9]*): Likewise.
41486 * configure: Regenerated.
41488 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41491 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41492 overflow or cancellation in calculating denominator.
41493 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41495 down expression to avoid unexpected rounding in newer GCCs.
41496 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41498 2012-04-26 David S. Miller <davem@davemloft.net>
41500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41501 long-double compat symbols.
41502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41516 2012-04-25 David S. Miller <davem@davemloft.net>
41518 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41519 HWCAP_* values only after the memory barriers have been defined.
41520 (atomic_full_barrier): Define.
41521 (atomic_read_barrier): Define.
41522 (atomic_write_barrier): Define.
41524 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41526 * shlib-versions: Add libgcc_s version information.
41527 * sysdeps/generic/libgcc_s.h: Remove.
41528 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41530 * sysdeps/gnu/unwind-resume.c: Likewise.
41531 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41533 2012-04-25 David S. Miller <davem@davemloft.net>
41535 * sysdeps/unix/sparc/brk.S: Delete.
41536 * sysdeps/unix/sparc/dl-brk.S: Delete.
41537 * sysdeps/unix/sparc/pipe.S: Delete.
41538 * sysdeps/unix/sparc/sysdep.S: Delete.
41539 * sysdeps/unix/sparc/sysdep.h: Delete.
41540 * sysdeps/unix/sparc/vfork.S: Delete.
41541 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41542 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41543 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41544 (ret_ERRVAL, r0, r1, MOVE): Define.
41545 (JUMPTARGET): Remove.
41546 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41547 sysdeps/unix/sparc/sysdep.h
41548 (ENTRY, END): Remove.
41549 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41551 2012-04-25 Joseph Myers <joseph@codesourcery.com>
41553 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41554 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41557 * timezone/README: Update upstream location and email address for
41559 * timezone/zdump.c: Update from tzcode 2012b.
41560 * timezone/zic.c: Likewise.
41562 * configure.in (libc_cv_as_needed): Remove test.
41563 * configure: Regenerated.
41564 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41565 conditional definition.
41566 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41567 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41568 * config.make.in (have-as-needed): Remove variable.
41570 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41571 Paul Pluzhnikov <ppluzhnikov@google.com>
41573 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41576 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41578 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41579 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41580 * sysdeps/sh/strlen.S: Likewise.
41582 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41584 * sysdeps/unix/fork.S: Remove file.
41585 * sysdeps/unix/i386/fork.S: Likewise.
41586 * sysdeps/unix/sparc/fork.S: Likewise.
41588 * sysdeps/unix/system.c: Remove file.
41589 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41591 * sysdeps/unix/getegid.S: Remove file.
41592 * sysdeps/unix/geteuid.S: Likewise.
41594 2012-04-24 Roland McGrath <roland@hack.frob.com>
41596 * scripts/check-localplt.awk: New file.
41597 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41599 * scripts/data/localplt-generic.data: Add a comment.
41601 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41602 NODE when __dir_mkfile failed.
41603 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41604 Reported by Ludovic Courtès <ludo@gnu.org>.
41606 2012-04-24 Andreas Jaeger <aj@suse.de>
41608 * Makerules (common-clean): Also remove gen-as-const-headers
41611 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41613 * Makerules (native-compile): Do not change working directory for
41614 build. Use $(OUTPUT_OPTION) in command.
41615 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41617 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41620 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41621 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41622 * math/libm-test.inc (floor_test): Add more tests.
41623 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41625 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41627 * sysdeps/unix/getdents.c: Remove file.
41628 * sysdeps/unix/sysv/getdents.c: Likewise.
41629 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41631 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41632 sysdeps/unix/mman/syscalls.list.
41634 (mprotect): Likewise.
41636 (munmap): Likewise.
41637 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41638 * sysdeps/unix/mman/syscalls.list: Remove.
41639 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41641 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41642 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41643 * configure: Regenerated.
41644 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41645 $(libgcc_s_suffix).
41646 * config.make.in (libgcc_s_suffix): Remove variable.
41648 2012-04-23 Joseph Myers <joseph@codesourcery.com>
41650 * sysdeps/unix/sysv/gethostname.c: Move to ...
41651 * sysdeps/posix/gethostname.c: ... here.
41653 * sysdeps/unix/execve.S: Remove file.
41655 * sysdeps/unix/_exit.S: Remove file.
41657 2012-04-23 Andreas Jaeger <aj@suse.de>
41660 * manual/Makefile: Remove make dist support, there's no
41661 need for a stand-alone documentation tar ball.
41662 (TEXI2DVI): Define always, it's not in Makeconfig.
41665 (edition): Removed.
41666 (glibc-doc-$(edition).tar): Removed
41670 (ETAGS): Remove, it's in Makeconfig.
41671 (move-if-change): Remove, it's in Makeconfig.
41673 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
41676 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41677 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41678 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41679 (strtod_l, strtof_l, strtold_l): Remove __wur.
41680 It is not necessarily an error to ignore strtol's return value.
41681 One can reliably look at the stored endptr to decide whether
41682 the number had valid syntax.
41684 2012-04-21 Andreas Jaeger <aj@suse.de>
41687 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41689 2012-04-21 Joseph Myers <joseph@codesourcery.com>
41691 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41692 * sysdeps/unix/sysv/Versions: Remove file.
41694 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41699 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
41702 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41703 version from __vm86.
41705 2012-04-20 Joseph Myers <joseph@codesourcery.com>
41707 * sysdeps/unix/common/lxstat.c: Remove file.
41708 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41710 * sysdeps/unix/sysv/Makefile: Remove file.
41712 * sysdeps/unix/sysv/direct.h: Remove file.
41714 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41715 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41716 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41717 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41718 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41719 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41720 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41722 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41724 * sysdeps/unix/xmknod.c: Remove file.
41725 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41727 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41729 * sysdeps/unix/sysv/i386/time.S: Remove file.
41731 * sysdeps/unix/fxstat.c: Remove file.
41732 * sysdeps/unix/xstat.c: Likewise.
41733 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41735 * sysdeps/unix/sysv/sigaction.c: Remove file.
41737 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41738 (sysdep_headers): Remove variable.
41739 [termio.h not in sysdep_headers] (generated): Likewise.
41740 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41741 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41742 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41743 * sysdeps/unix/sysv/tcflow.c: Likewise.
41744 * sysdeps/unix/sysv/tcflush.c: Likewise.
41745 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41746 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41747 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41748 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41749 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41751 * sysdeps/unix/siglist.c: Remove file.
41753 * sysdeps/unix/getppid.S: Remove file.
41755 * sysdeps/unix/mkdir.c: Remove file.
41756 * sysdeps/unix/rmdir.c: Likewise.
41758 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41760 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41762 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41763 errlist-compat value.
41765 2012-04-18 David S. Miller <davem@davemloft.net>
41767 * sysdeps/generic/memcopy.h (reg_char): Delete.
41768 * debug/strcat_chk.c: Use char, not reg_char.
41769 * debug/strcpy_chk.c: Likewise.
41770 * debug/strncat_chk.c: Likewise.
41771 * debug/strncpy_chk.c: Likewise.
41772 * string/memchr.c: Likewise.
41773 * string/memrchr.c: Likewise.
41774 * string/rawmemchr.c: Likewise.
41775 * string/strcat.c: Likewise.
41776 * string/strchr.c: Likewise.
41777 * string/strchrnul.c: Likewise.
41778 * string/strcmp.c: Likewise.
41779 * string/strcpy.c: Likewise.
41780 * string/strncat.c: Likewise.
41781 * string/strncmp.c: Likewise.
41782 * string/strncpy.c: Likewise.
41784 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41786 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41787 __builtin_memcopy is called when src and dest ranges are known to not
41790 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41792 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41793 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41794 fwd_align_merge macro call.
41795 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41796 bwd_align_merge macro call.
41797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41799 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41801 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41802 bwd_align_merge macros.
41803 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41804 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41805 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41807 2012-04-18 David S. Miller <davem@davemloft.net>
41809 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41811 2012-04-18 Andreas Jaeger <aj@suse.de>
41814 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41815 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41816 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41818 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41819 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41820 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41822 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41823 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41824 Adjust for changed ldbl-128 files.
41826 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41827 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41828 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41830 2012-04-17 David S. Miller <davem@davemloft.net>
41832 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41834 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41836 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41837 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41838 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41839 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41840 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41841 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41843 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41846 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41847 * math/libm-test.inc: Add ilogb errno and exception tests.
41848 * math/w_ilogb.c: New file: ilogb wrapper.
41849 * math/w_ilogbf.c: New file: ilogbf wrapper.
41850 * math/w_ilogbl.c: New file: ilogbl wrapper.
41851 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41852 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41853 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41854 exception being thrown with 0.0 as argument.
41855 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41856 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41857 exception being thrown with 0.0 as argument.
41858 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41859 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41860 exception being thrown with 0.0 as argument.
41861 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41862 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41863 exception being thrown with 0.0 as argument.
41864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41865 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41866 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41867 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41868 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41869 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41870 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41871 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41872 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41874 2012-04-17 Petr Baudis <pasky@ucw.cz>
41876 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41879 2012-04-16 Marek Polacek <polacek@redhat.com>
41881 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41883 2012-04-16 Marek Polacek <polacek@redhat.com>
41885 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41886 operands of fdivp instruction.
41888 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41890 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41891 * elf/tst-auditmod3b.c: Likewise.
41892 * elf/tst-auditmod4b.c: Likewise.
41893 * elf/tst-auditmod5b.c: Likewise.
41894 * elf/tst-auditmod6b.c: Likewise.
41895 * elf/tst-auditmod6c.c: Likewise.
41896 * elf/tst-auditmod7b.c: Likewise.
41897 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41898 * sysdeps/x86_64/preconfigure.in: Likewise.
41899 * sysdeps/x86_64/preconfigure: Regenerated.
41901 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41903 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41906 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
41908 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41909 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41911 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41914 * locale/iso-639.def: Fix gl language name. Spotted by
41917 2012-04-12 Roland McGrath <roland@hack.frob.com>
41920 * libio/libio.h (__io_write_fn): Update comment.
41922 2012-04-12 Petr Baudis <pasky@ucw.cz>
41925 * stdio.texi (Hook Functions): The user provided writer function
41926 is not allowed to return -1.
41928 2012-04-11 David S. Miller <davem@davemloft.net>
41930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41932 2012-04-11 Mike Frysinger <vapier@gentoo.org>
41934 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41935 Add a leading slash to rtkaio.
41937 2012-04-11 Jim Meyering <meyering@redhat.com>
41940 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41941 It is not necessarily an error to ignore fwrite's return
41942 value. One can reliably use ferror to test for errors after
41945 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41947 * bits/types.h (__snseconds_t): New type.
41948 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41950 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41952 (__SNSECONDS_T_TYPE): Likewise.
41953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41954 (__SNSECONDS_T_TYPE): Likewise.
41955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41956 (__SNSECONDS_T_TYPE): Likewise.
41958 2012-04-10 Andreas Jaeger <aj@suse.de>
41961 * manual/time.texi (Processor Time): Return type of times is
41962 elapsed real time since an arbitrary point in the past.
41963 (CPU Time): Move CLK_TCK from here...
41964 (Processor Time): ...to here. Correct description.
41965 * manual/conf.texi (Constants for Sysconf): Correct description of
41968 2012-04-10 David S. Miller <davem@davemloft.net>
41971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41972 where the is a gap between DT_REL(A) and DT_JMPREL.
41974 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41976 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41977 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41978 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41980 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41982 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41983 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41984 (dl_main): Handle --inhibit-cache.
41985 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41987 * elf/dl-load.c (_dl_map_object): Use it.
41988 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41990 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41993 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41994 (__ieee754_powl): Saturate large exponents rather than testing for
41995 overflow of y*log2(x).
41996 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41997 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42001 * math/s_ctan.c: Include <float.h>.
42002 (__ctan): Avoid internal overflow or cancellation in calculating
42004 * math/s_ctanf.c: Likewise.
42005 * math/s_ctanl.c: Likewise.
42006 * math/s_ctanh.c: Likewise.
42007 * math/s_ctanhf.c: Likewise.
42008 * math/s_ctanhl.c: Likewise.
42009 * math/libm-test.inc (ctan_test): Add more tests.
42010 (ctanh_test): Likewise.
42011 * sysdeps/i386/fpu/libm-test-ulps: Update.
42012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42014 2012-04-09 Andreas Jaeger <aj@suse.de>
42017 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42018 is an optional BSD extension.
42021 * manual/stdio.texi (Opening Streams): Document additional fopen
42024 2012-04-09 Roland McGrath <roland@hack.frob.com>
42026 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42027 %eax without telling the compiler.
42029 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42032 * manual/install.texi: Use sourceware.org.
42034 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42037 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42038 (__ieee754_pow): Generate overflow and underflow using huge*huge
42039 and tiny*tiny rather than just returning constant infinity or zero
42040 for large exponents.
42041 * math/libm-test.inc (pow_test): Require overflow exceptions for
42042 applicable cases of large exponents.
42045 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42046 (__ieee754_pow): Use iterative multiplication algorithm only for
42047 integer exponents with absolute value below 1024. Check for odd
42048 integer exponents when using algorithm for real exponents.
42049 * math/libm-test.inc (pow_test): Add more tests.
42050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42052 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42055 * math/libm-test.inc (exp_test): Do not allow overflow exception
42058 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42061 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42062 instead of __kernel_standard_f.
42064 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42066 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42067 * sysdeps/x86_64/memset_chk.S: Likewise.
42069 2012-04-08 Andreas Jaeger <aj@suse.de>
42072 * manual/startup.texi (Environment Access): Describe return value
42073 for putenv and setenv.
42076 * manual/filesys.texi (Directory Entries): Add description for
42080 * manual/filesys.texi (Directory Entries): Clarify that it's file
42081 system not operating system in the description of DT_UNKNOWN.
42084 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42086 2012-04-08 Stephen Compall <s11@member.fsf.org>
42089 * manual/llio.texi (Opening and Closing Files): Add cross
42090 reference to explain mode argument.
42092 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42094 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42095 * sysdeps/x86_64/memset_chk.S: Likewise.
42097 2012-04-07 David S. Miller <davem@davemloft.net>
42099 * elf/elf.h (R_SPARC_WDISP10): Define.
42100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42103 R_SPARC_SIZE64 and R_SPARC_H34.
42105 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42107 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42108 conditions and remove no longer applicable assertion.
42110 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42112 * bits/byteswap.h: Include <features.h>.
42113 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42114 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42116 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42118 * bits/byteswap.h (__bswap_16): Removed.
42119 Include <bits/byteswap-16.h> to get __bswap_16.
42120 * sysdeps/i386/bits/byteswap.h: Likewise.
42121 * sysdeps/s390/bits/byteswap.h: Likewise.
42122 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42123 * bits/byteswap-16.h: New file.
42124 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42125 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42126 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42127 * string/Makefile (headers): Add bits/byteswap-16.h.
42129 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42132 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42134 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42135 * nss/tst-nss-static.c: New.
42137 2012-04-06 Robert Millan <rmh@gnu.org>
42140 * manual/llio.texi (File Position Primitive): lseek
42141 refers to WHENCE when it really means OFFSET.
42143 2012-04-06 Andreas Jaeger <aj@suse.de>
42145 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42146 strncmp declarations.
42148 * abilist/libc.abilist: Add __poll and __ppoll.
42150 2012-04-05 David S. Miller <davem@davemloft.net>
42152 * scripts/check-local-headers.sh: Accept a host triplet in the
42153 path matched by the exclude regexp.
42155 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42157 * sysdeps/powerpc/powerpc32/dl-machine.h
42158 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42159 * sysdeps/s390/s390-32/dl-machine.h
42160 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42161 * sysdeps/sparc/sparc32/dl-machine.h
42162 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42163 * sysdeps/sparc/sparc64/dl-machine.h
42164 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42166 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42168 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42169 undefined symbol errors.
42171 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42174 2012-04-05 Michael Matz <matz@suse.de>
42177 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42179 2012-04-05 Andreas Jaeger <aj@suse.de>
42182 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42185 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42187 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42188 which ROUND is no valid rounding mode.
42190 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42192 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42194 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42196 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42198 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42199 an exception using FPU order intentionally.
42201 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42203 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42204 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42205 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42206 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42208 2012-04-05 Simon Josefsson <simon@josefsson.org>
42211 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42212 EINVAL when BUFLEN is too smal.
42214 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42217 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42218 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42220 2012-04-03 Andreas Jaeger <aj@suse.de>
42223 * manual/setjmp.texi (System V contexts): Fix sentence.
42226 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42227 New macro for this case.
42228 [!__GNUC__] (__bswap_64): New inline function for this case.
42229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42230 * bits/byteswap.h: Likewise.
42231 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42232 ull, guard with __GLIBC_HAVE_LONG_LONG.
42234 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42235 __GLIBC_HAVE_LONG_LONG.
42237 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42238 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42240 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42243 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42244 inptr and inend, rather than using last_ch.
42246 2012-04-02 David S. Miller <davem@davemloft.net>
42248 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42249 * stdio-common/printf-parse.h (read_int): Change return type to
42250 'int', return -1 on INT_MAX overflow.
42251 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42252 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42253 overflows INT_MAX. Check for overflow of in-format-string precision
42254 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42255 SIZE_MAX not INT_MAX for integer overflow test.
42256 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42257 skip the construct in the format string but do not record anything.
42258 * stdio-common/bug22.c: Adjust to test both width/prevision
42259 INT_MAX overflow as well as total length INT_MAX overflow. Check
42260 explicitly for proper errno values.
42262 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42264 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42266 * string/test-strcmp.c [! WIDE]: Likewise.
42267 * time/tst-mktime2.c: Likewise for INT_MAX.
42268 * string/test-string.h: #include <sys/param.h> for MIN.
42270 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42271 * sysdeps/i386/init-first.c (init): Likewise.
42272 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42273 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42274 * sysdeps/sh/init-first.c (init): Likewise.
42276 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42278 * po/ru.po: Update from translation team.
42279 * po/vi.po: Likewise.
42281 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42283 * resolv/nss_dns/dns-host.c: Merge copyright years.
42285 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42287 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42288 Optimize memcpy with prefetch if
42289 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42290 src, dst pointers have unequal 16 byte alignments.
42292 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42295 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42296 from a CNAME entry and return the minimum ttl for the query.
42297 (gaih_getanswer_slice): Likewise.
42299 2012-03-30 Jeff Law <law@redhat.com>
42301 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42303 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42304 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42306 * resolv/nss_dns/dns-host.c: Update copyright year.
42308 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42310 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42311 requests to save a system call. Fix check that all bytes are sent.
42313 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42314 comments for sendmmsg.
42316 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42319 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42320 with only 1 character between 0x0041 and 0x01b0.
42321 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42322 * wcsmbs/tst-mbsnrtowcs.c: New file.
42324 2012-03-29 David S. Miller <davem@davemloft.net>
42326 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42327 small copies by hand.
42329 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42332 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42333 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42336 2012-03-28 David S. Miller <davem@davemloft.net>
42338 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42339 that branches into memcpy.
42340 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42341 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42342 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42343 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42346 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42347 implementation too.
42348 * sysdeps/sparc/mempcpy.S: New file.
42350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42351 the IFUNC routine in the libc case.
42352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42354 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42355 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42356 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42357 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42358 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42359 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42360 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42361 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42363 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42364 loop to 256 bytes instead of 64 bytes and fix test signedness.
42366 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42367 * sysdeps/sparc/sparc32/Makefile: rather than here...
42368 * sysdeps/sparc/sparc64/Makefile: and here.
42370 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42372 * malloc/mallocbug.c: Avoid warnings about unused variables.
42374 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42377 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42378 in the right place. Discard and retry query if response is
42379 larger than input buffer size.
42381 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42386 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42387 x for large integer exponent.
42388 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42389 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42390 sign of result as needed afterwards.
42391 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42392 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42393 result for underflowing pow the same as for overflow.
42394 (__kernel_standard_l): Handle powl overflow and underflow here
42395 rather than calling __kernel_standard.
42396 * math/libm-test.inc (pow_test): Add more tests.
42411 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42412 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42413 (__kernel_standard_l): New function.
42414 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42416 * math/w_acosl.c (__acosl): Likewise.
42417 * math/w_asinl.c (__asinl): Likewise.
42418 * math/w_atan2l.c (__atan2l): Likewise.
42419 * math/w_atanhl.c (__atanhl): Likewise.
42420 * math/w_coshl.c (__coshl): Likewise.
42421 * math/w_exp10l.c (__exp10l): Likewise.
42422 * math/w_exp2l.c (__exp2l): Likewise.
42423 * math/w_fmodl.c (__fmodl): Likewise.
42424 * math/w_hypotl.c (__hypotl): Likewise.
42425 * math/w_j0l.c (__j0l, __y0l): Likewise.
42426 * math/w_j1l.c (__j1l, __y1l): Likewise.
42427 * math/w_jnl.c (__jnl, __ynl): Likewise.
42428 * math/w_lgammal.c (__lgammal): Likewise.
42429 * math/w_log10l.c (__log10l): Likewise.
42430 * math/w_log2l.c (__log2l): Likewise.
42431 * math/w_logl.c (__logl): Likewise.
42432 * math/w_powl.c (__powl): Likewise.
42433 * math/w_remainderl.c (__remainderl): Likewise.
42434 * math/w_scalbl.c (sysv_scalbl): Likewise.
42435 * math/w_sinhl.c (__sinhl): Likewise.
42436 * math/w_sqrtl.c (__sqrtl): Likewise.
42437 * math/w_tgammal.c (__tgammal): Likewise.
42438 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42439 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42440 * math/libm-test.inc (acos_test): Add more tests.
42441 (acosh_test): Likewise.
42442 (asin_test): Likewise.
42443 (atanh_test): Likewise.
42444 (exp_test): Likewise.
42445 (exp10_test): Likewise.
42446 (exp2_test): Likewise.
42447 (expm1_test): Likewise.
42448 (lgamma_test): Likewise.
42449 (log_test): Likewise.
42450 (log10_test): Likewise.
42451 (log1p_test): Likewise.
42452 (log2_test): Likewise.
42453 (pow_test): Do not allow some spurious overflow exceptions.
42454 (sqrt_test): Add more tests.
42455 (tgamma_test): Likewise.
42456 (y0_test): Likewise.
42457 (y1_test): Likewise.
42458 (yn_test): Likewise.
42460 2012-03-27 Anton Blanchard <anton@samba.org>
42462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42464 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42465 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42466 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42468 2012-03-27 David S. Miller <davem@davemloft.net>
42470 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42472 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42473 have-as-vis3 check.
42475 2012-03-27 Andreas Jaeger <aj@suse.de>
42477 * sysdeps/x86_64/elf/configure.in: Moved to ...
42478 * sysdeps/x86_64/configure.in: ... here.
42479 * sysdeps/x86_64/elf/start.S: Moved to ...
42480 * sysdeps/x86_64/start.S: ... here.
42481 * sysdeps/x86_64/elf/configure: Delete.
42483 * sysdeps/x86_64/configure.in: Merge contents from
42484 sysdeps/i386/configure.in (without i686 check).
42486 * sysdeps/i386/elf/Versions: Merge into ...
42487 * sysdeps/i386/Versions: ... this.
42488 * sysdeps/i386/elf/Versions: Delete file.
42489 * sysdeps/i386/elf/start.S: Moved to ...
42490 * sysdeps/i386/start.S: ...here.
42491 * sysdeps/i386/elf/configure.in: Merge into...
42492 * sysdeps/i386/configure.in: ...here.
42493 * sysdeps/i386/elf/configure.in: Delete file.
42494 * sysdeps/i386/elf/configure: Delete file.
42496 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42497 * debug/backtracesyms.c: ... here.
42498 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42499 * debug/backtracesymsfd.c: ... here.
42500 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42501 * sysdeps/generic/ifunc-sel.h: ... here.
42503 * sysdeps/unix/i386/start.c: Delete file.
42504 * sysdeps/unix/sparc/start.c: Delete file.
42505 * sysdeps/unix/start.c: Delete file.
42507 * sysdeps/sh/elf/configure.in: Moved to ...
42508 * sysdeps/sh/configure.in: ... here.
42509 * sysdeps/sh/elf/start.S: Moved to ...
42510 * sysdeps/sh/start.S: ... here.
42511 * sysdeps/sh/elf/configure: Delete file.
42513 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42514 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42515 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42516 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42517 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42518 * sysdeps/powerpc/powerpc64/start.S: here.
42519 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42520 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42521 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42522 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42523 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42525 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42526 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42527 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42528 * sysdeps/powerpc/powerpc32/start.S: ... here.
42529 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42530 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42531 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42533 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42534 * sysdeps/powerpc/ifunc-sel.h: ... here.
42535 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42536 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42538 * sysdeps/sparc/elf/configure.in: Moved to ...
42539 * sysdeps/sparc/configure.in: ... here.
42540 * sysdeps/sparc/elf/configure: Delete file.
42541 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42542 * sysdeps/sparc/sparc32/start.S: ... here.
42543 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42544 * sysdeps/sparc/sparc64/start.S: ... here.
42545 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42546 * sysdeps/sparc/sparc32/Makefile: ... this.
42547 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42548 * sysdeps/sparc/sparc64/Makefile: ... this.
42550 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42551 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42552 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42553 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42554 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42555 * sysdeps/s390/s390-32/setjmp.S: ... here.
42556 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42557 * sysdeps/s390/s390-32/configure.in: ... here.
42558 * sysdeps/s390/s390-32/elf/configure: Delete file.
42559 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42560 * sysdeps/s390/s390-32/start.S: ... here.
42562 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42563 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42564 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42565 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42566 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42567 * sysdeps/s390/s390-64/setjmp.S: ... here.
42568 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42569 * sysdeps/s390/s390-64/configure.in: ... here
42570 * sysdeps/s390/s390-64/elf/configure: Delete file.
42571 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42572 * sysdeps/s390/s390-64/start.S: ... here.
42573 * sysdeps/s390/s390-64/elf/configure: Delete.
42575 * configure.in: Remove support for elf directories in sysdeps.
42577 * configure: Regenerated.
42578 * sysdeps/i386/configure: Regenerated.
42579 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42580 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42581 * sysdeps/s390/s390-32/configure: Regenerated.
42582 * sysdeps/s390/s390-64/configure: Regenerated.
42583 * sysdeps/sh/configure: Regenerated.
42584 * sysdeps/sparc/configure: Regenerated.
42585 * sysdeps/x86_64/configure: Regenerated.
42587 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42591 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42592 denormal result into account.
42594 2012-03-25 Roland McGrath <roland@hack.frob.com>
42596 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42597 Reported by Allan McRae <allan@archlinux.org>.
42599 2012-03-23 Jeff Law <law@redhat.com>
42601 * nss/getnssent.c (__nss_getent): Fix typo.
42603 2012-03-23 David S. Miller <davem@davemloft.net>
42605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42607 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42609 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42610 to pad to uint64_t for each field.
42611 (dl_tls_index): Replace unsigned long with uint64_t.
42613 2012-03-23 Daniel Jacobowitz <dmj@google.com>
42614 Paul Pluzhnikov <ppluzhnikov@google.com>
42617 * grp/Makefile (otherlibs): Don't set it.
42618 * inet/Makefile (otherlibs): Likewise.
42619 * login/Makefile (otherlibs): Likewise.
42620 * nscd/Makefile (otherlibs): Likewise.
42621 * posix/Makefile (otherlibs): Likewise.
42622 * pwd/Makefile (otherlibs): Likewise.
42623 * rt/Makefile (otherlibs): Likewise.
42624 * sunrpc/Makefile (otherlibs): Likewise.
42625 * nss/Makefile (otherlibs): Likewise.
42626 Add libnss_files to routines and static-only-routines.
42627 ($(objpfx)getent): Remove rule.
42628 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42629 static-only-routines.
42631 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42634 * math/s_cexp.c: Include <float.h>.
42635 (__cexp): Handle exp result overflowing not necessarily
42636 overflowing both real and imaginary parts of result.
42637 * math/s_cexpf.c: Likewise.
42638 * math/s_cexpl.c: Likewise.
42639 * math/libm-test.inc (cexp_test): Add more tests.
42640 * sysdeps/i386/fpu/libm-test-ulps: Update.
42641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42643 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42645 * include/link.h (ELFW): New macro.
42646 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42647 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42649 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42651 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42654 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42656 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42658 (struct La_x32_retval): Likewise.
42660 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42662 * sysdeps/x86_64/preconfigure.in: New file.
42663 * sysdeps/x86_64/preconfigure: New generated file.
42665 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42668 * math/e_exp2l.c: Include <float.h>.
42669 (__ieee754_exp2l): Handle overflow and underflow cases
42670 separately. Only pass fractional part of argument to
42672 * math/libm-test.inc (exp2_test): Add more tests.
42674 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42675 negating x to take absolute value.
42676 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42678 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42679 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42681 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42682 computing low part if x was negated.
42683 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42685 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42687 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42688 la_x32_gnu_pltexit.
42689 (pltexit): Cast int_retval to ptrdiff_t.
42690 * elf/tst-auditmod3b.c: Likewise.
42691 * elf/tst-auditmod4b.c: Likewise.
42692 * elf/tst-auditmod5b.c: Likewise.
42693 * elf/tst-auditmod6b.c: Likewise.
42694 * elf/tst-auditmod6c.c: Likewise.
42695 * elf/tst-auditmod7b.c: Likewise.
42697 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42698 and x32_gnu_pltexit.
42700 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42701 __ELF_NATIVE_CLASS.
42702 (La_x32_regs): New macro.
42703 (La_x32_retval): Likewise.
42704 (la_x32_gnu_pltenter): New function prototype.
42705 (la_x32_gnu_pltexit): Likewise.
42707 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42709 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42714 * configure.in (libc_cv_cc_nofma): Check for option to disable
42715 generation of FMA instructions.
42716 * configure: Regenerate.
42717 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42718 * sysdeps/ieee754/dbl-64/Makefile: New file.
42719 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42720 Remove brandred-fma4.
42721 (CFLAGS-brandred-fma4.c): Remove.
42722 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42723 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42725 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42728 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42730 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42731 LLONG_MAX != LONG_MAX.
42732 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42733 (_fitoa_word): Likewise.
42734 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42735 LLONG_MAX != LONG_MAX.
42736 * stdio-common/_itowa.h: Include <_itoa.h>.
42737 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42738 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42739 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42740 only if not defined.
42741 (_ITOA_WORD_TYPE): Likewise.
42742 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42743 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42745 2012-03-21 David S. Miller <davem@davemloft.net>
42747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42749 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42751 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42752 of x86_64 when setting libc_cv_slibdir, libdir and
42754 * sysdeps/unix/sysv/linux/configure: Regenerated.
42756 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42758 * manual/lang.texi (Old Varargs): Remove section.
42759 (How Variadic): Update menu.
42760 (va_start): Do not mention varargs.h.
42762 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42763 Joseph Myers <joseph@codesourcery.com>
42765 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42767 * configure: Regenerated.
42769 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42771 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42772 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42775 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42778 * Makefile (files-for-dist): Remove NOTES.
42779 (NOTES): Remove rule.
42780 * README: Don't refer to NOTES.
42781 * manual/creature.texi: Don't include macros.texi.
42782 * manual/intro.texi (creature.texi): Remove comment referring to
42785 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42786 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42787 * configure: Regenerated.
42788 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42789 LIBC_TRY_CC_OPTION.
42790 (libc_cv_as_i686): Likewise.
42791 (libc_cv_cc_avx): Likewise.
42792 (libc_cv_cc_sse2avx): Likewise.
42793 (libc_cv_cc_fma4): Likewise.
42794 (libc_cv_cc_novzeroupper): Likewise.
42795 * sysdeps/i386/configure: Regenerated.
42798 * sysdeps/i386/fpu/s_cexp.S: Remove.
42799 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42800 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42801 * math/libm-test.inc (cexp_test): Add more tests.
42802 * sysdeps/i386/fpu/libm-test-ulps: Update.
42803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42805 2012-03-21 Allan McRae <allan@archlinux.org>
42807 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42809 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42812 * math/w_exp2.c: Do not include <float.h>.
42813 (o_threshold, u_threshold): Remove.
42814 (__exp2): Calculate result before checking finiteness and calling
42816 * math/w_exp2f.c: Likewise.
42817 * math/w_exp2l.c: Likewise.
42818 * math/libm-test.inc (exp2_test): Require overflow exception for
42822 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42823 range of signed 64-bit integers before using fistpll. Remove
42824 checks for whether integers fit in mantissa bits.
42825 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42826 the range of signed 32-bit integers before using fistpl. Remove
42827 checks for whether integers fit in mantissa bits.
42828 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42829 (__ieee754_powl): Test for y outside the range of signed 64-bit
42830 integers before using fistpll. Reduce 64-bit values to 63-bit
42832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42833 divide-by-zero is raised for zero to large negative powers.
42834 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42835 (__ieee754_powl): Test for y outside the range of signed 64-bit
42836 integers before using fistpll. Reduce 64-bit values to 63-bit
42838 * math/libm-test.inc (pow_test): Add more tests.
42840 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42842 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42843 <stdio-common/_itoa.h>.
42844 * debug/segfault.c: Likewise.
42845 * elf/dl-cache.c: Likewise.
42846 * elf/dl-minimal.c: Likewise.
42847 * elf/dl-misc.c: Likewise.
42848 * elf/dl-sysdep.c: Likewise.
42849 * elf/dl-version.c: Likewise.
42850 * elf/rtld.c: Likewise.
42851 * hurd/hurdsock.c: Likewise.
42852 * hurd/lookup-retry.c: Likewise.
42853 * malloc/malloc.c: Likewise.
42854 * malloc/mtrace.c: Likewise.
42855 * nscd/nscd_getgr_r.c: Likewise.
42856 * nscd/nscd_getpw_r.c: Likewise.
42857 * nscd/nscd_getserv_r.c: Likewise.
42858 * posix/getopt_init.c: Likewise.
42859 * posix/wordexp.c: Likewise.
42860 * stdio-common/_itoa.c: Likewise.
42861 * stdio-common/printf_fphex.c: Likewise.
42862 * stdio-common/vfprintf.c: Likewise.
42863 * string/_strerror.c: Likewise.
42864 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42865 * sysdeps/i386/i686/hp-timing.h: Likewise.
42866 * sysdeps/mach/_strerror.c: Likewise.
42867 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42868 * sysdeps/mach/hurd/sethostid.c: Likewise.
42869 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42870 * sysdeps/mach/xpg-strerror.c: Likewise.
42871 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42872 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42873 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42874 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42875 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42876 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42877 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42878 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42879 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42880 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42881 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42882 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42883 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42884 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42885 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42886 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42887 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42888 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42889 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42890 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42891 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42893 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42895 * stdio-common/_itoa.h: Moved to ...
42896 * sysdeps/generic/_itoa.h: Here.
42898 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42900 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42901 instead of "_itoa.h" and "_itowa.h".
42902 * stdio-common/vfprintf.: Likewise.
42904 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42906 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42908 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42909 (__signbit): Likwise.
42910 (llrintf): Likwise.
42913 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42915 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42918 2012-03-20 Joseph Myers <joseph@codesourcery.com>
42920 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42921 OVERFLOW_EXCEPTION_OK.
42922 * math/libm-test.inc ("Philosophy"): Update comment about
42924 (OVERFLOW_EXCEPTION): Define.
42925 (OVERFLOW_EXCEPTION_OK): Likewise.
42926 (INVALID_EXCEPTION_OK): Renumber.
42927 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42928 (IGNORE_ZERO_INF_SIGN): Likewise.
42929 (test_exceptions): Handle FE_OVERFLOW.
42930 (exp10_test): Expect overflow exceptions.
42931 (exp2_test): Likewise.
42932 (expm1_test): Likewise.
42933 (nextafter_test): Likewise.
42934 (pow_test): Likewise.
42935 (scalbn_test): Likewise.
42936 (scalbln_test): Likewise.
42938 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42940 * sysdeps/x86_64/bits/atomic.h
42941 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42943 (atomic_exchange_acq): Likewise.
42944 (__arch_exchange_and_add_body): Likewise.
42945 (__arch_add_body): Likewise.
42946 (atomic_add_negative): Likewise.
42947 (atomic_add_zero): Likewise.
42949 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42951 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42952 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42954 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42956 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42957 Check __x86_64__ instead of __WORDSIZE.
42959 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42961 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42963 2012-03-19 David S. Miller <davem@davemloft.net>
42965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42967 * sysdeps/sparc/fpu/fenv_private.h: New file.
42968 * sysdeps/sparc/fpu/math_private.h: Use it.
42969 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42971 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42972 (libc_feholdexcept_setroundl): Remove.
42973 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42975 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42976 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42978 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42980 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42981 int64_t instead of long int.
42982 (INSERT_WORDS64): Likwise.
42984 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42986 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42987 _Unwind_GetCFA return to _Unwind_Ptr first.
42989 2012-03-19 Joseph Myers <joseph@codesourcery.com>
42992 * math/s_clog.c: Include <float.h>.
42993 (__clog): Scale large or subnormal inputs.
42994 * math/s_clogf.c: Likewise.
42995 * math/s_clogl.c: Likewise.
42996 * math/s_clog10.c: Include <float.h>.
42997 (M_LOG10_2): Define.
42998 (__clog10): Scale large or subnormal inputs.
42999 * math/s_clog10f.c: Likewise.
43000 * math/s_clog10l.c: Likewise.
43001 * math/libm-test.inc (clog_test): Add more tests.
43002 (clog10_test): Likewise.
43003 * sysdeps/i386/fpu/libm-test-ulps: Update.
43004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43007 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43009 * math/libm-test.inc (atan2_test): Add another test.
43011 * Makerules (common-objdir-compile): Remove.
43012 * sysdeps/unix/Makefile (config-generated): Do not add
43013 $(unix-generated) to variable.
43014 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43015 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43017 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43019 [generic bits/local_lim.h] (before-compile): Do not append to
43021 [generic bits/local_lim.h] (common-generated): Likewise.
43022 [generic sys/param.h] (before-compile): Do not append to variable.
43023 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43024 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43025 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43026 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43028 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43029 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43030 [generic sys/param.h] ($(addprefix
43031 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43032 [generic sys/param.h] (common-generated): Do not append to
43034 [generic sys/param.h] (sysdep_headers): Likewise.
43035 [generic bits/errno.h] (before-compile): Do not append to
43037 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43039 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43040 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43041 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43042 [generic bits/errno.h] (common-generated): Do not append to
43044 [generic bits/ioctls.h] (before-compile): Do not append to
43046 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43048 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43049 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43050 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43052 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43053 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43054 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43055 [generic bits/ioctls.h] (common-generated): Do not append to
43057 [generic sys/syscall.h] (syscall.h): Remove variable.
43058 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43060 [generic sys/syscall.h] (before-compile): Do not append to
43062 [generic sys/syscall.h] (common-generated): Likewise.
43063 * sysdeps/unix/errnos-tmpl.c: Remove file.
43064 * sysdeps/unix/errnos.awk: Likewise.
43065 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43066 * sysdeps/unix/ioctls.awk: Likewise.
43067 * sysdeps/unix/mk-local_lim.c: Likewise.
43068 * sysdeps/unix/snarf-ioctls: Likewise.
43070 2012-03-19 Richard Henderson <rth@twiddle.net>
43072 * sysdeps/i386/fpu/fenv_private.h: New file.
43073 * sysdeps/i386/fpu/math_private.h: Use it.
43074 (math_opt_barrier, math_force_eval): Remove.
43075 (libc_feholdexcept_setround_53bit): Remove.
43076 (libc_feupdateenv_53bit): Remove.
43077 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43078 (math_opt_barrier, math_force_eval): Remove.
43079 (libc_feholdexcept): Remove.
43080 (libc_feholdexcept_setround): Remove.
43081 (libc_fetestexcept, libc_fesetenv): Remove.
43082 (libc_feupdateenv_test): Remove.
43083 (libc_feupdateenv, libc_feholdsetround): Remove.
43084 (libc_feresetround): Remove.
43086 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43087 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43089 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43090 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43091 (libc_feupdateenv_testl): New.
43092 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43093 (libc_feupdateenv_testf): New.
43094 (libc_feupdateenv): Use libc_feupdateenv_test.
43095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43096 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43098 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43099 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43100 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43101 (libc_feresetround_noex): New.
43102 (libc_feresetround_noexf): New.
43103 (libc_feresetround_noexl): New.
43104 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43105 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43106 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43107 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43112 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43113 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43114 SET_RESTORE_ROUND_NOEX.
43115 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43116 SET_RESTORE_ROUND_NOEXF.
43117 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43118 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43119 (libc_feholdsetroundf): New.
43120 (libc_feresetround, libc_feresetroundf): New.
43122 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43123 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43124 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43126 * sysdeps/generic/math_private.h: Include <fenv.h>.
43127 (default_libc_feholdexcept): New.
43128 (default_libc_feholdexcept_setround): New.
43129 (default_libc_fesetenv, default_libc_feupdateenv): New.
43130 (libc_feholdexcept): Only define if undefined.
43131 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43132 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43133 (libc_feholdexcept_setroundl): Likewise.
43134 (libc_feholdexcept_setround_53bit): Likewise.
43135 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43136 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43137 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43138 (libc_feupdateenv_53bit): Likewise.
43139 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43140 (libc_feholdexcept): Convert from macro to inline function.
43141 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43142 (libc_fesetenv, libc_feupdateenv): Likewise.
43144 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43145 not previously defined.
43146 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43147 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43148 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43149 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43150 * sysdeps/ieee754/flt-32/math_private.h: New file.
43151 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43152 math_private.h below SET_FLOAT_WORD.
43153 (__isnan, __isinf_ns, __finite): Remove.
43154 (__isnanf, __isinf_nsf, __finitef): Remove.
43156 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43160 2012-03-17 David S. Miller <davem@davemloft.net>
43163 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43166 2012-03-16 David S. Miller <davem@davemloft.net>
43168 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43172 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43174 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43175 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43176 sysdep_routines when subdir is sysvipc.
43177 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43178 __getshmlba helper.
43180 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43182 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43184 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43187 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43189 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43190 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43191 (__lround): Renamed to ...
43192 (__llround): This. Replace long int with long long int.
43193 Define lround functions as aliases of llround functions.
43194 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43196 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43198 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43199 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43200 adresses to uintptr_t. Replace "long int" and "unsigned long
43201 int" with "greg_t" on va_arg.
43203 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43205 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43206 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43208 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43209 Move e_machine check before EI_CLASS check. Handle x32
43210 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43211 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43212 SKIP_EM_IA_64 and include
43213 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43215 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43216 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43217 (add_system_dir): New macro.
43219 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43220 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43222 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43233 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43235 * math/w_j0f.c (j0f): Likewise.
43237 * math/w_j0l.c (__j0l): Likewise.
43239 * math/w_j1.c (j1): Likewise.
43241 * math/w_j1f.c (j1f): Likewise.
43243 * math/w_j1l.c (__j1l): Likewise.
43245 * math/w_jn.c (jn): Likewise.
43247 * math/w_jnf.c (jnf): Likewise.
43249 * math/w_jnl.c (__jnl): Likewise.
43251 * math/libm-test.inc (j0_test): Add more tests.
43252 (j1_test): Likewise.
43253 (jn_test): Likewise. Add trailing semicolon to existing test.
43254 (y0_test): Likewise.
43255 (y1_test): Likewise.
43256 * sysdeps/i386/fpu/libm-test-ulps: Update.
43257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43261 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43262 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43263 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43264 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43265 (__tanl): Set errno for infinite argument.
43266 * sysdeps/i386/fpu/mptan.c: Remove.
43267 * sysdeps/i386/fpu/s_tan.S: Likewise.
43268 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43269 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43270 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43271 * math/libm-test.inc (tan_test): Add more tests and enable more
43272 tests for double and long double.
43273 * sysdeps/i386/fpu/libm-test-ulps: Update.
43274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43276 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43278 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43279 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43281 2012-03-16 Roland McGrath <roland@hack.frob.com>
43283 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43284 * configure.in: Use it for both main tree and add-ons.
43285 * configure: Regenerated.
43287 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43289 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43291 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43293 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43297 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43298 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43300 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43301 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43303 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43305 != 0 for prec == 2.
43306 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43307 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43308 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43309 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43310 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43311 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43312 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43313 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43314 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43315 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43316 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43317 * math/libm-test.inc (cos_test): Add more tests and enable more
43318 tests for long double.
43319 (sin_test): Likewise.
43320 (sincos_test): Likewise.
43321 * sysdeps/i386/fpu/libm-test-ulps: Update.
43322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43324 2012-03-16 David S. Miller <davem@davemloft.net>
43326 * sysdeps/sparc/fpu/math_private.h: New file.
43328 2012-03-15 David S. Miller <davem@davemloft.net>
43330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43340 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43344 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43345 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43347 * sysdeps/sparc/sparc-ifunc.h: New file.
43348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43388 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43389 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43393 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43395 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43399 2012-03-15 Andreas Jaeger <aj@suse.de>
43402 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43403 ieee754/flt-32 implementation for sin, cos and sincos.
43404 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43405 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43406 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43407 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43408 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43409 ieee754/flt-32 implementation for tan.
43411 * math/libm-test.inc (cos_test): Enable some large input tests for
43413 (sin_test): Likewise.
43414 (sincos_test): Likewise.
43415 (tan_test): Add tests for large input.
43417 * sysdeps/i386/fpu/libm-test-ulps: Update.
43419 2012-03-15 Andreas Jaeger <aj@suse.de>
43422 * math/libm-test.inc (cos_test): Add more test cases.
43423 (sin_test): Likewise.
43424 (sincos_test): Likewise.
43426 2012-03-15 Andreas Jaeger <aj@suse.de>
43429 * math/libm-test.inc (cos_test): Add a test case for large input
43431 (sin_test): Likewise.
43432 (sincos_test): Likewise.
43434 2012-03-15 Andreas Jaeger <aj@suse.de>
43435 Joseph Myers <joseph@codesourcery.com>
43438 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43439 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43440 * sysdeps/i386/fpu/branred.c: Likewise.
43441 * sysdeps/i386/fpu/dosincos.c: Likewise.
43442 * sysdeps/i386/fpu/mpa.c: Likewise.
43443 * sysdeps/i386/fpu/s_cos.S: Likewise.
43444 * sysdeps/i386/fpu/s_sin.S: Likewise.
43445 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43446 * sysdeps/i386/fpu/sincos32.c: Likewise.
43448 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43450 (libc_feupdateenv_53bit): Define.
43451 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43453 (libc_feupdateenv_53bit): Define.
43455 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43456 53 bit (without extend i386 double precision).
43458 * math/libm-test.inc (sincos_test): Add tests for large input.
43462 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43464 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43468 2012-03-15 David S. Miller <davem@davemloft.net>
43470 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43471 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43472 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43473 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43498 fmin/fmax sysdep routines.
43499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43501 2012-03-14 David S. Miller <davem@davemloft.net>
43503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43508 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43509 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43524 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43530 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43531 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43580 * sysdeps/sparc/configure.in: New file.
43581 * sysdeps/sparc/configure: Generate.
43582 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43583 * configure: Regenerate.
43584 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43585 * config.make.in (have-as-vis3): New.
43586 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43587 available use -Av9d instead of -Av9a.
43588 * sysdeps/sparc/sparc64/Makefile: Likewise.
43589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43604 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43605 fzeros/fnegs to load 0x80000000 into a float register instead of
43607 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43609 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43613 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43614 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43615 ($(inst_includedir)/bits/syscall.h): Remove rule.
43616 ($(objpfx)bits/syscall.d): Include instead of
43617 $(objpfx)syscall-list.d.
43618 (generated): Change syscall-list.h and syscall-list.d to
43619 bits/syscall.h and bits/syscall.d.
43621 2012-03-14 Roland McGrath <roland@hack.frob.com>
43624 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43626 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43629 * math/s_csqrt.c: Include <float.h>.
43630 (__csqrt): Scale large or subnormal inputs.
43631 * math/s_csqrtf.c: Likewise.
43632 * math/s_csqrtl.c: Likewise.
43633 * math/libm-test.inc (csqrt_test): Add more tests.
43634 * sysdeps/i386/fpu/libm-test-ulps: Update.
43635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43638 * math/libm-test.inc (hypot_test): Add more tests.
43640 2012-03-13 David S. Miller <davem@davemloft.net>
43643 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43644 double-precision for the calculation instead of scaling.
43646 2012-03-13 Joseph Myers <joseph@codesourcery.com>
43648 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43649 manipulate bits before adding and subtracting TWO52[sx].
43650 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43651 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43653 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43655 2012-03-13 David S. Miller <davem@davemloft.net>
43657 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43658 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43660 rtld-global-offsets.h
43661 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43663 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43666 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43668 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43669 'err' in the ifdef scope in which it is actually used.
43671 * nss/nss_db/db-init.c: Include string.h
43673 2012-03-12 David S. Miller <davem@davemloft.net>
43675 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43676 masking out of the most significant byte of random value used.
43677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43678 Fix coding style in previous change.
43680 * sysdeps/unix/sysv/linux/kernel-features.h
43681 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43682 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43684 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43687 2012-03-11 David S. Miller <davem@davemloft.net>
43689 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43690 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43692 for 'resultvar' otherwise things get truncated on 64-bit.
43694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43695 Fix masking out of the most significant byte of random value used.
43697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43699 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43703 2012-03-09 David S. Miller <davem@davemloft.net>
43705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43706 variables with appropriate CPP guards.
43707 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43708 from the frame pointer, not the stack pointer. Correct layout
43709 comments. Fix test on resulting framesize and the management of
43710 the outregs buffer for pltexit. Preserve floating point return
43711 values across _dl_call_pltexit call.
43712 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43713 framesize and the management of the outregs buffer for pltexit.
43714 Preserve floating point return values across _dl_call_pltexit
43716 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43717 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43718 (la_sparc64_gnu_pltexit): New functions.
43719 (print_exit): Fix format string for return register value.
43721 2012-03-10 Joseph Myers <joseph@codesourcery.com>
43723 * sunrpc/Makefile (others): Add rpcgen.
43724 ($(objpfx)rpcgen): Remove special build rule and dependency on
43726 * sunrpc/rpcgen.c: New file.
43728 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43731 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43732 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43733 * sysdeps/i386/crti.S: Likewise.
43734 * sysdeps/i386/crtn.S: Likewise.
43735 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43736 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43737 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43738 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43739 * sysdeps/sh/crti.S: Likewise.
43740 * sysdeps/sh/crtn.S: Likewise.
43741 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43744 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43746 * locale/programs/locfile-kw.gperf: Likewise.
43747 * locale/programs/charmap-kw.h: Regenerated.
43748 * locale/programs/locfile-kw.h: Likewise.
43751 * intl/plural.y: Replace FSF snail mail address with URL.
43752 * intl/plural.c: Regenerated.
43754 2012-03-09 Richard Henderson <rth@twiddle.net>
43756 * include/math_private.h: Remove file.
43757 * math/math_private.h: Move file ...
43758 * sysdeps/generic/math_private.h: ... here.
43760 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43761 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43762 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43764 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43765 and <math_private.h>.
43766 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43767 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43768 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43769 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43770 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43771 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43772 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43774 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43775 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43777 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43778 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43780 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43781 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43782 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43784 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43785 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43787 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43788 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43790 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43792 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43796 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43797 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43798 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43799 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43800 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43801 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43802 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43803 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43804 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43806 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43807 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43809 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43810 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43811 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43812 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43813 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43814 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43815 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43816 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43817 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43818 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43819 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43820 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43821 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43823 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43824 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43825 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43827 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43829 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43830 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43831 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43832 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43833 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43834 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43835 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43836 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43837 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43838 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43840 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43845 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43850 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43853 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43854 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43855 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43856 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43857 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43860 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43861 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43862 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43863 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43864 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43865 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43866 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43867 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43868 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43869 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43870 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43871 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43872 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43873 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43874 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43875 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43876 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43877 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43878 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43879 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43880 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43881 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43883 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43884 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43885 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43886 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43887 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43889 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43890 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43891 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43893 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43894 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43895 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43896 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43897 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43898 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43899 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43900 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43901 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43902 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43903 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43904 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43905 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43907 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43908 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43909 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43910 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43911 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43912 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43913 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43914 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43915 * sysdeps/ieee754/k_standard.c: Likewise.
43916 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43917 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43918 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43919 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43920 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43921 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43922 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43923 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43924 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43925 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43926 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43928 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43929 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43930 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43931 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43932 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43933 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43934 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43935 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43936 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43937 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43938 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43939 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43940 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43941 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43942 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43943 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43944 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43946 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43947 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43948 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43949 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43950 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43953 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43954 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43955 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43956 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43957 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43958 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43959 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43960 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43961 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43962 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43964 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43967 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43968 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43969 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43970 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43971 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43972 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43973 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43974 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43975 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43976 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43977 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43978 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43979 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43982 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43983 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43984 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43985 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43988 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43989 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43992 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43993 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43995 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43997 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43999 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44000 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44001 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44002 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44003 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44004 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44006 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44007 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44008 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44009 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44011 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44012 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44013 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44014 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44015 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44017 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44018 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44019 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44020 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44021 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44028 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44029 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44030 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44031 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44032 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44033 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44035 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44036 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44037 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44038 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44041 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44042 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44043 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44044 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44045 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44046 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44047 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44048 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44049 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44050 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44052 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44053 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44054 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44055 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44056 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44057 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44058 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44060 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44063 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44064 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44065 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44070 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44071 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44076 * sysdeps/ieee754/s_lib_version.c: Likewise.
44077 * sysdeps/ieee754/s_matherr.c: Likewise.
44078 * sysdeps/ieee754/s_signgam.c: Likewise.
44079 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44080 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44081 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44082 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44083 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44084 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44085 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44086 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44087 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44088 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44089 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44090 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44091 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44092 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44093 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44094 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44095 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44096 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44097 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44101 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44103 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44104 * sunrpc/rpc_main.c: Likewise.
44105 * sunrpc/rpc_svcout.c: Likewise.
44107 2012-03-09 David S. Miller <davem@davemloft.net>
44109 * include/math_private.h: New file.
44111 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44113 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44114 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44115 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44116 from <bits/socket_type.h>.
44117 (enum __socket_type): Don't define here.
44118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44120 bits/socket_type.h.
44123 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44124 checking __USE_GNU.
44126 * Makerules ($(inst_includedir)/%.h): New rule.
44127 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44128 (install-others): Remove variable setting.
44129 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44131 2012-03-08 Richard Henderson <rth@twiddle.net>
44133 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44134 from macro to inline function; merge with the
44135 !__LIBC_INTERNAL_MATH_INLINES version.
44136 (__ieee754_sqrtf): Likewise.
44138 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44139 to inline function.
44140 (__rintf, __floor, __floorf): Likewise.
44142 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44143 macro to inline function.
44144 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44146 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44147 not <math/math_private.h>.
44149 2012-03-08 David S. Miller <davem@davemloft.net>
44151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44153 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44155 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44157 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44159 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44160 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44162 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44164 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44165 be defined individually, they must be defined as a block. Define
44166 S for printing a string instead of hidint the different by using a
44167 macro for adding the 'l'.
44168 * stdio-common/tst-fphex-wide.c: Adjust.
44170 2012-03-07 Marek Polacek <polacek@redhat.com>
44172 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44174 2012-03-08 Marek Polacek <polacek@redhat.com>
44177 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44178 * stdio-common/tst-fphex.c: Define a few macros to make the
44179 test reusable. Use them.
44180 * stdio-common/tst-fphex-wide.c: New file.
44182 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44185 * manual/macros.texi (gnusystems): New macro.
44186 (nongnusystems): Likewise.
44187 (gnulinuxhurdsystems): Likewise.
44188 (gnuhurdsystems): Likewise..
44189 (gnulinuxsystems): Likewise.
44190 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44191 variants of the GNU system, not "GNU system".
44192 * manual/conf.texi: Likewise.
44193 * manual/errno.texi: Likewise. Update example of errno macro
44195 * manual/filesys.texi: Likewise.
44196 (getumask): Document as specific to GNU/Hurd.
44197 * manual/install.texi: Likewise. Reword some references to
44199 * manual/intro.texi: Likewise.
44200 * manual/io.texi: Likewise.
44201 (File Name Portability): Detail which constraints are inapplicable
44202 to all GNU systems and which are only inapplicable to GNU/Hurd.
44203 * manual/job.texi: Likewise.
44204 * manual/llio.texi: Likewise.
44205 (O_NOCTTY): Document as present on GNU/Linux.
44206 * manual/maint.texi: Likewise.
44207 * manual/memory.texi: Likewise.
44208 * manual/pattern.texi: Likewise.
44209 * manual/pipe.texi: Likewise.
44210 * manual/process.texi: Likewise.
44211 * manual/resource.texi: Likewise.
44212 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44214 * manual/setjmp.texi: Likewise.
44215 * manual/signal.texi: Likewise.
44216 * manual/startup.texi: Likewise.
44217 * manual/stdio.texi: Likewise.
44218 * manual/terminal.texi: Likewise.
44219 (ONLCR): Document as POSIX.
44220 (OXTABS): Document availability on GNU/Linux as XTABS.
44221 (ONOEOT): Document availability separately from other bits.
44222 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44223 * manual/time.texi: Likewise.
44224 * manual/users.texi: Likewise.
44225 * INSTALL: Regenerated.
44226 * sysdeps/gnu/errlist.c: Regenerated.
44228 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44229 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44230 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44232 * configure: Regenerated.
44234 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44236 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44237 default includes instead of AC_HEADER_CHECK.
44238 * sysdeps/i386/configure: Regenerated.
44241 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44242 * math/s_cacoshf.c (__cacoshf): Likewise.
44243 * math/s_cacoshl.c (__cacoshl): Likewise.
44244 * math/s_casinh.c (__casinh): Set signs of result from argument.
44245 * math/s_casinhf.c (__casinhf): Likewise.
44246 * math/s_casinhl.c (__casinhl): Likewise.
44247 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44248 (casinh_test): Add more tests.
44249 * sysdeps/i386/fpu/libm-test-ulps: Update.
44250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44252 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44254 * po/zh_TW.po: Update from translation team.
44256 * login/Makefile (distribute): Remove variable.
44257 * catgets/Makefile: Likewise.
44258 * mach/Makefile: Likewise.
44259 * malloc/Makefile: Likewise.
44260 * misc/Makefile: Likewise.
44261 * iconv/Makefile: Likewise.
44262 * nscd/Makefile: Likewise.
44263 * hurd/Makefile: Likewise.
44264 * manual/Makefile: Likewise.
44265 * locale/Makefile: Likewise.
44266 * intl/Makefile: Likewise.
44267 * conform/Makefile: Likewise.
44268 * nss/Makefile: Likewise.
44269 * time/Makefile: Likewise.
44270 * soft-fp/Makefile: Likewise.
44271 * dirent/Makefile: Likewise.
44272 * gmon/Makefile: Likewise.
44273 * po/Makefile: Likewise.
44274 * rt/Makefile: Likewise.
44275 * socket/Makefile: Likewise.
44276 * math/Makefile: Likewise.
44277 * signal/Makefile: Likewise.
44278 * debug/Makefile: Likewise.
44279 * elf/Makefile: Likewise.
44280 * timezone/Makefile: Likewise.
44281 * stdlib/Makefile: Likewise.
44282 * iconvdata/Makefile: Likewise.
44283 * sunrpc/Makefile: Likewise.
44284 * io/Makefile: Likewise.
44285 * argp/Makefile: Likewise.
44286 * inet/Makefile: Likewise.
44287 * hesiod/Makefile: Likewise.
44288 * grp/Makefile: Likewise.
44289 * csu/Makefile: Likewise.
44290 * wctype/Makefile: Likewise.
44291 * crypt/Makefile: Likewise.
44292 * libio/Makefile: Likewise.
44293 * string/Makefile: Likewise.
44294 * nis/Makefile: Likewise.
44295 * resolv/Makefile: Likewise.
44296 * stdio-common/Makefile: Likewise.
44297 * wcsmbs/Makefile: Likewise.
44298 * dlfcn/Makefile: Likewise.
44299 * posix/Makefile: Likewise.
44302 * timezone/Makefile: Don't install timezone files, just the programs
44305 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44307 * nss/databases.def: Add missing gshadow entry.
44309 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44311 2012-03-06 Marek Polacek <polacek@redhat.com>
44314 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44315 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44316 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44317 * stdio-common/tst-long-dbl-fphex.c: New file.
44319 2012-03-06 David S. Miller <davem@davemloft.net>
44321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44322 (set_obp_int): New function.
44323 (get_obp_int): New function.
44324 (__get_clockfreq_via_dev_openprom): Likewise.
44325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44326 Avoid unused variable warnings on 'val' and use builtin_expect.
44327 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44329 (INLINE_CLONE_SYSCALL): Likewise.
44331 2012-03-05 David S. Miller <davem@davemloft.net>
44333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44335 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44340 only for |x| >= 40.
44341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44343 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44346 Replace gettimeofday with __vdso_gettimeofday.
44348 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44349 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44350 __vdso_clock_gettime and __vdso_getcpu.
44352 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44353 time with __vdso_time.
44355 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44357 * manual/lang.texi (size_t): Note types to which size_t may be
44358 equivalent with the GNU C Library, but do not describe when
44359 differences between them are significant.
44361 2012-03-05 Andreas Jaeger <aj@suse.de>
44363 * sysdeps/i386/fpu/libm-test-ulps: Update.
44365 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44368 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44369 (__ieee754_pow): Save and restore rounding mode and use
44370 round-to-nearest for main computations.
44371 * math/libm-test.inc (pow_test_tonearest): New function.
44372 (pow_test_towardzero): Likewise.
44373 (pow_test_downward): Likewise.
44374 (pow_test_upward): Likewise.
44375 (main): Call the new functions.
44376 * sysdeps/i386/fpu/libm-test-ulps: Update.
44377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44380 * math/libm-test.inc (cosh_test_tonearest): New function.
44381 (cosh_test_towardzero): Likewise.
44382 (cosh_test_downward): Likewise.
44383 (cosh_test_upward): Likewise.
44384 (sinh_test_tonearest): Likewise.
44385 (sinh_test_towardzero): Likewise.
44386 (sinh_test_downward): Likewise.
44387 (sinh_test_upward): Likewise.
44388 (main): Call the new functions.
44389 * sysdeps/i386/fpu/libm-test-ulps: Update.
44390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44392 2012-03-05 Tom de Vries <tom@codesourcery.com>
44394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44395 default stack guard is set in last bytes.
44396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44398 2012-03-05 Kees Cook <keescook@chromium.org>
44400 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44403 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44404 possibly allocate from heap instead of stack.
44405 * stdio-common/bug-vfprintf-nargs.c: New file.
44406 * stdio-common/Makefile (tests): Add nargs overflow test.
44408 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44412 2012-03-03 Marek Polacek <polacek@redhat.com>
44414 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44415 * math/math_private.h: Likewise.
44416 * stdlib/tst-strtod.c: Likewise.
44417 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44418 * sysdeps/x86_64/bits/atomic.h: Likewise.
44420 2012-03-02 David S. Miller <davem@davemloft.net>
44422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44426 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44427 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44428 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44429 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44431 2012-03-02 Roland McGrath <roland@hack.frob.com>
44434 * manual/examples/README: New file, says the example source files
44435 can be used under GPL>=2.
44436 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44437 line containing just "*/".
44438 * manual/examples/add.c: Add copyright header (GPL>=2).
44439 * manual/examples/argp-ex1.c: Likewise.
44440 * manual/examples/argp-ex2.c: Likewise.
44441 * manual/examples/argp-ex3.c: Likewise.
44442 * manual/examples/argp-ex4.c: Likewise.
44443 * manual/examples/atexit.c: Likewise.
44444 * manual/examples/db.c: Likewise.
44445 * manual/examples/dir.c: Likewise.
44446 * manual/examples/dir2.c: Likewise.
44447 * manual/examples/execinfo.c: Likewise.
44448 * manual/examples/filecli.c: Likewise.
44449 * manual/examples/filesrv.c: Likewise.
44450 * manual/examples/fmtmsgexpl.c: Likewise.
44451 * manual/examples/genpass.c: Likewise.
44452 * manual/examples/inetcli.c: Likewise.
44453 * manual/examples/inetsrv.c: Likewise.
44454 * manual/examples/isockad.c: Likewise.
44455 * manual/examples/longopt.c: Likewise.
44456 * manual/examples/memopen.c: Likewise.
44457 * manual/examples/memstrm.c: Likewise.
44458 * manual/examples/mkfsock.c: Likewise.
44459 * manual/examples/mkisock.c: Likewise.
44460 * manual/examples/mygetpass.c: Likewise.
44461 * manual/examples/pipe.c: Likewise.
44462 * manual/examples/popen.c: Likewise.
44463 * manual/examples/rprintf.c: Likewise.
44464 * manual/examples/search.c: Likewise.
44465 * manual/examples/select.c: Likewise.
44466 * manual/examples/setjmp.c: Likewise.
44467 * manual/examples/sigh1.c: Likewise.
44468 * manual/examples/sigusr.c: Likewise.
44469 * manual/examples/stpcpy.c: Likewise.
44470 * manual/examples/strdupa.c: Likewise.
44471 * manual/examples/strftim.c: Likewise.
44472 * manual/examples/strncat.c: Likewise.
44473 * manual/examples/subopt.c: Likewise.
44474 * manual/examples/swapcontext.c: Likewise.
44475 * manual/examples/termios.c: Likewise.
44476 * manual/examples/testopt.c: Likewise.
44477 * manual/examples/testpass.c: Likewise.
44478 * manual/examples/timeval_subtract.c: Likewise.
44481 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44483 * manual/timeval_subtract.c.texi: ... here, new file.
44485 2012-03-02 David S. Miller <davem@davemloft.net>
44487 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44489 2012-03-02 Joseph Myers <joseph@codesourcery.com>
44492 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44493 (__sin): Save and restore rounding mode and use round-to-nearest
44494 for all computations.
44495 (__cos): Save and restore rounding mode and use round-to-nearest
44496 for all computations.
44497 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44499 (tan): Save and restore rounding mode and use round-to-nearest for
44501 * math/libm-test.inc (cos_test_tonearest): New function.
44502 (cos_test_towardzero): Likewise.
44503 (cos_test_downward): Likewise.
44504 (cos_test_upward): Likewise.
44505 (sin_test_tonearest): Likewise.
44506 (sin_test_towardzero): Likewise.
44507 (sin_test_downward): Likewise.
44508 (sin_test_upward): Likewise.
44509 (tan_test_tonearest): Likewise.
44510 (tan_test_towardzero): Likewise.
44511 (tan_test_downward): Likewise.
44512 (tan_test_upward): Likewise.
44513 (main): Call the new functions.
44514 * sysdeps/i386/fpu/libm-test-ulps: Update.
44515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44518 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44519 small n, then large n, before computing and testing k+n.
44520 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44525 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44526 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44529 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44530 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44531 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44533 * math/libm-test.inc (scalbn_test): Add more tests.
44534 (scalbln_test): Likewise.
44536 * manual/filesys.texi (mode_t): Describe constraints on size and
44537 signedness, not exact equivalence to a particular type.
44539 (ino64_t): Likewise.
44541 (nlink_t): Likewise.
44542 (blkcnt_t): Likewise.
44543 (blkcnt64_t): Likewise.
44544 * manual/llio.texi (off_t): Likewise.
44547 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44548 (__ieee754_exp): Save and restore rounding mode and use
44549 round-to-nearest for all computations.
44550 * math/libm-test.inc (exp_test_tonearest): New function.
44551 (exp_test_towardzero): Likewise.
44552 (exp_test_downward): Likewise.
44553 (exp_test_upward): Likewise.
44554 (main): Call the new functions.
44555 * sysdeps/i386/fpu/libm-test-ulps: Update.
44556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44558 2012-03-01 Chris Demetriou <cgd@google.com>
44560 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44561 have predictable order.
44563 2012-03-01 David S. Miller <davem@davemloft.net>
44565 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44567 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44568 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44569 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44570 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44572 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44573 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44574 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44576 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44577 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44578 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44579 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44580 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44585 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44586 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44588 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44589 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44590 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44591 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44592 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44593 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44595 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44596 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44597 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44598 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44601 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44602 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44604 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44605 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44606 * sysdeps/sparc/elf/configure: Regenerated.
44608 2012-03-01 Joseph Myers <joseph@codesourcery.com>
44610 * configure.in (AS, LD): Require binutils 2.20 or later.
44611 * configure: Regenerated.
44612 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44613 as required minimum version.
44614 * INSTALL: Regenerated.
44618 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44619 before squaring exponent.
44620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44621 bottom long double and 27 bits of top long double before squaring
44623 * math/libm-test.inc (erfc_test): Add more tests.
44624 * sysdeps/i386/fpu/libm-test-ulps: Update.
44625 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44628 2012-03-01 Kai Tietz <ktietz@redhat.com>
44630 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44631 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44632 containing bit-fields.
44633 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44634 * soft-fp/single.h (_FP_UNION_S): Likewise.
44635 * soft-fp/double.h (_FP_UNION_D): Likewise.
44637 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44640 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44641 not include ../strcmp.S.
44642 [USE_AS_STRNCASECMP_L]: Likewise.
44643 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44644 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44645 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44646 (__strncasecmp_l_ia32): Define as alias to
44647 __strncasecmp_l_nonascii.
44650 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44651 * sysdeps/i386/fpu/libm-test-ulps: Update.
44652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44654 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44657 2012-02-29 Jeff Law <law@redhat.com>
44659 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44660 out of bounds read.
44662 2012-02-29 Marek Polacek <polacek@redhat.com>
44665 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44666 * elf/Makefile: Add rules to run tst-unused-dep.out.
44668 2012-02-28 David S. Miller <davem@davemloft.net>
44670 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44671 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44672 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44673 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44674 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44675 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44677 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44679 * math/libm-test.inc (llround_test): Move one test from
44680 lround_test. Use TEST_f_L in moved test.
44681 (lround_test): Move misplaced test to llround_test. Add testcase
44684 2012-02-28 Ulrich Drepper <drepper@gmail.com>
44686 * sysdeps/x86_64/fpu/e_expf.S: New file.
44687 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44689 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44692 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44693 of remain_len that may cause incomplete multi-byte character and
44695 * posix/bug-regex33.c: New file.
44696 * posix/Makefile (tests): Add bug-regex33.
44698 2012-02-28 Joseph Myers <joseph@codesourcery.com>
44700 * manual/macros.texi: New file.
44701 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44702 * manual/libc.texinfo: Include macros.texi.
44703 * manual/creatute.texi: Likewise.
44704 * manual/install.texi: Likewise.
44705 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44706 @glibcadj{} in references to the GNU C Library.
44707 * manual/charset.texi: Likewise.
44708 * manual/conf.texi: Likewise.
44709 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44710 when not using those macros.
44711 * manual/creature.texi: Likewise.
44712 * manual/crypt.texi: Likewise.
44713 * manual/errno.texi: Likewise.
44714 * manual/filesys.texi: Likewise.
44715 * manual/header.texi: Likewise.
44716 * manual/install.texi: Likewise.
44717 * manual/intro.texi: Likewise.
44718 * manual/io.texi: Likewise.
44719 * manual/job.texi: Likewise.
44720 * manual/lang.texi: Likewise.
44721 * manual/libc.texiinfo: Likewise.
44722 * manual/llio.texi: Likewise.
44723 * manual/locale.texi: Likewise.
44724 * manual/maint.texi: Likewise.
44725 * manual/math.texi: Likewise.
44726 * manual/memory.texi: Likewise.
44727 * manual/message.texi: Likewise.
44728 * manual/nss.texi: Likewise.
44729 * manual/pattern.texi: Likewise.
44730 * manual/process.texi: Likewise.
44731 * manual/resource.texi: Likewise.
44732 * manual/search.texi: Likewise.
44733 * manual/setjmp.texi: Likewise.
44734 * manual/signal.texi: Likewise.
44735 * manual/socket.texi: Likewise.
44736 * manual/startup.texi: Likewise.
44737 * manual/stdio.texi: Likewise.
44738 * manual/string.texi: Likewise.
44739 * manual/sysinfo.texi: Likewise.
44740 * manual/syslog.texi: Likewise.
44741 * manual/terminal.texi: Likewise.
44742 * manual/time.texi: Likewise.
44743 * manual/users.texi: Likewise.
44744 * INSTALL: Regenerated.
44745 * NOTES: Regenerated.
44746 * sysdeps/gnu/errlist.c: Regenerated.
44748 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44750 * include/dirent.h: Include <dirstream.h> before
44753 2012-02-28 David S. Miller <davem@davemloft.net>
44755 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44756 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44757 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44758 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44760 2012-02-27 David S. Miller <davem@davemloft.net>
44762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44764 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44765 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44768 frame pointer instead of stack pointer relative arg slot.
44769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44770 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44771 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44773 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44776 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44778 2012-02-27 David S. Miller <davem@davemloft.net>
44780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44784 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44785 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44786 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44787 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44789 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44791 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44792 later. Allow versions 5-9.
44793 * configure: Regenerated.
44794 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44795 required minimum version and 4.6 as recommended version. Do not
44796 mention bugs in GCC 2.7 and 2.8.
44797 * INSTALL: Regenerated.
44799 2012-02-27 David S. Miller <davem@davemloft.net>
44801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44805 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44806 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44807 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44808 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44811 manipulate bits before adding and subtracting TWO112[sx].
44812 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44814 2012-02-27 Roland McGrath <roland@hack.frob.com>
44817 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44818 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44819 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44820 being in POSIX, because they are in 1003.1-2008.
44822 * rt/tst-aio.c: Include <fcntl.h>.
44823 * rt/tst-aio7.c: Likewise.
44824 * rt/tst-aio64.c: Likewise.
44826 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44828 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44830 * manual/install.texi (--with-headers): Describe headers as
44831 interface headers, not private headers.
44832 (Specific advice for GNU/Linux systems): Describe use of headers
44833 from "make headers_install", not private headers from older
44835 * INSTALL: Regenerated.
44836 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44838 * sysdeps/unix/sysv/linux/configure: Regenerated.
44840 * manual/llio.texi (fclean): Remove documentation.
44842 * manual/Makefile (libc-texi-generated): New variable. Include
44844 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44845 $(libc-texi-generated), not duplicated list of files.
44846 (version.texi, stamp-version): New rules.
44847 (realclean): Remove $(libc-texi-generated), not individual files
44848 from that list. Do not remove dir-add.texinfo.
44849 * manual/libc.texinfo: Comment out uses of edition numbers and
44850 references to printed manual. Remove last-updated dates.
44851 (EDITION): Comment out.
44853 (VERSION, UPDATED): Remove.
44854 (version.texi): Include.
44856 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44858 * sysdeps/posix/spawni.c: Include <signal.h>.
44859 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44860 * sysdeps/pthread/aio_fsync.c: Likewise.
44862 2012-02-26 Ulrich Drepper <drepper@gmail.com>
44864 * conform/Makefile (tests): Run only when not cross-compiling and
44865 when fast-check is not defined.
44867 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44868 * conform/data/limits.h-data: Fixes for POSIX2008.
44869 * conform/run-conformtest.sh: Run all tests.
44870 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44872 * include/bits/dlfcn.h: Likewise.
44873 * include/langinfo.h: Likewise.
44874 * include/monetary.h: Likewise.
44875 * include/sys/poll.h: Likewise.
44877 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44879 * posix/spawn.h: Define __need_sigset_t.
44880 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44881 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44882 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44883 to get sigevent_t only.
44884 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44885 only for __USE_GNU.
44886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44887 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44888 process_vm_writev only for __USE_GNU.
44889 * termios/termios.h: Declare tcgetsid also for POSIX2008.
44891 * conform/Makefile: For now ignore errors from run-conformtest.
44892 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44893 POSIX to avoid namespace pollution. Don't prepend headers.
44894 * conform/data/aio.h-data: Fixes for POSIX testing.
44895 * conform/data/fcntl.h-data: Likewise.
44896 * conform/data/glob.h-data: Likewise.
44897 * conform/data/grp.h-data: Likewise.
44898 * conform/data/pthread.h-data: Likewise.
44899 * conform/data/pwd.h-data: Likewise.
44900 * conform/data/signal.h-data: Likewise.
44901 * conform/data/spawn.h-data: Likewise.
44902 * conform/data/stdio.h-data: Likewise.
44903 * conform/data/stdlib.h-data: Likewise.
44904 * conform/data/stropts.h-data: Likewise.
44905 * conform/data/sys/mman.h-data: Likewise.
44906 * conform/data/sys/stat.h-data: Likewise.
44907 * conform/data/sys/types.h-data: Likewise.
44908 * conform/data/sys/wait.h-data: Likewise.
44909 * conform/data/time.h-data: Likewise.
44910 * conform/data/unistd.h-data: Likewise.
44911 * conform/data/utime.h-data: Likewise.
44913 * io/sys/stat.h: fchmod was always in POSIX.
44914 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44915 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44916 * rt/aio.h: Define __need_timespec before including <time.h>.
44917 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44918 struct. Add forward declaration of pthread_attr_t and use it in
44920 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44922 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44923 always remove CLK_TCK definition.
44925 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44927 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44929 2012-02-25 Ulrich Drepper <drepper@gmail.com>
44931 * conform/run-conformtest.sh: New file.
44932 * conform/Makefile: Run run-conformtest for tests.
44933 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44936 * conform/data/uchar.h-data: New file.
44937 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44938 * conform/data/arpa/inet.h-data: Likewise.
44939 * conform/data/assert.h-data: Likewise.
44940 * conform/data/complex.h-data: Likewise.
44941 * conform/data/cpio.h-data: Likewise.
44942 * conform/data/ctype.h-data: Likewise.
44943 * conform/data/dirent.h-data: Likewise.
44944 * conform/data/dlfcn.h-data: Likewise.
44945 * conform/data/errno.h-data: Likewise.
44946 * conform/data/fcntl.h-data: Likewise.
44947 * conform/data/float.h-data: Likewise.
44948 * conform/data/fmtmsg.h-data: Likewise.
44949 * conform/data/fnmatch.h-data: Likewise.
44950 * conform/data/ftw.h-data: Likewise.
44951 * conform/data/glob.h-data: Likewise.
44952 * conform/data/grp.h-data: Likewise.
44953 * conform/data/iconv.h-data: Likewise.
44954 * conform/data/inttypes.h-data: Likewise.
44955 * conform/data/langinfo.h-data: Likewise.
44956 * conform/data/libgen.h-data: Likewise.
44957 * conform/data/limits.h-data: Likewise.
44958 * conform/data/locale.h-data: Likewise.
44959 * conform/data/math.h-data: Likewise.
44960 * conform/data/monetary.h-data: Likewise.
44961 * conform/data/mqueue.h-data: Likewise.
44962 * conform/data/ndbm.h-data: Likewise.
44963 * conform/data/net/if.h-data: Likewise.
44964 * conform/data/netdb.h-data: Likewise.
44965 * conform/data/netinet/in.h-data: Likewise.
44966 * conform/data/nl_types.h-data: Likewise.
44967 * conform/data/poll.h-data: Likewise.
44968 * conform/data/pthread.h-data: Likewise.
44969 * conform/data/pwd.h-data: Likewise.
44970 * conform/data/regex.h-data: Likewise.
44971 * conform/data/sched.h-data: Likewise.
44972 * conform/data/search.h-data: Likewise.
44973 * conform/data/semaphore.h-data: Likewise.
44974 * conform/data/setjmp.h-data: Likewise.
44975 * conform/data/signal.h-data: Likewise.
44976 * conform/data/spawn.h-data: Likewise.
44977 * conform/data/stdarg.h-data: Likewise.
44978 * conform/data/stdio.h-data: Likewise.
44979 * conform/data/stdlib.h-data: Likewise.
44980 * conform/data/string.h-data: Likewise.
44981 * conform/data/strings.h-data: Likewise.
44982 * conform/data/stropts.h-data: Likewise.
44983 * conform/data/sys/ipc.h-data: Likewise.
44984 * conform/data/sys/mman.h-data: Likewise.
44985 * conform/data/sys/msg.h-data: Likewise.
44986 * conform/data/sys/resource.h-data: Likewise.
44987 * conform/data/sys/select.h-data: Likewise.
44988 * conform/data/sys/sem.h-data: Likewise.
44989 * conform/data/sys/shm.h-data: Likewise.
44990 * conform/data/sys/socket.h-data: Likewise.
44991 * conform/data/sys/stat.h-data: Likewise.
44992 * conform/data/sys/statvfs.h-data: Likewise.
44993 * conform/data/sys/time.h-data: Likewise.
44994 * conform/data/sys/timeb.h-data: Likewise.
44995 * conform/data/sys/times.h-data: Likewise.
44996 * conform/data/sys/types.h-data: Likewise.
44997 * conform/data/sys/uio.h-data: Likewise.
44998 * conform/data/sys/un.h-data: Likewise.
44999 * conform/data/sys/utsname.h-data: Likewise.
45000 * conform/data/sys/wait.h-data: Likewise.
45001 * conform/data/syslog.h-data: Likewise.
45002 * conform/data/tar.h-data: Likewise.
45003 * conform/data/termios.h-data: Likewise.
45004 * conform/data/utime.h-data: Likewise.
45005 * conform/data/utmpx.h-data: Likewise.
45006 * conform/data/varargs.h-data: Likewise.
45007 * conform/data/wchar.h-data: Likewise.
45008 * conform/data/wctype.h-data: Likewise.
45009 * conform/data/wordexp.h-data: Likewise.
45011 * include/stropts.h: New file.
45012 * include/uchar.h: New file.
45013 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45014 * include/assert.h: Likewise.
45015 * include/ctype.h: Likewise.
45016 * include/dirent.h: Likewise.
45017 * include/dlfcn.h: Likewise.
45018 * include/fcntl.h: Likewise.
45019 * include/fnmatch.h: Likewise.
45020 * include/glob.h: Likewise.
45021 * include/grp.h: Likewise.
45022 * include/libio.h: Likewise.
45023 * include/locale.h: Likewise.
45024 * include/math.h: Likewise.
45025 * include/net/if.h: Likewise.
45026 * include/netdb.h: Likewise.
45027 * include/netinet/in.h: Likewise.
45028 * include/pthread.h: Likewise.
45029 * include/pwd.h: Likewise.
45030 * include/regex.h: Likewise.
45031 * include/sched.h: Likewise.
45032 * include/search.h: Likewise.
45033 * include/setjmp.h: Likewise.
45034 * include/signal.h: Likewise.
45035 * include/stdio.h: Likewise.
45036 * include/stdlib.h: Likewise.
45037 * include/string.h: Likewise.
45038 * include/sys/cdefs.h: Likewise.
45039 * include/sys/mman.h: Likewise.
45040 * include/sys/msg.h: Likewise.
45041 * include/sys/resource.h: Likewise.
45042 * include/sys/select.h: Likewise.
45043 * include/sys/socket.h: Likewise.
45044 * include/sys/stat.h: Likewise.
45045 * include/sys/statvfs.h: Likewise.
45046 * include/sys/time.h: Likewise.
45047 * include/sys/times.h: Likewise.
45048 * include/sys/uio.h: Likewise.
45049 * include/sys/utsname.h: Likewise.
45050 * include/sys/wait.h: Likewise.
45051 * include/termios.h: Likewise.
45052 * include/time.h: Likewise.
45053 * include/ulimit.h: Likewise.
45054 * include/unistd.h: Likewise.
45055 * include/utime.h: Likewise.
45056 * include/wchar.h: Likewise.
45057 * include/wctype.h: Likewise.
45058 * include/wordexp.h: Likewise.
45060 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45062 * time/time.h: TIME_UTC must be a macro.
45063 Make timespec_get available for ISO C11 only as well.
45065 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45067 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45068 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45070 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45072 * configure.in: Use -o not -a in test for unsupported multi-arch.
45074 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45076 * manual/texinfo.tex: Update to version 2012-01-19.16.
45078 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45080 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45082 2012-02-24 Roland McGrath <roland@hack.frob.com>
45085 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45086 * manual/fdl-1.3.texi: New file.
45087 * manual/fdl-1.1.texi: File removed.
45090 * manual/libc.texinfo (FDL_VERSION): New @set.
45091 Use it for mention of FDL in cover text.
45092 (Documentation License): Use it in @include file name.
45094 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45095 Roland McGrath <roland@hack.frob.com>
45098 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45099 (not LONG_LONG_MAX and LONG_LONG_MIN.
45100 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45101 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45103 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45105 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45109 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45110 manipulate bits before adding and subtracting TWO23[sx].
45111 * math/libm-test.inc (nearbyint_test): Add more tests.
45113 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45116 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45117 bits before adding and subtracting TWO23[sx].
45118 * math/libm-test.inc (rint_test): Add more tests.
45119 (rint_test_tonearest): Likewise.
45120 (rint_test_towardzero): Likewise.
45121 (rint_test_downward): Likewise.
45122 (rint_test_upward: Likewise.
45124 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45127 * include/stdc-predef.h: New file. Extracted from features.h.
45128 * include/features.h: Include stdc-predef.h.
45129 * Makefile (headers): Add stdc-predef.h.
45130 * CONFORMANCE (Compiler limitations): Update.
45132 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45134 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45136 2012-02-21 David S. Miller <davem@davemloft.net>
45138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45141 2012-02-20 David S. Miller <davem@davemloft.net>
45143 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45144 using a normal save/restore sequence, rather than allocating a
45145 dummy stack frame just to store a frame pointer and restore.
45146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45148 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45150 * manual/install.texi: Fix stray word in line-wrapped comment.
45152 2012-02-20 David S. Miller <davem@davemloft.net>
45154 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45155 both binutils and gcc support GOTDATA.
45157 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45158 "rd %pc" in the PIC register setup sequences.
45160 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45161 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45162 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45163 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45164 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45167 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45169 (SYSCALL_ERROR_HANDLER): Likewise.
45170 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45171 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45173 (SYSCALL_ERROR_HANDLER): Likewise.
45175 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45176 (HAVE_GCC_GOTDATA): New.
45177 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45178 relocation support in both binutils and gcc.
45179 * sysdeps/sparc/elf/configure: Regenerate.
45181 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45182 * sysdeps/sparc/sparc32/elf/configure: Delete.
45183 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45184 * sysdeps/sparc/sparc64/elf/configure: Delete.
45185 * sysdeps/sparc/elf/configure.in: New file.
45186 * sysdeps/sparc/elf/configure: Generate.
45188 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45189 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45190 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45191 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45192 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45194 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45196 * manual/install.texi: Do not mention specific glibc version
45198 * manual/libc.texinfo (VERSION, UPDATED): Update.
45199 (@copying): Use @copyright{} and range of years.
45201 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45204 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45205 [crti.S not in sysdirs] (generated): Do not append.
45206 [crti.S not in sysdirs] (omit-deps): Likewise.
45207 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45208 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45209 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45210 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45211 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45213 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45214 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45215 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45216 * csu/defs.awk: Remove file.
45217 * sysdeps/generic/initfini.c: Likewise.
45218 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45220 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45223 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45225 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45226 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45227 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45228 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45230 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45232 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45233 (__EPOLL_PACKED): Define to empty if not defined by
45235 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45239 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45241 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45242 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45243 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45244 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45246 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45250 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45252 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45255 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45259 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45261 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45262 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45264 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45266 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45267 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45269 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45271 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45274 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45276 * math/w_acos.c: Use non-signaling floating-point comparisons.
45277 * math/w_acosf.c: Likewise.
45278 * math/w_acosh.c: Likewise.
45279 * math/w_acoshf.c: Likewise.
45280 * math/w_acoshl.c: Likewise.
45281 * math/w_acosl.c: Likewise.
45282 * math/w_asin.c: Likewise.
45283 * math/w_asinf.c: Likewise.
45284 * math/w_asinl.c: Likewise.
45285 * math/w_atanh.c: Likewise.
45286 * math/w_atanhf.c: Likewise.
45287 * math/w_atanhl.c: Likewise.
45288 * math/w_exp2.c: Likewise.
45289 * math/w_exp2f.c: Likewise.
45290 * math/w_exp2l.c: Likewise.
45291 * math/w_j0.c: Likewise.
45292 * math/w_j0f.c: Likewise.
45293 * math/w_j0l.c: Likewise.
45294 * math/w_j1.c: Likewise.
45295 * math/w_j1f.c: Likewise.
45296 * math/w_j1l.c: Likewise.
45297 * math/w_jn.c: Likewise.
45298 * math/w_jnf.c: Likewise.
45299 * math/w_log.c: Likewise.
45300 * math/w_log10.c: Likewise.
45301 * math/w_log10f.c: Likewise.
45302 * math/w_log10l.c: Likewise.
45303 * math/w_log2.c: Likewise.
45304 * math/w_log2f.c: Likewise.
45305 * math/w_log2l.c: Likewise.
45306 * math/w_logf.c: Likewise.
45307 * math/w_logl.c: Likewise.
45308 * math/w_sqrt.c: Likewise.
45309 * math/w_sqrtf.c: Likewise.
45310 * math/w_sqrtl.c: Likewise.
45311 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45312 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45313 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45314 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45315 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45317 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45320 * manual/string.texi (strnlen): Use correct parameter name in
45321 equivalent expression.
45323 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45326 * manual/users.texi (seteuid): Consistently use neweuid for
45329 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45332 * manual/nss.texi (Services in the NSS configuration): Correct
45333 list of services in example configuration file.
45335 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45338 * manual/arith.texi: Remove statements about negative zero
45339 behaving identically to zero.
45341 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45344 * manual/install.texi: Do not document upgrading from libc5.
45346 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45349 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45351 2012-02-18 David S. Miller <davem@davemloft.net>
45353 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45354 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45355 %o7 across the call.
45356 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45359 SETUP_PIC_REG_LEAF.
45360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45361 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45362 * sysdeps/sparc/crtn.S: Likewise.
45364 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45366 * aout/Makefile: Remove.
45368 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45371 * manual/examples/argp-ex1.c (main): Format definition in GNU
45373 * manual/examples/argp-ex2.c (main): Likewise.
45374 * manual/examples/argp-ex3.c (main): Likewise.
45375 * manual/examples/argp-ex4.c (main): Likewise.
45376 * manual/examples/longopt.c (main): Use new-style prototype
45378 * manual/examples/strncat.c (main): Specify return type and use
45379 (void) for arguments.
45380 * manual/examples/subopt.c (main): Use char **argv argument.
45382 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45385 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45388 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45391 * manual/string.texi (strchr): Change when strchrnul is
45394 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45397 * manual/locale.texi (setlocale): Document LOCPATH.
45399 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45402 * manual/process.texi (execle): Move @dots{} before last argument.
45404 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
45407 * manual/charset.texi (Generic Charset Conversion): Fix typo
45408 (LC_TYPE -> LC_CTYPE).
45410 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45413 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45414 (scalbnf): Likewise.
45415 (scalbnl): Likewise.
45416 (scalbln): Likewise.
45417 (scalblnf): Likewise.
45418 (scalblnl): Likewise.
45419 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45420 (vwarnx): Likewise.
45423 * manual/filesys.texi (telldir): Use braces around return type.
45424 * manual/llio.texi (mmap): Add space after comma.
45425 (mmap64): Likewise.
45426 * manual/math.texi (jn): Use @var{} on parameter names.
45432 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45434 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45436 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45437 (sched_get_priority_max): Likewise.
45438 * manual/signal.texi (sigvec): Add space after comma.
45439 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45441 (if_indextoname): Likewise.
45442 (if_freenameindex): Likewise.
45443 (sendto): Use ',' instead of '.' in prototype.
45444 * manual/startup.texi (syscall): Use @dots{} instead of literal
45446 * manual/stdio.texi (__fpending): Separate initial words of
45447 paragraph from @deftypefun line.
45448 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45450 (vsyslog): Use @var{} on parameter names.
45451 * manual/terminal.texi (stty): Use @var{} on parameter names.
45452 * manual/users.texi (getutmp): Use @var{} on parameter names.
45453 (getutmpx): Likewise.
45455 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45458 * manual/stdio.texi (fopen): Fix typos in description of
45461 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45464 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45465 get clock_id definition.
45467 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
45470 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45471 (madvise): Cast every argument to void on its own.
45473 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45476 * manual/startup.texi (Exit Status): Fix typo.
45478 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45481 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45482 * manual/examples/argp-ex2.c: Likewise.
45483 * manual/examples/argp-ex3.c: Likewise.
45485 2012-02-16 Richard Henderson <rth@redhat.com>
45487 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45488 * sysdeps/s390/s390-32/initfini.c: Remove.
45489 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45490 * sysdeps/s390/s390-64/initfini.c: Remove.
45492 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45494 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45495 compiler output for sysdeps/generic/initfini.c.
45496 * sysdeps/sh/elf/initfini.c: Remove file.
45498 2012-02-16 David S. Miller <davem@davemloft.net>
45501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45503 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45504 * sysdeps/sparc/crti.S: New file.
45505 * sysdeps/sparc/crtn.S: New file.
45506 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45507 * sysdeps/sparc/sparc64/Makefile: Likewise.
45509 2012-02-15 Mike Frysinger <vapier@gentoo.org>
45512 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45514 2012-02-15 Roland McGrath <roland@hack.frob.com>
45517 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45519 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45520 (write, read, close): Likewise.
45521 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45523 2012-02-15 Joseph Myers <joseph@codesourcery.com>
45525 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45526 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45527 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45528 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45530 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45534 2012-02-14 Marek Polacek <polacek@redhat.com>
45536 * sysdeps/x86_64/crti.S: New file.
45537 * sysdeps/x86_64/crtn.S: New file.
45538 * sysdeps/x86_64/elf/initfini.c: Remove file.
45540 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45542 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45543 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45544 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45545 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45547 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45551 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45553 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45554 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45555 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45556 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45558 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45562 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45564 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45565 __feraiseexcept instead of feraiseexcept.
45567 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45568 nanosleep invocations.
45569 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45570 strings, and add error checking for a nanosleep invocations.
45572 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45574 Replace FSF snail mail address with URLs, as per GNU coding standards.
45575 Most of the snail mail addresses were wrong anyway, and omitting
45576 them makes the source code easier to maintain. Almost all of the
45577 changes are to license notices and to locale LC_IDENTIFICATION
45578 addresses, except for this one:
45579 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45580 not its snail mail address.
45582 2012-02-09 Richard Henderson <rth@twiddle.net>
45584 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45585 of kernel-features.h.
45587 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45589 2012-02-08 Marek Polacek <polacek@redhat.com>
45591 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45592 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45593 * sysdeps/gnu/_G_config.h: Likewise.
45594 * sysdeps/generic/_G_config.h: Likewise.
45596 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45598 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45602 * sysdeps/powerpc/powerpc32/crti.S: New file.
45603 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45604 * sysdeps/powerpc/powerpc64/crti.S: New file.
45605 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45607 * Makeconfig (have-initfini): Don't set.
45608 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45609 * configure.in (nopic_initfini): Don't substitute.
45610 * config.h.in (HAVE_INITFINI): Don't #undef.
45611 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45612 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45614 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45616 Support crti.S and crtn.S provided directly by architectures.
45617 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45618 [crti.S in sysdirs] (omit-deps): Likewise.
45619 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45620 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45621 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45622 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45623 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45624 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45625 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45626 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45627 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45628 compiler output for sysdeps/generic/initfini.c.
45629 * sysdeps/i386/elf/Makefile: Remove file.
45630 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45632 2012-02-07 Marek Polacek <polacek@redhat.com>
45634 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45635 * sysdeps/gnu/_G_config.h: Likewise.
45636 * sysdeps/mach/hurd/_G_config.h: Likewise.
45638 2012-02-07 Marek Polacek <polacek@redhat.com>
45640 * math/Makefile (tests): Add tst-CMPLX2.
45641 * math/tst-CMPLX2.c: New file.
45643 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45645 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45647 * math/libm-test.inc (jn_test): Add missing L suffix.
45649 2012-02-06 Marek Polacek <polacek@redhat.com>
45651 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45652 * sysdeps/i386/fpu/e_powf.S: Likewise.
45653 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45654 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45655 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45656 * sysdeps/i386/fpu/e_pow.S: Likewise.
45657 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45658 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45659 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45660 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45661 * sysdeps/i386/fpu/e_log2.S: Likewise.
45662 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45663 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45664 * sysdeps/i386/fpu/e_powl.S: Likewise.
45665 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45666 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45667 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45668 * sysdeps/i386/fpu/e_logl.S: Likewise.
45669 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45670 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45671 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45672 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45673 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45674 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45675 * sysdeps/i386/fpu/e_log.S: Likewise.
45676 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45677 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45678 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45679 * sysdeps/i386/fpu/e_logf.S: Likewise.
45680 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45681 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45682 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45683 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45684 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45685 * sysdeps/i386/fpu/e_log10.S: Likewise.
45686 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45688 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45689 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45690 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45691 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45692 * sysdeps/i386/asm-syntax.h: Likewise.
45693 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45694 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45695 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45696 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45697 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45698 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45699 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45700 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45701 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45702 * sysdeps/powerpc/sysdep.h: Likewise.
45703 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45704 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45706 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45709 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45711 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45713 * sysdeps/i386/sysdep.h: Include <features.h>.
45714 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45717 2012-02-05 Joseph Myers <joseph@codesourcery.com>
45719 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45721 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45724 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45726 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45727 (SETUP_PIC_REG): Use GET_PC_THUNK.
45728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45731 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45733 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45734 for non-PIC compilation.
45735 (SETUP_PIC_REG): Add .p2align directive.
45736 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45737 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45738 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45739 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45740 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45741 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45742 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45744 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45745 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45746 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45747 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45748 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45749 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45750 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45751 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45752 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45753 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45754 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45755 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45756 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45758 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45759 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45760 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45762 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45763 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45764 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45765 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45766 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45768 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45769 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45770 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45771 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45772 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45773 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45774 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45775 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45776 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45778 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45780 * math/tst-CMPLX.c: Include <stdio.h>.
45782 2012-01-31 Joseph Myers <joseph@codesourcery.com>
45784 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45786 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45787 * sysdeps/sparc/bits/mathdef.h: Likewise.
45789 2012-01-31 Marek Polacek <polacek@redhat.com>
45791 * libio/libio.h: Don't define _PARAMS.
45792 * locale/programs/config.h: Don't define PARAMS.
45793 * stdlib/strtol_l.c: Likewise.
45794 (__strtol_l): Remove PARAMS from the prototype.
45796 2012-01-31 Ulrich Drepper <drepper@gmail.com>
45798 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45799 names. Just use the correct names. Remove unnecessary wrapper
45801 * malloc/arena.c: Likewise.
45802 * malloc/hooks.c: Likewise.
45804 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45805 ARENA_TEST says not to. Simplify test for creation of a new arena.
45806 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45808 2012-01-30 Ulrich Drepper <drepper@gmail.com>
45810 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45812 (update_get_addr): New function.
45813 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45814 GET_ADDR_MODULE parameter.
45816 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45818 * crypt/cert.c: Remove __STDC__ conditionals.
45819 * crypt/crypt-entry.c: Likewise.
45820 * crypt/crypt_util.c: Likewise.
45821 * libio/filedoalloc.c: Likewise.
45822 * libio/fileops.c: Likewise.
45823 * libio/genops.c: Likewise.
45824 * libio/iofclose.c: Likewise.
45825 * libio/iofdopen.c: Likewise.
45826 * libio/iofopen.c: Likewise.
45827 * libio/iofopen64.c: Likewise.
45828 * libio/iogetdelim.c: Likewise.
45829 * libio/iopopen.c: Likewise.
45830 * libio/obprintf.c: Likewise.
45831 * libio/oldfileops.c: Likewise.
45832 * libio/oldiofclose.c: Likewise.
45833 * libio/oldiofdopen.c: Likewise.
45834 * libio/oldiofopen.c: Likewise.
45835 * libio/oldiopopen.c: Likewise.
45836 * libio/wfiledoalloc.c: Likewise.
45837 * libio/wgenops.c: Likewise.
45838 * locale/programs/xmalloc.c: Likewise.
45839 * misc/syslog.c: Likewise.
45840 * stdio-common/xbug.c: Likewise.
45841 * string/memchr.c: Likewise.
45842 * string/memcmp.c: Likewise.
45843 * string/memrchr.c: Likewise.
45844 * string/rawmemchr.c: Likewise.
45845 * sysdeps/posix/getcwd.c: Likewise.
45846 * time/strftime_l.c: Likewise.
45848 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45850 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45851 * config.make.in (config-cflags-sse2avx): Define.
45852 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45855 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45857 * scripts/config.guess: Update from upstream config git repository.
45858 * scripts/config.sub: Likewise.
45860 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45862 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45864 (R_TILEPRO_*, R_TILEGX_*): New macros.
45866 * scripts/firstversions.awk: Fix bug in version range handling.
45868 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45870 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45872 * include/sys/epoll.h: New file.
45873 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45876 2012-01-28 Ulrich Drepper <drepper@gmail.com>
45878 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45879 Avoid unnecessary __WORDSIZE == 64 test.
45880 (fmaxf): Use VEX format if possible.
45885 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45886 * math/math_private.h: Remove libc_fegetround* and
45888 * sysdeps/i386/configure.in: Check for -msse2avx.
45889 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45890 also if SSE2AVX is defined.
45891 Remove libc_fegetround* and libc_fesetround*.
45892 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45893 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45897 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45898 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45899 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45902 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45904 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45906 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45908 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45910 2012-01-27 Ulrich Drepper <drepper@gmail.com>
45913 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45915 * Makeconfig (libm): Define.
45916 * elf/Makefile: Add rules to build and run tst-relsort1.
45917 * elf/tst-relsort1.c: New file.
45918 * elf/tst-relsort1mod1.c: New file.
45919 * elf/tst-relsort1mod2.c: New file.
45921 2012-01-27 Joseph Myers <joseph@codesourcery.com>
45923 * math/s_ldexp.c: Remove __STDC__ conditionals.
45924 * math/s_ldexpf.c: Likewise.
45925 * math/s_ldexpl.c: Likewise.
45926 * math/s_nextafter.c: Likewise.
45927 * math/s_nexttowardf.c: Likewise.
45928 * math/s_significand.c: Likewise.
45929 * math/s_significandf.c: Likewise.
45930 * math/s_significandl.c: Likewise.
45931 * math/w_jnl.c: Likewise.
45932 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45933 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45934 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45935 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45936 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45941 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45942 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45944 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45945 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45946 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45947 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45948 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45949 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45953 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45954 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45955 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45956 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45957 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45958 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45959 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45960 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45961 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45962 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45963 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45964 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45965 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45966 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45967 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45968 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45969 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45970 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45971 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45972 * sysdeps/ieee754/k_standard.c: Likewise.
45973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45975 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45976 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45977 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45978 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45983 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45985 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45986 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45992 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46004 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46005 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46008 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46013 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46021 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46022 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46023 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46027 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46028 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46034 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46035 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46047 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46048 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46049 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46051 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46052 * sysdeps/ieee754/s_matherr.c: Likewise.
46053 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46054 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46055 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46058 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46060 * crypt/md5.h: Remove __STDC__ conditionals.
46061 * libio/libioP.h: Likewise.
46062 * locale/programs/config.h: Likewise.
46063 * sysdeps/generic/sysdep.h: Likewise.
46064 * sysdeps/i386/asm-syntax.h: Likewise.
46065 * sysdeps/s390/asm-syntax.h: Likewise.
46066 * sysdeps/unix/sysdep.h: Likewise.
46067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46070 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46072 * libio/libio.h: Remove __STDC__ conditionals.
46073 * malloc/obstack.h: Likewise.
46074 * math/complex.h: Likewise.
46075 * math/math.h: Likewise.
46076 * sysdeps/generic/_G_config.h: Likewise.
46077 * sysdeps/gnu/_G_config.h: Likewise.
46078 * sysdeps/mach/hurd/_G_config.h: Likewise.
46079 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46080 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46081 * sysdeps/sparc/bits/mathdef.h: Likewise.
46083 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46087 Clean up HAS_* macros.
46088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46089 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46091 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46093 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46094 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46096 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46097 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46099 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46101 * elf/tst-unique3.cc (gets): Remove declaration.
46102 * elf/tst-unique3lib.cc (gets): Likewise.
46103 * elf/tst-unique3lib2.cc (gets): Likewise.
46104 * elf/tst-unique4.cc (gets): Likewise.
46106 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46108 * include/stdio.h: Add C++ protection. Add gets declarations and
46110 * debug/tst-chk1.c: Don't declare gets here.
46111 * stdio-common/tst-gets.c: Likewise.
46113 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46115 * posix/glob: Remove directory.
46117 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46119 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46121 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46123 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46124 of the non-standard EPFNOSUPPORT.
46126 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46128 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46129 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46130 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46132 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46134 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46136 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46138 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46140 * nscd/grpcache.c (cache_addgr): Likewise.
46141 * nscd/hstcache.c (cache_addhst): Likewise.
46142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46143 * nscd/pwdcache.c (cache_addpw): Likewise.
46144 * nscd/servicescache.c (cache_addserv): Likewise.
46146 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46148 * malloc/malloc.c: Various cleanups.
46149 * malloc/hooks.c: Likewise.
46151 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46152 * stdlib/bug-fmtmsg1.c: New file.
46154 * stdlib/fmtmsg.c (init): Add missing unlock.
46155 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46157 2012-01-12 Marek Polacek <polacek@redhat.com>
46159 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46162 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46164 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46165 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46166 macro to ensure uniqueness of label name.
46167 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46168 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46170 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46172 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46174 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46175 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46176 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46177 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46179 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46181 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46183 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46184 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46185 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46187 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46189 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46190 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46191 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46194 * math/bits/math-finite.h: Add ldexp support.
46196 2012-01-10 Marek Polacek <polacek@redhat.com>
46198 * locale/programs/localedef.h (show_archive_content): Add noreturn
46201 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46203 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46205 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46207 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46209 * io/Makefile (headers): Add bits/poll2.h.
46211 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46214 typo #include statement.
46216 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46218 * include/sys/cdefs.h: Define __attribute_alloc_size.
46219 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46220 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46221 * elf/pldd.c: Likewise.
46222 * iconv/iconv_charmap.c: Likewise.
46223 * iconv/iconvconfig.c: Likewise.
46224 * iconv/strtab.c: Likewise.
46225 * locale/programs/locale.c: Likewise.
46226 * locale/programs/localedef.h: Likewise.
46227 * locale/programs/simple-hash.c: Likewise.
46228 * nscd/nscd.h: Likewise.
46229 * nss/makedb.c: Likewise.
46230 * sysdeps/generic/ldconfig.h: Likewise.
46231 * locale/programs/localedef.c: Remove xmalloc prototype.
46232 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46234 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46236 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46239 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46241 * math/Makefile (tests): Add tst-CMPLX.
46242 * math/tst-CMPLX.c: New file.
46244 * math/complex.h (CMPLXL): Fix typo.
46246 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46247 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46249 * debug/tst-chk1.c: Add poll and ppoll tests.
46250 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46251 * include/sys/poll.h: Add hidden proto for ppoll.
46252 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46253 * sysdeps/mach/hurd/ppoll.c: Likewise.
46254 * io/ppoll.c: Likewise.
46255 * debug/poll_chk.c: New file.
46256 * debug/ppoll_chk.c: New file.
46257 * include/bits/poll2.h: New file.
46258 * io/bits/poll2.h: New file.
46261 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46263 * configure.in: static is always set to yes. Remove.
46264 * config.make.in: Don't set build-static.
46265 * Makeconfig: Remove use of build-static.
46266 * dlfcn/Makefile: Likewise.
46267 * elf/Makefile: Likewise.
46268 * math/Makefile: Likewise.
46269 * misc/Makefile: Likewise.
46270 * nptl/Makefile: Likewise.
46271 * sysdeps/mach/hurd/Makefile: Likewise.
46273 * configure.in: PWD_P is not used anymore.
46274 * config.make.in: Remove PWD_P entry.
46276 * configure.in: Remove last remnants of RANLIB.
46277 No need to check for signed size_t anymore.
46278 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46280 Remove __builtin_expect test because we require at least gcc 3.4.
46281 * aclocal.m4: Likewise.
46283 * wcsmbs/mbrtoc16.c: Implement using towc function.
46284 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46285 * wcsmbs/wcsmbsload.c: Likewise.
46286 * iconv/gconv_simple.c: Likewise.
46287 * iconv/gconv_int.h: Likewise.
46288 * iconv/gconv_builtin.h: Likewise.
46289 * iconv/iconv_prog.c: Remove CHAR16 handling.
46291 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46293 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46295 * configure.in: Remove --with-elf and --enable-bounded options.
46296 Dont set base_machine for ia64. More non-ELF conditions removed.
46297 Remove testing and setting of leading underscore information.
46298 * config.make.in (build-bounded): Set to no.
46299 * config.h.in: Remove NO_UNDERSCORES entry.
46300 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46302 * csu/start.c: Remove !NO_UNDERSCORE code.
46303 * locale/localeinfo.h: Likewise.
46304 * sysdeps/generic/machine-gmon.h: Likewise.
46305 * sysdeps/generic/sysdep.h: Likewise.
46306 * sysdeps/i386/sysdep.h: Likewise.
46307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46308 * sysdeps/mach/sysdep.h: Likewise.
46309 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46311 * sysdeps/sh/sysdep.h: Likewise.
46312 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46313 * sysdeps/unix/i386/sysdep.S: Likewise.
46314 * sysdeps/unix/sparc/start.c: Likewise.
46315 * sysdeps/unix/sparc/sysdep.S: Likewise.
46316 * sysdeps/unix/sparc/sysdep.h: Likewise.
46317 * sysdeps/unix/start.c: Likewise.
46318 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46319 * sysdeps/x86_64/sysdep.h: Likewise.
46321 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46324 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46326 * argp/argp-fmtstream.h: Use const instead __const.
46327 * argp/argp.h: Likewise.
46328 * assert/assert.h: Likewise.
46329 * bits/fenv.h: Likewise.
46330 * bits/sched.h: Likewise.
46331 * bits/sigset.h: Likewise.
46332 * bits/sigthread.h: Likewise.
46333 * catgets/nl_types.h: Likewise.
46334 * conform/data/pthread.h-data: Likewise.
46335 * crypt/crypt-private.h: Likewise.
46336 * crypt/crypt.h: Likewise.
46337 * crypt/crypt_util.c: Likewise.
46338 * ctype/ctype.h: Likewise.
46339 * debug/execinfo.h: Likewise.
46340 * debug/mbsnrtowcs_chk.c: Likewise.
46341 * debug/mbsrtowcs_chk.c: Likewise.
46342 * debug/wcsnrtombs_chk.c: Likewise.
46343 * debug/wcsrtombs_chk.c: Likewise.
46344 * debug/wcstombs_chk.c: Likewise.
46345 * dirent/dirent.h: Likewise.
46346 * dlfcn/dlfcn.h: Likewise.
46347 * elf/neededtest4.c: Likewise.
46348 * grp/grp.h: Likewise.
46349 * gshadow/gshadow.h: Likewise.
46350 * iconv/gconv.h: Likewise.
46351 * iconv/gconv_int.h: Likewise.
46352 * iconv/gconv_simple.c: Likewise.
46353 * iconv/iconv.h: Likewise.
46354 * iconv/loop.c: Likewise.
46355 * iconv/skeleton.c: Likewise.
46356 * include/aio.h: Likewise.
46357 * include/aliases.h: Likewise.
46358 * include/argz.h: Likewise.
46359 * include/arpa/inet.h: Likewise.
46360 * include/assert.h: Likewise.
46361 * include/dirent.h: Likewise.
46362 * include/dlfcn.h: Likewise.
46363 * include/execinfo.h: Likewise.
46364 * include/fcntl.h: Likewise.
46365 * include/fenv.h: Likewise.
46366 * include/glob.h: Likewise.
46367 * include/grp.h: Likewise.
46368 * include/libintl.h: Likewise.
46369 * include/mntent.h: Likewise.
46370 * include/netdb.h: Likewise.
46371 * include/pwd.h: Likewise.
46372 * include/rpc/netdb.h: Likewise.
46373 * include/sched.h: Likewise.
46374 * include/search.h: Likewise.
46375 * include/shadow.h: Likewise.
46376 * include/signal.h: Likewise.
46377 * include/stdio.h: Likewise.
46378 * include/stdlib.h: Likewise.
46379 * include/string.h: Likewise.
46380 * include/sys/socket.h: Likewise.
46381 * include/sys/stat.h: Likewise.
46382 * include/sys/statfs.h: Likewise.
46383 * include/sys/statvfs.h: Likewise.
46384 * include/sys/syslog.h: Likewise.
46385 * include/sys/time.h: Likewise.
46386 * include/sys/uio.h: Likewise.
46387 * include/time.h: Likewise.
46388 * include/unistd.h: Likewise.
46389 * include/utmp.h: Likewise.
46390 * include/wchar.h: Likewise.
46391 * include/wctype.h: Likewise.
46392 * inet/aliases.h: Likewise.
46393 * inet/arpa/inet.h: Likewise.
46394 * inet/netinet/ether.h: Likewise.
46395 * inet/netinet/in.h: Likewise.
46396 * intl/libintl.h: Likewise.
46397 * io/bits/fcntl2.h: Likewise.
46398 * io/fcntl.h: Likewise.
46399 * io/ftw.h: Likewise.
46400 * io/sys/poll.h: Likewise.
46401 * io/sys/stat.h: Likewise.
46402 * io/sys/statfs.h: Likewise.
46403 * io/sys/statvfs.h: Likewise.
46404 * io/utime.h: Likewise.
46405 * libio/bits/stdio.h: Likewise.
46406 * libio/bits/stdio2.h: Likewise.
46407 * libio/libio.h: Likewise.
46408 * libio/libioP.h: Likewise.
46409 * libio/stdio.h: Likewise.
46410 * locale/lc-ctype.c: Likewise.
46411 * locale/locale.h: Likewise.
46412 * login/utmp.h: Likewise.
46413 * malloc/arena.c: Likewise.
46414 * malloc/malloc.c: Likewise.
46415 * malloc/malloc.h: Likewise.
46416 * malloc/mcheck.c: Likewise.
46417 * malloc/mtrace.c: Likewise.
46418 * math/bits/mathcalls.h: Likewise.
46419 * math/fenv.h: Likewise.
46420 * math/math_private.h: Likewise.
46421 * misc/bits/error.h: Likewise.
46422 * misc/bits/syslog.h: Likewise.
46423 * misc/err.h: Likewise.
46424 * misc/error.h: Likewise.
46425 * misc/fstab.h: Likewise.
46426 * misc/mntent.h: Likewise.
46427 * misc/regexp.h: Likewise.
46428 * misc/search.h: Likewise.
46429 * misc/sgtty.h: Likewise.
46430 * misc/sys/mman.h: Likewise.
46431 * misc/sys/syslog.h: Likewise.
46432 * misc/sys/uio.h: Likewise.
46433 * misc/sys/xattr.h: Likewise.
46434 * misc/ttyent.h: Likewise.
46435 * nis/rpcsvc/ypclnt.h: Likewise.
46436 * nss/nss.h: Likewise.
46437 * posix/bits/unistd.h: Likewise.
46438 * posix/fnmatch.h: Likewise.
46439 * posix/glob.h: Likewise.
46440 * posix/sched.h: Likewise.
46441 * posix/spawn.h: Likewise.
46442 * posix/sys/wait.h: Likewise.
46443 * posix/unistd.h: Likewise.
46444 * posix/wordexp.h: Likewise.
46445 * pwd/pwd.h: Likewise.
46446 * resolv/netdb.h: Likewise.
46447 * resource/sys/resource.h: Likewise.
46448 * rt/aio.h: Likewise.
46449 * rt/bits/mqueue2.h: Likewise.
46450 * rt/mqueue.h: Likewise.
46451 * shadow/shadow.h: Likewise.
46452 * signal/signal.h: Likewise.
46453 * socket/send.c: Likewise.
46454 * socket/sendto.c: Likewise.
46455 * socket/sys/socket.h: Likewise.
46456 * stdio-common/printf.h: Likewise.
46457 * stdlib/bits/stdlib.h: Likewise.
46458 * stdlib/fmtmsg.h: Likewise.
46459 * stdlib/monetary.h: Likewise.
46460 * stdlib/stdlib.h: Likewise.
46461 * stdlib/ucontext.h: Likewise.
46462 * streams/stropts.h: Likewise.
46463 * string/argz.h: Likewise.
46464 * string/bits/string2.h: Likewise.
46465 * string/string.h: Likewise.
46466 * string/strings.h: Likewise.
46467 * sunrpc/rpc/auth.h: Likewise.
46468 * sunrpc/rpc/auth_des.h: Likewise.
46469 * sunrpc/rpc/clnt.h: Likewise.
46470 * sunrpc/rpc/netdb.h: Likewise.
46471 * sunrpc/rpc/pmap_clnt.h: Likewise.
46472 * sunrpc/rpc/xdr.h: Likewise.
46473 * sysdeps/generic/inttypes.h: Likewise.
46474 * sysdeps/generic/net/if.h: Likewise.
46475 * sysdeps/generic/sys/swap.h: Likewise.
46476 * sysdeps/gnu/net/if.h: Likewise.
46477 * sysdeps/gnu/utmpx.h: Likewise.
46478 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46479 * sysdeps/i386/i486/bits/string.h: Likewise.
46480 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46481 * sysdeps/s390/bits/string.h: Likewise.
46482 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46483 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46484 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46485 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46486 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46487 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46488 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46489 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46490 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46491 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46492 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46493 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46494 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46495 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46496 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46497 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46498 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46500 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46501 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46502 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46503 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46504 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46505 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46506 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46507 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46508 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46510 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46511 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46512 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46513 * sysvipc/sys/ipc.h: Likewise.
46514 * sysvipc/sys/msg.h: Likewise.
46515 * sysvipc/sys/sem.h: Likewise.
46516 * sysvipc/sys/shm.h: Likewise.
46517 * termios/termios.h: Likewise.
46518 * time/sys/time.h: Likewise.
46519 * time/time.h: Likewise.
46520 * wcsmbs/bits/wchar2.h: Likewise.
46521 * wcsmbs/uchar.h: Likewise.
46522 * wcsmbs/wchar.h: Likewise.
46523 * wctype/wctype.h: Likewise.
46526 * Makeconfig: Remove all but ELF support including AIX support.
46527 * Makerules: Likewise.
46528 * config.h.in: Likewise.
46529 * config.make.in: Likewise.
46530 * configure: Likewise.
46531 * configure.in: Likewise.
46532 * csu/Makefile: Likewise.
46533 * csu/version.c: Likewise.
46534 * debug/Makefile: Likewise.
46535 * dlfcn/Makefile: Likewise.
46536 * elf/Makefile: Likewise.
46537 * extra-lib.mk: Likewise.
46538 * iconv/Makefile: Likewise.
46539 * include/libc-symbols.h: Likewise.
46540 * include/shlib-compat.h: Likewise.
46541 * resolv/Makefile: Likewise.
46542 * resolv/res_libc.c: Likewise.
46543 * rt/Makefile: Likewise.
46544 * sysdeps/i386/asm-syntax.h: Likewise.
46545 * sysdeps/i386/sysdep.h: Likewise.
46546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46547 * sysdeps/mach/sysdep.h: Likewise.
46548 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46549 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46550 * sysdeps/s390/asm-syntax.h: Likewise.
46551 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46553 * sysdeps/sh/sysdep.h: Likewise.
46554 * sysdeps/unix/sparc/sysdep.h: Likewise.
46555 * sysdeps/wordsize-32/divdi3.c: Likewise.
46556 * sysdeps/x86_64/sysdep.h: Likewise.
46558 * argp/Versions: Remove _argp_unlock_xxx.
46561 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46562 * abilist/libBrokenLocale.abilist: Likewise.
46563 * abilist/libanl.abilist: Likewise.
46564 * abilist/libc.abilist: Likewise.
46565 * abilist/libcrypt.abilist: Likewise.
46566 * abilist/libdl.abilist: Likewise.
46567 * abilist/libm.abilist: Likewise.
46568 * abilist/libnsl.abilist: Likewise.
46569 * abilist/libpthread.abilist: Likewise.
46570 * abilist/libresolv.abilist: Likewise.
46571 * abilist/librt.abilist: Likewise.
46572 * abilist/libthread_db.abilist: Likewise.
46573 * abilist/libutil.abilist: Likewise.
46574 * abilist/libnss_db.abilist: New file.
46576 * scripts/abilist.awk: Add support for indirect functions.
46578 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46580 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46582 * shlib-versions: Remove entries for ports architectures.
46584 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46586 * elf/stackguard-macros.h: Remove support for IA-64.
46587 * elf/tst-auditmod1.c: Likewise.
46588 * sysdeps/generic/ldsodefs.h: Likewise.
46590 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46591 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46595 * configure.in: Remove --enable-omitfp support.
46597 * config.make.in: Likewise.
46598 * Makeconfig: Likewise.
46599 * manual/install.texi: Likewise.
46601 In case anyone cares, the IA-64 architecture could move to ports.
46602 * sysdeps/ia64/*: Removed.
46603 * sysdeps/unix/sysv/linux/ia64/*: Removed.
46604 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46607 * configure.in: Remove entries for unsupported architectures.
46610 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46611 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46613 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46614 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46615 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46616 fall back to using wcrtomb.
46617 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46618 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46620 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46621 * wcsmbs/tst-c16c32-1.c: New file.
46623 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46626 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46628 * elf/tst-unique3.cc: Add explicit declaration of gets.
46629 * elf/tst-unique3lib.cc: Likewise.
46630 * elf/tst-unique3lib2.cc: Likewise.
46631 * elf/tst-unique4.cc: Likewise.
46633 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46635 2012-01-06 Joseph Myers <joseph@codesourcery.com>
46638 * assert/assert.h (static_assert): Don't define for C++.
46639 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46640 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46642 2012-01-03 Ulrich Drepper <drepper@gmail.com>
46644 * iconv/loop.c (single loop): Fix assertion in storing of
46647 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46649 2012-01-01 Ulrich Drepper <drepper@gmail.com>
46651 * posix/getconf.c: Update copyright year.
46652 * nss/getent.c: Likewise.
46653 * nss/makedb.c: Likewise.
46654 * iconv/iconvconfig.c: Likewise.
46655 * iconv/iconv_prog.c: Likewise.
46656 * elf/ldconfig.c: Likewise.
46657 * elf/pldd.c: Likewise.
46658 * elf/sotruss.ksh: Likewise.
46659 * catgets/gencat.c: Likewise.
46660 * csu/version.c: Likewise.
46661 * elf/ldd.bash.in: Likewise.
46662 * elf/sprof.c (print_version): Likewise.
46663 * locale/programs/locale.c: Likewise.
46664 * locale/programs/localedef.c: Likewise.
46665 * login/programs/pt_chown.c: Likewise.
46666 * nscd/nscd.c (print_version): Likewise.
46667 * debug/xtrace.sh: Likewise.
46668 * malloc/memusage.sh: Likewise.
46669 * malloc/mtrace.pl: Likewise.
46670 * debug/catchsegv.sh: Likewise.
46672 2011-12-30 Jakub Jelinek <jakub@redhat.com>
46674 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46677 2011-12-24 Ulrich Drepper <drepper@gmail.com>
46680 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46681 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46683 * iconv/gconv_int.h: Likewise.
46684 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46685 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46686 from libc for GLIBC_2.16.
46687 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46688 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46689 * wcsmbs/uchar.h: Really define mbstate_t.
46690 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46691 * wcsmbs/c16rtomb.c: New file.
46692 * wcsmbs/mbrtoc16.c: New file.
46693 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46694 for C/POSIX locale.
46695 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46696 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46698 * wcsmbs/wchar.h: Add missing __restrict.
46700 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46703 * time/Makefile (routines): Add timespec_get.
46704 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46705 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46706 timespec for ISO C11.
46707 * time/timespec_get.c: New file.
46708 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46709 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46712 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46713 * stdlib/stdlib.h: Declare aligned_alloc.
46714 * Versions.def: Add GLIBC_2.16 for libc.
46715 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46718 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46721 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46725 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46728 * assert/assert.h (static_assert): Define.
46730 * version.h: Update for 2.16 development version.
46733 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46736 * version.h (RELEASE): Bump for 2.15 release.
46737 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46739 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46740 Patch by Marek Polacek <mpolacek@redhat.com>.
46742 * bits/byteswap.h: Protect long long constants with __extension__.
46743 * sysdeps/i386/bits/byteswap.h: Likewise.
46744 * sysdeps/ia64/bits/byteswap.h: Likewise.
46745 * sysdeps/s390/bits/byteswap.h: Likewise.
46746 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46748 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46752 destination buffer.
46753 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46755 2011-12-23 Marek Polacek <polacek@redhat.com>
46757 * elf/dl-addr.c (determine_info): Add inline keyword.
46758 * elf/tst-auditmod4b.c (check_avx): Likewise.
46759 * elf/tst-auditmod6b.c (check_avx): Likewise.
46760 * elf/tst-auditmod6c.c (check_avx): Likewise.
46761 * elf/tst-auditmod7b.c (check_avx): Likewise.
46763 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46765 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46768 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46771 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46772 processing for last bytes.
46774 2011-08-06 Bruno Haible <bruno@clisp.org>
46777 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46778 U+0385, not to U+1FEE.
46781 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46782 entry for U+00A5 U+0301.
46784 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46787 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46788 buffer for the output is too small.
46790 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46794 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46795 SSE flags if possible.
46797 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46801 processing for last bytes.
46803 2011-12-22 Joseph Myers <joseph@codesourcery.com>
46805 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46806 (syscall-list-default-options, syscall-list-default-condition)
46807 (syscall-list-includes): Define.
46808 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46809 list of ABIs and options and #if conditions for each ABI. Do not
46810 handle common syscalls between ABIs specially.
46811 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46813 (syscall-list-variants, syscall-list-32bit-options)
46814 (syscall-list-32bit-condition, syscall-list-64bit-options)
46815 (syscall-list-64bit-condition): Define.
46816 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46817 (syscall-list-variants, syscall-list-32bit-options)
46818 (syscall-list-32bit-condition, syscall-list-64bit-options)
46819 (syscall-list-64bit-condition): Define.
46820 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46822 (syscall-list-variants, syscall-list-32bit-options)
46823 (syscall-list-32bit-condition, syscall-list-64bit-options)
46824 (syscall-list-64bit-condition): Define.
46825 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46827 (syscall-list-variants, syscall-list-32bit-options)
46828 (syscall-list-32bit-condition, syscall-list-64bit-options)
46829 (syscall-list-64bit-condition): Define.
46831 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46833 * locale/iso-639.def: Add brx entry.
46836 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46837 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46839 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46840 __feraiseexcept_renamed.
46842 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46845 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46846 EPOLLET with unsigned values.
46847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46850 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46851 to large cancellation.
46852 * math/s_cacoshf.c: Likewise.
46853 * math/s_cacoshl.c: Likewise.
46855 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46859 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46860 * math/s_cacoshf.c: Likewise.
46861 * math/s_cacoshl.c: Likewise.
46863 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46866 * iconv/gconv.h: Define __GCONV_SWAP.
46867 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46868 * iconvdata/utf-16.c: Likewise.
46869 * iconvdata/utf-32.c: Likewise.
46871 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46875 numerator after shifting it by one limb.
46877 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46879 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46880 under [__USE_EXTERN_INLINES].
46882 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46885 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46887 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46889 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46890 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46892 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46893 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46894 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46895 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46896 for strncasecmp/strncasecmp_l compilation.
46897 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46898 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46900 2011-12-08 Marek Polacek <mpolacek@redhat.com>
46903 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46906 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46909 * time/tzfile.c (__tzfile_read): Check values from file header.
46911 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46913 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46914 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46915 * powerpc/powerpc32/dl-start.S: Likewise.
46916 * powerpc/powerpc32/elf/start.S: Likewise.
46917 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46918 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46919 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46920 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46921 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46922 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46923 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46924 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46925 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46926 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46927 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46928 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46929 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46930 * powerpc/powerpc32/memset.S: Likewise.
46931 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46932 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46933 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46934 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46935 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46936 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46937 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46938 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46939 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46940 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46941 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46945 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46947 * math/libm-test.inc: Added more nearbyint tests.
46948 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46950 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46953 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46955 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46958 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46960 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46961 Add wcscpy-ssse3 wcscpy-c.
46962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46963 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46964 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46965 * sysdeps/x86_64/wcschr.S: New file.
46966 * sysdeps/x86_64/wcsrchr.S: New file.
46967 * string/test-strcmp.c: Remove checking of wcscmp function for
46969 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46970 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46971 wcsrchr-sse2 wcsrchr-c.
46972 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46973 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46974 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46975 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46976 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46977 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46978 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46979 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46981 * wcsmbc/wcschr.c (WCSCHR): New macro.
46983 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46985 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46986 * wcsmbs/test-wcsrchr.c: New file.
46987 * string/test-strrchr.c: Add wcsrchr support.
46989 * wcsmbs/test-wcscpy.c: New file.
46990 * string/test-strcpy.c: Add wcscpy support.
46993 2011-12-10 Ulrich Drepper <drepper@gmail.com>
46995 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46998 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47001 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47003 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47006 Minor optimizations.
47008 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47009 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47010 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47012 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47014 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47015 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47016 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47017 for gcc to avoid warnings.
47018 * inet/Makefile (tests): Add tst-checks.
47019 * inet/tst-checks.c: New file.
47021 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47024 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47027 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47028 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47030 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47032 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47034 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47037 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47039 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47041 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47042 conditional on GCC version.
47043 (__arch_compare_and_exchange_val_8_acq)
47044 (__arch_compare_and_exchange_val_16_acq)
47045 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47046 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47047 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47049 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47051 * sysdeps/sh/backtrace.c: New file.
47053 2011-12-02 Andreas Schwab <schwab@redhat.com>
47055 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47058 2011-12-01 Andreas Schwab <schwab@redhat.com>
47060 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47061 falling back to utime.
47063 2011-11-30 Andreas Schwab <schwab@redhat.com>
47065 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47066 expectations for float.
47068 2011-11-29 Andreas Schwab <schwab@redhat.com>
47070 * locale/weight.h (findidx): Add parameter len.
47071 * locale/weightwc.h (findidx): Likewise.
47072 * posix/fnmatch_loop.c (FCT): Adjust caller.
47073 * posix/regcomp.c (build_equiv_class): Likewise.
47074 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47075 * posix/regexec.c (check_node_accept_bytes): Likewise.
47076 * string/strcoll_l.c (STRCOLL): Likewise.
47077 * string/strxfrm_l.c (STRXFRM): Likewise.
47079 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47081 * Makefile.in: Remove CVSOPT handling.
47082 * configure.in: Remove use of AC_REVISION.
47083 * iconvdata/Makefile (distribute): No need to filter out CVS.
47084 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47087 2011-11-16 Andreas Schwab <schwab@redhat.com>
47089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47090 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47091 [USE_AS_STRNCASECMP_L]: Likewise.
47092 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47093 NO_TLS_DIRECT_SEG_REFS.
47094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47095 Fix argument offsets for non-PIC.
47096 [USE_AS_STRNCASECMP_L]: Likewise.
47097 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47098 NO_TLS_DIRECT_SEG_REFS.
47100 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47102 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47104 * locale/loadlocale.c (_nl_load_locale): Likewise.
47106 2011-11-15 Andreas Schwab <schwab@redhat.com>
47108 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47109 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47111 (SYSCALL_GETTIME): Set errno on error.
47113 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47114 count references to noai6ai_cached.
47116 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47118 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47120 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47121 FD_CLOEXEC for /proc/self/maps.
47123 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47124 FD_CLOEXEC for /proc/meminfo.
47126 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47129 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47130 FD_CLOEXEC for given file.
47132 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47134 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47135 FD_CLOEXEC for /etc/hosts.
47136 (_gethtent): Likewise.
47138 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47140 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47141 cancellation and set FD_CLOEXEC for /etc/netgroup.
47143 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47144 reading /etc/publickey.
47146 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47147 allow cancellation when reading /etc/group.
47149 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47151 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47153 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47154 when using data file.
47156 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47158 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47159 (write_nis_obj): Use "c" and "e" in fopen.
47161 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47163 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47165 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47167 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47169 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47172 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47174 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47176 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47178 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47179 file parsing and set FD_CLOEXEC.
47181 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47183 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47185 2011-11-14 Andreas Schwab <schwab@redhat.com>
47187 * malloc/arena.c (arena_get2): Don't call reused_arena when
47188 _int_new_arena failed.
47190 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47192 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47193 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47194 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47195 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47196 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47197 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47198 to compile strcasecmp and strncasecmp.
47199 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47200 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47204 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47206 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47207 locale-defines.sym to gen-as-const-headers.
47208 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47209 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47211 to compile strcasecmp and strncasecmp.
47212 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47213 strcasecmp_l and strncasecmp_l.
47214 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47215 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47216 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47217 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47218 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47219 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47220 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47221 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47222 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47223 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47224 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47226 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47228 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47229 result of SYSDEP_GETTIME_CPU to retval.
47230 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47231 parameter list to macro. Remove trailing semicolon. Adjust users.
47233 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47236 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47238 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47240 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47241 from unused variable.
47243 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47245 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47248 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47251 * sunrpc/rpc_prot.c (rejected): Fix case value.
47253 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47254 unsigned long long int to avoid warnings in shift.
47256 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47258 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47261 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47262 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47263 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47265 * nis/nis_table.c (nis_list): Use variable of correct type for
47266 result of __follow_path call.
47268 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47270 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47271 of math functions ceil, trunc, floor, round, and sqrt, when
47272 avaliable on the platform.
47273 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47275 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47276 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47277 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47279 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47281 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47282 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47284 2011-11-11 Roland McGrath <roland@hack.frob.com>
47286 * include/unistd.h: Fix __readlink return type.
47287 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47289 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47291 * stdlib/ucontext.h: Undo last change for makecontext.
47293 2011-11-11 Andreas Schwab <schwab@redhat.com>
47295 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47297 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47298 * setjmp/setjmp.h: Mark functions as non-leaf.
47299 * setjmp/bits/setjmp2.h: Likewise.
47300 * stdlib/ucontext.h: Likewise.
47302 2011-11-10 Andreas Schwab <schwab@redhat.com>
47304 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47305 (reused_arena): Don't check arena limit.
47306 (arena_get2): Atomically check arena limit.
47308 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47310 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47311 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47316 2011-11-07 Andreas Schwab <schwab@redhat.com>
47318 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47319 handler when locking.
47321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47322 Fix size of allocated buffer.
47324 2011-11-04 Andreas Schwab <schwab@redhat.com>
47327 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47328 declarations for long double functions.
47329 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47331 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47333 2011-11-03 Andreas Schwab <schwab@redhat.com>
47335 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47338 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47341 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47343 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47345 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47347 * include/alloca.h (stackinfo_alloca_round): Define.
47348 (extend_alloca): Use it.
47349 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47350 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47353 * scripts/check-local-headers.sh: Ignore libaudit.h.
47355 * nscd/Makefile (extra-objs): Make recursively expanded.
47357 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47359 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47362 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47363 * posix/tst-rfc3484-2.c: Likewise.
47364 * posix/tst-rfc3484-3.c: Likewise.
47366 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47368 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47370 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47371 process_vm_writev from libc using GLIBC_2.15 version.
47373 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47375 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47377 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47380 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47383 * nss/getent.c (initgroups_keys): Show error message in case no group
47386 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47387 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47388 __bump_nl_timestamp.
47389 * nscd/connections (nscd_init): When host database is served open
47390 netlink socket and request notification about configuration changes.
47391 (main_loop_poll): Track netlink file descriptor and bump timestamp
47392 in case data becomes available.
47393 (main_loop_epoll): Likewise.
47394 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47395 (database_pers_head): Add extra_data fileds.
47396 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47398 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47401 in6ai data, call __free_in6ai.
47402 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47403 Add -DHAVE_NETLINK.
47404 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47405 interface information. Reuse previous data if netlink timestamp
47407 (__bump_nl_timestamp): New function.
47408 (__free_in6ai): New function.
47410 2011-10-30 Ulrich Drepper <drepper@gmail.com>
47412 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47413 close_not_cancel_no_status here.
47414 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47416 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47419 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47422 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47423 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47424 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47426 2011-07-03 Andreas Jaeger <aj@suse.de>
47429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47430 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47431 * math/libm-test.inc (sin_test): Add test case.
47433 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47436 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47437 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47439 * elf/chroot_canon.c (chroot_canon): Cleanups.
47441 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47444 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47445 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47447 * string/test-strchr.c: Make usable for strchrnul testing.
47448 * string/test-strchrnul.c: New file.
47449 * string/Makefile (strop-tests): Add strchrnul.
47451 * po/it.po: Update from translation team.
47452 * po/es.po: Likewise.
47454 2011-10-28 Ulrich Drepper <drepper@gmail.com>
47456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47457 the three constants needed as parameters. Drop the others.
47458 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47459 __m128i_strloadu_tolower.
47460 Create and initialize variable zero and use it in all the places
47461 where _mm_setzero_si128 was used.
47463 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47464 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47465 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47468 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47469 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47470 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47471 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47472 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47473 __mpranred, __mptan.
47474 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47475 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47476 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47477 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47478 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47479 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47482 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47484 2011-10-28 Andreas Schwab <schwab@redhat.com>
47486 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47487 redefine if SHARED.
47488 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47491 wide char related routines to wcsmbs subdir.
47493 2011-10-27 Andreas Schwab <schwab@redhat.com>
47496 * misc/sys/cdefs.h (__THROWNL): Define.
47497 * posix/unistd.h: Use __THREADNL instead of __THREAD
47498 for memory synchronization functions.
47500 2011-10-26 Roland McGrath <roland@hack.frob.com>
47503 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47505 * manual/stdio.texi (Obstack Streams): Node removed.
47507 2011-10-26 Andreas Schwab <schwab@redhat.com>
47509 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47511 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47513 * math/math_private.h (math_force_eval): Allow non-addressable
47515 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47517 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47519 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47520 file is not needed.
47522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47529 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47531 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47532 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47533 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47534 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47535 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47536 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47537 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47538 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47541 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47542 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47543 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47544 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47545 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47546 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47547 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47548 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47549 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47551 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47552 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47555 place. Use VEX encoding when compiling for AVX.
47557 2011-10-25 Andreas Schwab <schwab@redhat.com>
47559 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47560 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47562 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47564 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47566 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47567 useless if() expression.
47568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47569 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47570 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47572 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47573 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47575 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47576 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47579 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47580 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47581 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47582 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47583 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47585 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47586 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47588 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47590 2011-10-25 Andreas Schwab <schwab@redhat.com>
47592 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47594 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47596 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47598 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47599 .text section. Avoid duplicate constants.
47600 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47608 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47609 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47610 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47611 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47612 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47613 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47614 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47615 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47616 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47617 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47620 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47621 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47622 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47627 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47629 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47630 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47631 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47632 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47633 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47634 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47635 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47636 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47638 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47639 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47640 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47642 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47643 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47644 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47646 2011-10-24 Ulrich Drepper <drepper@gmail.com>
47648 * sysdeps/x86_64/dla.h: Move to ...
47649 * sysdeps/x86_64/fpu/dla.h: ...here.
47650 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47651 situations. Use __builtin_fma only for gcc 4.6 and up.
47653 * config.make.in: Add have-mfma4 entry.
47654 * configure.in: Substitute libc_cv_cc_fma4.
47655 * math/Makefile (dbl-only-routines): Add sincostab.
47656 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47657 Use __sincostab not sincos.
47658 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47665 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47666 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47667 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47668 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47670 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47671 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47673 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47674 define aliases when function name is a macro.
47675 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47676 sysdeps/ieee754/dbl-64/sincos.tbl.
47677 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47678 fma4-enabled routines.
47679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47680 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47683 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47684 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47685 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47686 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47687 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47688 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47689 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47690 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47691 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47702 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47703 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47704 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47706 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47707 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47708 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47710 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47721 2011-10-24 Andreas Schwab <schwab@redhat.com>
47723 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47725 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47729 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47731 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47733 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47734 Remove unused variable magic_bits.
47735 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47737 * string/strnlen.c: Define and use STRNLEN macro.
47738 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47739 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47741 * wcsmbs/wcslen.c: Define and use WCSLEN.
47742 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47743 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47744 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47745 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47746 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47747 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47748 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47750 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47753 strnlen-sse2-no-bsf.
47754 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47756 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47757 Add strnlen support.
47758 (USE_AS_STRNLEN): New macro.
47759 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47760 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47761 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47762 * sysdeps/x86_64/wcslen.S: New file.
47764 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47767 XMM-moves are used for copying on small sizes.
47769 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47771 * wcsmbs/Makefile (strop-tests): Add wcschr.
47772 * wcsmbs/test-wcschr.c: New file.
47773 * string/test-strchr.c: Update.
47774 Add wcschr support.
47777 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47779 * wcsmbs/Makefile (strop-tests): Add wcslen.
47780 * wcsmbs/test-wcslen.c: New file.
47781 * string/test-strlen.c: Update.
47782 Add wcslen support.
47785 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47787 * po/it.po: Update from translation team.
47789 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47791 * sysdeps/x86_64/wcscmp.S: Update.
47792 Fix wrong comparison semantics.
47793 wcscmp shall use signed comparison not unsigned.
47794 Don't use substraction to avoid overflow bug.
47795 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47796 * wcsmbc/wcscmp.c: Likewise.
47797 * string/test-strcmp.c: Likewise.
47798 Add new tests to check cases with negative values.
47800 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47802 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47803 * sysdeps/x86_64/dla.h: ...here. New file.
47804 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47809 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47814 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47817 __ynl_finite aliases.
47819 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47823 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47825 [DLA_FMA] (EMULV): Use DLA_FMA.
47826 [DLA_FMA] (MUL12): Use EMULV.
47827 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47828 that are not needed.
47829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47833 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47835 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47837 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47839 * math/s_nan.c: Undef __nan.
47840 * math/s_nanf.c: Undef __nanf.
47841 * math/s_nanl.c: Undef __nanl.
47842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47845 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47847 * math/s_catan.c: Add branch predictions.
47848 * math/s_catanf.c: Likewise.
47849 * math/s_catanh.c: Likewise.
47850 * math/s_catanhf.c: Likewise.
47851 * math/s_catanhl.c: Likewise.
47852 * math/s_catanl.c: Likewise.
47853 * math/s_cexp.c: Likewise.
47854 * math/s_cexpf.c: Likewise.
47855 * math/s_cexpl.c: Likewise.
47856 * math/s_clog.c: Likewise.
47857 * math/s_clog10.c: Likewise.
47858 * math/s_clog10f.c: Likewise.
47859 * math/s_clog10l.c: Likewise.
47860 * math/s_clogf.c: Likewise.
47861 * math/s_clogl.c: Likewise.
47862 * math/s_csqrt.c: Likewise.
47863 * math/s_csqrtf.c: Likewise.
47864 * math/s_csqrtl.c: Likewise.
47865 * math/s_ctanf.c: Likewise.
47866 * math/s_ctanh.c: Likewise.
47867 * math/s_ctanhf.c: Likewise.
47868 * math/s_ctanhl.c: Likewise.
47869 * math/s_ctanl.c: Likewise.
47871 * math/math_private.h: Define __nan, __nanf, __nanl.
47872 * math/s_cacosh.c: Include <math_private.h>.
47873 * math/s_cacoshl.c: Likewise.
47874 * math/s_casinh.c: Likewise.
47875 * math/s_casinhf.c: Likewise.
47876 * math/s_casinhl.c: Likewise.
47877 * math/s_ccos.c: Rely entire on ccosh.
47878 * math/s_ccosf.c: Rely entire on ccoshf.
47879 * math/s_ccosl.c: Rely entirely on ccoshl.
47880 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47881 Remove tests for FE_INVALID.
47882 * math/s_ccoshf.c: Likewise.
47883 * math/s_ccoshl.c: Likewise.
47884 * math/s_csin.c: Likewise.
47885 * math/s_csinf.c: Likewise.
47886 * math/s_csinh.c Likewise.
47887 * math/s_csinhf.c: Likewise.
47888 * math/s_csinhl.c: Likewise.
47889 * math/s_csinl.c: Likewise.
47890 * math/s_ctan.c: Likewise.
47891 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47892 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47893 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47895 2011-10-21 Ulrich Drepper <drepper@gmail.com>
47897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47898 compilation problems.
47900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47903 2011-10-20 Ulrich Drepper <drepper@gmail.com>
47905 * sysdeps/i386/configure.in: Test for -mfma4 option.
47906 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47907 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47908 COMMON_CPUID_INDEX_80000001.
47909 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47910 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47911 use it if FMA3 is not supported.
47912 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47914 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47915 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47917 2011-10-20 Andreas Schwab <schwab@redhat.com>
47920 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47921 it would create a cycle with a link time dependency.
47923 2011-10-19 Ulrich Drepper <drepper@gmail.com>
47925 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47927 * string/Makefile (strop-tests): Add rawmemchr.
47928 * string/test-rawmemchr.c: New file.
47930 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47932 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47933 when compiling str{,n}casecmp and when AVX is available. Hook up
47934 new optimized code in initializers.
47936 2011-10-19 Andreas Schwab <schwab@redhat.com>
47938 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47939 __feraiseexcept instead of feraiseexcept.
47941 2011-10-18 Ulrich Drepper <drepper@gmail.com>
47943 * math/math_private.h: Define defaults for libc_fetestexcept and
47945 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47946 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47947 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47948 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47949 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47950 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47951 libc_fetestexcept and libc_feupdateenv.
47953 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47954 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47955 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47956 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47957 libc_feholdexcept_setround.
47959 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47960 Add s_nearbyint-c and s_nearbyintf-c.
47961 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47962 nearbyintf inlines.
47963 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47964 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47965 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47966 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47968 * math/math_private.h: Define defaults for libc_fegetround,
47969 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47970 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47971 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47972 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47973 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47974 standard functions.
47975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47976 Remove comments and hacks for old compiler versions.
47977 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47978 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47979 libc_feholdexceptl.
47981 2011-10-18 Andreas Schwab <schwab@redhat.com>
47983 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47984 (__feraiseexcept_renamed): Add __NTH.
47985 (feraiseexcept): Add __NTH. Rename local variables to fix
47986 namespace violations.
47988 2011-10-17 Ulrich Drepper <drepper@gmail.com>
47990 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47992 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47994 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47995 recently added interfaces.
47996 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47998 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47999 about macro parameter expansion.
48001 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48002 __NO_MATH_INLINES is defined. Cleanups.
48004 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48005 and __floorf is target has SSE4.1.
48006 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48007 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48008 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48009 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48011 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48013 (floorf): Likewise.
48015 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48017 2011-10-17 Andreas Schwab <schwab@redhat.com>
48019 * misc/sys/cdefs.h: Fix last change.
48021 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48024 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48026 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48028 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48033 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48034 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48035 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48036 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48037 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48038 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48039 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48040 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48041 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48042 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48043 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48044 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48045 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48046 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48047 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48048 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48049 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48051 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48052 ceil, ceilf, floor, floorf.
48054 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48055 Perform IRELATIVE relocations last.
48057 * elf/do-rel.h: Add another parameter nrelative, replacing the
48058 local variable with the same name. Change name of the function
48059 to end in Rel or Rela (uppercase).
48060 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48061 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48062 elf_dynamic_do_##reloc function.
48064 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48066 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48067 is sufficient, at least on modern CPUs.
48069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48071 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48074 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48076 * math/bits/math-finite.h: Add entries for exp.
48077 * math/e_expl.c: Add __*_finite alias.
48078 * sysdeps/i386/fpu/e_exp.S: Likewise.
48079 * sysdeps/i386/fpu/e_expf.S: Likewise.
48080 * sysdeps/i386/fpu/e_expl.c: Likewise.
48081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48082 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48085 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48086 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48087 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48089 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48090 is sufficient, at least on modern CPUs.
48092 * ctype/ctype-info.c (__ctype_init): Define.
48093 * include/ctype.h (__ctype_init): Declare.
48094 (__ctype_b_loc): The variable is always initialized.
48095 (__ctype_toupper_loc): Likewise.
48096 (__ctype_tolower_loc): Likewise.
48097 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48098 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48100 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48102 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48104 * configure.in: Also look in $cxxmachine/include for C++ system
48107 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48109 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48110 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48111 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48112 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48114 (USE_AS_WMEMCMP): New macro.
48116 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48117 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48118 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48119 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48121 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48122 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48123 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48124 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48125 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48126 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48127 (USE_AS_WMEMCMP): New macro.
48128 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48129 * sysdeps/string/test-memcmp.c: Update.
48130 Fix simple_wmemcmp.
48132 * wcsmbs/wmemcmp.c: Update.
48133 (WMEMCMP): New macro.
48136 2011-10-12 Andreas Jaeger <aj@suse.de>
48139 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48141 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48143 * libio/iofwide.c (do_length): Avoid warning.
48145 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48147 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48149 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48151 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48152 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48153 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48154 * sysdeps/i386/i686/fpu/e_log.S: New file.
48155 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48156 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48158 * ctype/ctype.h: Add support for inlined isXXX functions when
48159 compiling C++ code.
48161 2011-10-14 Andreas Schwab <schwab@redhat.com>
48163 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48165 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48167 2011-10-13 Roland McGrath <roland@hack.frob.com>
48170 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48172 2011-10-13 Andreas Schwab <schwab@redhat.com>
48174 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48175 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48178 * sysdeps/x86_64/memrchr.S: Check for zero size.
48180 * string/stratcliff.c: Add memrchr tests.
48182 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48185 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48186 rawmemchr-sse2 rawmemchr-sse2-bsf.
48187 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48188 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48189 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48190 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48191 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48192 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48193 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48194 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48195 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48196 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48197 * string/memrchr.c (MEMRCHR): New macro.
48199 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48201 Add integration with gcc's -ffinite-math-only and optimize wrapper
48203 * Versions.def: Define GLIBC_2.15 version for libm.
48204 * math/Makefile (headers): Add bits/math-finite.h.
48205 * math/bits/math-finite.h: New file.
48206 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48207 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48208 * math/e_acoshl.c: Add __*_finite alias.
48209 * math/e_acosl.c: Likewise.
48210 * math/e_asinl.c: Likewise.
48211 * math/e_atan2l.c: Likewise.
48212 * math/e_atanhl.c: Likewise.
48213 * math/e_coshl.c: Likewise.
48214 * math/e_exp10.c: Likewise.
48215 * math/e_exp10f.c: Likewise.
48216 * math/e_exp10l.c: Likewise.
48217 * math/e_exp2l.c: Likewise.
48218 * math/e_fmodl.c: Likewise.
48219 * math/e_gammal_r.c: Likewise.
48220 * math/e_hypotl.c: Likewise.
48221 * math/e_j0l.c: Likewise.
48222 * math/e_j1l.c: Likewise.
48223 * math/e_jnl.c: Likewise.
48224 * math/e_lgammal_r.c: Likewise.
48225 * math/e_log10l.c: Likewise.
48226 * math/e_log2l.c: Likewise.
48227 * math/e_logl.c: Likewise.
48228 * math/e_powl.c: Likewise.
48229 * math/e_sinhl.c: Likewise.
48230 * math/e_sqrtl.c: Likewise.
48231 * math/e_scalb.c: Completely rewritten and optimized.
48232 * math/e_scalbf.c: Likewise.
48233 * math/e_scalbl.c: Likewise.
48234 * math/w_acos.c: Likewise.
48235 * math/w_acosf.c: Likewise.
48236 * math/w_acosl.c: Likewise.
48237 * math/w_acosh.c: Likewise.
48238 * math/w_acoshf.c: Likewise.
48239 * math/w_acoshl.c: Likewise.
48240 * math/w_asin.c: Likewise.
48241 * math/w_asinf.c: Likewise.
48242 * math/w_asinl.c: Likewise.
48243 * math/w_atan2.c: Likewise.
48244 * math/w_atan2f.c: Likewise.
48245 * math/w_atan2l.c: Likewise.
48246 * math/w_atanh.c: Likewise.
48247 * math/w_atanhf.c: Likewise.
48248 * math/w_atanhl.c: Likewise.
48249 * math/w_exp10.c: Likewise.
48250 * math/w_exp10f.c: Likewise.
48251 * math/w_exp10l.c: Likewise.
48252 * math/w_fmod.c: Likewise.
48253 * math/w_fmodf.c: Likewise.
48254 * math/w_fmodl.c: Likewise.
48255 * math/w_j0.c: Likewise.
48256 * math/w_j0f.c: Likewise.
48257 * math/w_j0l.c: Likewise.
48258 * math/w_j1.c: Likewise.
48259 * math/w_j1f.c: Likewise.
48260 * math/w_j1l.c: Likewise.
48261 * math/w_jn.c: Likewise.
48262 * math/w_jnf.c: Likewise.
48263 * math/w_log.c: Likewise.
48264 * math/w_logf.c: Likewise.
48265 * math/w_logl.c: Likewise.
48266 * math/w_log10.c: Likewise.
48267 * math/w_log10f.c: Likewise.
48268 * math/w_log10l.c: Likewise.
48269 * math/w_log2.c: Likewise.
48270 * math/w_log2f.c: Likewise.
48271 * math/w_log2l.c: Likewise.
48272 * math/w_pow.c: Likewise.
48273 * math/w_powf.c: Likewise.
48274 * math/w_powl.c: Likewise.
48275 * math/w_remainder.c: Likewise.
48276 * math/w_remainderf.c: Likewise.
48277 * math/w_remainderl.c: Likewise.
48278 * math/w_scalb.c: Likewise.
48279 * math/w_scalbf.c: Likewise.
48280 * math/w_scalbl.c: Likewise.
48281 * math/w_sqrt.c: Likewise.
48282 * math/w_sqrtf.c: Likewise.
48283 * math/w_sqrtl.c: Likewise.
48284 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48285 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48287 * math/math_private.h: Declare __kernel_standard_f.
48288 * math/w_cosh.c: Remove cruft and optimize a bit.
48289 * math/w_coshf.c: Likewise.
48290 * math/w_coshl.c: Likewise.
48291 * math/w_exp2.c: Likewise.
48292 * math/w_exp2f.c: Likewise.
48293 * math/w_exp2l.c: Likewise.
48294 * math/w_hypot.c: Likewise.
48295 * math/w_hypotf.c: Likewise.
48296 * math/w_hypotl.c: Likewise.
48297 * math/w_lgamma.c: Likewise.
48298 * math/w_lgamma_r.c: Likewise.
48299 * math/w_lgammaf.c: Likewise.
48300 * math/w_lgammaf_r.c: Likewise.
48301 * math/w_lgammal.c: Likewise.
48302 * math/w_lgammal_r.c: Likewise.
48303 * math/w_sinh.c: Likewise.
48304 * math/w_sinhf.c: Likewise.
48305 * math/w_sinhl.c: Likewise.
48306 * math/w_tgamma.c: Likewise.
48307 * math/w_tgammaf.c: Likewise.
48308 * math/w_tgammal.c: Likewise.
48309 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48311 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48312 Minor optimizations. Pretty printing. Remove cruft.
48313 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48314 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48317 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48318 * sysdeps/i386/fpu/e_asin.S: Likewise.
48319 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48320 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48321 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48322 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48323 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48324 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48325 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48326 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48327 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48328 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48329 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48330 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48331 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48332 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48333 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48334 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48335 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48336 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48337 * sysdeps/i386/fpu/e_log.S: Likewise.
48338 * sysdeps/i386/fpu/e_log10.S: Likewise.
48339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48340 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48341 * sysdeps/i386/fpu/e_log2.S: Likewise.
48342 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48343 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48344 * sysdeps/i386/fpu/e_logf.S: Likewise.
48345 * sysdeps/i386/fpu/e_logl.S: Likewise.
48346 * sysdeps/i386/fpu/e_pow.S: Likewise.
48347 * sysdeps/i386/fpu/e_powf.S: Likewise.
48348 * sysdeps/i386/fpu/e_powl.S: Likewise.
48349 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48350 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48351 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48352 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48353 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48354 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48355 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48356 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48357 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48358 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48359 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48361 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48362 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48363 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48364 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48365 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48369 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48371 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48372 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48374 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48375 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48378 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48379 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48380 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48381 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48382 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48383 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48384 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48385 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48386 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48387 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48389 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48391 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48392 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48393 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48394 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48395 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48396 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48397 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48398 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48399 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48400 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48401 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48402 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48403 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48404 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48405 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48406 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48407 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48408 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48409 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48410 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48411 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48412 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48413 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48414 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48415 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48416 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48417 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48418 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48419 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48422 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48423 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48424 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48425 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48426 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48427 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48428 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48429 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48430 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48432 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48434 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48436 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48437 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48438 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48439 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48440 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48441 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48442 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48443 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48444 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48445 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48446 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48447 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48448 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48449 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48451 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48452 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48453 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48454 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48455 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48456 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48457 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48458 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48459 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48460 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48461 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48462 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48463 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48466 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48468 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48469 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48470 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48471 (__isnanf): Likewise.
48472 (__isinf_ns): Likewise.
48473 (__isinf_nsf): Likewise.
48474 (__finite): Likewise.
48475 (__finitef): Likewise.
48476 (__ieee754_sqrt): Define as macro.
48477 (__ieee754_sqrtf): Define as macro.
48478 (__ieee754_sqrtl): Define as macro.
48479 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48481 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48482 __FINITE_MATH_ONLY__ consistent.
48483 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48485 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48487 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48490 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48492 2011-10-09 Ulrich Drepper <drepper@gmail.com>
48494 * po/ja.po: Update from translation team.
48496 2011-10-08 Roland McGrath <roland@hack.frob.com>
48498 * locale/programs/locarchive.c (prepare_address_space): New function.
48499 (create_archive, enlarge_archive, open_archive): Use it.
48501 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48502 inside [SHARED], where it is used.
48504 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48506 * nss/getent.c (netgroup_keys): Remove unused variable.
48507 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48509 2011-10-08 Ulrich Drepper <drepper@gmail.com>
48511 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48512 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48514 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48515 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48516 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48517 * math/Makefile (libm-calls): Add s_isinf_ns.
48518 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48519 * math/multc3.c: Likewise.
48520 * math/s_casin.c: Likewise.
48521 * math/s_casinf.c: Likewise.
48522 * math/s_casinl.c: Likewise.
48523 * math/s_ccos.c: Likewise.
48524 * math/s_ccosf.c: Likewise.
48525 * math/s_ccosl.c: Likewise.
48526 * math/s_ctan.c: Likewise.
48527 * math/s_ctanf.c: Likewise.
48528 * math/s_ctanh.c: Likewise.
48529 * math/s_ctanhf.c: Likewise.
48530 * math/s_ctanhl.c: Likewise.
48531 * math/s_ctanl.c: Likewise.
48532 * math/w_fmod.c: Likewise.
48533 * math/w_fmodf.c: Likewise.
48534 * math/w_fmodl.c: Likewise.
48535 * math/w_remainder.c: Likewise.
48536 * math/w_remainderf.c: Likewise.
48537 * math/w_remainderl.c: Likewise.
48538 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48539 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48542 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48543 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48544 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48545 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48547 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48549 * stdio-common/printf_fphex.c: Likewise.
48550 * stdio-common/printf_size.c: Likewise.
48552 * math/e_exp10.c: Include math_private.h using <...> not "...".
48553 * math/e_exp10f.c: Likewise.
48554 * math/e_exp10l.c: Likewise.
48555 * math/e_exp2l.c: Likewise.
48556 * math/e_j0l.c: Likewise.
48557 * math/e_j1l.c: Likewise.
48558 * math/e_jnl.c: Likewise.
48559 * math/e_lgammal_r.c: Likewise.
48560 * math/e_rem_pio2l.c: Likewise.
48561 * math/e_scalb.c: Likewise.
48562 * math/e_scalbf.c: Likewise.
48563 * math/e_scalbl.c: Likewise.
48564 * math/k_cosl.c: Likewise.
48565 * math/k_sinl.c: Likewise.
48566 * math/k_tanl.c: Likewise.
48567 * math/s_cacoshf.c: Likewise.
48568 * math/s_catan.c: Likewise.
48569 * math/s_catanf.c: Likewise.
48570 * math/s_catanh.c: Likewise.
48571 * math/s_catanhf.c: Likewise.
48572 * math/s_catanhl.c: Likewise.
48573 * math/s_catanl.c: Likewise.
48574 * math/s_ccosh.c: Likewise.
48575 * math/s_ccoshf.c: Likewise.
48576 * math/s_ccoshl.c: Likewise.
48577 * math/s_cexp.c: Likewise.
48578 * math/s_cexpf.c: Likewise.
48579 * math/s_cexpl.c: Likewise.
48580 * math/s_clog.c: Likewise.
48581 * math/s_clog10.c: Likewise.
48582 * math/s_clog10f.c: Likewise.
48583 * math/s_clog10l.c: Likewise.
48584 * math/s_clogf.c: Likewise.
48585 * math/s_clogl.c: Likewise.
48586 * math/s_csin.c: Likewise.
48587 * math/s_csinf.c: Likewise.
48588 * math/s_csinh.c: Likewise.
48589 * math/s_csinhf.c: Likewise.
48590 * math/s_csinhl.c: Likewise.
48591 * math/s_csinl.c: Likewise.
48592 * math/s_csqrt.c: Likewise.
48593 * math/s_csqrtf.c: Likewise.
48594 * math/s_csqrtl.c: Likewise.
48595 * math/s_ctan.c: Likewise.
48596 * math/s_ctanf.c: Likewise.
48597 * math/s_ctanh.c: Likewise.
48598 * math/s_ctanhf.c: Likewise.
48599 * math/s_ctanhl.c: Likewise.
48600 * math/s_ctanl.c: Likewise.
48601 * math/s_ldexp.c: Likewise.
48602 * math/s_ldexpf.c: Likewise.
48603 * math/s_ldexpl.c: Likewise.
48604 * math/s_significand.c: Likewise.
48605 * math/s_significandf.c: Likewise.
48606 * math/s_significandl.c: Likewise.
48607 * math/w_acos.c: Likewise.
48608 * math/w_acosf.c: Likewise.
48609 * math/w_acosh.c: Likewise.
48610 * math/w_acoshf.c: Likewise.
48611 * math/w_acoshl.c: Likewise.
48612 * math/w_acosl.c: Likewise.
48613 * math/w_asin.c: Likewise.
48614 * math/w_asinf.c: Likewise.
48615 * math/w_asinl.c: Likewise.
48616 * math/w_atan2.c: Likewise.
48617 * math/w_atan2f.c: Likewise.
48618 * math/w_atan2l.c: Likewise.
48619 * math/w_atanh.c: Likewise.
48620 * math/w_atanhf.c: Likewise.
48621 * math/w_atanhl.c: Likewise.
48622 * math/w_cosh.c: Likewise.
48623 * math/w_coshf.c: Likewise.
48624 * math/w_coshl.c: Likewise.
48625 * math/w_dremf.c: Likewise.
48626 * math/w_exp10.c: Likewise.
48627 * math/w_exp10f.c: Likewise.
48628 * math/w_exp10l.c: Likewise.
48629 * math/w_exp2.c: Likewise.
48630 * math/w_exp2f.c: Likewise.
48631 * math/w_fmod.c: Likewise.
48632 * math/w_fmodf.c: Likewise.
48633 * math/w_fmodl.c: Likewise.
48634 * math/w_hypot.c: Likewise.
48635 * math/w_hypotf.c: Likewise.
48636 * math/w_hypotl.c: Likewise.
48637 * math/w_j0.c: Likewise.
48638 * math/w_j0f.c: Likewise.
48639 * math/w_j0l.c: Likewise.
48640 * math/w_j1.c: Likewise.
48641 * math/w_j1f.c: Likewise.
48642 * math/w_j1l.c: Likewise.
48643 * math/w_jn.c: Likewise.
48644 * math/w_jnf.c: Likewise.
48645 * math/w_jnl.c: Likewise.
48646 * math/w_lgamma.c: Likewise.
48647 * math/w_lgamma_r.c: Likewise.
48648 * math/w_lgammaf.c: Likewise.
48649 * math/w_lgammaf_r.c: Likewise.
48650 * math/w_lgammal.c: Likewise.
48651 * math/w_lgammal_r.c: Likewise.
48652 * math/w_log.c: Likewise.
48653 * math/w_log10.c: Likewise.
48654 * math/w_log10f.c: Likewise.
48655 * math/w_log10l.c: Likewise.
48656 * math/w_log2.c: Likewise.
48657 * math/w_log2f.c: Likewise.
48658 * math/w_log2l.c: Likewise.
48659 * math/w_logf.c: Likewise.
48660 * math/w_logl.c: Likewise.
48661 * math/w_pow.c: Likewise.
48662 * math/w_powf.c: Likewise.
48663 * math/w_powl.c: Likewise.
48664 * math/w_remainder.c: Likewise.
48665 * math/w_remainderf.c: Likewise.
48666 * math/w_remainderl.c: Likewise.
48667 * math/w_scalb.c: Likewise.
48668 * math/w_scalbf.c: Likewise.
48669 * math/w_scalbl.c: Likewise.
48670 * math/w_sinh.c: Likewise.
48671 * math/w_sinhf.c: Likewise.
48672 * math/w_sinhl.c: Likewise.
48673 * math/w_sqrt.c: Likewise.
48674 * math/w_sqrtf.c: Likewise.
48675 * math/w_sqrtl.c: Likewise.
48676 * math/w_tgamma.c: Likewise.
48677 * math/w_tgammaf.c: Likewise.
48678 * math/w_tgammal.c: Likewise.
48680 * po/ja.po: Update from translation team.
48682 2011-09-29 Andreas Jaeger <aj@suse.de>
48685 * sunrpc/netname.c (netname2host): Fix logic.
48689 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48691 * math/w_remainder.c (__remainder): Likewise.
48692 * math/w_remainderf.c (__remainderf): Likewise.
48693 * math/libm-test.inc (remainder_test): Add test cases.
48695 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48697 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48700 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48702 * string/test-memcmp.c: Avoid unncessary #defines.
48703 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48705 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48707 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48708 Use new sse2 version for core i3 - i7 as it's faster
48709 than sse42 version.
48710 (bit_Prefer_PMINUB_for_stringop): New.
48711 * sysdeps/x86_64/rawmemchr.S: Update.
48712 Replace with faster SSE2 version.
48713 * sysdeps/x86_64/memrchr.S: New file.
48714 * sysdeps/x86_64/memchr.S: Update.
48715 Replace with faster SSE2 version.
48717 2011-09-12 Marek Polacek <mpolacek@redhat.com>
48719 * elf/dl-load.c (lose): Add cast to avoid warning.
48721 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48723 * po/ca.po: Update from translation team.
48725 * inet/getnetgrent_r.c: Hook up nscd.
48726 * nscd/Makefile (routines): Add nscd_netgroup.
48727 (nscd-modules): Add netgroupcache.
48728 (CFLAGS-netgroupcache.c): Define.
48729 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48730 (cache_search): Add const to second parameter.
48731 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48733 (dbs): Add netgrdb entry.
48734 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48735 (verify_persistent_db): Handle netgrdb.
48736 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48737 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48739 (netgroup_response_header): Define.
48740 (innetgroup_response_header): Define.
48741 (datahead): Add netgroup_response_header and innetgroup_response_header
48743 * nscd/nscd.conf: Add entries for netgroup cache.
48744 * nscd/nscd.h (dbtype): Add netgrdb.
48745 (_PATH_NSCD_NETGROUP_DB): Define.
48746 (netgroup_iov_disabled): Declare.
48747 (xmalloc, xcalloc, xrealloc): Move declarations here.
48748 (cache_search): Adjust prototype.
48749 Add netgroup-related prototypes.
48750 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48751 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48752 (__nscd_innetgr): Declare.
48753 * nscd/selinux.c (perms): Use access_vector_t as element type and
48754 add netgroup-related initializers.
48755 * nscd/netgroupcache.c: New file.
48756 * nscd/nscd_netgroup.c: New file.
48757 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48758 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48759 For four parameters use innetgr.
48760 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48761 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48762 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48763 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48765 * nscd/connections.c (register_traced_file): Don't register file
48766 for disabled databases.
48768 2011-10-06 Ulrich Drepper <drepper@gmail.com>
48770 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48772 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48773 from tree and freeing node.
48775 2011-09-25 Jiri Olsa <jolsa@redhat.com>
48777 * nss/nsswitch.c (__nss_database_lookup): Handle
48778 nss_parse_service_list out of memory case.
48780 2011-09-15 Jiri Olsa <jolsa@redhat.com>
48782 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48783 out of memory case.
48785 2011-10-04 Andreas Schwab <schwab@redhat.com>
48787 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48788 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48790 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48791 elf_machine_rela, elf_machine_lazy_rel.
48792 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48793 (ELF_DYNAMIC_DO_REL): Likewise.
48794 (ELF_DYNAMIC_DO_RELA): Likewise.
48795 (ELF_DYNAMIC_RELOCATE): Likewise.
48796 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48797 to ELF_DYNAMIC_DO_REL.
48798 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48799 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48800 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48802 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48803 skip_ifunc, don't call ifunc function if non-zero.
48804 (elf_machine_rela): Likewise.
48805 (elf_machine_lazy_rel): Likewise.
48806 (elf_machine_lazy_rela): Likewise.
48807 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48808 (elf_machine_lazy_rel): Likewise.
48809 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48811 (elf_machine_lazy_rel): Likewise.
48812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48814 (elf_machine_lazy_rel): Likewise.
48815 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48816 (elf_machine_lazy_rel): Likewise.
48817 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48818 (elf_machine_lazy_rel): Likewise.
48819 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48820 (elf_machine_lazy_rel): Likewise.
48821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48822 (elf_machine_lazy_rel): Likewise.
48823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48824 (elf_machine_lazy_rel): Likewise.
48825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48826 (elf_machine_lazy_rel): Likewise.
48828 2011-09-28 Ulrich Drepper <drepper@gmail.com>
48830 * nss/nss_files/files-init.c (_nss_files_init): Use static
48831 initialization for all the *_traced_file variables.
48833 2011-09-28 Andreas Schwab <schwab@redhat.com>
48835 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48837 2011-09-27 Roland McGrath <roland@hack.frob.com>
48840 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48842 2011-09-27 Andreas Schwab <schwab@redhat.com>
48844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48845 Reread the line before reparsing it.
48847 2011-09-26 Andreas Schwab <schwab@redhat.com>
48849 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48851 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48852 Maxim Kuvyrkov <maxim@codesourcery.com>
48853 Joseph Myers <joseph@codesourcery.com>
48855 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48856 if needed for __stack_chk_guard.
48858 2011-09-19 Roland McGrath <roland@hack.frob.com>
48860 * sysdeps/posix/spawni.c (script_execute): Always define it.
48861 It will be optimized away if unused.
48862 (maybe_script_execute): New function.
48863 (__spawni): Call it.
48865 * Makerules: Don't include tls.make.
48866 (config-tls): Always set to thread.
48867 * tls.make.c: File removed.
48869 2011-09-19 Mike Frysinger <vapier@gentoo.org>
48871 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48872 * config.make.in (CPPFLAGS-config): New substituted variable.
48874 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48876 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48879 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48880 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48882 2011-09-15 Roland McGrath <roland@hack.frob.com>
48884 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48885 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48887 (CALL_FAIL): Likewise.
48888 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48889 (CALL_FAIL): Macro removed.
48890 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48892 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48894 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48895 for __FINITE_MATH_ONLY__ == 1.
48897 2011-09-15 Andreas Schwab <schwab@redhat.com>
48899 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48900 __ieee754_sqrt instead of sqrt.
48901 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48902 __ieee754_sqrtf instead of sqrtf.
48903 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48904 __floorf instead of floorf.
48905 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48906 __floorf, __truncf instead of floorf, truncf.
48908 2011-09-14 Ulrich Drepper <drepper@gmail.com>
48910 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48912 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48913 __extern_always_inline.
48914 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48917 2011-09-14 Andreas Schwab <schwab@redhat.com>
48919 * elf/rtld.c (dl_main): Also relocate in dependency order when
48920 doing symbol dependency testing.
48922 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48925 Always define `refsym'.
48927 2011-09-13 Andreas Schwab <schwab@redhat.com>
48929 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48930 (__FD_ELT): Renamed from __FDELT.
48931 * misc/bits/select2.h (__FD_ELT): Likewise.
48932 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48933 __FD_MASK instead of __FDELT, __FDMASK.
48934 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48936 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48939 * elf/Makefile (gen-ldd): Fix pattern.
48941 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48942 (init_tls): Likewise.
48944 2011-09-12 Ulrich Drepper <drepper@gmail.com>
48946 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48948 2011-09-12 Andreas Schwab <schwab@redhat.com>
48950 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48951 `struct cmsghdr *' instead of `void *'.
48952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48955 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48957 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48959 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48960 ldd_rewrite_script.
48962 2011-09-11 Ulrich Drepper <drepper@gmail.com>
48964 * configure.in: Remove --with-tls option.
48965 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48966 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48967 out in case it is missing.
48968 * sysdeps/ia64/elf/configure.in: Likewise.
48969 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48970 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48971 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48972 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48973 * sysdeps/sh/elf/configure.in: Likewise.
48974 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48975 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48976 * sysdeps/x86_64/elf/configure.in: Likewise.
48977 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48978 * sysdeps/mach/hurd/tls.h: Likewise.
48981 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48984 * configure.in: Fix use of AC_INIT.
48986 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48988 2011-09-10 Ulrich Drepper <drepper@gmail.com>
48990 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48992 * malloc/hooks.c: Likewise.
48995 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48996 variables statically.
48997 (narenas): Initialize.
48998 (list_lock): Initialize.
48999 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49000 initializtion of main_arena and list_lock. Small cleanups.
49001 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49002 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49003 Add initializers to main_arena and mp_.
49004 (malloc_state): Remove pagesize member. Change all users to use
49007 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49008 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49009 is always initialized.
49011 * malloc/malloc.c: Removed unused configurations and dead code.
49012 * malloc/arena.c: Likewise.
49013 * malloc/hooks.c: Likewise.
49014 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49016 * include/tls.h: Removed. USE___THREAD must always be defined.
49017 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49018 * elf/dl-libc.c: Likewise.
49019 * elf/dl-tsd.c: Likewise.
49020 * include/errno.h: Likewise.
49021 * include/netdb.h: Likewise.
49022 * include/resolv.h: Likewise.
49023 * inet/herrno-loc.c: Likewise.
49024 * inet/herrno.c: Likewise.
49025 * malloc/arena.c: Likewise.
49026 * malloc/hooks.c: Likewise.
49027 * malloc/malloc.c: Likewise.
49028 * resolv/res-state.c: Likewise.
49029 * resolv/res_libc.c: Likewise.
49030 * sysdeps/i386/dl-machine.h: Likewise.
49031 * sysdeps/ia64/dl-machine.h: Likewise.
49032 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49033 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49034 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49035 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49036 * sysdeps/sh/dl-machine.h: Likewise.
49037 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49038 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49039 * sysdeps/unix/i386/sysdep.S: Likewise.
49040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49041 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49042 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49043 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49046 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49050 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49051 * sysdeps/x86_64/dl-machine.h: Likewise.
49052 * tls.make.c: Likewise.
49054 * configure.in: Remove --with-__thread option. Make tests for
49055 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49056 tls_model attribute fail if no support is available. Remove
49058 * Makeconfig: Adjust for dropped configure option. All features are
49060 * Makerules: Likewise.
49061 * Versions.def: Likewise.
49062 * argp/argp-fmtstream.c: Likewise.
49063 * argp/argp-fmtstream.h: Likewise.
49064 * argp/argp-help.c: Likewise.
49065 * assert/assert.c: Likewise.
49066 * config.h.in: Likewise.
49067 * config.make.in: Likewise.
49068 * configure: Likewise.
49069 * configure.in: Likewise.
49070 * csu/Versions: Likewise.
49071 * csu/init.c: Likewise.
49072 * elf/tst-audit2.c: Likewise.
49073 * elf/tst-tls10.c: Likewise.
49074 * elf/tst-tls10.h: Likewise.
49075 * elf/tst-tls11.c: Likewise.
49076 * elf/tst-tls12.c: Likewise.
49077 * elf/tst-tls14.c: Likewise.
49078 * elf/tst-tlsmod11.c: Likewise.
49079 * elf/tst-tlsmod12.c: Likewise.
49080 * elf/tst-tlsmod13.c: Likewise.
49081 * elf/tst-tlsmod13a.c: Likewise.
49082 * elf/tst-tlsmod14a.c: Likewise.
49083 * elf/tst-tlsmod15b.c: Likewise.
49084 * elf/tst-tlsmod16a.c: Likewise.
49085 * elf/tst-tlsmod16b.c: Likewise.
49086 * elf/tst-tlsmod7.c: Likewise.
49087 * elf/tst-tlsmod8.c: Likewise.
49088 * elf/tst-tlsmod9.c: Likewise.
49089 * gmon/gmon.c: Likewise.
49090 * grp/fgetgrent_r.c: Likewise.
49091 * grp/putgrent.c: Likewise.
49092 * hurd/fopenport.c: Likewise.
49093 * include/libc-symbols.h: Likewise.
49094 * include/tls.h: Likewise.
49095 * intl/gettextP.h: Likewise.
49096 * intl/loadinfo.h: Likewise.
49097 * locale/global-locale.c: Likewise.
49098 * locale/localeinfo.h: Likewise.
49099 * mach/devstream.c: Likewise.
49100 * malloc/arena.c: Likewise.
49101 * malloc/set-freeres.c: Likewise.
49102 * misc/err.c: Likewise.
49103 * misc/getttyent.c: Likewise.
49104 * misc/mntent_r.c: Likewise.
49105 * posix/getopt.c: Likewise.
49106 * posix/wordexp.c: Likewise.
49107 * pwd/fgetpwent_r.c: Likewise.
49108 * resolv/Versions: Likewise.
49109 * resolv/res_hconf.c: Likewise.
49110 * shadow/fgetspent_r.c: Likewise.
49111 * shadow/putspent.c: Likewise.
49112 * stdio-common/printf_fphex.c: Likewise.
49113 * stdio-common/tmpfile.c: Likewise.
49114 * stdlib/abort.c: Likewise.
49115 * stdlib/fmtmsg.c: Likewise.
49116 * sunrpc/auth_unix.c: Likewise.
49117 * sunrpc/clnt_perr.c: Likewise.
49118 * sunrpc/clnt_tcp.c: Likewise.
49119 * sunrpc/clnt_udp.c: Likewise.
49120 * sunrpc/clnt_unix.c: Likewise.
49121 * sunrpc/openchild.c: Likewise.
49122 * sunrpc/svc_simple.c: Likewise.
49123 * sunrpc/svc_tcp.c: Likewise.
49124 * sunrpc/svc_udp.c: Likewise.
49125 * sunrpc/svc_unix.c: Likewise.
49126 * sunrpc/xdr.c: Likewise.
49127 * sunrpc/xdr_array.c: Likewise.
49128 * sunrpc/xdr_rec.c: Likewise.
49129 * sunrpc/xdr_ref.c: Likewise.
49130 * sunrpc/xdr_stdio.c: Likewise.
49132 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49134 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49136 2011-07-03 Andreas Jaeger <aj@suse.de>
49138 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49139 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49140 regenerate with gen-libm-tests.pl.
49142 2010-05-12 Petr Baudis <pasky@suse.cz>
49145 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49146 around j0() zero points by switching to j1().
49147 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49148 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49150 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49152 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49154 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49156 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49159 Patch in part by Pavel Roskin <proski@gnu.org>.
49162 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49164 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49165 Free memory block if necessary.
49168 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49169 be NULL. Don't lock in this case.
49171 2011-09-09 Roland McGrath <roland@hack.frob.com>
49173 * elf/elf.h (ELFOSABI_GNU): New macro.
49174 (ELFOSABI_LINUX): Define to that.
49176 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49178 * string/strncat.c (strncat): Undef the symbol in case it has been
49179 defined in bits/string.h.
49181 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49183 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49185 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49188 2011-08-17 Andreas Jaeger <aj@suse.de>
49190 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49192 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49193 Ian Lance Taylor <iant@google.com>
49195 * math/libm-test.inc (lround_test): New testcase.
49196 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49198 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49200 * Makefile: Remove support for automatic cvs check-ins.
49201 * Makerules: Likewise.
49202 * config.make.in: Likewise.
49203 * configure.in: Likewise.
49204 * intl/Makefile: Likewise.
49205 * locale/Makefile: Likewise.
49206 * po/Makefile: Likewise.
49207 * posix/Makefile: Likewise.
49208 * sysdeps/gnu/Makefile: Likewise.
49209 * sysdeps/mach/hurd/Makefile: Likewise.
49210 * sysdeps/sparc/sparc32/Makefile: Likewise.
49213 * posix/Makefile (bug-regex32-ENV): Define.
49214 Patch by John Stanley <jpsinthemix@verizon.net>.
49216 * misc/Makefile (headers): Add bits/select2.h.
49217 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49218 * misc/bits/select2.h: New file.
49219 * include/bits/select2.h: New file.
49220 * debug/Makefile (routines): Add fdelt_chk.
49221 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49222 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49224 * debug/fdelt_chk.c: New file.
49226 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49227 * wcsmbs/test-wmemcmp.c: Likewise.
49228 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49229 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49231 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49233 * string/Makefile (strop-tests): Add memcmp.
49234 * string/test-wmemcmp.c: New file.
49235 * string/test-memcmp.c: Add wmemcmp support.
49237 2011-09-08 Roland McGrath <roland@hack.frob.com>
49240 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49243 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49244 garbage value in a __mach_port_mod_refs call in the cases of the
49245 task-self and thread-self ports.
49247 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49249 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49251 2011-09-08 Andreas Schwab <schwab@redhat.com>
49253 * elf/dl-load.c (lose): Check for non-null L.
49255 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49257 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49259 * elf/dl-libc.c (dlerror_run): Pass back error code from
49263 * elf/dl-load.c (lose): Free l_origin if it is valid.
49265 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49267 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49268 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49270 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49271 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49272 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49274 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49276 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49277 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49278 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49279 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49280 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49281 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49282 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49283 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49284 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49285 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49287 2011-08-15 Alan Modra <amodra@gmail.com>
49290 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49291 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49292 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49293 ppc_mcount to static-only-routines.
49294 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49296 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49297 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49299 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49301 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49302 for finite and infinity parameters.
49304 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49307 and add nop instructions for throughput optimization.
49308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49310 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49312 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49313 aligned copy for power7 with vector-scalar instructions.
49314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49316 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49321 2011-09-07 Andreas Schwab <schwab@redhat.com>
49324 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49327 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49329 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49330 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49331 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49332 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49335 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49337 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49338 Forgot to demangle the pointer.
49340 * sysdeps/i386/sysdep.h: Define atom_text_section.
49341 * sysdeps/x86_64/sysdep.h: Likewise.
49342 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49343 section with atom_text_section.
49344 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49345 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49346 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49348 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49350 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49352 already be defined. Change to take two parameters and don't assign
49353 result to variable. Adjust all users.
49354 Define INTERNAL_GETTIME if not already defined.
49355 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49358 HAVE_CLOCK_GETTIME_VSYSCALL.
49359 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49362 gettimeofday vsyscall, just use time.
49364 2011-09-06 Andreas Schwab <schwab@redhat.com>
49366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49369 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49371 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49375 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49376 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49377 syscall if possible.
49379 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49381 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49382 e_ident. Don't pass to find_mapsXX.
49383 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49385 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49388 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49389 * sysdeps/x86_64/multiarch/strchr.S: Update.
49390 Check bit_slow_BSF bit.
49391 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49392 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49393 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49395 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49398 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49400 (tryshell): Define.
49401 (__spawni): Change last parameter to be flag. Test
49402 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49403 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49404 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49405 * posix/spawni.c: Likewise.
49406 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49407 * posix/spawnp.c: Likewise. Change normal version to use
49408 SPAWN_XFLAGS_USE_PATH.
49409 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49410 SPAWN_XFLAGS_TRY_SHELL.
49413 * posix/glob.h: Remove gcc 1.x support.
49416 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49418 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49421 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49423 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49424 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49425 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49426 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49428 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49430 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49432 * sysdeps/x86_64/wcscmp.S: New file.
49434 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49435 wcscmp-c wcscmp-sse2
49436 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49437 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49438 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49439 * wcsmbs/wcscmp.c: Allow renaming.
49441 2011-09-05 David S. Miller <davem@davemloft.net>
49443 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49444 stack slot, rather than the struct return pointer slot.
49445 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49446 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49448 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49450 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49452 * po/ja.po: Update from translation team.
49455 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49456 kernel in 64-bit binaries.
49458 2011-09-01 David S. Miller <davem@davemloft.net>
49460 * elf/elf.h (HWCAP_SPARC_*): Move to..
49461 * sysdeps/sparc/sysdep.h: this new file and add new values.
49462 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49463 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49464 _DL_HWCAP_COUNT to 24.
49465 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49467 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49468 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49469 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49471 instead of magic constants.
49472 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49474 2011-08-31 David S. Miller <davem@davemloft.net>
49476 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49478 Reimplement to do errno handling inline.
49479 (SYSCALL_ERROR_HANDLER): New macro.
49480 (__SYSCALL_STRING): Do not do errno handling in asm.
49481 (__CLONE_SYSCALL_STRING): Delete.
49482 (__INTERNAL_SYSCALL_STRING): Delete.
49483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49484 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49485 (PSEUDO): Reimplement to do errno handling inline.
49486 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49487 (SYSCALL_ERROR_HANDLER): New macro.
49488 (__SYSCALL_STRING): Do not do errno handling in asm.
49489 (__CLONE_SYSCALL_STRING): Delete.
49490 (__INTERNAL_SYSCALL_STRING): Delete.
49491 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49492 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49494 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49495 (inline_syscall*): Add 'err' argument.
49496 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49497 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49498 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49499 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49501 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49502 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49504 2011-08-30 Andreas Schwab <schwab@redhat.com>
49506 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49508 2011-08-29 Jiri Olsa <jolsa@redhat.com>
49510 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49513 2011-08-24 David S. Miller <davem@davemloft.net>
49515 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49517 2011-08-24 Andreas Schwab <schwab@redhat.com>
49519 * elf/Makefile: Add rules to build and run unload8 test.
49520 * elf/unload8.c: New file.
49521 * elf/unload8mod1.c: New file.
49522 * elf/unload8mod1x.c: New file.
49523 * elf/unload8mod2.c: New file.
49524 * elf/unload8mod3.c: New file.
49526 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49529 2011-08-23 David S. Miller <davem@davemloft.net>
49531 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49532 subtract stack bias.
49533 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49534 %sp not %fp in calculations.
49535 (_JMPBUF_UNWINDS_ADJ): Likewise.
49537 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49538 (aio_suspend): Call it to force an exception region around the
49539 AIO_MISC_WAIT() invocation.
49541 2011-08-23 Andreas Schwab <schwab@redhat.com>
49543 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49546 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49548 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49550 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49551 and <dl-machine.h>.
49552 (Elf64_FuncDesc): Remove.
49554 2011-08-22 David S. Miller <davem@davemloft.net>
49556 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49557 sigaltstack check, add missing cfi directives.
49558 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49559 missing cfi directives, and sigaltstack handling.
49561 2011-08-16 Andreas Schwab <schwab@redhat.com>
49564 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49565 object is seen twice.
49566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49568 * elf/Makefile (distribute): Add tst-initorder2.c.
49569 (tests): Add tst-initorder2.
49570 (modules-names): Add tst-initorder2a tst-initorder2b
49571 tst-initorder2c tst-initorder2d. Add rules to build them.
49572 ($(objpfx)tst-initorder2.out): New rule.
49573 * elf/tst-initorder2.c: New file.
49574 * elf/tst-initorder2.exp: New file.
49576 2011-08-22 Andreas Schwab <schwab@redhat.com>
49578 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49580 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49581 dependencies back to end of function.
49583 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49584 $(elfobjdir)/ld.so.
49586 2011-08-21 Ulrich Drepper <drepper@gmail.com>
49588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49589 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49591 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49592 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49593 of __vdso_gettimeofday.
49594 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49595 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49597 (_libc_vdso_platform_setup): Remove initialization of
49598 __vdso_gettimeofday and __vdso_time.
49600 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49602 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49603 and fgetc_unlocked.
49604 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49607 * elf/dl-open.c (add_to_global): Report additions to the global scope
49608 for LD_DEBUG=scopes.
49609 (dl_open_worker): Also print scope of newly loaded dependencies.
49610 (_dl_show_scope): Indicate if there is no scope.
49613 * stdio-common/Makefile (tests): Add bug24.
49614 * stdio-common/bug24.c: New file.
49616 2011-08-19 Andreas Jaeger <aj@suse.de>
49619 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49620 non-existant file when using close-on-exec mode.
49622 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49625 the very first instruction.
49627 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49628 the CFI state in the end.
49629 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49630 inclusion of dl-trampoline.h.
49631 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49633 2011-08-19 Andreas Schwab <schwab@redhat.com>
49635 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49636 expectations for long double.
49638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49639 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49641 2011-08-14 David S. Miller <davem@davemloft.net>
49643 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49644 artificual limit depends upon the system page size.
49646 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49648 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49649 * resolv/Makefile: Define CFLAGS-libresolv.
49651 2011-08-17 Andreas Schwab <schwab@redhat.com>
49653 * nss/makedb.c (compute_tables): Make variables used in nested
49656 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49658 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49659 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49660 if buffer was too small.
49662 * elf/pldd.c (main): Attach to all threads in the process.
49663 Rewrite /proc handling to use *at functions.
49665 2011-08-16 Ulrich Drepper <drepper@gmail.com>
49667 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49668 specifies first scope to show.
49669 (dl_open_worker): Update callers. Move printing scope of new
49670 object to before the relocation.
49671 * elf/rtld.c (dl_main): Update _dl_show_scope call.
49672 * sysdeps/generic/ldsodefs.h: Update declaration.
49674 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49675 string for the scope number.
49677 2011-08-14 Ulrich Drepper <drepper@gmail.com>
49679 * nscd/servicescache.c (cache_addserv): Make sure written is always
49682 2011-08-14 Roland McGrath <roland@hack.frob.com>
49684 * sysdeps/i386/i486/bits/atomic.h
49685 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49686 statement expression, so as to suppress "set but not used" warning.
49687 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49689 * string/strncat.c (STRNCAT): Use prototype definition.
49691 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49692 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49694 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49695 (localedef-modules): Add localedef.
49696 (locale-modules): Add locale.
49698 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49699 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49700 to avoid a warning.
49702 2011-08-14 David S. Miller <davem@davemloft.net>
49704 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49705 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49707 2011-08-13 Ulrich Drepper <drepper@gmail.com>
49709 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49710 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49711 * elf/rtld.c (dl_main): Set l_name of vDSO.
49712 Call _dl_show_scope when DL_DEBUG_SCOPES.
49713 (process_dl_debug): Recognize scopes flag and also set it for all.
49714 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49715 Declare _dl_show_scope.
49717 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49718 (do_dlopen): Pass caller_dlopen to dl_open.
49719 (__libc_dlopen_mode): Initialize caller_dlopen.
49721 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49722 of libc. Make tolower call locale-independent. Optimize a bit by
49723 using isdigit instead of isalnum.
49724 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49726 2011-08-12 Ulrich Drepper <drepper@gmail.com>
49728 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49729 was a dependency or dynamically loaded.
49731 2011-08-11 Ulrich Drepper <drepper@gmail.com>
49733 * intl/l10nflist.c: Allow architecture-specific pop function.
49734 * sysdeps/x86_64/l10nflist.c: New file.
49736 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49739 2011-08-10 Andreas Schwab <schwab@redhat.com>
49741 * include/dirent.h: Add libc_hidden_proto for scandirat and
49742 scandirat64. Don't declare __scandirat64.
49743 * dirent/scandirat.c: Add libc_hidden_def.
49744 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49745 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49747 2011-08-10 David S. Miller <davem@davemloft.net>
49749 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49751 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49753 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49755 2011-08-09 Ulrich Drepper <drepper@gmail.com>
49757 * Versions.def [libc]: Add GLIBC_2.15.
49758 * dirent/Makefile (routines): Add scandirat and scandirat64.
49759 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49761 * dirent/dirent.h: Declare scandirat and scandirat64.
49762 * dirent/scandirat.c: New file.
49763 * dirent/scandirat64.c: New file.
49764 * sysdeps/wordsize-64/scandirat.c: New file.
49765 * sysdeps/wordsize-64/scandirat64.c: New file.
49766 * dirent/opendir.c: Define opendirat.
49767 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49769 * dirent/scandir64.c: Adjust for scandir.c change.
49770 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49771 __scandirat64, and __scandir_cancel_handler.
49772 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49773 additional parameter and use openat instead of open (outside of ld.so).
49774 Add new __opendir as wrapper around __opendirat.
49775 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49776 here without requiring old scandirat implementation.
49778 2011-08-08 Ulrich Drepper <drepper@gmail.com>
49780 * dirent/scandir.c (cancel_handler): Renamed to
49781 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49782 defined. Adjust users.
49783 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49784 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49786 2011-08-04 Ulrich Drepper <drepper@gmail.com>
49788 * string/test-string.h (IMPL): Use __STRING to expand name and then
49791 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49794 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49796 * string/Makefile: Update.
49797 (strop-tests): Append strncat.
49798 * string/test-wcscmp.c: New file.
49799 New comprehensive test for wcscmp.
49800 * string/test-strcmp.c: Update.
49801 (WIDE): New define.
49803 2011-07-22 Andreas Schwab <schwab@redhat.com>
49805 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49808 2011-07-26 Andreas Schwab <schwab@redhat.com>
49810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49811 encoding to ACE if AI_IDN.
49813 2011-08-01 Jakub Jelinek <jakub@redhat.com>
49815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49816 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49818 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49820 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49821 Fix overflow bug in strncat.
49822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49824 * string/test-strncat.c: Update.
49825 Add new tests for checking overflow bugs.
49827 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49830 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49831 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49832 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49833 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49834 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49835 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49836 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49837 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49840 (USE_AS_STRCAT): Define.
49841 Add strcat and strncat support.
49842 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49844 2011-07-25 Andreas Schwab <schwab@redhat.com>
49846 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49847 __n bigger than INT_MAX+1.
49848 (__strncmp_g): Likewise.
49850 2011-07-23 Ulrich Drepper <drepper@gmail.com>
49852 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49853 * libio/stido.h: Likewise.
49855 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49860 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49863 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49864 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49867 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49872 (_dl_x86_64_save_sse): Likewise.
49874 2011-07-22 Ulrich Drepper <drepper@gmail.com>
49876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49878 (_dl_x86_64_save_sse): Likewise.
49880 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49882 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49884 2011-07-21 Andreas Schwab <schwab@redhat.com>
49886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49888 (_dl_x86_64_save_sse): Use correct AVX check.
49890 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49892 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49893 bug in strncpy/strncat.
49894 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49896 2011-07-21 Ulrich Drepper <drepper@gmail.com>
49898 * string/tester.c (test_strcat): Add tests for different alignments
49899 of source and destination.
49900 (test_strncat): Likewise.
49902 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49905 * posix/glob.c (glob): Check passed in values before using them in
49906 expressions to avoid some overflows.
49907 (glob_in_dir): Likewise.
49910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49911 check for AVX enablement so that we don't crash with old kernels and
49913 * elf/tst-audit4.c: Add same checks here.
49914 * elf/tst-audit6.c: Likewise.
49916 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49918 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49920 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49922 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49924 * po/cs.po: Update from translation team.
49925 * po/bg.po: Likewise.
49927 2011-07-12 Marek Polacek <mpolacek@redhat.com>
49929 * misc/sys/cdefs.h: Add support for const attribute.
49930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49931 to gnu_dev_{major,minor,makedev} functions.
49933 2011-07-20 Marek Polacek <mpolacek@redhat.com>
49935 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49937 2011-07-20 Andreas Schwab <schwab@redhat.com>
49939 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49942 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49945 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49946 register in order to avoid conflicts with the soft frame pointer
49947 being held in r11 when necessary.
49948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49949 (INTERNAL_VSYSCALL_NCS): Likewise.
49951 2011-07-14 Marek Polacek <mpolacek@redhat.com>
49953 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49954 * elf/dl-fini.c (_dl_fini): Adjust caller.
49955 * elf/dl-close.c (_dl_close_worker): Likewise.
49956 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49958 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49960 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49961 "aux_cache->nlibs < 0".
49963 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49964 in the reload-count case.
49966 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49969 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49970 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49971 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49972 * sysdeps/x86_64/multiarch/strcat.S: New file.
49973 * sysdeps/x86_64/multiarch/strncat.S: New file.
49974 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49976 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49977 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49978 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49979 (USE_AS_STRCAT): Define.
49980 Add strcat and strncat support.
49981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49983 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49984 * string/strncat.c: Update.
49985 (USE_AS_STRNCAT): Define.
49986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49987 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49989 * sysdeps/x86_64/multiarch/init-arch.h
49990 (bit_Prefer_PMINUB_for_stringop): New.
49991 (index_Prefer_PMINUB_for_stringop): Likewise.
49992 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49993 bit_Prefer_PMINUB_for_stringop.
49995 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49997 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49999 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50000 of casting of buffer.
50001 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50002 buffer32 and buffer64.
50003 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50004 writes instead of casting of buffer.
50005 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50007 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50010 2011-07-19 Andreas Schwab <schwab@redhat.com>
50012 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50014 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50016 * nscd/nscd.c (termination_handler): Don't do anything for a database
50017 if it has not yet been initialized.
50019 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50021 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50023 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50025 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50027 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50029 * po/nl.po: Update from translation team.
50030 * po/sv.po: Likewise.
50032 2011-07-16 Roland McGrath <roland@hack.frob.com>
50034 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50035 now disallowed by GCC.
50037 * configure.in (use-default-link): Default to yes if a test -shared
50038 link meets our qualifications.
50039 * configure: Regenerated.
50041 * config.make.in (output-format): New variable.
50042 * configure.in: Check for ld --print-output-format support.
50043 * configure: Regenerated.
50044 * Makerules ($(common-objpfx)format.lds)
50045 [$(output-format) != unknown]: Just use $(output-format),
50046 instead of the linker-script munging.
50048 2011-07-14 Roland McGrath <roland@hack.frob.com>
50050 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50051 of $(common-objpfx)shlib.lds.
50052 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50054 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50055 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50057 * configure.in (-z relro check): Adjust test code to add a large
50058 writable data section after it.
50059 * configure: Regenerated.
50061 2011-07-11 Roland McGrath <roland@hack.frob.com>
50063 * configure.in (-z relro check): Fix test code to make the variable
50065 * configure: Regenerated.
50067 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50069 * nscd/nscd.h (struct traced_file): Define.
50070 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50071 elements. Add traced_files.
50072 (inotify_fd): Declare.
50073 (register_traced_file): Declare.
50074 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50075 (inotify_fd): Export.
50076 (resolv_conf_descr): Remove.
50077 (nscd_init): Move inotify descriptor creation to main.
50078 Don't register files for notification here.
50079 (register_traced_file): New function.
50080 (invalidate_cache): Don't use reset_res to determine whether to call
50081 res_init, go through the list of registered files.
50082 (main_loop_poll): The inotify descriptors are now stored in the
50083 structures for the traced files.
50084 (main_loop_epoll): Likewise
50085 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50086 to __nss_disable_nscd.
50087 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50088 for a database anymore. Check the records for all the registered
50090 * nss/Makefile (libnss_files-routines): Add files-init.
50091 (libnss_db-routines): Add db-init.
50092 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50093 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50094 * nss/nss_db/db-init.c: New file.
50095 * nss/nss_files/files-init.c: New file.
50096 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50097 __nss_lookup_function.
50098 (__nss_lookup_function): Call nss_load_library.
50099 (nss_load_all_libraries): New function.
50100 (__nss_disable_nscd): Take parameter with callback function for files
50101 to register. Set is_nscd. Load all the DSOs for the NSS modules
50102 used for the cached services.
50103 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50104 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50105 options for features to all the files in nscd.
50107 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50109 2011-07-10 Roland McGrath <roland@hack.frob.com>
50111 * csu/elf-init.c (__libc_csu_init): Comment typo.
50113 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50115 * po/pl.po: Update from translation team.
50116 * po/ja.po: Likewise.
50117 * po/ru.po: Likewise.
50118 * po/ko.po: Likewise.
50119 * po/fr.po: Likewise.
50121 2011-07-09 Roland McGrath <roland@hack.frob.com>
50123 * configure.in (.ctors/.dtors header and trailer check):
50124 Use an empirical test on a built program.
50125 * configure: Regenerated.
50127 * configure.in (-z relro check): Use an empirical test on a built DSO.
50128 Detect, but do not require, on ia64.
50129 * configure: Regenerated.
50131 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50132 Update tests that use readelf to use $READELF instead.
50133 * configure: Regenerated.
50135 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50137 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50138 if the result is not used.
50140 2011-07-05 Andreas Jaeger <aj@suse.de>
50143 * stdlib/tst-strtod.c: Add testcase.
50145 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50147 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50148 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50149 The latter has a higher limit. Take additional parameter to pass to
50151 (__pathconf): Pass file to __statfs_link_max.
50152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50154 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50158 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50159 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50161 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50162 (__statfs_filesize_max): Likewise.
50163 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50165 2011-07-05 Andreas Jaeger <aj@suse.de>
50167 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50169 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50171 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50173 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50176 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50178 * Makefile (strop-tests): Add strncat.
50179 * string/test-strncat.c: New file.
50181 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50183 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50185 2011-06-21 Andreas Jaeger <aj@suse.de>
50187 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50188 Copy rule from iconvdata/Makefile.
50190 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50193 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50194 but no long options are defined, just return 'W'.
50196 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50199 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50201 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50203 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50205 (innetgr): Likewise.
50207 2011-07-05 Roland McGrath <roland@hack.frob.com>
50209 * config.make.in (install_root): Default to $(DESTDIR).
50211 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50213 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50215 2011-07-02 Roland McGrath <roland@hack.frob.com>
50217 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50219 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50220 containing directory rather than embedding absolute directory names.
50222 * scripts/check-local-headers.sh: Rewritten using awk.
50223 Match by word, not by line. Print error messages for matches.
50224 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50226 * Makerules [shlib-lds-flags empty]:
50227 ($(common-objpfx)libc_pic.opts): New target.
50228 ($(common-objpfx)libc_pic.os.clean): New target.
50229 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50231 * config.make.in (OBJCOPY): New variable.
50232 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50233 * configure: Regenerated.
50235 * config.make.in (use-default-link): New variable.
50236 * configure.in (use_default_link): Grok --with-default-link to set it.
50237 * configure: Regenerated.
50238 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50239 (shlib-lds, shlib-lds-flags): Define to empty.
50241 * Makerules (shlib-lds): New variable.
50242 (shlib-lds-flags): New variable.
50243 (build-shlib, build-moduile, build-module-asneeded): Use it.
50244 ($(common-objpfx)libc.so): Use $(shlib-lds).
50245 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50246 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50248 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50249 DT_FLAGS/DT_FLAGS_1 with zero flags.
50251 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50252 linker script munging.
50254 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50256 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50258 * crypt/sha512.c (sha512_process_block): Perform total addition using
50259 128-bit if possible.
50260 (__sha512_finish_ctx): Likewise.
50261 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50263 * crypt/sha256.c (SWAP64): Define.
50264 (sha256_process_block): Perform total addition using 64-bit if
50266 (__sha256_finish_ctx): Likewise.
50268 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50270 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50272 * nscd/hstcache.c (cache_addhst): Likewise.
50273 * nscd/grpcache.c (cache_addgr): Likewise.
50274 * nscd/aicache.c (addhstaiX): Likewise
50275 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50277 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50279 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50281 * nscd/hstcache.c (cache_addhst): Likewise.
50282 * nscd/grpcache.c (cache_addgr): Likewise.
50283 * nscd/aicache.c (addhstaiX): Likewise
50285 2011-07-01 Andreas Schwab <schwab@redhat.com>
50287 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50288 domain only when needed.
50290 2011-06-30 Andreas Schwab <schwab@redhat.com>
50292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50293 is always restored.
50295 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50297 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50298 are re-adding the entry.
50299 * nscd/servicescache.c (cache_addserv): Likewise.
50301 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50303 * sysdeps/generic/dl-irel.h: fix protection against multiple
50305 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50307 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50310 * malloc/memusage.sh: Fix quoting in message.
50311 * debug/xtrace.sh: Likewise.
50313 * configure.in: Remove support for --experimental-malloc option, make
50315 * config.make.in: Likewise.
50316 * malloc/Makefile: Likewise.
50318 2011-06-27 Andreas Schwab <schwab@redhat.com>
50320 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50321 two-byte characters.
50323 2011-06-27 Roland McGrath <roland@hack.frob.com>
50325 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50326 AC_CACHE_CHECK invocation.
50327 * configure: Regenerated.
50329 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50331 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50334 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50335 bit from old_res_options.
50337 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50339 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50340 value type for setfct.
50342 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50345 __gettimeofday instead of gettimeofday.
50347 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50349 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50351 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50358 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50361 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50362 strcpy-sse2-unaligned strncpy-sse2-unaligned
50363 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50364 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50365 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50366 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50367 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50369 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50370 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50371 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50372 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50373 (STRCPY): Support SSE2 and SSSE3 versions.
50375 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50378 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50379 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50380 kernels which artificially limit size of requests.
50382 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50385 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50386 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50387 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50388 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50389 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50390 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50391 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50392 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50394 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50395 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50396 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50397 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50398 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50400 Enable unaligned load optimization for Intel Core i3, i5 and i7
50402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50404 (index_Fast_Unaligned_Load): Define.
50405 (HAS_FAST_UNALIGNED_LOAD): Define.
50407 2011-06-23 Marek Polacek <mpolacek@redhat.com>
50409 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50411 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50414 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50415 until it is clear that the information is realy needed.
50416 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50418 2011-06-22 Andreas Schwab <schwab@redhat.com>
50420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50422 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50425 /sys/devices/system/cpu/online if it is usable.
50427 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50428 reading the information from the /proc filesystem to once a second.
50430 2011-06-21 Andreas Jaeger <aj@suse.de>
50432 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50433 NULL after inclusion of kernel headers.
50435 2011-06-21 Ulrich Drepper <drepper@gmail.com>
50437 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50438 calls to internal_setent.
50441 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50442 addresses using gethostbyname4_r ignore IPv4 addresses.
50444 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50445 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50447 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50449 2011-06-20 David S. Miller <davem@davemloft.net>
50451 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50453 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50455 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50456 (elf_irel): Use it.
50457 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50458 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50459 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50460 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50461 * sysdeps/x86_64/dl-irel.h: Likewise.
50463 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50464 * elf/dl-sym.c: Likewise.
50466 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50468 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50469 need to dereference resplen2.
50471 2011-06-14 Andreas Schwab <schwab@redhat.com>
50473 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50475 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50477 * Makeconfig: Define vardbdir and inst_vardbdir.
50478 * nss/Makefile: Add rules to install db-Makefile.
50480 * nss/nss_db/db-XXX.c: Cleanup.
50482 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50483 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50485 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50486 * nss/makedb.c: Implement -g option to specify that value strings
50487 are generated and should not be added to table iterated over for
50489 * nss/nss_db/db-initgroups.c: New file.
50491 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50494 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50495 (internal_getgrouplist): Adjust to name change.
50496 Update use_initgroups_entry if this is not the first call.
50497 * nss/databases.def: Add initgroups entry.
50499 * nss/makedb.c (compute_tables): Check result of multiple hash table
50500 sizes to minimize maximum chain length.
50502 2011-06-14 Ulrich Drepper <drepper@gmail.com>
50504 * Versions.def: Add entry for libnss_db.
50505 * shlib-versions: Likewise.
50506 * nss/Makefile: Add rules to build libnss_db.
50507 * nss/Versions: Add libnss_db information. Organize libnss_files
50509 * nss/db-Makefile: Add gshadow support. Change rules for the new
50510 makedb progra. Some minor improvements to generate smaller files.
50511 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50513 * nss/makedb.c: ...here.
50514 Improve database format to be smaller and require less memory at
50516 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50518 * nss/nss_db/db-netgrp.c: Likewise.
50519 * nss/nss_db/db-open.c: Likewise.
50520 * nss/nss_files/flies-XXX.x: Adjust comments.
50521 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50522 * nss/nss_files/files-grp.c: Likewise.
50523 * nss/nss_files/files-hosts.c: Likewise.
50524 * nss/nss_files/files-network.c: Likewise.
50525 * nss/nss_files/files-proto.c: Likewise.
50526 * nss/nss_files/files-pwd.c: Likewise.
50527 * nss/nss_files/files-rpc.c: Likewise.
50528 * nss/nss_files/files-service.c: Likewise.
50529 * nss/nss_files/files-sgrp.c: Likewise.
50530 * nss/nss_files/files-spwd.c: Likewise.
50531 * nss/nss_db/db-alias.c: Removed.
50532 * nss/nss_db/dummy-db.h: Removed.
50534 2011-06-02 Ulrich Drepper <drepper@gmail.com>
50536 * nss/makedb.c: Rewritten to not use database library.
50537 * nss/Makefile: Update to build new makedb program.
50539 2011-06-14 Andreas Jaeger <aj@suse.de>
50541 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50542 memset declaration.
50544 2011-06-10 Andreas Schwab <schwab@redhat.com>
50546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50549 2011-06-10 Roland McGrath <roland@hack.frob.com>
50551 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50552 * elf/Makefile ($(objpfx)ld.so): Likewise.
50554 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50555 Don't list ld.so twice in dependencies.
50557 * posix/bug-regex31.c: Include <stdlib.h>.
50559 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50561 * nis/nss_compat/compat-spwd.c
50562 (getspent_next_nss_netgr): Remove unused variable.
50563 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50565 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50566 nonmembers" output to use the right array.
50568 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50570 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50572 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50573 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50574 * catgets/gencat.c (read_input_file): Likewise.
50575 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50577 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50578 variable definition inside #if's controlling its use.
50580 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50582 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50584 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50586 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50589 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50591 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50592 * configure: Regenerated.
50594 * Makerules: Revert last change.
50595 * elf/Makefile: Likewise.
50597 2011-06-09 Roland McGrath <roland@hack.frob.com>
50599 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50600 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50601 (reloc-link): Likewise.
50603 2011-06-09 Ulrich Drepper <drepper@gmail.com>
50605 * elf/Makefile: Add rules to build pldd.
50606 * elf/pldd.c: New file.
50607 * elf/pldd-xx.c: New file.
50609 2011-06-07 Ulrich Drepper <drepper@gmail.com>
50611 * version.h: Update for 2.15 development version.
50613 2011-06-07 David S. Miller <davem@davemloft.net>
50615 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50618 elf_machine_lazy_rel): Likewise.
50619 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50621 elf_machine_lazy_rel): Likewise.
50622 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50623 dl_hwcap via passed in argument.
50624 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50627 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50629 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50631 2011-06-06 Roland McGrath <roland@hack.frob.com>
50634 * manual/fdl-1.1.texi: New file, verbatim from:
50635 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50636 * manual/lgpl-2.1.texi: New file, verbatim from:
50637 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50638 * manual/Makefile (licenses): New variable, list those new file names.
50640 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50642 * manual/fdl.texi: File removed.
50643 * manual/lesser.texi: File removed.
50644 * manual/libc.texinfo (Copying, Documentation License):
50645 Use new @include file names, put @appendix directive before @include.
50647 2011-06-04 Jakub Jelinek <jakub@redhat.com>
50650 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50651 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50652 (mq_open): Add __NTH.
50654 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50657 Assume Intel Core i3/i5/i7 processor if AVX is available.
50659 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50664 2011-05-31 Andreas Schwab <schwab@redhat.com>
50666 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50667 memory. Use alloca_account. Fix memory leak when retrying.
50669 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50671 * version.h (RELEASE): Bump for 2.14 release.
50672 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50674 * config.make.in (RANLIB): Remove entry.
50676 2011-05-30 Ulrich Drepper <drepper@gmail.com>
50678 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50679 (libc.pot): Work around missing support for .ksh extension in xgettext.
50682 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50683 if both request failed.
50684 (send_dg): In case of server errors clear resplen or *resplen2.
50687 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50688 when there are multiple maps.
50689 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50690 (_dl_fini): Remove test here.
50692 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50694 2011-05-29 Ulrich Drepper <drepper@gmail.com>
50697 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50698 bit from old_res_options.
50699 (gaih_inet): Likewise.
50702 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50705 * resolv/res_init.c (res_setoptions): Make the code more compact.
50708 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50712 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50714 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50717 * malloc/malloc.h: Declare malloc hook variables as volatile.
50719 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50723 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50724 raise in the comment.
50725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50727 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50729 2011-05-28 Ulrich Drepper <drepper@gmail.com>
50732 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50733 grow the buffers more if it already has to be sufficient.
50734 (build_wcs_upper_buffer): Likewise.
50735 * posix/regexec.c (check_matching): Likewise.
50736 (clean_state_log_if_needed): Likewise.
50737 (extend_buffers): Don't enlarge buffers beyond size of the input
50739 Patches mostly by Emil Wojak <emil@wojak.eu>.
50740 * posix/bug-regex32.c: New file.
50741 * posix/Makefile (tests): Add bug-regex32.
50743 * locale/findlocale.c (_nl_find_locale): Return right away if
50744 _nl_explode_name failed.
50745 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50747 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50749 * debug/xtrace.sh: Unify messages.
50750 * malloc/memusage.sh: Likewise.
50753 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50754 time symbol from vDSO. Substitute with vsyscall if not available.
50755 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50758 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50759 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50760 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50761 Add sendmmsg and internal_sendmmsg.
50762 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50763 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50764 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50766 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50767 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50768 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50770 2011-05-27 Ulrich Drepper <drepper@gmail.com>
50773 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50774 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50776 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50780 * iconvdata/Makefile (tests): Add bug-iconv9.
50781 * iconvdata/bug-iconv9.c: New file.
50783 2011-05-27 Andreas Schwab <schwab@redhat.com>
50786 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50788 2011-05-25 Jakub Jelinek <jakub@redhat.com>
50790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50791 (struct user_regs_struct): Change intcs field back to cs.
50793 2011-05-25 Ulrich Drepper <drepper@gmail.com>
50795 * po/ja.po: Update from translation team.
50797 2011-05-23 Ulrich Drepper <drepper@gmail.com>
50800 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50801 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50803 2011-05-20 Andreas Schwab <schwab@redhat.com>
50805 * stdlib/longlong.h: Update from GCC.
50807 2011-05-23 Andreas Schwab <schwab@redhat.com>
50809 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50811 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50812 Add parameter name.
50813 (__sysconf): Pass it down.
50815 2011-05-22 Ulrich Drepper <drepper@gmail.com>
50818 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50820 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50821 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50822 add in in __libc_use_alloca calls. Adjust callers.
50823 (glob): Use malloc in some situations.
50825 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50826 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50829 2011-05-21 Ulrich Drepper <drepper@gmail.com>
50831 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50832 and CLOCK_BOOTTIME_ALARM.
50835 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50838 * string/_strerror.c (__strerror_r): Print negative errors as signed
50842 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50843 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50844 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50846 * configure.in: Fix typo in redirection and correct removal of test
50847 files in two cases.
50850 * locale/setlocale.c (new_composite_name): Fix test to check for
50851 identical name of all categories.
50854 * libio/filedoalloc.c (local_isatty): New function.
50855 (_IO_file_doallocate): Use local_isatty.
50856 * stdio-common/perror.c (perror): In case a new stream is used
50857 forward the stream error.
50858 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50861 2011-05-20 Ulrich Drepper <drepper@gmail.com>
50864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50866 * include/alloca.h (extend_alloca_account): Define.
50869 * posix/regex.h: Fix comments with documentation of user-accessible
50870 fields after compilation and describe correct free'ing of pattern
50871 after re_compile_pattern.
50872 Patch by Reuben Thomas <rrt@sc3d.org>.
50874 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50876 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50877 and -mno-altivec to prevent the compiler from using Altivec and/or
50878 VSX instructions when the corresponding registers are not available.
50880 2011-05-19 Andreas Schwab <schwab@redhat.com>
50882 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50884 2011-05-19 Ulrich Drepper <drepper@gmail.com>
50886 * libio/freopen.c (freopen): Use __dup2, not dup2.
50887 * libio/freopen64.c (freopen64): Likewise.
50889 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50892 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50893 * math/Makefile (tests): Add test-powl.
50894 (CFLAGS-test-powl.c): Define.
50895 * math/test-powl.c: New file.
50897 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50899 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50901 2011-05-17 Ulrich Drepper <drepper@gmail.com>
50904 * iconvdata/gb18030.c: Update to GB18020-2005.
50906 2011-05-16 Ulrich Drepper <drepper@gmail.com>
50908 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50909 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50910 Patch by Aharon Robbins <arnold@skeeve.com>.
50913 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50917 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50918 through underflows.
50921 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50922 point to strings before performing equality test for error_one_per_line
50926 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50930 (struct user_fpregs_struct): Avoid __uint*_t types.
50933 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50934 symbol info. Use it instead of calling _dl_addr locally.
50935 (lock_and_info): New function.
50936 (tr_freehook): Call lock_and_info and pass symbol info as additional
50937 parameter to tr_where.
50938 (tr_mallochook): Likewise.
50939 (tr_reallochook): Likewise.
50940 (tr_memalignhook): Likewise.
50942 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50943 used and couldn't be at all thread-safe.
50945 2011-05-15 Ulrich Drepper <drepper@gmail.com>
50947 * libio/freopen.c (freopen): Don't close old file descriptor
50948 before the new one is opened. Instead dup the new file descriptor
50949 to the old one after the new stream is created.
50950 * libio/freopen64.c (freopen64): Likewise.
50951 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50952 * libio/fileops.c (_IO_new_file_close_it): Handle new
50953 _IO_FLAGS2_NOCLOSE flag.
50954 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50955 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50956 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50957 _IO_FLAGS2_NOCLOSE flag.
50958 * include/unistd.h: Add hidden_proto for dup3.
50959 Define __have_dup3.
50960 * io/dup3.c: Define hidden symbol.
50961 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50964 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50965 when an incomplete long option is used.
50966 * posix/tst-getopt_long1.c: New file.
50967 * posix/Makefile (tests): Add tst-getopt_long1.
50970 * scripts/config.guess: Update from autoconf-2.68.
50971 * scripts/config.sub: Likewise.
50974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50976 (has_cpuclock): ...this. New function.
50977 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50978 macro here based on has_cpuclock code.
50981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50982 First byte (not low byte) is now always NUL.
50983 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50986 Use non-cancelable interfaces.
50989 * locale/iso-639.def: Add entry for Sorani.
50992 * include/stdlib.h: Move include protection to the right place.
50993 Define abort_msg_s. Declare __abort_msg with it.
50994 * stdlib/abort.c (__abort_msg): Adjust type.
50995 * assert/assert.c (__assert_fail_base): New function. Majority
50996 of code from __assert_fail. Allocate memory for __abort_msg with
50998 (__assert_fail): Now call __assert_fail_base.
50999 * assert/assert-perr.c: Remove bulk of implementation. Use
51000 __assert_fail_base.
51001 * include/assert.hL Declare __assert_fail_base.
51002 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51004 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51006 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51010 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51011 until all modules are registered in the DTV.
51012 * elf/Makefile: Add rules to build and run tst-tls19.
51013 * elf/tst-tls19.c: New file.
51014 * elf/tst-tls19mod1.c: New file.
51015 * elf/tst-tls19mod2.c: New file.
51016 * elf/tst-tls19mod3.c: New file.
51017 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51020 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51024 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51025 two-byte sequence errors.
51026 * iconvdata/Makefile (tests): Add bug-iconv8.
51027 * iconvdata/bug-iconv8.c: New file.
51030 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51033 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51036 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51037 (dummy_getcfa): New function.
51038 (init): Get _Unwind_GetCFA address, use dummy if not found.
51039 (backtrace_helper): In recursion check, also check whether CFA changes.
51040 (__backtrace): Completely initialize arg.
51042 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51043 storing incomplete byte sequence in state object. Avoid testing for
51044 guaranteed too small input if we know there is enough data available.
51046 2011-05-11 Andreas Schwab <schwab@redhat.com>
51048 * Makeconfig (+link-pie): Indent.
51049 * Rules (binaries-pie): Define if $(have-fpie) and
51051 (binaries-shared): Also filter out $(binaries-pie).
51052 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51053 * nscd/Makefile (others-pie): Add nscd.
51054 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51055 ($(objpfx)nscd): Remove command override.
51056 * login/Makefile (others-pie): Add pt_chown.
51057 ($(objpfx)pt_chown): Remove command override.
51058 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51059 remove command overrides.
51061 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51063 * libio/tst_putwc.c: Fix error messages.
51066 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51067 currently writing and seek to current position when not.
51068 * libio/Makefile (tests): Add bug-fclose1.
51069 * libio/bug-fclose1.c: New file.
51071 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51074 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51075 don't set DF_1_NODELETE here.
51076 (do_lookup_x): When entering new entry test for copy relocation
51077 and if necessary set DF_1_NODELETE flag.
51078 * elf/tst-unique4.cc: New file.
51079 * elf/tst-unique4.h: New file.
51080 * elf/tst-unique4lib.cc: New file.
51081 * elf/Makefile: Add rules to build and run tst-unique4.
51082 Patch by Piotr Bury <pbury@goahead.com>.
51084 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51087 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51090 * misc/mntent_r.c (addmntent): Flush the stream after the output
51093 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51094 (is_trusted_path_normalize): Skip initial colon. Append slash
51095 to empty buffer. Duplicate is_trusted_path code but allow
51096 constructed patch to be prefix.
51097 (is_dst): Allow $ORIGIN followed by /.
51098 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51099 Correct testing of result of is_trusted_path_normalize
51100 (decompose_rpath): Fix warning.
51102 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51105 * grp/initgroups.c (internal_getgrouplist): When we found the service
51106 list through the initgroups entry in nsswitch.conf do not always
51107 continue on a successful lookup. Don't always use the
51108 __nss_group_database value if it is set.
51109 * nss/nsswitch.conf (initgroups): Change action for successful db
51110 lookup to continue for compatibility.
51112 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51115 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51117 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51119 * iconvdata/tst-tables.sh: Likewise.
51120 * iconvdata/cp770.c: New file.
51121 * iconvdata/cp771.c: New file.
51122 * iconvdata/cp772.c: New file.
51123 * iconvdata/cp773.c: New file.
51124 * iconvdata/cp774.c: New file.
51125 * iconvdata/testdata/CP770: New file.
51126 * iconvdata/testdata/CP770..UTF8: New file.
51127 * iconvdata/testdata/CP771: New file.
51128 * iconvdata/testdata/CP771..UTF8: New file.
51129 * iconvdata/testdata/CP772: New file.
51130 * iconvdata/testdata/CP772..UTF8: New file.
51131 * iconvdata/testdata/CP773: New file.
51132 * iconvdata/testdata/CP773..UTF8: New file.
51133 * iconvdata/testdata/CP774: New file.
51134 * iconvdata/testdata/CP774..UTF8: New file.
51136 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51138 * iconvdata/gen-8bit-gap.sh: Likewise.
51139 * iconvdata/gen-8bit.sh: Likewise.
51141 * locale/iso-639.def: Add ary entry.
51144 * locale/C-translit.h.in: Add U20A1 transliteration.
51147 * locale/iso-639.def: Add wae entry.
51148 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51151 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51155 * locale/C-translit.h.in: Add entry for U20B9.
51156 Patch by pravin.d.s@gmail.com.
51158 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51161 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51162 ENAMETOOLONG use generic getcwd.
51163 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51164 in rtld. Use *stat64.
51165 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51166 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51167 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51168 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51169 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51170 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51171 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51172 __fstatat64 macros.
51173 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51174 * dirent/rewinddir.c: Add libc_hidden_def.
51175 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51176 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51178 * include/dirent.h (__alloc_dir): Add flags parameter.
51179 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51180 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51182 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51183 from fdopendir if O_CLOEXEC is already set.
51185 2011-03-15 Alan Modra <amodra@gmail.com>
51187 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51188 l_tls_firstbyte_offset non-zero. Save padding offset in
51189 l_tls_firstbyte_offset for later use.
51190 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51191 freeing static tls block.
51193 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51195 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51196 where #ifdef was intended. The intent is to prevent ARG_MAX from
51197 being defined by the kernel headers.
51199 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51202 * resolv/resolv.h: Define RES_NOTLDQUERY.
51203 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51204 no-tld-query and set RES_NOTLDQUERY.
51205 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51206 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51207 modern BIND to search name as TLD unless forbidden.
51209 2011-05-07 Petr Baudis <pasky@suse.cz>
51210 Ulrich Drepper <drepper@gmail.com>
51213 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51214 (is_trusted_path): ...to here.
51215 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51216 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51217 using is_trusted_path_normalize() in setuid scripts.
51219 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51221 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51222 __BEGIN/__END_DECLS.
51224 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51226 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51227 NSS_STATUS_NOTFOUND if no record was found.
51229 2011-05-05 Andreas Schwab <schwab@redhat.com>
51231 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51232 (headers-not-in-tirpc): Remove rpc/netdb.h
51233 * resolv/netdb.h: Revert last change.
51235 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51237 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51238 circular dependency between libgcc.a and libc.a.
51240 2011-05-05 Andreas Schwab <schwab@redhat.com>
51242 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51243 * nis/Makefile: Don't install rpcsvc/*.
51244 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51245 instead of <rpc/types.h>.
51246 (MAXHOSTNAMELEN): Define.
51248 2011-05-03 Andreas Schwab <schwab@redhat.com>
51250 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51252 2011-04-28 Maciej Babinski <mbabinski@google.com>
51255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51256 gethostbyname4_r when IPv6 results are possible.
51258 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51261 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51262 _PC_PIPE_BUF handling.
51264 2011-04-30 Bruno Haible <bruno@clisp.org>
51267 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51268 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51270 * inet/getnameinfo.c (getnameinfo): Likewise.
51272 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51274 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51275 to groups setting in database lookup.
51276 * nss/nsswitch.conf: Add initgroups entry.
51278 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51281 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51283 Patch by Eric Blake <eblake@redhat.com>.
51285 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51287 * sunrpc/Makefile (need-export-routines): Add svc_run.
51288 (routines): Remove svc_run.
51289 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51290 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51291 * sunrpc/svc_run.c (svc_run): Likewise.
51292 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51294 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51297 problem in reallocation in last patch.
51299 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51301 * sunrpc/Makefile: Move inclusion of Rules.
51303 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51305 * nss/nss_files/files-initgroups.c: New file.
51306 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51307 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51308 _nss_files_initgroups_dyn.
51310 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51312 * elf/elf.h (R_ARM_IRELATIVE): Define.
51314 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51316 * po/ru.po: Update from translation team.
51318 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51320 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51323 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51326 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51327 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51332 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51334 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51336 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51338 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51340 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51343 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51345 * stdlib/bug-getcontext.c: New file.
51346 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51348 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51350 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51351 instructions into .machine "z9-109".
51352 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51353 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51355 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51357 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51358 between environment variables and auxiliary vector.
51360 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51362 * Makefile: Add rules to build linkobj/libc.so.
51363 * include/libc-symbols.h: Define libc_hidden_nolink.
51364 * include/rpc/auth.h: Mark functions which are to be hidden.
51365 * include/rpc/auth_des.h: Likewise.
51366 * include/rpc/auth_unix.h: Likewise.
51367 * include/rpc/clnt.h: Likewise.
51368 * include/rpc/des_crypt.h: Likewise.
51369 * include/rpc/key_prot.h: Likewise.
51370 * include/rpc/pmap_clnt.h: Likewise.
51371 * include/rpc/pmap_prot.h: Likewise.
51372 * include/rpc/pmap_rmt.h: Likewise.
51373 * include/rpc/rpc_msg.h: Likewise.
51374 * include/rpc/svc.h: Likewise.
51375 * include/rpc/svc_auth.h: Likewise.
51376 * include/rpc/xdr.h: Likewise.
51377 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51378 * nss/Makefile: Likewise.
51379 * sunrpc/Makefile: Don't install headers. Build library with normal
51380 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51381 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51382 for the compat linking library. Remove use of INTDEF/INTUSE.
51383 * sunrpc/auth_none.c: Likewise.
51384 * sunrpc/auth_unix.c: Likewise.
51385 * sunrpc/authdes_prot.c: Likewise.
51386 * sunrpc/authuxprot.c: Likewise.
51387 * sunrpc/clnt_gen.c: Likewise.
51388 * sunrpc/clnt_perr.c: Likewise.
51389 * sunrpc/clnt_raw.c: Likewise.
51390 * sunrpc/clnt_simp.c: Likewise.
51391 * sunrpc/clnt_tcp.c: Likewise.
51392 * sunrpc/clnt_udp.c: Likewise.
51393 * sunrpc/clnt_unix.c: Likewise.
51394 * sunrpc/des_crypt.c: Likewise.
51395 * sunrpc/des_soft.c: Likewise.
51396 * sunrpc/get_myaddr.c: Likewise.
51397 * sunrpc/key_call.c: Likewise.
51398 * sunrpc/key_prot.c: Likewise.
51399 * sunrpc/netname.c: Likewise.
51400 * sunrpc/pm_getmaps.c: Likewise.
51401 * sunrpc/pm_getport.c: Likewise.
51402 * sunrpc/pmap_clnt.c: Likewise.
51403 * sunrpc/pmap_prot.c: Likewise.
51404 * sunrpc/pmap_prot2.c: Likewise.
51405 * sunrpc/pmap_rmt.c: Likewise.
51406 * sunrpc/publickey.c: Likewise.
51407 * sunrpc/rpc_cmsg.c: Likewise.
51408 * sunrpc/rpc_common.c: Likewise.
51409 * sunrpc/rpc_dtable.c: Likewise.
51410 * sunrpc/rpc_prot.c: Likewise.
51411 * sunrpc/rpc_thread.c: Likewise.
51412 * sunrpc/rtime.c: Likewise.
51413 * sunrpc/svc.c: Likewise.
51414 * sunrpc/svc_auth.c: Likewise.
51415 * sunrpc/svc_authux.c: Likewise.
51416 * sunrpc/svc_raw.c: Likewise.
51417 * sunrpc/svc_run.c: Likewise.
51418 * sunrpc/svc_simple.c: Likewise.
51419 * sunrpc/svc_tcp.c: Likewise.
51420 * sunrpc/svc_udp.c: Likewise.
51421 * sunrpc/svc_unix.c: Likewise.
51422 * sunrpc/svcauth_des.c: Likewise.
51423 * sunrpc/xcrypt.c: Likewise.
51424 * sunrpc/xdr.c: Likewise.
51425 * sunrpc/xdr_array.c: Likewise.
51426 * sunrpc/xdr_float.c: Likewise.
51427 * sunrpc/xdr_intXX_t.c: Likewise.
51428 * sunrpc/xdr_mem.c: Likewise.
51429 * sunrpc/xdr_rec.c: Likewise.
51430 * sunrpc/xdr_ref.c: Likewise.
51431 * sunrpc/xdr_sizeof.c: Likewise.
51432 * sunrpc/xdr_stdio.c: Likewise.
51434 2011-04-10 Ulrich Drepper <drepper@gmail.com>
51437 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51438 * sysdeps/ia64/dl-tls.h: Likewise.
51439 * sysdeps/powerpc/dl-tls.h: Likewise.
51440 * sysdeps/s390/dl-tls.h: Likewise.
51441 * sysdeps/sh/dl-tls.h: Likewise.
51442 * sysdeps/sparc/dl-tls.h: Likewise.
51443 * sysdeps/x86_64/dl-tls.h: Likewise.
51444 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51446 2011-03-14 Andreas Schwab <schwab@redhat.com>
51448 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51449 rpath element also skip the following colon.
51450 (expand_dynamic_string_token): Add is_path parameter and pass
51451 down to DL_DST_REQUIRED and _dl_dst_substitute.
51452 (decompose_rpath): Call expand_dynamic_string_token with
51453 non-zero is_path. Ignore empty rpaths.
51454 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51457 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51462 2011-04-09 Ulrich Drepper <drepper@gmail.com>
51465 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51466 Patch by Filipe David Manana <fdmanana@apache.org>.
51468 2011-04-07 Andreas Schwab <schwab@redhat.com>
51470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51471 Maintain aligned stack.
51472 (CHECK_RSP): Remove unused macro.
51474 2011-04-03 Ulrich Drepper <drepper@gmail.com>
51476 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51477 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51479 2011-04-02 Ulrich Drepper <drepper@gmail.com>
51481 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51483 * include/features.h: Mention __USE_XOPEN2K8 in comment.
51485 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51488 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51489 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51490 * sysdeps/x86_64/memmove.c: New file.
51491 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51492 (memcpy): Renamed to ...
51493 (__new_memcpy): This.
51494 (memcpy): Provide GLIBC_2_14 memcpy.
51495 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51496 (memcpy): Provide GLIBC_2_2_5 memcpy.
51498 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51501 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51503 2011-03-30 Andreas Schwab <schwab@redhat.com>
51505 * misc/syncfs.c: New file.
51506 * misc/Makefile (routines): Add syncfs.
51507 * posix/unistd.h: Declare syncfs.
51508 * sysdeps/unix/syscalls.list: Add syncfs.
51510 2011-04-01 Andreas Schwab <schwab@redhat.com>
51512 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51514 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51519 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51520 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51522 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51525 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51528 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51532 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51533 sync_file_range.c with -fexceptions.
51534 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51535 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51536 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51537 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51538 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51539 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51540 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51541 sync_file_range as cancellation point
51542 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51543 now a wrapper around __call_sync_file_range with cancellation handling.
51544 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51545 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51546 function name to __call_sync_file_range.
51547 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51548 Add call_sync_file_range.
51550 2011-04-01 Andreas Schwab <schwab@redhat.com>
51552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51555 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51557 * iconv/iconv.h: Fix typo in comment.
51558 * io/fcntl.h: Likewise.
51559 * libio/stdio.h: Likewise.
51560 * posix/spawn.h: Likewise.
51561 * posix/unistd.h: Likewise.
51562 * stdlib/stdlib.h: Likewise.
51563 * time/time.h: Likewise.
51564 * wcsmbs/wchar.h: Likewise.
51566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51567 open_by_handle): Add.
51568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51569 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51570 Augment a few comments.
51571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51576 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51579 * io/fcntl.h (AT_EMPTY_PATH): Define.
51581 2011-03-30 Ulrich Drepper <drepper@gmail.com>
51583 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51584 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51585 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51587 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
51588 * Versions.def: Add GLIBC_2.14.
51589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51592 2011-03-22 Ulrich Drepper <drepper@gmail.com>
51594 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51596 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51598 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51601 * string/test-strncmp.c (do_page_test): New function.
51602 (check2): Likewise.
51603 (test_main): Call check2.
51604 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51606 2011-03-20 Ulrich Drepper <drepper@gmail.com>
51609 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51610 Handle cache information in CPU leaf 4.
51611 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51613 2011-03-18 Ulrich Drepper <drepper@gmail.com>
51616 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51617 character representation.
51618 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51620 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51622 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51623 END(__isnan) to END(__isnanf) to match function entry point/label
51624 EALIGN(__isnanf,...).
51626 2011-03-10 Jakub Jelinek <jakub@redhat.com>
51628 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51630 2011-03-10 Ulrich Drepper <drepper@gmail.com>
51633 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51634 copy from the symbol referenced in the relocation to initialize the
51636 Patch by Piotr Bury <pbury@goahead.com>.
51637 * elf/Makefile: Add rules to build and tst-unique3.
51638 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51639 * elf/tst-unique3.cc: New file.
51640 * elf/tst-unique3.h: New file.
51641 * elf/tst-unique3lib.cc: New file.
51642 * elf/tst-unique3lib2.cc: New file.
51644 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51646 2011-03-10 Mike Frysinger <vapier@gentoo.org>
51648 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51649 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51652 2011-03-06 Ulrich Drepper <drepper@gmail.com>
51654 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51655 to-be-loaded object along a path to loader is ld.so.
51657 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51658 Ulrich Drepper <drepper@gmail.com>
51660 * sysdeps/x86_64/memset.S: After aligning destination, code
51661 branches to different locations depending on the value of
51662 misalignment, when multiarch is enabled. Fix this.
51664 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51666 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51667 Set _x86_64_preferred_memory_instruction for AMD processsors.
51668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51669 Set bit_Prefer_SSE_for_memop for AMD processors.
51671 2011-03-04 Ulrich Drepper <drepper@gmail.com>
51673 * libio/fmemopen.c (fmemopen): Optimize a bit.
51675 2011-03-03 Andreas Schwab <schwab@redhat.com>
51677 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51679 2011-03-03 Roland McGrath <roland@redhat.com>
51681 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51683 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51685 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51686 __bzero_ultra1 instead of __memset_ultra1.
51688 2011-02-23 Andreas Schwab <schwab@redhat.com>
51689 Ulrich Drepper <drepper@gmail.com>
51692 * include/link.h (struct link_map): Add l_orig_initfini.
51693 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51694 returning unsuccessfully.
51695 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51696 close of a file loaded at startup, restore the original l_initfini
51698 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51699 list, store the pointer.
51700 * elf/Makefile ($(objpfx)noload-mem): New rule.
51701 (noload-ENV): Define.
51702 (tests): Add $(objpfx)noload-mem.
51703 * elf/noload.c: Include <memcheck.h>.
51704 (main): Call mtrace. Close all opened handles.
51706 2011-02-17 Andreas Schwab <schwab@redhat.com>
51709 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51710 dependencies are missing.
51712 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51714 Fix __if_freereq crash: Unlike the generic version which uses free,
51716 * sysdeps/mach/hurd/ifreq.h: New file.
51718 2011-01-27 Petr Baudis <pasky@suse.cz>
51719 Ulrich Drepper <drepper@gmail.com>
51722 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51723 to extend_alloca().
51724 * stdio-common/bug23.c: New file.
51725 * stdio-common/Makefile (tests): Add bug23.
51727 2010-09-28 Andreas Schwab <schwab@redhat.com>
51728 Ulrich Drepper <drepper@gmail.com>
51731 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51732 before performing relro protection. At old place add assertion
51733 to make sure nothing changed.
51735 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51736 Glauber de Oliveira Costa <glommer@gmail.com>
51738 * elf/elf.h: Add new ARM TLS relocs.
51740 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51743 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51745 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51747 * sysdeps/wordsize-64/tst-writev.c: New file.
51749 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51751 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51752 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51753 insns in _dl_start to prevent a TOC reference before relocs are
51756 2011-02-15 Ulrich Drepper <drepper@gmail.com>
51759 * Makeconfig: Remove RANLIB definition.
51760 * Makerules: Don't use RANLIB.
51761 * aclocal.m4: Remove ranlib test.
51762 * configure.in: No need to check for ranlib.
51763 * elf/rtld-Rules: Don't use RANLIB.
51765 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51767 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51769 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51770 inclusion protection macro.
51772 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51773 SIGRTMIN and SIGRTMAX and print information in that case only when
51774 SIGRTMIN is defined.
51776 2011-02-11 Jakub Jelinek <jakub@redhat.com>
51778 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51779 arginfo fn returning -1.
51781 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51782 and thousands string is zero terminated.
51784 2011-02-03 Andreas Schwab <schwab@redhat.com>
51786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51787 sysdeps/unix/sysv/linux/bits/socket.h.
51789 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51791 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51792 (__CPU_COUNT): Remove old macros.
51793 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51794 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51795 (__CPU_ALLOC, __CPU_FREE): Add macros.
51796 (__sched_cpualloc, __sched_cpufree): Add declarations.
51798 2011-02-05 Ulrich Drepper <drepper@gmail.com>
51800 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51801 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51802 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51803 (readdhstai): Return value of addhstaiX call.
51804 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51805 (addgrbyX): Return value returned by cache_addgr.
51806 (readdgrbyname): Return value returned by addgrbyX.
51807 (readdgrbygid): Likewise.
51808 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51809 (addpwbyX): Return value returned by cache_addpw.
51810 (readdpwbyname): Return value returned by addhstbyX.
51811 (readdpwbyuid): Likewise.
51812 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51813 (addservbyX): Return value returned by cache_addserv.
51814 (readdservbyname): Return value returned by addservbyX:
51815 (readdservbyport): Likewise.
51816 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51817 (addhstbyX): Return value returned by cache_addhst.
51818 (readdhstbyname): Return value returned by addhstbyX.
51819 (readdhstbyaddr): Likewise.
51820 (readdhstbynamev6): Likewise.
51821 (readdhstbyaddrv6): Likewise.
51822 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51823 (readdinitgroups): Return value returned by addinitgroupsX.
51824 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51825 (prune_cache): Keep track of timeout value of re-added entries.
51826 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51827 * nscd/nscd.h: Adjust prototypes of readd* functions.
51829 2011-02-04 Roland McGrath <roland@redhat.com>
51831 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51832 (nis_stats): Likewise.
51833 * nis/nis_modify.c (nis_modify): Likewise.
51834 * nis/nis_remove.c (nis_remove): Likewise.
51835 * nis/nis_add.c (nis_add): Likewise.
51837 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51839 * posix/fnmatch_loop.c: Add some consts.
51841 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51843 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51846 * config.make.in (config-cflags-novzeroupper): Define.
51847 * configure.in: Substitute libc_cv_cc_novzeroupper.
51848 * elf/Makefile (AVX-CFLAGS): Define.
51849 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51850 (CFLAGS-tst-auditmod4a.c): Likewise.
51851 (CFLAGS-tst-auditmod4b.c): Likewise.
51852 (CFLAGS-tst-auditmod6b.c): Likewise.
51853 (CFLAGS-tst-auditmod6c.c): Likewise.
51854 (CFLAGS-tst-auditmod7b.c): Likewise.
51855 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51857 2011-02-02 Ulrich Drepper <drepper@gmail.com>
51859 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51860 function to the callback.
51861 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51863 2011-02-02 Andreas Schwab <schwab@redhat.com>
51865 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51868 2011-01-19 Ulrich Drepper <drepper@gmail.com>
51871 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51873 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51875 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51878 * elf/Makefile: Add rules to build and run new test.
51879 * elf/tst-initorder.c: New file.
51880 * elf/tst-initorder.exp: New file.
51881 * elf/tst-initordera1.c: New file.
51882 * elf/tst-initordera2.c: New file.
51883 * elf/tst-initordera3.c: New file.
51884 * elf/tst-initordera4.c: New file.
51885 * elf/tst-initorderb1.c: New file.
51886 * elf/tst-initorderb2.c: New file.
51887 * elf/tst-order-a1.c: New file.
51888 * elf/tst-order-a2.c: New file.
51889 * elf/tst-order-a3.c: New file.
51890 * elf/tst-order-a4.c: New file.
51891 * elf/tst-order-b1.c: New file.
51892 * elf/tst-order-b2.c: New file.
51893 * elf/tst-order-main.c: New file.
51894 New test case by George Gensure <werkt0@gmail.com>.
51896 2010-10-01 Andreas Schwab <schwab@redhat.com>
51898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51899 decoding ACE if AI_CANONIDN.
51901 2011-01-18 Ulrich Drepper <drepper@gmail.com>
51903 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51905 2011-01-17 Ulrich Drepper <drepper@gmail.com>
51907 * version.h (RELEASE): Bump for 2.13 release.
51908 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51910 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51914 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51915 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51917 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51921 * posix/getconf.c: Update copyright year.
51922 * catgets/gencat.c: Likewise.
51923 * csu/version.c: Likewise.
51924 * debug/catchsegv.sh: Likewise.
51925 * debug/xtrace.sh: Likewise.
51926 * elf/ldconfig.c: Likewise.
51927 * elf/ldd.bash.in: Likewise.
51928 * elf/sprof.c (print_version): Likewise.
51929 * iconv/iconv_prog.c: Likewise.
51930 * iconv/iconvconfig.c: Likewise.
51931 * locale/programs/locale.c: Likewise.
51932 * locale/programs/localedef.c: Likewise.
51933 * malloc/memusage.sh: Likewise.
51934 * malloc/mtrace.pl: Likewise.
51935 * nscd/nscd.c (print_version): Likewise.
51936 * nss/getent.c: Likewise.
51938 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51939 PF_CAIF, and PF_ALG.
51940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51942 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51944 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51945 (modules-names): Use them.
51946 (ifunc-test-modules, ifunc-pie-tests): Define.
51947 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51948 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51949 (test-extras): Likewise.
51950 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51951 $(compile-command.c).
51952 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51953 (all-built-dso): Define.
51954 (check-textrel.out, check-execstack.out): Depend on it.
51956 * configure.in: Don't override --enable-multi-arch.
51958 2011-01-15 Ulrich Drepper <drepper@gmail.com>
51961 * nscd/hstcache.c (tryagain): Define.
51962 (cache_addhst): Return tryagain not notfound for temporary errors.
51963 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51966 2011-01-14 Ulrich Drepper <drepper@gmail.com>
51969 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51970 to make the syscall.
51971 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51974 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51975 and fall back to matching as normal character if the string ends before
51976 the matching ']' is found. This is what POSIX requires.
51977 * posix/testfnm.c: Adjust test result.
51978 * posix/globtest.sh: Adjust test result. Add new test.
51979 * posix/tst-fnmatch.input: Likewise.
51980 * posix/tst-fnmatch2.c: Add new test.
51982 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51984 * elf/Makefile (check-execstack): Revert last change. Depend on
51986 (check-execstack.h): New target.
51987 (generated): Add check-execstack.h.
51988 * elf/check-execstack.c: Include "check-execstack.h".
51989 (main): Revert last change.
51990 (handle_file): Return zero if GNU_STACK is absent and
51991 DEFAULT_STACK_PERMS doesn't include PF_X.
51993 2011-01-13 Ulrich Drepper <drepper@gmail.com>
51995 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51996 in child fails because the descriptor is already closed.
51997 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51998 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51999 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52002 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52006 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52007 temporary buffer used to handle multi lookups locally.
52008 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52010 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52012 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52015 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52017 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52018 alignment for SSE2.
52020 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52023 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52024 characters. When rounding increased number of integer digits recompute
52026 * stdio-common/tst-grouping.c: New file.
52027 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52029 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52031 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52032 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52034 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52036 * bits/select.h: Likewise.
52038 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52040 * po/ja.po: Update from translation team.
52042 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52045 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52046 implementation just like for lxstat, fxstatat, et al.
52048 2010-12-27 Jim Meyering <meyering@redhat.com>
52051 * posix/regexec.c (build_trtable): Return failure indication upon
52052 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52054 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52057 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52058 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52059 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52060 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52063 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52066 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52067 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52069 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52071 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52072 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52073 script has SORT_BY_INIT_PRIORITY.
52074 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52075 NO_CTORS_DTORS_SECTIONS is defined.
52076 * elf/soinit.c: Likewise.
52077 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52078 NO_CTORS_DTORS_SECTIONS is defined.
52079 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52080 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52081 * sysdeps/sh/init-first.c: Likewise.
52082 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52084 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52086 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52087 always use the slow path.
52089 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52091 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52092 similar rule which adds the sysdep directories to the header search in
52093 order to pick up the correct platform stackinfo.h.
52094 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52095 perform test if it is, otherwise return successfully without testing.
52096 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52097 DEFAULT_STACK_PERMS define in stackinfo.h.
52098 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52099 defined in stackinfo.h.
52100 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52101 DEFAULT_STACK_PERMS defined in stackinfo.h.
52102 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52103 * sysdeps/ia64/stackinfo.h: Likewise.
52104 * sysdeps/s390/stackinfo.h: Likewise.
52105 * sysdeps/sh/stackinfo.h: Likewise.
52106 * sysdeps/sparc/stackinfo.h: Likewise.
52107 * sysdeps/x86_64/stackinfo.h: Likewise.
52108 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52109 PF_X for powerpc64. Retain PF_X for powerpc32.
52111 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52113 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52115 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52116 GETDENTS_64BIT_ALIGNED.
52118 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52120 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52122 2010-12-10 Andreas Schwab <schwab@redhat.com>
52124 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52127 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52128 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52130 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52131 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52133 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52136 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52139 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52141 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52143 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52145 * po/it.po: Update from translation team.
52147 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52152 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52154 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52156 2010-11-24 Andreas Schwab <schwab@redhat.com>
52158 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52160 (gaih_getanswer_slice): Likewise.
52162 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52166 2010-05-31 Petr Baudis <pasky@suse.cz>
52169 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52170 silently even in the chroot mode.
52172 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52174 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52175 last patch a bit. Pretty printing
52177 2010-05-31 Petr Baudis <pasky@suse.cz>
52180 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52181 initialization of skip_initgroups_dyn.
52183 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52185 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52186 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52188 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52190 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52192 2010-11-11 Andreas Schwab <schwab@redhat.com>
52194 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52195 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52196 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52197 ($(objpfx)tst-fnmatch-mem): New rule.
52198 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52199 * posix/tst-fnmatch.c (main): Call mtrace.
52201 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52204 Support Intel processor model 6 and model 0x2c.
52206 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52208 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52211 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52214 * string/test-strncasecmp.c (check_result): New function.
52215 (do_one_test): Use it.
52216 (check1): New function.
52217 (test_main): Use it.
52218 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52219 Support strcasecmp and strncasecmp.
52221 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52224 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52225 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52227 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52229 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52233 * sysdeps/x86_64/multiarch/bzero.S: New file.
52234 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52235 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52236 * sysdeps/x86_64/multiarch/memset.S: New file.
52237 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52239 Set bit_Prefer_SSE_for_memop for Intel processors.
52240 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52242 (index_Prefer_SSE_for_memop): Define.
52243 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52245 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52247 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52248 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52250 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52253 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52254 (__x86_64_raw_data_cache_size_half): Likewise.
52255 (__x86_64_raw_shared_cache_size): Likewise.
52256 (__x86_64_raw_shared_cache_size_half): Likewise.
52258 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52259 (__x86_64_raw_data_cache_size_half): Likewise.
52260 (__x86_64_raw_shared_cache_size): Likewise.
52261 (__x86_64_raw_shared_cache_size_half): Likewise.
52262 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52263 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52264 and __x86_64_raw_shared_cache_size_half. Round
52265 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52266 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52267 to multiple of 256 bytes.
52269 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52272 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52273 of inacessible symlinks. Verify result of symlink before returning it.
52274 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52275 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52277 2010-10-28 Erich Ritz <erichritz@gmail.com>
52279 * math/math.h (isinf): Fix typo in comment.
52281 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52283 * po/da.po: Update from translation team.
52285 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52287 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52288 is added to the list.
52290 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52291 Ulrich Drepper <drepper@gmail.com>
52293 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52294 the global list here. Move code to...
52295 (_dl_add_to_namespace_list): ...here. New function.
52296 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52297 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52298 * elf/dl-load.c (lose): Don't remove the element from the list.
52299 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52300 (_dl_map_object): Likewise.
52302 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52305 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52306 into all bytes of SSE register.
52307 Patch by Richard Li <richardpku@gmail.com>.
52309 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52312 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52315 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52317 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52318 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52319 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52320 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52325 2010-10-22 Andreas Schwab <schwab@redhat.com>
52327 * include/dlfcn.h (__RTLD_SECURE): Define.
52328 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52329 mode & __RTLD_SECURE instead.
52330 (open_path): Rename preloaded parameter to secure.
52331 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52332 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52333 * elf/dl-deps.c (openaux): Likewise.
52334 * elf/rtld.c (struct map_args): Remove is_preloaded.
52335 (map_doit): Don't use it.
52336 (dl_main): Likewise.
52337 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52338 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52340 2010-09-09 Andreas Schwab <schwab@redhat.com>
52342 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52343 (sysd-rules-targets): Remove duplicates.
52344 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52345 rtld-%.$o dependency.
52347 2010-10-18 Andreas Schwab <schwab@redhat.com>
52349 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52350 _dl_map_object do it.
52352 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52354 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52355 fast fma builtins, define the macros in the C99 standard.
52356 (FP_FAST_FMAF): Likewise.
52357 (FP_FAST_FMAL): Likewise.
52358 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52360 * bits/mathdef.h: Update copyright year.
52361 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52363 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52365 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52366 builtins, define the macros in the C99 standard.
52367 (FP_FAST_FMAF): Likewise.
52368 (FP_FAST_FMAL): Likewise.
52369 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52371 (FP_FAST_FMAF): Likewise.
52373 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52376 * math/libm-test.inc (fma_test): Some new testcases.
52377 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52378 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52379 y and infinite z. Do multiplication by C already in long double.
52380 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52382 y and infinite z. Do bitwise or of inexact bit into u.d.
52383 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52384 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52385 * sysdeps/i386/fpu/s_fma.S: Removed.
52386 * sysdeps/i386/fpu/s_fmal.S: Removed.
52388 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52391 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52393 computation is not scheduled after fetestexcept. Fix value
52394 of minimum denormal long double.
52396 2010-10-14 Jakub Jelinek <jakub@redhat.com>
52399 * math/libm-test.inc (fma_test): Add some more tests.
52400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52403 2010-10-15 Andreas Schwab <schwab@redhat.com>
52405 * scripts/data/localplt-s390-linux-gnu.data: New file.
52406 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52408 2010-10-13 Jakub Jelinek <jakub@redhat.com>
52411 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52412 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52414 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52416 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52418 if one of x and y is very large and the other is subnormal.
52419 * sysdeps/s390/fpu/s_fmaf.c: New file.
52420 * sysdeps/s390/fpu/s_fma.c: New file.
52421 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52422 * sysdeps/powerpc/fpu/s_fma.S: New file.
52423 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52424 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52425 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52427 2010-10-12 Jakub Jelinek <jakub@redhat.com>
52430 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52433 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52434 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52435 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52436 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52437 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52438 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52440 2010-10-12 Ulrich Drepper <drepper@redhat.com>
52443 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52444 * posix/bug-regex31.input: Add test case.
52446 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52448 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52449 * posix/bug-regex31.input: New file.
52452 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52453 (parse_sub_exp): Fix last change, use postorder.
52455 * posix/bug-regex31.c: New file.
52456 * posix/Makefile: Add rules to build and run bug-regex31.
52458 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52461 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52464 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52465 to have entries in sys_siglist.
52468 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52471 2010-10-07 Jakub Jelinek <jakub@redhat.com>
52474 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52475 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52476 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52477 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52478 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52479 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52480 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52481 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52482 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52483 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52484 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52485 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52486 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52487 * math/ftestexcept.c (fetestexcept): Likewise.
52488 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52489 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52490 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52491 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52492 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52493 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52494 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52496 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52499 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52502 2010-10-06 Ulrich Drepper <drepper@gmail.com>
52504 * string/bug-strstr1.c: New file.
52505 * string/Makefile: Add rules to build and run bug-strstr1.
52507 2010-10-05 Eric Blake <eblake@redhat.com>
52510 * string/str-two-way.h (two_way_long_needle): Always clear memory
52511 when skipping input due to the shift table.
52513 2010-10-03 Ulrich Drepper <drepper@gmail.com>
52516 * malloc/mcheck.c: Handle large requests.
52519 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52520 for strncmp and strncasecmp.
52521 * string/stratcliff.c: Add tests for strcmp and strncmp.
52522 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52524 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52526 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52529 2010-09-30 Andreas Jaeger <aj@suse.de>
52531 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52532 (CGROUP_SUPER_MAGIC): Define.
52533 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52534 Handle btrfs and cgroup file systems.
52535 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52538 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
52540 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52541 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52543 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52546 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52547 trying to locate the ELF header.
52549 2010-09-27 Andreas Schwab <schwab@redhat.com>
52552 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52553 Mask out sign-bit copies when constructing f_fsid.
52555 2010-09-24 Petr Baudis <pasky@suse.cz>
52557 * debug/stack_chk_fail_local.c: Add missing licence exception.
52558 * debug/warning-nop.c: Likewise.
52560 2010-09-15 Joseph Myers <joseph@codesourcery.com>
52562 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52563 implementing getdents64 using getdents syscall, set d_type if
52564 __ASSUME_GETDENTS32_D_TYPE.
52566 2010-09-16 Andreas Schwab <schwab@redhat.com>
52568 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52569 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52571 2010-09-21 Ulrich Drepper <drepper@redhat.com>
52574 * posix/unistd.h: Undo change of feature selection for ftruncate from
52577 2010-09-20 Ulrich Drepper <drepper@redhat.com>
52579 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52582 2010-09-20 Andreas Schwab <schwab@redhat.com>
52584 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52586 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52588 2010-09-14 Andreas Schwab <schwab@redhat.com>
52590 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52591 variables after CHECK_SP call.
52592 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52594 2010-09-13 Andreas Schwab <schwab@redhat.com>
52595 Ulrich Drepper <drepper@redhat.com>
52597 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52598 re-relocationg ld.so.
52599 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52600 _dl_init_paths call.
52601 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52604 2010-09-14 Ulrich Drepper <drepper@redhat.com>
52606 * resolv/res_init.c (__res_vinit): Count the default server we added.
52608 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52609 Ulrich Drepper <drepper@redhat.com>
52612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52613 (____longjmp_chk): Use %ebx for saving value across system call.
52616 2010-09-06 Andreas Schwab <schwab@redhat.com>
52618 * manual/Makefile: Don't mix pattern rules with normal rules.
52620 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52622 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52624 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52625 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52626 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52627 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52631 2010-09-04 Ulrich Drepper <drepper@redhat.com>
52634 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52635 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52637 2010-09-02 Ulrich Drepper <drepper@redhat.com>
52639 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52640 * sysdeps/x86_64/addmul_1.S: Likewise.
52641 * sysdeps/x86_64/lshift.S: Likewise.
52642 * sysdeps/x86_64/mul_1.S: Likewise.
52643 * sysdeps/x86_64/rshift.S: Likewise.
52644 * sysdeps/x86_64/sub_n.S: Likewise.
52645 * sysdeps/x86_64/submul_1.S: Likewise.
52647 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52649 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52650 Define __sched_param instead of SCHED_* and sched_param when
52651 <bits/sched.h> is included with __need_schedparam defined.
52652 * bits/sched.h [__need_schedparam]
52653 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52654 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52655 (__defined_schedparam): Define to 1.
52656 (__sched_param): New structure, identical to sched_param.
52657 (__need_schedparam): Undefine.
52659 2010-08-31 Mike Frysinger <vapier@gentoo.org>
52661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52662 (epoll_create1): Declare.
52664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52666 2010-08-31 Andreas Schwab <schwab@redhat.com>
52669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52670 shifting retval into place.
52672 2010-09-01 Ulrich Drepper <drepper@redhat.com>
52674 * nis/rpcsvc/nis.h: Update copyright notice.
52675 * nis/rpcsvc/nis.x: Likewise.
52676 * nis/rpcsvc/nis_callback.h: Likewise.
52677 * nis/rpcsvc/nis_callback.x: Likewise.
52678 * nis/rpcsvc/nis_object.x: Likewise.
52679 * nis/rpcsvc/nis_tags.h: Likewise.
52680 * nis/rpcsvc/yp.h: Likewise.
52681 * nis/rpcsvc/yp.x: Likewise.
52682 * nis/rpcsvc/ypupd.h: Likewise.
52683 * nis/yp_xdr.c: Likewise.
52684 * nis/ypupdate_xdr.c: Likewise.
52686 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52687 mainly the body of pmap_getport. Add parameters to specify timeouts.
52688 (pmap_getport): Use __libc_rpc_getport.
52689 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52690 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52691 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52693 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52698 2010-08-27 Roland McGrath <roland@redhat.com>
52700 * sysdeps/i386/i686/multiarch/Makefile
52701 (CFLAGS-varshift.c): New variable.
52703 2010-08-27 Ulrich Drepper <drepper@redhat.com>
52705 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52706 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52708 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52710 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52712 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52714 * sysdeps/x86_64/strlen.S: Unroll the loop.
52715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52716 strlen-sse2 strlen-sse2-bsf.
52717 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52718 __strlen_no_bsf if bit_Slow_BSF is set.
52719 (__strlen_sse42): Removed.
52720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52721 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52723 2010-08-25 Roland McGrath <roland@redhat.com>
52725 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52726 * sysdeps/x86_64/multiarch/varshift.c: New file.
52727 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52728 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52729 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52730 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52732 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52735 strlen-sse2 strlen-sse2-bsf.
52736 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52737 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52738 (__strlen_sse2): Removed.
52739 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52742 bit_Slow_BSF for Atom.
52743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52744 (index_Slow_BSF): Define.
52745 (HAS_SLOW_BSF): Define.
52747 2010-08-25 Ulrich Drepper <drepper@redhat.com>
52750 * resolv/res_init.c (__res_vinit): When no server address at all
52751 is given default to loopback.
52753 2010-08-24 Roland McGrath <roland@redhat.com>
52755 * configure.in: Remove config-name.h generation.
52756 * configure: Regenerated.
52757 * config-name.in: File removed.
52758 * scripts/config-uname.sh: New file.
52759 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52760 ($(objdir)config-name.h): New target.
52762 * sunrpc/rpc_parse.h: Avoid nested comment.
52764 2010-08-24 Richard Henderson <rth@redhat.com>
52765 Ulrich Drepper <drepper@redhat.com>
52766 H.J. Lu <hongjiu.lu@intel.com>
52768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52770 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52771 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52772 _mm_alignr_epi8 with _mm_loadu_si128.
52773 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52774 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52775 (__m128i_shift_right): Removed.
52776 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52777 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52778 * sysdeps/x86_64/multiarch/varshift.h: New file.
52779 * sysdeps/x86_64/multiarch/varshift.S: New file.
52781 2010-08-21 Mike Frysinger <vapier@gentoo.org>
52783 * configure.in: Move assembler checks to before sysdep dir checking.
52785 2010-08-20 Petr Baudis <pasky@suse.cz>
52787 * LICENSES: Sync the sunrpc license.
52789 2010-08-19 Ulrich Drepper <drepper@redhat.com>
52791 * sunrpc/auth_des.c: Update copyright notice once again.
52792 * sunrpc/auth_none.c: Likewise.
52793 * sunrpc/auth_unix.c: Likewise.
52794 * sunrpc/authdes_prot.c: Likewise.
52795 * sunrpc/authuxprot.c: Likewise.
52796 * sunrpc/bindrsvprt.c: Likewise.
52797 * sunrpc/clnt_gen.c: Likewise.
52798 * sunrpc/clnt_perr.c: Likewise.
52799 * sunrpc/clnt_raw.c: Likewise.
52800 * sunrpc/clnt_simp.c: Likewise.
52801 * sunrpc/clnt_tcp.c: Likewise.
52802 * sunrpc/clnt_udp.c: Likewise.
52803 * sunrpc/clnt_unix.c: Likewise.
52804 * sunrpc/des_crypt.c: Likewise.
52805 * sunrpc/des_soft.c: Likewise.
52806 * sunrpc/get_myaddr.c: Likewise.
52807 * sunrpc/getrpcport.c: Likewise.
52808 * sunrpc/key_call.c: Likewise.
52809 * sunrpc/key_prot.c: Likewise.
52810 * sunrpc/openchild.c: Likewise.
52811 * sunrpc/pm_getmaps.c: Likewise.
52812 * sunrpc/pm_getport.c: Likewise.
52813 * sunrpc/pmap_clnt.c: Likewise.
52814 * sunrpc/pmap_prot.c: Likewise.
52815 * sunrpc/pmap_prot2.c: Likewise.
52816 * sunrpc/pmap_rmt.c: Likewise.
52817 * sunrpc/rpc/auth.h: Likewise.
52818 * sunrpc/rpc/auth_unix.h: Likewise.
52819 * sunrpc/rpc/clnt.h: Likewise.
52820 * sunrpc/rpc/des_crypt.h: Likewise.
52821 * sunrpc/rpc/key_prot.h: Likewise.
52822 * sunrpc/rpc/netdb.h: Likewise.
52823 * sunrpc/rpc/pmap_clnt.h: Likewise.
52824 * sunrpc/rpc/pmap_prot.h: Likewise.
52825 * sunrpc/rpc/pmap_rmt.h: Likewise.
52826 * sunrpc/rpc/rpc.h: Likewise.
52827 * sunrpc/rpc/rpc_des.h: Likewise.
52828 * sunrpc/rpc/rpc_msg.h: Likewise.
52829 * sunrpc/rpc/svc.h: Likewise.
52830 * sunrpc/rpc/svc_auth.h: Likewise.
52831 * sunrpc/rpc/types.h: Likewise.
52832 * sunrpc/rpc/xdr.h: Likewise.
52833 * sunrpc/rpc_clntout.c: Likewise.
52834 * sunrpc/rpc_cmsg.c: Likewise.
52835 * sunrpc/rpc_common.c: Likewise.
52836 * sunrpc/rpc_cout.c: Likewise.
52837 * sunrpc/rpc_dtable.c: Likewise.
52838 * sunrpc/rpc_hout.c: Likewise.
52839 * sunrpc/rpc_main.c: Likewise.
52840 * sunrpc/rpc_parse.c: Likewise.
52841 * sunrpc/rpc_parse.h: Likewise.
52842 * sunrpc/rpc_prot.c: Likewise.
52843 * sunrpc/rpc_sample.c: Likewise.
52844 * sunrpc/rpc_scan.c: Likewise.
52845 * sunrpc/rpc_scan.h: Likewise.
52846 * sunrpc/rpc_svcout.c: Likewise.
52847 * sunrpc/rpc_tblout.c: Likewise.
52848 * sunrpc/rpc_util.c: Likewise.
52849 * sunrpc/rpc_util.h: Likewise.
52850 * sunrpc/rpcinfo.c: Likewise.
52851 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52852 * sunrpc/rpcsvc/key_prot.x: Likewise.
52853 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52854 * sunrpc/rpcsvc/mount.x: Likewise.
52855 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52856 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52857 * sunrpc/rpcsvc/rex.x: Likewise.
52858 * sunrpc/rpcsvc/rstat.x: Likewise.
52859 * sunrpc/rpcsvc/rusers.x: Likewise.
52860 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52861 * sunrpc/rpcsvc/spray.x: Likewise.
52862 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52863 * sunrpc/rtime.c: Likewise.
52864 * sunrpc/svc.c: Likewise.
52865 * sunrpc/svc_auth.c: Likewise.
52866 * sunrpc/svc_authux.c: Likewise.
52867 * sunrpc/svc_raw.c: Likewise.
52868 * sunrpc/svc_run.c: Likewise.
52869 * sunrpc/svc_simple.c: Likewise.
52870 * sunrpc/svc_tcp.c: Likewise.
52871 * sunrpc/svc_udp.c: Likewise.
52872 * sunrpc/svc_unix.c: Likewise.
52873 * sunrpc/svcauth_des.c: Likewise.
52874 * sunrpc/xcrypt.c: Likewise.
52875 * sunrpc/xdr.c: Likewise.
52876 * sunrpc/xdr_array.c: Likewise.
52877 * sunrpc/xdr_float.c: Likewise.
52878 * sunrpc/xdr_mem.c: Likewise.
52879 * sunrpc/xdr_rec.c: Likewise.
52880 * sunrpc/xdr_ref.c: Likewise.
52881 * sunrpc/xdr_sizeof.c: Likewise.
52882 * sunrpc/xdr_stdio.c: Likewise.
52884 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52887 2010-08-19 Andreas Schwab <schwab@redhat.com>
52889 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52891 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
52893 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52895 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52896 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52897 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52898 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52900 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52902 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52903 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52904 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52905 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52906 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52908 2010-07-26 Anton Blanchard <anton@samba.org>
52910 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52911 * malloc/arena.c (heap_trim): Likewise.
52913 2010-08-16 Ulrich Drepper <drepper@redhat.com>
52915 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52918 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52920 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52922 * sysdeps/i386/elf/Makefile: New file.
52924 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52926 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52927 from fanotify_init.
52928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52929 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52931 2010-08-15 Ulrich Drepper <drepper@redhat.com>
52933 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52935 * sysdeps/multiarch/strcmp.S: Likewise.
52937 2010-08-14 Ulrich Drepper <drepper@redhat.com>
52939 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52940 strncase_l-nonascii.
52941 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52942 Add strncase_l-ssse3.
52943 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52944 * sysdeps/x86_64/strcmp.S: Likewise.
52945 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52946 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52947 * sysdeps/x86_64/strncase.S: New file.
52948 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52949 * sysdeps/x86_64/strncase_l.S: New file.
52950 * string/Makefile (strop-tests): Add strncasecmp.
52951 * string/test-strncasecmp.c: New file.
52953 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52956 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52957 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52959 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52961 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52963 2010-08-12 Ulrich Drepper <drepper@redhat.com>
52965 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52966 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52967 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52969 2010-05-01 Alan Modra <amodra@gmail.com>
52971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52972 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52973 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52974 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52975 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52976 tidying. Don't tail-call __sigjmp_save for static lib.
52977 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52979 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52980 (CALL_MCOUNT): Add eh info, and nop after bl.
52981 (TAIL_CALL_SYSCALL_ERROR): New macro.
52982 (PSEUDO_RET): Use it.
52983 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52984 Correct save location of integer regs and cr.
52985 (_dl_profile_resolve): Correct cr save location. Delete nops
52986 after bl when SHARED. Reduce cfi size a little by better
52987 placement of cfi directives.
52988 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52989 make a stack frame. Instead use parm save area as a temp.
52990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52991 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52993 Don't make a stack frame for parent, use parm save area.
52994 Increase child stack frame to 112 bytes. Don't save unused reg,
52995 and adjust reg usage. Set up cfi on error recovery and
52996 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52998 (__makecontext): Add dummy nop after jump to exit.
52999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53000 Use correct parm save area and cr save, reduce stack frame.
53001 Correct cfi for possible PSEUDO_RET frame setup.
53002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53003 Branch to local label emitted by PSEUDO_RET rather than
53006 2010-08-12 Andreas Schwab <schwab@redhat.com>
53009 * locale/programs/locale.c (print_assignment): New function.
53010 (show_locale_vars): Use it.
53012 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53014 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53016 (struct statfs64): Likewise.
53017 (_STATFS_F_FLAGS): Define.
53018 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53019 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53020 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53021 (ST_VALID): Define locally.
53022 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53023 __statvfs_getflags, use the provided value.
53024 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53025 __ASSUME_STATFS_F_FLAGS.
53027 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53029 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53030 Add sys/fanotify.h.
53031 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53032 fanotify_mask for GLIBC_2.13.
53033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53034 fanotify_init and fanotify_mark.
53035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53036 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53038 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53040 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53041 prlimit64 for GLIBC_2.13.
53042 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53047 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53048 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53052 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53055 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53056 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53058 * nss/Makefile: Add rules to build and run tst-nss-test1.
53059 * shlib-versions: Add entry for libnss_test1.
53060 * nss/nss_test1.c: New file.
53061 * nss/tst-nss-test1.c: New file.
53063 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53064 (__nss_configure_lookup): Set appropriate entry in
53065 __nss_configure_lookup to true.
53066 * nss/nsswitch.h: Define enum with indeces of databases in
53067 databases and __nss_database_custom arrays. Declare
53068 __nss_database_custom.
53069 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53070 to avoid using nscd when custom rules are installed.
53071 * nss/getXXbyYY_r.c: Likewise.
53072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53074 * nss/nss_files/files-parse.c: Whitespace fixes.
53076 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53079 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53080 * posix/fnmatch_loop.c: Likewise.
53082 2010-07-17 Andi Kleen <ak@linux.intel.com>
53084 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53085 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53086 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53087 * Versions.def [GLIBC_2.13]: Add.
53089 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53091 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53092 Also fail if tpwd after pwuid call is NULL.
53094 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53096 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53097 when converting to ms.
53099 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53101 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53102 EOPNOTSUPP errors with ENOTTY.
53103 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53104 EOPNOTSUPP errors with ENOTTY.
53106 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53108 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53109 Add strcasecmp_l-ssse3.
53110 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53112 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53113 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53114 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53116 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53118 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53120 * string/Makefile (strop-tests): Add strcasecmp.
53121 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53122 strcasecmp_l-nonascii.
53123 (gen-as-const-headers): Add locale-defines.sym.
53124 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53125 * sysdeps/x86_64/strcasecmp.S: New file.
53126 * sysdeps/x86_64/strcasecmp_l.S: New file.
53127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53128 * sysdeps/x86_64/locale-defines.sym: New file.
53129 * string/test-strcasecmp.c: New file.
53131 * string/test-strcasestr.c: Test both ends of the range of characters.
53132 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53134 2010-07-29 Roland McGrath <roland@redhat.com>
53137 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53139 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53141 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53144 2010-07-27 Andreas Schwab <schwab@redhat.com>
53146 * manual/memory.texi (Malloc Tunable Parameters): Document
53149 2010-07-26 Roland McGrath <roland@redhat.com>
53152 * configure.in (-fgnu89-inline check): Set and substitute
53153 gnu89_inline, not libc_cv_gnu89_inline.
53154 * configure: Regenerated.
53155 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53157 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53159 * string/test-strnlen.c: New file.
53160 * string/Makefile (strop-tests): Add strnlen.
53161 * string/tester.c (test_strnlen): Add a few more test cases.
53162 * string/tst-strlen.c: Better error reporting.
53164 * sysdeps/x86_64/strnlen.S: New file.
53166 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53168 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53169 lower-latency instructions.
53171 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53173 * string/test-strcasestr.c: New file.
53174 * string/test-strstr.c: New file.
53175 * string/Makefile (strop-tests): Add strstr and strcasestr.
53176 * string/str-two-way.h: Don't undefine MAX.
53177 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53179 2010-07-21 Andreas Schwab <schwab@redhat.com>
53181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53182 strcasestr-nonascii.
53183 (CFLAGS-strcasestr-nonascii.c): Define.
53184 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53186 Remove unused attribute.
53188 2010-07-20 Roland McGrath <roland@redhat.com>
53190 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53191 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53192 ld.so.cache was broken. With it, there is no way to disable dsocaps
53193 like LD_HWCAP_MASK can disable hwcaps.
53195 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53197 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53199 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53201 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53202 call in strcasestr.
53203 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53204 __strcasestr_sse42_nonascii.
53205 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53206 strcasestr-nonascii.c.
53207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53209 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53211 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53212 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53213 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53216 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53221 2010-07-06 Andreas Schwab <schwab@redhat.com>
53224 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53227 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53229 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53230 _PC_PIPE_BUF using F_GETPIPE_SZ.
53232 2010-07-05 Roland McGrath <roland@redhat.com>
53234 * manual/arith.texi (Rounding Functions): Fix rint description
53235 implicit in round description.
53237 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53239 * elf/Makefile: Fix linking for a few tests to make recent linker
53242 2010-06-30 Andreas Schwab <schwab@redhat.com>
53244 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53245 $(common-objpfx)libc_nonshared.a.
53247 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53249 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53250 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53251 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53252 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53253 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53254 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53255 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53256 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53271 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53272 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53273 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53274 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53275 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53276 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53277 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53278 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53279 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53280 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53281 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53282 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53298 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53300 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53301 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53302 * string/memmove.c (memmove): Renamed to ...
53303 (MEMMOVE): ...this. Default to memmove.
53304 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53305 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53308 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53309 mempcpy-ssse3-back memmove-ssse3-back.
53310 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53311 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53312 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53313 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53314 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53315 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53316 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53317 * sysdeps/x86_64/multiarch/memmove.c: New file.
53318 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53319 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53320 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53321 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53322 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53323 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53325 (index_Fast_Copy_Backward): Define.
53326 (HAS_ARCH_FEATURE): Define.
53327 (HAS_FAST_REP_STRING): Define.
53328 (HAS_FAST_COPY_BACKWARD): Define.
53330 2010-06-21 Andreas Schwab <schwab@redhat.com>
53332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53333 Restore proper fallback handling.
53335 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53338 * posix/group_member.c (__group_member): Correct checking loop.
53340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53341 OOM in getpwuid_r correctly. Return error number when the caller
53342 should return, otherwise -1.
53343 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53344 call returning > 0 value.
53345 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53347 2010-06-07 Andreas Schwab <schwab@redhat.com>
53349 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53350 libc_nonshared.a from targets in modules-names.
53352 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53354 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53357 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53359 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53360 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53361 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53362 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53364 2010-06-02 Andreas Schwab <schwab@redhat.com>
53366 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53368 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53370 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53379 2010-06-14 Roland McGrath <roland@redhat.com>
53381 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53383 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53385 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53386 __REDIRECT followed by __THROW.
53387 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53388 * posix/getopt.h (getopt): Likewise.
53390 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53392 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53393 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53394 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53396 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53397 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53399 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
53401 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53403 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53407 Properly check family and model.
53409 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53411 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53413 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
53415 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53417 2010-05-21 Ulrich Drepper <drepper@redhat.com>
53419 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53422 2010-05-19 Andreas Schwab <schwab@redhat.com>
53424 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53427 2010-05-21 Andreas Schwab <schwab@redhat.com>
53429 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53430 and internal_recvmmsg.
53431 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53432 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53433 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53434 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53436 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53437 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53438 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53440 2010-05-20 Andreas Schwab <schwab@redhat.com>
53442 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53444 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
53446 POWER7 optimizations.
53447 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53448 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53450 2010-05-19 Ulrich Drepper <drepper@redhat.com>
53452 * version.h: Update for 2.13 development version.
53454 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
53456 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53457 exceptions. Return 0.
53459 2010-05-07 Roland McGrath <roland@redhat.com>
53461 * elf/ldconfig.c (main): Add a const.
53463 2010-05-06 Ulrich Drepper <drepper@redhat.com>
53465 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53466 (args_options): Add no-idn option.
53467 (ahosts_keys_int): Add idn_flags to ai_flags.
53468 (parse_option): Handle 'i' option to clear idn_flags.
53470 * malloc/malloc.c (_int_free): Possible race in the most recently
53471 added check. Only act on the data if no current modification
53474 See ChangeLog.17 for earlier changes.